/* Add here all your CSS customizations */
@font-face {
    font-family: 'IranSans';
    font-weight: normal;
    src: url('fonts/IRANSansWeb(FaNum)_Light.eot');
    /* IE9 Compat Modes */
    src: url('fonts/IRANSansWeb(FaNum)_Light.eot?#iefix') format('embedded-opentype'), url('fonts/IRANSansWeb(FaNum)_Light.woff2') format('woff2'), url('fonts/IRANSansWeb(FaNum)_Light.woff') format('woff'), url('fonts/IRANSansWeb(FaNum)_Light.ttf') format('truetype'), url('fonts/IRANSansWeb(FaNum)_Light.svg#svgFontName') format('svg');
    /* Legacy iOS */
}

@font-face {
    font-family: 'IranSans';
    font-weight: bold;
    src: url('fonts/IRANSansWeb(FaNum)_Medium.eot');
    /* IE9 Compat Modes */
    src: url('fonts/IRANSansWeb(FaNum)_Medium.eot?#iefix') format('embedded-opentype'), url('fonts/IRANSansWeb(FaNum)_Medium.woff2') format('woff2'), url('fonts/IRANSansWeb(FaNum)_Medium.woff') format('woff'), url('fonts/IRANSansWeb(FaNum)_Medium.ttf') format('truetype'), url('fonts/IRANSansWeb(FaNum)_Medium.svg#svgFontName') format('svg');
    /* Legacy iOS */
}

