/*
Theme Name: EducaBoard
Theme URI: https://www.foxcomputers.ch
Author: Fox Computers | Michael Fuchs
Author URI: https://www.foxcomputers.ch
Description: Theme für EducaBoard - Nachhilfe Institut
Version: 1.0
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: educaboard

EducaBoard WordPress Theme © 2011-2018 Fox Computers
EducaBoard is distributed under the terms of the GNU GPL
*/

@font-face {
    font-family: 'oxygenregular';
    src: url('fonts/oxygen-webfont.woff2') format('woff2'),
         url('fonts/oxygen-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'oxygenbold';
    src: url('fonts/oxygen-bold-webfont.woff2') format('woff2'),
         url('fonts/oxygen-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,img,ins,kbd,q,s,samp,small,strike,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{font-size:100%;font:inherit;padding:0;border:0;margin:0;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.clear{clear:both}

.wp-caption, .wp-caption-text, .gallery-caption {
	display: none;
}
.alignright {
	float:right;
	margin:0 0 25px 25px;
}
.alignleft {
	float:left;
	margin:0 25px 25px 0;
}
.aligncenter {
	display: block;
	margin-left:auto;
	margin-right:auto;
}
.screen-reader-text {
	clip:rect(1px, 1px, 1px, 1px);
	position:absolute !important;
}

a {
	outline:none;
}
img {
	max-width:100%;
	height:auto;
}

#header {
	position: fixed;
	top:0;
	width:100%;
	background:#fff;
	z-index: 99999;
}
#header #logo img {
	display: block;
	transition:all .3s ease;
	width:152px;
	height:90px;
}
#header.shrink #logo img {
	width:101px;
	height:60px;
	transition:all .3s ease;
}

#logo {
	float:left;
	display: inline-block;
	padding:10px 0 10px 80px;
}
#menu {
	position: absolute;
	top:50%;
	right:80px;
	margin-top:-12px;
	display: inline-block;
}
#menu ul {
	text-align: right;
	font-size:0;
}
#menu ul li {
	display: inline-block;
	margin-left:35px;
	position: relative;
}
#menu ul li a {
    font-family: 'oxygenbold';
	font-size:20px;
	line-height: 24px;
	color:#364789;
	text-decoration: none;
}
#menu ul li.current-menu-item a, #menu ul li a:hover, #menu ul li.current-menu-ancestor a, #menu ul li.current-menu-ancestor .sub-menu li a:hover, #menu ul li.current-menu-ancestor .sub-menu li.current-menu-item a, #menu ul li.current-menu-item .sub-menu li a:hover {
    color:#85b94d;
}
#menu ul li.current-menu-ancestor .sub-menu li a, #menu ul li.current-menu-item .sub-menu li a {
	color:#364789;
}
#menu ul li .sub-menu {
	display: none;
}
#menu ul li:hover .sub-menu {
	display: block;
	position: absolute;
	left:-15px;
	background:#fff;
	padding:15px 15px 5px 15px;
	text-align: left;
}
#menu ul li .sub-menu li {
	margin-left: 0;
	margin-bottom:10px;
}
#menu ul li .sub-menu li a {
    font-family: 'oxygenregular';
	white-space: nowrap;
}

#container {
	padding-top:113px;
	transition:all .3s ease;
}
#container.shrink {
	padding-top:80px;
	transition:all .3s ease;
}

#header-img {
	position: fixed;
	max-width:100%;
	top:113px;
	transition:all .3s ease;
}
#container.shrink #header-img {
	top:80px;
	transition:all .3s ease;
}
#header-img img {
	display: block;
}
.home #header-img {
	position: inherit;
	margin:0 0 30px 0;
}

#content #claim {
	position: fixed;
	bottom:80px;
	left:80px;
	padding:40px;
	background:#364789;
	z-index: 9999;
}
#content #claim h1 {
    font-family: 'oxygenbold';
	font-size:72px;
	line-height: 82px;
	margin:0;
	color:#85b94d;
}

