@font-face {
    font-family: IranSans;
    src: url(farsifonts/iransans.ttf);
}
@font-face {
    font-family: Kodak;
    src: url(farsifonts/kodak.otf);
}
@font-face {
    font-family: Lotus;
    src: url(farsifonts/lotus.otf);
}
@font-face {
    font-family: Nazanin;
    src: url(farsifonts/nazanin.otf);
}
@font-face {
    font-family: Yekan;
    src: url(farsifonts/yekan.otf);
}
#copyrightmir,.caption,.status-mes,header.masthead .page-heading,header.masthead .site-heading{
    text-align:center
}
body{
    font-size:20px;
    /*font-family:Lora,'Times New Roman',serif*/
	font-family: Nazanin, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
}
p{
    line-height:1.5;
    margin:30px 0;
	font-family: Nazanin;
}

.farsi-p {
	direction: rtl;
	text-align: justify;
	font-family: Yekan;
	
}

#preloader{
    background:#37383a;
    bottom:0;
    left:0;
    position:fixed;
    right:0;
    top:0;
    z-index:10001
}
#status,.status-mes{
    background-image:url(../images/preloader.gif);
    background-position:center;
    background-repeat:no-repeat;
    height:200px;
    left:50%;
    margin:-100px 0 0 -100px;
    position:absolute;
    top:50%;
    width:200px
}
.status-mes{
    background:0 0;
    left:0;
    margin:0;
    top:65%
}
.mhainvest-default,.mhainvest-scrolled{
    top:0;
    border-bottom-left-radius:5px;
    border-bottom-right-radius:5px;
    position:absolute
}
p a{
    text-decoration:underline
}
.h-vision{
    width:14vw
}
.mhainvest-default{
    background-color:#fff;
    height:7rem;
    line-height:6rem;
    box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19)
}
.mhainvest-scrolled{
    background-color:none;
    height:4rem;
    line-height:4rem;
    box-shadow:none
}

.navbar-initial{
    padding-top:1.5rem;
}
.navbar-scrolled{
    padding-top:.5rem;
}
.white-btn{
    background:#FFF;
    color:#10161A!important;
    text-decoration:none;
    display:inline-block;
    padding:10px 35px;
    margin:3px;
    border:2px solid transparent;
    border-radius:7.5px;
    -webkit-transition:.2s opacity;
    transition:.2s ease all;
    opacity:.7
}
.white-btn:hover{
    box-shadow:0 10px 50px 0 rgba(0,0,0,.5);
    transform:scale(1.1);
    z-index:100
}
h1,h2,h3,h4,h5,h6{
    font-weight:100;
    font-family:Merriweather,sans-serif
}
.imgSlider{
    height:100vh;
    filter:brightness(50%);
    object-fit:cover
}
div.carousel-caption{
    top:25vh;
    bottom:auto
}
#copyrightmir{
    font-family:Quicksand,sans-serif;
    font-size:.9rem
}
h1.deepshadow{
    color:#e0dfdc;
    font-size:3.25rem;
    letter-spacing:.1em
}
div.p-aboutus{
    /*font-family:Montserrat,sans-serif;*/
	font-family: 'Yekan', Montserrat;	
}
.h-main,div.carousel-caption h1,h2,h3,div.carousel-caption p{
   /* font-family:Oswald,sans-serif;*/
	font-family: 'Yekan', Oswald;
}

