/* Typography */
@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/IRANSansX/IRANSansX-Bold.woff') format('woff'),
        url('assets/fonts/IRANSansX/IRANSansX-Bold.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/IRANSansX/IRANSansX-Regular.woff') format('woff'),
        url('assets/fonts/IRANSansX/IRANSansX-Regular.woff2') format('woff2');
}

html,
body,
.flexnav li a,
.flexnav li ul li a,
input[type="submit"] {
    font-family: IRANSansX;
}

@media (min-width: 1025px) {

    .flexnav li a,
    .flexnav li ul li a {
        font-size: 14px;
    }
}

.hero-subtitle {
    font-size: 20px;
}

/* Body */
html {
    direction: rtl;
}

/* Mouse */
#ball-loader {
    left: 0;
}

/* Home Slider */
.light-content .slide-title span {
    color: #fff;
}

.light-content .swiper-slide.active span {
    color: #529593;
    text-shadow: -2px 0 white, 0 2px white, 2px 0 white, 0 -2px #fff;
    -webkit-text-stroke: inherit;
}

#image-slider .slider-img {
    -webkit-transform: scale(1);
    transform: scale(1);
}

#external-caption {
    left: inherit;
    right: 80px;

}

#external-caption:before {
    left: inherit;
    right: 0;
}

#external-caption .slide-caption {
    left: inherit;
    right: 0;
    font-size: 16px;
}


/* Header */
#logo {
    float: right;
}

a.link:hover::before,
p a:hover::before {
    transform-origin: right;
}

@media only screen and (max-width: 479px) {
    #logo {
        left: inherit;
        right: 20px;
    }
}

@media only screen and (max-width: 767px) {
    #logo {
        left: inherit;
        right: 40px;
    }
}


@media only screen and (max-width: 1024px) {
    #logo {
        left: inherit;
        right: 50px;
    }

    .nav-height {
        padding-right: inherit;
        padding-left: 30px;
    }
}


@media (min-width: 1025px) {

    .classic-menu nav {
        float: left;
    }

    .flexnav li {
        float: right;
    }


    .classic-menu .flexnav li ul {
        right: 15px;
        left: inherit;
    }

    .flexnav li ul:after {
        right: 15px;
        left: inherit;
    }

}

#burger-wrapper {
    float: left;
    left: -25px;
    right: inherit;
}

/* Title */
#hero-caption {
    text-align: right;
}

.hero-subtitle:before {
    left: inherit;
    right: 0;
}

/* Contact */
.contact-button-text {
    margin-left: inherit;
    margin-right: 12px;
}

.contact-content-show {
    direction: ltr;
    text-align: right;
}

.ltr {
    direction: ltr;
    text-align: right;
}

/* Gravity Forms */
.gform_wrapper form {
    text-align: right;
}