@media only screen and (max-height: 579px) {
    .btn-up {
        top: 50px;
    }
    .wrapper {
        position: absolute;
        width: 100%;
        top: 0px;
        bottom: 0px;
    }
}

@media only screen and (max-height: 379px) {
    .wrapper {
        position: absolute;
        width: 100%;
        top: 0px;
        bottom: 0px;
    }
    #g-genlix-box,
    .pt-triggers {
        /*     display:none;*/
    }
    #landscape {
        display: block;
        background: no-repeat;
        background: url('../images/landscape.png') 60% 60%;
        background-position: center center;
        background-color: #000000;
        background-size: cover;
        height: 100%;
        width: 100%;
    }
}

@media only screen and (max-width: 979px) {
    .order-details {
        font-size: 0.9em;
    }
    .hide-sm {
        display: none;
    }
    .element-item {
        max-width: 33%;
    }
    .wrapper {
        position: absolute;
        width: 100%;
        top: 0px;
        bottom: 0px;
    }
    .logo {
        position: absolute;
        top: 15px;
        left: 20px;
        z-index: 9990;
    }
    .logo img {
        max-width: 75%;
        max-height: 75%;
    }
}


/* Change styles for span and cancel button on extra small screens */

@media screen and (max-width: 300px) {
    span.psw {
        display: block;
        float: none;
    }
    .cancelbtn {
        width: 100%;
    }
    .image-box,
    .desc-box {
        width: 100%;
        padding: 4%;
    }
}

@media (max-width: 768px) {
    .order-ref {
        padding: 10px;
        width: 100%;
        float: left;
        overflow: visible;
    }
    .order-title {
        padding: 10px;
        width: 100%;
        float: left;
        overflow: visible;
    }
    .order-payment {
        padding: 10px;
        width: 100%;
        float: left;
        overflow: visible;
    }
    .order-price {
        padding: 10px;
        float: left;
        width: 100%;
        position: relative;
        display: block;
        margin: 0 auto;
        overflow: visible;
    }
    .order-time {
        padding: 10px;
        width: 100%;
        float: left;
        overflow: visible;
    }
    .order-action {
        padding: 10px;
        width: 100%;
        float: left;
        overflow: visible;
    }
    .hide-sm {
        display: none;
    }
    .image-box,
    .desc-box {
        width: 100%;
        padding: 4%;
    }
    .responsive {
        width: 100% !important;
    }
    .section-overlay {}
    .user-cart {
        width: 100%;
        margin: 0 auto;
        float: left;
        margin-bottom: 10px;
        color: #fff;
        padding: 10px;
    }
    .user-order {
        width: 50%;
        color: #fff;
        float: left;
        padding: 10px;
    }
    .user-checkout {
        width: 50%;
        color: #fff;
        float: left;
        padding: 10px;
    }
    .transparent-input {
        background-color: rgba(0, 0, 0, 0.4);
        border: 2px solid #fff;
        color: #fff;
        padding: 5px;
        width: 100%;
        border-radius: 10px;
        line-height: 20px;
        font-size: 16px;
    }
    input.transparent-input {
        background-color: rgba(0, 0, 0, 0.4) !important;
        border: 2px solid #fff !important;
        color: #fff;
    }
}


/* Large Screen
---------------------------------------------------------------------- */

@media only screen and (min-width: 1440px) {
    .section-4-content,
    .section-3-content {
        padding: 15%;
    }
    .section-text {
        line-height: 60px;
        font-size: 150%;
    }
}

@media only screen and (max-width: 1280px) {
    .section-9-content {
        width: 35%;
    }
}


/* mobile wide/smaller tablets
---------------------------------------------------------------------- */

