:root {
    --primary-bg: #8a2be2;
    --btn-font-size: 18px;
    --btn-padding: 10px 15px;
    --g1: #4caf4f;
    --g2: #A4C276;
    --g3: #A0C070;
    --w1: #fff;
    --b1: #305773;
    --ICON: url('/public/images/icons18.png');
    --ICONS: url('/public/images/icons18.png');
}

::placeholder {
    direction: rtl;
    font-family: BYekan;
    color: #aaa;
}

input[type='checkbox'] {
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    padding: 0;
    margin: 0;
}

p {
    padding: 0;
}

.shf {
    display: flex;
}

.sb {
    display: block;
}

.h {
    display: none;
}

body {
    position: relative;
    margin: 0;
    box-sizing: border-box;
    background: #efefee;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    font-family: BYekan, BYekan2;
    font-size: 12pt;
    direction: rtl;
    padding-top: 91px;
}
/* ///////////////   icon
///////////////////////////////////////////////////////////////////////////*/
.like{
    background-position: -285px -227px;
    margin: auto 10px;
}

/*///////////////////////////////////////////////////////////////////////////*/
.butT {
    padding: 5px 10px 8px 10px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

@media (max-width: 835px) {
    .signinBut a:nth-child(2), .signinBut a:nth-child(3) {
        display: none;
    }
}

@media (max-width: 620px) {
    .signinBut a:nth-child(4) {
        display: none;
    }
}

.header {
    position: fixed;
    z-index: 300;
    width: 100%;
    top: 0;
    color: #555;
    box-shadow: 0 0 5px #30303c;
}

.header #head {
    background-color: white;
    height: 60px;
}

.header #headCon {
    position: fixed;
    bottom: 30px;
    right: 65px;
    z-index: 1000;
}

.header #headCon a {
    position: relative;
    display: inline-block;
    margin-right: 36px;
    padding-top: 4px;
    direction: ltr;
    font-size: 8pt;
}

.header #headCon a:before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    background-image:var(--ICON);
    display: inline-block;
    top: -15px;
    right: -29px;
}

.header #headCon a:nth-child(1) {
    font-size: 13pt;
    background-color: var(--g1);
    height: 16px;
    line-height: 17px;
    margin-top: 2px;
    padding: 5px 30px 5px 5px;
    border-top-left-radius: 14px;
    border-radius: 14px;
    color: var(--w1);
    margin-right: 21px;
}

.header #headCon a:nth-child(1):before {
    top: 1px;
    right: 0px;
}

.header #headCon a:nth-child(1):before {
    background-position: -158px -368px;
}

.header #headTopbar {
    width: 100%;
    height: 30px;
    background-color: var(--w1);
    border-bottom: 1px solid #e5e5ef;
    direction: rtl;
}

.header #headTopbar > div {
    display: inline;
}

.header #head {
    display: flex;
    flex-direction: row;
}

.header #head > div {
    width: fit-content;
    height: 100%;
}

.header #memuBox {
    display: flex;
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.header .logo object {
    width: 99%;
    height: 95%;
    float: left;
    max-width: 280px;
}

.header .logo {
    flex-grow: 2;
    padding-left: 11px;
    box-sizing: border-box;
}

.header .signinBut {
    width: fit-content;
    float: right;
    margin-top: 16px;
    min-width: 128px;
}

.header .signinBut span {
    position: relative;
    padding-top: 8px;
    padding-bottom: 11px;
    margin:0 10px;
}

.header .signinBut a:nth-child(1) span, .signinBut a:nth-child(4) span {
    color: #fff;
    background-color: #305773;
    padding-left: 20px;
    padding-right: 20px;
}

.header .signinBut a {
    margin-right: 10px;
}
    
.header .signinBut a:nth-child(4) span:hover {
    background-color: #487CA5;
}

.header .signinBut a:nth-child(1) span:hover {
    background-color: #A4C276;
}

.header .signinBut a:nth-child(4) {
    float: left;
}

.header .signinBut a:nth-child(2) span, .signinBut a:nth-child(3) span {
    color: #666;
    background-color: #fff;
    padding-left: 0px;
}

.header .profile span {
    min-width: 100px;
    position: relative;
    padding-right: 40px;
    box-sizing: border-box;
    padding-left: 20px;
    margin-left: 30px;
    line-height: 25px;
}

.header .profile span a {
    display: inline-block;
    min-width: 100px;
}

.header .profile span:after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    right: 9px;
    background-image: var(--ICON);
    background-position: -297px -50px;
}

