/*
Material HTML5 Template (https://naveenshaji.github.io/material)
The MIT License (MIT)

Copyright (c) 2015 Naveen Shaji

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
html{
    /*overflow:hidden !important;*/
    /*overflow:scroll !important;*/
}
body {
    margin: 0;
    padding: 0;
    text-align: justify;
    background-color:#fff !important;
    height:auto !important;
        background-image: url("/Content/images/bg1.jpg");
            /*overflow:scroll !important;*/
            height:100%;

}

.clamp-module {
    height: 120px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
}

.post-title {
    overflow: hidden;
    max-height: 1.2em;
}
/*.card:hover {
    -webkit-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -moz-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}*/

nav {
    overflow: visible !important;
    z-index: auto;
    will-change: contents !important;
}

.scrollToTop {
    /*position: fixed;
    top: 100px;
    right: 40px;
    display: none;*/

    text-align: center;
    position: fixed;
    bottom: 15px;
    right: 10px;
    text-decoration: none;
    color: #fff;
    background-color: #e91e63;
    display: none;
    border-radius: 100%;
    width: 56px;
    height: 56px;
    box-shadow: 0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);


}

.preloader {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1001;
    overflow: visible;
}

.xpreloading {
    width: 800px;
    height: 5px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    /*width:auto*/
}

.xpretext {
    /*width: 800px;*/
    height: 5px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    padding-top: 10px;
    text-align:center !important;
    width:auto;
}

.xprebutton {
    margin-left: 650px;
    margin-top: -300px;
}

.xprecontainer {
    margin-top: -360px;
}

.xprecontainer2 {
    margin-top: -220px;
    margin-left: 220px;
}

.man {
    width: 200px;
}

.mast {
     margin-left: auto;
    margin-right: auto;
    text-align: center;
    /*margin-top: 5%;*/
}
.mast h1{
    font-size: 100px;
}
.mast h6{
    font-size: 18px;
}
.preshadow {
    padding-bottom: 40px;
}

.advantage {
    padding: 20px;
    width: 100%;
    min-height: 100px;
    transition: all 0.2s ease;
}

.advantage:hover {
    opacity: 0.8;
}

.card .cover {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /*background-image: url("{{site.baseurl}}/img/1.jpg");*/
    transition: 0.3s all ease;
    overflow: hidden;
}

.card .cover .cover-text{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 150px;
    overflow: hidden;
    text-overflow: clip; /*add max-width */
    max-width: 100%;
    
}

.card .cover:hover {
    transform: scale(1.04);
}

.card .cover .filter {
    width: 100%;
    height: 120%;
    opacity: 0.4;
}

.scrollToTop i {
    font-size: 50px;
}



/*Preloader*/

#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 19000; }

#loader {
  display: block;
  position: relative;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border-radius: 50%;
  border: 6px solid transparent;
  border-top-color: #3498db;
  -webkit-animation: spin 2s linear infinite;
  /* Chrome, Opera 15+, Safari 5+ */
  animation: spin 2s linear infinite;
  /* Chrome, Firefox 16+, IE 10+, Opera */
  z-index: 1001; }

#loader:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  border: 6px solid transparent;
  border-top-color: #e74c3c;
  -webkit-animation: spin 3s linear infinite;
  /* Chrome, Opera 15+, Safari 5+ */
  animation: spin 3s linear infinite;
  /* Chrome, Firefox 16+, IE 10+, Opera */ }

#loader:after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  border: 6px solid transparent;
  border-top-color: #f9c922;
  -webkit-animation: spin 1.5s linear infinite;
  /* Chrome, Opera 15+, Safari 5+ */
  animation: spin 1.5s linear infinite;
  /* Chrome, Firefox 16+, IE 10+, Opera */ }

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(0deg);
    /* IE 9 */
    transform: rotate(0deg);
    /* Firefox 16+, IE 10+, Opera */ }
  100% {
    -webkit-transform: rotate(360deg);
    /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(360deg);
    /* IE 9 */
    transform: rotate(360deg);
    /* Firefox 16+, IE 10+, Opera */ } }
@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(0deg);
    /* IE 9 */
    transform: rotate(0deg);
    /* Firefox 16+, IE 10+, Opera */ }
  100% {
    -webkit-transform: rotate(360deg);
    /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(360deg);
    /* IE 9 */
    transform: rotate(360deg);
    /* Firefox 16+, IE 10+, Opera */ } }
#loader-wrapper .loader-section {
  position: fixed;
  top: 0;
  width: 51%;
  height: 100%;
  background: #fff;
  z-index: 1000;
  -webkit-transform: translateX(0);
  /* Chrome, Opera 15+, Safari 3.1+ */
  -ms-transform: translateX(0);
  /* IE 9 */
  transform: translateX(0);
  /* Firefox 16+, IE 10+, Opera */ }

