/* touchSideSwipe v0.3.1
 * https://github.com/Lucyway/touch-sideswipe
 * 2018 (c) Mititelu Nick (aka freetitelu). MIT license.
 */


@media(max-width:1023px) {
    .touch-side-swipe {
        display: none;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        /*background: rgba(255,255,255, .8);*/
        /*background-color: #f2dada;*/
        background: white;
    }
    .tss .touch-side-swipe {
        display: block;
        overflow-y: overlay;
    }
    .tss {
        z-index: 1000;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        will-change: transform;
        transition-property: transform;
        transition-timing-function: ease;
    }
    .tss-wrap {
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }
    .tss-label {
        z-index: 15;
        position: absolute;
        top: 30px;
        right: -14%;
        width: 44px;
        height: 44px;
        display: block;
        cursor: pointer;
    }
    .tss-label_pic {
        position: relative;
        display: inline-block;
        vertical-align: middle;
        font-style: normal;
        text-align: left;
        text-indent: -9999px;
        direction: ltr;
        box-sizing: border-box;
        transition: transform .2s ease;
    }
    .tss-label_pic:after,
    .tss-label_pic:before {
        content: '';
        pointer-events: none;
        transition: transform .2s ease;
    }
    .tss--close .tss-label_pic {
        color: black;
        width: 30px;
        height: 3px;
        box-shadow: inset 0 0 0 32px, 0 -8px, 0 8px;
        margin: 0px 8px;
    }
    .tss--close .tss-label_pic:after {
        position: absolute;
        transform: translateY(4px);
        /*color: #fff;*/
        width: 30px;
        /*height: 3px;*/
        box-shadow: inset 0 0 0 32px, 0 -8px, 0 8px;
        top: 0;
        left: 0;
    }
    .tss--open .tss-label_pic {
        color: #fff;
        padding: 0;
        width: 40px;
        height: 40px;
        margin: 2px;
        transform: rotate(45deg);
    }
    .tss--open .tss-label_pic:before {
        width: 40px;
        height: 2px;
    }
    .tss--open .tss-label_pic:after {
        width: 2px;
        height: 40px;
    }
    .tss--open .tss-label_pic:after,
    .tss--open .tss-label_pic:before {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        box-shadow: inset 0 0 0 32px;
        color: grey;
    }
    .tss-bg {
        background: #000;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        opacity: 0;
        will-change: opacity;
        transition-property: opacity;
        transition-timing-function: ease;
        /*z-index: 4;*/
    }
}

@media (max-width: 768px){
    .tss-label{
        top: 20px;
    }
}
