@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400,700&subset=latin-ext');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700');

/*
Theme Name: IT v kostce
Theme URI: https://webdesign.itvkostce.cz
Author: Martin Gross
Author URI: https://webdesign.itvkostce.cz
Description: Šablona vytvořená na míru pro potřeby klienta
Version: 1.0
License: Copyright - Martin Gross
Tags: custom-made
Text Domain: itvkostce
*/

* {
box-sizing: border-box;
margin: 0;
padding: 0;
border: 0;
-webkit-text-size-adjust: none;
-moz-text-size-adjust: none;
-ms-text-size-adjust: none;
-o-text-size-adjust: none;
text-size-adjust: none;
}

.featherlight .featherlight-content, #slider {
user-select: none;
-ms-user-select: none;
-o-user-select:none;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-webkit-touch-callout: none;
}

body, html {
width: 100%; height: 100%;	
}

body {
position: relative; text-align: center;
background-color: #fff;
z-index: 2;
}

body, label, input, select, textarea {
font-size: 16px; line-height: 22px; font-family: 'Roboto Condensed', sans-serif; color: #000;
}

/*-----ZAKLAD-----*/

h1, h2, h3, h4, h5, p, hr, ul, ol {
margin-bottom: 20px;
}

p:last-child, ul:last-child, ol:last-child{
margin-bottom: 0;	
}

a {
color: #0083bb;
}

.green-yellow a, .green-grey a {
color: #4e9e00;
}

.black-yellow a {
color: #b99901;
}

.black-grey a {
color: #757575;
}

a, .content a.button, .content a:hover, .content .breadcrumb a, .content .sidemenu a, .content .newsbox a, .prefooter .content a {
text-decoration: none;
}

.content a {
text-decoration: underline;
}

ul li, ol li {
list-style-position: outside; margin-left: 20px;
}

hr {
border-bottom: 1px solid #aaa;
}

.cleaner {
clear: both; height: 0;
}

.left {
float: left;
}

.right {
float: right;
}

.wrapper {
width: 100%; text-align: center;
}

.wrap {
max-width: 960px; margin: auto; padding: 0 20px;
}

.wrap-wide {
max-width: 1366px;
}

.half {
padding-bottom: 30px;
}

@media only screen and (min-width:600px) {

	.half {
	width: 50%; float: left;
	}

	.half:nth-of-type(odd) {
	clear: both; padding-right: 15px;
	}

	.half:nth-of-type(even) {
	padding-left: 15px;
	}

}

.third {
padding-bottom: 30px;
}

@media only screen and (min-width:500px) and (max-width:750px) {

	.third {
	width: 50%; float: left;
	}

	.third:nth-of-type(odd) {
	clear: both; padding-right: 15px;
	}

	.third:nth-of-type(even) {
	padding-left: 15px;
	}
	
	.homebox.third {
	width: 100%; float: none; padding-left: 0; padding-right: 0;
	}

}

@media only screen and (min-width:750px) {

	.third {
	width: 33.3%; float: left;
	}

	.third:nth-of-type(3n+1) {
	clear: both; padding-right: 20px;
	}

	.third:nth-of-type(3n+2) {
	padding-left: 10px; padding-right: 10px;
	}

	.third:nth-of-type(3n) {
	padding-left: 20px;
	}

}

@media only screen and (max-width:500px) {
	
	.fourth {
	padding-bottom: 30px;
	}
	
}

@media only screen and (min-width:500px) and (max-width:750px) {
	
	.fourth {
	width: 33.3%; float: left; padding-bottom: 30px;
	}

	.fourth:nth-of-type(3n+1) {
	clear: both; padding-right: 20px;
	}

	.fourth:nth-of-type(3n+2) {
	padding-left: 10px; padding-right: 10px;
	}

	.fourth:nth-of-type(3n) {
	padding-left: 20px;
	}
	
}

@media only screen and (min-width:750px) {
	
	.fourth {
	width: 25%; float: left; padding-bottom: 16px;
	}

	.fourth:nth-of-type(4n+1) {
	padding-right: 12px;
	}

	.fourth:nth-of-type(4n+2) {
	padding-left: 4px;
	padding-right: 8px;
	}

	.fourth:nth-of-type(4n+3) {
	padding-left: 8px;
	padding-right: 4px;
	}

	.fourth:nth-of-type(4n) {
	padding-left: 12px;
	}

}

img {
display: block; max-width: 100%; height: auto;
}

.content img {
display: inline-block;	
}

/*-----FONTY-----*/

.child-title  {
font-size: 40px; line-height: 53px;
}

h1, h2, .slide-title, .pic-links {
font-size: 30px; line-height: 40px;
}

.homemenu a {
font-size: 25px; line-height: 30px;
}

h3, .pic-.pic-links-bottom {
font-size: 24px; line-height: 32px;
}

h4, .slide-text {
font-size: 21px; line-height: 28px;
}

h5, .homesection, .office-title, .news-title, .teacher-title, .footer-content {
font-size: 18px; line-height: 24px;
}

.footer {
font-size: 14px; line-height: 20px;
}

.regular, h3, h4, h5, a, .footer.light a {
font-weight: 400;
}

.light, h1, h2, .light a {
font-weight: 300;
}

.bold, strong, .prefooter a {
font-weight: 700;
}

.justify {
text-align: justify;	
}

.uppercase {
text-transform: uppercase;	
}

@media only screen and (max-width:940px) {

	.homemenu a {
	line-height: 40px;
	}

}

/*-----STRUKTURA-----*/