#content {
	position: relative;
	z-index: 999;
	background: #fff;
}
#content-inner {
	max-width:1024px;
	margin:0 auto;
	padding:40px;	
}
#content h1 {
    font-family: 'oxygenbold';
	font-size:50px;
	line-height:60px;
	color:#85b94d;
	margin:0 0 25px 0;
}
#content h2 {
    font-family: 'oxygenbold';
	font-size:32px;
	line-height:42px;
	color:#85b94d;
	margin:0 0 25px 0;
}
#content h3 {
    font-family: 'oxygenbold';
	font-size:22px;
	line-height:32px;
	color:#85b94d;
	margin:0 0 25px 0;
}
#content p {
    font-family: 'oxygenregular';
	font-size:18px;
	line-height:28px;
	color:#364789;
	margin:0 0 25px 0;
}
#content p a, #content ul li a, #content ol li a {
	color:#85b94d;
	text-decoration: none;
}
#content p a:hover, #content ul li a:hover, #content ol li a:hover {
	text-decoration: underline;
}
#content ul {
	margin:0 0 25px 0;
	padding:0;
}
#content ol {
	margin:0 0 25px 0;
	padding:0 0 0 20px;
}
#content ul li {
    font-family: 'oxygenregular';
	font-size:18px;
	line-height:28px;
	color:#364789;
	list-style: none;
	position: relative;
	padding:0 0 0 12px;
}
#content ul li:before {
	position: absolute;
	left:0;
	content:"-";
    font-family: 'oxygenregular';
	font-size:18px;
	line-height:28px;
	color:#364789;
}
#content ol li {
    font-family: 'oxygenregular';
	font-size:18px;
	line-height:28px;
	color:#364789;
	list-style: decimal;
}

#pages-block {
	margin:0 0 10px 0;
	padding:30px 0 0 0;
}
#pages-block .pages-box {
	float:left;
	width:calc(50% - 10px);
	margin:0 0 0 20px;
}
#pages-block .pages-box:nth-child(2n+1) {
	margin:0;
	clear: both;
}
#pages-block .pages-box img {
	display: block;
}
#content #pages-block .pages-box h2 {
    font-family: 'oxygenbold';
    font-size: 24px;
    line-height: 28px;
    color: #fff;
    background: #85b94d;
    margin: 0 0 25px 0;
	padding:10px;
	transition: background .3s ease;
}
#content #pages-block .pages-box:hover h2 {
    background: #364789;
	transition: background .3s ease;
}
#content #pages-block .pages-box h2 a {
    color: #fff;
	text-decoration: none;
	display: block;
}

.form-elements .form-element {
	float: left;
	width:calc(50% - 5px);
	margin-right:5px;
}
.form-elements .form-element:nth-child(even) {
	margin-left:5px;
	margin-right:0;
}
.wpcf7-form {
	margin: 0 0 30px 0;	
}
.wpcf7-text {
	-webkit-appearance:none;
	border-radius: 0;
	border:1px solid #ccc;
	background:#fff;
    font-family: 'oxygenregular';
	font-size:15px;
	line-height:28px;
	color:#364789;
	padding:2px 5px;
	width:calc(100% - 14px);
	margin:0 0 10px 0;
}
.wpcf7-select {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
	border-radius: 0;
	background:url(images/select-arrow.png) #fcfcfc no-repeat right center;
	border: 1px solid #ccc;
	color: #364789;
	cursor: pointer;
	height: 34px;
	padding: 0 30px 0 2px;
	width:calc(100% - 2px);
    font-family: 'oxygenregular';
	font-size:15px;
	margin:0 0 10px 0;
}
.wpcf7-textarea {
	-webkit-appearance:none;
	border-radius: 0;
	border:1px solid #ccc;
	background:#fff;
    font-family: 'oxygenregular';
	font-size:15px;
	line-height:28px;
	color:#364789;
	padding:2px 5px;
	width:calc(100% - 14px);
	max-width:calc(100% - 14px);
	margin:0 0 10px 0;
}
.wpcf7-submit {
	-webkit-appearance:none;
	border-radius: 0;
	border:1px solid #364789;
	background:#364789;
	color:#fff;
    font-family: 'oxygenregular';
	font-size:15px;
	line-height:28px;
	padding:2px 15px;
	float: right;
	margin-right:2px;
}
.wpcf7-submit:hover {
	background:#fff;
	color:#364789;
	cursor: pointer;
}
.ajax-loader, .wpcf7-not-valid-tip, .pe-7s-cloud-upload {
	display: none !important;
}
.wpcf7-not-valid {
	border:1px solid #f00 !important;
}
span.small {
	display: inline-block;
    font-family: 'oxygenregular';
	font-size:13px;
	line-height:28px;
	color:#364789;
	padding-bottom:15px;
}
div.wpcf7-response-output {
	margin: 20px 0 !important;
	padding: 15px !important;
	text-align: center;
}
div.wpcf7-mail-sent-ok {
	border: 2px solid #398f14 !important;
	color:#398f14 !important;
}
div.wpcf7-mail-sent-ng {
	border: 2px solid #f00 !important;
	color:#f00 !important;
}
div.wpcf7-spam-blocked {
	border: 2px solid #ffa500 !important;
	color:#ffa500 !important;
}
div.wpcf7-validation-errors {
	border: 2px solid #f00 !important;
	color:#f00 !important;
}
.drop_uploader.drop_zone {
	width:calc(100% - 4px) !important;
    min-height: 80px !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
	margin:0 0 10px 0 !important;
}
.drop_uploader.drop_zone .text {
    font-family: 'oxygenregular' !important;
    font-size: 20px !important;
    color: #364789 !important;
}
.drop_uploader.drop_zone .text_wrapper {
    margin-top: 30px;
	margin-bottom:30px;
}
.drop_uploader.drop_zone .text a {
    color: #364789 !important;
}
.drop_uploader.drop_zone .text a:hover {
    text-decoration:none !important;
}
.drop_uploader.drop_zone ul.files {
	margin:10px 0 !important;
	padding:0 20px !important;
	width:calc(100% - 40px) !important;
}
.files.ajax li {
	list-style: none !important;
}

