@media (min-width:300px) and (max-width:460px) {
    .calendar {
        display: inline-block;
    }
    .calendar-start-picture {
        display: none;
    }
    .calendar-left-part {
        margin: 0 2%;
        width: 350px;
    }
    .calendar-main-part {
        margin: 0 2%;
        width: 394px;
    }
    .calendar-one-day-btn, .calendar-few-days-btn {
        display: none;
    }
    .calendar-daterangepicker {
        margin-top: 0px;
        width: 350px;
        height: 407px;
    }

    /* табличный слой */
    .daterangepicker .calendar-table {
        width: 350px;
        height: 407px;
    }
    /** 
    * Стрелки и заголовок таблицы
    **/
    .daterangepicker .calendar-table thead tr:nth-child(2) {
        border-top: 14px solid #FFFFFF;
    }
    .daterangepicker .calendar-table .next , .daterangepicker .calendar-table .prev {
        position: relative;
    }
    
    .daterangepicker .calendar-table .next span, .daterangepicker .calendar-table .prev span {
        display: inline-block;
        position: absolute;
        width: 38.5px;
        height: 38.5px;
        border-radius: 4px;
        background-color: #DDE7FF;
        background-size: 24.5px 24.5px;
        background-position: center center;
        background-repeat: no-repeat;
    }
    .daterangepicker .calendar-table .prev span {
        top: 0px;
        left: 0px;
        background-image: url("/common/js_v3/forms/time_calendar_v2/back_arrow.svg");
    }

    .daterangepicker .calendar-table .next span {
        top: 0px;
        left: 8px;
        background-image: url("/common/js_v3/forms/time_calendar_v2/forward_arrow.svg");
    }
    
    /**
    * Клетки 
    **/
    .daterangepicker .calendar-table th, .daterangepicker .calendar-table td {
        width: 46.67px;
        height: 46.67px;
        font-size: 18px;
        line-height: 28px;
    }

    /* Фильтр */
    .calendar-filter-open-btn {
        display: inline-block;
        position: relative;
        margin-top: 24px;
        width: 350px;
        height: 48px;
        background: #FFFFFF;
        border: 1px solid #0044CC;
        border-radius: 4px;
        text-align: center;
        /* line-height: 44px; */
        font-family: Golos, sans-serif;
        font-style: normal;
        font-weight: 500;
        font-size: 16px;
        color: #0044CC;
        background-image: url("/common/js_v3/forms/time_calendar_v2/union_blue.svg");
        background-repeat: no-repeat;
        background-position: 33% 50%;
        background-size: 18.75px 15.62px;
        cursor: pointer;
    }
    .calendar-filter-open-btn.disabled {
        color: #696C71;
        opacity: 0.6;
        pointer-events: none;
    }
    .calendar-filter-open-btn.active {
        color: #FFFFFF;
        background: #0044CC;
        background-image: url("/common/js_v3/forms/time_calendar_v2/union_white.svg");
        background-repeat: no-repeat;
        background-position: 33% 50%;
        background-size: 18.75px 15.62px;
        cursor: pointer;
    }
    .calendar-filter-open-btn-name {
        position: absolute;
        top: 10px;
        left: 140px;
    }
    .calendar-filter-open-btn-selected-num {
        display: none;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 14px;
        left: 207px;
        margin-left: 4px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #0044CC;
        color: #FFFFFF;
        font-family: Golos, sans-serif;
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
    }

    .calendar-filter-open-btn-selected-num.active {
        display: none;
        align-items: center;
        justify-content: center;
        background: #FFFFFF;
        color: #0044CC;
    }

    .calendar-filter {
        display: none;
        width: 352px;
        height: 394px;
    }

    .calendar-filter .time-interval-from {
        width: 134px;
    }

    .calendar-filter .time-interval-to {
        width: 134px;
    }
   
    .calendar-filter-content-time-interval {
        width: 320px;
    }
    
    .calendar-filter-selected-params {
        display: none;
    }

    .calendar-filter-reset-mobile {
        display: block;
        position: absolute;
        top: 317px;
        left:0px;
        width: 320px;
        height: 48px;
        background: #FFFFFF;
        color: #0044CC;
        border: 1px solid #0044CC;
        border-radius: 4px;
        font-family: Lato, sans-serif;
        font-style: normal;
        font-weight: 600;
        font-size: 16px;  
        text-align: center;
        line-height: 48px;
    }

    .calendar-filter-reset-mobile:active {
        color: #FFFFFF;
        background: #0044CC;
    }

    /* слайдер */
    .calendar-filter-content-slider {
        position: absolute;
        top: 208px;
        /* left: 13px; */
        width: 280px;
    }
    .ui-slider {
        width: 280px;
        height: 6px;
    }

    .ui-slider .ui-slider-handle {
        /* opacity: 0.6; */
        position: absolute;
        top: -12px;
        width: 32px;
        height: 32px;
        background: #FFFFFF;
        box-shadow: 0px 0.5px 4px rgba(0, 0, 0, 0.12), 0px 6px 13px rgba(0, 0, 0, 0.12);
        border-radius: 50%;
        cursor: pointer;
        border: none;
    }
    .ui-slider .ui-slider-range {
        background: #007AFF;
        height: 6px;
    }
    
    /** Время записи */
    .timeCalendarDayBox {
        display: block;
        /* border: 1px dashed red; */
        padding: 5px 5px;
        /* в моб ширину сделать 400 или около того */
        width: 390px; 
        padding-top: 0px;
    }
    .timeCalendarTime {
        width: 61px;
        height: 48px;
        line-height: 48px;
        margin: 6px 2px;
    }
    .calendar-mobile-day-margin {
        margin-bottom: 30px;
    }

    /* Всплывашка выбора даты */
    .hint.timeCalendarHintTimesPop {
        display: none;
        position: absolute;
        width: 390px;
        height: 296px;
        /* color: #5c6471; */
        /* font-size: 14px; */
        z-index: 1001;
        padding: 20px 16px;
        text-align: center;
    
        background: #FFFFFF;
        border: 1px solid #CED4DA;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        border-radius: 4px;
    }

    .hint.timeCalendarHintTimesPop.hint-left:before {
        display: block;
        content: "";
        position: absolute;
        bottom: 1px;
        width: 12px;
        height: 24px;
        box-sizing: border-box;
        background: url(/common/img/mos-ru/grey-hint.png) top left no-repeat;
        transform: rotate(0deg);
        border-right: none;
        left: -12px;
    }

    .hint.timeCalendarHintTimesPop .header {
        font-family: Lato;
        font-style: normal;
        font-weight: 400;
        font-size: 18px;
        color: #0E0E0F;
    }

    .hint.timeCalendarHintTimesPop .date , .time {
        font-family: Lato;
        font-style: normal;
        font-weight: 600;
        font-size: 18px;
        color: #0E0E0F;
    }

    .hint.timeCalendarHintTimesPop .buttons {
        margin-top: 40px;
        display: block;
    }

    .hint.timeCalendarHintTimesPop .button-apply {
        display: inline-block;
        text-align: center;
        width: 350px;
        height: 48px;   
        background: #0044CC;
        border-radius: 4px;
        color: #FFFFFF;
        line-height: 48px;
        font-family: Lato;
        font-style: normal;
        font-weight: 600;
        font-size: 16px;
    }

    .hint.timeCalendarHintTimesPop .button-cancel, .button-close {
        display: inline-block;
        margin-top: 20px;
        text-align: center;
        width: 350px;
        height: 48px;
        border: 1px solid #C4C8D0;
        border-radius: 4px;
        color: #0044CC;
        line-height: 48px;
        font-family: Lato;
        font-style: normal;
        font-weight: 600;
        font-size: 16px;
    }
    /*
    *** Calendar Scroll Pagination ***
    */
    .calendar-scroll-pagination-mobile {
        display: none;
        width: 100%;
        height: 48px;
        margin-top: 24px;
        margin-bottom: 24px;
        margin-left: -5px;
        touch-action: cross-slide-x;
    }
    .calendar-scroll-pagination-dates-mobile {
        /* border: 1px dashed blue; */
        max-width: 87%;
        height: 48px;
        margin: 0px 4px;
        overflow: hidden;
        float: left;
    }
    .calendar-scroll-pagination-dates-mobile ul {
        list-style: none;
        padding: 0;
        margin: 0;
        white-space: nowrap;
        overflow: scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .date_period {
        display: inline-block;
        vertical-align: middle; 
        width: auto;
        min-width: 120px;
        height: 48px;
        margin: 0px 2px;
        line-height: 46px;
        border: 1px solid #CED4DA;
        border-radius: 4px;
        text-align: center;
        cursor:pointer;
        list-style: none;
        padding: 0px 16px;

        font-family: Golos, sans-serif;
        font-style: normal;
        font-weight: 400;
        font-size: 16px;
        color: #0C1014;
    }
    .date_period.active {
        border: 2px solid #0044CC;
        height: 48px;
    }
    /* Затенение экрана */
    .mobile-dark {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        cursor: pointer;
        z-index: 9000;
    }
}