/*-----header-----*/

.header {
position: fixed; top: 0; left: 0; width: 100%; padding-top: 20px; padding-bottom: 20px;
background: rgba(10,10,10,0.9);
z-index: 9990;
}

@media only screen and (max-width:600px) {
	
	body #wpadminbar {
	position: fixed;
	}

}

@media only screen and (min-width:782px) {
	
}

@media only screen and (max-width:782px) {

	.header {
	position: absolute; top: -70px;
	}
	
	.body-home .header {
	top: 0;
	background: transparent;
	}

}

@media only screen and (min-width:782px) {
	
	.header {
	position: fixed;
	}
	
	.logged .header {
	top: 32px;	
	}
	
	.header-high .header {
	background: transparent;
	}

}

.logo {
display: block; float: left;
}

.logo img {
width: auto; float: left; height: 30px;
}

.logo .logo-symbol {
margin-right: 5px;	
}

@media only screen and (min-width:940px) {
	
	.header-high .header .logo-symbol {
	height: 90px;
	}
	
	.header-high .header .logo-sign {
	height: 30px; margin-top: 35px;
	}
	
}

.mobfire {
float: right;
cursor: pointer;
}
	
.header.transparent-header .mobfire {
opacity: 0;
cursor: context-menu;	
}
	
.hamburger {
position: relative; width: 40px; height: 30px;
opacity: 1;
}

.hamburger:hover {
position: relative; width: 40px; height: 30px;
opacity: 0.5;
}
	
.hamburger div {
position: absolute; left: 0; width: 100%; height: 4px;
background-color: #fff;
}

.hamburger div.line-1 {
top: 0;
}	

.hamburger div.line-2 {
top: 12px;
opacity: 1;
}

.hamburger div.line-3 {
top: 24px;
}

.showmenu .hamburger div.line-1, .showmenu .hamburger div.line-3 {
width: 46px; left: -3px; top: 12px;
}

.showmenu .hamburger div.line-1 {
transform: rotate(35deg);
}

.showmenu .hamburger div.line-2 {
opacity: 0;	
}

.showmenu .hamburger div.line-3 {
transform: rotate(-35deg);
}

@media only screen and (max-width:1023px) {
	
	.subpage-menu-wrap .mobfire {
	padding-bottom: 12px;
	}

}

@media only screen and (min-width:1023px) {
	
	.subpage-menu-wrap .mobfire {
	display: none;
	}

}

.head-icon {
width: 40px; height: 30px;
opacity: 1;
}

.head-icon:hover {
opacity: 0.5;
}

@media only screen and (max-width:640px) {

	.head-icon {
	position: absolute; right: 20px; display: none;
	}

	.body-home .head-icon {
	display: block;
	}
	
	.head-contact {
	top: 70px;
	}

	.head-search {
	top: 120px;
	}
	
	.head-eshop {
	top: 170px;
	}
	
}

@media only screen and (min-width:640px) {

	.head-icon {
	float: right; margin-right: 20px;
	}
	
}

.navmenu {
left: 20px; right: 20px;
opacity: 0;
z-index: -1;	
}

.showmenu .navmenu {
z-index: 9999;
opacity: 1;
}

.navmenu .wrap {
max-width: 1322px; height: 100%; padding: 10px;
background: rgba(10,10,10,0.9);
}

.navmenu-inner {
height: 100%; overflow: hidden;
}

.navmenu li {
list-style: none; margin: 0;
}

.navmenu li a, .navmenu .main-contact-link a {
display: block; padding: 10px 20px; text-align: left;
background: rgba(5,5,5,0.9);
border-left: 4px #aaa solid;
color: #ccc;
}

.navmenu li a:hover, .navmenu .main-contact-link a:hover {
border-left: 4px #0083bb solid;
color: #fff;
}

@media only screen and (max-width:782px) {

	.navmenu {
	top: 20px; position: absolute; 
	}
	
	.body-home .navmenu {
	top: 70px;
	}

	.logged .navmenu {
	top: 116px;
	}

	.navmenu li a {
	padding: 5px;
	}

}

@media only screen and (min-width:782px) {

	.navmenu {
	position: fixed; top: 90px;  bottom: 20px;
	}
	
	.logged .navmenu {
	top: 122px;	
	}
	
	.navmenu li a {
	padding: 10px 20px;
	}

}

@media only screen and (min-width:940px) {
	
	.body-home.header-high .navmenu {
	top: 140px;
	}
	
	.logged .navmenu {
	top: 116px;
	}
	
}

.navmenu li ul {
max-height: 5px; overflow: hidden; padding-top: 5px;
}

.navmenu li.active ul {
max-height: 1000px;
}

.navmenu li ul li a {
padding: 5px;
background: transparent;
border-left: 0;
border-top: 1px #333 solid;
color: #fff;
}

.navmenu li ul li a:hover {
border-left: 0;
color: #0083bb;
}

.navmenu li ul li:first-child a {
margin-top: 0;
border: 0;	
}

.navmenu li ul li:last-child a {
margin-bottom: 5px;
}

.navmenu .main-contact-link {
text-align: left;
}

/*-----content-----*/

.heading-1 {
margin-top: 70px; text-align: left; overflow: hidden;
background: #0083bb url('images/bg-lines.png') repeat top left;
color: #fff;
}

.heading-1.subpage-menu-wrap {
margin-top: 0; overflow: visible;
}

.heading-1 .wrap {
padding-top: 15px;
}

.superparent .socnet div {
width: 46px; height: 46px; display: inline-block; margin: 10px 15px;
opacity: 1;
}

