﻿.free-learning .content-block-sh__title span{
   margin-right: 10px;
}

.page .show-select-link, .show-select-link{
    font-weight: 600;
    color: #2580C3;
    display: inline-block;
    text-transform: lowercase;
}

    .page .show-select-link::after, .show-select-link::after {
        display: inline-block;
        margin-top: -4px;
        content: "\2b9f";
        font-weight: 600;
        font-size: 11px;
        color: #2580C3;
        margin-left: 5px;
    }

.select-teacher-modal-shadow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    display: none;
    font-family: Montserrat, sans-serif;
}

    .select-teacher-modal-shadow.active, .modal.modal2024.select-teacher-modal-shadow.active {
        display: block;
    }

.modal2024 .modal-body.select-teacher-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 450px;
    background: white;
    border-radius: 5px;
    padding: 32px;
    width: 96%;
    max-height: 100vh;
    overflow: auto;
}

.select-teacher-modal input[type="radio"]:before, .select-teacher-modal input[type="radio"]:checked::after {
    display: none !important;
}

.page .select-teacher-header, .select-teacher-header {
    color: #2E2E2E;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 24px;
    max-width: 300px;
    font-family: Montserrat, sans-serif;
}

.page .select-teachers-list, .select-teachers-list{
    padding-left: 0;
    margin-bottom: 16px;
    max-height: 80vh;
    overflow: auto;
}

.page .select-teachers-item, .select-teachers-item {    
    margin: 0;
    
}

    .page .select-teachers-item label, .select-teachers-item label {
        padding: 12px ;
        border-radius: 10px;
        cursor: pointer;
    }
    
    
    .page .select-teachers-item label:has(input:checked), .select-teachers-item label:has(input:checked) {       
        background:  #EFF2F7;
    }


.select-teachers-item label {
    display: flex;
}

.select-teacher-input {
    align-self: center;
    margin-right: 0;
    margin-left: auto;
    order:1;
    /*opacity: 0;*/

}

    .select-teacher-input:checked {
        opacity:1;
    }

.select-photo-wrapper {
    display: block;
    flex-shrink: 0;
    flex-basis: 76px;
    margin-right: 10px;
    border-radius: 5px;
    overflow: hidden;
    align-items: flex-start;
}

.select-photo-wrapper img{
    display: block;
}
 
.page .select-responses-link, .select-responses-link {
    font-size: 11px;
    color: #004677;
}

.page .teacher-name, .teacher-name, .free-learning .teacher-name {
    margin-bottom: 5px;
    font-size: 16px;
}

    .page .teacher-name{
        margin-bottom: 0;
    }
    .page .teacher-name a, .teacher-name a {
        color:inherit;
    }

.select-teacher-button {
    display: block;
    margin: 0 auto;
    width: 100%;
    border: none;
    color: white;
    background: #FF5800;
    border-radius: 10px;
    padding: 13px 18px;
    cursor: pointer;
    font-size: 16px;
    border: 1px solid #FF5800;
    transition: all, 0.3s;
}

    .select-teacher-button:hover {
        background: white;
        color: #FF5800;
        transition: all, 0.3s;
    }


.select-teacher-popup-close {
    display: block;
    position: absolute;
    right: 20px;
    width: 20px;
    height: 20px;   
    color: white;
    top: 10px;
    background: transparent;
    border: none;
    padding: 0;   
    cursor: pointer;
}

    .select-teacher-popup-close svg {
        stroke: #2E2E2E;
        max-width: 100%;
        display: block;
    }


@media (max-width: 650px) {
    .select-teacher-popup-close {
        right: 0;
    }

    .select-teacher-modal{
        max-width: 96%;
    }
}

@media (max-width: 500px) {
    .page .content-block-sh .free-learning  .sh-teacher {
        display: block;
    }

    .page .free-learning .content-block-sh__teachers {
        display: none;
    }

}

@media (max-width: 350px){
    .page .show-select-link, .show-select-link{
        text-align: center;
    }
}