/**************************** CSS MEGA MENU **********************/
.mega-menu li a{
  font-family: yekan!important;
}
.mega-menu{
  text-align:right!important;
  direction:rtl!important;
}
.mega-menu li a{
  text-align:right!important;
  direction:rtl!important;
}
/**************************** END CSS MEGA MENU **********************/

/* Css template page*/
.code-me-num {
  background: #0898d6;
  height: 33px;
  padding-top: 0px;
  color: white;
  font-size: 17px;
  margin-bottom: 10px;
  clear: both;
  text-align: center;
}

/* end css template page*/
html{
  overflow-x: hidden !important;
}
body{
  font-family: iranYekan !important;
  overflow-x: hidden !important;
}
/* ---------------add detail style -------------*/

/* ---------------top menu -------------*/
#top-bar{
  height: 1px;
}
#top-left-social{
  margin-left: 11.5%;
}
#top-left-social ul li{
  border: none !important;
  padding: 0 !important;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
#top-left-social ul li a{
  margin-top: 5px;
  margin-right: 13px;
  padding: 0 !important;
}
#top-left-social ul li a:hover{
  border-bottom: 2px solid #37abfb;
}
#top-left-social ul li a i{
  color: #858585 !important;
}
#logo{
  position: relative;
  /* margin-top:  20px; */
  z-index: 10;
}
#logo img{
  box-shadow: 5px 5px 25px 0px #ccc;
}
#logo h1{
        display: none;
}
/* ---------------top header -------------*/
.mega-menu-wrap ul{
  /* margin-top: -60px !important; */
}
.mega-menu-wrap ul li a{
  font-family: iranYekan !important;
  font-size: 14px !important;
  color: #313131 !important;
  border-left: 2px solid #ccc !important;
  padding: 0 10px !important;
  transition: all 0.3s ease-in-out !important;
}
.mega-menu-wrap ul li a:hover{
  color: #016bd9 !important;
  /* border-bottom: 2px solid #016bd9 !important; */
}
.mega-menu-wrap{
  /* margin-top: 60px !important; */
}
#main-menu{
  padding-top: 25px;
  /* padding-bottom: 15px; */
}
/* ---------------slider -------------*/
.rev_slider_wrapper{
  margin-top: -10px !important;
}
/* ---------------contact-flash-bg -------------*/
.contact-flash-bg{
  position: relative !important;
  background: linear-gradient(to right, #d1527c , #4f89b7);
  background: -webkit-linear-gradient(right, #d1527c , #4f89b7);
  background: -o-linear-gradient(right, #d1527c, #4f89b7);
  background: -moz-linear-gradient(right, #d1527c, #4f89b7);
}
.contact-txt{
  padding-bottom: 15px;
}
.contact-txt p{
  color: #ffffff;
  font-family: iranYekan;
  margin-top: 28px;
}
.flash-card{
  position: absolute !important;
  /* width: 18% !important; */
  height: 300px;
  bottom: 0%;
  left: 10%;
  background: #ffffff;
  padding: 0 !important;
}
.flash-card{
  scrollbar-3dlight-color:gold;
  scrollbar-arrow-color:blue;
  scrollbar-base-color:gold !important;
  scrollbar-darkshadow-color:blue;
  scrollbar-face-color:gold;
  scrollbar-highlight-color:gold;
  scrollbar-shadow-color:gold !important;
}
.flash-card .contact-title{
  height: 100px;
  width:  100%;
  background: #f5e132;
  color: #ffffff;
  top: 0;
  text-align: center;
  padding: 2px 0;
}
.flash-card .contact-title p{
  margin-top: 35px;
}
.flash-card .contact-title p i{
  margin: 0 10px;
  font-size: 24px;
  transform: rotate(270deg);
}
.phone-numbers{
  overflow-y: hidden !important;
  height: 250px;
  padding: 10px 15px;
  text-align: center;;
  color: #919191;
}
.phone-numbers ul li p{
  margin-right: -40px;
}
/* ---------------about section-------------*/
.about-bg{
  height: auto;
  text-align: center;
  box-shadow: 0px 3px 5px 0px #ccc;
  color: #000;
  padding: 20px 0;
}
.about-bg .title h2{
  color: #3c3c3c;
  margin-bottom: 20px;
}
.about-txt{
  color: #969696;
}
/* ---------------articles section-------------*/
.articles-bg{
  background: #eeeeee;
  height: auto;
  padding: 40px 0;
  padding-bottom: 60px;
  text-align: center;
}
.articles-title{
  color: #868686;
}
.art-box{
  position: relative;
  background: #95799d;
  height: 300px;
  margin-top: 25px;
  padding: 0;
  overflow: hidden;
}
.post-thumb img{
  transition: all 0.5s ease-in-out;
  max-width: 230px;
  height: auto;
  background-position: center;
}
.art-box:hover .post-thumb img{
  width: 120%;
  height: 330px;
}
.art-box:hover .overlay{
  opacity: 0;
}
.art-box:hover .art-title{
  color: #000;
}
.post-arrow{
  position: absolute;
  right: -5px;
  top: 38%;
  width: 90px;
  height: 90px;
}
.post-thumb{
  /* position: absolute; */
  /* width: 100%; */
  /* right: 0; */
  /* background: #95799d; */
}

.overlay{
  width: 100%;
  height: 300px;
  background: #7a5784;
  position: absolute;
  opacity: 0.8;
  right: 0;
  transition: all 1s ease-in-out;
}
.art-title{
  color: #ffffff;
  position: absolute;
  right: 18%;
  top: 42%;
  transition: all 1s ease-in-out;
}
.articles-bg div:nth-child(3) .overlay{
  background: #6889aa !important;
}
.articles-bg div:nth-child(4) .overlay{
  background: #e2617d !important;
}
.articles-bg div:nth-child(3){
  margin-right: 0;
}
.service-bg div:nth-child(3){
  margin-right: 12%;
}
.articles-bg div:nth-child(4) {
  float: left;
}
.service-bg div:nth-child(4){
  float: left;
}
/* ---------------relax section-------------*/
.relax-bg{
  height: auto;
  padding-top: 40px;
  background:  #ffffff;
}
.relax-content{
  height: 420px;
  padding-top: 50px;
}
.relax-content h2{
  color: #565656;
  font-size: 50px;
  font-family: iranYekanLight;
}
.relax-content h4{
  color: #959595;
  font-size: 30px;
  font-family: iranYekanLight;
  margin: 30px 5px;
}
.relax-content p{
  color: #a9a9a9;
  margin-top: 20px;
  font-family: iranYekanLight;
}
.relax-img{
  text-align: center;
  height: 420px;
  position: relative;
}
.relax-img img{
  width: 350px;
  height: 420px;
}
.relax-more{
  bottom: 0;
  right: 0;
  /* left: 0; */
  text-align: center;
  padding: 17px 0;
  position: absolute;
  background: #d72c4c;
  height: 70px;
  width: 200px;
  transition: all 1s ease-in-out;
  cursor: pointer;
  border: 3px solid #d72c4c;
}
.relax-more:hover{
  background: #ffffff;

}
.relax-more:hover a , .relax-more:hover i{
  color: #d72c4c !important;
  text-decoration: none !important;
}
.relax-more a , .relax-more i{
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
}
.relax-more i{
  margin: 5px;
}
/* ---------------services section-------------*/
.service-bg{
  position: relative;
  overflow: hidden;
  height: auto;
  background: #ffffff;
  background-image: url('../img/service-bg.jpg');
  background-repeat: no-repeat;
  padding-bottom: 80px;
  background-size: contain;
  /* background-attachment: fixed; */
}
.service-bg-img{
  height: 400px !important;

  position: relative;
}
.service-title{
  position: absolute;
  top: 50px;
  height: 70px;
  background: #e2617d;
  text-align: center;
  color: #ffffff;
}
.service-title::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 20px;
  border-style: solid;
  border-color: #e2617d transparent transparent transparent;
}
.service-box{
  position: absolute;
  margin-top: 160px;
  height: 400px;
  background: #ffffff;
  padding: 0 !important;
  transition: all 0.4s ease-in-out;
  box-shadow: -2px 1px 8px 0px rgba(0,0,0,0.75);
}
.service-box:hover{
  box-shadow: 0px 0px 2px 4px #ff5b88;
}
.service-bg .service-box:nth-child(2):hover{
  box-shadow: 0px 0px 2px 4px #a16db8;
}
.service-bg .service-box:nth-child(3):hover{
  box-shadow: 0px 0px 2px 4px #78aeda;
}
.service-content{
  height: 320px;
}
.service-more{
  border-top: 5px solid #a16db8;
  height: 80px;
}
.service-thumb{
  height: 150px;
  width: 100%;
  text-align: center;
}
.service-thumb img{
  position: relative;
  bottom: 40px;
}
.service-txt{
  text-align: center;
  padding: 0 5px;
  height: 170px;
  color: #b3b3b3;
}
.service-txt h3{
  color: #a16db8;
}
.service-more{
  text-align: center;
  padding: 25px 5px;
}
.service-more a{
  color: #b3b3b3 !important;
  font-size: 18px;
}
.service-bg div:nth-child(3) .service-more{
  border-color: #78aeda;
}
.service-bg div:nth-child(3) .service-txt h3{
  color: #78aeda;
}
.service-bg div:nth-child(4) .service-more{
  border-color: #ff5b88;
}
.service-bg div:nth-child(4) .service-txt h3{
  color: #ff5b88;
}
/* ---------------slogan section-------------*/
.slogan-bg{
  height: 350px;
}
.slogan-thumb{
  padding: 0 !important;
  overflow: hidden;
  height: 350px;
  width: 570px;
}
.slogan-thumb img{
  width: auto;
  height: 360px;
}
.slogan-content{
  background: #f6df37;
  height: 350px;
  padding: 40px 50px !important;
}
.slogan-content h3{
  color: #ffffff;
  font-weight: 500;
  font-size: 32px !important;
}
.slogan-content p{
  line-height: 30px;
  color: #494949;
}
/* ---------------news and event section-------------*/
.news-bg{
  height: 320px;
  margin-top: 30px;
  /* overflow: hidden !important; */
}
.news-bg .container-fluid{
  padding: 0 !important;
}
.event-box{
  height: 320px;
  padding: 20px 55px !important;
}
.event-box h3{
  color: #888888;
}
.event-box .date{
  border-left: 4px solid #c16491;
  height: 244px;
  padding-top: 10px;
  /* padding-left: 25px; */
  /* margin-left: 15px; */
}
.event-box .date .day{
  color: #c16491;
  font-size: 36px;
}
.event-box .date .month{
  color: #888888;
}
.news-content a{
  color: #c16491;
  text-decoration: none !important;
}
.news-content h3 , .news-content p{

}
.event-txt{
  height: 320px;
  background: linear-gradient(to right, #d1527c , #4f89b7);
  background: -webkit-linear-gradient(right, #d1527c , #4f89b7);
  background: -o-linear-gradient(right, #d1527c, #4f89b7);
  background: -moz-linear-gradient(right, #d1527c, #4f89b7);
  padding: 80px 40px;
  color: #dcdcdc !important;
}
.event-txt h3{
  margin-right: 13px;
}
/* ---------------footer-contact section-------------*/
.foo-1{

  padding-top: 20px;

  padding-bottom: 20px;
}
.about-txt p{
  text-align: justify;
  padding: 0 0 10px 20px;
}
.about-txt a{
  border: 2px solid #d16990;
  background: #ffffff;
  /* width: 30%; */
  /* margin-top: 0 !important; */
  /* height: 46px; */
  padding: 7px 20px;
  /* color: antiquewhite; */
  color: gray;
  text-align: center;
  /* margin-top: 15px; */
  text-decoration: none !important;
  transition: all 1s ease-in-out;
}
.about-txt a:hover{
  background: #d16990;
  color: #ffffff;
}

.gform_footer.top_label{
  margin-top: 0 !important;
}
.footer-contact-bg{
  /* height: 300px; */
}
.contact-thumb{
  padding: 0 !important;
  overflow: hidden;
}
.contact-thumb img{
  width: auto;
}
.contact-info{
  padding: 30px 20px;
}
.social-holder i{
  font-size: 24px;
  margin: 0 10px;
}
.social-holder i:nth-last-child(1){
  color: #f1d162;
}
.social-holder i:nth-last-child(2){
  color: #6980ac;
}
.social-holder i:nth-last-child(3){
  color: #fd9395;
}
.social-holder i:nth-last-child(4){
  color: #7dd2e7;
}
.contact-info .info{
  padding: 20px 25px;
}
.contact-info .info p{
  color: #888888;
  font-size: 17px;
}
.map .container-fluid{
  padding: 0 !important;
}
.search-form{
  /* height: 100px; */
  padding: 30px 10px;
}
.search-form p{
  color: #888888;
  margin-top: 10px;
}
.search-form .submit{
  color: #ffffff;
}
.search-form-ele{
  float: left !important;
}
.search-form-ele .txt{
  height: 40px;
  width: 80% !important;
  border: 3px solid #c9c9c9;
  outline: none;
  padding: 5px;
  display: inline-block;
}
.search-form-ele .txt:focus{
  border-color: #d16990;
}
.search-form-ele .submit{
  border: none;
  outline: none;
  display: inline-block;
  background: linear-gradient(to right, #d1527c , #4f89b7);
  background: -webkit-linear-gradient(right, #d1527c , #4f89b7);
  background: -o-linear-gradient(right, #d1527c, #4f89b7);
  background: -moz-linear-gradient(right, #d1527c, #4f89b7);
  width: 150px;
  height: 40px;
}
.search-form-ele .submit:hover{
  background: #ffffff;
  color: #d16990;
  border: 2px solid #d16990;
}
/* ---------------footer section-------------*/
footer{
  border-top: 1px solid #6b88ba;
  height: auto;
  color: #888888;
}
.footer-about{
  /* height: 300px; */
}
.footer-access{
  /* height: 300px; */
}
.footer-access .mega-menu-wrap{
  margin-top: 30px !important;
}
.footer-access .mega-menu-wrap ul li{
  display: block !important;
  border-left: none !important;
}
.footer-access .mega-menu-wrap ul li a{
  border-left: none !important;
}
.footer-form{
  /* height: 360px; */
}
.footer-form .gform_wrapper ul li.gfield{
  margin-top: 0 !important;
}
#input_2_1 , #input_2_2 , #input_2_3{
  width: 100%;
  border: 1px solid #999;
  border-radius: 5px;
  outline: none;
}
#input_2_1:focus , #input_2_2:focus , #input_2_3:focus{
  border-color: #d16990;
}
#gform_submit_button_2{
  transition: all 1s ease-in-out;
  border: 2px solid #d16990;
  background: #ffffff;
  width: 30%;
  /* margin-top: 0 !important; */
  height: 35px;
  text-align: center;
}
#gform_submit_button_2:hover{
  background: #d16990;
  color: #ffffff;
}
.copyright-holder .container-fluid{
  padding: 0 !important;
}
.copyright{
  text-align: center;
  background: #6b88ba;
  color: #ffffff;
  padding: 10px;
}
.copyright a{
  color: white;
}
/**************************contact us*************************************/
#input_1_1 , #input_1_2{
  width: 100%;
}
#input_1_1 , #input_1_2 , #input_1_4{
  outline: none;
  border: 1px solid #999 !important;
  border-radius: 5px;
}
#input_1_1:focus , #input_1_2:focus , #input_1_4:focus{
  border-color: #d16990 !important;
}
#gform_submit_button_1{
  transition: all 0.4s ease-in-out;
  text-align: center;
  background: #fff !important;
  color: #d16990 !important;
  width: 96.5%;
  border: 2px solid #d16990 !important;
}
#gform_submit_button_1:hover{
  background: #d16990 !important;
  color: #fff !important;
}
/**************************contact us*************************************/
.gw-gopf-post-content{
  text-align: right !important;
}
/**************************single*************************************/
.post-entry{
  margin-top: 38px;
}
.post-title{
  /* margin-bottom: 30px; */
  color: #555 !important;
}
.post-thumbnail{
  text-align: center;
}
.post-thumbnail img{
  /* width: 21%; */
  /* height: 200px; */
}
.single{
  background-image: url('../img/single-bg3.jpg');
  background-size: cover;
  background-attachment: fixed;
}
/**************************page*************************************/
.img-top {
  box-shadow: 0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12), 0 2px 4px -1px rgba(0,0,0,0.3);
  padding-top: 150px;
  padding-bottom: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  background-attachment: fixed !important;
  background-size: cover !important;
  -moz-background-size: cover;
  -webkit-background-size: cover !important;
  background-repeat: no-repeat;
  background-position: bottom  !important;
  margin-top: -12px;
}
.title-top h1 {
  padding: 20px;
  color: #555;
  font-weight: bolder;
  font-size: 50px;
}
.post-meta {
  text-align: left;
  color: #555;
  padding: 20px 0;
  font-size: 16px;
}
.post-meta span {
  margin-left: 15px;
  border-bottom: 2px solid #ffa141;
}
.post-meta span i {
  padding-left: 5px;
}
.gform_wrapper input[type=text], .gform_wrapper select{
  height: 35px;
  outline: none;
  border: 1px solid #999 !important;
  border-radius: 5px;
}
.gform_button{
  transition: all 0.4s ease-in-out;
  text-align: center;
  background: #fff !important;
  color: #d16990 !important;
  /* width: 300px !important; */
  text-align: center !important;
  border: 2px solid #d16990 !important;
}
.gform_button:hover{
  background: #d16990 !important;
  color: #fff !important;
}
/**************************slider*************************************/
.slider-me {
  direction: ltr !important;
}
/**************************index*************************************/
.slogan-content p , .event-txt p , .relax-content p{
        text-align: justify;
}
.mega-menu-wrap ul:last-child li a{
  border-left: 0px !important;
}
#top-left-social ul li a {
    border-bottom: 2px solid transparent;
}
.phone-numbers p{
        line-height: 25px;
}
.social-telegram {
    top: 43%;
    height: 196px;
    width: 47px;
    position: fixed;
    z-index: 1000000;
    left: 7px;
}
.social-insta {
    top: 34%;
    height: 196px;
    width: 47px;
    position: fixed;
    z-index: 1000000;
    left: 7px;
}
.social-insta img, .social-telegram img {
    height: 50px;
}
.tag-inline{
    display:inline-block;
}
.post-blog{
        -webkit-box-shadow: 0 0 5px #F3F3F3;
    -moz-box-shadow: 0 0 5px #555555;
    box-shadow: 0 0 5px #D2D2D2;
    /* float: right; */
    /* margin-left: 10px; */
    border: 1px solid #DDD;
    padding: 10px 10px 0;
    margin-bottom: 20px;
    background: white;
}
#main-content .posts-container .post-blog .post-inner {
    overflow: hidden;
    height: 260px;
    position: relative;
    /* width: 253px; */
    margin: 0 auto;
}
#main-content .posts-container .post-blog .post-meta {
    text-align: right;
    width: 100%;
    /* margin-top: 5px; */
    height: 135px;
}
#main-content .posts-container .post-blog .post-meta span {
    font-family: yekan;
    font-size: 12px;
    padding: 2px;
    color: #818181;
    float: right;
    margin-left: 8px;
}
#main-content .posts-container .post-blog .post-meta span i {
    margin-left: 3px;
}
#main-content .posts-container .post-blog .post-inner .post-title {
    display: block;
    background-color: rgba(0, 0, 0, .6);
    color: #FFF !important;
    font-family: yekan;
    /* height: 30px; */
    line-height: 30px;
    text-align: right;
    padding-right: 20px;
    position: absolute;
    /* z-index: 9999; */
    top: 90%;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    width: 100%;
}
.post-thumb2 {
    position: absolute;
    width: 100%;
    right: 0;
    background: #95799d;
}
.post-thumb2 img {
    transition: all 0.5s ease-in-out;
    width: 100%;
    height: 300px;
    background-position: center;
}
.art-box:hover .post-thumb2 img {
    width: 120%;
    height: 330px;
}
/* Baran hero typography refinement v15 */
@media (max-width: 767px) {
  .hero h1, .hero-title, .banner-title {
    font-size: clamp(1.45rem, 6vw, 2rem) !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 10px !important;
  }
  .hero .subtitle, .hero-subtitle, .hero p.hero-description {
    font-size: 0.92rem !important;
    line-height: 1.75 !important;
    font-weight: 600 !important;
    color: #f3fff6 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,.55) !important;
    max-width: 92% !important;
  }
}