.superparent .socnet div:hover {
opacity: 0.7;	
}

.heading-1 h1 {
margin: 0;	
}

@media only screen and (max-width:1023px) {

	.heading-1 .wrap {
	padding-bottom: 15px;
	}

}

@media only screen and (min-width:1023px) {
	
	.heading-1 {
	overflow: hidden;	
	}
	
	.heading-1 .wrap {
	position: relative; height: 70px;
	}
	
	.heading-1 h1 {
	position: absolute; height: 40px; left: 20px; top: 15px;
	}

	.document-unloaded .heading-1 h1 {
	left: -100%;	
	}
	
}

.main, .news-mini, .bottom-links {
padding: 50px 0;
background-color: #fff;
}

.main.bg-logo {
background-image: url('images/educanet-logo-symbol-bg.png');
background-repeat: no-repeat;
background-size: 40% auto;
background-position: center 100px;
}

.content {
text-align: left;
}

.superparent .content {
text-align: center;	
}

.breadcrumb {
margin-bottom: 30px;	
}

.breadcrumb a:hover {
color: #aaa;
}

.subpage-menu li {
list-style: none; margin: 0;
}

.subpage-menu a {
display: block;
color: #fff;
}

.subpage-menu a.active {
color: #ddd;
}

.subpage-menu li.home-link a {
background: url('images/home.png') no-repeat;
background-size: auto 100%;
background-position: center center;
}

.subpage-menu a.child-link.active {
color: #0083bb;
}

@media only screen and (max-width:1023px) {

	.subpage-menu {
	position: absolute; top: 54px; left: 0; width: 100%; max-height: 3px; overflow: hidden; padding-top: 3px;
	z-index: 9999;
	}
	
	.showmenu .subpage-menu {
	max-height: 2000px;
	}
	
	.subpage-menu .parent-links {
	position: relative; margin: 20px; padding: 5px;
	background: #111;
	}
	
	.subpage-menu a {
	padding: 3px; background: #444; padding-left: 8px;	
	}
	
	.subpage-menu li.home-link-li a {
	background: transparent;
	}
	
	.subpage-menu li li a {
	background: transparent; padding: 1px 3px 1px 8px;
	}
	
	.subpage-menu li li:first-child a {
	padding: 3px 3px 1px 8px;
	}
	
	.subpage-menu li li:last-child a {
	padding: 1px 3px 3px 8px;
	}
	
	.subpage-menu ul.grand-child-links li a {
	margin-left: 8px;
	font-style: italic;	
	}

}

@media only screen and (min-width:1023px) {
	
	.heading-1 .logo {
	margin-top: 14px;
	}
	
	.subpage-menu {
	float: right; margin-top: 15px;
	}
	
	.subpage-menu li {
	position: relative; display: inline-block;
	}

	.subpage-menu li a, .subpage-menu .child-links li:last-of-type a {
	padding: 9px;
	}

	.subpage-menu li:last-of-type a {
	padding-right: 0;
	}

	.subpage-menu a:hover {
	color: #000;
	}

	.subpage-menu ul.child-links {
	position: absolute; right: 0; top: 40px;
	background-color: rgba(0,0,0,0.85);
	display: none;
	z-index: 9999;
	}

	.subpage-menu li:hover ul.child-links {
	display: block;	
	}

	.subpage-menu a.child-link {
	padding-left: 22px; min-width: 200px; text-align: right;
	color: #ddd;
	}

	.subpage-menu a.child-link:hover {
	background: #777 url('images/bg-lines.png') repeat center center;
	color: #fff;
	}

	.subpage-menu ul.grand-child-links {
	position: absolute; top: 0; left: 100%;
	background-color: rgba(50,50,50,0.85);
	display: none;
	}
	
	.subpage-menu .child-link-li:hover ul.grand-child-links {
	display: block;
	}
	
	.subpage-menu ul.grand-child-links li a {
	text-align: left;
	}
	
}

.separator {
color: #aaa; margin-left: 5px; margin-right: 5px;	
}

.child-title {
margin-bottom: 30px; padding-bottom: 2px;
border-bottom: 1px #ccc solid;	
}

.calendar, .iframe-wrap {
position: relative; height: 0; width: 100%; padding-bottom: 100%;
}

.iframe-wrap {
padding-bottom: 0; overflow: hidden;
background: #ddd;
overflow:auto;
-webkit-overflow-scrolling: touch;
}

.doc-clicked .iframe-wrap {
padding-bottom: 100%;
background: #fff;
border: 1px #ddd solid;
}

.calendar iframe, .iframe-wrap iframe {
position: absolute; top: 0; left: 0; width: 100%; height: 100%;
border: 0; 
}

/*-----home-----*/

.hometheme {
position: relative;  overflow: hidden;
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
}

.hometheme-images-outer {
position: absolute; width: 100%; height: 100%; top: 0; left: 0;
}

.hometheme-images-inner {
position: relative; width: 100%; height: 100%; overflow: hidden;
}

.hometheme-image {
position: absolute; height: 100%; top: 0; 
}

.hometheme-image img {
margin: auto;
}

@media only screen and (max-width:1920px) {
	
	.hometheme-image {
	left: -9999px; right: -9999px; margin: auto;
	}
	
	.hometheme-image img {
	width: auto; height: auto; min-width: 1920px; min-height: 100%;
	}
	
}

@media only screen and (min-width:1920px) {

	.hometheme-image {
	left: 0; right: 0;	
	}

	.hometheme-image img {
	width: 100%;
	}

}

