﻿.mobile-header {
    display: none;
}

.mobile-menu-overlay {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 2;
    padding: 15px;
    overflow: auto;
    display: none;
}

.mobile-search-overlay {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 2;
    padding: 15px;
    overflow: auto;
    display: none;
}

.mobile-menu-overlay .close {
    color: #676767;
    background: none;
    border: none;
    border-radius: 0;
    width: 100%;
    height: initial;
    transform: none;
    margin: 0 auto;
    display: block;
    margin-top: 5px;
}

.mobile-search-overlay .close {
    color: #676767;
    background: none;
    border: none;
    border-radius: 0;
    width: 100%;
    height: initial;
    transform: none;
    margin: 0 auto;
    display: block;
    margin-bottom: 25px;
}

.mobile-menu-overlay ul {
    list-style: none;
    padding: 5px;
    margin: 0;
}

    .mobile-menu-overlay ul a {
        color: #333;
        display: block;
        padding: 5px 10px;
        background: #e8e8e8;
        border-radius: 4px;
        margin: 2px;
    }

.add-to-home.show {
    display: block;
}

.add-to-home button {
    background: #e2e2e2;
    padding: 4px 8px;
    border-radius: 8px;
    font-family: inherit;
    border: 1px solid #555;
    width: 50px;
    font-weight: bold;
    transform: scale(.95);
}

#addToHomeBtn {
    background: #00b8ff;
    transform: none;
}

