
@import "../fonts/shabnam-font/dist/font-face.css";
*{
    font-family: 'Shabnam', "Vazir" ,Sans-Serif;
}
@font-face {
    font-family: 'NianWeb';
    src: url('../assets/fonts/NianWeb.eot');
    src: url('../assets/fonts/NianWeb.eot?#iefix') format('embedded-opentype'),
    url('../assets/fonts/NianWeb.woff2') format('woff2'),
    url('../assets/fonts/NianWeb.woff') format('woff'),
    url('../assets/fonts/NianWeb.ttf') format('truetype'),
    url('../assets/fonts/NianWeb.svg#NianWeb') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'NianWeb', Vazir, Sans-Serif;
}


.article h3 {
    max-height: 1.2em !important;
    overflow: hidden !important;
}

.article p {
    max-height: 8em !important;
    overflow: hidden !important;
}

.no-bg-before, .no-bg-before:before, .no-bg-before:after {
    background: transparent !important;
}

.right-now {
    background: #0a296b;
    color: white;
}

.right-now a {
    color: white !important;
}

.pro-exp {
    text-align: justify;
    line-height: 1.7em;
    font-size: 20px;
}

.slider-show {
    display: grid;
    grid-template-columns: 3fr 2fr;
    margin: 5px;
    position: absolute;
    top: 50vh;
    left: 10%;
    z-index: 9;
    text-align: center;
}

.slider-show h2 {
    color: white;
    background: red;
    font-size: 17px;
    padding: 3px;
    margin: 0;
}

.slider-show h3 {
    color: white;
    background: gray;
    font-size: 17px;
    padding: 3px;
    margin: 0;
}

.slider-show h4 {
    color: red;
    background: white;
    font-size: 35px;
    padding: 5px;
    margin: 0;
}

.slider-show {
    display: grid;
    grid-template-columns: 3fr 2fr;
    margin: 5px;
    position: absolute;
    top: 50vh;
    left: 10%;
    z-index: 9;
    text-align: center;
}

.slider-show h2 {
    color: white;
    background: red;
    font-size: 17px;
    padding: 3px;
    margin: 0;
}

.slider-show h3 {
    color: white;
    background: gray;
    font-size: 17px;
    padding: 3px;
    margin: 0;
}

.slider-show h4 {
    color: red;
    background: white;
    font-size: 35px;
    padding: 5px;
    margin: 0;
}

/*!*-960px width*!*/
@media ( max-width: 960px ) {
    .just-desktop {
        display: none;
    }

    .show-items .just-desktop {
        display: block;
    }

    /*    #index-menu li{*/
    /*        display: none;*/
    /*    }*/
    /*    #menu-logo,.index-li-desktop,.index-menu-btn{*/
    /*        display: block;*/
    /*    }*/
}


.def-show {
    display: block;
    grid-template-columns: 3fr 2fr;
    text-align: center;
}

.def-show div:last-child {
    position: relative;
}

.def-show h2 {
    color: white;
    background: red;
    font-size: 14px;
    padding: 3px !important;
    margin: 0 !important;
}

.def-show h3 {
    color: white;
    background: gray;
    font-size: 14px;
    padding: 3px;
    margin: 0;
}

.def-show a {
    font-size: 14px !important;
    color: white;
}

.def-show h4 {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: red;
    background: white;
    font-size: 17px;
    margin: 0;
}

#index-section-product h2 {
    font-size: 14px;
}

#sms-code {
    display: none;
}


.ajs-message.ajs-visible {
    direction: ltr;
}


#product-register {
    background-size: cover !important;
    background-position: center !important;
}

.add-table table {
    width: 100% !important;
    border-color: transparent !important;
}

.add-table th, .add-table td {
    border-bottom: 1px solid silver;
}

.add-table tr:nth-child(even) td {
    background: #00000011;
}

.add-table tr:hover td {
    background: #124cc9;
    color: white;
}

footer h2 {
    font-weight: 800;
    text-align: justify;
}

/*-700px width*/
@media ( max-width: 700px ) {
    .footer-logo {
        max-height: 175px;
        width: auto;

    }
}

.f21 {
    font-size: 21.5px;
}

/*.hovering{*/
/*    position: relative;*/
/*}*/


/*.second-image{*/
/*    position: absolute;*/
/*    left: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    top: 0;*/
/*    opacity: 0;*/
/*    transition: 300ms;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: cover;*/
/*}*/

/*.hovering:hover .second-image{*/
/*    opacity: 1;*/
/*}*/

#catalog-index {
    border-radius: 16px;
}

.btn {
    border-radius: 8px !important;
}

.bordering {
    border-radius: 12px;

}


.bordering {
    box-shadow: 5px 8px 10px silver;
}

.bordering h5 {
    font-weight: 800;
    margin-bottom: 1rem;
}

#index-header #header-slider .item img {
    max-width: none;
    max-height: 87vh;
}

.product-item-slider > div {
    box-shadow: 5px 8px 10px silver;
}

#index-menu {
    border-radius: 9px;
    overflow: hidden;
}

.glassed, .glassed img {
    border-radius: 9px;
}

#index-blog-section .article {
    border-radius: 14px;
    box-shadow: 5px 8px 10px silver;
}

.img-container-blue {
    border-radius: 9px;
    background: radial-gradient(circle, #1b5e92 0%, #032e53 100%);
}

.img-container-blue img {
    position: absolute;
    left: auto;
    right: auto;
    top: 9px;
    bottom: 0;
    object-fit: cover;
    width: 55%;
    height: 100%;
    inset-inline-start: 22%;
}

#index-product-register #product-register {
    border-radius: 16px;
    box-shadow: 4px 6px 6px gray;
}

#index-blog-section .article img {
    height: 300px;
    object-fit: cover;
}

#index-blog-section h3 {
    margin-bottom: 2rem;
}

.download-catalog-footer {
    border-radius: 16px;
}

#content {
    border-radius: 16px;
}

#contact-box {
    border-radius: 16px;
}

.product-item-slider > div {
    border-radius: 16px;
}


#sell-now {
    border-radius: 11px 11px 0px 0px;
}

#content p {
    margin-top: 2rem;
}


#preloader img {
    animation: linear;
    animation-duration: 2s;
    animation-name: plss;
    animation-iteration-count: infinite;
}

@keyframes plss {
    0% {
        /*opacity: .1;*/
        transform: rotateY(0deg);
    }
    50% {
        /*opacity: .7;*/
        transform: rotateY(90deg);
    }
    100% {
        /*opacity: .1;*/
        transform: rotateY(0deg);
    }
}

#preloader {
    .box {
        width: 300px;
        height: 300px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

#preloader div img {
    margin: 0 !important;
    position: absolute;
    left: calc(50% - 8vh);
    top: calc(50% - 8vh);
    width: 16vh;
    height: 16vh;
    transform: translate(-50%, -50%);
}


/*-768px width*/
@media ( max-width: 768px ) {
    #index-header #header-slider .item img {
        max-height: 47vh;
    }
}

.content{
    padding-top: 2rem;
}

#single img{
    border-radius: 16px;
    box-shadow: 4px 6px 6px gray;
}
