/* /////////////////////////////// HEADER */

#header{
	border-top: 4px solid #a8051d;
	padding: 40px 0 36px 0;
	-webkit-box-shadow: 0px 2px 6px -3px rgba(0,0,0,0.8);
	-moz-box-shadow: 0px 2px 6px -3px rgba(0,0,0,0.8);
	box-shadow: 0px 2px 6px -3px rgba(0,0,0,0.8);
	position: relative;
	z-index: 900;
}

#header #logo img{
	max-width: 250px;
	float: left;
}

#info .mail, #info .phone, #info .selbst{
	background-repeat: no-repeat;
	background-position: left center;
	float: right;
	margin-left: 10px;
}

#info .mail a, #info .phone,  #info .selbst{
	font-size: 12px;
	color: #808080;
	vertical-align: bottom;
}

#info .mail{
	background-image:url('../images/mail.png');
	padding-left: 26px;
}

#info .phone{
	background-image:url('../images/phone.png');
	padding-left: 20px;
}

#info .selbst{
	background-image:url('../images/info.png');
	padding-left: 26px;
} 

/* /////////////////////////////// MAINMENU */

#mainmenu{
	float: right;
	margin-top: 30px;
}

#mainmenu ul.nav > li > a{
	font-size: 18px;
	color: #303030;
}

#mainmenu ul.nav > li > a:hover, #mainmenu ul.nav > li > a:focus, #mainmenu ul.nav > li > a:active,
#mainmenu ul.nav > li.active > a{
	color: #a8051d;
	background: #fff;
	box-shadow: none;
	text-shadow: none;
}

#mainmenu ul.nav > li:last-of-type > a{
	padding-right: 0px;
}

#mainmenu ul.nav{
	margin-right: 0;
}

#mainmenu ul.nav > li.parent:hover > ul.nav-child{
	display: block;
}

#mainmenu ul.nav-child{
	position: absolute;
	background-color: #fff;
	padding: 6px 0;
	display: none;
	border-bottom: 4px solid #a8051d;
}

#mainmenu ul.nav-child > li > a{
	font-size: 14px;
	padding: 4px 15px;
	color: #303030;
	display: block;
}

#mainmenu ul.nav-child > li > a:hover, #mainmenu ul.nav-child > li > a:focus, #mainmenu ul.nav-child > li > a:active,
#mainmenu ul.nav-child > li.active > a{
	color: #a8051d;
	text-decoration: none;
}

/* /////////////////////////////// SLIDESHOW */

#slideshow .flexslider{
	border: 0;
	margin: 0;
	min-height: 300px;
}

/* /////////////////////////////// CONTENT */

#content{
	padding: 50px 0;
	text-align: justify;
}

p.readmore .icon-chevron-right{
	display: none;
}

.blog .items-row{
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
	margin-top: 30px;
	padding: 16px 20px 20px 20px;
}

#content .blog{
	text-align: left;
}

#content .checkbox{
	text-align: left;
}

/* /////////////////////////////// TEASER */

#teaser{
	text-align: center;
	background-color: #a8051d;
	margin-top: 120px;
	padding-bottom: 30px;
}

#teaser .custom{
	background-color: #fff;
	margin-top: -80px;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
}

#teaser img{
	border-bottom: 4px solid #303030;
	width: 100%;
	max-height: 160px;
}

#teaser .module {
	transition: all .2s ease;
	position: relative;
}

#teaser .module:hover {
	transform: scale(1.1);
	-moz-transform: scale(1.1);
	-webkit-transform: scale(1.1);
	-o-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transition: all .5s ease;
}

#teaser .teasertext{
	padding: 20px;
}

#right{
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
	padding: 2px 20px;
}

/* /////////////////////////////// MODULES */

body.praxisteam #content{
	padding-bottom: 0;
}

body.praxisteam #praxisteam{
	padding-top: 0;
}

#praxisteam{
	padding: 50px 0;
}