@media only screen and (max-width: 768px) {
    .top-buttons .username {
        display: none;
    }

    .general-container {
        min-width: unset;
    }

    header {
        float: none;
    }

    #mainMenu {
        display: none;
    }

    .desktop-header .header {
        visibility: hidden;
        height: 0;
        width: 0;
        margin: 0;
        padding: 0;
    }

    .desktop-header {
        box-shadow: none;
        height: 0;
        width: 0;
        box-sizing: border-box;
        z-index: 2;
    }

    .mobile-header {
        display: block;
        box-shadow: none;
        margin: 0 auto;
        background: none;
        padding: 7px;
        box-sizing: border-box;
        z-index: 1;
    }

    .mobile-header-parent {
        display: flex;
        padding: 1px 15px 1px 1px;
        color: #858585;
        background: rgba(255, 255, 255, 0.92);
        border-radius: 10px;
        box-shadow: 0 4px 7px -6px #000;
        box-sizing: border-box;
    }

        .mobile-header-parent span:nth-child(1) {
            text-align: right;
        }

        .mobile-header-parent div:nth-child(3) {
            text-align: left;
            display: flex;
            flex-direction: row-reverse;
        }

        .mobile-header-parent > * {
            flex: auto;
        }

    .mobile-header .top-logo {
        height: 38px;
        opacity: .7;
        margin-top: 4px;
    }

    .mobile-header a {
        color: #858585;
        font-size: .9em;
        margin-left: 10px;
        text-align: center;
    }

        .mobile-header a span[class^="flaticon-"]:before,
        .mobile-header a span[class*=" flaticon-"]:before,
        .mobile-header a span[class^="flaticon-"]:after,
        .mobile-header a span[class*=" flaticon-"]:after {
            line-height: 2.1em;
        }

    .mobile-header-parent span[class^="flaticon-"]:before,
    .mobile-header-parent span[class*=" flaticon-"]:before,
    .mobile-header-parent span[class^="flaticon-"]:after,
    .mobile-header-parent span[class*=" flaticon-"]:after {
        line-height: 1.9em;
        font-size: 1.8em;
    }

    .banner {
        padding-top: 0;
        height: initial;
        margin-top: -90px;
    }

    .banner-content {
        padding-top: initial;
    }

    .top-seller {
        margin-top: initial;
        display: block;
        white-space: nowrap;
        overflow: auto;
    }

    .banner::before {
        content: none;
    }

    .banner-real-content {
        display: block;
        padding: 10px;
        background: rgba(255, 255, 255, 0.85);
        border-radius: 0;
    }

    .header-btn {
        max-width: initial;
        margin-top: 0;
        padding: 5px;
        border-radius: 0;
    }

        .header-btn::after {
            content: " » ";
        }

    .banner-real-content h1 {
        margin-top: 85px;
        padding-bottom: 0;
        margin-bottom: 0;
        font-size: 1.2em;
    }

    .banner-real-content p {
        display: none;
    }

    .top-seller::before {
        content: "";
    }

    .offer > .top-part {
        height: initial;
    }

    .offer .cover {
        height: 250px;
    }

    .container .offer .overlay {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: initial;
        background-image: linear-gradient(to top, #a18cd1a6 0%, #fbc2eb9e 100%);
        opacity: .85;
        transition: all ease-in-out .1s;
    }

    .info-tag {
        padding-right: 10px;
        box-shadow: 4px 3px 5px -4px #000;
        font-weight: bolder;
        top: 20px;
    }

    .offer .content > .stars {
        text-align: center;
    }

    .offer .content {
        bottom: 0;
        background: rgba(0, 0, 0, 0.15);
        padding: 3px;
    }

    .offer .info {
        padding: 7px 0;
        background: #666f73;
    }

        .offer .info p {
            margin: 0;
            padding-right: 5px;
            line-height: initial;
            color: #e2e2e2;
        }

    .offer .buy button {
        padding: 5px 30px;
        font-size: 1em;
        margin-top: 5px;
        margin-right: 5px;
    }

    .offer .buy {
        padding: 2px;
    }

    .home-ribbon {
        margin-top: 0;
        display: block;
        padding: 5px;
    }

        .home-ribbon .home-ribbon-message div > span {
            display: none;
        }

        .home-ribbon .home-ribbon-message div > b {
            margin-bottom: 10px;
            display: block;
        }

        .home-ribbon .home-ribbon-message div {
            margin: 8px;
            font-size: 1.1em;
            background: #ff00001a;
            padding: 5px;
            border-radius: 18px;
        }

    .home-browse-container {
        display: initial;
        padding: 0;
    }

    .tabs-nav {
        display: none;
    }

    .container .offer-wrapper {
        max-width: initial;
        width: 85%;
        display: inline-block;
        margin-bottom: 0;
        border-radius: 18px;
        overflow: hidden;
        margin-top: 5px;
        box-shadow: -9px -9px 10px -14px #000;
    }

    .home-tabs-container {
        display: block;
        white-space: nowrap;
        overflow: auto;
    }

    .nav-mob {
        display: block;
    }

        .nav-mob select {
            display: block;
            width: 90%;
            margin: 0 5%;
            text-align: center;
        }

    .bot-message {
        padding: 10px;
        font-size: .9em;
    }

        .bot-message .btn-go {
            padding: 10px 40px;
            margin-bottom: 15px;
            font-size: 1.2em;
        }

    .departments li a {
        padding: 5px 16px;
        box-shadow: 3px 5px 3px -4px #b5b5b5;
        font-size: .9em;
    }

    .departments li {
        width: initial;
        padding: 2px;
    }

    .departments h4 {
        margin: 10px;
    }

    .news-container {
        display: block;
        padding: 7px;
        margin: 0;
    }

        .news-container::before {
            content: none;
        }

        .news-container .news {
            flex: none;
            margin: 7px;
            border-radius: 16px;
        }

            .news-container .news .body {
                background: rgba(255, 255, 255, 0.85);
            }

            .news-container .news:last-child {
                display: none;
            }

    .user-stories-header {
        margin-top: 10px;
        padding-right: 10px;
    }

    .user-stories .user-story .header img {
        height: 40px;
    }

    .user-stories {
        padding: 5px;
        white-space: nowrap;
        overflow: auto;
    }

        .user-stories .user-story {
            flex: none;
            margin: 5px;
            border-radius: 16px;
            max-width: initial;
            display: inline-block;
            width: 85%;
            padding: 5px;
        }

            .user-stories .user-story .header div {
                padding: 3px;
            }

    .user-story .header {
        padding: 0;
    }

    .user-stories .user-story p {
        white-space: normal;
    }

    .trusted ul li img {
        max-width: 100%;
    }

    .trusted ul li {
        margin: 5px;
    }

    .trusted ul {
        width: 100%;
        display: flex;
    }

    .footer-real-content {
        margin: 0;
        padding: 0 4px;
    }

        .footer-real-content .top-logo {
            display: none;
        }

    select {
        -webkit-appearance: listbox;
    }

    select, input {
        width: 100%;
        border: 1px solid #999;
        border-radius: 6px;
        margin-bottom: 10px;
        padding: 7px;
        box-sizing: border-box;
    }

    .cart-container {
        position: fixed;
        z-index: 10;
        left: 0;
        right: 0;
        bottom: 0;
        background: #f1f1f1;
        visibility: visible;
        box-shadow: 0 0 55px -20px #555;
        display: none;
    }

    .top-shopping-cart {
        border-radius: 0;
        width: 100%;
        height: 100%;
        display: block !important;
    }

    .cart-container.focused {
        display: block;
    }

    .cart-container .cart-counter {
        right: 3px;
        top: 3px;
        width: initial;
        height: initial;
        border-radius: 50%;
        line-height: initial;
        padding: 3px 7px;
        animation: top-shopping-cart-focused-counter-animation 2s ease-in-out infinite;
        border: none;
    }

    .cart-container .cart-details.show {
        display: block;
    }

    .cart-container .cart-details {
        position: fixed;
        padding: 8px;
        border-radius: 0;
        box-shadow: none;
        width: initial;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        z-index: 1;
    }

        .cart-container .cart-details .cart-details-header {
            padding: 0 8px 0 0;
            border-radius: 0;
            border-bottom: none;
            background: none;
        }

            .cart-container .cart-details .cart-details-header > div {
                line-height: initial;
                margin-top: 50px;
                margin-bottom: 0;
                text-align: center;
                border-bottom: 1px solid #d4d4d4;
            }

            .cart-container .cart-details .cart-details-header button {
                color: #676767;
                background: none;
                border: none;
                border-radius: 0;
                width: 100%;
                height: initial;
                transform: none;
                opacity: 1;
                position: absolute;
                left: 0;
                right: 0;
                margin: 0 auto;
                display: block;
                margin-top: 15px;
            }

        .cart-container .cart-details .body {
            border: none;
            max-height: 270vh;
        }

    #cartForm > div {
        background: #fff;
    }

        #cartForm > div:nth-child(2n + 10) {
            background: #f5f5f5;
        }

        #cartForm > div > span:nth-child(3) {
            line-height: unset;
        }

    .remove-from-cart-btn {
        transform: none;
    }

    .cart-container .cart-details .footer button {
        transform: none;
        margin-top: 10px;
        border-radius: 18px;
        font-size: 1em;
        padding: 5px 30px;
    }

    #toast-container .toast {
        width: 100%;
        border-radius: 0;
    }

    #toast-container {
        left: 0;
        right: 0;
        top: 0;
        height: 100px;
    }

    .sale-overlay {
        box-shadow: none;
    }

        .sale-overlay .footer button {
            border-radius: 20px;
        }

        .sale-overlay .content {
            width: 90%;
            padding: 5px;
        }

        .sale-overlay .close {
            display: none;
        }

        .sale-overlay .real-content img {
            width: 100%;
            transform: none;
        }

        .sale-overlay .message {
            padding: 4px;
            text-align: center;
        }

    .mobile-search-no-result {
        display: none;
    }

    ul.mobile-search-result {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #mobileSearchLoading {
        text-align: center;
        transform: scale(2);
        display: none;
    }

    ul.mobile-search-result li {
        margin: 3px;
    }

    ul.mobile-search-result a {
        display: block;
        color: #000;
        margin-top: 7px;
        font-size: 1.1em;
        background: #dedede;
        border-radius: 16px;
        padding: 6px;
    }

        ul.mobile-search-result a span {
            font-size: .8em;
            margin-right: 10px;
            opacity: .85;
        }

    body .account-overlay {
        left: 4px;
        right: 4px;
    }

        body .account-overlay .content, body .account .content {
            margin-top: 15px;
            margin-bottom: 15px;
            animation: none;
            width: 98%;
            box-sizing: border-box;
            overflow: hidden;
        }

    .account .close, .account-overlay .close {
        position: initial;
        display: block;
        text-align: center;
    }

    .account-overlay .form-group > button, .account .form-group > button {
        font-size: 1.2em;
    }

    /* Course start */

    .background-video {
        display: none;
    }

    .course {
        padding-top: 0;
        padding-bottom: 0;
        background: none;
        box-shadow: none;
        height: initial;
        border-top: 1px solid #555;
    }

        .course .title {
            margin: 5px -5px;
            background: #fbfbfb;
        }

        .course .course-details > .info {
            width: initial;
            text-shadow: none;
            text-align: center;
        }

            .course .course-details > .info .description {
                height: initial;
            }

    .course-details .preview {
        margin-top: 0;
        float: none;
        background: none;
        box-shadow: none;
    }

    .preview-box img {
        width: 100%;
        border-radius: 16px;
    }

    .preview-box > div {
        text-align: center;
    }

    .course-details .preview .course-content {
        margin: 5px;
    }

        .course-details .preview .course-content ul {
            margin: 0;
        }

    .course .course-details {
        padding: 0 5px;
        font-size: .9em;
    }

    .course-details .preview .buy {
        font-size: 1.2em;
        border-radius: 16px;
        width: 100%;
        margin: 0;
    }

    .course-details .product-info ul {
        margin-top: 5px;
        font-size: .9em;
    }

        .course-details .product-info ul [class^="flaticon-"]:before,
        .course-details .product-info ul [class*=" flaticon-"]:before,
        .course-details .product-info ul [class^="flaticon-"]:after,
        .course-details .product-info ul [class*=" flaticon-"]:after {
            margin-left: 0;
            font-size: 14px;
        }

    .product-info li span {
        margin-left: 3px;
    }

    .course-data .learn {
        width: initial;
        border: none;
        margin: 0;
    }

    .course-data .data {
        margin: 0;
        border-radius: 0;
        padding: 5px;
        width: initial;
    }

        .course-data .data .real-data > div {
            font-size: 1em;
        }

    .close-watch-overlay {
        position: initial;
        width: initial;
        height: initial;
        font-size: .85em;
        padding: 5px 7px;
        margin: 8px auto;
        display: block;
    }

    .watch-overlay {
        box-shadow: none;
    }

    .watch-container {
        width: initial;
        margin-top: 0;
        border-radius: 0;
        box-shadow: none;
        flex-direction: column;
    }

        .watch-container > div:first-child {
            order: 2;
            background: none;
        }

        .watch-container > div:last-child {
            order: 1;
            background: none;
        }

    .course-data .learn {
        width: initial;
    }

    .course-data .data .headline {
        font-size: 1em;
    }

    /* Course end */
    .footer-links ul li {
        margin-left: 3px;
    }

    .footer-real-content span {
        padding-top: 0;
    }

    .footer-links ul {
        padding-top: 0;
    }

    .general-container > .footer {
        font-size: .8em;
        font-weight: bold;
    }

    .sale-overlay h3#saleOverlayTitle {
        margin: 0;
    }

    .sale-overlay p {
        margin: 4px;
    }

    /* search start */

    .search-result {
        padding: 0;
        flex-direction: column;
    }

        .search-result .search-filters {
            max-height: 33vh;
            overflow: auto;
            margin: 0;
            background: #d0d0d0;
        }

            .search-result .search-filters .search-container {
                margin: 3px;
            }

                .search-result .search-filters .search-container:first-child {
                    display: block;
                }

                .search-result .search-filters .search-container:nth-child(2) {
                    display: block;
                    overflow: hidden;
                }


        .search-result .search-container {
            padding: 2px 5px;
        }

    .search-real-result .header {
        display: block;
    }

    .search-real-result .real-body .message {
        padding: 4px;
    }

    .search-real-result .heading {
        display: none;
    }

    .search-real-result .header button {
        margin-left: 0;
        padding: 1px 8px;
        font-size: .7em;
    }

    .search-result-items {
        flex-direction: column;
    }

        .search-result-items > div {
            width: 100%;
        }

    /* search end  */

    #mobileMenuOverlayContent li {
        background: #65656596;
        margin: 3px;
        padding: 1px;
        border-radius: 5px;
        position: relative;
        overflow: hidden;
    }

    .mobile-menu-overlay ul ul {
        visibility: hidden;
        height: 0;
        padding: 0;
    }

    .mobile-menu-overlay ul.active {
        visibility: visible;
        height: initial;
        padding: initial;
    }

    #mobileMenuOverlayContent ul::before {
        content: "+";
        position: absolute;
        top: 0;
        left: 10px;
        font-size: 1.8em;
        color: #555;
        visibility: visible;
    }

    .mobile-menu-overlay ul.active::before {
        display: none;
    }

    .mobile-menu-overlay ul.active::after {
        content: "-";
        position: absolute;
        top: 0;
        left: 10px;
        font-size: 1.8em;
        color: #555;
        visibility: visible;
    }

    .mobile-menu-overlay .btn {
        color: #333;
        display: block;
        padding: 5px 10px;
        background: #e8e8e8;
        border-radius: 4px;
        margin: 2px auto;
        border: none;
        width: calc(100% - 4px);
        box-sizing: border-box;
        text-align: right;
    }

    .top-static-message > a {
        font-size: 1em;
        padding: 5px 15px;
    }

    .top-static-message > button {
        left: 0;
        top: 0;
    }

    .add-to-home {
        bottom: 5px;
        left: 5px;
        right: 5px;
        padding: 5px;
    }

    .general-container .footer .details {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto auto auto;
        padding: 50px 10px;
        font-size: 90%;
        column-gap: 15px;
    }

        .general-container .footer .details .header {
            grid-row-start: 1;
            grid-column-start: 1;
            grid-column-end: 4;
            text-align: center;
        }

        .general-container .footer .details .social {
            grid-row-start: 2;
            grid-column-start: 1;
            grid-column-end: 4;
            text-align: center;
            margin-top: 25px;
        }

        .general-container .footer .details .links {
            font-size: 80%;
            margin-top: 24px;
        }

    .general-container .footer .links {
        min-height: initial;
    }

    .general-container .footer .details .address {
        grid-row-start: 4;
        grid-column-start: 1;
        grid-column-end: 4;
        margin-top: 25px;
    }

    .general-container .footer [class^="icon-"]:before, [class*=" icon-"]:before {
        font-size: 24px;
        margin-left: 6px;
    }

    .general-container .footer .certs {
        grid-column-start: 1;
        grid-column-end: 4;
        justify-content: center;
    }

    .single-page-content {
        margin-top: 5px;
    }

    .single-page-content img {
        max-width: 95%;
    }

    .contact-page .contact-up {
        grid-template-columns: 1fr;
    }

    .contact-item {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .contact-up img {
        display: block;
        margin: 0 auto;
    }
}

@media only screen and (min-width: 550px) {
    .container .offer-wrapper {
        width: 50%;
    }

    .search-result-items {
        flex-direction: row;
    }

        .search-result-items > div {
            width: 48%;
        }

    .course .course-details {
        display: flex;
    }

        .course .course-details > .info {
            width: 75%;
        }

    .course-details .preview {
        background: #e8e8e8;
        box-shadow: 0 0 5px 3px #00000054, 0 0 50px #a2a2a266 inset;
        margin: 8px;
    }

    .course {
        border-top: none;
    }
}