.header .profile span div {
    position: absolute;
    width: 30px;
    height: 38px;
    left: -30px;
    top: -1px;
    background-color: #c33030;
    background-image: var(--ICON);
    background-position: -199px -62px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.header .profile span div a {
    display: block;
    width: 100%;
    height: 100%;
}

.header .menu {
    margin-top: 7px;
    width: 60px;
    float: right;
}

.header .menu > span {
    width: 40px;
    height: 40px;
    background-image: var(--ICON);
    background-repeat: no-repeat;
    background-position: -351px -2px;
    display: block;
    margin-right: 13px;
    margin-top: 2px;
    cursor: pointer;
}

.header .menuPopup {
    position: absolute;
    width: 100%;
    top: 91px;
    right: 0;
    background-color: rgba(48, 87, 115, 0.92);
    height: 500px;
    overflow: scroll;
}

.header .menuPopup > div {
    position: relative;

}

.header .menuPopup::-webkit-scrollbar {
    display: none;
}

.header .menuPopup > div > div {
    width: 100%;
    max-width: 90%;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.header .menuPopup > div > div > div {
    margin: 0 20px;
}

.header .menuPopup ul.h, .menuPopup ul.sf {
    width: 100%;
    flex-direction: column;
    box-sizing: border-box;
    color: white;
    margin-top: 20px;
    margin-bottom: 20px;
    top: 90px;
    display: flex;
    justify-content: space-around;
}

.header .menuPopup ul > li {
    display: inline-table;
    line-height: 25px;
    font-size: 13.5pt;
    padding: 10px 5px;
    text-align: right;
    white-space: nowrap;
}

.header .menuPopup ul > li:nth-child(1) {
    color: #aaa;
    cursor: none;
    border-bottom: 1px solid #aaa;
}

.header .menuPopup ul > li:NOT(li:nth-child(1)):hover {
    color: #01b3f1;
    cursor: pointer;
}

.masterBaner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    max-height: 550px;
    background-color: #305773;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.masterBaner ul {
    position: absolute;
    width: 100%;
    height: 98%;
    z-index: 40;
}

.masterBaner ul li {
    width: 100%;
    height: 100%;
    display: none;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}


.masterBaner > #banerNav {
    position: inherit;
    height: 100%;
    margin: auto;
    z-index: 50;
}

@media (max-width: 670px) {
    .masterBaner > div {
        width: 100%;
        margin: auto;
    }

    #officeTitle {
        bottom: 6%;
    }
}

#title {
    position: absolute;
    width: 630px;
    bottom: -117px;
    z-index: 100;
    left: 130px;
}

#title #officeTitle {
    position: absolute;
    max-width: 630px;
    font-size: 7px;
    color: #fff;
    text-align: center;
    padding: 3px 0;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    flex-wrap: wrap;
    left: 0px;
    right: 0;
    bottom: 0%;
}

#title #officeTitle > div > img {
    width: 100%;
    margin: auto;
    display: block;
    border-radius: 10px;
}

#title #officeTitle h1, #officeTitle h3, #officeTitle h5 {
    color: #015fa0;
    text-align: center;
    margin: 0px auto;
    font-size: 30pt;
    color: #fff;
    font-family: BYekan, BYekan2;
    text-shadow: 1px 1px 1px #000;
}

#title #officeTitle h1 {
    font-size: 35pt;
}

#title #officeTitle h3 {
    margin: 10px;
    line-height: 25px;
    text-shadow: 1px 1px 1px #000;
}

#title #officeTitle > span {
    margin: 10px;
    font-size: 16pt;
    line-height: 33px;
    text-shadow: 1px 1px 1px #000;
}

#title #officeTitle > span > span {
    margin: 10px 10px 10px 0;
    font-size: 17pt;
    line-height: 25px;
    text-shadow: 1px 1px 1px #000;
}

#title #officeTitle h3 {
    font-size: 22pt;
    display: inline-block;
    font-size: calc(100% + 0.8vw);
}

#title #officeTitle h5 {
    font-size: 20pt;
    line-height: 50px;
    margin: 0px;
}

@media (max-width: 1199px) and (min-width: 900px) {
    #title {
        zoom: 85%;
    }
}

@media (max-width: 899px) and (min-width: 600px) {
    #title {
        zoom: 70%;
    }
}

@media (max-width: 599px) and (min-width: 300px) {
    #title {
        zoom: 55%;
    }
}

@media (max-width: 499px) and (min-width: 100px) {
    #title {
        zoom: 40%;
    }
}

