/*
Theme Name: Ovut
Description: Тема для сайта ОВУТ Организация
Author: Inmark24
Author URI: https://inmark24.ru/
*/
@charset 'UTF-8';
/*all*/
html, body {
    height: 100%;
}

html {
    overflow-x: hidden;
}

body {
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif !important;
    font-size: 16px;
    color: #000000;
    font-display: swap;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

a {
    cursor: pointer;
    text-decoration: none;
}

.main-container {
    min-height: 400px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    padding: 0;
}

h4, h6 {
    font-size: 16px;
    line-height: 1.6;
}

img {
    border: none;
}

header {
    position: relative;
    z-index: 1000;
    background-color: #ffffff;
}
.header-logo img{
	width:155px !important
}
.header-right{
	width: 127px!important
}
.header-mobile .elementor-container.elementor-column-gap-default{
	justify-content: space-between
}
.news-container{
    max-width: 1140px;
    margin: 0 auto 120px auto;
	padding: 10px;
}
.news-title{
    font-family: "Roboto", Sans-serif;
    font-weight: 700;
    color: #464646;
    font-size: 39px;
    margin: 70px 0;
	text-align: center;
	line-height: 1;
}
.news-image{
    text-align: center;
}
.news-image img{   
    width: 100%;
    max-height: 500px;
    overflow: hidden;
	object-fit: cover;
    object-position: center;
}
.news-content{
    color: #4A4A4A;
    font-family: "Roboto", Sans-serif;
    font-weight: 400;
    font-size: 16px;
	margin-top: 25px;
}
.news-item{
    border-radius: 5px;
	position: relative;
}
.news-item + .news-item{
    margin-top: 36px;
}
.news-item-wrapper{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
}
.news-item-content{
    width: calc(100% - 308px);
}
.news-item-image img{
    border-radius: 5px;
    border: 2px solid #cfcfcf;
    height: 186px;
    width: 280px;
    overflow: hidden;
    object-fit: cover;
    object-position: center;
}
.news-item:before{
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    content: "";
    width: 91%;
    border-top: 1px solid #ecedef;
    margin: 0 auto;
}
.news-item:first-child:before{
    top: 0;
    border-top: none;
}
.news-item-content h2 a{
    color: #4A4A4A;
    font-family: "Roboto", Sans-serif;
    font-weight: 600;
    line-height: 1;
}
.news-item-content h2 a:hover{
    color: #C40000;
}
.news-desc {
    color: #4A4A4A;
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    min-height: 134px;
    -webkit-line-clamp: 7;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;    
}
.news-item-content h2{
    margin-bottom: 20px;
}
.news-desc p{
    margin-top: 0;
    padding-top: 0;
}
.news-pagination {
    margin-top: 35px;
}

.news-pagination .pagination {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.page-numbers{
	display: block;
    background: #929292;
    width: 19px;
    height: 21px;
    padding: 5px 6px;
    border-radius: 50%;
    line-height: 1.5;
    color: #ffffff;
    margin: 0 7px;
    text-align: center;
    font-family: "Roboto", Sans-serif;
    font-size: 14px;
}
.next.page-numbers, .prev.page-numbers{
    width: auto;
    border-radius: 17px;
    padding: 5px 11px;
}
.page-numbers.current, .page-numbers:hover{
    background: #C40000;
}
.page-numbers.no-active{
    opacity: 0.6;
}
.page-numbers.no-active:hover{
    background: #929292;
}
.page-numbers.no-active{
    opacity: 0.6;
}
.page-numbers.no-active:hover{
    background: #929292;
    cursor: inherit;
}
@media screen and (max-width: 1200px) {
    .page-numbers {
        margin: 0 4px;
    }
	    .next.page-numbers span, .prev.page-numbers span{
        display: none;
    }
	.news-pagination .pagination .next.page-numbers,.news-pagination .pagination .prev.page-numbers{
        position: relative;
    }
	.next.page-numbers, .prev.page-numbers{
        width: 8px;
    }
    .news-pagination .pagination .next.page-numbers:before{
        content: "";
        width: 7px;
        height: 12px;
        position: absolute;
        top: 10px;
        right: 10px;
        background: url(/wp-content/uploads/2023/06/pagination_next_white.png.png) no-repeat;
    }
    .news-pagination .pagination .prev.page-numbers:before{
        content: "";
        width: 7px;
        height: 12px;
        position: absolute;
        top: 10px;
        right: 12px;
        background: url(/wp-content/uploads/2023/06/pagination_next_white.png.png) no-repeat;
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        transform: rotate(180deg);
    }
}
@media screen and (max-width: 767px) {
    .news-title{
        font-size: 31px;
    }
	 .news-image img {
        max-height: 350px;
    }
	.news-item-wrapper{
        flex-direction: column;
    }
    .news-item-content{
        width: 100%;
    }
    .news-item-image{
        margin-bottom: 15px;
        text-align: center;
    }
    .news-item-content h2 {
        margin-bottom: 15px;
    }
	.news-desc{
        max-height: 134px;
        min-height: inherit;
    }
}
@media screen and (max-width: 420px) {
    .news-image img {
        max-height: 250px;
    }
}
@media screen and (max-width: 370px) {
	.header-logo img {
   		width: 107px!important;
	}
	.header-column-logo{
		width: 126px!important
	}
}