.hometheme-outer {
position: absolute; width: 100%; height: 100%; top: 0; left: 0;
}

.outer-dark {
background-color: rgba(0,0,0,0.6);
z-index: 9981;
}

.outer-dark.unloaded {
background-color: #222;
}

.outer-lines {
background: url('images/bg-lines.png') repeat left top;
background-color: transparent;
z-index: 9983;
}

.homemenu li {
list-style: none; margin: 0;
}

.homemenu li a {
display: block;
color: #fff;
}

.homemenu li:hover a {
color: #00a0e4;
}

.homesocial .socnet div {
width: 40px; height: 40px; margin-bottom: 20px;
}

.homesocial .socnet div:hover {
background: #0083bb;
}

@media only screen and (max-width:640px) {
	
	.homesocial {
	position: relative; padding-bottom: 30px; text-align: left;
	z-index: 9984;
	}
	
	.homesocial .socnet div {
	display: inline-block; width: 30px; height: 30px; margin: 0 10px 10px 0;
	}
	
}

@media only screen and (min-width:640px) {

	.homesocial .socnet {
	position: absolute; right: 20px;
	z-index: 9984;
	}
	
	.homesocial .socnet div {
	width: 40px; height: 40px; margin-bottom: 20px;
	}
		
	.homesocial .socnet div:last-child {
	margin-bottom: 0;	
	}

}

@media only screen and (max-width:940px) {

	.hometheme-pic {
	display: none;
	}
	
	.homesocial .socnet {
	top: 90px;
	}
	
	.wrap.homemenu {
	position: relative; text-align: left; padding-top: 70px; padding-bottom: 40px;
	z-index: 9984;
	}
	
	.homemenu li a {
	padding-top: 20px;	
	}

}

@media only screen and (min-width:940px) {

	.hometheme-pic {
	position: relative; padding-top: 160px; padding-bottom: 50px;
	z-index: 9982;
	}
	
	.homesocial {
	position: relative;	
	}
	
	.homesocial .socnet {
	bottom: 50px;
	}
	
	.wrap.homemenu {
	position: relative; padding: 0;
	}

	.homemenu li {
	position: absolute;
	z-index: 9984;
	}

	.homemenu li:hover {
	padding-left: 80px;
	}

	.homemenu li:nth-of-type(1) {
	top: -550px; left: 297px;
	}
	
	.homemenu li:nth-of-type(2) {
	top: -482px; left: 229px;
	}

	.homemenu li:nth-of-type(3) {
	top: -425px; left: 380px;	
	}

	.homemenu li:nth-of-type(4) {
	top: -312px; left: 230px;	
	}

	.homemenu li:nth-of-type(5) {
	top: -225px; left: 316px;	
	}

	.homemenu li:nth-of-type(6) {
	top: -148px; left: 156px;
	}

	.homemenu-item-border {
	float: right; width: 100%; height: 2px; margin-left: 60px;
	background: #fff;	
	}

	.homemenu li:hover .homemenu-item-border {
	background: #0083bb; margin-left: 0;
	}
	
	.homemenu li a {
	padding-left: 60px; padding-bottom: 5px; padding-top: 40px;
	}

	.homemenu li:hover a {
	padding-left: 0;
	}

}

.heading-home {
margin-top: 0;	
}

.hometitle-start {
padding-right: 10px; margin-right: 10px;
border-right: 2px #fff solid;	
}

.homeboxes {
padding-top: 30px;
background: #fff;
}

.homebox h2 {
text-align: left;
color: #0083bb;
}

.homesections {
padding-bottom: 20px;
background: #0083bb url(images/bg-lines.png) repeat center left;
color: #fff;
}

@media only screen and (max-width:600px) {

	.homesections {
	text-align: left;	
	}
	
}

@media only screen and (min-width:700px) {

	.homesection:nth-of-type(odd) {
	text-align: right;	
	}

	.homesection:nth-of-type(even) {
	text-align: left;
	}

	.homesection:nth-of-type(odd) h2, .homesection:nth-of-type(odd) div {
	padding-right: 80px;
	}

	.homesection:nth-of-type(even) h2, .homesection:nth-of-type(even) div {
	padding-left: 80px;
	}

	.homesection h2 {
	padding: 20px 0; margin: 0;
	background-repeat: no-repeat;
	background-size: 60px auto;
	}

	.homesection:nth-of-type(odd) h2 {
	background-position: top right;
	background-image: url('images/educanet-logo-symbol.png');
	}

	.homesection:nth-of-type(even) h2 {
	background-position: top left;
	background-image: url('images/educanet-logo-symbol-opposite.png');
	}

}

/*-----news and teachers-----*/

.news .content {
padding-bottom: 40px;	
}

.news-mini {
background: #f3f3f3;	
}

.news-mini .newsboxes {
margin-bottom: 14px;
}

.news-thumb {
position: relative;	
}

.news-thumb img {
opacity: 0.999999;
}

a:hover .news-thumb img {
opacity: 0.7;
}

.news-thumb img {
width: 100%;	
}

.news-date {
position: absolute;	top: 0; left: 0; width: 100%; padding: 10px;
background: rgba(255,255,255,0.8);
color: #333;
}

.news-title {
padding: 15px 0 5px;	
}

.news-text {
color: #000;
}

.newsbox .readmore {
color: #0083bb;	
}

.newsbox a:hover .news-title, .newsbox a:hover .readmore {
color: #999;	
}

.single-news-date {
background: #eee; padding: 10px 20px;
}

