/*
  Styly pro vzhled webu.
*/

BODY {
	overflow-x:hidden;
	font-family: 'IBM Plex Sans', sans-serif;
}



#mainMenu {
	border:none;
	margin-bottom:0px;
	margin-top:20px;
}
#mainMenu .navbar-default {
	border:none;
	background:none;
}
#mainMenu UL {
	padding:0;
}
#mainMenu A {
	color: black;
	border-radius: 0 !important;	
	font-size:14px;
	font-weight:400;
	padding: 14px 10px;
	transition: 150ms ease;
	margin-right:20px;
	text-transform: uppercase;
}
#mainMenu LI:last-of-type>A {
	margin-right:0;
}
#mainMenu .active A {
	color:#0066cc;
	background: none!important;
}
#mainMenu .active A:hover {
	background: none;
}
#mainMenu A:focus,
#mainMenu A:hover {
	color:#0066cc!important;
	background: none;
}
#mainMenu .navbar-toggle {
	border:none;
	font-size: 16px;
	/*font-weight: bold;*/
	line-height: 1.25;
	color: #156ec0;
	margin-bottom:0;
	margin-top:-2px;
	float:none;
	background: rgba(255,255,255,0.55);
	border-radius: 0;
	z-index:1000;
}
#mainMenu .navbar-toggle .icon-bars, #mainMenu .navbar-toggle .glyphicon.glyphicon-remove {
	float:left;
	margin-right:7px;
	position: relative;
    top: 1px;
}
#mainMenu .navbar-toggle .glyphicon.glyphicon-remove {
	top:3px;
}
#mainMenu .navbar-toggle .icon-bar {
	height:3px;
	background-color: #156ec0;
}
#mainMenu .active A:hover {
	background-color: #eee;
}
#mainMenu .dropdown-menu {
	display:block;
	opacity: 0;
	max-height: 20px;
	overflow: hidden;
	transition: 150ms ease;
	border:none;
	min-width:00px;
	margin-top:-1px;
	background-color: white;
	border-radius: 0;
	border: solid 1px #e1e1e1;
	padding-top: 4px;
	padding-bottom: 3px;
	-webkit-box-shadow: 6px 6px 5px 0px rgba(0,0,0,0.16);
	-moz-box-shadow: 6px 6px 5px 0px rgba(0,0,0,0.16);
	box-shadow: 6px 6px 5px 0px rgba(0,0,0,0.16);
}
#mainMenu .has-dropdown:hover .dropdown-menu {
	opacity: 1;
	max-height: 400px;
	overflow: visible;
	transition: 150ms ease;
	min-width: 230px;
}
#mainMenu .has-dropdown.tag-dropdown-menu-stav-ovzdusi:hover .dropdown-menu {
	right:0;
	left:auto;
}
#mainMenu .has-dropdown:not(.tag-dropdown-menu-stav-ovzdusi)::after {
    content: ">";
    font-size: 20px;
    position: absolute;
    margin-top: 1px;
    top: 10px;
    right: 7px;
    transform: scale(0.67,0.40) rotate(90deg);
    color: #0066cc;
}

#mainMenu .dropdown-menu A {
	padding:9px 0px;
	color:#050505;
	font-weight:400;
	text-transform: none;
	margin: 0px 20px;
}
#mainMenu .dropdown-menu .active A {
	border:none;
}
#mainMenu .dropdown-menu LI {
	background:white;
}
#mainMenu .dropdown-menu LI:first-of-type A {
	padding-top:17px;
}
#mainMenu .dropdown-menu LI:last-of-type A {
	border-bottom: none;
	padding-bottom: 20px;
}
#mainMenu .dropdown-menu LI:hover,
#mainMenu .dropdown-menu LI:focus,
#mainMenu .dropdown-menu LI:active {
	background: none;
}

.tag-dropdown-menu-stav-ovzdusi {
	background: #ffd83e;
	border-radius:100px;
	padding-left:30px;
	padding-right:30px;
}
#mainMenu .tag-dropdown-menu-stav-ovzdusi A:hover,
#mainMenu .tag-dropdown-menu-stav-ovzdusi A:focus,
#mainMenu .tag-dropdown-menu-stav-ovzdusi A:active {
	color:black!important;
	text-decoration: underline;
} 
#mainMenu .tag-dropdown-menu-stav-ovzdusi.active A {
	color:black!important;
	font-weight: bold;
} 


.logo {
	display: block;
}

.header {
	display: flex;
	height: 185px;
	justify-content: space-between;	
	align-items: center;
}
.header-controls {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	height: 100%;
}

.header-controls .lang {
	
}

.langs {
	text-transform: uppercase;
	font-size: 12px;
	list-style: none;
	margin-top: 30px;
}
.langs LI {
	display: inline-block;
}
.langs LI:not(:last-of-type)::after {
	content:'|';
	margin-left:13px;
	margin-right:13px;
	color:#b7b7b7;
}
.langs A {
	color:#b7b7b7;
}
.langs .active A {
	color:#5b5b5b;
}

#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;
}


/**
* Lokální topeniště - START
*/

.sources-of-pollution-text {
	margin-bottom: 30px;
	text-align: center;
}

.sources-of-pollution-text P {
	font-style: italic;
}

.sources-of-pollution-list {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-content: center;
}

.sources-of-pollution-list .item {
	background-color: #fff;
	margin-left: 24px;
}

.sources-of-pollution-list .item:first-child{
	margin-left: 0;
}

.sources-of-pollution-list .item A {
	color: inherit;
	text-decoration: none;
}

.sources-of-pollution-list .item A IMG {
	margin: 0 auto;
}

.sources-of-pollution-list .item .text {
	text-align: center;
	font-size: 20px;
	font-weight: 700;
	background-color: #fff;
	padding-top: 20px;
	padding-bottom: 30px;
}