#loader-wrapper .loader-section.section-left {
  left: 0; }

#loader-wrapper .loader-section.section-right {
  right: 0; }

/* Loaded */
.loaded #loader-wrapper .loader-section.section-left {
  -webkit-transform: translateX(-100%);
  /* Chrome, Opera 15+, Safari 3.1+ */
  -ms-transform: translateX(-100%);
  /* IE 9 */
  transform: translateX(-100%);
  /* Firefox 16+, IE 10+, Opera */
  -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); }

.loaded #loader-wrapper .loader-section.section-right {
  -webkit-transform: translateX(100%);
  /* Chrome, Opera 15+, Safari 3.1+ */
  -ms-transform: translateX(100%);
  /* IE 9 */
  transform: translateX(100%);
  /* Firefox 16+, IE 10+, Opera */
  -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); }

.loaded #loader {
  opacity: 0;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out; }

.loaded #loader-wrapper {
  visibility: hidden;
  -webkit-transform: translateY(-100%);
  /* Chrome, Opera 15+, Safari 3.1+ */
  -ms-transform: translateY(-100%);
  /* IE 9 */
  transform: translateY(-100%);
  /* Firefox 16+, IE 10+, Opera */
  -webkit-transition: all 0.3s 1s ease-out;
  transition: all 0.3s 1s ease-out; }


.md-font {
font-family:IRANSans;
color:white;
}

.rtl{
    text-align:right;
    direction:rtl;
}
#exampro {
padding-top:30px;
}
.paddingImage{
    padding-left:25px;
}
.exampro-img1{
    width:70%;
}
.exampro-img2{
    padding-top:15px;
}
#nav-mobile a{
    font-size:14px !important; 
}
md-content {
    background-color: #fff !important;
}

md-card-title-text{
    text-align:center !important;
}
h4{
    font-size:16px !important;
}
v-accordion{
    direction:rtl;
}
v-pane{
    padding-right:10px;
        padding-left:10px;

}
v-pane-header{
        font-size:16px !important;
}
.subpanelPadding{
    padding:20px;
}
.subpanelPanelText{
    padding:10px;
}
.btn{
    background-color:#1976d2 !important;
        color: white !important;
        box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.btn:hover{
        box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
#checkerRegForm{
    direction:rtl;
}
.error{
    font-family:IRANSans;
    font-size:12px;
    color:rgba(221, 44, 0, 0.57);
}
.alert-info{
    direction:rtl;
    text-align:right;
}

input[type=text]:-webkit-autofill,input[type=password]:-webkit-autofill  {
    -webkit-box-shadow: 0 0 0px 1000px #fff  inset !important;

}
input[type=text]:focus,input[type=password]:focus {
    -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;

}
.login input[type=text]:-webkit-autofill,
.login input[type=password]:-webkit-autofill,
#forgotpassform input[type=text]:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
}
.login input[type=text]:focus,
.login input[type=password]:focus,
#forgotpassform input[type=text]:focus
 {
    -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;

}

md-toolbar.md-default-theme:not(.md-menu-toolbar), md-toolbar:not(.md-menu-toolbar){
    /*background-color:#2aa6e3 !important;*/
}
.md-toolbar-tools{
    direction:rtl !important;
}
.righttoLeft{
    float:right;
    direction:rtl;
    text-align:right;
}
.md-fab{
    /*background-color:#01579b !important;*/
    /*background-color:#27ae60 !important;*/
    background-color:  #016CCD !important

  
}
/*#signin,#forgotPass{
    margin-left:15px;
}*/
md-dialog{
    min-width:300px !important;
    min-height:360px !important;
}
.loginTitle{
    text-align:center;
        color: white;
            padding-top: 3px;
}
.body{
    margin-right: 5px;
    margin-left: 5px;
        /*position: absolute;
    margin-top: 180px;
    /* height: 300px; 
    height: 300px;
    width: 300px;
    padding-left: 30px;
    text-align: left;
    padding-top: 10px;
    padding-right: 30px;*/
        margin-top:10px;
}
.top{
        height: 170px;
        background-color: #1976d2;
    /*height: 180px;
    width: 300px;
    position: absolute;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px*/
}
.loginImage
{
margin-top:8px;
}
.smallText,.error
{
text-align:right !important;
font-size:12px !important;
color:Red !important;
float: right;
font-weight: 300;
}
  #fullnameX
{
padding-top:5px;
font-size:16px !important;
font-weight:bold;
color:White;
}
   