.baran-hero-tagline-v16{display:inline-block;font-weight:900;font-size:1.08em;line-height:1.55;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.65);}
@media(max-width:767px){.baran-hero-tagline-v16{font-size:.78em!important;line-height:1.65!important;letter-spacing:-.01em!important;}}

/* Baran V18 mobile hero refinement */
@media (max-width:767px){
  .hero-actions,.hero-buttons,.hero-cta,.banner-actions{
    transform:translateY(14px) !important;
    margin-top:14px !important;
  }
  .hero .subtitle,.hero-subtitle,.hero p{
    font-size:1.02rem !important;
    line-height:1.8 !important;
    font-weight:700 !important;
  }
}

/* Baran V19 REAL mobile hero tuning */
@media (max-width:767px){
  /* requested: tagline slightly smaller */
  .hero .subtitle,
  .hero-subtitle,
  .hero-description,
  .baran-hero-tagline{
    font-size: .86rem !important;
    line-height: 1.65 !important;
    font-weight: 700 !important;
  }

  /* requested: "اعزام سریع نیروهای آموزش دیده..." slightly larger */
  .hero .features,
  .hero .feature-text,
  .hero .hero-features,
  .hero .hero-trust,
  .hero .hero-note{
    font-size: 1.02rem !important;
    line-height: 1.75 !important;
    font-weight: 800 !important;
  }

  /* keep CTA row in its current lower position from V18 */
  .hero-actions,.hero-buttons,.hero-cta,.banner-actions{
    transform: translateY(14px) !important;
  }

  .baran-call-item{
    display:block !important;
    font-size:.82rem !important;
    line-height:1.7 !important;
    padding:5px 8px !important;
  }
}
