.drawer {
    width: 100%;
    background: #fff;
    position: fixed;
    left: 0;
    top: 40px;
    height: calc(100% - 40px);
    z-index: 100;
    overflow: auto;
    overflow-x: hidden;
    display: none;
}

.drawer--active .drawer--container {
    display: block;
    box-shadow: 1px 0 0 #e1e1e1;
}

.drawer--active body {
    overflow: hidden;
}

.drawer--secondary-active {
    display: block;
}

.drawer__title {
    font-size: 17px;
    font-weight: 500;
    padding: 0 40px 0 16px;
    line-height: 32px;
    margin-top: 10px;
    text-transform: uppercase;
}

/*Instructions*/
.drawer__instructions {
    padding: 8px 16px 16px;
    color: #ADADAD;
    line-height: 32px;
}

.drawer .drawer__instructions .btn--icon-plus {
    position: relative;
    margin-left: 10px;
}

.drawer__instructions .drawer__instructions--link {
    color: #E14E42;
    display: inline-block;
}

.drawer__list + .drawer__instructions {
    display: none;
}

/*Lists*/
.drawer__list:not(:empty) {
    margin: 10px 0 24px;
}

.drawer__list li {
    line-height: 0;
    position: relative;
}

.drawer__list li:hover {
    background: #E0E0E0;
}

.drawer__item {
    line-height: 40px;
    padding: 0 8px 0 16px;
    display: block;
    margin-right: 40px;
    color: #757575;
}

.drawer__item[data-count]:before {
    content: attr(data-count);
    display: inline-block;
    background: rgba(0,0,0,.2);
    color: #fff;
    padding: 0 10px;
    line-height: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 11px;
    font-family: arial;
    margin-right: 8px;
}

.drawer__list .btn--icon-close,
.drawer__list li > .btn--icon-dots {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 40px;
    line-height: 28px;
    border-radius: 0;
}
.drawer__list .btn--icon-close:hover {
    background: #E14E42;
}
.drawer__list .btn--icon-close:hover::before,
.drawer__list .btn--icon-close:hover::after {
    background: #fff;
}

.drawer__list .btn--icon-back,
.drawer .btn--icon-plus {
    position: absolute;
    right: 4px;
    top: 10px;
}

.drawer__ap-form {
    padding: 0 40px 0 16px;
    position: absolute;
    top: 17px;
    width: 100%;
    display: none;
}
.drawer__ap-form.is--active {
    display: block;
}

.playlist--mobile-hidden {
    display: none!important;
}

@media (min-width:600px) {
    .drawer {
        width: 340px;
    }
    .drawer--active body {
        overflow: auto;
    }
    .drawer--active .overlay {
        position: fixed;
        z-index: 20;
        width: 100%;
        height: 100%;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0,0,0,.75);
    }
}

@media (min-width:768px) {
    .drawer {
        top: 60px;
        height: calc(100% - 60px);
    }
}

@media (min-width: 1024px) {
    .drawer__list .btn--icon-close,
    .drawer__list li > .btn--icon-dots {
        display: none;
    }
    
    .drawer__list li:hover > .btn--icon-close,
    .drawer__list li:hover > .btn--icon-dots {
        display: inline-block;
    }
    
    .drawer__item {
        margin-right: 10px;
    }
    
    .drawer__list li:hover > .drawer__item {
        margin-right: 40px;
    }
}

@media (min-width: 1550px) {
    .drawer--active .overlay {
        display: none;
    }
    .drawer--active main {
        padding-left: 340px;
    }
    .drawer--active .layout {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .drawer--active .layout.search ~ .layout .media {
        right: 16px;
    }
}
