@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/IRANSans_Medium.ttf');
}

html, body {
    font-size: 100%;
    font-family: IRANSans;
    margin: 0;
    overflow-x: hidden;
}

body {
    background: #fff;
}

.dark body {
    background: url(../img/black-concrete-textured-background.jpg) no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;
}

p, ul li, ol li {
    margin: 0;
    font-size: 14px;
    line-height: 2em;
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: IRANSans;
    line-height: 1.4em;
}

ul, label {
    margin: 0;
    padding: 0;
}

body a:hover {
    text-decoration: none;
}

.ltr {
    direction: ltr;
}

a, .navbar-brand a, .nav-effect ul li a, .btn, .news-box, .feature-box, .app-box, .contact-info {
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.invert {
    position: absolute;
    top: 16px;
    right: 0;
    border: none;
    background-color: transparent;
    text-align: center;
    font-size: 54px;
    cursor: pointer;
    outline: 0;
    z-index: 10000;
}

/*------------------------------------
Header
----------------------------*/

.header {
    position: relative;
    padding-top: 16px;
}


.header li {
    font-size: 19px;
}

.navbar-default {
    background: none;
    border: none;
}

.navbar-brand a {
    box-shadow: 0px 0px 4px 4px #000;
    display: inline-block;
    padding: 7px 10px;
    font-size: 17px;
    height: 100%;
    border-radius: 4px;
}

.navbar-brand a img {
    height: 100%;
}

.navbar-brand a:hover {
    transform: scale(1.1)
}

.navbar-brand a span {
    display: block;
    font-size: 14px;
    text-align: center;
    padding-top: 6px;
}

.navbar-header {
    display: inline-block;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: transparent;
}

.navbar {
    margin-bottom: 0;
}

.navbar-brand {
    height: 70px;
    padding: 0;
    line-height: 18px;
    float: left;
    z-index: 11;
    position: relative;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
    background: none;
}

.navbar-nav>li>a {
    padding: 14px 13px;
}

.navbar-collapse {
    padding: 0;
    border-top: none;
    box-shadow: none;
}

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border: none;
}

.navbar-left {
    float: none !important;
    margin-right: 0;
    margin-left: 0em;
}

.navbar-nav {
    margin: 7.5px 0px;
}

.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:hover, .navbar-default .navbar-nav>.open>a:focus {
    background-color: transparent;
}

.navbar-nav>li>.dropdown-menu {
    margin-top: 0px;
}

.dropdown-menu .dropdown-submenu .show-left {
    top: -3px;
    right: 100%;
    left: auto;
    margin-right: -1px;
}

.agile_short_dropdown li a {
    padding: 8px 20px;
    text-align: center;
}

/* .dropdown:hover .dropdown-menu.agile_short_dropdown {
    display: block;
}

.dropdown.dropdown-submenu:hover .dropdown-menu {
    display: block;
}
 */

/*------------------------------------
Slider
----------------------------*/

.slider {
    padding-top: 0px;
}

.flexslider ul.slides li {
    position: relative;
}

.flex-caption {
    width: 100%;
    height: 100%;
    top: 0;
    line-height: 18px;
    position: absolute;
}

.flex-caption p {
    position: absolute;
    text-align: center;
    right: 0;
    left: 0;
    top: 41%;
    font-size: 34px;
    line-height: 1.3em;
    padding: 0 2em;
}

.flex-caption a {
    position: absolute;
    text-align: center;
    right: 0;
    left: 0;
    top: 48%;
    font-size: 34px;
}

.flexslider img {
    width: 100%;
    /* height: 550px; */
}

.flex-direction-nav a {
    top: 35%;
    background: url(../img/arrows.png);
}

.flex-direction-nav .flex-next {
    background: url(../img/arrows.png) -40px 0px;
}

/*------------------------------------
About
------------------------------------*/

.section {
    padding: 70px 0;
}

.about-det {
    text-align: justify;
    padding: 25px 50px;
}

.about-det h3 {
    font-size: 42px;
    margin-bottom: 28px;
}

.about-img1 img, .about-img2 {
    max-width: 100%;
    height: auto;
    box-shadow: 0 0 8px 8px #000;
}

.about-img2 {
    position: absolute;
    left: 0;
    top: 100px;
    z-index: 2;
}

.about-img2::after {
    position: absolute;
    top: -40px;
    left: 40px;
    content: "";
    border: 10px solid;
    width: 470px;
    height: 458px;
}

/*------------------------------------
Features
------------------------------------*/

.features {
    padding-top: 190px;
    padding-bottom: 60px;
}

.feature-box {
    box-shadow: 0 0 8px 8px #a29d9d;
    border-radius: 8px;
    padding: 13px 0;
}

.feature-box:hover {
    margin-top: -6px;
    box-shadow: 0 0 9px 8px #797575;
    transform: scale(1.02);
}

