/* DEFAULT */
a {
	color: var(--second-color);
	text-decoration: none;
}
a.inverse {
	color: var(--main-color);
	text-decoration: underline;
}
a.inverse:hover {
	color: var(--second-color);
	text-decoration: none;
}
a:hover {
	color: var(--third-color);
	text-decoration: underline;
}
body {
	color: var(--body-text-color);
}
h1 {
	color: var(--main-color);
	padding-bottom: 10px;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Font Awesome 5 Free';
}
.main-color {
	color: var(--main-color);
}
.theme-second-color-text {
	color: var(--second-color);
}
.theme-second-color-bg {
	background: var(--second-color);
}
.content img, img.thumbnail {
	max-width: 100%;
	height: auto;
}
.content p {
	text-indent: 25px;
}
.img-thumbnail-block {
	padding: .25rem;
	background-color: #fff;
	border: 1px solid #dee2e6;
	border-radius: .25rem;
}
#PageNotFound .content-404 {
	font-size: 7.5rem;
}
/* MAIN MENU */
.navbar-light .navbar-nav .open > .nav-link,.navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.open, .navbar-light .navbar-nav .nav-link.active {
	color: var(--hover-text-color);
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	-webkit-transition: all .5s ease;
	-ms-transition: all .5s ease;
	transition: all .5s ease;
	background: var(--second-color);
}
.navbar-light .navbar-nav .nav-link {
	padding-bottom: 20px;
	color: var(--main-color);
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	-webkit-transition: all .5s ease;
	-ms-transition: all .5s ease;
	transition: all .5s ease;
	position: relative;
	-webkit-clip-path: polygon(100% 0, 100% 85%, 14% 85%, 0 100%, 0% 60%, 0 0);
	-moz-clip-path: polygon(100% 0, 100% 85%, 14% 85%, 0 100%, 0% 60%, 0 0);
	-ms-clip-path: polygon(100% 0, 100% 85%, 14% 85%, 0 100%, 0% 60%, 0 0);
	clip-path: polygon(100% 0, 100% 85%, 14% 85%, 0 100%, 0% 60%, 0 0);
}
.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover {
	background: var(--second-color);
	color: var(--hover-text-color);
	position: relative;
	text-decoration: none;
}

#footerMenu a {
	color: #fff;
	text-decoration: none;
}
#footerMenu a.active {
	color: var(--second-color);
}
#footerMenu a:hover {
	color: var(--second-color);
	text-decoration: underline;
}
/* Contact */
#contactHighlight {
	background: #c9cbcc;
}
/* SLIDER */
.slider-item {
	max-height: 370px;
	overflow: hidden;
	width: 100%;
	position: relative;
}

.news-img {
	height: 300px;
	overflow: hidden;
	border: 1px solid #dee2e6;
    border-radius: .25rem;
    text-align: center;
}
img.full-img {
	width: 100%;
}
.article_img {
	height: 135px;
	overflow: hidden;
}
.teaser-title {
	font-family: 'Font Awesome 5 Free';
	font-size: 22px;
}
.font-mini {
	font-size: 14px;
}
.teaser {
	font-size: 15px;
	color: var(--body-text-color)
}
.tag {
	background: #f1f1f1;
    padding: 10px 15px;
    color: var(--main-color);
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	-webkit-transition: all .5s ease;
	-ms-transition: all .5s ease;
	transition: all .5s ease;
	margin-right: 8px;
	margin-top: 5px;
	margin-bottom: 5px;
	display: inline-block;
	text-decoration: none;
}
.tag.second {
	background: var(--third-color);
	color: #f1f1f1;
}
.tag.count-enabled {
	padding: 0;
	border: 1px solid var(--third-color);
}
.tag > span {
	display: inline-block;
	padding: 10px 5px 10px 10px;
}
.tag > span.count {
	padding: 10px;
	background: #f1f1f1;
	color: var(--third-color);
}
.tag:hover, .tag:focus {
	background: var(--second-color);
	color: var(--hover-text-color);
	text-decoration: none;
}
.tag.count-enabled:hover {
	background: #f1f1f1;
	color: var(--third-color);
}
.footer_bg {
	background: var(--main-color);
	color: var(--hover-text-color);
	-webkit-clip-path: polygon(0 17%, 100% 0, 100% 100%, 0% 100%);
	clip-path: polygon(0 17%, 100% 0, 100% 100%, 0% 100%);
}
#404-page + .footer_bg {
	-webkit-clip-path: none;
	clip-path: none;
}
.footer_right_reserved {
	background: #000;
}
.block-title {
	font-size: 24px;
	color: var(--main-color);
	border-bottom: 1px solid var(--main-color);
}
#news-block .splide__arrows {
	display: flex;
	gap: 5px;
}
#news-block .splide__arrow {
	position: static;
	transform: none;
	width: 35px;
	height: 33px;
	background: #d6d6d6;
	border: none;
	border-radius: 3px;
	color: #424040;
	font-size: 14px;
	opacity: 1;
	cursor: pointer;
	transition: 0.5s;
}
#news-block .splide__arrow:hover {
	background: #424040;
	color: #fff;
}
#news-block .splide__arrow:disabled {
	opacity: 0.5;
	cursor: default;
}
#news-block .splide__arrow:disabled:hover {
	background: #d6d6d6;
	color: #424040;
}
#news-block .splide__arrow svg {
	display: none;
}
.block-title h1 {
	font-size: 24px;
	padding-bottom: 0;
	font-weight: normal;
}
.gototop {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 999;
	opacity: 0;
	visibility: hidden;
}
.gototop.active {
	opacity: 1;
	visibility: visible;
}
.gototop a {
	width: 50px;
	height: 50px;
	display: table;
	background: rgba(0,0,0,0.5);
	color: white;
	text-align: center;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-ms-border-radius: 4px;
	border-radius: 4px;
}
.gototop a i {
	height: 50px;
	display: table-cell;
	vertical-align: middle;
}
.gototop a:hover,.gototop a:active,.gototop a:focus {
	text-decoration: none;
	outline: none;
}
.js .animate-box {
	opacity: 0;
}
#single-page-item-box {
	height: 300px;
	overflow: hidden;
	background-attachment: fixed;
}
.page-link {
	color: var(--second-color);
	border-color: var(--second-color);
	font-size: large;
}
.page-link:hover {
	color: var(--hover-text-color);
	background: var(--second-color);
}
.page-item.disabled .page-link {
	border-color: var(--second-color);
}
.list-img-item {
	text-align: center;
	overflow: hidden;
}
.list-img-item img {
	border: 1px solid #dee2e6;
	border-radius: .25rem;
}
.news-list .list-img-item img {
	max-height: 200px;
}
.list-item {
	height: 205px;
}
.contact-icon {
	height: 50px;
    width: 50px;
	border-radius: 50%;
    border: 2px solid var(--main-color);
    display: table;
    text-align: center;
    font-size: 20px;
    color: var(--main-color);
}
.main-image {
	max-height: 420px;
	overflow: hidden;
}
/* Portfolio */
.portfolio.main-image img {
	max-width: 460px;
}
.portfolio.additional-images img {
	max-width: 185px;
}
#blockPortfolioList .list-img-item img {
	max-height: 340px;
}

/* highlightjs-line-numbers */
.hljs-ln td.hljs-ln-numbers {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    text-align: center;
    color: #ccc;
    border-right: 1px solid #CCC;
    vertical-align: top;
    padding-right: 5px;
}
.hljs-ln td.hljs-ln-code {
    padding-left: 10px;
}