* {
    --surface: #F5F5F5;
    --red: #F44336;
    --black: #222222;
    --grey: #666666;
    --light-grey: #A9A9A9;
    --white: #FFF;
    --br_10: 10px;
}
a {
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
img {
    max-width: 100%;
}
a,
.btn:focus,
input,
button {
    outline: none;
}
a:hover {
    text-decoration: none;
}
figure {
    overflow: hidden;
}
figure img {
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
figure:hover img {
	-webkit-transform: scale(1.3);
	transform: scale(1.3);
}
html {
    position: relative;
    min-height: 100%;
}
body {
    font-family: 'Roboto', sans-serif;
    margin-bottom: 60px;
    color: var(--black);
}
.text-input {
    color: var(--light-grey);
    padding: 7px 20px;
    border: 1px solid #DEDEDE;
    border-radius: 5px;
    font-size: 16px;
    line-height: 24px;
    max-height: 40px;
}
.btn {
    font-size: 16px;
    line-height: 24px;
    color: var(--white);
    background: var(--red);
    border-radius: 4px;
    border: 2px solid var(--red);
    text-decoration: none;
    padding: 12px 35px;
}
.btn:hover {
    background: var(--white);
    color: var(--black);
}
.btn_empty {
    color: var(--black);
    background: var(--white);
}
.btn_empty:hover {
    background: var(--red);
    color: var(--white);
}
.ul-list {
    list-style: none;
    font-size: 0;
    margin: 0;
    padding: 0;
}
.ul-list li {
    display: inline-block;
}
.banner {
    background: var(--surface);
}
.banner p {
    color: var(--grey);
    opacity: 0.8;
    margin: 0;
}
.banner p.title {
    opacity: 1;
    font-weight: 500;
}
h1,
h2 {
    font-weight: 500;
    font-size: 36px;
    line-height: 54px;
    color: var(--black);
    background: url("../images/h_dots.svg") no-repeat left top 17px;
    padding-left: 30px;
}
h3 {
    font-weight: 500;
    font-size: 32px;
    line-height: 48px;
    color: var(--black);
    background: url("../images/h_dots.svg") no-repeat left top 17px;
    padding-left: 30px;
}
h1 a,
h2 a,
h3 a {
    color: inherit;
}
h1 a:hover,
h2 a:hover,
h3 a:hover {
    color: var(--red);
}
.svg-preloader {
	-webkit-animation:spin 1s linear infinite;
	-moz-animation:spin 1s linear infinite;
	animation:spin 1s linear infinite;
}
@-moz-keyframes spin { 
	100% { 
		-moz-transform: rotate(360deg); 
	} 
}
@-webkit-keyframes spin { 
	100% { 
		-webkit-transform: rotate(360deg); 
	} 
}
@keyframes spin { 
	100% { 
		-webkit-transform: rotate(360deg); 
		transform:rotate(360deg); 
	}
}
p.art_titile {
    font-size: 18px;
    line-height: 27px;
    margin-bottom: 8px;
    color: var(--black);
}
.art_descr {
    font-size: 16px;
    line-height: 24px;
    color: var(--grey);
}
.art_tag {
    text-transform: uppercase;
    font-size: 12px;
    line-height: 16px;
    border-radius: 2px;
    color: var(--white);
    padding: 3px 5px;
    margin-bottom: 8px;
    display: inline-block;
}
.art_date {
    font-size: 14px;
    line-height: 21px;
    color: var(--light-grey);
    background: url("../images/clock.svg") no-repeat left center;
    padding-left: 16px;
}
.art_views {
    font-size: 14px;
    line-height: 21px;
    color: var(--light-grey);
    background: url("../images/eye.svg") no-repeat left center;
    padding-left: 16px;
}
.art_author {
    font-size: 14px;
    line-height: 21px;
    color: var(--grey);
}
.bg_red {
    background: var(--red);
}
.bg_black {
    background: var(--black);
}
.bg_orange {
    background: #F2994A;
}
.video_wrapper {
    position: relative;
}
.video_wrapper video {
    object-fit: cover;
}
.video_descr {
    /* position: absolute; */
    bottom: 0;
}
.video_descr .art_titile {
    color: var(--black);
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
}
.video_descr .art_date {
    color: var(--light-grey);
    background: url("../images/clock.svg") no-repeat left center;
}
.small_descr p.art_titile {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
}
.small_descr .art_tag {
    font-size: 10px;
    line-height: 15px;
    padding: 0 3px;
}
.overflow-auto {
    overflow-y: auto;
}
::-webkit-scrollbar {
    width: 3px;
}
::-webkit-scrollbar-track {
    background: #DEDEDE;
}
::-webkit-scrollbar-thumb {
    background: var(--grey);
    border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--grey);
}
.breadcrumbs a {
    font-size: 14px;
    line-height: 21px;
    color: var(--black);
}
.breadcrumbs > li:before {
    content: "/";
    font-size: 14px;
    line-height: 21px;
    margin: 0 10px;
}
.breadcrumbs > li:first-child:before {
    display: none;
}
.breadcrumbs > li.active a {
    color: var(--light-grey);
    cursor: text;
}
.pagination a {
    font-size: 16px;
    line-height: 24px;
    width: 45px;
    height: 45px;
    border: 1px solid var(--black);
    color: var(--black);
    border-radius: 6px;
}
.pagination li a:hover,
.pagination li.active a {
    color: var(--white);
    background: var(--red);
    border: 1px solid var(--red);
}
.pagination li.prev a,
.pagination li.next a {
    border: 0;
}
.pagination li.prev a:hover,
.pagination li.next a:hover {
    border: 0;
    color: var(--black);
    background: none;
}
.pagination li + li {
    margin-left: 20px;
}
.nav {
    width: 100%;
}
.top_banner p {
    font-size: 12px;
    line-height: 16px;
}
.top_banner p.title {
    font-size: 18px;
    line-height: 27px;
}
.footer_menu li a,
.main_menu li a {
    font-size: 18px;
    line-height: 27px;
    color: var(--grey);
    text-decoration: none;
    padding: 12px 0;
    display: inline-block;
    border-bottom: 3px solid transparent;
}
.footer_menu li a:hover,
.main_menu li a:hover {
    border-bottom: 3px solid var(--red);
    color: var(--black);
}
.footer_menu li + li,
.main_menu li + li {
    margin-left: 60px;
}
header > .container > div {
    border-bottom: 1px solid #DEDEDE;
}
header.fixed_top {
    position: fixed;
    background: #fff;
    left: 0;
    right: 0;
    z-index: 1;
    top: -200px;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
header.fixed_top ~ main {
    padding-top: 127px;
}
header.fixed_top > .container > div {
    padding: 5px 0 !important;
}
header.fixed_top > .container .header_top_block {
    display: none !important;
}
.input_search {
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    background: url("../images/search.svg") no-repeat center right 20px;
    padding-right: 40px;
}
.input_search:focus {
    border: 1px solid var(--light-grey);
}
.social li a {
    width: 40px;
    height: 40px;
    background: var(--surface);
    border-radius: 5px;
}
.social li a:hover {
    background: var(--grey);
    opacity: 1;
}
.social li a:hover img {
    filter: invert(0) sepia(71%) saturate(0%) hue-rotate(339deg) brightness(130%) contrast(101%);
}
.social li {
    margin-right: 10px;
}
.page_head_social li:first-child {
    width: 42px;
    height: 1px;
    border-top: 1px solid #C4C4C4;
    padding-top: 6px;
}
.page_head_social li:last-child {
    height: 80px;
    width: 1px;
    border-right: 1px solid #C4C4C4;
    padding-left: 20px;
}
.page_head_social li {
    display: block;
}
.home_scroll_news {
    max-height: 400px;
    overflow-y: auto;
}
.mid_banner {
    min-height: 290px;
}
.mid_banner p {
    font-size: 14px;
    line-height: 21px;
    text-align: center;
}
.mid_banner p.title {
    font-size: 20px;
    line-height: 30px;
}
.big_post .art_titile {
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
}
.num_list {
    width: 40px;
    height: 40px;
    background: var(--surface);
    border-radius: 5px;
    font-weight: 500;
    font-size: 18px;
}
.footer_banner p {
    font-size: 12px;
    line-height: 16px;
}
.footer_banner p.title {
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
}
.footer {
    background-color: var(--black);
}
.footer .social li a {
    background: var(--grey);
}
.footer p {
    color: var(--light-grey);
    font-size: 14px;
    line-height: 21px;
}
.footer .footer_menu li a {
    color: var(--white);
    font-size: 16px;
    line-height: 24px;
}
.footer .footer_menu li a {
    padding: 0;
}
.footer_copy {
    border-top: 1px solid var(--grey);
}
.footer_copy a {
    color: #DEDEDE;
    font-size: 14px;
    line-height: 21px;
}
.footer_copy a:hover {
    text-decoration: underline;
}
.mobile_search {
    width: 16px;
    height: 16px;
    background: url("../images/search.svg") no-repeat center;
}
.mobile_menu {
    background: url("../images/burger_menu.svg") no-repeat center;
    width: 24px;
    height: 12px;
}
.mobile_menu_close {
    background: url("../images/burger_menu_close.svg") no-repeat center;
    width: 29px;
    height: 25px;
}
.nav_mobile_overlay {
    display: none;
}
.mobile_menu_header p {
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    text-transform: uppercase;
    color: var(--black);
}
.page_text {
    font-size: 18px;
    line-height: 27px;
    color: var(--grey);
}
.show_more {
    text-align: center;
    border-bottom: 1px solid #DEDEDE;
}
.page_text h1,
.page_text h2,
.page_text h3 {
    background: none;
    padding-left: 0;
}
.page_text a {
    color: var(--red);
    text-decoration: underline;
}
.page_text blockquote {
    border-left: 5px solid var(--light-grey);
    padding-left: 20px;
    font-style: italic;
}
.page_pdf {
    /*border: 20px solid #F7F7F7;*/
    width: 100%;
    height: 700px;
    border: none;
    overflow: hidden;
}
.page_pdf a {
    color: var(--red);
    background-color: #F7F7F7;
}
.owl-carousel {
    position: relative;
}
.owl-carousel .owl-dots {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    text-align: center;
}
.owl-carousel .owl-nav {
    position: absolute;
    bottom: 6px;
    right: 10px;
}
.owl-carousel .owl-nav span {
    display: inline-block;
    width: 45px;
    height: 45px;
}
.owl-carousel .owl-nav .arr-left {
    background: url("../images/arrow-left.svg") no-repeat center, var(--white);
    border-radius: 5px 0 0 5px;
    border-right: 1px solid var(--surface);
}
.owl-carousel .owl-nav .arr-right {
    background: url("../images/arrow-right.svg") no-repeat center, var(--white);
    border-radius: 0 5px 5px 0;
}
.owl-carousel .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    background: #DEDEDE;
    border-radius: 50%;
}
.owl-carousel .owl-dots .owl-dot + .owl-dot {
    margin-left: 20px;
}
.owl-carousel .owl-dots .owl-dot.active {
    background: var(--red);
}
.share_block {
    border-top: 1px solid #DEDEDE;
    border-bottom: 1px solid #DEDEDE;
}
.share_block p {
    color: var(--red);
    font-size: 18px;
    line-height: 27px;
}
.tags_list li + li {
    margin-left: 10px;
}
.tags_list a {
    font-size: 14px;
    line-height: 21px;
    color: var(--grey);
    text-transform: uppercase;
    background: var( --surface);
    border-radius: 5px;
    padding: 5px;
    display: block;
}
.tags_list a:hover {
    background: var(--grey);
    color: var(--white);
}
.contact_phone {
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
    color: var(--black);
}
.contact_addr {
    font-size: 20px;
    line-height: 30px;
    color: var(--black);
}
.contact_head h3 {
    background: none;
    padding-left: 0;
    text-align: center;
}
.contact_head p {
    font-size: 20px;
    line-height: 30px;
    color: #999999;
    text-align: center;
}
.main_form textarea,
.main_form input[type="text"],
.main_form input[type="email"] {
    border: 0;
    border-bottom: 1px solid var(--grey);
    display: block;
    width: 100%;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: var(--grey);
    padding: 0 10px;
}
.main_form input[type="submit"] {
    cursor: pointer;
}
.main_form label {
    font-size: 12px;
    line-height: 18px;
    color: var(--black);
    padding: 0 10px;
}
.main_form textarea {
    resize: none;
}
.main_form textarea:focus {
    outline: 0;
}
ul.errorlist {
    list-style: none;
    padding: 0;
}
ul.errorlist li {
    color: var(--red);
    font-size: 12px;
}
.fb_iframe_widget_fluid_desktop, 
.fb_iframe_widget_fluid_desktop span, 
.fb_iframe_widget_fluid_desktop iframe {
    max-width: 100% !important;
    width: 100% !important;
}



@media (max-width: 1200px) {
    .main_menu li + li {
        margin-left: 40px;
    }
    .main_menu li a {
        font-size: 16px;
    }
}
@media (max-width: 992px) {
    h1,
    h2 {
        font-size: 32px;
        line-height: 48px;
        background: url("../images/h_dots.svg") no-repeat left top 14px;
    }
    h3 {
        font-size: 32px;
        line-height: 48px;
        background: url("../images/h_dots.svg") no-repeat left top 14px;
    }
}
@media (max-width: 768px) {
    .nav:not(.nav-tabs) {
        -webkit-transition: all 0.3s;
        -o-transition: all 0.3s;
        transition: all 0.3s;
        position: fixed;
        background: #fff;
        top: 0;
        right: -80%;
        bottom: 0;
        z-index: 999;
        width: 80%;
    }
    .nav_mobile_overlay {
        -webkit-transition: all 0.3s;
        -o-transition: all 0.3s;
        transition: all 0.3s;
        background: var(--black);
        opacity: 0.5;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 9;
    }
    .nav_mobile_overlay.active {
        display: block;
    }
    .nav.active {
        right: 0;
    }
    .ul-list.footer_menu li,
    .ul-list.main_menu li {
        display: block;
        margin-left: 0;
    }
    .footer_menu {
        width: 100%;
        text-align: center;
    }
    .page_head_social li {
        display: inline-block;
    }
    .footer .social {
        text-align: right;
        max-width: 100px;
    }
    .footer .social li {
        margin: 0 5px;
    }
}
@media (max-width: 576px) {
    h1,
    h2 {
        font-size: 24px;
        line-height: 36px;
        background: url("../images/h_dots.svg") no-repeat left top 10px;
    }
    h3 {
        font-size: 24px;
        line-height: 36px;
        background: url("../images/h_dots.svg") no-repeat left top 10px;
    }
    p.art_titile {
        font-size: 16px;
        line-height: 24px;
    }
}


/* Ujarak button style */
.button--ujarak {
    display: inline-block;
    position: relative;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
	-webkit-transition: border-color 0.4s, color 0.4s;
	transition: border-color 0.4s, color 0.4s;
}
.button--ujarak::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--red);
	z-index: -1;
	opacity: 0;
	-webkit-transform: scale3d(0.7, 1, 1);
	transform: scale3d(0.7, 1, 1);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.4s;
	transition: transform 0.4s, opacity 0.4s;
	-webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
	transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}
.button--ujarak,
.button--ujarak::before {
	-webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
	transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}
.button--ujarak:hover {
	color: #fff;
	border-color: var(--red);
    background: none !important;
}
.button--ujarak:hover::before {
	opacity: 1;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}


/* Tabs */
.nav-link {
    background: none;
    border: 0;
    border-bottom: 3px solid var(--surface);
    cursor: pointer;
}

.nav-link p {
    cursor: pointer;
}

.nav-link:hover, .nav-link:focus {
    text-decoration: none;
}
.nav-tabs .nav-item {
    margin-bottom: -1px;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
    opacity: 0.6;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    border-bottom: 3px solid var(--red);
    color: var(--black);
}

.nav-tabs .dropdown-menu {
    margin-top: -1px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.nav-pills .nav-link {
    border-radius: 0.25rem;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #fff;
    background-color: #007bff;
}

.nav-fill .nav-item {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    text-align: center;
}

.nav-justified .nav-item {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    text-align: center;
}

.tab-content > .tab-pane {
    display: none;
}

.tab-content > .active {
    display: block;
}