.h-main{
    border-bottom:5px solid #434951;
    padding-top:15px;
    padding-bottom:15px;
    margin:auto
}
.btn-aboutus{
    border-radius:25px!important;
    text-decoration:none;
    border-color:#ced2db!important;
    color:#ced2db
}
.btn-aboutus:hover{
    background-color:#ced2db!important;
    color:#333
}
div.carousel-caption h1{
    font-weight:bolder;
    font-size:3.5rem;
    letter-spacing:4px
}
div.carousel-caption p{
    margin-top:2px;
    letter-spacing:1px
}
#mainNav .navbar-nav>li.nav-item>a,.btn{
    letter-spacing:1px;
    text-transform:uppercase
}
a{
    color:#212529;
    -webkit-transition:all .2s;
    transition:all .2s
}
a:focus,a:hover{
    color:#0085A1
}
blockquote{
    font-style:italic;
    color:#868e96
}
.section-heading{
    font-size:36px;
    font-weight:700;
    margin-top:60px
}
.caption{
    font-size:14px;
    font-style:italic;
    display:block;
    margin:0;
    padding:10px;
    border-bottom-right-radius:5px;
    border-bottom-left-radius:5px
}
::-moz-selection{
    color:#fff;
    background:#134985;
    text-shadow:none
}
::selection{
    color:#fff;
    background:#134985;
    text-shadow:none
}
img::selection{
    color:#fff;
    background:0 0
}
img::-moz-selection{
    color:#fff;
    background:0 0
}
#mainNav .navbar-brand,#mainNav .navbar-toggler{
    color:#343a40;
    font-weight:800
}
#mainNav{
    position:absolute;
    border-bottom:1px solid #e9ecef;
    background-color:#fff;
    /*font-family:Montserrat,sans-serif*/
	font-family: 'Yekan', Montserrat;
}
#mainNav .navbar-toggler{
    font-size:12px;
    padding:13px;
    text-transform:uppercase
}
#mainNav .navbar-nav>li.nav-item>a{
    font-size:13px;
    font-weight:800;
    border-top:0 solid #fff;
    border-bottom:0 solid #fff
}
#Sitelogo{
    width:115px;
    margin-left:5%
}
img.mainlogo-footer{
    background-color:#fff;
    padding:1%;
    border-radius:15px;
    box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19)
}
@media only screen and (min-width:992px){
    #mainNav{
        border-bottom:1px solid transparent;
        background:0 0
    }
    #mainNav .navbar-brand{
        padding:10px 20px;
        color:#fff
    }
    #mainNav .navbar-brand:focus,#mainNav .navbar-brand:hover{
        color:rgba(255,255,255,.8)
    }
    #mainNav .navbar-nav>li.nav-item>a{
        padding:10px 20px;
        color:#fff;
        transition:.5s all
    }
    #mainNav .navbar-nav>li.nav-item>a:focus,#mainNav .navbar-nav>li.nav-item>a:hover{
        background-color:#fff;
        color:#212529!important;
        padding:10px 20px;
        box-shadow:0 10px 50px 0 rgba(0,0,0,.5);
        border-radius:5px
    }
    .a-color{
        color:#212529!important
    }
    #mainNav{
        -webkit-transform:translate3d(0,0,0);
        transform:translate3d(0,0,0);
        -webkit-backface-visibility:hidden;
        position:fixed;
        -webkit-transition:-webkit-transform .2s;
        transition:-webkit-transform .2s;
        transition:transform .2s;
        transition:transform .2s,-webkit-transform .2s
    }
    #mainNav.is-fixed{
        position:fixed;
       height: 5rem;
        -webkit-transition:-webkit-transform .2s;
        transition:-webkit-transform .2s;
        transition:transform .2s;
        transition:transform .2s,-webkit-transform .2s;
        border-bottom:1px solid #fff;
        background-color:rgba(255,255,255,.9);
        box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19)
    }
    #mainNav.is-fixed .navbar-brand,#mainNav.is-fixed .navbar-brand:focus,#mainNav.is-fixed .navbar-brand:hover,#mainNav.is-fixed .navbar-nav>li.nav-item>a:focus,#mainNav.is-fixed .navbar-nav>li.nav-item>a:hover{
        color:#212529
    }
   /* #mainNav.is-visible{
        -webkit-transform:translate3d(0,100%,0);
        transform:translate3d(0,100%,0)
    }*/
    .activemenu{
        background-color:#fff;
        color:#212529!important;
        padding:10px 20px!important;
        box-shadow:0 10px 50px 0 rgba(0,0,0,.5);
        border-radius:5px
    }
}