#praxisteam h3.praxisteam-ueberschrift{
	font-size: 24px;
	line-height: 30px;
}

#praxisteam .module{
	border-bottom: 4px solid #a8051d;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
	margin: 40px 0;
}

#praxisteam .span8{
	padding: 20px 40px;
}

#praxisteam .module .row-fluid{
	display: flex;
	align-items: center;
}

ul.breadcrumb{
	padding: 0;
	background-color: #fff;
}

ul.breadcrumb > li:first-of-type{
	display: none;
}

#beforecontent{
	padding-top: 50px;
}

#leistungen .module{
	border-bottom: 4px solid #a8051d;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
	padding: 6px 20px;
}

#leistungen ul.nav{
	margin-bottom: 0;
}

/* /////////////////////////////// CONTACT */

#contact-form legend{
	display: none;
}

#contact-form input, #contact-form textarea, #contact-form .uneditable-input{
	width: 80%;
}

#contact-form input[type="checkbox"]{
	width: auto;
}

.optional{
	font-size: 12px;
}

#jform_consentbox-lbl{
	display: none;
}

#contact-form .controls.checkboxwrap,
#jform_consentbox label{
	position: relative;
}

#contact-form .controls.checkboxwrap label{
	padding-left: 25px;
}

#contact-form .controls.checkboxwrap input,
#jform_consentbox input{
	position: absolute;
	left: 0px;
	top: 5px;
	margin: 0px;
}

#jform_contact_email_copy-lbl{
	display: inline-block;
}

/* /////////////////////////////// PAGINATION */

.pagination ul > li:first-child > a{
padding: 4px;
background: url('../images/black-arrow-left.png');
background-size: 6px;
background-position-x: 7px;
background-position-y: 9px;
background-repeat: no-repeat;
}

.pagination ul > li:first-child > span{
    display:none;
}

.pagination ul > li:last-child > a{
padding: 4px;
background: url('../images/black-arrow-right.png');
background-size: 6px;
background-position-x: 7px;
background-position-y: 9px;
background-repeat: no-repeat;
    
}

.pagination ul > li:last-child > span{
    display:none;
}


.pagination ul > li > a:hover{
    background-color:#fff;
}

.pagination ul > li > a{
    color:#a8051d;
}

.pagination .counter{
	 color:#a8051d;
}

/* /////////////////////////////// FOOTER */

#footer{
	-webkit-box-shadow: 0px 2px 6px 3px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 2px 6px 3px rgba(0,0,0,0.3);
	box-shadow: 0px 2px 6px 3px rgba(0,0,0,0.3);
	padding: 40px 0 20px 0;
	font-size: 14px;
}

#footer ul.nav li, #leistungen ul.nav li{
	background-repeat: no-repeat;
	background-position: left top 6px;
	background-image:url('../images/liststyle.png');
	padding-left: 16px;
}

#footer ul.nav li a, #leistungen ul.nav li a{
	line-height: 24px;
}

#footer ul.nav li a:hover, #footer ul.nav li a:focus, #footer ul.nav li a:active,
#footer ul.nav li.active a,
#right ul.nav li a:hover, #right ul.nav li a:focus, #right ul.nav li a:active,
#right ul.nav li.active a,
#leistungen ul.nav li a:hover, #leistungen ul.nav li a:focus, #leistungen ul.nav li a:active,
#leistungen ul.nav li.active a{
	background: none;
	color: #303030;
}

#bottom-copy{
	background: -moz-linear-gradient(left, #303030 50%, #A8051D 50%);
	background: -webkit-linear-gradient(left, #303030 50%,#A8051D 50%);
	background: linear-gradient(to right, #303030 50%,#A8051D 50%);
}

#bottom-copy .span11{
	background-color: #303030;
}

#bottom-copy .span1{
	background-color: #fff;
	margin: 0;
	height: 40px;
}

#bottom-copy .copyright{
	font-size: 12px;
	color: #999;
	padding: 10px 0;
	display: block;
}