﻿.sidebar.sidebar-left {
    width: 325px;
}

.sidebar-teachers {
    max-width: 100%;
}

@media (max-width: 1023px) {
    .sidebar-teachers {
        max-width: 260px;
    }
}


    .cp-closest-group {
        padding: 35px 17px 40px 17px;
        box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.25);
        background-image: url('//cdn.specialist.ru/Content/File/Site_rework/index-2/i/calendar-alt-regular.png');
        background-repeat: no-repeat;
        background-position: right 90px;
        margin-bottom: 30px;
    }

    .page .cp-closest-group-header {
        font-family: Montserrat;
        font-style: normal;
        font-weight: 600;
        font-size: 16px;
        line-height: 1.2;
        color: #000000;
        padding-bottom: 10px;
        border-bottom: 1px solid #C4C4C4;
        margin: 0 0 25px 0;
    }

    .cp-closest-group-aditional-data {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

        .cp-closest-group-aditional-data > dl {
            width: 49%;
            margin-bottom: 40px;
        }

    .grey-text {
        font-family: Montserrat;
        font-weight: 400;
        font-size: 12px;
        line-height: 1.2;
        color: #6B7786;
        margin-bottom: 5px;
    }

    .cp-closest-group-aditional-data dd {
        font-family: Montserrat;
        font-weight: 500;
        font-size: 14px;
        line-height: 1.2;
        color: #212121;
    }

    .weekdays {
        margin-bottom: 5px;
    }

    .cp-closest-group-format {
        font-family: Montserrat;
        font-weight: 400;
        font-size: 16px;
        line-height: 1.2;
        /*width: 49%;*/
    }

    .page .cp-closest-group-price-header {
        font-family: Montserrat;
        font-weight: 500;
        font-size: 14px;
        line-height: 1.2;
        color: #000000;
        margin: 0 0 10px 0;
    }

    .cp-closest-group-price-input {
        border-bottom: 1px solid #000000;
        padding-right: 30px;
        position: relative;
        font-family: Montserrat;
        font-weight: 600;
        font-size: 16px;
        line-height: 1.25;
        color: #FF5800;
        padding-top: 3px;
    }

        .cp-closest-group-price-input::after {
            display: block;
            content: '';
            width: 8px;
            height: 8px;
            border: 4px solid transparent;
            border-top-color: #2580C3;
            position: absolute;
            top: 50%;
            right: 0;
            box-sizing: border-box;
        }


    .page .cp-closest-group-price-drop {
        visibility: hidden;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: white;
        padding: 0;
        border: 1px solid #bbb;
        min-width: 100%;
    }

    .cp-closest-group-price-drop.active {
        visibility: visible;
    }

    .page .cp-closest-group-price-drop li {
        margin: 0;
        padding: 5px 10px;
        font-weight: 400;
        color: #000;
        cursor: pointer;
    }

        .page .cp-closest-group-price-drop li:hover {
            color: #FFFFFF;
            background-color: #2580C3;
        }

    .cp-closest-group-price-wrapper {
        display: flex;
        justify-content: space-between;
    }

    .cp-closest-group-price-column {
        width: 49%;
    }

    .page .cp-closest-group-price-list {
        padding: 0;
    }

    .page .cp-closest-group-price-item {
        margin: 0 0 15px 0;
        display: flex;
        align-items: flex-start;
    }


        .page .cp-closest-group-price-item input {
            margin-right: 10px;
            margin-top: 3px;
        }

        .page .cp-closest-group-price-item label span, .page .cp-closest-group-price-item div span {
            display: block;
            font-family: Montserrat;
            line-height: 1.2;
            color: #004677;
        }

        .page .cp-closest-group-price-item.free label span, .page .cp-closest-group-price-item.free div span {
            color: #2580C3;
        }



    .price-format {
        font-weight: 500;
        font-size: 14px;
        text-transform: lowercase;
    }

    .price-number {
        font-weight: 400;
        font-size: 12px;
        margin-top: 0;
        text-transform: lowercase;
    }

    /*.price-radio:checked + label span {
    color: #004677;
}*/

    /*.price-radio:checked + label .price-number {
    font-weight: 600;
}*/

    .cp-closest-group-price-note {
        margin-bottom: 16px;
    }

        .cp-closest-group-price-note p, .cp-closest-group-price-note a {
            margin: 0;
            font-family: Montserrat;
            font-weight: 400;
            font-size: 12px;
            line-height: 1.2;
            color: #6B7786 !important;
            text-decoration: none;
        }

            .cp-closest-group-price-note a:hover {
                text-decoration: underline;
            }

    .cp-button-red {
        background: #FF6500;
        border-radius: 5px;
        padding: 12px;
        font-family: Montserrat;
        font-weight: 600;
        font-size: 14px;
        text-align: center;
        text-transform: uppercase;
        color: #FFFFFF;
        display: block;
        margin: 0 auto 30px auto; /*после натягивания перенести */
        border: none;
        width: 100%;
        cursor: pointer;
    }

    .all-closest-group {
        font-family: Montserrat;
        font-weight: 400;
        font-size: 14px;
        line-height: 1.2;
        text-align: center;
        text-decoration: underline;
        color: #2580C3;
        display: block;
    }

    .page .content-block-sh-price__with_sale .price-number {
        color: #ff5800;
    }


    .price-discount {
        display: inline !important;
        color: #ff5800 !important;
    }

    .free .price-discount {
        color: #2580C3 !important;
    }

    .one-price .price-discount {
        color: #004677 !important;
    }

    .one-price .price-wrapper {
        margin-bottom: 3px;
    }

    .cp-closest-group-price-item.one-price {
        display: block;
    }

    .one-price .price-input-wrapper {
        display: flex;
        align-items: center;
        margin-bottom: 3px;
    }

        .one-price .price-input-wrapper input {
            width: 10px;
            height: 10px;
            margin-top: 0;
        }

    .one-price .price-format {
        margin-top: 0;
    }

    .cp-closest-group-aditional-data {
        margin-bottom: 30px;
    }

    .cp-closest-group-col {
        width: 49%;
        display: flex;
        flex-direction: column;
    }

        .cp-closest-group-col dl {
            margin-bottom: 20px;
        }

        .cp-closest-group-col .cp-closest-start {
            margin-bottom: 5px;
        }

        .cp-closest-group-col dl:last-child {
            margin-bottom: 0;
            margin-top: auto;
        }


        .cp-closest-group-col dl:only-child {
            margin-bottom: auto;
            margin-top: 0;
        }

    .cp-closest-teacher-img {
        display: block;
        width: 60%;
    }

    .page a .teacher-name {
        color: black;
    }

    .cp-closest-group.only-free .cp-closest-group-price-item.free span, .sidebar-next.only-free .cp-closest-group-price-item.free span {
        font-size: 14px;
    }

    .cp-closest-group.only-free .cp-button-red, .sidebar-next.only-free .cp-button-red {
        margin-bottom: 0;
    }

    @media (max-width: 480px) {
        .one-price .price-input-wrapper label, .one-price .price-input-wrapper > span {
            padding: 10px 0;
        }
    }

    @media (max-width: 360px) {
        .cp-closest-group-price-wrapper {
            /*flex-wrap: wrap;*/
        }

        /*.cp-closest-group-price-column {
        width: 100%;
        margin-bottom: 15px;
    }*/

        .cp-closest-group-price-header {
            white-space: nowrap;
        }

        .sidebar-next {
            padding: 10px;
        }
    }

    /*Блок для видео семинара*/
    .sidebar-videos {
        /*border-left: 3px solid rgba(52, 108, 228, 1);*/
    }

.sidebar-video-content{
    padding: 0 15px;
}

.sidebar-video-cover-block {
    margin-bottom: 10px;
    max-width: 320px;
}

    .sidebar-video-cover-link {
        display: block;
    }

        .sidebar-video-cover-link img {
            display: block;
            width: 100%;
        }

    .page .sidebar-video-header {
        line-height: 1.1;
        margin: 0 0 10px 0;
    }

    .sidebar-video-header a {
        font-weight: 600;
        font-size: 14px;
        color: #000;
    }

        .sidebar-video-header a:hover {
            text-decoration: underline;
        }
    .page .sidebar-video-meta {
        margin: 0;
        font-size: 13px;
    }

.video-duration{
    white-space: nowrap;
}


.content-videos-block-mobile {
    display: none;
}

@media (max-width: 1023px) {
    .content-videos-block-mobile {
        display: block;
    }

    .sidebar-videos {
        max-width: 620px;
        width: 100%;
    }

    .sidebar-video-content{
        display: flex!important;
        flex-direction: column;
        align-items: center;
    }

    .sidebar-videos h6{
        text-align: center;
    }
}

@media (max-width: 680px) {
    .sidebar-videos {
        max-width: 540px;
        width: 100%;
    }
}

@media (max-width: 580px) {
    .sidebar-videos {
        max-width: 300px;
        width: 100%;
    }

    .content-resp-and-teachers .sidebar,
    .page .content-teacher .sidebar-block {
        max-width: 300px;
        width: 300px;
    }
}