header.masthead{
    background:center center no-repeat #868e96;
    position:relative;
    background-size:cover;
    height:100vh
}
header.masthead .overlay{
    position:absolute;
    top:0;
    left:0;
    height:100%;
    width:100%;
    background-color:#212529;
    opacity:.5
}
header.masthead .page-heading,header.masthead .post-heading,header.masthead .site-heading{
    padding:200px 0 150px;
    color:#fff
}
header.masthead .page-heading h1,header.masthead .site-heading h1{
    font-size:50px;
    margin-top:10%
}
header.masthead .page-heading h2,header.masthead .site-heading h2{
    font-size:40px;
    margin-top:10%
}
header.masthead .page-heading h3,header.masthead .site-heading h3{
    font-size:30px;
    margin-top:10%
}
header.masthead .page-heading .subheading,header.masthead .site-heading .subheading{
    font-size:24px;
    font-weight:300;
    line-height:1.1;
    display:block;
    margin:10px 0 0;
   /* font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif*/
	font-family: 'Yekan', Open Sans;
		
}
@media only screen and (min-width:768px){
    header.masthead .page-heading,header.masthead .post-heading,header.masthead .site-heading{
        padding:200px 0
    }
    header.masthead .page-heading h1,header.masthead .site-heading h1{
        font-size:70px
    }
	header.masthead .page-heading h2,header.masthead .site-heading h2{
        font-size:60px
    }
	header.masthead .page-heading h3,header.masthead .site-heading h3{
        font-size:50px
    }
}
header.masthead .post-heading h1{
    font-size:35px
}
header.masthead .post-heading h2{
    font-size:30px
}
header.masthead .post-heading h3{
    font-size:25px
}
header.masthead .post-heading .meta,header.masthead .post-heading .subheading{
    line-height:1.1;
    display:block
}
header.masthead .post-heading .subheading{
    font-size:24px;
    font-weight:600;
    margin:10px 0 30px;
    /*font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;*/
	font-family: 'Yekan', Open Sans;
}
header.masthead .post-heading .meta{
    font-size:20px;
    font-weight:300;
    font-style:italic;
   /* font-family:Lora,'Times New Roman',serif;*/
	font-family: 'Yekan', Lora;	
}
header.masthead .post-heading .meta a{
    color:#fff
}
@media only screen and (min-width:768px){
    header.masthead .post-heading h1{
        font-size:55px
    }
	header.masthead .post-heading h2{
        font-size:50px
    }
	header.masthead .post-heading h3{
        font-size:45px
    }
    header.masthead .post-heading .subheading{
        font-size:30px
    }
}
.post-preview>a{
    color:#212529
}
.post-preview>a:focus,.post-preview>a:hover{
    text-decoration:none;
    color:#0085A1
}
.post-preview>a>.post-title{
    font-size:30px;
    margin-top:30px;
    margin-bottom:10px
}
.post-preview>a>.post-subtitle{
    font-weight:300;
    margin:0 0 10px
}
.post-preview>.post-meta{
    font-size:18px;
    font-style:italic;
    margin-top:0;
    color:#868e96
}
.post-preview>.post-meta>a{
    text-decoration:none;
    color:#212529
}
.post-preview>.post-meta>a:focus,.post-preview>.post-meta>a:hover{
    text-decoration:underline;
    color:#0085A1
}
@media only screen and (min-width:768px){
    .post-preview>a>.post-title{
        font-size:36px
    }
}
.floating-label-form-group{
    font-size:14px;
    position:relative;
    margin-bottom:0;
    padding-bottom:.5em;
    border-bottom:1px solid #dee2e6
}
.floating-label-form-group input,.floating-label-form-group textarea{
    font-size:1.5em;
    position:relative;
    z-index:1;
    padding:0;
    resize:none;
    border:none;
    border-radius:0;
    background:0 0;
    -webkit-box-shadow:none!important;
    box-shadow:none!important;
    font-family:Lora,'Times New Roman',serif
}
.floating-label-form-group input::-webkit-input-placeholder,.floating-label-form-group textarea::-webkit-input-placeholder{
    color:#868e96;
    font-family:Lora,'Times New Roman',serif
}
.floating-label-form-group label{
    font-size:.85em;
    line-height:1.764705882em;
    position:relative;
    z-index:0;
    top:2em;
    display:block;
    margin:0;
    -webkit-transition:top .3s ease,opacity .3s ease;
    transition:top .3s ease,opacity .3s ease;
    vertical-align:middle;
    vertical-align:baseline;
    opacity:0
}
.floating-label-form-group .help-block{
    margin:15px 0
}
.floating-label-form-group-with-value label{
    top:0;
    opacity:1
}
.floating-label-form-group-with-focus label{
    color:#0085A1
}
form .form-group:first-child .floating-label-form-group{
    border-top:1px solid #dee2e6
}
.btn{
    font-size:14px;
    font-weight:800;
    padding:15px 25px;
    border-radius:0;
  /*  font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;*/
	font-family: 'Yekan', Open Sans;
}
.btn-primary:active,.btn-primary:focus,.btn-primary:hover{
    color:#fff;
    background-color:#00657b!important;
    border-color:#00657b!important
}
.btn-lg{
    font-size:16px;
    padding:25px 35px
}
div.maincontainer{
    min-height:50vh;
    padding-bottom:35vh
}
section.secondarybg{
    min-height:45vh;
   /* font-family:Montserrat,sans-serif;*/
	font-family: 'Yekan', Montserrat;
}
div.whatwedo{
    padding-left:2.5%;
    padding-right:2.5%
}
div.whatwedo div.card{
    height:22rem;
    font-size:1rem
}
section.secondarybg div.card-body i{
    color:#25ae60!important
}
footer {
    background : #313131;
    height: 38vh;
    position: relative;
    /*font-family: 'Quicksand', sans-serif;*/
	font-family: 'Yekan', Quicksand;

    }
    footer .footer-block {
    border-right : 1px solid #3a3a3a;
    padding-top: 2.5%;
    
   
    }
    .footer-first span{
      font-size: 1rem !important;
      color: #969595 !important;
    }