.portfolio-modal .modal-body IMG {
	display: block;
	margin: 0 auto;
}

.portfolio-modal .close-modal {
	width: 3rem;
	height: 3rem;
	cursor: pointer;
	background-color: transparent;
	position: fixed;
	right: 20px;
	z-index: 100;
	top: 10px;
}


.portfolio-modal .close-modal:hover
{
  opacity: 0.3;
}

#content .modal-body H2 {
	color: #000000;
	margin-top: 50px;
}


/**
* Lokální topeniště - END
*/

#footer {
	background:#003d8a;
	padding-top: 10px; 
	padding-bottom: 10px;
	text-align: center;
}
#footermnu {
	display: flex;
	justify-content: center;
	margin-top: 15px;
	padding: 0;
}
#footermnu LI {
	list-style: none;
	display: flex;
	align-items: center;
	background:none!important;
	padding: 0;
}
#footermnu LI A {
	color:white;
	padding:15px 25px;;
	text-transform: uppercase;
	display: block;
}

.footer-text {
	margin-top:35px;
}
.footer-text,
.footer-text P,
.footer-text A {
	color: white;
	font-size:16px;
	line-height: 25px;
}
.footer-text A:hover,
.footer-text A:active,
.footer-text A:focus {
	color:white;
}

.footer-share {
	display: flex;
	justify-content: center;
	margin-top:30px;
}
.footer-share A {
	display:inline-block;
	margin-right:10px;
	margin-left:10px;
}

.footer-copyright {
	margin-top:40px;
	margin-bottom:15px;
}
.footer-copyright P,
.footer-copyright A {
	color:#cccccc;
	font-size: 12px;
	line-height: 19px;
}





@media (max-width:991px) {
	.header {
		height:100px;
	}
	
	.navbar-toggle {
		position:fixed;
		top: 28px;
		right: 0;
		width:110px;
		margin:15px;
	}
	.navbar-toggle.in {
		background: #286090 !important;
		color: white !important;
		height: 75px;
		margin-top:-21px!important;
		margin-right:10px !important;
		margin-bottom: -32px !important;
		right: -38px;
		width: 258px;
		padding-left:31px;
		transition: background 400ms;
	}
	.navbar-collapse.collapse:not(.in) {
		display:none!important;
	}
	#navbar.navbar-collapse {
		position: fixed;
		top: 80px;
		right: 0px;
		z-index: 10000;
		width: 230px;
		height: 100%!important;
		background:#337ab7;
		padding-left:24px !important;
	}
	.menuOpened {
		display:none;
	}
	#mainMenu BUTTON {
		margin-top: 103px; 
	}
	#mainMenu LI {
		float:none;
		width:auto;
		border-top: dotted 1px rgba(255,255,255,0.4);
	}
	#mainMenu LI.active {
		float:none;
		width:auto;
		/*border-bottom: dotted 1px rgba(255,255,255,0.4);*/
	}
	#mainMenu li:first-of-type {
		border:none;
	}
	.tag-dropdown-menu-stav-ovzdusi {
		border-radius: 0;
		padding-left: 0;
		background: none;
	}
	.tag-dropdown-menu-stav-ovzdusi A {
		color: #ffd83e!important;
		font-weight: bold!important;
	}
	#mainMenu li A {
		font-weight:400;
		color:white;
		padding:14px 0px 14px 8px;
		font-size:16px;
	}
	#mainMenu .active A {
		background:none;
		color:white;
		font-weight: 400;
	}
	#mainMenu .dropdown-menu {
		/*display:block;*/
		display:none;
		opacity: 1;
		background:none;
		position:relative;
		box-shadow: none;
		margin-bottom:10px;
	}
	#mainMenu .has-dropdown>A {
		/*display: none;*/
	}
	#mainMenu A:hover {
		background:none!important;
	}
	#mainMenu .dropdown-menu:hover {
		background:none;
	}
	#mainMenu .dropdown-menu A {
		border:none;
		padding:15px 8px 15px 8px;
	}
	#mainMenu .dropdown-menu LI:last-of-type A {
		margin-bottom: 10px;
	}
	#mainMenu LI:hover,
	#mainMenu LI:focus,
	#mainMenu LI:active,
	#mainMenu LI.active {
		background: none!important;
	}
	#mainMenu LI:hover>A,
	#mainMenu LI:focus>A,
	#mainMenu LI:active>A,
	#mainMenu LI.active>A {
		font-weight: 700;
		color:#ffd83e!important;
	}
	#mainMenu .tag-dropdown-menu-stav-ovzdusi.active A {
		color:#ffd83e!important;
	}
	
	#mainMenu .langs LI {
		border:none;
	}
	#mainMenu .langs LI::after {
		display:none;
	}
	#mainMenu .langs LI.active A {
		border-radius: 100px!important;
		background:#4a91ce!important;
		padding:10px;
	}
	
	#header-links {
		margin-right: 135px;
	}

	.sources-of-pollution-list {
		display: block;
	}

	.sources-of-pollution-list .item:nth-child(2) {
		margin-left: 24px;
	}

	.sources-of-pollution-list .item:last-child {
		margin-top: 24px;
		margin-left: 0;
	}

	
	.footermnu A {
		padding:15px!important;
	}
	
}


@media (max-width:767px) {
	#navbar.navbar-collapse {
		top:70px;
	}
	#mainMenu .active A {
		background:none;
	}
	.navbar-toggle {
		top: 28px;
	}

	.sources-of-pollution-list .item:nth-child(2) {
		margin-left: 0;
	}

	.sources-of-pollution-list .item {
		margin-top: 24px;
	}


	#footermnu {
		flex-direction: column;
		align-items: center;
	}
	
}