/* 
Theme Name: Dornica Child
Theme URI: https://dornica.plus/
Description: Official child theme for shamim. Designed to safely customize your website without modifying the parent theme. Add custom PHP, CSS, JavaScript, templates, and functionality while preserving compatibility with future Dornica updates. Fully compatible with Elementor Pro and WooCommerce.
Author:  Mehdi Nezamzadeh
Template: shamim
Version: 1.0.0
*/

/* استایل کارت چرا ما را انتخاب کنید */

.glass-card{

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    border-radius:22px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.05),
        0 12px 30px rgba(0,0,0,.18);

    transition:.35s ease;

}

.glass-card{
    position: relative;
    overflow: hidden;
    transition: .35s ease;
}

.glass-card::before{
    content: "";
    position: absolute;
    top: 0;
    left: 12px;
    width: calc(100% - 24px);
    height: 2px;
    border-radius: 50px;
    background: linear-gradient(
        90deg,
        transparent,
        #E5B365,
        #FFD89A,
        #E5B365,
        transparent
    );
    box-shadow: 0 0 10px rgba(229,179,101,.45);
    opacity: 0;
    transition: opacity .35s ease;
}

.glass-card:hover::before{
    opacity: 1;
}

/* استایل کارت خدمات */

.glass-card-blue{

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    border-radius:22px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.05),
        0 12px 30px rgba(0,0,0,.18);

    transition:.35s ease;

}

.glass-card-blue{
    position: relative;
    overflow: hidden;
    transition: .35s ease;
}

.glass-card-blue::before{
    content: "";
    position: absolute;
    top: 0;
    left: 12px;
    width: calc(100% - 24px);
    height: 2px;
    border-radius: 50px;
    background: linear-gradient(90deg,
        transparent,
        #5AB2FF,
        #5AB2FF,
        transparent);
    box-shadow: 0 0 14px #5AB2FF;
    opacity: 0;
    transition: .35s ease;
}

.glass-card-blue:hover::before{
    opacity: 1;
}

/* باکس توضیحات پروژه */

.ata-portfolio .info2{
    background: linear-gradient(
        135deg,
        #0B1253 0%,
        #0A488D 100%
    ) !important;

    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}


/* =========================
   Gravity Forms
========================= */

#gform_wrapper_1{
    width:100%;
    max-width:100%;
    margin:0 auto;
}

#gform_1{

    width:100%;

    display:flex;
    justify-content:center;

}

#gform_1 .gform-body{

    width:100%;

}

#gform_1 .gform_fields{

    width:100%;

    align-items:center;

}

/* فونت */

#gform_wrapper_1,
#gform_wrapper_1 *{

    font-family:"Vazirmatn",sans-serif;

}/* =========================
   Inputs
========================= */

#gform_wrapper_1 input[type=text],
#gform_wrapper_1 input[type=tel],
#gform_wrapper_1 input[type=email],
#gform_wrapper_1 textarea{

    height:50px !important;

	padding:0 18px !important;

    border-radius:10px !important;

    background:rgba(255,255,255,.10) !important;

    border:1px solid rgba(255,255,255,.12) !important;

    color:#fff !important;

    font-family:"Vazirmatn",sans-serif !important;

    font-size:14px !important;

    font-weight:500 !important;

    padding:0 15px !important;

}

#gform_wrapper_1 input::placeholder{

    color:rgba(255,255,255,.72) !important;

    font-size:14px !important;

    font-weight:500;

}

#gform_wrapper_1 input:focus,
#gform_wrapper_1 textarea:focus,
#gform_wrapper_1 select:focus{

    outline:none !important;

    border-color:rgba(255,255,255,.18) !important;

    box-shadow:none !important;

}

#gform_wrapper_1 button,
#gform_wrapper_1 input[type=submit],
#gform_wrapper_1 .gform_button{

    height:50px !important;

    border-radius:10px !important;

    border:none !important;

    color:#fff !important;

    font-family:"Vazirmatn",sans-serif !important;

    font-size:15px !important;

    font-weight:700 !important;

    cursor:pointer;

    background:linear-gradient(
        135deg,
        #0B1253 0%,
        #0A488D 55%,
        #1560B9 100%
    ) !important;

    box-shadow:
        0 10px 25px rgba(10,72,141,.30);

    transition:.35s ease;

}

#gform_wrapper_1 button:hover,
#gform_wrapper_1 input[type=submit]:hover,
#gform_wrapper_1 .gform_button:hover{

    transform:translateY(-2px);

    box-shadow:
        0 15px 35px rgba(10,72,141,.40);

}

/* فاصله ها */

#gform_wrapper_1 .gfield{

    margin-bottom:12px;

}

#gform_wrapper_1 .gform_fields{

    gap:10px !important;

}

#gform_wrapper_1 .gfield{

    margin-bottom:0 !important;

}

#input_1_3{

    direction:rtl !important;

    text-align:right !important;

}

#gform_1{
    display:flex;
    justify-content:flex-start !important;
    width:100%;
}

/* Mobile */

@media (max-width:767px){

    #gform_wrapper_1 .gfield--type-submit{

        width:100% !important;

    }

    #gform_wrapper_1 .gform_button,
    #gform_wrapper_1 input[type="submit"]{

        width:100% !important;

        display:block !important;

        margin:0 auto !important;

    }

}


/* فاصله عمودی بین فیلدها */
.dornica-contact-form .gfield{
    margin-bottom:18px !important;
}

/* فاصله بین سطرها */
.dornica-contact-form .gform_fields{
    row-gap:18px !important;
    column-gap:24px !important;
}

