/* font-family: "RobotoRegular"; */
@font-face {
    font-family: "Roboto-Regular";

    src: url(../font/Roboto-Regular.ttf) format("truetype");
}

@font-face {
    font-family: "Roboto Slab";

    src: url(../font/roboto-slab-regular_[allfont.ru].ttf) format("truetype");
}


.btn-yellow{
    color: #000;
    background-color: #e8c120;
    border-color: #e8c120;
}

.btn-gray{
    color: #fff;
    background-color: #383838;
    border-color: #383838;
}
a.btn-gray:hover{
    color: #fff;
}
.gray{
    color: #383838;
}
a.gray:hover{
    color: #383838;
}

.card-header{
    font-weight: 900;
}
.cream{
    background-color: #f2eacc;
}

 .custom-select.is-valid.yellow,
 .form-control.is-valid.yellow,
 .was-validated .custom-select:valid.yellow,
 .was-validated .form-control:valid.yellow
{
    border-color: #e8c120;
}

 .form-control:focus{
     border-color: #e8c120;
     box-shadow: none;
 }

.top-logo{
    height: 50px !important;
    background-image: url("/img/top-logo.png");
    background-repeat: no-repeat;
    background-position: center;
}
.bottom-logo{
    height: 20px !important;
    background-image: url("/img/bottom-logo.png");
    background-repeat: no-repeat;
    background-position: center;
}

body{
    background-color: #fff;
    font-family: Roboto-Regular;
    font-size: 16px;
}

nav{
    border-bottom: 2px solid #c0c0c0;
}
footer{
    border-top: 2px solid #c0c0c0;
    min-height: 400px;
}

footer .top-logo{
    height: 25px !important;
    background-size: 106px;
}
footer .bottom-logo{
    height: 10px !important;
    background-size: 106px;
}






main{
    min-height: 90vh;
}

.smi{
    display: inline-block;
    width: 50px;
    height: 50px;
    background-image: url("/img/smi.png");
}
.smi.vk{
    background-position-x: -58px;
}
.smi.fb{
    background-position-x: -116px;
}
.smi.inst{
    background-position-x: -174px;
}

footer .mail{
    border-bottom: 2px solid  #e8c120;
    padding-bottom: 10px;
}

h1{
    font-family: 'Roboto Slab', serif;
    font-size: 25px;
    font-weight: 500;
}

.card-header, footer div, .disclaimer{
    font-family: 'Roboto Slab';
    font-size: 14.4px;
}
.disclaimer a{
    color: black;
    text-decoration: underline;
}

.card-header{
    font-weight:  600;
}

.navbar-brand{
    font-size: .9rem;
    color: rgba(0,0,0,.5)!important;
}

.btn{
    font-family: 'Roboto Slab';
    font-size: 14.4px;
    font-weight: 600;
}

.navbar-brand .top-logo{
    height: 25px !important;
    background-size: 106px;
}
.navbar-brand .bottom-logo{
    height: 10px !important;
    background-size: 106px;
}
.navbar-brand{
    width: 106px;
}



.material-switch > input[type="checkbox"] {
    display: none;
}

.material-switch > label {
    cursor: pointer;
    height: 0px;
    position: relative;
    width: 40px;
    margin: 5px 13px;
}

.material-switch > label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position:absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
}
.material-switch > label::after {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 24px;
}
.material-switch > input[type="checkbox"]:checked + label::before {
    background: inherit;
    opacity: 0.5;
}
.material-switch > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 20px;
}
.label-warning {
    background-color: #e8c120;
}


.material-switch{
    margin-top: 5px;
}

.tspan{
    font-size: 14.4px;
}

.tspan.active{
    font-weight: bold;
}

table td, table th{
    font-size: 12px;
}
@media screen and (min-device-width: 600px) {
    table td, table th{
        font-size: 16px;
    }
}

