/* ******************************************************************************** */
/*                                                                                  */
/*                            Mehr Raum fur Kinder gGmbh                            */
/*                             (C) 2018 Pascal Spicker                              */
/*                                                          Last edited: 2018-01-01 */
/* ******************************************************************************** */

/*
Main Color
#394D9B;
rgb(57,77,155);
*/

.row.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}


.einrichtungenIcon {
	padding-left: 44px;
}

.icon-person { background:url(../img/style/person-24.png) 10px center no-repeat; }
.icon-map { background:url(../img/style/Map-24.png) 10px center no-repeat; }
.icon-phone { background:url(../img/style/Phone-24.png) 10px center no-repeat; }
.icon-email { background:url(../img/style/Email-24.png) 10px center no-repeat; }
.icon-calendar { background:url(../img/style/Calendar-24.png) 10px center no-repeat; }

.card-title {
	font-size: 20px;
	color: #394D9B;
}


.form-control-label {
	padding-left: 0rem;
}


/* Accordeon - Collapse                                                       */
/* ########################################################################## */

.acc {
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
	margin-bottom: 10px;
}

.acc:last-child {
	border-bottom: 0px;
}

.accTitle, .accTitle:active, .accTitle:hover, .accTitle:visited, .accTitle:focus {
	text-decoration: none;
	color: #333;
}

.accTitle span {
	width: 24px;
	height: 32px;
	margin-right: 5px;
	display: block;
	float: left;
}

.accTitle:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

.accTitle h4 {
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 20px;
	font-size: 1.25rem;
	color: #394D9B;
	letter-spacing: 1px;
	font-weight: bold;
}

.accH2 {
	padding: 0px;
}

.accH3 {
	padding: 0px;
}



/* ******************************************************************************** */
/* Typographie                                                                      */
/* ******************************************************************************** */




* {
	font-family: Georgia;
	font-size: 16px;
	font-size: 1rem;
}

h1, h2, h3 {
	font-family: 'Open Sans Condensed', sans-serif;
	color: #394D9B;
}

h2 {
	font-size: 26px;
	font-size: 1.625rem;
	padding: 0px 0px 20px 0px;
	line-height: 32px;
}

h3 {
	font-size: 20px;
	font-size: 1.25rem;
	letter-spacing: 1px;
	padding: 0px 0px 15px 0px;
	line-height: 26px;
}

h3 > a{
	font-family: 'Open Sans Condensed', sans-serif;
	color: #394D9B;
	font-size: 20px;
	font-size: 1.25rem;
	letter-spacing: 1px;
}

.underlined{
	text-decoration: underline;
}



.inTextSmall { padding-top: 20px; }
.inTextMedium { padding-top: 40px; }
.inTextLarge { padding-top: 60px; }

.orga_pics img { width: 100%; }
.orga_pics .col-xs-12 { margin-bottom: 50px; }

/* ******************************************************************************** */
/* Error                                                                            */
/* ******************************************************************************** */

.form-error  ul, .alert ul, .alert-danger ul{
	list-style: none;
}

.form-error li, .alert li, .alert-danger li {
	padding: 4px 10px 4px 10px;
	margin: 8px 0px 8px 0px;
	border-radius: 3px;
	background:#ffecec;
    border:1px solid #f5aca6;
}



/* ******************************************************************************** */
/* Unsortiert                                                                       */
/* ******************************************************************************** */

.marginBottom10 { margin-bottom: 10px; }
.marginBottom20 { margin-bottom: 20px; }
.noPadding { padding:0px; }

.left { float:left; }
.right { float:right; }
.clear { clear:both; }

.news {  }
.employee { margin-bottom: 20px; }
.employee h3, .partner h3 { padding:0px; }
.facility, .partner { padding-bottom:40px; }
.facility h3m .partner h3 { padding:0px; }

/* ******************************************************************************** */
/* Seitenlayout                                                                     */
/* ******************************************************************************** */

body {
	background: url(../img/style/navigationBarBackground.png) repeat-x,
				url(../img/style/bodyBackground.jpg) repeat-y top center,
				#c5b08f;
}

.opacity08 { background: rgba(255, 255, 255, 0.8); }
.left { float: left; }
.right { float: right; }
.header { padding: 30px 0px; }
.outer { padding: 0px 10px; }

.inner {
	max-width: 980px;
	margin: auto;
	-webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
}

hr {	background: #394D9B; }
hr.bold { height: 5px; }
hr.small { height: 3px; }
hr.thin { height: 1px; }


/* ******************************************************************************** */
/* TopNav - Obere Navigation                                                        */
/* ******************************************************************************** */

.topnav span {
	display: none;
	height: 59px;
	padding: 0px 10px;
	font-family: Arial;
	line-height: 59px;
	font-weight: bold;
	color: white;
	text-shadow: 0px 1px #006600;
}

.topnav {
	height: 59px;
	border-bottom: 1px solid #186713;
}

nav {

}

.l1 > li {
	width: 245px;
	height: 59px;
	float: left;
}

.l1 > li > a{
	text-transform: uppercase;
	text-decoration: none;
	display: block;
	color: white;
	float: left;
	width: 245px;
	height: 59px;
	text-align: center;
	line-height: 59px;
	text-shadow: 0px 1px #006600;
	background: url(../img/style/l1Background.png) no-repeat top right;
	letter-spacing: 1px;
}

.l1 > li:last-child > a { background: none; }

#doubleLi {
	line-height:20px;
	padding-top:10px;
}

