body {
    /*min-height: 2000px;*/
    padding-top: 70px;
    font-family: IRANSans_FaNum !important;
    font-size: 15px;
}

@font-face {
    font-family: 'Yekan';
    src: url('fonts/Yekan.eot?#') format('eot'), /* IE6–8 */
    url('fonts/Yekan.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('fonts/Yekan.ttf') format('truetype'); /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('fonts/IRANSansWeb.eot');
    src: url('fonts/IRANSansWeb.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('fonts/IRANSansWeb.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('fonts/IRANSansWeb.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('fonts/IRANSansWeb.ttf') format('truetype');
}

@font-face {
    font-family: IRANSansMedium;
    font-style: normal;
    font-weight: normal;
    src: url('fonts/IRANSansWeb_Medium.eot');
    src: url('fonts/IRANSansWeb_Medium.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('fonts/IRANSansWeb_Medium.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('fonts/IRANSansWeb_Medium.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('fonts/IRANSansWeb_Medium.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans_FaNum;
    font-style: normal;
    font-weight: normal;
    src: url('fonts/IRANSansWeb(FaNum).eot');
    src: url('fonts/IRANSansWeb(FaNum).eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('fonts/IRANSansWeb(FaNum).woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('fonts/IRANSansWeb(FaNum).woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('fonts/IRANSansWeb(FaNum).ttf') format('truetype');
}

nav.navbar.shrink {
    max-height: 35px;
    animation-name: shrinkanim;
    -webkit-animation-name: shrinkanim;
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
}

@keyframes shrinkanim {
    0% {
        max-height: 70px;
    }

    100% {
        max-height: 35px;
    }
}

.btn-success2
{
    background-color:#a81010;
    border-color:#fff;
    color:#fff;
    margin-bottom:10px;
}
nav.navbar.shrink img {
    max-height: 35px;
    max-width: 70px;
    animation-name: shrinkAnimImg;
    -webkit-animation-name: shrinkAnimImg;
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
}

@keyframes shrinkAnimImg {
    0% {
        max-height: 70px;
        max-width: 140px;
    }

    100% {
        max-height: 35px;
        max-width: 70px;
    }
}

nav.navbar.shrink #navbar {
    padding: 2px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

nav.navbar {
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

#navbar {
    float: left;
    padding-top: 15px;
}

.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    background-color: #fafafa;
    color: #333;
    border-bottom: 2px solid #a81010;
    float: left;
}

.navbar-defaultpage {
    border-bottom: 2px solid #a81010;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > a:hover {
    border: none;
}

.navbar-header {
    float: left;
}

.caret-up {
    width: 0;
    height: 0;
    border-left: 4px solid rgba(0, 0, 0, 0);
    border-right: 4px solid rgba(0, 0, 0, 0);
    border-bottom: 4px solid;
    display: inline-block;
    margin-left: 2px;
    vertical-align: middle;
}

.selected-menu {
    border-top: 2px solid #a81010;
    font-size: 12px;
}

.no-border {
    border: none;
}


/*
inspired from http://codepen.io/Rowno/pen/Afykb 
*/
.carousel-control {
    width: 8%;
}

.carousel-fade .carousel-inner .item {
    opacity: 0;
    transition-property: opacity;
}

.carousel-fade .carousel-inner .active {
    opacity: 1;
}

    .carousel-fade .carousel-inner .active.left,
    .carousel-fade .carousel-inner .active.right {
        left: 0;
        opacity: 0;
        z-index: 1;
    }

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}

.carousel-fade .carousel-control {
    z-index: 0;
}

/*
WHAT IS NEW IN 3.3: "Added transforms to improve carousel performance in modern browsers."
now override the 3.3 new styles for modern browsers & apply opacity
*/
@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

        .carousel-fade .carousel-inner > .item.next.left,
        .carousel-fade .carousel-inner > .item.prev.right,
        .carousel-fade .carousel-inner > .item.active {
            opacity: 1;
            -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
        }
}

/* just for demo purpose */
.carousel-image {
    width: 100%;
}

.carousel-caption {
    float: right;
    right: 5%;
    /*left: 60%;*/
    top: 20%;
    bottom: 50%;
    -webkit-animation-name: maincaption; /* Chrome, Safari, Opera */
    -webkit-animation-duration: 2s; /* Chrome, Safari, Opera */
    animation-name: maincaption;
    animation-duration: 2s;
    max-width: 500px;
    padding-right: 15px;
}

.carousel-fistheader {
    background: rgba(0,0,0,0.3);
    padding: 5px;
    border-radius: 7px;
}
/* Chrome, Safari, Opera */
@-webkit-keyframes maincaption {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Standard syntax */
@keyframes maincaption {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.carousel-header {
    position: absolute;
    top: 20%;
    -webkit-animation-name: mainHeader; /* Chrome, Safari, Opera */
    -webkit-animation-duration: 1s; /* Chrome, Safari, Opera */
    animation-name: mainHeader;
    animation-duration: 1s;
}


/* Chrome, Safari, Opera */
@-webkit-keyframes mainHeader {
    from {
        top: 0px;
    }

    to {
        top: 20%;
    }
}

/* Standard syntax */
@keyframes mainHeader {
    from {
        top: 0px;
    }

    to {
        top: 20%;
    }
}

.units {
    color: #444;
    /*border-top:1px solid #e1e1e1;*/
    border-bottom: 1px solid #e1e1e1;
    padding: 10px 20px;
    bottom: 0;
    position: absolute;
    width: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1;
}

    .units a {
        text-decoration: none;
        color: #878686;
    }

.hoverLink span {
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    float: left;
}

#spnRasad {
    background-image: url('../images/new/daftar.png');
}

#spnKhorasan {
    background-image: url('../images/new/Khorasan.png');
}

#spnAkharinKhabar {
    background-image: url('../images/new/AkharinKhabar.png');
}

#spnJeem {
    background-image: url('../images/new/Jeem.png');
}

#spnEtoos {
    background-image: url('../images/new/Etoos.png');
}

#spnByte {
    background-image: url('../images/new/Byte.png');
}

