﻿body {
    margin: 0;
    font-family: fontman
}
 
hed {
    display: block;
    position: fixed;
    width: calc(100% - 20px);
    top: 0;
    left: 0;
    padding: 5px 10px;
    background-color: white;
    z-index: 2;
    border-bottom: 1px solid #012f6d;
}

foot {
    display: none;
    z-index: 2;
    border-top: 1px solid #012f6d;
    background-color: white
}

.arms, search, .sabad, .newagahi, .save, .msg, .accont, clop, clops {
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
}
.sabad, .newagahi, .save, .msg, .accont {
    text-decoration: none;
    color: #000000
}

.arms {
    background-image: url(../pic/bolangoo.png);
    height: 65px;
    width: 65px;
    background-size: 55px;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 5px
}

.sabad, .save, .msg, .accont {
    background-repeat: no-repeat;
    background-position: center left;
    margin-right: 15px;
    font-size: 13px;
}

    .save:before {
        content: 'ذخیره ها';
    }

    .sabad:before {
        content: 'سبد خرید';
    }

    .msg:before {
        content: 'پیام ها';
    }

    .accont:before {
        content: 'حساب من';
    }

.save {
    background-image: url(../pic/save.svg);
    width: 72px;
    background-size: 24px;
}

.sabad {
    background-image: url(../pic/shopping.svg);
    width: 80px;
    background-size: 24px;
}

.msg {
    background-image: url(../pic/msg.svg);
    width: 65px;
    background-size: 24px;
}

.accont {
    background-image: url(../pic/user.svg);
    width: 85px;
    background-size: 28px;
}

.newagahi {
    background-color: #012f6d;
    width: 110px;
    height: 25px;
    color: white;
    padding: 12px 15px;
    border-radius: 5px;
    font-weight: bold;
    margin-right: 15px;
}

    .newagahi:before {
        content: 'ثبت آگهی رایگان'
    }


search {
    border-radius: 5px;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
    background-color: white;
    width: calc(100% - 632px);
    outline: none;
    border: 1px solid #ccc;
}

    search input {
        border-radius: 5px;
        display: inline-block;
        vertical-align: middle;
        padding: 10px;
        outline: none;
        border: none;
        width: calc(100% - 240px);
        font: 14px fontman;
        color: #012f6d
    }

    search ostan, search daste {
        display: inline-block;
        vertical-align: middle;
        border: none;
        outline: none;
        border-right: 1px dashed #ccc;
        width: 80px;
        margin: 5px 0;
        padding: 0 10px;
        background-size: 22px;
        background-position: center left;
        background-repeat: no-repeat
    }

    search ostan {
        background-image: url(../pic/place.svg);
    }

        search ostan:before {
            content: 'انتخاب شهر';
            font: 14px fontman
        }

    search daste {
        background-image: url(../pic/group.svg);
    }

        search daste:before {
            content: 'دسته بندی';
            font: 14px fontman
        }

spci {
    width: 500px;
    max-height: 100%;
    max-width: 100%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: none;
    z-index: 1001;
    -webkit-box-shadow: 0 0 30px 0 #ccc;
    background-color: white;
    overflow: hidden;
}



mohtava {
    display: block;
    text-align: center;
    padding: 0 5px;
    margin: 85px 10px 10px 10px;
}

all {
    display: none;
    position: fixed;
    background-color: black;
    opacity: 0.3;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000
}


@media(max-width:1050px) {

    search ostan:before {
        content: 'شهر';
        font: 14px fontman
    }

    search daste:before {
        content: 'دسته';
        font: 14px fontman
    }

    search ostan {
        width: 40px;
    }

    search daste {
        width: 50px;
    }

    search input {
        width: calc(100% - 170px);
    }
}

@media(max-width:870px) {
    mohtava {
        margin-top: 65px;
    }
    .sabad, .save, .msg, .accont, .newagahi {
        display: none
    }
    search {
        width: calc(100% - 80px);
        margin-right: 5px
    }

        search input {
            padding: 5px 10px;
        }


    hed {
        padding: 0 10px;
    }

    .arms {
        height: 55px;
        margin-right: 0
    }

    foot {
        display: flex;
        position: fixed;
        width: calc(100% - 20px);
        bottom: 0;
        left: 0;
        background-color: white;
        padding: 5px 10px;
        background-color: white;
    }

    .sp1, .sp2, .sp3, .sp4, .sp5 {
        display: inline-block;
        vertical-align: middle;
        width: 20%;
        text-align: center;
        font: bold 13px fontman;
        color: #012f6d;
        background-position: center 0;
        background-size: 24px;
        background-repeat: no-repeat;
        padding-top: 24px;
        transition: .5s;
        text-decoration: none;
    }

    .sp1 {
        background-image: url(../pic/home.svg);
    }

    .sp2 {
        background-image: url(../pic/save.svg);
    }

    .sp3 {
        background-image: url(../pic/plus.svg);
    }

    .sp4 {
        background-image: url(../pic/shopping.svg);
    }

    .sp5 {
        background-image: url(../pic/user.svg);
    }

        .sp1:hover, .sp2:hover, .sp3:hover, .sp4:hover, .sp5:hover {
            transition: .5s
        }
}