.section.CW {
    background-color: #E3E3E3;
    padding: 100px 0 30px 0;
}

.section.CW > div > h2 {
    top: 150px;
}

.section {
    position: relative;
    width: 100%;
    padding: 130px 0 30px 0;
    z-index: 50;
}

.section > div {
    width: 90%;
    margin: 0 auto 50px auto;
}

.section > div > h2 {
    position: absolute;
    color: #487ca5;
    left: 0;
    right: 0;
    margin: -1px auto 0 auto;
    height: 45px;
    max-width: 450px;
    text-align: center;
    line-height: 42px;
    top: 55px;
    font-size: 25pt;
}

.section .servicesDes {
    color: #487ca5;
    font-size: 18pt;
    text-align: justify;
    max-width: 1000px;
    margin: auto auto 70px auto;
    line-height: 45px;
}

.section .services {
    max-width: 1100px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.section .serviceBox {
    position: relative;
    width: 250px;
    overflow: hidden;
    margin: 5px;
    padding: 50px 15px 50px 15px;
}
.section2 {
    position: relative;
    width: 100%;
    z-index: 50;
    background-color: #fff;
    padding-top: 150px;
    padding-bottom: 150px;
}
.section2 .services2  {
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction:row;
    justify-content: center;
}
@media (min-width: 1015px) {
.section2 .serviceBox2 {
    max-width: 25%;
    min-width: 25%;
}
}
@media (min-width: 768px) and (max-width: 1014px) {
    .section2 .services2  {
            flex-wrap:wrap;
    }
.section2 .serviceBox2 {
    max-width: 50%;
    min-width: 50%;

}
}
@media (max-width: 767px)  {
        .section2 .services2  {
            flex-wrap:wrap;
    }
.section2 .serviceBox2 {
    max-width: 100%;
    min-width: 100%;

}
}
.section2 .serviceBox2 {
    position: relative;
    text-align:center;
    padding:10px;
    box-sizing: border-box;
    margin:3px;
    overflow:hidden;
}
.section2 .serviceBox2:nth-child(1) {
    background-color: #595959;
    color: #fff;
}

.section2 .serviceBox2:nth-child(2) {
    background-color: #d2dfe8;
    color: #575757;
}

.section2 .serviceBox2:nth-child(3)  {
    background-color: #e8e8e8;
    color: #575757;
}

.section2 .serviceBox2:nth-child(4) {
    background-color: #305773;
    color: #fff;
}
.section2 .serviceBox2 p {
    font-size:16pt;
    font-weight:bold;
}
.section2 .serviceBox2:nth-child(2) p,.section2 .serviceBox2:nth-child(3) p {
    color: #487ca5;  
}
.section .serviceBox:nth-child(1) {
    background-color: #305773;
    color: #fff;
}

.section .serviceBox:nth-child(2) {
    background-color: #57575C;
    color: #fff;;
}

.section .serviceBox:nth-child(3)  {
    background-color: #305773;
    color: #fff;
}

.section .serviceBox:nth-child(4) {
    background-color: #57575C;
    color: #fff;;

}

.section .serviceBox:nth-child(5) {
    background-color: #305773;
    color: #fff;;
}

.section .serviceBox:nth-child(6) {
    background-color: #57575C;
    color: #fff;;
}

.section .serviceBox > img,.section2 .serviceBox2 > img  {
    width: 70%;
    height: auto;
    display: block;
    cursor: pointer;
    background-size: cover;
    margin: auto;
}

.section .serviceBox > div:nth-child(3) {
    top: 90%;
    z-index: 10;
    padding: 15px;
    line-height: 27px;
    font-size: 12pt;
    box-sizing: border-box;
    text-align: justify;
    text-justify: inter-word;
}

.section .serviceBox p {
    position: inherit;
    bottom: 0;
    width: 100%;
    height: 30px;
    margin: 0;
    text-align: center;
    line-height: 30px;
    z-index: 10;
    font-weight: bold;
}

.section.managers {
    position: relative;
    background-color: #405e73;
    min-height: 450px;
    max-height: 500px;
    overflow: hidden;
}

.section.managers > div {
    position: absolute;
    width: 100%;
    margin: auto;
    color: #d2dfe8;
}

.section.managers .manBox {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 900px;
    margin: auto;
}

.section.managers .manBox > div {
    margin: auto;
    width: 50%;
}

.section.managers .manBox > div:nth-child(1) img {
    max-width: 450px;
    min-width: 200px;
    width: 100%;
}

.section.managers .manBox > div:nth-child(2) {
    min-width: 200px;
}

.section.managers h2 {
    color: #fff;
}

.section.managers .manBox h3 {
    font-weight: normal;
    font-size: 17pt;
    padding: 0px 12px;
    line-height: 31pt;
    color: #eeeeef;
}

@media (min-width: 600px) {
    .section.managers .manBox {
        flex-direction: row;
    }

    .section.managers .manBox > div {
        width: 50%;
    }
}

@media (max-width: 599px) {
    .section.managers .manBox > div {
        width: 100%;
        text-align: center;
    }

    .section.managers .manBox {
        flex-direction: column;
    }
}


.section.managers h1 {
    color: #fff;
    text-align: center;
    font-weight: 300;
}

.section.managers #slider {
    position: relative;
    
    margin: 20px auto 0 auto;
    border-radius: 4px;
}