@-webkit-keyframes infinit-spin {
    from {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
  
    to {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  
  @keyframes infinit-spin {
    from {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
  
    to {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }

body {
	font-family: 'IranSans';
}

#header.header-narrow .header-body{
    padding-bottom: 0px;
}
#header.header-narrow .header-top.header-top-style-3{
    margin-bottom:  0px;
}
#header.header-narrow .header-logo img{
    margin: 5px;
}
.fixed-loading-box{
    position: fixed;
    top:0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 999999999999;

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,232323+12,212121+25,111111+33,1c1c1c+50,000000+50,111111+71,212121+80,1c1c1c+91,131313+100 */
    background: rgb(0,0,0); /* Old browsers */
    background: -moz-linear-gradient(-45deg, rgba(0,0,0,1) 0%, rgba(35,35,35,1) 12%, rgba(33,33,33,1) 25%, rgba(17,17,17,1) 33%, rgba(28,28,28,1) 50%, rgba(0,0,0,1) 50%, rgba(17,17,17,1) 71%, rgba(33,33,33,1) 80%, rgba(28,28,28,1) 91%, rgba(19,19,19,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, rgba(0,0,0,1) 0%,rgba(35,35,35,1) 12%,rgba(33,33,33,1) 25%,rgba(17,17,17,1) 33%,rgba(28,28,28,1) 50%,rgba(0,0,0,1) 50%,rgba(17,17,17,1) 71%,rgba(33,33,33,1) 80%,rgba(28,28,28,1) 91%,rgba(19,19,19,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, rgba(0,0,0,1) 0%,rgba(35,35,35,1) 12%,rgba(33,33,33,1) 25%,rgba(17,17,17,1) 33%,rgba(28,28,28,1) 50%,rgba(0,0,0,1) 50%,rgba(17,17,17,1) 71%,rgba(33,33,33,1) 80%,rgba(28,28,28,1) 91%,rgba(19,19,19,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#131313',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.1s linear, visibility 0s 0.1s;
    -moz-transition: opacity 0.1s linear, visibility 0s 0.1s;
    -o-transition: opacity 0.1s linear, visibility 0s 0.1s;
    transition: opacity 0.1s linear, visibility 0s 0.1s;
    

    
}
.fixed-loading-box.show-box {
    visibility: visible;
    opacity: 0.9;
    -webkit-transition: opacity 0.1s linear;
    -moz-transition: opacity 0.1s linear;
    -o-transition: opacity 0.1s linear;
    transition: opacity 0.1s linear;
}
/* 
.fixed-loading-box.hide {
    
    
    -webkit-transition: opacity 0.1s linear, visibility 0s 0.1s;
    -moz-transition: opacity 0.1s linear, visibility 0s 0.1s;
    -o-transition: opacity 0.1s linear, visibility 0s 0.1s;
    transition: opacity 0.1s linear, visibility 0s 0.1s;
} */

.fixed-loading-box:before{
    content: 'در حال بارگذاری';
    color: #FFF;
    position: fixed;
    z-index: 9999999999999;
    left: calc(50% - 42px);
    top: calc(50% - 50px);
}

.fixed-loading-box:after{
    position: fixed;
    content: '';
    top: 50%;
    right: 50%;
    width: 3em;
    height: 3em;
    -webkit-animation: infinit-spin 0.6s linear;
    animation: infinit-spin 0.6s linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    border-radius: 500rem;
    border-color: #0c6cc5 rgb(0, 0, 0) rgb(0, 0, 0) rgb(0, 0, 0);
    border-style: solid;
    border-width: 1px;
    box-shadow: 0px 0px 0px 1px transparent;
    visibility: visible;
    z-index: 99999999999999999999;
    margin: -1.5em -1.5em 0em 0em;
}

#footer {
    font-weight: bold;
    padding: 40px 0 0;
}
#footer h4{
    margin-top: 30px;
    margin-bottom: 10px !important;
}
#footer .footer-link{
    text-decoration: none;
    display: inline-block;
    color: #b7b7b7;
}

#footer .social-icons{
    font-size: 16px !important;
}

#footer .social-icons i{
    vertical-align: middle;
}

.page-header i{
    position: absolute;
    left: 50px;
    top: -12px;
    font-size: 150px;
    transform: rotate(-20deg);
    color: rgba(255, 255, 255, 0.22);
}

.time-line-container{
    position: relative;
    padding: 20px 0px;
    background-color: #F6F6F6;
}
.time-line-container .line{
    position: absolute;
    width: 5px;
    height: 100%;
    right: 20px;
    top: 0px;
    background-color: #008fe2;
}


.time-line-container .time-line-box{
    position: relative;
    margin-right: 25px;
    margin-left: 15px;
    margin-bottom: 31px;
    border: solid 1px #EEEEEE;
    border-right-width: 0;
    border-radius: 0px 0px 0px 10px;
    background-color: #FFF;
}
.time-line-container .time-line-box::before{
    content: '';
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    top: 20px;
    background-color: #008fe2;
    transform: rotate(45deg);
    right: -13px;
    border-radius: 5px;
    z-index: 10;
}
.time-line-container .time-line-box:hover::before{
    background-color: #395ca4;
}
.time-line-container .time-line-box .image-container{
    float: right;
    width: 25%;
}
.time-line-container .time-line-box .image-container img{
    max-width: 100%;
    max-height: 100%;
}


.time-line-container .time-line-box .box-header{
    float: right;
    width: 75%;
    padding: 5px 10px;
    margin-top: 10px;
    font-size: 25px;
    line-height: 25px;
    border-bottom: solid 1px #EEEEEE;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.time-line-container .time-line-box .box-header a{
    text-decoration: none;
    color: #008fe2;
}
.time-line-container .time-line-box .box-header a:hover, .time-line-container .time-line-box .box-header a:active{
    color: #076da9;
}
.time-line-container .time-line-box .tags{
    display: inline-block;
    font-size: 14px;
    line-height: 14px;
    margin-bottom: 10px;
    margin-top: 10px;
}
.time-line-container .time-line-box .tags a{
    display: inline-block;
    margin-left: 10px;
}
.time-line-container .time-line-box .tags a::before{
 content: '#';
}
.time-line-container .time-line-box .box-header .left-panel{
    float: left;
    margin-right: 10px;
    font-size: 14px;
    direction: ltr;
}
.time-line-container .time-line-box .box-header .left-panel .part{
    display: inline-block;
    margin-right: 10px;
}


.time-line-container .time-line-box .box-body{
    float: right;
    width: 75%;
    position: relative;
    padding: 0px 10px;
    padding-bottom: 0px;
}


.time-line-container .time-line-box .btn-continue{
    position: absolute;
    left: -1px;
    bottom: -1px;
    background-color: #d2d2d2;
    padding: 5px 20px;
    display: inline-block;
    border-radius: 0px 10px 0px 10px;
    color: #FFF;
    text-decoration: none;
}
.time-line-container .time-line-box:hover .btn-continue{
    background-color: #008fe2;
}
.time-line-container .time-line-box .btn-continue:hover,
.time-line-container .time-line-box .btn-continue:focus,
.time-line-container .time-line-box .btn-continue:active {
    background-color: #05266b !important;
}


@media (max-width: 700px){
    .time-line-container .time-line-box .image-container,
    .time-line-container .time-line-box .box-header,
    .time-line-container .time-line-box .box-body{
        width: 100%;
    }
}

.blog-post{
    background-color: #F6F6F6;
}

.blog-post .navigation-panel{
    margin: 20px 0px;
}
.blog-post .navigation-panel a{
    display: block;
    position: relative;
    border: solid 1px #eee;
    background-color: #fff;
    text-align: center;
    font-size: 16px;
    text-decoration: none;
    padding: 10px;
    line-height: 20px;
    color: #888;
    transition: all linear 200ms;
}
.blog-post .navigation-panel a:hover{
    background-color: #008fe2;
    color: #FFF !important;
    border-color: #0b5580;
    transition: all linear 200ms;
}
.blog-post .navigation-panel a:hover i{
    color: #FFF !important;
}
.blog-post .navigation-panel a table{
    width: 100%;
}
.blog-post .navigation-panel a td{
    height: 40px;
    text-align: center;
    font-weight: bold;
}
.blog-post .navigation-panel a.prev{
    padding-right: 50px;
}
.blog-post .navigation-panel a.next{
    padding-left: 50px;
}
.blog-post .navigation-panel a.prev:hover{
    border-radius: 0px 100px 100px 0px;
}
.blog-post .navigation-panel a.next:hover{
    border-radius:100px 0px 0px 100px;
}
.blog-post .navigation-panel a i{
    position: absolute;
    top: 16px;
    color: #DDD;
}
.blog-post .navigation-panel a.prev i{
    right: 20px;
}
.blog-post .navigation-panel a.next i{
    left: 20px;
}
.blog-post .post-body{
    margin-top: 20px;
    padding: 20px;
    border: solid 1px #EEEEEE;
    background-color: #FFF;
}


.gallary-grid-item{
    position: relative;
    margin: 15px 0px;
}
.gallary-grid-item.album:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 25px;
    right: 5px;
    bottom: -10px;
    border: solid 1px #ddd;
    border-radius: 5px;
    background-color: #FFF;
}
.gallary-grid-item.album:after {
    content: '';
    position: absolute;
    top: 5px;
    left: 20px;
    right: 10px;
    bottom: -5px;
    border: solid 1px #ddd;
    border-radius: 5px;
    background-color: #FFF;
}
.gallary-grid-image {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    width: 100%;
    position: relative;
    z-index: 1;
    background-color: #FFF;
}
.gallary-grid-item:hover .gallary-grid-image,
.gallary-grid-item:hover::before,
.gallary-grid-item:hover::after{
    background-color: #ecf1ff;
    border-color: #adbeec;
}
.gallary-grid-text{
    opacity: 0;
    position: absolute;
    top: 6px;
    right: 21px;
    left: 21px;
    bottom: 6px;
    background: rgba(0, 0, 0, 0.44);
    color: #FFF !important;
    padding: 20px;
    text-align: justify;
    z-index: 11;
    -webkit-transition: bac 0.1s linear;
    -moz-transition: opacity 0.1s linear;
    -o-transition: opacity 0.1s linear;
    transition: opacity 0.1s linear;
}
.gallary-grid-text h3{
    color: #FFF000;
    margin-bottom: 10px;
}
.gallary-grid-item:hover .gallary-grid-text{
    opacity: 1;
    -webkit-transition: bac 0.1s linear;
    -moz-transition: opacity 0.1s linear;
    -o-transition: opacity 0.1s linear;
    transition: opacity 0.1s linear;
}