/*
Theme Name: MCS
Theme URI: https://www.halloecho.de
Description: 
Author: Michael Schoenrock
Author URI: https://www.halloecho.de
Version: 1.0
*/


/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
	font-family:arial;
}

/* general */

.container {
	margin:auto;
}

.img-responsive {
	max-width:100%;
	height:auto;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

/* header */

#header  {
	overflow:hidden;
	position: relative;
}

#header p {
	margin:0;
}

.header-img img {
	max-width:100%;
}

#main-nav,
#mobile-nav {
	height:44px;
	position: absolute;
	bottom:10px;
	left:0;
}

#main-nav ul,
#main-nav li,
#mobile-nav ul,
#mobile-nav li {
	list-style:none;
	margin:0;
	padding:0;
	line-height:0;
}

#main-nav li,
#mobile-nav li {
	float:left;
	border-left:2px solid #a9a6a5;
	position: relative;
	background:#fff;
	background:rgba(255,255,255,.8);
}

#main-nav li:hover,
#mobile-nav li:hover {
	background:#fff;
}

#main-nav li:before {
	left: 0;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(169, 166, 165, 0);
	border-left-color: #a9a6a5;
	border-width: 5px;
	margin-top: -5px;
}

#main-nav li.home,
#mobile-nav li.home {
	background:#fff;
	background:rgba(255,255,255,.8);
	background-image:url(//creativesolutions.guj.de/MCSWrigleys/wp-content/themes/mcs/images/home.png);
	background-repeat:no-repeat;
	width:41px;
	height:44px;
	border:0;
}

#main-nav li.home:before,
#mobile-nav li.home:before {
	display:none;
}

#main-nav li.home:hover,
#mobile-nav li.home:hover {
	background-color:#fff;
}

#main-nav li.home a,
#mobile-nav li.home a {
	display:block;
	width:100%;
	height:100%;
}

#main-nav li a img,
#mobile-nav li a img {
	max-width:100%;
	max-height:44px;
	width:auto;
}

#main-nav li.last:after {
	content:'';
	width: 22px;
	height: 44px;
	background:#fff;
	background:rgba(255,255,255,.8);
	-moz-border-top-right-radius: 22px;
	-moz-border-bottom-right-radius: 22px;
	-webkit-border-top-right-radius: 22px;
	-webkit-border-bottom-right-radius: 22px;
	border-top-right-radius: 22px;
	border-bottom-right-radius: 22px;
	position: absolute;
    right: -22px;
}

#main-nav li.last:hover:after,
#mobile-nav li.last:hover:after {
	background:#fff;
}

#mobile-nav {
	position:relative;
	bottom:auto;
	height:auto;
	display:none;
}

#mobile-nav li,
#mobile-nav li.home {
	float:none;
	width:100%;
	border:0;
	border-bottom:1px solid #ccc;
	text-align:center;
	background-position:center;
}

#mobile-nav li a {
	display:block;
}

/* caption */

.caption {
	position: absolute;
}

/* cobrand */

.cobrand {
	position: absolute;
	top:5px;
	right:20px;
	font-size:11px;
	text-align: center;
	font-weight:bold;
	line-height:normal;
}

.cobrand>a {
	display:block;
	height:20px;
}
/* content */

.row {
	margin-left:-10px;
	margin-right:-10px;
}

.main {
	margin:20px 10px;
}

.box {
	float:left;
	margin-bottom:20px;
}

.box>.inner {
	border:1px solid #999;
	height:340px;
	position: relative;
	overflow: hidden;
}

.box>.inner>a {
	position: absolute;
	top:0;
	left:0;
	width: 100%;
	height:100%;
	z-index:99999;
	display:block;
}

.box-ad {
	position: absolute;
	top:5px;
	right:5px;
	font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    font-size: 9px;
    font-weight:bold;
    text-transform: uppercase;
    z-index:10;
}

.box-small {
	width:33.333333333333333%;
	padding: 0 10px;
}

.box-large {
	width:66.666666666666667%;
	padding: 0 10px;
}

.thumb {
	overflow:hidden;
	position: relative;
}

.box-small .thumb {
	height:128px;
}

.box-large .thumb {
	height:212px;
}

.box-large .thumb-inner {
	position: absolute;
	bottom:0;
}

.thumb img {
	max-width:100%;
	width:100%; /* temp */
	height:auto;
}

.content {
	font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    font-size: 14px;
    padding:0 10px 0 10px;
    line-height: 20px;
}

.box-large .content {
	height:130px;
	padding-top:10px;
}

.content p {
	margin:0;
}

h3.post-title {
	font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: bold;
    margin:0;
    line-height: 20px;
}

.box-logo {
	position: absolute;
	bottom:0px;
	right:0;
	height:50px;
}

.box-large .box-logo {
	bottom:auto;
	top:0;
}

.box-logo>img {
	max-height:100%;
	width:auto;
}

/* single pages */

.wpb_button, .wpb_content_element, ul.wpb_thumbnails-fluid>li {
	margin-bottom:0 !important;
}

/*.wpb_single_image .vc_figure,
.vc_single_image-wrapper {
	width:100%;
	max-width:none;
}

.vc_single_image-wrapper img {
	width:100% !important;
	height:auto !important;
	max-width:none !important;
}*/

.vc_figure-caption {
	font-size: .7em !important;
	margin-top:10px !important;
}

/* Responsive Styles */


/* misc */

.warning {
	color:#555;
	font-family:arial;
}

@media (max-width: 800px){
	.caption {
    left: 140px;
    top: 58px!important;
    font-size: 12px;
    font-weight: 700;
}
}



