/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* ********** */
@font-face {
    font-family: iransans;
    font-style: normal;
    font-weight: normal;
    src: url('fonts/woff2/IRANSans-FN.woff2');
}

@font-face {
    font-family: iransans;
    font-style: normal;
    font-weight: 600;
    src: url('fonts/woff2/IRANSans-FN_Bold.woff2');
}

/* ********** */

body,
h1,
h2,
h3,
h4,
h5,
h6,
input,
textarea,
p,
span,
a,
.gform_body,
li,
.page-title {
    font-family: 'iransans' !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 2;
}

html,
body {
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow-x: hidden !important;
}


/* Astra Go to top button  */
#ast-scroll-top {
    background-color: #0097A7;
    border-radius: 30px;
    width: 45px;
    height: 45px;
    line-height: 45px;
}

#ast-scroll-top:hover {
    box-shadow: 0 -3px 6px rgba(0, 0, 0, 0.16);
}


/* gravity form  */

.gfield_select,
.ginput_container input[type="text"],
.gfield_select,
.ginput_container input[type="password"] {
    background-color: #F5F5F5;
    border: none;
    padding: 7px 10px !important;
    color: #02010A;
    height: 40px;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 5px;
}

.ginput_container input:focus,
.ginput_container textarea:focus {
    outline-color: #004B85;
}

.gform_wrapper textarea {
    background-color: #f5f5f5 !important;
    border: none;
    padding: 7px 10px !important;
    color: #7f858b;
}

.mkh-gf-file input {
    background-color: #F5F5F5;
    height: 40px;
    padding: 7px;
    border-radius: 5px;
    color: #7f858b;
}

.ginput_counter {
    display: none;
}

.gform_footer input {
    color: #fff;
    cursor: pointer;
    outline: none;
    margin-top: 30px !important;
    border: solid 2px #004B85;
    padding: 5px 30px;
    transition: all .3s ease-in-out;
    background-color: #004b85;
    background-image: linear-gradient(-45deg, #004b85 0%, #0064b1 100%);
    border-radius: 30px 30px 30px 30px;
    box-shadow: 0px 5px 20px 0px rgba(0, 75, 133, 0.15);
}

.gform_footer input:hover {
    box-shadow: 0px 7px 25px 0px rgba(0, 75, 133, 0.25);
}

.gform_footer input[type="submit"] {
    width: auto !important;
}

/* Gravity form checkbox and option  */

.gfield_radio input[type="radio"],
.gfield_checkbox input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    position: relative;
    background-color: #F5F5F5;
    color: #666;
    height: 25px;
    width: 25px !important;
    border: 0;
    cursor: pointer;
    margin-right: 7px;
    outline: none;
    margin-top: 0 !important;
}

.gfield_radio input[type="radio"] {
    border-radius: 50px;
}

.gfield_checkbox input[type="checkbox"] {
    border-radius: 3px;
}

.gfield_radio input[type="radio"]:checked::before,
.gfield_checkbox input[type="checkbox"]:checked::before {
    position: absolute;
    font: 13px/1 'Open Sans', sans-serif;
    left: 10px;
    top: 4px;
    content: '\02143';
    transform: rotate(40deg);
    color: #fff;
}

.gfield_radio input[type="radio"]:checked,
.gfield_checkbox input[type="checkbox"]:checked {
    background-color: #004B85;
}

.gfield_radio li label,
.gfield_checkbox li label {
    font-size: 14px !important;
    line-height: 1.9 !important;
    font-weight: 400 !important;
}

.gform_wrapper li.gfield.gf_list_3col ul.gfield_checkbox li,
.gform_wrapper li.gfield.gf_list_3col ul.gfield_radio li {
    margin: 0 0 7px;
}

/* Gravity form Massage and errors */

div.gform_confirmation_wrapper {
    min-height: 200px;
    margin-top: 30px;
}

div#gform_confirmation_wrapper_1 {
    min-height: 516px;
}

div.gform_confirmation_message {
    padding: 10px 10px;
    background: #f5f5f5;
    border-radius: 3px;
    border-right: solid 3px #1ed760;
}

.gform_wrapper li.gfield.gfield_error {
    background: transparent !important;
    border: none !important;
}