#usernameX
{
padding-top:3px;
font-size:14px !important;
font-weight:normal;
color:White;
}
.md-button{
    margin:6px 3px !important;
}
.navbar-fixed{
    z-index:999 !important;
}
md-input-container label:not(.md-container-ignore){
    right:0 !important;
    left:auto !important;
}
md-input-container [ng-messages]{
    text-align:right;
}
.fontsize{
    font-size:12px;
}
#guts{
        min-height: 390px;
            background-color: #fff !important;
                background-image: url("/Content/images/bg1.jpg");
}
#trancontent{
       padding-top: 60px;
    padding-bottom: 60px;
}
.footerContent{
    padding-top:10px;
    font-size: 12px !important;
}
.graytext{
    color:#CCC !important;
    font-size: 14px;
}
.headerbackground{
    background-color:#333333 !important;
}
#progress{
        position: absolute;
    top: 45%;
    left: 45%;
    margin-top: -45px;
    margin-left: -45px;
    width: 100px;
    height: 100px;
}

md-backdrop.md-dialog-backdrop{
    z-index:1000 !important;
}
.md-dialog-container{
        z-index:1002 !important;

}
#loginDialog md-dialog{
        max-width: 20% !important;
    max-height: 100% !important;
}
footer.page-footer{
    z-index:10;
}
.grey-text.text-lighten-3{
    font-size:12px;
}
.headerbak{
    background-color: #0143A3;
    background: -webkit-linear-gradient(#0143A3,#0273D4);
    background: linear-gradient(#0143A3,#0273D4);
    color: #fff;
}
.hero.is-large {
    height: 300px;/*478px*/;
    padding-top: 16px;
    text-align: center;
        box-shadow: 0 1px 1px 0 rgba(0,0,0,0.16),0 1px 3px 0 rgba(0,0,0,0.12);
}
.hero {
    position: relative;
    padding: 80px 48px 56px;
    height: 80px;
}
.background-superhero-paper {
    /*background: url("https://angular.io/resources/images/backgrounds/superhero-paper.png") bottom center no-repeat;*/
        /*background: url("/Content/images/sts.png") bottom center no-repeat;*/
        background-position:center;
    background-size: 20%;
    background-position:right;
}
.footerIcons{
    background-color: #495D67 !important;
}


/*My Wave effect*/
/*.mwaves-effect{position:relative;cursor:pointer;display:inline-block;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;z-index:1;will-change:opacity,transform;-webkit-transition:all 0.3s ease-out;-moz-transition:all 0.3s ease-out;-o-transition:all 0.3s ease-out;-ms-transition:all 0.3s ease-out;transition:all 0.3s ease-out}
.mwaves-effect .mwaves-ripple{position:absolute;border-radius:50%;width:20px;height:20px;margin-top:-10px;margin-left:-10px;opacity:0;background:rgba(0,0,0,0.2);-webkit-transition:all 0.7s ease-out;-moz-transition:all 0.7s ease-out;-o-transition:all 0.7s ease-out;-ms-transition:all 0.7s ease-out;transition:all 0.7s ease-out;-webkit-transition-property:-webkit-transform,opacity;-moz-transition-property:-moz-transform,opacity;-o-transition-property:-o-transform,opacity;transition-property:transform,opacity;-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0);transform:scale(0);pointer-events:none}
.mwaves-effect.mwaves-light .mwaves-ripple{background-color:rgba(255,255,255,0.45)}
.mwaves-effect.mwaves-red .mwaves-ripple{background-color:rgba(244,67,54,0.7)}
.mwaves-effect.mwaves-yellow .mwaves-ripple{background-color:rgba(255,235,59,0.7)}
.mwaves-effect.mwaves-orange .mwaves-ripple{background-color:rgba(255,152,0,0.7)}
.mwaves-effect.mwaves-purple .mwaves-ripple{background-color:rgba(156,39,176,0.7)}
.mwaves-effect.mwaves-green .mwaves-ripple{background-color:rgba(76,175,80,0.7)}
.mwaves-effect.mwaves-teal .mwaves-ripple{background-color:rgba(0,150,136,0.7)}
.mwaves-notransition{-webkit-transition:none !important;-moz-transition:none !important;-o-transition:none !important;-ms-transition:none !important;transition:none !important}
.mwaves-circle{-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0);transform:translateZ(0);-webkit-mask-image:-webkit-radial-gradient(circle, white 100%, black 100%)}
.mwaves-input-wrapper{border-radius:0.2em;vertical-align:bottom}
.mwaves-input-wrapper .mwaves-button-input{position:relative;top:0;left:0;z-index:1}
.mwaves-circle{text-align:center;width:2.5em;height:2.5em;line-height:2.5em;border-radius:50%;-webkit-mask-image:none}
.mwaves-block{display:block}a.mwaves-effect .mwaves-ripple{z-index:-1}*/
.background-sky {
    background-color: #0143A3;
    background: -webkit-linear-gradient(#0143A3,#0273D4);
    background: linear-gradient(#0143A3,#0273D4);
    color: #fff;
}
md-toolbar.md-default-theme:not(.md-menu-toolbar), md-toolbar:not(.md-menu-toolbar){
    background-color:transparent !important;
}

.lastFooter{
        line-height: 50px !important;
    /* background-color: rgba(0,0,0,0.2); */
    color: rgba(255,255,255,0.25) !important;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1) !important;
    font-weight: 100 !important;
    font-size: 13px;
        direction: ltr !important;
}
.paddingfooter{
    padding-left:10px;
    padding-right:10px;
    margin-top: 10px;
}
.metroButton{
    background-color:#3498db !important;
    /*width:96px;
    height:96px;*/
        width: 180px;
    height: 170px
}
.metroButton .title{
    font-size:20px;
    font-style  :normal;
}


/*Home Page button*/

/*.navbox-tiles:after {
  content: '';
  display: table;
  clear: both;
}

.navbox {
  background-color: transparent;
  width: 100%;
  max-width: 680px;
  -webkit-backface-visibility: initial;
  backface-visibility: initial;
}*/


.navbox-tiles .tile {
  display: block;
  background-color: #3498db;
  /*width: 20.3030303030303%;
  height: 0;*/
  /*padding-bottom: 19%;*/
  float: right;
  border: 2px solid transparent;
  color: #fff;
  position: relative;
  cursor: pointer;
  /*width:134px;
  height:129px;*/
      width: 154px;
    height: 149px;
  /*padding:5px;*/
}

.navbox-tiles .tile .icon {
  width: 100%;
  height: 100%;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
}


.navbox-tiles .tile .title {
  padding: 5px;
  font-size: 12px;
  position: absolute;
  bottom: 0;
  right: 0;
}

.navbox-tiles .tile:hover {
  border-color: #fff;
  text-decoration: none;
}
/*.navbox-tiles .tile:not(:nth-child(4n+4)) {
 margin-left: 4.54545454545455%;
}*/

/*.navbox-tiles .tile:nth-child(n+5) { margin-top: 15px; }
 @media screen and (max-width: 670px) {

.navbox-tiles .tile .title {
  padding: 3px;
  font-size: 11px;
}
}*/

 /*.centerNavbox{
         padding-left: 20% !important;
    padding-right: 15% !important;
    padding-bottom:4%;
    padding-top:2%;

 }*/


.glyph-icon{
    padding: 18px;
    display: block;
    font-family: "Flaticon";
    font-size: 74px;
    line-height: 1;
}


.headertext{
    font-size:28px;
    align-self: center;
}
#headerimage{
    display: block;
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 10px;
}
#newsbody,#detailbody{
        direction: rtl;
}
.centerImg{
    margin: 0 auto;display: block;
}
.container-fluid,.container{
        padding-bottom: 50px;
}
.md-headline{
    font-size:20px;
}
.containerPadding{
    padding-right: 36px !important;
    padding-left: 0 !important;
}
md-input-container>md-icon{
    right:2px !important;
    left:auto;
}
nav ul a{
color:#fff !important;
}
.cyan.lighten-5{
    background-color:#fff !important;
}
/*md-input-container.md-default-theme label, md-input-container label, md-input-container.md-default-theme .md-placeholder, md-input-container .md-placeholder{
    color: rgba(0,0,0,0.66) !important;
}*/

.container-fluid, .container{
    padding-bottom:0px !important;
}

#page-wrap{
    min-height:83vh !important;
}

.toast-top-right{
    height:auto;
   width:auto;
    
}
/*.navbox{
    width:70%;
}*/

md-input-container label{
        color: #31708f;

}
md-input-container input[type=search]{
    color:black !important;
}
md-optgroup{
    direction:rtl;
    text-align:right;
}


input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
}

@media screen and (min-width: 480px) {
    #mainDiv {
        width: 60%;
    }
}
@media screen and (min-width: 1400px) {
    #mainDiv {
        width: 55%;
    }
}

@media screen and (min-width: 1600px) {
    #mainDiv {
        width: 50%;
    }
}
@media screen and (min-width: 1760px) {
    #mainDiv {
        width: 45%;
    }
}
@media screen and (min-width: 1900px) {
    #mainDiv {
        width: 40%;
    }
}

.formicons{
        right: 0 !important;
    left: auto !important;
}