@media(max-width:350px) {
    search ostan:before {
        content: '.';
        font-size: 1px
    }

    search daste:before {
        content: '.';
        font-size: 1px
    }

    search ostan {
        width: 10px;
    }

    search daste {
        width: 10px;
    }

    search input {
        width: calc(100% - 100px);
    }
}

@font-face {
    font-family: fontman;
    src: url(../font/Sahel.woff) format("woff");
}



#loader {
    display: table;
    width: 30px;
    height: 30px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 2s linear infinite, heart-beat 2s linear infinite;
    background-color: #fff;
    text-align: center;
    line-height: 140px;
    position: absolute;
    top: calc(50% - 20px);
    left: calc(50% - 20px);
    transform: translate(calc(-50% - 20px),calc(-50% - 20px))
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes heart-beat {
    55% {
        background-color: #fff;
    }

    60% {
        background-color: #3498db;
    }

    65% {
        background-color: #fff;
    }

    70% {
        background-color: #3498db;
    }

    100% {
        background-color: #fff;
    }
}

divser1 {
    display: block;
    padding: 10px 10px 0 10px;
    outline: none;
    border: 1px solid #ccc;
    border-top: none
}

    divser1 sbtn {
        display: block;
        padding: 10px;
        margin: 10px;
        outline: none;
        text-align: right;
        font-size: 14px
    }

    divser1 input {
        display: block;
        font: 14px fontman;
        padding: 8px;
        border: 1px solid #ccc;
        outline: none;
        text-align: right;
        margin: 10px 20px 20px 20px;
        width: calc(100% - 58px);
        border-radius: 10px
    }



divser2 {
    overflow-x: hidden;
    overflow-y: auto;
    display: block;
    height: 500px;
    max-height: calc(100% - 204px);
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    outline: none;
}


divb, divbx {
    padding: 13px 15px 13px 0;
    margin: 0 20px;
    display: flex;
    border: none;
    outline: none;
    border-top: 1px solid #ccc;
    cursor: pointer;
    transition: .3s
}

    divb:hover, divbx:hover {
        background-color: #e8f0fb;
        transition: .3s
    }

    divb input, divbx input, divsr {
        display: inline-block;
        vertical-align: middle;
        width: 40px;
        cursor: pointer;
        text-align: center;
        color: #808080;
    }

divsr {
    margin-left: 3px
}

divs {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 20px);
    font-size: 15px
}

.nobor {
    border: none;
}

.botbor {
    border: none;
    border-bottom: 1px solid #ccc;
}

clop {
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px;
    color: maroon
}

divser3 {
    display: flex;
    direction: ltr;
    padding: 10px;
    outline: none;
    border: 1px solid #ccc;
    font-size: 14px;
    border-bottom: none
}

btnt, btne {
    display: inline-block;
    vertical-align: middle;
    width: calc(50% - 12px);
    margin: 0 5px;
    border: 1px solid #012f6d;
    border-radius: 5px;
    padding: 6px 0;
    text-align: center;
    cursor: pointer;
    transition: .5s
}

btnt {
    background-color: #012f6d;
    color: white;
    transition: .5s
}

btne {
    background-color: white;
    color: #012f6d;
}

sbtn {
    display: block;
}

cxu {
    display: block;
    margin: 6px 0 6px 0
}

tosbtn, tosbtn2, tosbtn3 {
    display: inline-block;
    background-color: #ffeae9;
    color: #012f6d;
    border: 1px solid red;
    padding: 2px 10px 3px 10px;
    margin-left: 5px;
    border-radius: 20px;
    cursor: pointer
}

    tosbtn sx, tosbtn3 sx, tosbtn closbtn, risbtn, tosbtn2, tosbtn3 closbtn {
        display: inline-block;
        vertical-align: middle;
    }

    tosbtn closbtn, tosbtn3 closbtn {
        font-size: 17px;
        margin-right: 10px;
        color: red
    }