.validation_message {
    color: red !important;
    font-weight: normal !important;
    padding: 10px 0 0 0 !important;
}

.gform_wrapper div.validation_error {
    color: #d50000;
    border: none !important;
    background: rgba(255, 0, 0, 0.05);
    border-radius: 5px;
    padding: 15px 10px;
    font-weight: normal;
    margin: 0 !important;
}

.gform_wrapper .gfield_error .gfield_label {
    color: #d50000 !important;
}

.gform_wrapper .gfield_required {
    color: #d50000 !important;
}

div.gform_confirmation_wrapper {
    min-height: 200px;
    margin-top: 30px;
}

.gform_wrapper .gform_footer {
    margin: 5px 0 0;
}

.gform_wrapper li.gfield.gf_list_3col ul.gfield_checkbox li,
.gform_wrapper li.gfield.gf_list_3col ul.gfield_radio li {

    margin: 0px 0 8px;
}

body .gform_wrapper ul li.gfield {
    margin-top: 25px !important;
}

html[dir=rtl] .gform_wrapper span.ginput_left,
html[dir=rtl] .gform_wrapper ul.gform_fields li.gfield {
    padding-left: 20px !important;
}

/* -------- End Gravity Forms -------- */

/*------contact us page ------ */
.wpcf7 label {
    color: #191919;
    font-size: 15px;
    font-weight: 600;
}

.ast-page-builder-template .comments-area {
    margin: 0 !important;
}

video:focus {
    outline: none;
}

figure.aligncenter {
    margin: 0 auto !important;
}

/* Typography - Desktop */
.single-post h1,
.dev-content h1 {
    font-size: 1.8em;
    font-weight: 800;
    color: #1a1a1a;
    margin: 1.2em 0 0.8em;
    line-height: 1.4;
}

.single-post h2,
.dev-content h2 {
    font-size: 1.5em;
    font-weight: 700;
    color: #1a1a1a;
    margin: 1.1em 0 0.7em;
    line-height: 1.4;
}

.single-post h3,
.dev-content h3 {
    font-size: 1.3em;
    font-weight: 600;
    color: #1a1a1a;
    margin: 1em 0 0.6em;
    line-height: 1.4;
}

.single-post h4,
.dev-content h4 {
    font-size: 1.1em;
    font-weight: 600;
    color: #1a1a1a;
    margin: 1em 0 0.6em;
    line-height: 1.4;
}

/* Content Styles */
.single-post p,
.dev-content p {
    font-size: 1em;
    line-height: 1.8;
    margin: 0 0 1.2em;
    color: #2a2a2a;
}

.single-post ul,
.single-post ol,
.dev-content ul,
.dev-content ol {
    margin: 0 0 1.2em 1.5em;
    line-height: 1.8;
}

.single-post li,
.dev-content li {
    margin-bottom: 0.5em;
    color: #2a2a2a;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .single-post h1,
    .dev-content h1 {
        font-size: 1.5em;
        margin: 1em 0 0.6em;
    }

    .single-post h2,
    .dev-content h2 {
        font-size: 1.3em;
        margin: 0.9em 0 0.5em;
    }

    .single-post h3,
    .dev-content h3 {
        font-size: 1.2em;
        margin: 0.8em 0 0.4em;
    }

    .single-post h4,
    .dev-content h4 {
        font-size: 1.1em;
        margin: 0.7em 0 0.4em;
    }

    .single-post p,
    .single-post li,
    .dev-content p,
    .dev-content li {
        font-size: 0.95em;
        line-height: 1.7;
    }

    .single-post ul,
    .single-post ol,
    .dev-content ul,
    .dev-content ol {
        margin: 0 0 1em 1.2em;
    }
}

/* Small Mobile Devices */
@media screen and (max-width: 480px) {
    .single-post h1,
    .dev-content h1 {
        font-size: 1.4em;
    }

    .single-post h2,
    .dev-content h2 {
        font-size: 1.25em;
    }

    .single-post h3,
    .dev-content h3 {
        font-size: 1.15em;
    }

    .single-post h4,
    .dev-content h4 {
        font-size: 1.05em;
    }

    .single-post p,
    .single-post li,
    .dev-content p,
    .dev-content li {
        font-size: 0.9em;
        line-height: 1.6;
    }
}