.menu_wrap {
    position: absolute;
    top: 0;
    left: -260px; /* content shift */

    display: none;

    width: 230px; /* content shift - padding */
    margin: 1em;
}

.menu_wrap.open {
    display: block;
}

.menu_button {
    position: absolute;
    top: 15px;
    left: 8px;

    display: block;

    width: 30px;
    height: 30px;

    cursor: pointer;

    background:url(../svg/ico_menu.svg) center no-repeat;
}

body[data-menu-position="open"] .menu_button{
    background:url(../svg/ico_menu_activ.svg) center no-repeat;
}

.main_menu {
    border-radius: 9px;
    background: #74c1e3;
}

.main_menu ul {
    padding: 0;

    list-style: none;
}

.item {
    position: relative;

    display: block;

    margin: 0 -.1em;
    padding: 8px 0;

    cursor: pointer;
    text-decoration: none;

    border-radius: .25em;
    box-shadow: 0 0 0 0 #2795c2;
}

.item:focus,
.item:hover {
    z-index: 1;

    transition: box-shadow .17s ease-in-out;

    background: #2795c2;
    box-shadow: 0 0 0 2px #2795c2;
}

.item .item-name {
    position: relative;

    margin-left: 54px;

    text-transform: uppercase;

    color: #fff;

    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.item .item-icon {
    position: absolute;
    top: 0px;
    left: 12px;

    display: block;

    width: 32px;
    height: 42px;

    content: '';

    background-size: cover;
}

.item1 .item-icon {
    background: url(../svg/menu_tlum.svg) center no-repeat;
}

.item1.active .item-icon {
    background: url(../svg/menu_tlum_activ.svg) center no-repeat;
}

.item2 .item-icon {
    background: url(../svg/menu_foot.svg) center no-repeat;
}

.item2.active .item-icon {
    background: url(../svg/menu_foot_activ.svg) center no-repeat;
}

.item3 .item-icon {
    background: url(../svg/menu_gift.svg) center no-repeat;
}

.item3.active .item-icon {
    background: url(../svg/menu_gift_activ.svg) center no-repeat;
}

.item4 .item-icon {
    background: url(../svg/menu_see.svg) center no-repeat;
}

.item4.active .item-icon {
    background: url(../svg/menu_see_activ.svg) center no-repeat;
}

.item5 .item-icon {
    top: -4px;

    background: url(../svg/menu_play.svg) center no-repeat;
}

.item5.active .item-icon {
    background: url(../svg/menu_play_activ.svg) center no-repeat;
}

.item6 .item-icon {
    background: url(../svg/menu_know.svg) center no-repeat;
}

.item6.active .item-icon {
    background: url(../svg/menu_know_activ.svg) center no-repeat;
}

.item7 .item-icon {
    background: url(../svg/menu_read.svg) center no-repeat;
}

.item7.active .item-icon {
    background: url(../svg/menu_read_activ.svg) center no-repeat;
}

.item8 .item-icon {
    left: 14px;

    width: 28px;

    background: url(../svg/menu_thd.svg) center no-repeat;
}

.item8.active .item-icon {
    background: url(../svg/menu_thd_activ.svg) center no-repeat;
}

.item > ul {
    overflow: hidden;

    max-height: 0;
    margin: 0;
    padding: 0;

    transition: all .6s ease-out;

    opacity: .1;
}

.item.active > ul,
.item:focus > ul,
.item:hover > ul {
    max-height: 23em;
    margin-bottom: 2px;

    opacity: 1;
}

.item.active > ul {
    transition: none;
}

.item li a {
    display: block;

    padding-left: 20px;

    text-decoration: none;
    text-transform: uppercase;

    color: #fff;

    font-size: 12px;
    font-weight: 700;
    line-height: 30px;
}

.item li a:hover {
    background: #5fafd2;
}

.item.active {
    border-color: #5fafd2;
    border-radius: .35em;
    background: #fff;
    box-shadow: 0 0 0 1px #5fafd2;
}

.item.active ul {
    display: block;
}

.item.active ul a {
    color: #35b6de;
}

.item.active ul a.active{
    color: #ef0040;
}

.item.active ul a:hover{
    color: #fff;
}

.item.active .item-name {
    color: #ef0040;
}

.item.active a {
    color: #ff0040;
}

.item > ul li:first-child {
    margin-top: 20px;
}

.item > ul li:last-child {
    margin-bottom: 0;
}

/* Small Devices, Tablets */
@media (min-width: 720px) {
    .item {
        padding: 20px 0;
    }

    .menu_button {
        top: 30px;
        left: 30px;

        width: 50px;
        height: 50px;
    }

    .item .item-icon {
        top: 0;
        left: 15px;

        width: 46px;
        height: 60px;
    }

    .item .item-name {
        margin-left: 70px;

        font-size: 18px;
    }

    .item li a {
        padding-left: 30px;

        font-size: 16px;
        line-height: 40px;
    }

    .item > ul li:first-child {
        margin-top: 30px;
    }


    .item5 .item-icon {
        top: -5px;
    }
}

@media (min-width: 768px) {
    .menu_wrap {
        left: -600px; /* content shift */

        width: 570px; /* content shift - padding */
    }
}

/* Large Devices, Wide Screens */
@media (min-width: 1020px) {
    .main_menu {
        width: 130px;
    }

    .main-menu-fixed {
        position: fixed;
        top: 48px;
    }

    .menu_wrap {
        position: absolute;
        top: 20px;
        left: 0;

        display: block;

        width: 138px;
        margin: 0;
        padding-bottom: 20px;
    }

    .item {
        padding: 0 0;

        line-height: 56px;
    }

    .item .item-name {
        margin-left: 48px;

        font-size: 13px;
    }

    .item ul li:last-child {
        padding-bottom: 10px;
    }

    .item li a {
        height: 30px;
        padding-left: 16px;

        font-size: 12px;
        line-height: 30px;
    }

    .item > ul li:first-child {
        margin-top: 0;
    }

    .item .item-icon {
        position: absolute;
        left: 6px;

        width: 40px;
        height: 40px;
    }

    .item1 .item-icon {
        top: 10px;
    }

    .item2 .item-icon {
        top: 10px;

        width: 38px;
        height: 38px;
    }

    .item3 .item-icon {
        top: 6px;
    }

    .item4 .item-icon {
        top: 8px;
    }

    .item5 .item-icon {
        top: 6px;

        width: 38px;
        height: 38px;
    }

    .item6 .item-icon {
        top: 10px;
    }

    .item7 .item-icon {
        top: 10px;
    }

    .item8 .item-icon {
        top: 16px;
        left: 10px;

        width: 32px;
        height: 32px;
    }

    .menu_button {
        display: none;
    }

    .main-menu__no-standart-item-name {
        height: 38px !important;
        padding-top: 7px;
        padding-right: 10px;

        line-height: 12px !important;
    }
}