tosbtn2 {
    width: 120px;
    border-radius: 0;
    margin: 2px 0 3px 0;
    text-align: center;
    padding: 2px 5px 3px 5px;
}

tosbtn3 {
    width: auto;
    margin: 3px;
    padding: 0px 10px 1px 10px;
    font-size: 14px
}

risbtn {
    width: calc(100% - 132px);
    text-align: center;
    padding: 3px 0
}

dova {
    display: block;
    padding: 10px
}

.delall {
    font-size: 13px;
    margin: 0;
    padding: 2px 0 0 0;
    width: 70px
}

.delallz {
    width: calc(100% - 72px);
}



#footer {
    color: #012f6d;
    width: 100%;
    display: table;
    margin-top: 10px
}

.tofooter {
    display: inline-block;
    vertical-align: top;
    text-align: center;
    margin-top: 15px;
    text-align: right;
    color: black;
    width: 32%;
    font-size: 15px
}


.to4 {
    display: inline-block;
    width: 290px;
    vertical-align: middle;
    margin-left: 10px;
    margin-top: 36px
}

    .to4 img {
        border: 1px solid #012f6d;
        outline: none;
        border-radius: 10px;
        margin: 0 20px;
    }

#footerd {
    display: inline-block;
    width: calc(100% - 300px);
    vertical-align: middle;
}

nasb {
    display: inline-block;
    width: 220px;
    vertical-align: top;
    margin-top: 59px;
}

    nasb spo1, nasb spo2, nasb spo3 {
        display: block;
        background-repeat: no-repeat;
        background-position: center right;
        margin: 12px;
        padding-right: 50px;
        font-size: 15px;
        cursor: pointer;
    }

    nasb spo1 {
        background-image: url(../pic/webapp.svg);
        background-size: 24px;
    }

    nasb spo2 {
        background-image: url(../pic/android.svg);
        background-size: 26px;
    }

    nasb spo3 {
        background-image: url(../pic/ios.svg);
        background-size: 28px;
    }

#wfooter {
    width: 100%;
    display: block;
    height: auto;
}




.tofooter a {
    color: #012f6d;
    font-size: 14px;
    text-decoration: none
}

.tofooter ul li {
    margin-top: 10px
}

.namadz {
    height: 120px;
    width: 100px;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #307fce;
    background-color: white;
    vertical-align: middle;
    display: inline-block;
    object-fit: contain
}

linec {
    display: block;
    height: 0;
    padding: 1px;
    background-image: linear-gradient(to left,white,#012f6d,white);
}

shr {
    display: table;
    position: absolute;
    z-index: 1;background-image: url(../pic/stars.svg);
    width: 30px;
    height: 30px;
    background-size: 30px;
    background-repeat: no-repeat;
    margin-top: -15px;
    left: calc(50% - 15px);
}

.tofoot {
    text-align: center;
    padding: 0 0 8px 0;
    font-size: 13px;
    display: block;
    margin-bottom: 10px
}

@media(max-width:767px) {

    nasb {
        display: block;
        width: auto;
        vertical-align: middle;
        margin: 20px 20px 30px 20px;
    }

        nasb spo1, nasb spo2, nasb spo3 {
            display: inline-block;
            vertical-align: middle;
            padding-right: 30px;
        }



    .tofoot {
        margin: 25px 10px 60px 10px
    }

    .tofooter {
        width: 48%;
    }

    .to4 {
        display: block;
        margin: 0 auto;
        text-align: center;
        width: 100%
    }

    #footerd {
        display: inline-block;
        width: 100%;
        vertical-align: top
    }
}





pres {
    display: block;
    margin: 30px 30px 10px 30px;
    text-align: justify;
    color: #817f7f;
    font-size: 15px
}

    pres b {
        display: block;
        font-size: 16px;
        color: #012f6d;
        margin-bottom: 10px
    }
h1 {
    display: block;
    margin: 100px 20px 0 20px;
    font-size: 18px;
    text-align: right
}
divtable {
    display: block;
    overflow-y: hidden;
    overflow-x: auto;
    padding: 20px 20px 0 20px;
    width: calc(100% - 40px);
    margin-bottom: 40px;
}

.table {
    border-collapse: collapse;
    min-width: 100%
}

    .table img {
        border: none;
        outline: none;
        width: 100px;
        height: 100px;
        margin: 0 auto;
        display: block;
        object-fit: cover
    }

    .table td {
        position: relative;
        text-align: center;
        border: 1px solid #787878;
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        padding: 10px 20px;
        direction: rtl;
    }

.sct {
    background-color: #d6e6fb;
}

    .sct td {
        padding: 10px;
    }