* {
    font-family: Verdana, Helvetica, Arial, Tahoma, sans-serif;
}

button, input[type="button"], input[type="submit"], input[type="reset"], input[type="text"] {
    -webkit-appearance: none;
    border-radius: 0;
    -webkit-border-radius: 0;
}

.stop-img { 
    user-select: none;
    pointer-events: none;
}

.loaderbutton {
    position: relative;
}

.loaderbutton::after {
    content: '';
    width: 1.1em;
    height: 1.1em;
    position: absolute;
    left: calc(50% - 0.75em);
    top: calc(50% - 0.75em);
    border: 0.2em solid transparent;
    border-right-color: #dfddd3;
    border-radius: 50%;
    animation: loader-animation 0.7s linear infinite;
    opacity: 0;
}

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

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

.loaderbutton.loading {
    color: transparent;
    opacity:0.33;
}

.loaderbutton.loading::after {
    opacity: 0.77;
}


/* Цветовые стили */

.cd-color1 {
    color: #990000;
}
.cd-color2 {
    color: #364875;
}


/* Стили блоков */

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

.cd {
    min-width: 240px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.cd header {
    height: 135px;
    background-color: #000000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url( /static/img/classic_design/line1_bg1_standart.jpg );
    background-repeat: repeat-x;
    background-position: top center;
}

.cd footer {
    height: 40px;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url( /static/img/classic_design/line1_bg2_standart.jpg );
    background-repeat: repeat-x;
    background-position: top center;
    padding-top: 6px;
    color:#DFD3A3;
    font-size: 9pt;
    text-align: center;
}


.cd main {
    flex: 1;
    background-color: #3D3D3B;
}

.cd main {
    display: flex;
    flex: 1;
    justify-content: center;
    padding: 0;
}

.content-container {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #f2e5b1;
}

.content-columns {
    display: flex;
    height: 100%;
    width: 100%;
}

.column-a {
    width: 29px;
    height: 100%;
    background-image: url( /static/img/classic_design/line1_bg3_left_standart.jpg );
    background-repeat: repeat-y;
}

.column-b {
    width: 118px;
    height: 100%;
    background-color: #f2e5b1;
}

.column-c {
    flex: 1;
    height: 100%;
    /* padding: 20px; */
    overflow-y: auto;
}

.column-d {
    width: 139px;
    height: 100%;
    background-color:#f2e5b1;
    display: flex;
    flex-direction: column;
}

.column-e {
    width: 23px;
    height: 100%;
    background-image: url( /static/img/classic_design/line1_bg3_right_standart.jpg );  
    background-repeat: repeat-y;
}


.column-top {
    
}

.column-middle {
    margin: auto 0;
}

.column-bottom {
    margin-top: auto;
}






/* Элементы формы */
.cd-btn {
    height: 20px;
    margin-top: 1px;
    margin-bottom: 2px;
    padding: 3px 4px;
    border-right: #817a63 1px double;
    border-top: #817a63 1px double;
    border-left: #817a63 1px double;
    border-bottom: #817a63 1px double;
    font-size: 7.5pt;
    /*font-family: Verdana, Arial, Helvetica, sans-serif;*/
    color: #dfddd3;    
    background-color: #2b2b18;
    position: relative;
}
.cd-inp {
    height: 20px;
    margin-top: -1px;
    margin-bottom: 2px;
    padding: 3px 4px;
    border-right: #302F2A 1px double;
    border-top: #302F2A 1px double;
    border-left: #302F2A 1px double;
    border-bottom: #302F2A 1px double;
    font-size: 8pt;
    /*font-family: Verdana, Arial, Helvetica, sans-serif;*/
    color: #000000;
    background-color: #DED7BD;
}
.cd-inp:disabled {
    opacity: 0.77;
}
.cd-inp-max100 {

}
.cd-line-error {
    color:red;
    font-weight: bolder;
}
.cd-line-mob1 {
    
}
.cd-menu-mob-content {
    top: 0px;
    right: 0px;
    display: none;
    position: fixed;
    background-color: rgb(55,51,36,0.78);
    width: 100%;
    height: 100%;
    z-index: 2;
}










/* Для экранов меньше 768px (мобильные) */
@media (max-width: 768px) {
    .cd-line-mob1 {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        margin-bottom: 10px;
    }
    .cd-inp-max100 {
        display: flex;
        align-items: center;
        width:100% !important;
        margin-bottom: 5px;
    }
    .cd-inp-max100 select {
        flex: 1;
        display: block;
        margin-left: 10px;
        text-align: center;
    }
    .cd-inp-max100 input[type="radio"]:nth-of-type(1) {
        margin-bottom: 10px;
    }
}

/* Для экранов меньше 992px */
@media (max-width: 992px) {
    .cd-menu-mob-leftimg {
        display: none;
    }
    .cd-btn-menu {
        display: block !important;
    }
    .column-a img {
        display: none;
    }
    .column-b {
        /*display: none;*/
        overflow: auto;
        overflow-x: hidden;
        position: absolute;
        z-index: 2;
        left: -260px;
        width: 260px;
        top:0px;
        padding: 12px;
    }
    .cd-left-menu-forum {
        max-width: 260px !important;
    }
    .column-d {
        width: 90px !important;
    }
    .column-d img {
        max-width: 90px !important;
    }
    .cd-inp {
        font-size: 16px;
        height: 29px;
        border-radius: 0;
    }
    .cd-btn {
        height: 29px;
        vertical-align: middle;
        margin-top: -3px;
    }
    .content-container {
        max-width: 100% !important;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .column-a , .column-d , .column-e {
        display:none;
    }
    .column-c {
        padding: 5px;
    }
}