/* حذف padding اضافی هر فیلد */
.dornica-contact-form .ginput_container{
    margin-top:0 !important;
}

/* ارتفاع فیلدها */
.dornica-contact-form input[type=text],
.dornica-contact-form input[type=email],
.dornica-contact-form input[type=tel],
.dornica-contact-form textarea{

    padding:8px 0 !important;
}

/* فقط برای textarea */
.dornica-contact-form textarea{
    min-height:120px;
}

/* فاصله قبل از دکمه */
.dornica-contact-form .gform_footer,
.dornica-contact-form .gform_button_wrapper{
    margin-top:18px !important;
}

/* فاصله بین ردیف ها */
.dornica-contact-form .gform_fields{
    gap: 10px 24px !important;
    row-gap: 10px !important;
    column-gap: 24px !important;
}

/* حذف فاصله هر فیلد */
.dornica-contact-form .gfield{
    margin:0 !important;
    padding:0 !important;
}

/* حذف فاصله کانتینر فیلد */
.dornica-contact-form .ginput_container{
    margin:0 !important;
}


/* فاصله بین فیلدها */
.dornica-contact-form .gform_fields{
    row-gap:14px !important;
    column-gap:24px !important;
}

/* حذف مارجین اضافه */
.dornica-contact-form .gfield{
    margin:0 !important;
}

/* حذف فاصله بالای کانتینر */
.dornica-contact-form .ginput_container{
    margin-top:0 !important;
}

/* فقط فیلدهای متن */
.dornica-contact-form .ginput_container input[type="text"],
.dornica-contact-form .ginput_container input[type="email"],
.dornica-contact-form .ginput_container input[type="tel"],
.dornica-contact-form .ginput_container textarea{

    padding:10px 0 !important;
    border:none !important;
    border-bottom:1px solid #d5d5d5 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}

/* textarea */
.dornica-contact-form .ginput_container textarea{
    min-height:120px !important;
}

/* راست چین کردن متن و Placeholder فیلد ایمیل */
.dornica-contact-form input[type="email"]{
    direction: rtl !important;
    text-align: right !important;
}

.dornica-contact-form input[type="email"]::placeholder{
    text-align: right;
}

/* راست چین کردن متن و Placeholder فیلد شماره همراه */
.dornica-contact-form input[type="tel"]{
    direction: rtl !important;
    text-align: right !important;
}

.dornica-contact-form input[type="tel"]::placeholder{
    text-align: right;
}


/* فاصله عمودی بین فیلدها */
.english-contact-form .gfield{
    margin-bottom:18px !important;
}

/* فاصله بین سطرها */
.english-contact-form .gform_fields{
    row-gap:18px !important;
    column-gap:24px !important;
}

/* حذف padding اضافی هر فیلد */
.english-contact-form .ginput_container{
    margin-top:0 !important;
}

/* ارتفاع فیلدها */
.english-contact-form input[type=text],
.english-contact-form input[type=email],
.english-contact-form input[type=tel],
.english-contact-form textarea{

    padding:8px 0 !important;
}

/* فقط برای textarea */
.english-contact-form textarea{
    min-height:120px;
}

/* فاصله قبل از دکمه */
.english-contact-form .gform_footer,
.english-contact-form .gform_button_wrapper{
    margin-top:18px !important;
}

/* فاصله بین ردیف ها */
.english-contact-form .gform_fields{
    gap: 10px 24px !important;
    row-gap: 10px !important;
    column-gap: 24px !important;
}

/* حذف فاصله هر فیلد */
.english-contact-form .gfield{
    margin:0 !important;
    padding:0 !important;
}

/* حذف فاصله کانتینر فیلد */
.english-contact-form .ginput_container{
    margin:0 !important;
}


/* فاصله بین فیلدها 
.english-contact-form .gform_fields{
    row-gap:14px !important;
    column-gap:24px !important;
}*/

/* حذف مارجین اضافه */
.english-contact-form .gfield{
    margin:0 !important;
}

/* حذف فاصله بالای کانتینر */
.english-contact-form .ginput_container{
    margin-top:0 !important;
}

/* فقط فیلدهای متن */
.english-contact-form .ginput_container input[type="text"],
.english-contact-form .ginput_container input[type="email"],
.english-contact-form .ginput_container input[type="tel"],
.english-contact-form .ginput_container textarea{

    padding:10px 0 !important;
    border:none !important;
    border-bottom:1px solid #d5d5d5 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}

/* textarea */
.english-contact-form .ginput_container textarea{
    min-height:120px !important;
}





/* زیرمنوی خدمات */
.navigation ul li.menu-item-has-children.std-menu > ul.sub-menu{
    min-width: 420px !important;
    width: 420px !important;
    max-width: 420px !important;
}

/* آیتم های داخل زیرمنو */
.navigation ul li.menu-item-has-children.std-menu > ul.sub-menu > li{
    width:100% !important;
}

/* لینک های زیرمنو */
.navigation ul li.menu-item-has-children.std-menu > ul.sub-menu > li > a{
    display:block;
    width:100% !important;
    white-space:normal !important;
    line-height:1.8;
    padding:10px 20px;
}


/* کانتینر اصلی */
.elementor-39218 .e-con-inner{
    height: auto !important;
    min-height: max-content !important;
    display: block !important;
}

/* فاصله از بالای منوی موبایل و تبلت */
.phone-nav .body{
    padding-top: 20px !important;
}

.phone-nav .body::before{
    content: "";
    display: block;
    width: 170px;
    height: 60px;
    margin: 50px auto;
    background: url('https://dornicasite.ir/control-gostar/wp-content/uploads/2023/09/LOGO-FARSI-BLUE.webp') center center / contain no-repeat;
}