.dark .feature-box, .dark .news-box, .dark .newsletter-form, .dark .btn {
    box-shadow: 0 0 8px 8px #000;
}

.dark .feature-box:hover, .dark .news-box:hover, .dark .btn:hover {
    box-shadow: 0 0 20px 8px #000;
}

.feature-box i {
    font-size: 54px;
}

/*------------------------------------
News
------------------------------------*/

.news-box {
    border-radius: 8px;
    box-shadow: 0 0 8px 8px #a29d9d;
    padding: 25px 12px;
    margin-bottom: 35px;
}

.news-box:hover {
    box-shadow: 0 0 9px 8px #797575;
    transform: scale(1.02);
}

.news-title h3 {
    font-size: 25px;
    text-align: center;
}

.news-img {
    padding: 30px 0;
}

.news-img img {
    width: 100%;
}

.news-meta {
    border-top: 1px solid #505050;
    padding-top: 30px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-meta .news-link {
    display: flex;
    align-items: center;
}

.news-meta .news-link i {
    vertical-align: middle;
}

/*------------------------------------
Newsletter
------------------------------------*/

.title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.title h2::after {
    display: block;
    content: '';
    width: 100px;
    height: 5px;
    margin: 19px auto 0;
}

.newsletter-form {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 8px 8px #a29d9d;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-control {
    width: 100%;
    height: 60px;
    font-size: 14px;
    padding: 20px;
    border: 1px solid #000;
    border-radius: 4px;
}

.dark .form-control {
    border: none;
}

.form-control:active, .form-control:focus {
    box-shadow: 0 0 4px 4px rgb(24, 24, 24);
    border: none;
}

.btn {
    display: inline-block;
    font-size: 14px;
    border-radius: 8px;
    text-align: center;
    transition: all .5s;
    box-shadow: 0 0 6px 4px #bdbdbd;
    padding: 15px 40px;
}

.btn:hover {
    box-shadow: 0 0 9px 8px #797575;
    transform: scale(1.06);
}

/*------------------------------------
Application
------------------------------------*/

.app-itmes {
    margin: 0 auto;
    text-align: center;
}

.app-box {
    box-shadow: 0 0 8px 8px #000;
    width: 32%;
    margin: 0px 17px auto;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    display: inline-block;
}

.app-box a {
    display: block;
    padding: 15px;
}

.app-box:hover {
    box-shadow: 0 0 20px 8px #000;
    transform: scale(1.02);
}

.app-box img {
    width: 100%;
}

/*------------------------------------
Footer
------------------------------------*/

.footer {
    padding: 0;
    position: relative;
    margin-top: 120px;
}

.footer::before {
    content: '';
    position: absolute;
    background: url(../img/light-footer2.png) repeat-x center center;
    background-size: cover;
    height: 192px;
    width: 100%;
    top: -130px;
    right: 0;
}

.dark .footer::before {
    background: url(../img/footer2.png) repeat-x center center;
}

.footer h3 {
    font-size: 1em;
    font-weight: 400;
    margin: 0 0 1em;
    border-bottom: 2px solid;
    padding: 12px 5px;
}

.footer p {
    font-size: 14px;
    line-height: 35px;
    text-align: justify;
}

.footer li {
    list-style: none;
}

.footer-logo {
    display: inline-block;
    width: 49%;
}

.social-media a {
    display: inline-block;
    padding: 8px;
}

.social-media a i {
    font-size: 40px;
}

.copyright {
    padding: 1em 0;
    text-align: center;
    border-top: 1px solid;
}

.copyright p {
    font-size: .9em;
    margin: 0;
}

/*------------------------------------
Pages
------------------------------------*/

.banner-box {
    margin-top: 47px;
    box-shadow: 0 0 8px 8px #070509;
    text-align: center;
    border-radius: 16px;
    padding: 7px;
    z-index: 10;
    position: relative;
}

.news-item {
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    text-align: center;
}

.news-more-content {
    padding-top: 30px;
}

.news-more-content p {
    padding: 30px 0;
}

.gallery {
    position: relative;
}

.single-gallery {
    width: 32%;
    float: right;
    overflow: hidden;
    position: relative;
}

.single-gallery img {
    width: 100%;
    transition: all 2s ease 0s;
}

.single-gallery:hover img {
    transform: scale(1.5);
}

.single-gallery:hover .overlay {
    background-color: rgba(0, 0, 0, .5);
    z-index: 1000;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transition: all .5s ease 0s;
}

#filters ul {
    margin-bottom: 35px;
}

#filters .button {
    cursor: pointer;
    display: inline-block;
    font-weight: 400;
    padding: 10px 25px;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 12px;
    transition: all 0.5s ease 0s;
    box-shadow: 0 0 4px 4px #000;
    margin: 0 8px;
}