.section.managers #slider ul {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    height: 100%;
        display: flex;
    flex-direction: row;
}

.section.managers #slider ul li {
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
    min-width: 100%;
text-align: justify;
}

.section.managers a.control_prev, a.control_next {
    position: absolute;
    z-index: 999;
    display: block;
    padding: 4% 3%;
    width: auto;
    height: auto;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    opacity: 0.8;
    cursor: pointer;
}

.section.managers a.control_prev:hover, a.control_next:hover {
    opacity: 1;
    -webkit-transition: all 0.2s ease;
}

.section.managers a.control_prev {
    border-radius: 0 2px 2px 0;
}

.section.managers a.control_next {
    right: 0;
    border-radius: 2px 0 0 2px;
}

.section.managers .slider_option {
    position: relative;
    margin: 10px auto;
    width: 160px;
    font-size: 18px;
}

.section.prof {
    background-image: url("../images/pattern_img.png");
}

.section.prof > div > h2 {
    background-image: url("../images/pattern_img.png");
}

.section.prof .profBox {
    margin: auto;
    justify-content: space-around;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1135px;
}

.section.prof .profBox > div {
    position: relative;
    flex: 1;
    width: calc(100% / 7);
    text-align: center;
    padding: 90px 2em 0 2em;
    height: 50px;
    min-width: calc(1000px / 6);
    color: #555;
    margin: 29px 0;
}

.section.prof .profBox > div:before {
    content: "";
    width: 64px;
    height: 64px;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 10px;
    background-image: var(--ICON);
}

.section.prof .profBox > div:nth-child(1):before {
    background-position: -289px -523px;
}

.section.prof .profBox > div:nth-child(2):before {
    background-position: -145px -523px;
}

.section.prof .profBox > div:nth-child(3):before {
    background-position: -217px -595px;
}

.section.prof .profBox > div:nth-child(4):before {
    background-position: -145px -595px;
}

.section.prof .profBox > div:nth-child(5):before {
    background-position: -73px -595px;
}

.section.prof .profBox > div:nth-child(6):before {
    background-position: -1px -522px;
}

.section.prof .profBox > div:nth-child(7):before {
    background-position: -73px -522px
}

.section.prof .profBox > div:nth-child(8):before {
    background-position: -217px -522px
}

.section.prof .profBox > div:nth-child(9):before {
    background-position: -3px -523px;
}

.footer {
    z-index: 100;
    position: absolute;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    direction: rtl;
    background-color: #404040;
    border-top: 15px solid #343434;
    box-sizing: border-box;
    margin-bottom: 0;
    margin-top: 0px;
    overflow: hidden;
}

.footer #contact > div:nth-child(1) {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 700px;
    margin: auto;
    background-color: #343434;
    padding-bottom: 15px;
}
.footer > div:nth-child(2) {
    direction: ltr;
    display: flex;
    flex-direction: column;
}
.footer #contact > div:nth-child(1) {
    flex-direction: row;
}
.footer #contact > div:nth-child(1) {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 700px;
    margin: auto;
    background-color: #343434;
    padding-bottom: 15px;
}
.footer .map {
    margin-top: 30px;
    padding: 10px;
    border-radius: 10px;
    overflow: hidden;
    box-sizing: border-box;
    background-color: white;
}

.footer .network span {
    position: relative;
    width: 50px;
    height: 52px;
    border-radius: 50%;
    z-index: 111;
    cursor: pointer;
}

.footer .network {
    margin: 30px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 170px;
}

.footer .network span:before {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    right: 0;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    background: white;
    border-radius: 50%;
    z-index: 90;
}

