a{
    cursor:pointer;
    text-decoration:none;
}
a:hover{
    cursor:pointer;
    text-decoration:none;
}

.tab-container{
    margin-top:20px;
}

.nav-tabs{
    border:0;
    text-align:center;
}
.nav-tabs > li{
    margin:0;
    float:none;
    display:inline-block;
}

.nav-tabs > li > a{
    font-size: 18px;
    border:0 !important;
    font-weight:bolder;
    color:#0FA2FF;
    padding: 10px 25px;
}

.nav-tabs > li.active > a{
    background: #0FA2FF !important;
    border:0px !important;
    color:#fff !important;
}

.nav-tabs > li > a:hover{
    background: #0FA2FF;
    border:0px;
    color:#fff;
}

.tab-pane form{
    padding:16px;
    margin:20px auto;
    width:60%;
}

.programm_info{
    text-align: center;
    line-height:22px;
    width:50%;
    margin:auto;
}
.programm_info strong{
    display:block;
    text-align:center;
    font-size: 16px;
    margin-bottom:10px;
}

.programm_info p{
    display:block;
    text-align:left;
    margin:auto;
    width: 73%;

}

h2{
    display:block;
    margin:25px 0 15px 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
    text-align: center;
}

h1{
    display:block;
    margin:25px 0 15px 0;
    font-size: 32px;
    font-weight: 600;
    line-height: 50px;
    text-align: center;
}

.menu_city{
    list-style:none;
    display:block;
    text-align:center;
    margin: 25px 0;
    padding: 0;
}

.menu_city li{

    display:inline-block;
    border: 5px solid #0FA2FF;
    border-radius: 16px;
    padding: 15px 25px;
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
    margin: 0 10px 25px 0;
    box-shadow: 0px 4px 4px 0px #00000040;
    cursor:pointer;

}

.list_dates{
    display:block;
    list-style:none;
    margin: 0 0 0 10px;
    padding: 0;
}

.list_dates li{

    display:inline-block;
    width:19.3%;
    cursor:pointer;
    margin: 0 0 35px 0;
    padding: 0;


}

.list_dates li label{
    display:block;
    border: 5px solid #0FA2FF;
    border-radius: 16px;
    padding: 15px 25px;
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
    margin: 0 0 0 15px;
    box-shadow: 0px 4px 4px 0px #00000040;
    cursor:pointer;
}

.list_dates li input[type="radio"]:checked + label{
     color:#009D25;
     border-color:#009D25;
}

.list_dates li input[type="radio"]:disabled + label{
    color:#9A9A9A;
    border-color:#686868;
    cursor: default;
    position:relative;

}

.list_dates li input[type="radio"]:disabled + label::before{
    content: "На это время уже нет свободных мест, выберите другое из списка";
    display:block;
    position:absolute;
    color: red;
    width:240px;
    padding: 7px;
    font-size: 12px;
    line-height: 16px;
    top: -45px;
    left: 0;
    background-color: #ffffffc4;
    border-radius: 6px;
    margin-left:-20px;
}


.item-rs-h3{
    display: block;
    box-shadow: 0px 4px 4px 0px #00000040;
    font-size: 24px;
    font-weight: 700;
    line-height: 84px;
    text-align: left;
    padding: 5px 0 0px 100px;
    border-radius: 16px;
    margin-bottom: 25px;
    position: relative;
    height: 86px;
    cursor:pointer;
}

.item-rs-h3::before {
    content:"";
    position:absolute;
    width:64px;
    height:64px;
    background-repeat:no-repeat;
    background-size:cover;
    background-position:center center;
    background-image:url("/web/img/citis-icon.svg");
    top:12px;
    left:12px;
}

.item-rs-h3::after {
    content: "";
    width: 64px;
    height: 64px;
    position: absolute;
    top: 15px;
    right: 0px;
    background: url("/web/img/chevron-down.svg") center/contain no-repeat;
}

.item-rs-h3.active::after {
    transform: rotate(180deg);
}

.btn-submit:disabled{
    background-color:#859198;
    cursor:default;
    color:#E9EDF9;
}


.list_dates li input{
    opacity:0;
    position:absolute;
    width:1px;
    height:1px;
}


.err{
    color:red;
    margin:10px 0;
}

form label{

    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    text-align: left;
    margin-bottom:8px;

}

form input{
    border-radius: 16px;
    border: 1px solid #000000;
    width:100%;
    height:56px;
    padding: 0 16px;

}

.has-error input{
    border: 1px solid red;
}

.btn-submit {

    padding: 16px 24px 16px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align:center;
    text-transform:uppercase;
    background: #0FA2FF;
    border:0px;
    color:#fff;
    margin: 20px 0 25px;

}

.clear_radio_select{
    padding: 18px 10px 18px 10px;;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align:center;
    text-transform:uppercase;
    background:#ED2836;
    border:0px;
    color:#ffffff;
    cursor:pointer;
    margin-left: 25px;
    text-decoration:none;
}
.clear_radio_select:hover{
    color:#ffffff;
}

.notes{
    padding:20px;
    font-size:18px;
    line-height:22px;
}

.notes ul{
    margin:20px 0;
}

.notes ul li{
    margin-bottom:10px;
}

@media (max-width: 992px) {
    .tab-pane form{
        width:80%;
    }
}

@media (max-width: 480px) {
    .tab-pane form{
        width:98%;
    }

    .list_dates li{
        width:48.5%;
        margin-bottom: 15px;
    }

    .menu_city li{
        font-size:20px;
    }

    h1{
        font-size:24px;
    }

    h2{
        font-size: 18px;
        padding: 0 25px;
    }

    .item-rs-h3{
        font-size:14px;
        line-height: 42px;
        overflow:hidden;
        text-overflow: ellipsis;
        padding: 5px 0 0px 56px;
        border-radius: 8px;
        height: 52px;
        margin: 3px 6px 15px 6px;
    }

    .item-rs-h3::before {

        width:32px;
        height:32px;
        top:12px;
        left:12px;
    }

    .item-rs-h3::after {

        width: 32px;
        height: 32px;

    }

    .list_dates li label{
        border-radius:12px;
        padding:8px 20px;
        font-size:18px;
    }

    .list_dates{
        margin:0 0 0 -5px;
    }

    .accordion {
        margin-bottom: 15px;
    }

    .btn-submit {
        margin-bottom: 45px;
    }

    .clear_radio_select {
        margin:0;

    }

    .programm_info{
        width:100%;
    }
    .programm_info p{
        width:100%;
    }
}