#footer {
	max-width:1024px;
	margin:0 auto;
	padding:20px 40px;
}
#footer #copyright {
    font-family: 'oxygenregular';
	font-size:14px;
	line-height:24px;
	color:#364789;
}
#footer #copyright a {
	color:#364789;
	text-decoration: none;
}
#footer #copyright a:hover {
	text-decoration: underline;
}

#menu-toggle {
	display: none;
}

@media only screen and (max-width:1240px) {
	#logo {
		padding: 10px 0 10px 40px;
	}
	#menu {
		right: 40px;
	}
}
@media only screen and (max-width:1140px) {
	#menu {
		display: none
	}
	#menu-toggle {
		display: block;
		position: absolute;
		top:50%;
		right:40px;
		margin-top:-11px;
		cursor: pointer;
	}
	.mm-listitem > a, .mm-listitem > span, .mm-navbar__title {
		font-family: 'oxygenbold';
		font-size:20px;
		line-height: 24px;
		color:#364789 !important;
	}
	.mm-menu_theme-white {
		border-color: transparent !important;
	}
	.mm-menu_theme-white .mm-listview .mm-btn_next::after, .mm-menu_theme-white .mm-btn::after, .mm-menu_theme-white .mm-btn::before {
		border-color: #85b94d !important;
	}
	.mm-menu_theme-white .mm-listitem_selected > a:not(.mm-btn_next), .mm-menu_theme-white .mm-listitem_selected > span {
    	background: #85b94d !important;
	}
	#header #logo img, #header.shrink #logo img {
		width:101px;
		height:60px;
	}
	#container, #container.shrink {
		padding-top:80px;
	}
	#header-img, #container.shrink #header-img {
		top:80px;
	}
}
@media only screen and (max-width:768px) {
	#logo {
		padding: 10px 0 10px 20px;
	}
	#menu-toggle {
		right: 20px;
	}
	#content-inner {
    	padding: 40px 20px;
	}
	#footer {
		padding:20px;
	}
	.home #header-img {
		margin: 0;
	}
	#content h1 {
		font-size:40px;
		line-height:50px;
		margin:0 0 25px 0;
		-webkit-hyphens: auto;
	    -moz-hyphens: auto;
        hyphens: auto;
	}
	#content h2 {
		font-size:27px;
		line-height:38px;
		margin:0 0 20px 0;
		-webkit-hyphens: auto;
	    -moz-hyphens: auto;
        hyphens: auto;
	}
	#content h3 {
		font-size:20px;
		line-height:30px;
		margin:0 0 20px 0;
	}
	#content p {
		font-size:16px;
		line-height:26px;
		margin:0 0 20px 0;
	}
	#pages-block .pages-box {
		float:none;
		width:100%;
		margin:0;
	}
}
@media only screen and (max-width:600px) {
	#header-img {
		opacity: 1 !important;
	}
	.form-elements .form-element {
		float: none;
		width:100%;
		margin-right:0;
	}
	.form-elements .form-element:nth-child(even) {
		margin-left:0;
		margin-right:0;
	}
	#content #pages-block .pages-box h2 {
		font-size: 20px;
		line-height: 24px;
		margin: 0 0 20px 0;
	}
}
@media only screen and (max-width:380px) {
	#content h1 {
		font-size:32px;
		line-height:42px;
		margin:0 0 20px 0;
	}
}