.footer .network span:after {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    right: 0;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 50%;
    z-index: 101;
}

.footer .network span:nth-child(1):after {
    background-image: url('../images/whats.png');
}

.footer .network span:nth-child(2):after {
    background-image: url('../images/teleg.png');
}

.footer .network span:nth-child(3):after {
    background-image: url('../images/instag.png');
}

.footer #waze {
    display: block;
    min-width: 55px;
    max-width: 55px;
    min-height: 55px;
    max-height: 55px;
    background-image: url("../images/waze.png");
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 auto 0 auto;
}

.footer .TelBox {
    max-width: 600px;
    min-width: 500px;
    flex-direction: column;
}

.footer .TelBox > div:nth-child(1) {
    width: 100%;
}

.footer #contact > div:nth-child(1) {
    flex-direction: row;
}

.footer #contact > div > div:nth-child(1) {
    width: 50%;
}


.footer .AddBox {
    max-width: 700px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: auto;
}

.footer .AddBox > p {
    width: 100%;
    min-width: 310px;
    max-width: 570px;
    padding-left: 20px;
}

.footer .AddBox > a {
    width: 50px;
}

.footer .TelBox {
    display: flex;
    margin: auto;
    font-size: 14pt;
    text-align: right;
    direction: ltr;
}

.footer .TelBox div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer .TelDakheli {
    max-width: 100px;
    display: flex;
    font-size: 12pt;
}

.footer .TelDakheli span {
    width: 100%;
    height: 20px;
}

@media (max-width: 720px) {
    #contact > div > div:nth-child(1) {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    #contact > div:nth-child(1) {
        flex-direction: column;
    }

    .map {
        width: 100%;
    }

    .addBox {
        flex-wrap: wrap;
        flex-direction: column;
    }
}

@media (min-width: 721px) {

    .map {
        width: 50%;
    }

    .addBox {
        flex-wrap: wrap;
        flex-direction: row;
    }

    #contact {
        padding-right: 30px;
    }
}
@media (min-width: 600px) {
    #footer {
        flex-direction: row;
    }
}
@media (min-width: 1000px) {
    #contact > div:nth-child(1):after {
        content: "";
        position: absolute;
        top: 2px;
        left: -400px;
        width: 400px;
        height: 100%;
        background-image: url("../images/footer-left.svg");
        background-repeat: no-repeat;
        background-size: cover;
    }

    #contact > div:nth-child(1):before {
        content: "";
        position: absolute;
        top: 0;
        right: -400px;
        width: 400px;
        height: 100%;
        background-image: url("../images/footer-right.svg");
        background-repeat: no-repeat;
        background-size: cover;
    }
}

@media (max-width: 999px) {
    #contact {
        background-color: #343434;
    }
}

    .footer > div:nth-child(1) {
        width: 100%;
        direction: rtl;
    }
    .footer > div {
        position: relative;
        text-align: center;
        text-align: justify;
        text-justify: inter-word;
        font-family: BYekan, BYekan2;
        color: #e5e5e5;
        margin: -3px auto 20px;
    }

    .userMenuPop {
        position: fixed;
        width: 230px;
        text-align: center;
        right: 0px;
        height: 100%;
        margin-bottom: 0;
        display: none;
        z-index: 200;
        top: 90px;
        background-color: rgba(48, 87, 115, 0.98);
    }

    .userMenuPop ul {
        margin-top: 10px;
    }

    .userMenuPop li {
        line-height: 30px;
        padding: 3px 0px;
        margin: 0;
        color: #fff;
        display: block;
    }

    .userMenuPop li:hover {
        background-color: rgba(88, 127, 155, 0.98);
        color:#1ac7f1;
    }

    .userMenuPop ul {
        margin-top: 10px;
        display: none;
    } 

    .userMenuPop ul a{
        display: block;
        height: 30px;
        line-height: 35px;
        text-align: right;
        padding: 5px 20px 8px 10px;
    }
    
        .poly{
        display:block;
        width:180px;
        height:180px;
        aspect-ratio: 1;
        -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
        clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
        background-position: center;
        background-size: cover;
        margin:auto;
    }
    .poly.cer{
        background-image: url("../images/Shenasnameh.jpg");
    }
    .poly.tah{
        background-image: url("../images/tahsili.jpg");
    }
    .poly.shog{
        background-image: url("../images/Sabeghe Kar.jpg");
    }
    .poly.sayer{
        background-image: url("../images/Sanad Melk.jpg");
    }