nav:after {
	clear: both;
	content: ".";
	font-size: 0px;
	visibility: hidden;
}

.l2 {
	display: none;
}

.l1 li:hover .l2 {
	display: block;
}

.l2 {
	width: 300px;
	position: absolute;
	top: 59px;
	z-index: 3;
	padding: 10px 0px 0px 0px;
}

.l2 > li:first-child > a {
	border-top: 1px solid #186713;
}

.l2 > li:last-child > a {
	border-bottom: 1px solid #186713;
}

.l2 > li > a{
	display: block;
	height: 40px;
	line-height: 40px;
	background: rgba(57,77,155,0.9);
	text-transform: uppercase;
	text-decoration: none;
	display: block;
	color: white;
	padding: 0px 0px 0px 10px;
	text-shadow: 0px 1px #006600;
	border-left: 1px solid #186713;
	border-right: 1px solid #186713;
}

.l2 > li > a:hover {
	background: rgba(57,77,155,0.9);
}

.l1 > li:last-child > .l2{
	margin-left: -104px;
}

/* ******************************************************************************** */
/* Header                                                                           */
/* ******************************************************************************** */

header {
	height: 140px;
	text-align: center;
}

.header_logo {
	max-width: 220px;
}

.header_text {
	max-width: 440px;
}

/* ******************************************************************************** */
/* Content                                                                          */
/* ******************************************************************************** */

.content {
	padding: 0px 20px;
	text-align: left;
}

.content p {
	font-size: 1em;
	letter-spacing: 0.05em;
	line-height: 1.9em;
	text-align: justify;
	padding-bottom: 1em;
}

.content a {
	color: #394D9B;
}

ul.list {
	padding: 0px 0px 0px 20px;
	margin-bottom: 1em;
}

ul.list > li {
	line-height: 1.9em;
}


/* ******************************************************************************** */
/* SubNavs                                                                          */
/* ******************************************************************************** */

.miniNav {
	display: none;
}

.subnav{
}

ul.tabs {
}

ul.tabs > li {
	width: 20%;
	float: left;
	text-align: center;
	border-bottom: 1px dashed #394D9B;
	padding: 0px 0px 15px 0px;
	margin: 0px 0px 30px 0px;
	color: #394D9B;
	list-style: none;
}

.tab-container > h3 { display:none; }


/* ******************************************************************************** */
/* Gallerie                                                                         */
/* ******************************************************************************** */
/*
.gallery {
	text-align: center;
}

.gallery > a > img {
	float: left;
	width: 33%;
	padding: 0px 10px 20px 10px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}*/

.gallery img {
	width: 120px;
	height: 120px;
	margin: 5px;
	border: 2px solid #fff;
	box-shadow: 0px 0px 2px #333;
	float: left;
}

.gallery {
	margin-top: 10px;
}

.gallery:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

/* ******************************************************************************** */
/* Tabellen                                                                         */
/* ******************************************************************************** */

table {
	border-collapse:collapse;
	line-height: 30px;
	border: 2px solid #394D9B;
}

.half { width:50%; }
.full { width: 100%; }

td {
	text-align: left;
	padding: 2px 5px 2px 5px;
}

tr:nth-child(odd) td{ background:rgba(0, 0, 0, 0.1); }
tr:nth-child(even) td { background: rgba(0, 0, 0, 0.05); }

table tr:hover  {
	background-color: #c6ffaa;
	-webkit-transition:background 0.5s;
	-moz-transition:background 0.5s;
	-o-transition:background 0.5s;
	transition:background 0.5s;
}

table th{
	padding: 2px 5px 2px 5px;
	text-align: left;
	background: rgba(0, 0, 0, 0.15);
	color: #394D9B;
	border-bottom: 2px solid #394D9B;
}

td.bold{ font-weight: bold; }

/* ******************************************************************************** */
/* Formular                                                                         */
/* ******************************************************************************** */

.form-left {
	box-sizing: border-box;
	padding-right: 20px;
}

.form-right {  }

span.required {
	color: red;
}

	.form-cktype_btage input { width:auto; }

input.text {
	width: 50%;
	box-sizing: border-box;
	float: right;
	padding: 5px 10px 5px 10px;
	margin: 0px 0px 0px 0px;
	border-radius: 5px;
	border: 1px solid #cccccc;
}

input:hover {
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);

    -webkit-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    -kthtml-transition: all 0.5s linear;
}

