/*
 Theme Name:   Johannes-Still-Schule
 Author:       JNSGLMLLR
 Template:     html5blank-stable
 Version:      1.0
 Text Domain:  johannes-still-schule
*/ 


/* lato-regular - latin */
@font-face {
  font-family: 'Century Gothic';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/centurygothic.ttf'); 
}

@font-face {
  font-family: 'Century Gothic';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/centurygothicbold.ttf'); 
}


body div {
	font-family: 'Century Gothic';
	font-size: 15px;
	line-height: 140%;
}

h1, h2 {
	color: #B4CC6B;
	text-align: left;
}

p {
	margin:0;
}

.header {
	padding: 20px 0;
}

.header .logo {
	width: 180px;
	display: inline-block;
	vertical-align: middle;
	background-color: white;
	position: absolute;
	padding: 14px;
	top: 0;
}

.header .nav {
	display: inline-block;	
	vertical-align: middle;
	float: right;
}

.header .nav ul li {
	display: inline-block;
	list-style: none;
	vertical-align: middle;
	position:relative;
	margin-right:10px;
	
}

.header .nav ul li a {
	padding: 10px;
	font-weight: 700;
	color: black;
	font-size: 14px;
	
}

.header .nav ul li ul {
	display:none;
	background-color:white;
}

.header .nav ul li:hover ul {
	display: block;
	position:absolute;
	left:0;
	top: 20px;
	padding:0;
	padding-top:9px;
	z-index:999;
}

.header .nav ul li > ul li {
	margin-right:0;
}

.header .nav ul li > ul li a {
	display: inline-block;
	width: 150px;
	margin: 3px 0 0;
}

.header .nav ul li > ul li:hover {
	background-color: #4c4c4c;
	color: white;
}

.header .nav ul li > ul li:hover > a {
	color: white;
}

.header .nav ul li > ul li ul, .header .nav ul li:hover > ul li ul {
	display:none;
	background-color:white;
}

.header .nav ul li > ul li:hover ul {
	display: block;
	position:absolute;
	left: 100%;
	top: 0;
	padding:0;
	padding-top:0;
	z-index:999;
}

.header .nav ul li ul li {
	margin-right:0;
}

.header .nav ul li ul li a {
	display: inline-block;
	width: 150px;
	margin: 3px 0 0;
}



.header .shiftnav-toggle {
	display:none; 
}

.post-header.post-thumbnail {
	height: 500px;
	background-size: cover;
	background-position: center center;
	width: 100%;
}

.post-header.post-no-thumbnail {
	height: 110px;
	background-color: #f0f0f0;
}



.shiftnav h3 {
	display: none;
}

.slider {
	max-width: 1500px;
	margin: 0 auto;
}

.slider .metaslider {
	padding-bottom:0;
}


article {
	margin-top: 60px;
	margin-bottom: 60px;
}

.wrapper h1 {
	font-size: 26px;
	margin: 0 auto 30px;
}

.vc_btn3 {
	background-color:#B4CC6B !important;
	border-radius: 0 !important;
	padding: 7px 10px !important;
}

.slider-border.footer {
	height:5px;
}

.footernav {
	text-align: center;
}

.footernav ul {
	list-style:none;
	padding:0;
	margin-top:20px;
}

.footernav ul li {
	display: inline-block;
	padding-bottom: 0px;
	padding-top: 20px;
}

.footernav ul li a {
	padding: 10px;
	font-size:14px;
}


.jss-quadrat {
	height:0;
	width:40%;
	padding-bottom:40%;
	position: relative;
	margin: 0 auto;
}

.jss-quadrat .quadrat {
	position: absolute;
	border:3px solid white;
	background-color: red;
	width: 50%;
	height: 50%;
	background: #479bd0;
	color: white;
	padding: 15px;
}

.jss-quadrat a:nth-child(2) .quadrat {
	left:50%;
	background:#ca2d17;
}

.jss-quadrat a:nth-child(3) .quadrat {
	top:50%;
	background:#ec9438;
}

.jss-quadrat a:nth-child(4) .quadrat {
	top:50%;
	left:50%;
	background:#549863;
}

.jss-quadrat .quadrat h2 {
	margin: 0;
	height:50px;
	color: white;
}

.jss-quadrat .quadrat p {
	margin-bottom: 1px;
}

.jss-quadrat .quadrat .inner {
	top: calc(100% - 50px);
	position: absolute;
	transition: all .3s ease-in-out;
}

.jss-quadrat .quadrat:hover .inner {
	top: 30%;
}


@media (max-width: 950px) {
	
	.header .nav {
		display: none
	}
	
	.header .shiftnav-toggle {
		display:inline-block; 
		float: right;
		margin-top: 26px;
	}
	
	.jss-quadrat {
		width:100%;
		padding-bottom:100%;
	}
	
}

@media (max-width: 768px) {
	
	.vc_col-sm-4 {
		
	}
	
}




@media (max-width: 600px) {
	
	.header .nav {
		display: none
	}
	
	.header .shiftnav-toggle {
		display:inline-block; 
		float: right;
		margin-top: 13px;
	}
	
	.metaslider.ms-theme-cubic.ms-is-small {
		padding-bottom: 0 !important;
	}
	
	.header .logo {
		width: 180px;
	}
	
	.flex-control-nav {
		display: none !important;
	}
	
}