﻿@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 500;
    src: url('fonts/eot/IRANSansWeb(FaNum)_Medium.eot');
    src: url('fonts/eot/IRANSansWeb(FaNum)_Medium.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('fonts/woff2/IRANSansWeb(FaNum)_Medium.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('fonts/woff/IRANSansWeb(FaNum)_Medium.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('fonts/ttf/IRANSansWeb(FaNum)_Medium.ttf') format('truetype');
}
@font-face {
    font-family: "YekanBakh";
    src: url("fonts/fa/YekanBakhFaNum-VF.woff2");
}
span {
    font-family: YekanBakh;
    color: black;
}

* {
    text-decoration: none;
    font-family: YekanBakh;
    direction: rtl;
}

.itemimg {
    width: 99%;
    height: 200px;
    border: 2px solid #001119;
    background-size: cover;
    color: white;
    background-color: #dbdbdb;
    border-radius: 10px;
}
/*
    .itemimg > p {
        margin-top: 165px;
        text-align: right;
        font-size: 15px;
    }*/

body {
    background-color: white;
}

.post-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(100px, 293px));
    justify-content: center;
    grid-gap: 28px;
}

.post {
    cursor: pointer;
    position: relative;
    display: block;
}
.head {
    width: 98%;
    background-color: #ffffff;
    margin: auto;
    /* border-radius: 10px; */
    position: fixed;
    z-index: 100000000;
    top: -1px;
}
.post-image {
    margin: 0;
}

    .post-image img {
        width: 100%;
        vertical-align: top;
        border-radius: 10px;
    }

.post-overlay {
    background: linear-gradient(10deg,rgba(0,0,0,.6),rgba(0,0,0,.03) 50%,transparent);
    position: absolute;
    left: 0;
    border-radius: 10px;
    right: 0;
    /* bottom: 90px; */
    height: 196px;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}


.description {
    text-decoration: none;
    text-align: justify;
    direction: rtl;
    font-size: 13px;
    width: 85%;
    margin: 16px auto auto;
}

.post:hover .post-overlay {
    display: flex;
}

input:focus {
    outline: none;
}

textarea:focus {
    outline: none;
}

.post-like,
.post-comments {
    width: 80px;
    margin: 5px;
    font-weight: bold;
    text-align: center;
    display: inline-block;
}

.post-overlay > p {
    position: absolute;
    left: 10px;
    bottom: 10px;
    direction: rtl;
}

@media screen and (max-width: 768px) {
    .post-list {
        grid-gap: 5px;
        margin: 10px;
        margin-top: 140px;
    }
}

div#ContentPlaceHolder1_p1 {
    margin-top: 140px;
}
.regform {
    width: 95%;
    border: solid lightgray 1px;
    border-radius: 5px;
    height: 45px;
    padding-right: 15px;
    background-color: #e8f0fe !important;
    color: black !important;
}

.login-form {
    width: 95%;
    height: 350px;
    position: absolute;
    margin: auto;
    background: white;
    z-index: 1000000000;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    border-radius: 10px;
}

.category-form {
    width: 95%;
    height: 100%;
    position: absolute;
    margin: auto;
    background: white;
    z-index: 1000000000;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    border-radius: 10px;
}

.ul {
    list-style-type: none;
    margin: 0;
    padding-right: 20px;
    padding-left: 20px;
}

.li {
    height: 50px;
    line-height: 3;
    color: black !important;
    border-bottom: solid #525252 1px;
}

    .li::before {
        content: ">";
        left: 20px;
        position: absolute;
    }
    input{
        color:white !important;
    }
.menubutton {
    border: none;
    width: 23%;
    background: #0e232d;
    border-radius: 20px;
    color: white;
}
h1, h2, h3, h4, p {
    color: black;
}
input[type=file]::-webkit-file-upload-button {
    color: #ffffff;
    border: none;
    padding-top: 5px;
    /*background-image: url('picture.png');*/
    background-size: contain;
    background-repeat: no-repeat;
    /*color: black;*/
    height: 150px;
    width: 150px;
    background-color:#001119;
    
}

.productbtn {
    width: 45%;
    display: inline-block;
    text-align: center;
    height: 40px;
    line-height: 35px;
    margin-top: 6px;
    border-radius: 5px;
}
/*================================*/

.slider {
    margin: 0 auto;
    max-width: 96%;
}

.slide_viewer {
    height: 340px;
    overflow: hidden;
    position: relative;
}

.slide_group {
    height: 100%;
    position: relative;
    width: 100%;
}

.slide {
    display: none;
    height: 100%;
    position: absolute;
    width: 100%;
}

    .slide:first-child {
        display: block;
    }

    .slide:nth-of-type(1) {
        background: #D7A151;
    }

    .slide:nth-of-type(2) {
        background: #F4E4CD;
    }

    .slide:nth-of-type(3) {
        background: #C75534;
    }

    .slide:nth-of-type(4) {
        background: #D1D1D4;
    }

.slide_buttons {
    left: 0;
    position: absolute;
    right: 0;
    text-align: center;
}

a.slide_btn {
    color: #474544;
    font-size: 42px;
    margin: 0 0.175em;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.slide_btn.active, .slide_btn:hover {
    color: #428CC6;
    cursor: pointer;
}

.directional_nav {
    height: 340px;
    margin: 0 auto;
    max-width: 940px;
    position: relative;
    top: -340px;
}

.previous_btn {
    bottom: 0;
    left: 100px;
    margin: auto;
    position: absolute;
    top: 0;
}

.next_btn {
    bottom: 0;
    margin: auto;
    position: absolute;
    right: 100px;
    top: 0;
}

.previous_btn, .next_btn {
    cursor: pointer;
    height: 65px;
    opacity: 0.5;
    -webkit-transition: opacity 0.4s ease-in-out;
    -moz-transition: opacity 0.4s ease-in-out;
    -ms-transition: opacity 0.4s ease-in-out;
    -o-transition: opacity 0.4s ease-in-out;
    transition: opacity 0.4s ease-in-out;
    width: 65px;
}

    .previous_btn:hover, .next_btn:hover {
        opacity: 1;
    }

@media only screen and (max-width: 767px) {
    .previous_btn {
        left: 50px;
    }

    .next_btn {
        right: 50px;
    }
}
