html {
    font-size: 15px;
}

body {
    margin: 0;

    font-family: Montserrat,
    sans-serif;
    font-size: 1rem;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

p {
    margin: 0, 0, 10px;
}

/* Page
=================================*/

.page {
    width: 100%;
    /* height: 100vh; */

    background: #131110 url("../img/wrapper_site.jpg") repeat;
}

/* Logo
=================================*/
.logo-underline {
    width: 1200px;
    margin: 0 auto;
    background: url("../img/bg_wrap_currentDate_holder.jpg") 0 bottom repeat-x;
    padding-top: 15px;
    padding-bottom: 30px;
}

.logo-container {
    width: 1250px;
    height: 200px;

    margin: 0 auto;

    background: url("../img/bg_top_header_1300.png") no-repeat;
}

.logo {
    width: 1200px;
    
    margin: 0 auto;
    padding-top: 70px;
}

/* Page background */

.wrap-all {
    width: 1250px;
   
    margin: 0 auto;
    
    background: #fdf3e9;
}

.wrap-left {
    width: 1250px;

    margin: 0 auto;

    background: url("../img/bg_wrap_all_right.jpg") right 0 repeat-y;
}

.wrap-rigth {
    width: 1250px;

    margin: 0 auto;

    background: url("../img/bg_wrap_all_left.jpg") left 0 repeat-y;
}

/* Main menu
=================================*/

.contaner-menu {
    width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.nav {
    height: 71px;
}

.nav-primary {
    width: 1200px;
    list-style: none;
    background: url("../img/bg_primary_nav_li_underline.jpg") 0 bottom repeat-x;
    height: 58px;
    display: flex;
    justify-content: space-evenly;
}

.main-menu {
    float: left;
}

.main-menu-list {
    list-style: none;
}

.main-menu-list a {
    font-size: 1.5rem;
    font-family: 'webfontregular';
    font-weight: 300;
    padding: 0 5px 18px 5px;
    color: #020001;
    text-decoration: none;
    text-transform: uppercase;
}

.main-menu-list a:hover {
    background: url("../img/bg_primary_nav_li_underline1.jpg") 0 bottom repeat-x;
    color: #000000;
}

/* .nav a {
    font-size: 2rem;
    font-family: 'webfontregular';
    font-weight: 300;
    text-transform: uppercase;
    text-decoration: none;
    background: url("../img/bg_primary_nav_li_underline.jpg") 0 bottom repeat-x;
} */

.nav-underline {
    width: 1200px;
    content: "";
    margin: 0, auto;
    background: url("../img/bg_primary_nav_li_underline.jpg") o bottom repeat-x;

}

.main {
    width: 1250px;
    min-height: 900px;
    margin: 0, auto;
    margin-top: 10px;

    display: flex;
}

/* Dropdown
=================================*/

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    padding: 16px;
    font-size: 16px;
    border: none;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color:#fdf3e9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 2;
}

.dropdown-content a {
    color: black;
    font-size: 16px;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #e0d9d1;
    /* background-image: none; */
}

.dropdown-content a:active {
    color: #fef8f1;
    background-color: #c0b8af;
}
.dropdown:hover .dropdown-content {display: block;}

/* .dropdown:hover .dropbtn {background-color: #3e8e41;} */

/* Sidebar-left
=================================*/

.sidebar-left {
    width: 250px;
    margin: 0 25px 0 40px;
}

.sidebar {
    background-color: #c0b8af;
    box-shadow: 3px 5px 5px #a3a3a3;
}

.sidebar-title {
    color: #fef8f1;
    font: normal 18px 'Bitter';
    text-transform: uppercase;
    margin: 0;
    padding: 15px;
}

.sidebar-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.sidbar-item {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu {
    display: block;
    color: #232020;
    font: 17px 'Bitter';
    margin: 1px;
    text-decoration: none;
    padding: 8px 12px;
    background-color: #e0d9d1;
    border: 1px;
    border-color: #131110;
    transition: background-color 0.2s linear;
}

.sidebar-menu:hover {
    color: #fef8f1;
    background-color: #c0b8af;
}

.sidebar-menu:active {
    background-color: #a59e97;
}

.banner {
    width: 250px;
}

.banner-img {
    max-width: 250px;
}

/* Slider Top News
=================================*/

.infinity-slider-wrap {
    width: 1170px;
    height: 569px;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
}

.infinity-slider {
    width: 1170px;
    height: 569px;
    overflow: hidden;
    position: relative;
    box-shadow: 2px 2px 5px #333;
}


.slides {
    width: 1170px;
    height: 569px;
    position: absolute;
    opacity: 0;
    transition: opacity ease-in-out .5s, visibility ease-in-out .5s;
    visibility: hidden;
}


.infinity-slider .slides:first-child {
    opacity: 1;
    visibility: visible;
}


.slide1 {
    width: inherit;
    height: inherit;
    background: #020001 url("https://www.online.ua/static/content/files/4/69/c954e91968f12d4af7b0299409014694.png") no-repeat;
    background-size: 100%;
    background-position: center;
}
.slide2 {
    width: inherit;
    height: inherit;
    background: #020001 url("../rubriki/ukraina/2024/12/30/301224.jpg") no-repeat;
    background-size: 100%;
    background-position: center;
}
.slide3 {
    width: inherit;
    height: inherit;
    background: #020001 url("https://cdn.fakty.com.ua/wp-content/uploads/2023/08/16/nato.jpg") no-repeat;
    background-size: 100%;
    background-position: center;
}

.slide4 {
    width: inherit;
    height: inherit;
    background: #020001 url("../rubriki/ukraina/2024/12/28/281224-1.jpg") no-repeat;
    background-size: 100%;
    background-position: center;
}
.slide5 {
    width: inherit;
    height: inherit;
    background: #020001 url("../rubriki/ukraina/2024/12/28/281224.jpg") no-repeat;
    background-size: 100%;
    background-position: center;
}

.top-news-bg {
    width: 390px;
    height: 100%;
    padding-top: 1px;
    background-color: rgba(14, 13, 13, 0.8);
}

.top-news {
    margin: 10px 15px;
    padding-top: 25px;    
}

.top-news h2 {
    color: #fdf3e9;
    font: bold 35px 'Bitter';
    margin-bottom: 10px;
}

.top-news h1 {
    color: #fdf3e9;
    font: bold 35px 'Bitter';
    margin-bottom: 10px;
}

.top-news-data {
    display: block;
    color: #8b837c;
    font-family: 'Bitter';
    font-size: 14px;
    background: url("../img/bg_slider_info_block_underline.png") 0 bottom repeat-x;
    padding-bottom: 26px;
    padding-right: 250px;
    margin-bottom: 20px;
}

.top-news p {
    color: #fdf3e9;
    text-align:justify;
    background: url("../img/bg_slider_info_block_underline.png") 0 bottom repeat-x;
    padding-bottom: 26px;
    margin-top: 15px;
    margin-bottom: 20px;

}

.top-news a {
    display: inline-block;
    font: normal 14px/18px 'Bitter';
    color: #c4bcb2;
    padding: 0 25px 0 0;
    text-decoration: underline;
    text-transform: inherit;
    background: url("../img/bg_readmore_link_slider.png") right center no-repeat;
}

/* Content
=================================*/

.content {
    width: 620px;
}

.content-rubriki {
    width: 870px;
    margin-left: 40px;
}

.header-title {
    margin-bottom: 15px;
}

.preview-img {
    width: 220px;
    margin-top: 15px;
    margin-right: 15px;
    margin-bottom: 15px;
    box-shadow: 3px 5px 5px #a3a3a3;
}

.article {
    width: 620px;
    margin-bottom: 20px;
    background: url("../img/bg_primary_nav_li_underline.jpg") 0 bottom repeat-x;
    padding-bottom: 16px;
}

.article-rubriki {
    width: 870px;
    margin-bottom: 20px;
    background: url("../img/bg_primary_nav_li_underline.jpg") 0 bottom repeat-x;
    padding-bottom: 16px;
}

.article-title {
    margin: 0 0 5px;
    font-size: 18px;
    color: #0d448e;
}

.article-title a {
    color: #020001;
    text-decoration: none;
}

.article-title a:hover {
    text-decoration: underline;
}

.article-data {
    display: block;
    
    font-size: 12px;
    color: #a4a4a4;
}

.article-img {
    max-width: 350px;
    float: left;
    margin: 0 10px 5px 0;
    box-shadow: 3px 5px 5px #a3a3a3;
}

.article-box {
    display: flex;
}

.read-more {
    color: #faf8f1;
    text-decoration: none;
    background-color: #c0b8af;
    padding: 5px;
    /* border: 1px solid #928d88; */
    border-radius: 10px;
    box-shadow: 1px 1px 3px #a3a3a3;
    text-decoration: none;
    transition: background-color 0.2s linear;
}

.read-more:hover {
    background-color: #928d88;
}


.next-btn {
    display: flex;
    justify-content: space-between;
}

.next {
    background-color: #c0b8af;
    border-radius: 7px;
    padding: 7px 15px;
    margin-bottom: 10px;
    box-shadow: 1px 1px 3px #a3a3a3;
    
}

.next a {
    text-decoration: none;
    color: #faf8f1;
    background: url(../img/bg_link_slider_left.png) left center no-repeat;
    padding: 0 0 0 20px;
}

.before {
    background-color: #c0b8af;
    border-radius: 7px;
    padding: 7px 15px;
    margin-bottom: 10px;
    box-shadow: 1px 1px 3px #a3a3a3;
}

.before a {
    text-decoration: none;
    color: #faf8f1;
    background: url(../img/bg_link_slider_right.png) right center no-repeat;
    padding: 0 20px 0 0;
}

.next:hover, .before:hover {
        background-color: #928d88;
}
/* Sidebar-right
=================================*/

.sidebar-right {
    width: 250px;
    margin: 0 0 0 25px;
}

.sidebar-list-right {
    background: #fdf3e9;
    margin-top: 0;
    margin-bottom: 10px;
    padding: 10px 15px 0 15px;
    border: 1px solid #ded5cc;
    list-style-type: none;
}

.sidbar-item-right {
    border-top: none;
    border-bottom: 1px #C0B8AF solid;
    margin-bottom: 12px;
    padding: 0;
}

.post-date {
    margin: 0 0 2px 0;
    font-size: 12px;
    color: #6e6a67;
}

.post-entery {
    display: block;
}

.post-title {
    color: #34312e;
    display: block;
    font: bold 12px/14px Arial;
    margin: 0 0 5px;
    padding: 0;
    text-decoration: none;
    text-transform: inherit;
}

.post-title p {
    font-size: 12px;
    font-weight: 300;
}

/* Edition newspapper
=================================*/

.content-edition {
    width: 850px;
    margin: 0 40px 0 10px;
    background-color: #e0d9d1;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.contant-edition-title {
    color: #fef8ed;
    font: bold 35px 'Bitter';
    text-align: center;
    margin-bottom: 10px;
    background-color: #c0b8af;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.container-edition {
    display: flex;
    justify-content: space-between;
    background-color: #e0d9d1;
    padding: 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.edition {
    max-width: 335px;
    margin: 0 auto;
    padding: 10px;
    background-color:rgb(34 34 34 / 60%);
    border-radius: 7px;
    transition: background-color 0.2s linear;
}

.edition:hover {
    background-color: rgb(34 34 34 / 80%);
}

.edition-title {
    color: #f3f3f3;
    font: bold 17px 'Bitter';
    text-decoration: none;
    text-align: center;
    margin-bottom: 10px;
}

.edition-title a {
    color: #f3f3f3;
    text-decoration: none;
}

.edition-img {
    width: 100%;
}


/* Footer
=================================*/

.footer {
    width: 1250px;
    margin: 0 auto;
    background-color:#020001;
    color: #a89d90;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer h4 {
    color: #c0b8af;
    font: bold 18px/24px 'Bitter';
    letter-spacing: 0.02em;
}

.contacts {
    margin: 25px;
}

.contacts a {
    text-decoration: none;
    color: #a89d90;
    transition: color 0.2s linear;
}

.contacts a:hover {
    color: #cecccb;
}

/* copyright
=================================*/

.copyright {
    width: 1250px;
    margin: 0 auto;
    padding-bottom: 5px;
    background-color:#020001;
    color: #a89d90;
    /* display: flex;
    justify-content: space-between;
    align-items: center; */
}

.footer h4 {
    color: #c0b8af;
    font: bold 18px/24px 'Bitter';
    letter-spacing: 0.02em;
}

.contacts {
    margin: 25px;
}

.contacts a {
    text-decoration: none;
    color: #a89d90;
    transition: color 0.2s linear;
}

.contacts a:hover {
    color: #cecccb;
}

.copyright a {
    text-decoration: none;
    color: #cecccb;
    /* color: #a89d90; */
    transition: color 0.2s linear;
}

.copyright a:hover {
    /* color: #cecccb; */
    color: #a89d90;
}