﻿@media only screen and (max-width: 1400px) {
    .Product {
        width: 24%;
    }
}

@media only screen and (max-width: 1200px) {

    .logo {
        right: 130px;
        transform: unset;
    }

    .socials {
        right: 160px;
    }

    .FormBox {
        right: 30px;
    }

    .ProfileContainer {
        flex-direction: column;
    }

    .PSideBar, .PMain {
        width: 100%;
    }

    .PMain {
        margin-top: 20px;
    }

    .PSideBar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .PSidebarSection {
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
    }

        .PSidebarSection a {
            display: flex;
            flex-direction: column;
            align-items: center;
            border-radius: 9px;
            margin: 10px 0px;
            padding: 10px 5px;
            width: 15.66%;
        }

            .PSidebarSection a img {
                margin-left: 0px;
            }

            .PSidebarSection a span {
                margin-top: 10px;
                text-align: center;
            }

    .TopSidebar {
        display: block;
    }

    .ProfileImage {
        width: 60px;
        height: 60px;
        margin-left: 10px;
        float: right;
    }

    .TopSidebar p {
        font-size: 17px;
        float: right;
        margin-top: 20px;
    }


    .SidberPoint {
        float: left;
        width: 200px;
        display: flex;
        flex-direction: column;
    }

    .CartBasket {
        position: fixed;
        bottom: 30px;
        left: 40px;
        top: unset;
    }
}

@media only screen and (max-width: 992px) {
    html, body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .logo {
        position: unset;
        margin: 0px auto;
        display: block;
    }

    .MainPage {
        flex-direction: column;
    }

        .MainPage .rightSection, .MainPage .leftSection {
            width: 100%;
        }

        .MainPage .rightSection {
            order: 2;
            height: unset;
            margin-top: 130px;
        }

        .MainPage .leftSection {
            order: 1;
            height: 210px;
        }

    .circleHolder {
        bottom: 0px;
        left: 50%;
        transform: translateX(-50%);
        right: unset;
        top: unset;
    }

        .circleHolder .slide {
            width: 300px;
        }

    .slide1 {
        transform: translateX(50%) translateY(-50%) rotate(-90deg);
    }

    .slide2 {
        transform: translateX(-50%) translateY(50%) rotate(0deg);
    }

    .slide3 {
        transform: translateX(-50%) translateY(-50%) rotate(90deg);
    }

    .slide4 {
        transform: translateX(-50%) translateY(-50%) rotate(180deg);
    }

    @keyframes mymove {
        0% {
            transform: translateX(-50%) rotate(0deg);
        }

        12.5% {
            transform: translateX(-50%) rotate(0deg);
        }

        25% {
            transform: translateX(-50%) rotate(90deg);
        }

        37.5% {
            transform: translateX(-50%) rotate(90deg);
        }

        50% {
            transform: translateX(-50%) rotate(180deg);
        }

        62.5% {
            transform: translateX(-50%) rotate(180deg);
        }

        75% {
            transform: translateX(-50%) rotate(270deg);
        }

        87.5% {
            transform: translateX(-50%) rotate(270deg);
        }

        100% {
            transform: translateX(-50%) rotate(360deg);
        }
    }

    .FormBox {
        position: unset;
        margin: 40px auto;
    }

    .socials {
        margin: 80px auto 50px auto;
        position: unset;
    }

    .PMainMetas {
        flex-wrap: wrap;
    }

    .PMainMeta, .OrderStatus {
        width: 32%;
    }

        .PMainMeta.BigElement {
            width: 100%;
            margin-top: 20px;
        }

            .PMainMeta.BigElement p {
                text-align: center;
            }

    .AddedProduct {
        width: 24%;
    }

    .OrderStatus {
        padding: 10px 5px;
    }

    .PurchaseProducts .AddedProduct {
        width: 24%;
    }

    .Product {
        width: 32.33%;
    }
    .CartWrapper{flex-wrap:wrap;}
    .CartWrapper .CartProducts {
        width: 100%;
        margin-left:20px;
    }

    .CartWrapper .CouponCart{
        width:100%;
        margin-top:20px;
    }


}

@media only screen and (max-width: 700px) {
    .circleHolder .slide {
        width: 250px;
    }

    .MainPage .leftSection {
        height: 190px;
    }

    .formGroup, .UploadFile {
        width: 100%;
    }

    .UploadFile {
        padding: 10px;
    }

    .PurchaseProducts .AddedProduct {
        width: 32.33%;
    }

    .Product {
        width: 49%;
    }

    .ItemRow {
        flex-wrap: wrap;
    }

        .ItemRow .oLevel1 {
            width: 70px;
            margin-bottom: 10px;
        }

        .ItemRow .cartProductThumbs {
            width: calc(100% - 70px);
            margin-bottom: 10px;
        }

        .ItemRow .oLevel4 {
            width: calc(100% - 350px);
        }

        .ItemRow .oLevel5 {
            width: 175px;
            align-items: end;
        }

    .headerRow .oLevel1, .headerRow .oLevel2, .headerRow .oLevel3, .headerRow .oLevel4, .headerRow .oLevel5 {
        width: 20%;
    }

    .OrderItem p{
        font-size:14px;
    }

    .PurchaseHistory .oLevel1, .PurchaseHistory .oLevel2, .PurchaseHistory .oLevel3, .PurchaseHistory .oLevel4 {
        width: 50% !important;
    }
}

@media only screen and (max-width: 480px) {
    .inputArea input {
        width: 90%;
    }

    .inputArea img {
        left: calc(5% - 2px);
    }

    .FormBox label {
        margin-right: calc(5% + 30px);
    }

    .PSidebarSection {
        display: none;
    }

    .TopSidebar {
        display: flex;
    }

        .TopSidebar p, .TopSidebar span {
            margin-top: 5px;
        }

    .PMainMeta {
        width: 100%;
        margin-bottom: 10px;
        flex-direction: row;
        height: 70px;
        padding: 0px 10px;
    }

        .PMainMeta img {
            margin-left: 10px;
            width: 40px;
            height: unset;
        }

        .PMainMeta p {
            margin-left: 10px;
        }

        .PMainMeta.BigElement {
            flex-direction: column;
        }

    .AddedProducts, .Orders {
        margin-top: 15px;
    }

    .AddedProduct {
        width: 49%;
    }

    .OrderStatus {
        width: 100%;
        margin-bottom: 10px;
        justify-content: center;
    }

    .PurchaseProducts .AddedProduct {
        width: 49%;
    }

    .Product .Price {
        font-size: 11px;
    }

    .Product p {
        font-size: 13px;
        height: 40px;
    }

    .mobile_menu {
        display: block;
    }

    body {
        padding-bottom: 50px;
    }

    .cartItemImg {
        width: 50px;
        height: 50px;
        margin-left: 10px;
    }

    .cartItemDetails {
        padding: 4px 0px;
    }

        .cartItemDetails h2, .cartItemDetails span {
            font-size: 14px;
        }

    .cartAction a {
        top: 30px;
        left: -2px;
        width: 30px;
        height: 30px;
        font-size: 17px;
        padding-top: 4px;
    }

    .CartBilingAddress {
        padding: 20px 10px;
    }

    .CartBasket {
        display: none;
    }

    .ItemRow .oLevel3 {
        width: 60%;
    }

    .ItemRow .oLevel4 {
        width: 40%;
    }

    .ItemRow .oLevel5 {
        width: 100%;
        align-items: center;
        margin-top: 10px;
    }

    .CouponCartItem .cartAction a {
        top: 25px;
    }
}
