BODY {
	overflow-x:hidden;
	font-family: 'Raleway', sans-serif;
}
/*#mainHolder {
	width: 100vw;
}*/
.max-width {
	max-width: 1200px;
	margin-left:auto;
	margin-right:auto;
}
#full-menu {
	display: none;
}
#header-holder {
	background-color: white;
	transition: 250ms ease-in-out;
	font-family: 'Roboto', sans-serif;
}
.page-scrolled #header-holder {
	background: #fefefee6;
	transition: 250ms ease-in-out;
	border-bottom: solid 1px #fee4ff;
	box-shadow: 0 2px 4px 0 rgba(0,0,0,0.3);
}
#header-holder:hover {
	background:white!important;
	transition: 500ms ease-in-out;
}
#header {
	height: 260px;
	background: white;
	transition: 150ms ease-in-out;
}
.page-scrolled #header {
	height: 100px!important;
	transition: 150ms ease-in-out;
	background:transparent;
}
#header-content {
	transition: 150ms ease-in-out;
	display: flex;
    height: 180px;
    align-items: center;
}
.page-scrolled #header-content {
	height: 100px;
	transition: 150ms ease-in-out;
}
.header-content-col {
	display: flex;
}
#header-content-col-2 {
	justify-content: flex-end;
	align-items: center;
}
#header-content-col-1 A {
	display: block;
}
#content {
	/* odsazeni jako vyska headeru */
	margin-top: 260px; 
	transition: 250ms ease-in-out;
}
BODY:not(#page-1) #content {
	margin-top: 180px;
	transition: 150ms ease-in-out;
}
BODY:not(#page-1) #header {
	height:180px;
	transition: 150ms ease-in-out;
}
.page-scrolled #content {
	margin-top: 100px; 
	transition: 250ms ease-in-out;
}

.main-menu-homepage SPAN {
	display: none!important;
}
#main-menu .flex-wrapper {
	display:none;
}
#main-menu UL {
	display: flex;
    justify-content: flex-end;
}
#main-menu LI A:hover,
#main-menu LI A:focus,
#main-menu LI A:active {
	background:none;
}
#main-menu A {
	text-transform: uppercase;
	font-size:14px;
	color:#004171;
}
#main-menu LI.active A {
	background:none;
}
#main-menu-tel A {
	background: #881f04;
    border-radius: 100px;
    height: 29px;
    display: block;
    line-height: 0;
    color: white;
	padding-left:15px;
	padding-right:15px;
	transition: 500ms all;
	position: relative;
	top:6px;
}
#main-menu-tel {
	margin-left:15px;
}
#main-menu-tel IMG {
	position: relative;
	top:-2px;
	margin-right: 10px;
}
#main-menu-tel A:hover,
#main-menu-tel A:focus,
#main-menu-tel A:active {
	background: #ca3029!important;
	transition: 300ms all;
}
#main-menu-fb {
	position: relative;
	top:-1px;
}
.main-menu-homepage A {
	position: relative;
	top:-2px;
}


.logo {
	display: block;
}

.header {
	display: flex;
	height: 185px;
	transition: 150ms ease-in-out;
	justify-content: space-between;	
	align-items: center;
}
.header-controls {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	height: 100%;
}

.langs {
	text-transform: uppercase;
	font-size: 14px;
	list-style: none;
	margin-bottom:0;
	padding-left:40px;
}
.langs LI {
	display: block;
	float: left;
}
.langs LI:not(:last-of-type)::after {
	content:'|';
	margin-left:7px;
	margin-right:7px;
	color:#afbec9;
	padding-left:0;
}
.langs A {
	display: inline-block;
	color:#afbec9;
	padding-top:10px;
	padding-bottom:10px;
}
.langs .active A {
	color:#afbec9;
}

#header .menu-toggle,
#full-menu .menu-toggle {
	height: 16px;
	width:25px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	cursor: pointer;
	margin-left:15px;
	margin-right:35px;
	background:none;
	border:none;
	display: none;
}
#header .menu-toggle .icon-bar,
#full-menu .menu-toggle .icon-bar {
	width:100%;
	height:2px;
	background:#0c3387;
}


#back-to-top {
    position: fixed; 
    bottom: 20px; 
    right: 30px; 
    z-index: 99; 
    border: none; 
    outline: none; 
    background-color: #0c3387; 
    color: white; 
    cursor: pointer; 
    padding: 15px; 
    border-radius: 50px; 
	opacity:0;
	transition: 450ms;
	-webkit-transform: rotate(0);
	-moz-transform: rotate(0);
	transform: rotate(0);
	line-height:0;
}
#back-to-top.shown {
	opacity:0.7;
}
#back-to-top.shown:hover {
    opacity:1; 
	-webkit-transform: rotate(0);
	-moz-transform: rotate(0);
	transform: rotate(0);
	transition: 450ms;
}
#back-to-top .glyphicon {
	color:white;
	position:relative;
	top:-1px;
}

.header-controls-xs {
	display: none;
}

#footer {
	padding-top:85px;
	padding-bottom:60px;
	background: #074c6c; /* Old browsers */
	background: -moz-linear-gradient(top,  #074c6c 0%, #1b415a 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #074c6c 0%,#1b415a 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #074c6c 0%,#1b415a 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#074c6c', endColorstr='#1b415a',GradientType=0 ); /* IE6-9 */
}
#footer UL {
	padding-left: 0;
	padding-right: 0;
	margin-bottom: 0;
}
#footer UL LI {
	list-style: none;
}
#footer UL LI A {
	display: block;
	text-decoration: none;
	color:white;
}
#footer UL LI A:hover,
#footer UL LI A:active,
#footer UL LI A:focus {
	text-decoration: underline;
}
#footer UL LI A.active {
	text-decoration: underline;
}
#footer UL LI A SPAN {
	text-transform: uppercase;
	display: block;
	padding-top: 5px;
	padding-bottom: 5px;
}