@media only screen and (max-width: 767px) {
    .order-details {
        font: 0.7em;
    }
    .hide-sm {
        display: none;
    }
    /* mobile navigation
   -------------------------------------------------------------------- */
    .img-one {
        width: 400px;
    }
    .img-two {
        width: 200px;
    }
    .action {
        font-size: .95em;
    }
    .slide__title {
        text-align: center;
        margin: 50px;
        font-size: 1.75em;
        font-weight: 700;
        font-family: 'Georgia', Tahoma, Geneva, Verdana, sans-serif;
        position: relative;
        z-index: 999;
        text-align: center;
        background: transparent;
        color: #fff;
        text-shadow: 1px 1px 2px #000000;
    }
    .section-content {
         max-width: 96%;
         margin: 2%;
    }
    .section-header {
        font-size: 1.5em;
    }
    .modal-content {
        width: 90%;
        padding: 2px;
        margin-left: 5%;
        margin-right: 5%;
    }
    .section-form {
        width: 90%;
        padding: 2px;
        margin-left: 5%;
        margin-right: 5%;
    }
    .category_img {
        text-align: center;
        margin: 50px;
    }
    .category_img img {
        margin: 15px;
        width: auto;
        height: auto;
        max-height: 200px;
        max-width: 200px;
    }
    #nav-wrap {
        font: 12px 'opensans-bold', sans-serif;
        background: transparent !important;
        letter-spacing: 1.5px;
        width: auto;
        position: fixed;
        top: 0;
        right: 0;
    }
    #nav-wrap>a {
        width: 48px;
        height: 48px;
        text-align: left;
        background-color: rgba(0, 0, 0, 0.8);
        position: relative;
        border: none;
        float: right;
        font: 0/0 a;
        text-shadow: none;
        color: transparent;
        position: relative;
        top: 0px;
        right: 30px;
    }
    #nav-wrap>a:before,
    #nav-wrap>a:after {
        position: absolute;
        border: 2px solid #fff;
        top: 35%;
        left: 25%;
        right: 25%;
        content: '';
    }
    #nav-wrap>a:after {
        top: 60%;
    }
    /* toggle buttons */
    #nav-wrap:not( :target)>a:first-of-type,
    #nav-wrap:target>a:last-of-type {
        display: block;
    }
    /* hide menu panel */
    #nav-wrap ul#nav {
        height: auto;
        display: none;
        clear: both;
        width: auto;
        float: right;
        position: relative;
        top: 0;
        right: 0;
    }
    /* display menu panels */
    #nav-wrap:target>ul#nav {
        display: block;
        padding: 30px 20px 48px 20px;
        background-color: rgba(0, 0, 0, 0.9);
        border-radius: 20px 0 20px 20px;
        min-width: 200px;
        margin: 0 30px;
        clear: both;
        height: auto;
    }
    ul#nav li {
        display: block;
        height: auto;
        margin: 0 auto;
        padding: 0 4%;
        text-align: right !important;
        border-bottom: 1px solid #2D2E34;
        border-bottom-style: dotted;
    }
    ul#nav li a {
        display: block;
        margin: 0;
        padding: 0;
        text-align: right !important;
        /* margin: 12px 0; */
        line-height: 32px;
        /* reset line-height from 48px */
        border: none;
    }
    .cart__count {
        margin: -35px 0px 0px 0px;
    }
    .section-text {
        line-height: 25px;
        font-size: 80%;
    }
    .btn-down {
        width: 50%;
        height: 30px;
        left: 50%;
        margin-left: -25%;
        bottom: 30px;
        position: absolute;
        border: none;
        background: transparent;
        color: #fff;
        z-index: 9991;
    }
    .btn-up {
        width: 50%;
        height: 30px;
        left: 50%;
        margin-left: -25%;
        top: 50px;
        position: absolute;
        border: none;
        background: transparent;
        color: #fff;
        z-index: 9991;
    }
    .btn-right {
        width: 50px;
        height: 50px;
        top: 50%;
        margin-top: -25px;
        right: 10px;
        position: absolute;
        border: none;
        background: transparent;
        color: #fff;
        z-index: 9991;
    }
    .btn-left {
        width: 50px;
        height: 50px;
        left: 10px;
        margin-top: -25px;
        top: 50%;
        position: absolute;
        border: none;
        background: transparent;
        color: #fff;
        z-index: 9991;
    }
    .lang-bar {
        float: right;
        right: 0;
    }
    .menu--item {
        width: 100%;
        float: right;
    }
    .footer-right {
        width: 25%;
    }
    #lang-bar {
        display: none;
        /*
    float:right;
    z-index:999999;
    top:48px;
    right:0;
    background-color:rgb(0,0,0);
    background-color:rgba(0,0,0,0.5);
    position:fixed;
    border-bottom-left-radius:15px;
    padding-right:40px;
   */
        transition: all 2s linear;
        float: right;
        z-index: 999999;
        right: 0;
        display: block;
        padding: 30px 20px 48px 20px;
        background-color: rgba(0, 0, 0, 0.7);
        border-radius: 20px 0 20px 20px;
        min-width: 200px;
        margin: 0 0px;
        clear: both;
    }
}


