﻿@import url(fontiran.css); /* لینک فایلی که وظیفه بارگذاری فونت ها را برعهده دارد */
html {
    direction: rtl;
}

body, button {
    font-family: IRANSans !important;
    font-weight: 300;
    direction: rtl;
    background-color: #282828;
    margin: 0;
    font-size: 1.04vw;
}

h1, h2, h3, h4, h5, h6, input, textarea {
    font-family: IRANSans !important;
}

h1 {
    font-weight: bold;
}

html, body {
    direction: rtl;
}

body {
    margin: 0;
}

#background-img {
    width: 100%;
    /*filter: blur(1.5px);*/
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
}

#top-container {
    z-index: 1;
}

#header {
    aspect-ratio: 18 / 1;
    background-color: #01b262;
    overflow: auto; /*جهت حذف فواصل عمودی*/
    font-size: 0; /*جهت حذف شکاف‌های افقی*/
}

.desktop #header {
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 99;
}

.desktop #body-container:not(.index-page) {
    margin-top: 5.5vw;
}

#header > div {
    height: 100%;
    display: inline-block;
}

    #header > div:nth-child(1) {
        width: 3.3%;
    }

    #header > div:nth-child(2) {
    }

        #header > div:nth-child(2) img {
            height: 100%;
        }

    #header > div:nth-child(3) {
        width: 8.5%;
    }

    #header > div:nth-child(4) {
        width: 39%;
        vertical-align: top;
        background-image: url(../../images/BoxMaker/Desktop/Search.png);
        background-size: cover;
        background-position: center;
    }

    #header > div:nth-child(5) {
        width: 12.2%;
    }

#login {
    width: 7.5%;
    background-image: url(../../images/BoxMaker/Desktop/Login.png);
}

#customer-dashboard {
    width: 7.5%;
    background-image: url('../../images/boxmaker/desktop/layout/customer-dashboard.png');
}

#login, #customer-dashboard {
    vertical-align: top;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

    #login a, #customer-dashboard a {
        height: 100%;
        display: block;
        width: 100%;
    }

        #login a span, customer-dashboard a span {
            position: absolute;
            width: 1px;
            height: 1px;
            overflow: hidden;
            clip: rect(0 0 0 0);
            white-space: nowrap;
        }

#header > div:nth-child(7) {
    width: 0.8%;
}

#shopping-cart {
    width: 6.5%;
    vertical-align: top;
    background-image: url(../../images/BoxMaker/Desktop/ShoppingCart.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: inline-block;
}

    #shopping-cart a {
        height: 100%;
        display: block;
        width: 100%;
    }

#shopping-cart-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.desktop #shopping-cart-items-count {
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 0.1vw 0.84vw;
    font-size: 1.26vw;
    font-weight: bold;
    position: absolute;
    top: 0.5vw;
    left: -1.05vw;
}


#search-text {
    width: 80%;
    margin-top: 5.3%;
    margin-right: 10.5%;
    height: 26%;
    color: black;
    font-size: 1.04vw;
    font-weight: 500;
}

    #search-text::placeholder {
        color: #adadad;
    }


.invisible-input {
    border: none;
    background: transparent;
    caret-color: black;
    outline: none;
    /*width: 200px; */
    /*height: 30px;*/
}