.no-thumb .single-news-date {
margin-bottom: 30px;
}

.single-thumb {
margin-bottom: 30px;	
}

.single-news-thumb img {
width: 100%;	
}

.addon {
clear: both; padding-top: 30px; margin-top: 40px;
border-top: 1px #ccc solid;
}

.addon h2 {
margin-bottom: 25px;	
}

.addon.gallery-single {
margin-bottom: 0;
}

.teacher-title {
margin-top: 10px;
}

.teacher-position, .teacher-contacts, .teacher .readmore {
margin-top: 5px;
}

.teacher-position {
color: #666;
}

.teacher .readmore {
display: block; 
}

.teacher a:hover {
color: #999;	
}

/*-----search-----*/

input {
-webkit-appearance: none;
}

input[type=text] {
width: 100%; display: block; padding: 10px; margin-bottom: 20px;
background: #f5f5f5;
border: 1px #ddd solid;
-webkit-appearance: none;
}

input[type=submit], .button {
display: inline-block; width: auto; padding: 10px 30px;
border: 1px #0083bb solid;
background: #0083bb;
color: #fff;
cursor: pointer;
}

input[type=submit]:hover, .button:hover {
background: #fff;
color: #0083bb;
}

/*-----slider-----*/

.sliderbox {
position: relative; overflow: hidden; padding-top: 0;
background: #fff url('images/loading.gif') no-repeat;
background-position: center 150px;
background-size: 20px auto;
}

.sliderbox.unloaded {
padding-top: 3000px; 
}

.nivoSlider {
position: relative; width: 100%; height: auto;
}

.nivoSlider img {
position: absolute; top: 0px; left: 0px; max-width: none;
}

.nivo-main-image {
display: block !important; position: relative !important; width: 100% !important;
}

.nivo-slice {
display: block; position: absolute; height: 100%; top: 0;
z-index: 5;
}

.nivo-box {
display: block; position: absolute; overflow: hidden;
z-index: 5;
}

@media only screen and (max-width:720px) {
	
	.nivo-caption .wrap {
	display: none;
	}
}

@media only screen and (min-width:720px) {
	
	.nivo-caption {
	position: absolute; display: none; left: 0; top: 0; width: 100%; height: 100%;
	z-index: 6;
	}

	.nivo-caption .wrap {
	position: relative; padding: 0;
	z-index: 7;
	}

	.nivo-caption .wrap div {
	position: absolute; left: 20px; padding: 11px 30px;
	color: #fff;
	}

	.slide-title {
	height: 62px;
	background: #0083bb url('images/bg-lines.png') repeat center left;
	opacity: 1;
	}

	.change .slide-title {
	top: 0px;
	opacity: 0;
	}

	.nivo-caption .wrap .slide-buttons {
	padding: 0;
	opacity: 1;
	}

	.change .nivo-caption .wrap .slide-buttons {
	opacity: 0;	
	}

	.slide-buttons .button {
	display: inline-block; margin-right: 33px; padding: 10px 20px;
	background: rgba(255,255,255,0.9);
	color: #0083bb;
	border: 0;
	}

	.slide-buttons .button:hover {
	background: #fff;
	color: #000;
	border: 0;
	}
	
}

@media only screen and (max-width:1280px) {

	.slide-title {
	top: 20px;
	}
	
	.slide-text {	
	display: none;
	}
	
	.nivo-caption .wrap .slide-buttons {
	top: 82px;
	}
	
}

@media only screen and (min-width:1280px) {
	
	.slide-title {
	top: 40px;
	}
	
	.slide-text {
	top: 102px; height: 50px;
	background: #999 url('images/bg-lines.png') repeat center left;
	opacity: 1;
	}

	.change .slide-text {
	top: 150px;
	opacity: 0;	
	}
	
	.nivo-caption .wrap .slide-buttons {
	top: 152px;
	}
	
	.slide-buttons .button {
	margin-top: 33px;
	}

}

.nivo-html-caption {
display: none;
}

/*-----bottom links-----*/

.bottom-links {
background: #111 url('images/bg-lines-light.png') repeat center left;
}

.bottom-links h2 {
color: #fff;
}

.bottom-links a {
color: #aaa;
}

.bottom-links a:hover {
color: #fff;
}

.bottom-links a {
display: block;	
}

.bottom-links .fourth {
padding-bottom: 0;	
}

/*-----piclinks-----*/

.pic-links-bottom {
background: #333;	
}

.pic-links .third {
display: block; padding-bottom: 0; padding-top: 30px;
}

@media only screen and (min-width:500px) and (max-width:750px) {
	
	.pic-links .third:nth-of-type(3) {
	float: none; margin: auto;
	}
	
}

@media only screen and (max-width:900px) {
	
	.pic-links-bottom {
	padding-top: 10px;
	}
	
	.pic-links-bottom .pic-link {
	float: center; display: inline-block; margin: 0px 5px 0; max-width: 180px;
	}
	
}

@media only screen and (min-width:900px) {

	.pic-links-bottom .pic-link {
	float: left; width: 20%;	
	}

}

.pic-link-inner {
position: relative; background: #000; width: 100%; height: 100%;
}

.pic-link img {
width: 100%;
opacity: 1;
}

.pic-link:hover img {
opacity: 0.6;
}

.pic-link-text-wrap {
position: absolute; width: 100%; height: 100%; top: 0; left: 0; right: 0; bottom: 0; padding: 10px; text-align: center;
}

.pic-link-text-inner {
display: table; width: 100%; height: 100%;
}