/* mobile narrow
  -------------------------------------------------------------------------- */

@media only screen and (max-width: 479px) {
    /* mobile navigation
   -------------------------------------------------------------------- */
    .hide-sm {
        display: none;
    }
    .home_btn {
        width: 96%;
        margin: 2%;
    }
    .user-cart {
        width: 100%;
        margin: 0 auto;
        float: left;
        margin-bottom: 10px;
        color: #333;
        padding: 10px;
    }
    .user-order {
        width: 100%;
        color: #333;
        float: left;
        padding: 10px;
    }
    .user-checkout {
        width: 100%;
        color: #333;
        float: left;
        padding: 10px;
    }
    .img-one {
        width: 300px;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .img-two {
        width: 150px;
        margin-right: -5px;
        margin-left: -5px;
    }
    .action {
        font-size: .85em;
    }
    .slide__title {
        text-align: center;
        margin: 20px;
        font-size: 1.75em;
        font-weight: 700;
        font-family: 'Georgia', Tahoma, Geneva, Verdana, sans-serif;
        position: relative;
        z-index: 999;
        text-align: center;
        background: transparent;
        color: #fff;
        text-shadow: 1px 1px 2px #000000;
    }
    .category_img {
        text-align: center;
        margin: 20px;
    }
    .category_img img {
        margin: 15px;
        width: auto;
        height: auto;
        max-height: 200px;
        max-width: 200px;
    }
    #nav-wrap ul#nav {
        height: auto;
        display: none;
        clear: both;
        width: auto;
        float: right;
        position: relative;
        top: 0;
        right: 0;
    }
    .section-text {
        line-height: 20px;
        font-size: 70%;
    }
}

@media only screen and (max-width: 319px) {
    .hide-sm {
        display: none;
    }
    .wrapper {
        position: absolute;
        width: 100%;
        top: 0px;
        bottom: 0px;
    }
    #g-genlix-box,
    .pt-triggers {
        /*   display:none;*/
    }
    #landscape {
        display: block;
        background: no-repeat;
        background: url('../images/landscape.png') 60% 60%;
        background-position: center center;
        background-color: #000000;
        background-size: cover;
        height: 100%;
        width: 100%;
    }
}

@media only screen and (max-width: 479px) {
    .logo {
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 9990;
    }
    .logo img {
        max-width: 50%;
        max-height: 50%;
    }
}

@media only screen and (max-width: 789px) {
    .element-item {
        max-width: 33%;
    }
    .image-box {
        width: 100%;
        padding: 4%;
    }
    .desc-box {
        width: 100%;
        padding: 4%;
    }
}

@media only screen and (max-width: 679px) {
    .image-box {
        width: 100%;
        padding: 4%;
    }
    .desc-box {
        width: 100%;
        padding: 4%;
    }
    .element-item {
        max-width: 50%;
    }
}

@media only screen and (max-width: 479px) {
    .element-item {
        max-width: 100%;
    }
}

@-ms-viewport {
    width: device-width;
}