#footer-copyright {
	padding-top:30px;
	padding-bottom: 30px;
	background: #1c465f;
	color:#678492;
	font-size: 12px;
	line-height: 20px;
}
#footer-copyright A {
	color:white;
	text-decoration: none;
}
#footer-copyright A:hover,
#footer-copyright A:focus,
#footer-copyright A:active {
	text-decoration: underline;
}


@media(max-width:1199px) {
	#header,
	#header-content {
		height:180px;
	}
	#content {
		margin-top: 180px;
	}
	.main-menu-homepage {
		display:none!important;
	}
	#main-menu LI[class^="tag-low-priority"] {
		display: none;
	}
	#header .menu-toggle {
		display: flex;
	}
	.main-menu-homepage SPAN {
		display:block!important;
	}
	.menu-opened {
		overflow-y: hidden;
	}
	.header-controls-xs .menu-toggle-xs:active, 
	.header-controls-xs .menu-toggle-xs:hover, 
	.header-controls-xs .menu-toggle-xs:focus,
	.header-controls-xs .menu-toggle:active, 
	.header-controls-xs .menu-toggle:hover, 
	.header-controls-xs .menu-toggle:focus {
		outline:none;
	}
	#full-menu {
		display: block;
		position: fixed;
		z-index: 10000;
		top:0;
		width:100vw;
		height:0;
		opacity:0;
		transition: all 400ms ease-in;
		overflow:hidden;
		background: #002e50;
		font-family: 'Roboto', sans-serif;
	}
	.full-menu-head {
		height: 100px;
		display:flex;
		align-items:center;
		justify-content:space-between;
		background:white;
		padding-left:15px;
		padding-right:15px;
	}
	#full-menu .header-controls-xs {
		display: flex;
		align-items: center;
	}
	#full-menu .menu-toggle  {
		display:flex;
		width:30px;
		height:30px;
	}
	#full-menu .menu-toggle .icon-bar:first-of-type {
		transform: rotateY(0deg) rotate(45deg);
		width:30px;
		position:relative;
		top:14px;
	}
	#full-menu .menu-toggle .icon-bar:last-of-type {
		transform: rotateY(0deg) rotate(135deg);
		width:30px;
		position:relative;
		top:-12px;
	}
	#full-menu .langs A {
		color:#afbec9;
	}
	#full-menu UL {
		display:block;
	}
	#full-menu .nav LI {
		float:none;
		text-align:center;
	}
	.menu-opened #full-menu {
		width:100vw;
		height:100vh;
		opacity:1;
		transition: all 200ms ease-in;
	}
	#full-menu .main-menu-homepage {
		display: block!important;
	}
	#full-menu .main-menu-homepage IMG {
		display: none!important;
	}
	#full-menu UL:not(.langs) {
		padding-top:30px;
	}
	#full-menu A {
		color:white;
		text-transform: uppercase
	}
	#full-menu UL:not(.langs) LI:not(:first-of-type):not(.flex-wrapper) {
		border-top: solid 1px #b4bec4;
	}
	#full-menu LI A {
		color: #ffffff;
	}
	#full-menu LI A:hover,
	#full-menu LI A:focus,
	#full-menu LI A:active {
		background:none;
	}
	#full-menu LI:not(.flex-wrapper) A {
		padding-top:20px;
		padding-bottom:20px;
	}
	.langs {
		padding-left:0;
	}
}
@media(max-width:1010px) {
	#header .menu-toggle {
		margin-left:10px;
		margin-right:35px;
	}
}
@media(max-width:991px) {
	#header {
		width: 100vw;
		margin-left: calc(-1 * ((100vw - 100%) / 2));
		padding: 0 15px 0 15px;
	}
	#header-content-col-1 {
		max-width: 260px;
		padding-left: 25px;
	}
	#header-content-col-2 {
		width:100%;
	}
	#main-menu UL {
		flex-wrap: wrap;
	}
	
	#header .menu-toggle {
		width:35px;
		margin-left:35px;
	}
	
}

@media (max-width:767px) {
	#header,
	#header-content,
	BODY:not(#page-1) #header {
		height:80px;
	}
	.page-scrolled #header,
	.page-scrolled #header-content,
	BODY:not(#page-1) #header {
		height:80px!important;
	}
	#header-content::before,
	#header-content::after {
		display:none;
	}
	.header-controls-xs {
		display: flex;
		align-items: center;
		width: auto;
	}
	.header-controls-xs .langs {
		width:70px;
	}
	.header-controls-xs .menu-toggle-xs {
		margin-left:35px;
		z-index: 10001;
		padding:0;
	}
	
	#full-menu LI A {
		text-align: left;
		padding-left:45px;
	}
	
	#header-content {
		justify-content: space-between;
	}
	#header-content-col-1 {
		max-width: 200px;
	}
	.menu-toggle-xs .icon-bar {
		width: 30px!important;
	}
	#full-menu { 
		margin-top:80px;
	}
	#full-menu .full-menu-head {
		display:none;
	}
	.menu-opened #full-menu {
		height:calc(100vh - 80px);
	}
	
	#header-content-col-2 {
		display:none;
	}
	#content,
	BODY:not(#page-1) #content {
		margin-top: 80px;
	}
	
	#footer {
		text-align: center;
	}
	.footer-menu-holder {
		margin-top:35px;
	}
	
}
@media (max-width:500px) {
	#header .menu-toggle {
		margin-left:15px;
		margin-right:25px;
	}
	.header-controls-xs .langs {
		width: 60px;
	}
}