.pic-link-text {
display: table-cell; vertical-align: middle; 
}

a .pic-link-text {
color: #fff;
}

/*-----gallery-----*/

.featherlight {
display: none; position:fixed; top: 0; right: 0; bottom: 0; left: 0; text-align: center;
background: #333;
background: rgba(0, 0, 0, 0);
z-index: 99999;
white-space: nowrap;
cursor: pointer;
}

.featherlight:last-of-type {
background: rgba(0, 0, 0, 0.8);
}

.featherlight:before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
margin-right: -0.25em;
}

.featherlight .featherlight-content {
position: relative;	display: inline-block; overflow: hidden; margin-left: 5%; margin-right: 5%; max-height: 95%; padding: 25px 25px 0; text-align: left; vertical-align: middle;
border-bottom: 25px solid transparent;
background: #fff;
cursor: auto;
white-space: normal;
}

.featherlight .featherlight-inner {
display: block;
}

.featherlight .featherlight-close-icon {
position: absolute; width: 25px; top: 0; right: 0; text-align: center;
z-index: 99998;
cursor: pointer;
line-height: 25px; font-family: Arial, sans-serif; background: #fff;
color: #000;
}

.featherlight .featherlight-image {
max-width: 100%; max-height: 100%;
}

.featherlight-iframe .featherlight-content {
padding: 0;
border-bottom: 0;
}

.featherlight iframe {
border: none;
}

.featherlight-loading .featherlight-content {
width: 50px; height: 50px; padding: 0;
background: #fff url('images/loading.gif') no-repeat center 10px;
background-size: 30px 30px;
}

.featherlight-loading .featherlight-previous, .featherlight-loading .featherlight-next, .featherlight-loading .featherlight-close-icon {
display:none;
}

.featherlight-next, .featherlight-previous {
display: block; position: absolute; top: 25px; right: 25px; bottom: 0; left: 90%;
background-repeat: no-repeat;
background-position: center center;
background-size: 70% auto;
opacity: 0.6;
cursor: pointer;
}

.featherlight-next:hover, .featherlight-previous:hover {
opacity: 1;	
}

.featherlight-previous {
left: 25px; right: 90%;
background-image: url('images/left.png');
}

.featherlight-next {
background-image: url('images/right.png');
}

.featherlight-next span, .featherlight-previous span {
display: none;
}

.featherlight-iframe .featherlight-content {
position: relative; padding: 30px 0 56.25% 0; overflow: hidden;	margin: 40px 0 20px; width: 70%; height: 0;	vertical-align: top; background: transparent;
}
	
.featherlight-iframe .featherlight-content iframe,
.featherlight-iframe .featherlight-content object,
.featherlight-iframe .featherlight-content embed {
position: absolute; top: 0; left: 0; right: 0; width: 100%; height: 80%;
}

/*-----galerie slider-----*/

.main.photos {
background: #0083bb;
}

.single .main.photos {
margin-top: 30px;	
}

.gallery-blocks {
position: relative;	
}

.gallery-blocks .gallery-pics {
position: relative; overflow: hidden;
}

.gallery-block {
display: none;
}

.center-block, .left-block, .right-block {
display: block;
}

.center-block {
position: static;
}

.left-block, .right-block {
position: absolute; top: 0; width: 100%;
}

.left-block {
position: absolute; left: -100%;
}

.right-block {
position: absolute; right: -100%;
}

.blocks-dir {
display: block; position: absolute;
background-repeat: no-repeat;
background-position: center center;
cursor: pointer;
}

.blocks-dir-left {
background-image: url('images/left-slide-gal.png');
}

.blocks-dir-right {
background-image: url('images/right-slide-gal.png');
}

.gallery-pics .third {
padding-bottom: 0;	
}

@media only screen and (max-width:1170px) {

	.gallery-pics .third, .gallery-pics .third:nth-of-type(odd), .gallery-pics .third:nth-of-type(even) {
	width: 33.3%; float: left; clear: none; padding: 0;
	}

	.gallery-pics .third:nth-of-type(3n+1) {
	clear: both; padding-right: 14px;
	}

	.gallery-pics .third:nth-of-type(3n+2) {
	padding-left: 7px; padding-right: 7px;
	}

	.gallery-pics .third:nth-of-type(3n) {
	padding-left: 14px;
	}

}

.gallery-pics a img {
opacity: 1;	
}

.gallery-pics a img:hover {
opacity: 0.8;	
}

@media only screen and (max-width:1170px) {

	.blocks-dir {
	width: 25px; height: 50px; top: 0;
	background-size: 60% 60%;
	background-color: #ddd;
	}

	.blocks-dir-left {
	left: 20px;
	}

	.blocks-dir-right {
	right: 21px;
	}
	
}


@media only screen and (min-width:1170px) {
	
	.blocks-dir {
	width: 40px; height: 80px; top: 50%; margin-top: -40px;
	background-size: 100% auto;
	opacity: 1;
	}
		
	.blocks-dir:hover {
	opacity: 0.6;
	}

	.blocks-dir-left {
	left: -50px;
	}

	.blocks-dir-right {
	right: -50px;
	}
	
}

.gallery-block.move-out {
opacity: 0;	
}

.left-block.move-to-center {
left: 0;
}

.right-block.move-to-center {
right: 0;
}

/*-----partners-----*/

.partner {
width: 33.3%; display: inline-block; padding-top: 21px; vertical-align: middle;
}

.partner:nth-of-type(3n+1) {
text-align: left; padding-right: 14px;
}

