@font-face{font-family: dirooz;src:url(font/Dirooz.woff2);}
*{direction: rtl;font-family: "dirooz";user-select: none;}
html { scroll-behavior: smooth; } 
body{margin:0;padding:0;color:rgb(91,91,91)}
::-webkit-scrollbar{width:10px;}
::-webkit-scrollbar-track {box-shadow: inset 0 0 3px grey;border-radius:7px;}
::-webkit-scrollbar-thumb {background:  rgb(251,189,0);border-radius: 7px;}
::-webkit-scrollbar-thumb:hover {background: rgb(71,22,154);}
#service, #blog, #pricelist, #detail, #sponsors, h1, h2{background-color: white;}
.subservice h2{text-align: center;}
.subservice ul{    margin: 0 auto;width: 60%;}
a{text-decoration:none;transition:all 0.3s ease-in-out;color: rgb(0,0,0);}
a:hover, a:focus{text-decoration:none;outline:none;color:rgb(255,255,255);}
.bloglink, .bloglink:active, .bloglink:hover, .bloglink:visited{color:rgb(91,91,91)}
.menudiv{height: 80px;transition: height 0.5s;position: fixed;top: 0;width: 100%;z-index: 10;background-color: rgba(251,189,0,.95);}
#header ul{list-style:none;padding:0;display: flex;flex-wrap: row nowrap;margin: 0;}
#header ul li{position: relative; text-align: center; padding: 10px;}
#header ul li:not(:first-child){padding-top: 25px;}
#sid_logo{margin-right: 5px; width: 150px;vertical-align:middle;}
#header ul li:first-child{width: 200px; position: absolute; left: 0px; top: 10px; padding: unset;}
#responsive_menu{display: none}
#order{padding-top: 95px;background-color: rgb(245,245,245);}
.dot {cursor: pointer;height: 15px;width: 15px;margin: 0 2px;background-color:rgb(251,189,0);border-radius: 50%;display: inline-block;transition: background-color 0.6s ease;}
.activeSlide, .dot:hover {background-color: rgb(71,22,154);}
.prev, .next {direction:ltr;cursor: pointer;position: absolute;top: 50%;width: auto;padding: 16px;margin-top: -22px;color: white;font-weight: bold;font-size: 18px;transition: 0.6s ease;border-radius: 0 3px 3px 0;user-select: none;}
.next {right: 0;border-radius: 3px 0 0 3px;}
.prev{left:0;}
.prev:hover, .next:hover {background-color: rgb(251,189,0);color:rgb(71,22,154);}
#order, #service, #chart, #blog, #sponsor{display:flex;flex-wrap: row nowrap;}
#order_button, #order_img{width: 48%;text-align: center;margin:0 0.9999%}
#regimg{width: 90%;}
#order_button button{width:75%;height:70px;background-color: rgb(251,189,0);border: none;border-radius: 15px;color: white;text-align: center;text-decoration: none;display: inline-block;font-size:1.8vw;padding: 0;margin: 10% 0 0 0;cursor: pointer;}
#order_button_container{background-color: rgb(240,240,240);border-radius: 10px;margin: 4% 0 0 0;}
#order_button P{margin:0;font-size:1.2vw;text-align: center;color: rgb(251,189,0);padding:10% 0 10% 0;}
#order_button button:hover, #pricelist button:hover{box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);}
.title, .subtitle {    width: 100%;    text-align: center;font-size: 2em; font-weight: bolder;    margin: 0;    padding: 5% 0 2.5% 0}
.subtitle{padding: 0 0 2% 0;}
#service_title{padding:2.5% 0;}
.subservice, .subchart, .subblog{width:25%}
.subservice img, .subblog img{width: 70%;margin:1.5% 14.4%;border:1px solid rgba(0, 0, 0, 0.2);border-radius: 10px;}
.subservice h4{margin:0 0 10px 0;width: 100%;text-align: center;}
.subservice p{width: 70%;text-align:center;margin:0 14.4% 10px 14.4%;}
.subservice hr{width: 70%;border:1px solid red}
.subblog p{text-align: center;}
.svg_chart{width: 200px;height: 200px;}
.subchart{text-align: center;}
.subchart p{margin: 0;}
#pricelist button{width:40%;height:70px;background-color: rgb(251,189,0);border: none;border-radius: 15px;color: white;text-align: center;text-decoration: none;display: inline-block;font-size: 2vw;padding: 0;margin: 5% 30%;cursor: pointer;}
#detail{display: flex;flex-wrap:wrap;background: rgb(249,249,249);padding: 1vw 0;}
.subdetail{width:45.5%;display: flex;text-align: center;padding-bottom: 10px;background-color: rgb(245,245,245);}
.subdetail:nth-of-type(1),.subdetail:nth-of-type(3),.subdetail:nth-of-type(5){margin:.5vw 4% .5vw .5%}
.subdetail:nth-of-type(2),.subdetail:nth-of-type(4),.subdetail:nth-of-type(6){margin:.5vw .5% .5vw 4%}
.subdetail_img{flex:20%;}
.subdetail_img h5{margin:0}
.subdetail_txt{flex:80%;text-align: center;}
.subdetail_txt p{content: "";text-align: justify;width: 90%;font-size: .9em;max-height: 70px;margin: 0 4.8%;overflow: hidden;text-overflow: ellipsis; position:relative; transition: max-height 0.7s ease-in-out;}
.subdetail_txt p::before{background: linear-gradient(to bottom, rgba(245,245,245,0) 0%,rgba(245,245,245,.9) 75%);  position: absolute;top:0;left:0;height: 110px;content:'';width: 100%;}
.nobefore::before{content:none !important}
.subdetail_txt span{font-size: .9em;cursor: pointer;}
.subdetail_txt span:after{content: "نمایش کمتر";display: none;}
#sponsors{display: flex;padding-bottom: 5px;}
.subsponsors:first-of-type{margin-right:2%;}
.subsponsors{width: 16%;text-align: center; margin:0 auto;}
footer{background-color: rgb(251,189,0);display: flex;color:white;padding-bottom: 10px}
.subfooter{width: 25%; color: #000;}
.subfooter h5{padding: 5% 5% 0 0;margin: 0;}
.subfooter ul li a{color: #000; font-size: medium;}
#contact{list-style:none;font-size: small;}
#address{background-image: url("img/icon/loc.png");}
#mail{background-image: url("img/icon/mail.png");}
#tel{background-image: url("img/icon/tel.png");}
#fax{background-image: url("img/icon/fax.png");}
#post{background-image: url("img/icon/post.png");}
.icon{position: relative;display: inline-block;height: 20px;width: 20px;}
.subfooter:last-of-type{display:flex;}
#enamad, #social{flex:50%;width:50%}
#enamad a img{margin:5% 0 0 0;}
#social ul{list-style:none;padding:0;display:flex; margin: 95% 0 0 0;}
#social ul li{width:40px;height:40px; background-size: 100%;background-repeat: no-repeat;}
#instagram{background-image: url("img/icon/instagram.png");}
#telegram{background-image: url("img/icon/telegram.png");}
#soroush{background-image: url("img/icon/soroush.png");}
.subSlides {display: none;}
.subSlides img {vertical-align: middle; border-radius: 10px;}
#headerSideshow {position: relative;margin: auto;}
.fade {-webkit-animation-name: fade;-webkit-animation-duration: 1.5s;animation-name: fade; animation-duration: 1.5s;}
@-webkit-keyframes fade {from {opacity: .2}  to {opacity: 1}}
@keyframes fade {from {opacity: .2}  to {opacity: 1}}
#helpMovie{text-align: center;}
video{box-shadow: 4px 4px 15px grey;border-radius: 10px;width:65%;overflow: hidden;}
.subfaq svg{position: absolute;left: 21.5%;margin-top: 8px;}
.subfaq svg line{stroke:rgb(255 0 0) !important;stroke-width:2; transition:stroke-width 0.4s ease;}
.subfaqp {    display: block !important;    padding: 5px 15px 5px 60px !important;    margin: 0 20% !important;    border: 1px solid rgb(230,230,230) !important;    border-bottom: 0 !important;    background-color: rgb(249, 249, 244) !important;    cursor: pointer !important;    border-top: 1px solid rgb(230,230,230)  !important;}
.subfaq p {    display: none;    padding: 5px 15px;    margin: 0 20%;    border: 1px solid rgb(230,230,230);    border-top: 0;    background-color: rgb(255, 255, 255)}
.arrow {border: solid rgb(91,91,91);border-width: 0 1px 1px 0;display: inline-block;padding: 3px;margin-right: 5px;transform: rotate(45deg);transition: transform 0.4s ease;}
@media only screen and (min-width: 751px) and (max-width: 1024px) {
  #header ul li:not(:first-child){display: none;}
  #responsive_menu{display: block;position: absolute;right:20px;top:30px}
  .menudiv.responsive {height:420px !important;}
  .menudiv.responsive ul{display: block !important;direction: ltr !important;}
  .menudiv.responsive ul li:first-child{float:none;display:block !important;text-align:left !important;position: relative !important}
  .menudiv.responsive ul li:not(:first-child){float:none;display:block !important;width: 95% !important;text-align:right !important;padding-top:10px !important;}
  .menuline{stroke:rgb(0,0,0);stroke-width:3;stroke-linecap:round}
    #order, #service, #chart, #blog, #sponsor {flex-wrap: wrap;}
    .subservice, .subchart, .subblog{flex: 50%;}
  }
@media only screen and (max-width: 750px){
    #header ul li:not(:first-child){display: none;}
    #responsive_menu{display: block;position: absolute;right:20px;top:30px;z-index: 99999;}
    .menudiv.responsive {height:auto !important;}
    .menudiv.responsive ul{display: block !important;direction: ltr !important;}
    .menudiv.responsive ul li:first-child{float:none;display:block !important;text-align:left !important;position: relative !important}
    .menudiv.responsive ul li:not(:first-child){float:none;display:block !important;width: 95% !important;text-align:right !important;padding-top:10px !important;}
    .menuline{stroke:rgb(0,0,0);stroke-width:3;stroke-linecap:round}
    #order, #service, #chart, #blog, #detail, .subdetail, footer{display: block;}
    .subdetail{width: 95%;margin:5px 2.5% !important;}
    #order_button, #order_img{display: block;width: calc(100% - 10px);margin:5px !important}
    #order_button_container{margin-top:5px !important}
    #order_button button{font-size: 4vw; }
    #order_button P{font-size:2.4vw;}
    .title{font-size: 4vw;}
    .subservice, .subchart, .subblog,.subdetail_img,.subdetail_txt, .subfooter{display: block;width: 100%;}
    .subservice img{width: 50%;margin: 0 24.2%;}
    .subservice h4 {font-size: 3vw;}
    .subservice p, .subdetail_txt p{width: 90%;margin: 0 4.8%;padding-top: 5px;}
    .subservice p{padding: 0 0 5% 0;}
    #chart{top:1px}
    #empty{height:240px}
    .subblog img{width:50%; margin:5% 24.2%;}
    .subtitle{font-size: 2.8vw;width: 90%;margin: 0 4.8%;}
    .subsponsors img{width: 100%;}   
    #enamad a img{margin:5%;}
    #social ul{display: block;margin: 5%;direction: ltr;width: 85%;}
    video{width:90%}
    .subfaqp,.subfaq p{margin:0 2.5%}
    .subfaq svg{left:3.5%}
}