/* Common */
body {
	color: #444;
	background-color: #F2F2F2;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	padding-top: 42px;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	font-family: 'Roboto Slab', serif;
	margin-bottom: 20px;
}
a {
	color: #444;
	text-decoration: none;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}
a:hover {
	color: #57AD68;
	text-decoration: none;
}

/* Bootstrap Dropdown on Hover */
.dropdown-item {
	font-size: 14px;
}
.navbar-brand {
	font-family: 'Roboto Slab', serif;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:hover {
	color: rgba(255,255,255,1);
}
.navbar-dark .navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-dark .navbar-toggler {
	color: rgba(255,255,255,1);
	border-color: rgba(255,255,255,1);
}

.card-header {
	padding: 0.5rem 1rem;
}

.card-header,
.navbar,
.btn {
	-webkit-box-shadow: inset 0 1px 1px rgba(255,255,255,0.2);
	box-shadow: inset 0 1px 1px rgba(255,255,255,0.2);
}
.navbar-brand,
.nav-link {
	/*text-shadow: 0 1px 1px rgba(0,0,0,0.8);*/
}
.navbar {
	width: 100%;
	padding: 0 15px;
}


.dropdown-toggle-vms {
	display: none;
}
@media (max-width: 767px) {
	.navbar-brand {
		font-size: 14px;
	}
	.dropdown-toggle::after {
		content: none;
	}
	.navbar {
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		z-index: 1030;
	}
	.dropdown-toggle-vms {
		display: initial;
		width: 40px;
		margin: 3px 0;
		padding: 4px 0;
		background: #439f55;
		border: 1px solid #428a50;
		float: right;
		text-align: center;
		color: #fff !important;
	}
}


/* Footer */
.footer-bottom {
	background-color: #333333;
	padding: 5px 0;
}


/* Slick carousel */
.slick-slide {
	display: table !important;
}
.slick-images-wrapper {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}
.slick-slide img {
	display: initial;
	max-width: 100%;
	padding: 5px;
}
.slick-slide {
	height: 300px !important;
}
.slick-slide-1-image img {
	max-height: 300px;
}
.slick-slide-2-images img {
	max-height: 150px;
}
.slick-prev:before, .slick-next:before {
	color: #000;
}
.slick-prev, .slick-next {
	top: calc(100% + 20px);
}
.slick-prev {
	left: 40%;
}
.slick-next {
	right: 40%;
}
@media screen and (max-height: 768px) {
	.slick-slide {
		height: 200px !important;
	}
	.slick-slide-1-image img {
		max-height: 200px;
	}
	.slick-slide-2-images img {
		max-height: 100px;
	}
}

/* Article card */
.article-info {
	margin-bottom: 5px;
}
.article-info > span {
	margin-right: 10px;
}
.card-body-article {
	padding: 15px 15px;
}
.card,
.card-header:first-child,
.card-img-top,
.btn {
	/*border-radius: 0;*/
}
.card .card-img-top {
	object-fit: cover;
	max-height: 250px;
}
.card-title {
	margin-bottom: 30px;
}
.catItemIntroText a,
.itemFullText a,
.itemBody a {
	font-weight: bold;
    color: #ff5a00;
}

.catItemIntroText a:hover,
.itemFullText a:hover,
.itemBody a:hover {
    text-decoration: underline;
}

/* Sidebar Categories */
.sidebar-categories ul {
	max-height: calc(100vh - 220px);
	overflow-y: scroll;
    padding: 0 !important;
}
.sidebar-categories ul > li {
	margin: 0 !important;
}
.sidebar-categories ul > li > a {
	display: block;
	padding: 0.15rem 0.4rem;
}
.sidebar-categories ul > li > a:hover {
	color: #fff;
	background-color: #57ad68;
}


/* Pagination */
.page-link {
	color: #57AD68;
}
.page-item.active .page-link {
	background: #439f55;
	border-color: #439f55;
}
.page-link:hover {
	color: #57AD68;
}

/* Header */
.header-height {
	height: 140px;
}
.cfa {
	font-family: 'Roboto Slab', serif;
	border-bottom: 1px solid #dadada;
	margin-bottom: 10px;
}
.cfa .blockquote {
	font-size: 0.85rem;
	background: rgba(0, 0, 0, 0.7);
	padding: 5px;
}
.cfa .blockquote-footer {
	text-shadow: 0 0 2px #000;
	color: #fff;
}
.cfa .row {
	margin-right: 0px;
	margin-left: 0px;
}
.text-shadow {
	text-shadow: 0 1px 1px rgba(0,0,0,0.4);
}
.logo {
	height: 108px;
}
.header-image {
	background: url('/images/photos/ducks.jpg') no-repeat 50% 50%;
	background-size: cover;
}
.header-video {
	height: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

/* Colors */
.border-green {
	border: 0;
	border-bottom: 3px solid #439f55;
}
.text-green,
.text-green a {
	color: #328843;
}
.text-green a:hover {
	color: #57ad68;
}
.text-brown {
	color: #a5683a;
}
.text-red {
	color: #DA4453;
}
.bg-brown {
	border: 1px solid #805335;
	background: #9c6643;
}
.dropdown-item:focus, .dropdown-item:hover {
	color: #fff;
	text-decoration: none;
	background-color: #57ad68;
}
.text-white a {
	color: #fff;
}
.text-white a:hover {
	color: #57AD68;
}
.bg-green {
	border: 1px solid #439f55;
	background: #57ad68;
}
.btn-green {
	color: #fff;
	background: #57ad68;
	border-color: #57ad68;
}
.btn-green:hover {
	color: #fff;
	background: #439f55;
	border-color: #439f55;
}



/* Change gutters width */
.container {
	padding: 0 4px;
}
.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
	padding-right: 4px;
	padding-left: 4px;
}
.row {
	margin-right: -4px;
	margin-left: -4px;
}

/* Contacts page */
#contacts-map {
	width: 100%;
	height: 400px;
}