.partner:nth-of-type(3n+2) {
text-align: center; padding-left: 7px; padding-right: 7px;
}

.partner:nth-of-type(3n) {
text-align: right; padding-left: 14px;
}

.partner img {
display: inline-block; width: 200px;
}

/*-----video-----*/

.video-wrapper {
background: #222; padding-bottom: 20px;
}

.video-wrapper .full {
padding-bottom: 30px;	
}

.video {
position: relative; width: 100%; height: 0; padding-bottom: 56.25%; padding-top: 30px; overflow: hidden;
}

.video iframe, .video object, .video embed {
position: absolute; top: 0; left: 0; right: 0; width: 100%; height: 100%;
}

/*-----footer-----*/

.prefooter, .footer, .footer a {
color: #fff;	
}

.prefooter {
background: #222;
}

.prefooter a:hover {
color: #999;
}

.prefooter .content {
padding-top: 50px; padding-bottom: 30px;
}

.half.main-office:nth-of-type(odd) {
width: 33.3%;
}

.prefooter .half.footer-content {
float: right; text-align: right;
}

.prefoot-top {
margin-bottom: 30px;
border-bottom: 1px #444 solid;
}

.footer {
padding-top: 15px; padding-bottom: 15px;
background-color: #111;
}

.footer p {
margin: 0;
}

.footer a:hover {
color: #aaa;
}

.foot.socnet div {
width: 20px; height: 20px;
}

@media only screen and (max-width:700px) {
	
	.foot.left, .foot.right {
	float: none;
	}
	
	.foot.left {
	margin: 5px 0 5px;	
	}
	
	.foot.socnet div {
	float: none; display: inline-block; margin: 5px 5px 0;
	}
	
	.foot.terms {
	margin-top: 5px;	
	}
	
}

@media only screen and (min-width:700px) {
		
	.foot.socnet div {
	display: block; float: right; margin-left: 10px; margin-bottom: 0;
	}
	
}

/*-----OSTATNI-----*/

/*-----efekty gradient radius -----*/

.homemenu, .hometheme-pic, .homesocial, .homesections-row {
opacity: 1;	
}

.showmenu .homemenu, .showmenu .hometheme-pic, .showmenu .homesocial {
opacity: 0;	
}

.news-thumb img, .gallery-pics a img, .pic-link img, .blocks-dir {
-webkit-backface-visibility: hidden;	
}

@media only screen and (min-width:700px) {
	
	.homesections-row.init {
	opacity: 0;	 
	}

	.homesections-row.init h2 {
	background-image: none;
	}

	.init .homesection:nth-of-type(odd) h2 {
	padding-right: 0;
	}

	.init .homesection:nth-of-type(even) h2 {
	padding-left: 0;
	}
	
}

a, .header, .logo img, .hamburger, .hamburger div, .head-icon, .navmenu li ul, .iframe-wrap, .showmenu.homemenu, .showmenu.hometheme-pic, .showmenu.homesocial, .outer-dark, .homemenu li, .homemenu-item-border, .socnet div, .news-thumb img,
.nivoSlider, .nivo-caption .wrap div, .pic-link img, .gallery-pics a img, .featherlight-next, .featherlight-previous, .blocks-dir, input[type=submit] {
-webkit-transition: all 0.4s ease;
-moz-transition: all 0.4s ease;
-ms-transition: all 0.4s ease;
-o-transition: all 0.4s ease;
transition: all 0.4s ease;
}

.navmenu, .homesections-row, .homesections-row h2, .heading-1 h1, .subpage-menu {
-webkit-transition: all 1s ease;
-moz-transition: all 1s ease;
-ms-transition: all 1s ease;
-o-transition: all 1s ease;
transition: all 1s ease;
}

.gallery-block {
-webkit-transition: left 1s ease, right 1s ease, opacity 0.5s ease;
-moz-transition: left 1s ease, right 1s ease, opacity 0.5s ease;
-ms-transition: left 1s ease, right 1s ease, opacity 0.5s ease;
-o-transition: left 1s ease, right 1s ease, opacity 0.5s ease;
transition: left 1s ease, right 1s ease, opacity 0.5s ease;
}

.radius_0, input, select, textarea {
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
-ms-border-radius: 0px;
-o-border-radius: 0px;
border-radius: 0px;
}

/*-----float cleaner-----*/

.float_in:before, .float_in:after {
content:"";
display:table;
}

.float_in {
zoom:1; /* For IE 6/7 (trigger hasLayout) */
}

.float_in:after {
clear:both;
}

/*-----colorsets------*/

/*---green-yellow---*/

.green-yellow .heading-1, .green-yellow .slide-text, .green-yellow .homesections, .green-yellow .main.photos {
background-color: #4e9e00;
}

.green-yellow .slide-title {
background-color: #f3a000;
}

.green-yellow .subpage-menu a:hover, .green-yellow .news-mini h2, .green-yellow .newsbox .news-title {
color: #f3a000;	
}

.green-yellow .subpage-menu a.child-link:hover {
color: #fff;	
}

.green-yellow .subpage-menu a.child-link.active, .green-yellow h1, .green-yellow .newsbox .readmore {
color: #4e9e00;
}

.green-yellow .subpage-menu a.child-link.active:hover {
color: #fff;	
}

.green-yellow .news-date {
background: rgba(243,160,0,0.9);
color: #fff;
}

.green-yellow .button {
border: 1px #4e9e00 solid;
background: #4e9e00;
color: #fff;
}

.green-yellow .button:hover {
background: transparent;
color: #4e9e00;
}