.mfp-title, .mfp-counter {
    font-size: 20px;
    padding-top: 5px;
}

.mfp-counter {
    font-weight: 600
}

/* Nice Select CSS */

.nice-select {
    -webkit-tap-highlight-color: transparent;
    border: 1px solid #000;
    border-radius: 4px;
    box-sizing: border-box;
    clear: both;
    cursor: pointer;
    display: block;
    float: left;
    font-family: inherit;
    font-size: 14px;
    font-weight: normal;
    height: 60px;
    outline: none;
    padding: 20px;
    position: relative;
    text-align: right !important;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
    width: 100%;
    margin-bottom: 30px;
    z-index: 1;
    color: #999;
}

.dark .nice-select {
    border: none;
}
.nice-select:hover {
    border-color: #dbdbdb;
}

.nice-select:active, .nice-select.open, .nice-select:focus {
    border-color: #999;
}

.nice-select:after {
    border-bottom: 2px solid #999;
    border-right: 2px solid #999;
    content: '';
    display: block;
    height: 5px;
    margin-top: -4px;
    pointer-events: none;
    position: absolute;
    left: 12px;
    top: 50%;
    -webkit-transform-origin: 66% 66%;
    -ms-transform-origin: 66% 66%;
    transform-origin: 66% 66%;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    width: 5px;
}

.nice-select.open:after {
    -webkit-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.nice-select.open .list {
    opacity: 1;
    pointer-events: auto;
    -webkit-transform: scale(1) translateY(0);
    -ms-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
    overflow-y: auto !important;
    height: 200px;
}

.nice-select.disabled {
    border-color: #ededed;
    color: #999;
    pointer-events: none;
}

.nice-select.disabled:after {
    border-color: #cccccc;
}

.nice-select.wide {
    width: 100%;
}

.nice-select.wide .list {
    left: 0 !important;
    right: 0 !important;
}

.nice-select.right {
    float: right;
}

.nice-select.right .list {
    left: auto;
    right: 0;
}

.nice-select.small {
    font-size: 12px;
    height: 36px;
    line-height: 34px;
}

.nice-select.small:after {
    height: 4px;
    width: 4px;
}

.nice-select.small .option {
    line-height: 34px;
    min-height: 34px;
}

.nice-select .list {

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
    -webkit-box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
    -o-box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
    box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
    box-sizing: border-box;
    margin-top: 4px;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    -webkit-transform-origin: 50% 0;
    -ms-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transform: scale(0.75) translateY(-21px);
    -ms-transform: scale(0.75) translateY(-21px);
    transform: scale(0.75) translateY(-21px);
    -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    z-index: 9;
    width: 100%;
}


.nice-select .list:hover .option:not(:hover) {
    background-color: transparent !important;
}

.nice-select .option {
    cursor: pointer;
    font-weight: 400;
    line-height: 40px;
    list-style: none;
    min-height: 40px;
    outline: none;
    padding-left: 18px;
    padding-right: 29px;
    text-align: right;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}



.nice-select .option.selected {
    font-weight: bold;
}

.nice-select .option.disabled {
    background-color: transparent;
    color: #999;
    cursor: default;
}

.no-csspointerevents .nice-select .list {
    display: none;
}

.no-csspointerevents .nice-select.open .list {
    display: block;
}

.contact-info {
    text-align: center;
    margin-bottom: 23px;
    box-shadow: 0 0 12px 5px #000;
    border-radius: 5px;
    padding-bottom: 3px;
}

.contact-info:hover {
    transform: scale(1.05);
}

.contact-info i {
    font-size: 35px;
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    margin: auto;
}

.contact-info p {
    font-size: 16px;
    margin-bottom: 23px;
}

/*------------------------------------
Responsive
------------------------------------*/

@media (max-width:1200px) {
    .feature-box:hover {
        margin-top: 0;
    }
    .feature-box {
        margin-bottom: 35px;
    }
}

@media (max-width:992px) {
    .about-det h3 {
        text-align: center;
    }
    .contact-form {
        margin-top: 35px;
    }
}

@media (max-width:767px) {
    .about-img1 {
        position: relative;
        margin: 50px 0 0;
    }
    .about-img2 {
        position: relative;
        top: 30px;
    }
    .about-img1 img, .about-img2 img {
        width: 100%;
    }
    .about-img2::after {
        display: none;
    }
    .invert {
        top: 14px;
        right: 0;
        left: 0;
        text-align: center;
        margin: 0 auto;
        font-size: 40px;
    }
}

@media (max-width:600px) {
    .flex-caption p {
        line-height: 1.8em;
    }
}

@media (min-width:768px) {
    .nav.navbar-nav {
        float: none;
        margin: 0 auto;
        text-align: center;
    }
    .navbar-nav>li {
        float: none;
        text-align: center !important;
        display: inline-block;
        margin: 0 auto;
    }
}