#spn37010 {
    background-image: url('../images/new/37010.png');
}

#spnZendegisalam {
    background-image: url('../images/new/Zendegisalam.png');
}

#spnVarzeshi {
    background-image: url('../images/new/Varzeshi.png');
}

#spnRazavi {
    background-image: url('../images/new/Razavi.png');
}

#spnShomali {
    background-image: url('../images/new/Shomali.png');
}

#spnJonubi {
    background-image: url('../images/new/Jonubi.png');
}

#spnSistan {
    background-image: url('../images/new/Sistan.png');
}

.headerlink {
    text-align: center;
    /*background-color:#e1e1e1 ;*/
    border-radius: 10px;
    padding: 2px;
    width: 70px;
    height: 70px;
    overflow: hidden;
    border: 1px solid #fff;
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

    .headerlink:hover {
        -webkit-animation-name: borderAnim; /* Chrome, Safari, Opera */
        -webkit-animation-duration: 0.8s; /* Chrome, Safari, Opera */
        animation-name: borderAnim;
        animation-duration: 0.8s;
        -webkit-filter: grayscale(0); /* Safari 6.0 - 9.0 */
        filter: grayscale(0);
    }

@keyframes borderAnim {
    0% {
        /*opacity: 0;*/
        box-shadow: 0 0 3px 1px rgba(255, 255, 255, 1);
    }

    100% {
        /*opacity: 1;*/
        box-shadow: 0 0 3px 7px rgba(255, 255, 255, 0);
    }
}

.units .glyphicon {
    font-size: 35px;
}

.carousel-secondheader {
    text-align: justify;
    line-height: 20px;
    /*position: absolute;*/
    padding-top: 60px;
    -webkit-animation-name: secondHeader; /* Chrome, Safari, Opera */
    -webkit-animation-duration: 1s; /* Chrome, Safari, Opera */
    animation-name: secondHeader;
    animation-duration: 1s;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes secondHeader {
    from {
        padding-top: 80px;
    }

    to {
        padding-top: 60px;
    }
}

/* Standard syntax */
@keyframes secondHeader {
    from {
        padding-top: 120px;
    }

    to {
        padding-top: 60px;
    }
}

.carousel-bottons {
    /*position: absolute;*/
    padding-top: 100px;
    -webkit-animation-name: buttons; /* Chrome, Safari, Opera */
    -webkit-animation-duration: 2s; /* Chrome, Safari, Opera */
    animation-name: buttons;
    animation-duration: 2s;
    text-align: right;
}

    .carousel-bottons a {
        border-radius: 60px;
        color: #ffffff;
        padding: 10px 16px;
        display: inline-block;
        margin-top: 20px;
        text-decoration: none;
        font-weight: bold;
        background: rgba(0,0,0,0.3);
        border: 3px solid #fff;
    }


/* Chrome, Safari, Opera */
@-webkit-keyframes buttons {
    from {
        padding-top: 200px;
    }

    to {
        padding-top: 100px;
    }
}

/* Standard syntax */
@keyframes buttons {
    from {
        padding-top: 200px;
    }

    to {
        padding-top: 100px;
    }
}

.logo-small {
    font-size: 30px;
}

.slideanim {
    visibility: hidden;
}

.slide {
    animation-name: slide;
    -webkit-animation-name: slide;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    visibility: visible;
}

@keyframes slide {
    0% {
        opacity: 0;
        transform: translateY(70%);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

@-webkit-keyframes slide {
    0% {
        opacity: 0;
        -webkit-transform: translateY(70%);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0%);
    }
}

.aboutus {
    /*background: url(../images/wire.png);*/
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    /*background-color: #f6f6f6;*/
    color: #000;
}

    .aboutus div {
        line-height: 2.2em;
        text-align: justify;
        padding: 1px 35px;
    }

    .aboutus .text-center {
        text-align: center;
    }

    .aboutus h2 {
        text-align: center;
    }
/*.hero{
  text-align:center; 
  position:relative;
  width: 100%;
}

.inner{
  position: relative;
  width:100%;
}

.copy{
  top:50%; 
  height:10em; 
  margin-top:-5em; 
  width:100%;
  line-height:30px;
  font-size: 14px;
  padding: 5px 25px;
}
.copy p{
  text-align:justify;
}
.hero h1, .hero p{ 
  color:#fff;
}*/
.footer {
    background-color: #2c353d;
    color: #ffffff;
    width: 100%;
    min-height: 100px;
    margin-top: 40px;
    padding: 10px;
}

    .footer h4 {
        border-bottom: 1px solid #5b646b;
        border-top: 1px solid #5b646b;
        padding: 7px;
        text-align: center;
    }
    
    .footer div{
        /*text-align:center;*/
        padding-bottom:15px;

    }
.copyright {
    background-color: #5b646b;
    color: #ffffff;
    width: 100%;
    padding: 5px;
}

.linkopacity img {
    opacity: 1;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.linkopacity:hover img {
    opacity: .5;
}
/* Blur + Gray Scale */
/*.blur img {
    -webkit-filter: grayscale(0) blur(0);
    filter: grayscale(0) blur(0);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.blur:hover img {
    -webkit-filter: grayscale(100%) blur(3px);
    filter: grayscale(100%) blur(3px);
}*/


.blur img
{
    display:inline-block;
    border:0;
    position: relative;
    -webkit-transition:  300ms ease-in;
    -webkit-transform: scale(1); 
    -ms-transition:  300ms ease-in;
    -ms-transform: scale(1); 
    -moz-transition:  300ms ease-in;
    -moz-transform: scale(1);
    transition:  300ms ease-in;
    transform: scale(1);   

}
.blur img:hover
{
    -webkit-transition:  300ms ease-in;
    -webkit-transform: scale(1.2);
    -ms-transition:  300ms ease-in;
    -ms-transform: scale(1.2);   
    -moz-transition:  300ms ease-in;
    -moz-transform: scale(1.2);
    transition:  300ms ease-in;
    transform: scale(1.2);
}
.loginbar a {
    font-size: 12px;
    text-decoration: none;
}


/****** LOGIN MODAL ******/
.mymodal {
    width: 350px !important;
}

.loginmodal-container {
    padding: 30px;
    max-width: 350px;
    width: 100% !important;
    background-color: #F7F7F7;
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    font-family: IRANSans_FaNum;
}

    .loginmodal-container h1 {
        text-align: center;
        font-size: 1.8em;
        font-family: IRANSans_FaNum;
    }

    .loginmodal-container input[type=submit] {
        width: 100%;
        display: block;
        margin-bottom: 10px;
        position: relative;
    }

    .loginmodal-container input[type=text], input[type=password] {
        height: 44px;
        font-size: 16px;
        width: 100%;
        margin-bottom: 10px;
        -webkit-appearance: none;
        background: #fff;
        border: 1px solid #d9d9d9;
        border-top: 1px solid #c0c0c0;
        /* border-radius: 2px; */
        padding: 0 8px;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
    }

        .loginmodal-container input[type=text]:hover, input[type=password]:hover {
            border: 1px solid #b9b9b9;
            border-top: 1px solid #a0a0a0;
            -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
            -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
            box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
        }

.loginmodal {
    text-align: center;
    font-size: 14px;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    height: 36px;
    padding: 0 8px;
    /* border-radius: 3px; */
    /* -webkit-user-select: none;
  user-select: none; */
}

.loginmodal-submit {
    /* border: 1px solid #3079ed; */
    border: 0px;
    color: #fff;
    text-shadow: 0 1px rgba(0,0,0,0.1);
    background-color: #a81010; /*#4d90fe;*/
    padding: 17px 0px;
    font-family: IRANSans_FaNum;
    font-size: 14px;
    /* background-image: -webkit-gradient(linear, 0 0, 0 100%,   from(#4d90fe), to(#4787ed)); */
}

    .loginmodal-submit:hover {
        /* border: 1px solid #2f5bb7; */
        border: 0px;
        text-shadow: 0 1px rgba(0,0,0,0.3);
        background-color: #a02929; /*#357ae8;*/
        /* background-image: -webkit-gradient(linear, 0 0, 0 100%,   from(#4d90fe), to(#357ae8)); */
    }

.loginmodal-container a {
    text-decoration: none;
    color: #666;
    font-weight: 400;
    text-align: center;
    display: inline-block;
    opacity: 0.6;
    transition: opacity ease 0.5s;
}

.login-help {
    font-size: 12px;
}

.form-control {
    max-width: 250px;
}

.require {
    color: red;
}
.controlled-width .text-center{
    margin-bottom:20px;
}
.controlled-width{
    max-width:1310px;
    padding-top:70px
}
.controlled-width h2
{
    text-align:center;
    margin-bottom:20px;
}
.splitter{
    width:100%;
    height:1px;
    border-top: 2px solid #a81010;
    padding:0 25px; 
}
.modal-content {
    width: 400px !important;
    margin: 10px auto !important;
}

.btn-success {
    padding: 5px;
}

.selectimage {
    border: 1px solid #000;
    cursor: pointer;
    margin: 15px;
}

.selectedimage {
    border: 5px solid #1a8fe8;
    cursor: pointer;
    margin: 15px;
}

.imgObject {
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.imgOverLay {
    left: -5px;
    top: 0px;
    overflow: hidden;
    display: block;
    height: 135px;
    border: 1px solid rgba(0,0,0,0.3);
    text-align: center;
}
 
.unitList{
    width:354px;
    margin:auto;
    text-align:justify
}
.unitList .right {
    margin-top:50px;
    text-align: right;
}

.unitList h4 {
       margin-bottom:20px;
}

.unitList .btn-success2{
    color:#fff;
}
.unitList a {
    color: #333;
    text-align: justify;
}
.unitList p{
    margin-bottom:40px;
    margin-top:5px;
    text-align:justify;
}
.unitList a:hover {
    text-decoration: none;
    color: #5b646b;
}

.hr-inner {
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

.hr-inner hr {
    width: 50px;
    border: 1px solid #a81010;
    margin-top: 0;
    margin-bottom: 0;
}

.linksrow{
    background-image:url('../images/house-wire.png');
    background-color:#2c353d;
    color:#fff;
}
.linksrow a
{
    color:#fff;
}
.linksrow a:hover
{
    color:#fff;
}
.linksrow a:visited
{
    color:#fff;
}
.linksrow  a:visited h3
{
    color:#fff;
}
.aboutus .center{
    text-align:center;
}

.icons{
    font-size: 27px;
    border-radius: 50%;
    border: 1px solid #5b646b;
    padding: 15px;
    margin-top: 20px;
}

.fullwidth {
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;

    margin-left: 0;
    margin-right: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
    /*background-color: #f6f6f6;
    color: #000;*/
}

.fullwidth div {
    line-height: 2.2em;
    text-align: justify;
    /*padding: 15px 35px;*/
}
.fullwidth .linkCol
{
    /*max-width: 350px;*/
    margin-bottom:60px;
}


.fullwidth h2 {
    text-align: center;
}

.fullwidth .center{
    text-align:center;
}

.linksInner
{
    margin-right:20px;
}
.pageObject {
    margin: 5px;
     text-align: justify; 
    line-height: 25px;
    padding: 5px;
}
#logo {
    padding-top:10px;
}

.footer a , .footer a:hover,  .footer a:active, .footer a:visited {
    color:#fff;
    text-decoration:none;
}

.footer a span
{
    padding:5px;
}

.footer span
{
    padding-left:15px;
}