footer .footer-block.last {
    border-right : 0;
    font-size: 1rem;
    }
footer div.top{
  height: 33vh;
}

footer div.top-top{
    height: 28vh;
}
footer div.top-bottom{
    height: 5vh;
}
footer div.bottom{
  height: 5vh;
  background-color: #2d2d2d;
    color: #6b6b6b;
}
.footer-widget h3 {
    font-size: 16px !important;
    line-height: 22px !important;
    color: #ffffff !important;
    margin-bottom: 25px !important;
}
.footer-widget address{
  color: #969595 !important;
}
.list-inline {
    padding-left: 0;
    margin-left: -5px;
    list-style: none;
}
.list-inline>li {
    display: inline-block;
    padding-right: 5px;
    padding-left: 5px;
}
footer .footer-widget .social-links li a {
    display: block;
    font-size: 20px;
    width: 42px;
    height: 42px;
    color: #6b6b6b;
    background-color: #4a4a4a;
    line-height: 42px;
    text-align: center;
    border-radius: 50%;
}
footer .footer-widget .social-links li a:hover{
  background-color: #134985;
  color: #edeff2;
}

a.rules-link{
  font-size: .85rem;
  color: #dbd9d9 ;
  text-transform: none;
  text-decoration: none;
  padding: 3.5px;
  transition: .3s ease all;
}
a.rules-link:hover{
  
  border: 1px solid #969595;
}
@media only screen and (max-width:600px){
   footer {
  
     height: 75vh; 
    
}
footer div.top {
    height: 70vh;
}
footer div.top-top {
    height: 57vh;
}
footer div.top-bottom {
    height: 13vh;
}
footer .footer-block {
    border-bottom : 1px solid #3a3a3a;
    border-right:none;
    
   
    }
    footer .footer-block{
        border-bottom:1px solid #3a3a3a;
        border-right:none
    }
    .h-vision{
        width:25vw
    }
    div.p-aboutus{
        padding-left:5%;
        padding-right:5%
    }
    div.carousel-caption h1{
        font-size:2.5rem
    }
    .imgSlider{
        object-fit:none;
        object-position:center
    }
    .mhainvest-default{
        position:relative;
        top:0;
        background-color:#fff;
        height:4rem;
        border-bottom-left-radius:5px;
        border-bottom-right-radius:5px;
        line-height:0;
        box-shadow:none
    }
    div.rule-column{
  width: 100%;
      text-align: center !important;
}
}