.form-cktype_btage {
	width: 15%;
	box-sizing: border-box;
	margin: 0px 15px 0px 0px;
	float: left;
}

.ckbox {
	margin: 0px 5px 0px 0px;
	border: 1px solid #cccccc;
}

.comment {
	width: 100%;
	max-width: 100%;
	min-width: 100%;
}

select {
	padding: 5px 10px 5px 10px;
	margin: 0px 0px 0px 0px;
	width: 50%;
	box-sizing: border-box;
	border-radius: 5px;
	border: 1px solid #cccccc;
	float: right;
}

optgroup {
	font-weight: bold;
}

option {
	font-size: 14px;
	font-size: 0.875rem;
	margin: 2px 0px 2px 0px;
}


/* ******************************************************************************** */
/* Footer                                                                           */
/* ******************************************************************************** */

.footer { padding: 20px 20px 10px 20px; }

/* ******************************************************************************** */
/* Content - News                                                                   */
/* ******************************************************************************** */

.one-third {
	width: 33%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	padding: 0px 10px 0px 0px;
}

.two-third {
	max-width: 66%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.one-third > img {
	width: 100%;
}

.two-fifth  {
	width: 40%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	padding: 0px 20px 0px 0px;	
}

.three-fifth {
	width: 60%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.three-fifth h3, .three-fifth h4{
	margin-bottom: 10px;
}

.two-fifth > img {
	width: 100%;
}
/*
.emp { min-width:366px; }
.station { min-width:270px; }
*/
.uebersicht hr { display:none; margin:30px 0px; }
.uebersicht p { line-height:2em; }
.uebersicht a { display:block; text-align:right; }

/* ******************************************************************************** */
/* Accordeon Javascript                                                             */
/* ******************************************************************************** */

.closed {
	background:url(../img/style/faq-button.png) left no-repeat;
}

.open {
	background:url(../img/style/faq-button.png) right no-repeat;
}

#button {
	float:right;
	display:block;
	height:18px;
	width:17px;
	text-indent:-9999px;
}

dd {
	display:none;
}

dt {
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 20px;
	font-size: 1.25rem;
	color: #394D9B;
	letter-spacing: 1px;
	font-weight: bold;
}

dt.underline {
	text-decoration: underline;
}

/* ******************************************************************************** */
/* Media-Queries                                                                    */
/* ******************************************************************************** */

@media (max-width: 1023px) {
	.outer { padding: 0px !important; }
	.topnav > nav { float:left; }
	.l1 > li { width:auto; }
	.l1 > li > a { width:auto; padding:0px 10px 0px 10px; }
	.l1 > li:last-child > .l2 { margin-left:none; }
	#doubleLi { line-height:20px;padding-top:20px; }
	ul.tabs > li { float:left; width:auto; padding-right:20px;}
	/*.gallery a:nth-child(odd) > img { width:50%; padding: 0px 10px 20px 0px; }
	.gallery a:nth-child(even) > img { width:50%; padding: 0px 0px 20px 10px; } */
	table.half { width:100%; }
	.form-left { width:100%; float:none; padding:0px; }
	.form-right { width:100%; float:none; padding:0px; }
	.form-cktype_btage { width:30%; }
	.facility, .partner { padding-bottom:60px; }
}

@media (max-width: 736px) {
	.outer { padding: 0px; }
	.header_text { display: none; }
	.topnav > span { display: block; }
	.content { padding: 0px 10px; }
	.content p { text-align:left; }
	.footer { padding: 40px 10px 10px 10px; }
	.footer .left, .footer .right { float:none; }
	.footer .left { margin-bottom:10px; }
	.topnav > nav { display: none; }
	.one-third , .two-fifth{ float:none !important; width:100%; padding:0px;}
	.one-third > img, .two-fifth > img { margin:0px 0px 40px 0px; text-align:center; }
	.two-third , .three-fifth{ max-width:100%; width:100%; float:none !important; }
	.two-fifth { min-width:0px; }
	.uebersicht > .two-fifth { display: none; }
	.uebersicht hr { display: block; }
	/*.gallery a:nth-child(odd) > img { width:100%; padding: 0px 0px 10px 0px; }
	.gallery a:nth-child(even) > img { width:100%; padding: 0px 0px 10px 0px; }*/
	.gallery img {width:64px;height:64px;}
	.facility img { display:none; }
	.form-left input, .form-left select{ width:100%; margin-bottom:20px;}
	.form-right input, .form-right select { width:100%; margin-bottom:20px;}
	.miniNav { display:block; padding:10px 0px 20px 0px; }
	.tab-container .tabs { padding:10px 0px 20px 0px; }
	ul.tabs > li { float:none; padding:4px 0px; margin:10px 0px; border:0px; text-align:left; width:auto; color:#000; }
	ul.tabs > li:first-child {  }
	.tab-container > h3 { display:block; }
	.form-cktype_btage { width:100%; float:none; }
}