@media (min-width: 0px) and (max-width: 525px) {
	.header-height {
		height: 210px;
	}
	.page-link {
		padding: .5rem .5rem;
	}
}
@media (min-width: 768px) {
	body {
		padding-top: 185px;
	}
	.header-height {
		height: 175px;
	}
	.cfa {
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		z-index: 1030;
	}
	.navbar {
		position: absolute;
		bottom: 0;
	}
	.navbar-expand-md .navbar-nav .nav-link {
		padding: 5px 3px;
    	text-shadow: 1px 1px 0px #2e5636;
	}
	.highlighted-nav-link {
	    background: #d21717;
    	text-shadow: 1px 1px 0px #9e3131 !important;
	}
	li.dropdown:hover div.dropdown-menu {
		margin: 0;
		display: block;
	}
}

/* Documents/Attachments */
a.doc,
a.pdf,
a.rar,
a.zip,
a.xls,
a.ppt {
    display: block;
    width: fit-content;
    padding: 15px 10px 15px 45px;
    font-weight: bold;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 40px;
}
a.doc {
    background-image: url(../images/files/doc.png);
}
a.pdf {
    background-image: url(../images/files/pdf.png);
}
a.rar {
    background-image: url(../images/files/rar.png);
}
a.zip {
    background-image: url(../images/files/zip.png);
}
a.xls {
    background-image: url(../images/files/xls.png);
}
a.ppt {
    background-image: url(../images/files/ppt.png);
}

/* K2 */
div.itemBackToTop {
    display: none;
}
div.catItemImageBlock,
div.itemImageBlock {
    float: left;
    margin-right: 10px;
}
div.tagItemImageBlock img,
div.catItemImageBlock img,
div.itemImageBlock img {
    max-width: 200px;
    max-height: 200px;
    object-fit: cover;
}
div.itemFullText img,
div.userItemIntroText img,
div.itemFullText iframe,
div.userItemIntroText iframe {
    width: 100%;
}
div.userItemView {
    margin-bottom: 18px;
}