:root {
    --vh: 100vh;
    --fs1: 10pt; /* cd-news-block */
    --fs2: 10pt;
    --fs3: 10pt;
    --fs4: 10pt;
    --fs5: 7pt;
    --fs6: 16px;
}



* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    background-image: url("/static/img/classic_design/news/bagr.gif");
}

body {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

h1 {
    font-size: 14px;
}
h2 {
    font-size: 16px;
}
.h2clearp h2 {
    all: unset;
    font-size: 14px;
}
input {
    font-size: var(--fs6);
}
ol {
    padding-left: 20px;
}
li {
    padding-bottom: 0.5em;
}


.cd-a1:link, .cd-a1:visited, .cd-a1:active {
    color:#FFEAEA;
}
.cd-a1:hover {
    color:#FFFFFF;
}

.cd-a2:link, .cd-a2:visited, .cd-a2:active {
    font-weight: normal;
    text-decoration: none;
    color: #800000;
}
.cd-a2:hover {
    color:#9E0000;
    text-decoration: underline;
}

.cd-pagination-a:link, .cd-pagination-a:visited, .cd-pagination-a:active {
    color:#800000;
    text-decoration: none;
    font-size: 12px;
    display: inline-block;
    padding: 2px 3px;
    font-weight: normal;
    padding: 2px 5px;
    border: 1px solid #ede9da;
}
.cd-pagination-a:hover {
    text-decoration: underline;
}
.cd-pagination-a0:link, .cd-pagination-a0:visited, .cd-pagination-a0:active {
    color:#800000;
    text-decoration: none;
    font-size: 12px;
    display: inline-block;
    padding: 2px 3px;
    font-weight: normal;
}
.cd-pagination-a0:hover {
    text-decoration: underline;
}
.cd-pagination-a-sel:link, .cd-pagination-a-sel:visited, .cd-pagination-a-sel:active {
    color:#800000;
    background-color: #ede9da;
    text-decoration: none;
    padding: 2px 5px;
    border: 1px solid #ede9da;
    font-weight: bolder;
}
.cd-pagination {
    display: flex;
    width: 100%;
    position: relative;
    margin: 20px 0;
}

.cd-pagination-left {
    width: 110px;
    text-align: left;
    flex-shrink: 0;
}

.cd-pagination-right {
    width: 110px;
    text-align: right;
    flex-shrink: 0;
}

.cd-pagination-center {
    flex-grow: 1;
    text-align: center;
}


.iimg {
    vertical-align: text-bottom;
    margin-bottom: 1px;
}
.mimg {
    vertical-align: middle;
}

.cd-icon-text {
    display: inline-block;
    width: 15px;
    border: 1px solid rgba(94,0,0,0.25);
    border-radius: 10px;
    text-align: center;
}


.news-main {
    width: 90%;
    max-width: 1600px;
    /* min-height: 100vh; */
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background-color: grey;
}

header {
    width: 100%;
    height: 76px;
    min-height: 76px;
    max-height: 76px;
    background-color: #690000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: right;
    background-image: url("/static/img/classic_design/news_logo.jpg");
    background-repeat: no-repeat;
    background-position: left center;
}
    
.header_menu {
    width: 100%;
    height: 36px;
    background-color: #ca0000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: letf;
}
.hm-icon {
    width: 24px;
    height: 24px;
}
.hm-a {
    width:60px;
    display: inline-block;
    text-align: center;
    background-image: url(/static/svg/icon_news--09.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.hm-a img {
    opacity: 0.85;
}
.hm-a:hover img {
    transform: scale(1.1);
    opacity: 1;
    filter: sepia(1) saturate(0);
}
.hm-a p {
    opacity: 0.8;
    color:#fff;
    font-size: var(--fs5);
    margin-bottom: 12px;
}
.hm-a:hover p {
    opacity: 1;
    color:#fff;
}
.hm-a-selected p {
    opacity: 1;
    color:#fff;
    transform: scale(1.3);
    margin-bottom: 16px;
}
.hm-a-selected img {
    opacity: 1;
    transform: scale(1.3);
}
.hm-a-selected:hover img {
    transform: scale(1.3);
    opacity: 1;
    filter: sepia(1) saturate(0);
}



.content {
    flex: 1;
    display: flex;
    background-color: #efefef;
    border-left: 1px solid #222;
    border-right: 1px solid #222;
}

.left-menu {
    position: relative;
    width: 200px;
    background-color: #f5f1e5;
    /* overflow: hidden; */
}
.left-menu-scroll {
    overflow-x: hidden;
    overflow-y: auto;
    max-height: inherit;
}

.main-content {
    flex: 1;
    background-color: #ffffff;
}

.right-menu {
    position: relative;
    width: 195px;
    background-color: #f5f1e5;
}

footer {
    width: 100%;
    height: 37px;
    padding-bottom: 10px;
    background-color: #ca0000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
    
.bg-line-gradient1 {
    background: #D30000;
    background: -webkit-linear-gradient(rgba(211, 0, 0, 1) 0%, rgba(215, 6, 6, 1) 8%, rgba(246, 157, 157, 1) 15%, rgba(246, 157, 157, 1) 19%, rgba(202, 0, 0, 1) 36%, rgba(220, 0, 0, 1) 67%, rgba(254, 0, 0, 1) 100%);
    background: -o-linear-gradient(rgba(211, 0, 0, 1) 0%, rgba(215, 6, 6, 1) 8%, rgba(246, 157, 157, 1) 15%, rgba(246, 157, 157, 1) 19%, rgba(202, 0, 0, 1) 36%, rgba(220, 0, 0, 1) 67%, rgba(254, 0, 0, 1) 100%);
    background: linear-gradient(rgba(211, 0, 0, 1) 0%, rgba(215, 6, 6, 1) 8%, rgba(246, 157, 157, 1) 15%, rgba(246, 157, 157, 1) 19%, rgba(202, 0, 0, 1) 36%, rgba(220, 0, 0, 1) 67%, rgba(254, 0, 0, 1) 100%);
}
.bg-line-gradient1r {
    background: #D30000;
    background: -webkit-linear-gradient(bottom, rgba(211, 0, 0, 1) 0%, rgba(215, 6, 6, 1) 8%, rgba(246, 157, 157, 1) 15%, rgba(246, 157, 157, 1) 19%, rgba(202, 0, 0, 1) 36%, rgba(220, 0, 0, 1) 67%, rgba(254, 0, 0, 1) 100%);
    background: -o-linear-gradient(bottom, rgba(211, 0, 0, 1) 0%, rgba(215, 6, 6, 1) 8%, rgba(246, 157, 157, 1) 15%, rgba(246, 157, 157, 1) 19%, rgba(202, 0, 0, 1) 36%, rgba(220, 0, 0, 1) 67%, rgba(254, 0, 0, 1) 100%);
    background: linear-gradient(to top, rgba(211, 0, 0, 1) 0%, rgba(215, 6, 6, 1) 8%, rgba(246, 157, 157, 1) 15%, rgba(246, 157, 157, 1) 19%, rgba(202, 0, 0, 1) 36%, rgba(220, 0, 0, 1) 67%, rgba(254, 0, 0, 1) 100%);  
}
.bg-line-gradient1-b {
    border-top:1px solid #454545;
    border-bottom:1px solid #ab0302;
}

.shadow-bottom {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.pt20 {
    padding-top: 20px;
}

.cd-news-block {
    position: relative;
    border:1px solid #e7dfc4;
    background-color: #e8dfc5;
    font-size: var(--fs1);    
}
.cd-news-block-left {
    margin-right: -5px;
}
.cd-news-block-right {
    margin-left: -5px;
}
.cd-news-block p {
    padding: 5px 0;
}
.cd-news-block .cdnb-title {
    padding: 5px 7px;
    color: #ca0000;
    background-color: #e8dfc5;
    border-top:1px solid #fbfaf6;
    background: -webkit-linear-gradient(rgba(232, 223, 197, 1) 0%, rgba(240, 235, 218, 1) 48%, rgba(250, 249, 244, 1) 100%);
    background: -o-linear-gradient(rgba(232, 223, 197, 1) 0%, rgba(240, 235, 218, 1) 48%, rgba(250, 249, 244, 1) 100%);
    background: linear-gradient(rgba(232, 223, 197, 1) 0%, rgba(240, 235, 218, 1) 48%, rgba(250, 249, 244, 1) 100%);
    border-bottom:1px solid #e7dfc4;
}
.cd-news-block .cdnb-content {
    padding: 5px 7px;
    background-color: #fbfaf6;
}



.sh-right {
    z-index: 1;
}
.sh-right:before {
    position: absolute;
    content: "";
    width: 57%;
    height: 24px;
    background-color: transparent;
    left: 5px;
    bottom: 12px;
    box-shadow: 85px 8px 0px -5px #e7dfc4;
    transform: rotate(7deg);
    z-index: -1;
}

.sh-left {
    z-index: 1;
}
.sh-left:before {
    position: absolute;
    content: "";
    width: 57%;
    height: 24px;
    background-color: transparent;
    left: 5px;
    bottom: 12px;
    box-shadow: -9px 20px 1px -5px #e7dfc4;
    transform: rotate(-7deg);
    z-index: -1;
}



.cd-content-page {
    padding: 10px 20px;
}





.cd-cities {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.cd-city-box {
    display: flex;
    align-items: center;
    flex: 1 1 240px;
    margin: 10px;
    box-sizing: border-box;
}
.cd-city-box img {
    max-width: 100px;
    height: auto;
    margin-right: 10px;
}




.cd-news-menu {
    position: fixed;
    right: 6px;
    top: 6px;
    display: none;
    z-index: 3;
}
.cd-menu-mob-content {
    top: 0px;
    right: 0px;
    display: none;
    position: fixed;
    background-color: rgb(231, 223, 196 , 0.91);
    width: 100%;
    height: 100%;
    z-index: 2;
}






/* Раздел новости */
.cd-rt-com {
    color: #afab9f;
}
.cd-news-line-br {
    margin-top: 8px;
    margin-bottom: 18px;
}
.cd-news-line {
    border:1px solid #917c51;
    background-color: #ede9da;
    border-top:none;
    font-size: var(--fs2);
}
.cd-news-line-title h2 {
    all: unset;
}
.cd-news-line-title h1 {
    all: unset;
}
.cd-news-line-title {
    color:#ffffff;
    font-weight: bolder;
    padding: 6px;
    border-bottom: 1px solid #917c51;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hidden-p {
    position: absolute;
    left: -9999px;
    top: -9999px;
}
.cd-news-line-time {
    color: #FFFF80;
    font-weight: normal;
    /* float: right; */
    white-space: nowrap;
}
.cd-news-line-content {
    border-top:1px solid #ffffff;
    border-bottom:1px solid #917c51;
    padding: 6px;
}
.cd-news-line-comments {
    border-top:1px solid #ffffff;
    padding: 3px;
    padding-left: 6px;
}
.cd-news-line-comments a {
    color:#800000;
    font-weight: normal;
}
.cd-news-line-comments a:hover {
    text-decoration: underline;
}
.cd-news-line-shadow {
    -webkit-box-shadow: 5px 5px 2px -2px rgba(219, 219, 219, 0.70);
    -moz-box-shadow: 5px 5px 2px -2px rgba(219, 219, 219, 0.70);
    box-shadow: 5px 5px 2px -2px rgba(219, 219, 219, 0.70);
}
.cd-news-input {
    border: 1px solid #e7dfc4;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f5f1e5;
    padding: 3px 10px;
}
.cd-news-btn, .cd-news-btn:link, .cd-news-btn:visited, .cd-news-btn:active {
    color:#4e4828;
    border:1px solid #cfccab;
    background-color: #faf5e1;
    padding: 5px 10px;
    cursor: pointer;
}
.cd-news-btn:hover:not(:disabled) {
    background-color: #F6EECD;
}
.cd-news-btn:active:not(:disabled) {
    transform: scale(0.95);
}
.cd-news-btn:disabled {
    cursor: default;
}
.cd-news-btn2, .cd-news-btn2:link, .cd-news-btn2:visited, .cd-news-btn2:active {
    color:#4e4828;
    border:1px solid #cfccab;
    background-color: #d9d3c3;
    padding: 5px 10px;
    cursor: pointer;
}
.cd-news-btn2:hover:not(:disabled) {
    background-color: #D1CAB7;
}
.cd-news-btn2:active:not(:disabled) {
    transform: scale(0.95);
}
.cd-news-btn2:disabled {
    cursor: default;
}
.cd-content-infos {
    border: 1px dotted #DDDDDD;
    padding: 5px 10px;
}
.cd-pagination-full {
    padding-top:10px;
    text-align: center;
}
.cd-pagination-mini {
    display: none;
    padding-top:10px;
    text-align: center;
}
.cd-pagination-mini-a {
    color:#ab0302;
    display: inline-block;
    background-color: #ffffff;
    border:1px solid #ede9da;
    padding: 5px;
    min-width: 35px;
    margin-bottom: 5px;
}
.cd-pagination-mini-a-sel {
    background-color: #ede9da;
    border:1px solid #ede9da;
}
.cd-news-helpmenu1 {
    border-bottom:1px solid #aa0000;
    padding-bottom:5px;
    margin-bottom:10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cd-news-helpmenu2 {
    border-top:1px solid #aa0000;
    padding-top:5px;
    margin-top:10px;
}
.cd-news-helpmenu3 {
    border-top:1px solid #aa0000;
    padding-top:5px;
    margin-top:10px;
    display: flex;
    justify-content: center;
    align-items: center;
}



.cd-news-com {
    background-color: #fbfaf6;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 15px;
    border: 1px solid #e7dfc4;
}
.cd-news-com-title {
    padding: 5px;
    background-color: #f7f3e7;
    border-bottom: 1px solid #e7dfc4;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cd-news-com-login {
    flex:1;
}
.cd-news-com-time {
    font-size: 8pt;
}
.cd-news-com-text {
    padding: 5px;
}
.cd-news-com-rating {
    margin-right: 5px;
    border-radius: 20px;
}
.cd-news-com-rating img {
    /*margin: 2px;*/
}
.cd_news_crating_loading {
    position: relative;
    cursor: default;
}
.cd_news_crating_loading:not(:disabled) {
    background-color: #FAF8F3;
}
.cd_news_crating_loading img {
    opacity: 0.33;
    cursor: default;
}
.cd_news_crating_loading::after {
    content: '';
    width: 1.1em;
    height: 1.1em;
    position: absolute;
    top: calc(45% - 0.75em);
    border: 0.2em solid transparent;
    border-right-color: #d64d47;
    border-radius: 50%;
    animation: loader-animation 0.7s linear infinite;
    opacity: 0;
}
.cd_news_crating_loading_star1::after {
    left: calc(10% - 0.75em);
}
.cd_news_crating_loading_star2::after {
    left: calc(30% - 0.75em);
}
.cd_news_crating_loading_star3::after {
    left: calc(50% - 0.75em);
}
.cd_news_crating_loading_star4::after {
    left: calc(70% - 0.75em);
}
.cd_news_crating_loading_star5::after {
    left: calc(90% - 0.75em);
}
.cd_news_crating_loading_star0::after {
    top: calc(50% - 0.75em);
    left: calc(50% - 0.75em);
}
.cd-ncr-star-div {
    /*display: inline-block;*/
    overflow: hidden;
    width: 12px;
    height: 12px;
    padding: 0;
    margin: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.wrapper {
    display: flex;
    justify-content: right;
    align-items: center;
    min-width: 105px;
}
.cd-news-stttl-line {
    display: flex;
    justify-content: center;
    align-items: center;
}
.cd-news-stttl-line .cd-news-com-time {
    flex:1;
    margin-left: 20px;
}
/*.cd-ncr-star-div img {
    display: inline-block;
    overflow: hidden;
    width: 12px;
    height: 12px;
    padding: 0;
    margin: 2px;
}*/
.cd-ncr-star-highlight {
    border-radius: 10px;
    /*outline: 2px solid #d64d47;*/
    border:2px solid #d64d47;
    width: 14px;
    height: 14px;
    margin: 0px;
}
.cd-news-com-rating-sel-star {
    border:1px solid #937d31;
    border-radius: 5px;
}

@keyframes loader-animation {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}

.cd_news_crating_loading.loading {
    color: transparent;
    opacity:1;
}

.cd_news_crating_loading.loading::after {
    opacity: 1;
}








.cd-news-src-open, .cd-news-src-open:link, .cd-news-src-open:visited, .cd-news-src-open:active {
    font-weight: normal;
}
.cd-news-src-open:hover {
    text-decoration: underline;
}
.cd-news-src-content {
    margin-top:10px;
    padding: 10px;
    border:1px solid rgba(224,224,224,1.00);
}
.cd-news-src-inp1 {
    padding: 2px 5px;
    border: 1px solid #808080;
    border-radius: 2px;
}
.cd-news-src-btn1 {
    padding: 2px 5px;
    border: 1px solid #808080;
    border-radius: 2px;
    background-color: #808080;
    color:#fff;
    cursor: pointer;
}
.cd-news-src-btn1:hover {
    background-color: #727272;
}
.cd-news-src-btn1:active {
    transform: scale(0.95);
}
#sn_t1 ,#sn_t2 ,#sn_t3 ,#sn_t4 {
    margin-right: 5px;
    vertical-align: middle;
}
.wsnw {
    white-space: nowrap;
}
.cd-news-area1 {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    min-height: 60px;
    padding: 5px;
    background-color: #fff;
    border: 1px solid #e7dfc4;
}
.cd-comment-line2 {
    background-color: #f8f7ef;
    padding: 5px;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}
.cd-comment-line2-symb {
    flex: 1;
}
.cd-comment-line2-symb-btn1 {
    padding:2px 8px;
}
.cd-comment-line2-symb-btn1:active {
    padding:2px 8px;
}








.cd-news-anons-line {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.cd-news-anons-line-ln {
    display: inline-block;
    border-bottom:1px solid #aa0000;
    padding: 10px;
    margin-bottom: 10px;
    min-width: 300px;
}






.cd-vote-radioline {
    margin-top: 20px;
    padding-top: 2px;
}

.cd-vote-radioline-box {
    display: inline-block;
    width: 15px;
    height: 15px;
    vertical-align: middle;
    margin-top: -4px;
    margin-right: 5px;
    border: 1px solid #fff;
    border-radius: 2px;
}
.cd-votes-prc {
    display: inline-block;
}
.cd-voter-body {
    display: flex;
}
.cd-voter-img {
    min-width:200px;
    padding: 10px;
    text-align: center;
}
.cd-voter-ans {
    flex:1;
}
.cd-vote-checkedme {
    background-color: #dbd6c3;
}



.cd-wmSrc1 {
    
}
.cd-wmSrc2 {
    display: none;
    margin-top: 10px;
    width:100%;
    padding: 5px;
}




/* Адаптивность */
@media (max-width: 768px) {
    .hm-a { 
        width: calc( 25% - 14px );
        margin-bottom: -5px;
    }
    .header_menu {
        /*order: 2;*/
        justify-content: center;
        border-bottom: 10px solid red;
    }
    footer {
        min-height: 37px;
    }
    footer {
        /*order: 3;*/
        width: 100%;
        /*height: 18px;
        padding-bottom: 2px;*/
        color:#f97575;
    }
}
@media (max-width: 1100px) {
    .news-main {
        width: 100%;
        border-left: none;
        border-right: none;
    }
    .content {
        border-left: none;
        border-right: none;
    }
    .right-menu {
        display: none;
    }
    .cd-content-page {
        padding: 10px 5px;
    }
    .cd-news-menu {
        display: inline-block !important;
    }
    .cd-menu-mob-content {
        /* display: block; */
    }
    .left-menu {
        top: 0px;
        left: -260px;
        display: block;
        position: fixed;
        width: 250px;
        height: 100%;
        z-index: 2;
        overflow: auto;
        overflow-x: hidden;
        background-color: rgba(255,255,255,0.60);
    }
    .left-menu-scroll {
        
    }
    .cd-news-block-left {
        margin-right: 5px;
    }
    .cd-news-block p a {
        display: block;
        width: 100%;
    }
    .cd-news-block p {
        padding: 10px 5px;
        font-size: var(--fs3);
        border-bottom:1px solid rgba(0,0,0,0.12);
    }
    .cd-news-block p:last-child {
        border-bottom: none;
    }
    .cdnb-title {
        font-size: var(--fs4);
    }
}






/* FORUMEDITOR CBK */ 
.fecbk-textarea {
    width: 100%;
    resize: none;
    overflow: hidden;
    min-height: 50px;
    line-height: 1.5;
    box-sizing: border-box;
    margin-top: 0px !important;
}
.fecbk-toolbar {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    background: #D1C490;
    background: linear-gradient(0deg, rgb(237,230,210) 0%, rgb(247,245,236) 48%, rgb(251,250,246) 100%);
}
.fecbk-toolbar button {
    background: #A79651;
    background: linear-gradient(0deg, rgb(167, 150, 81) 0%, rgb(213, 200, 148) 48%, rgba(242, 229, 177, 1) 100%);
    border: 1px solid #f2e5b1;
    border-radius: 3px;
    /*padding: 5px 10px;*/
    cursor: pointer;
    width: 30px;
    height: 30px;
}
.fecbk-toolbar button:hover {
    background: #918346;
    background: linear-gradient(0deg, rgba(137,122,66,1.00) 0%, rgba(198,180,110,1.00) 48%, rgba(232,210,124,1.00) 100%);
}
.fecbk-pickbtn {
    border: 2px solid red;
}
.has_text {
    
}
/* FORUMEDITOR CBK */ 
















@media (max-width: 1350px) {
    .right-menu {
        display: none;
    }
    .cd-pagination-full {
        display: none;
    }
    .cd-pagination-mini {
        display: block;
    }
}
@media (max-width: 519px) {
    header {
        background-image: url("/static/img/classic_design/news_logo-mini.jpg");
    }
    .m450db {
        display: block;
    }
    .m450db:not(:first-child) {
        padding-top: 7px;
        text-align: right;
    }
    .cd-news-com-title {
        display: block;
    }
    .cd-voter-body {
        display: block;
    }
}
@media (max-width: 390px) {
    .cd-news-src-miniline {
        display: block;
        padding: 10px;
        text-align: left;
    } 
    .cd-news-src-minihide {
        display: none;
    }
    .cd-wmSrc1 {
        display: none;
    }
    .cd-wmSrc2 {
        display: block;
    }
}
@media (max-width: 318px) {
    header {
        background-image: url("/static/img/classic_design/news_logo-mini-2.jpg");
    }
}






