.green-yellow .slide-buttons .button {
background: rgba(255,255,255,0.9);
color: #4e9e00;
border: 0;
}

.green-yellow .slide-buttons .button:hover {
background: #fff;
color: #000;
border: 0;
}

/*---blue-black---*/

.blue-black .slide-title {
background: #222;
}

.blue-black .slide-text {
background: #0083bb;
}

/*---black-yellow---*/

.black-yellow .heading-1, .black-yellow .slide-title, .black-yellow .homesections, .black-yellow .main.photos {
background-color: #b99901;
}

.black-yellow .slide-title {
background: #222;
}

.black-yellow .slide-text {
background: #b99901;
}

.black-yellow .subpage-menu a.child-link.active, .black-yellow .newsbox .readmore {
color: #b99901;
}

.black-yellow .subpage-menu a.child-link.active:hover {
color: #fff;	
}

.black-yellow .button {
border: 1px #b99901 solid;
background: #b99901;
color: #fff;
}

.black-yellow .button:hover {
background: transparent;
color: #b99901;
}

.black-yellow .slide-buttons .button {
background: rgba(255,255,255,0.9);
color: #b99901;
border: 0;
}

.black-yellow .slide-buttons .button:hover {
background: #fff;
color: #000;
border: 0;
}

/*---blue-grey---*/

.blue-grey .heading-1, .blue-grey .slide-text {
background-color: #757575;
}

.blue-grey h1, .blue-grey .news-mini h2 {
color: #757575;
}

.blue-grey .button {
border: 1px #757575 solid;
background: #757575;
color: #fff;
}

.blue-grey .button:hover {
background: transparent;
color: #757575;
}

.blue-grey .slide-buttons .button {
background: rgba(255,255,255,0.9);
color: #0083bb;
border: 0;
}

.blue-grey .slide-buttons .button:hover {
background: #fff;
color: #000;
border: 0;
}

/*---black-grey---*/

.black-grey .heading-1, .black-grey .slide-text {
background-color: #222;
}

.black-grey .slide-title, .black-grey .homesections, .black-grey .main.photos {
background-color: #757575;
}

.black-grey h1 {
color: #222;	
}

.black-grey .subpage-menu a:hover {
color: #999;
}

.black-grey .subpage-menu a.child-link.active, .black-grey .subpage-menu a.child-link:hover {
color: #fff;	
}

.black-grey .newsbox .readmore {
color: #757575;
}

.black-grey .button {
border: 1px #222 solid;
background: #222;
color: #fff;
}

.black-grey .button:hover {
background: transparent;
color: #222;
}

.black-grey .slide-buttons .button {
background: rgba(255,255,255,0.9);
color: #757575;
border: 0;
}

.black-grey .slide-buttons .button:hover {
background: #fff;
color: #000;
border: 0;
}

/*---green-grey---*/

.green-grey .heading-1, .green-grey .slide-text {
background-color: #757575;
}

.green-grey .slide-title, .green-grey .homesections, .green-grey .main.photos {
background-color: #4e9e00;
}

.green-grey h1, .green-grey .news-mini h2 {
color: #4e9e00;
}

.green-grey .button {
border: 1px #4e9e00 solid;
background: #4e9e00;
color: #fff;
}

.green-grey .button:hover {
background: transparent;
color: #4e9e00;
}

.green-grey .slide-buttons .button {
background: rgba(255,255,255,0.9);
color: #4e9e00;
border: 0;
}

.green-grey .slide-buttons .button:hover {
background: #fff;
color: #000;
border: 0;
}

/*-----gdpr-----*/

.gdpr-bar {
position: fixed; width: 100%; left: 0; right: 0; padding: 10px; text-align: center;
background: #f3f3f3;
border-top: 1px #ddd solid;
z-index: 99999;
}

.gdpr-bar-bottom {
bottom: 0; 
}

.gdpr-bar-top {
top: 0; 
}

body .gdpr-bar p, body .gdpr-bar a, body .gdpr-bar form, body .gdpr-bar input[type=submit] {
margin: 0; padding: 0;
font-size: 16px;
line-height: 22px;
color: #000;
border: 0;
}

body .gdpr-bar p {
display: block; width: 100%; height: auto;
}

body .gdpr-bar a {
display: inline;
text-decoration: underline;
font-weight: bold;
}

body .gdpr-bar a:hover {
text-decoration: none;
}

body .gdpr-bar input[type=submit] {
display: inline-block; margin-top: 10px; padding: 5px 10px;
/*border: 1px #c94b32 solid;
background: #c94b32;*/
color: #fff;
cursor: pointer;
transition: color 0.5s ease, background 0.5s ease, border-color 0.5s ease;
}

body .gdpr-bar input[type=submit]:hover {
/*background: #000;*/
color: #000;
/*border-color: #fff;*/
}

body input[type=submit].gdpr-page-button {
text-align: center;
white-space: normal;
line-height: 1.5em;	
}

/*-----popup-----*/

.popup-container, .popup-outer {
width: 100%; height: 100%; top: 0; left: 0; right: 0; bottom: 0;
}

.popup-container {
position: absolute; padding: 30px;
z-index: 99997;
}

.popup-window {
position: relative; max-width: 600px; margin-top: 50px; margin-left: auto; margin-right: auto; padding: 30px;
background: #fff;
border: 1px #ddd solid;
z-index: 99999;
}

.popup-outer {
position: fixed;
background: rgba(0,0,0,0.7);
z-index: 99998;
}

.popup-window .button {
margin-top: 30px;	
}