/*######################
استایل همگانی  آیکن ها
######################*/

.elementor-icon-wrapper {
    display: flex;
}

/*######################
هدر
######################*/
/*کد عمودی کردن منو توی گوشی و تبلت*/
.rusiMenuResponsive ul.e-n-menu-heading {
    flex-direction: column
}
/* هدر شیشه ای */
.rusibamanMainHeaderDiv {
    backdrop-filter: blur(5px);
}


/* این کد رو توی منو گذاشته بودم */

.elementor-widget-n-menu .e-n-menu:not([data-layout=dropdown]):not(.content-above) .e-active.e-n-menu-content {

    position: absolute !important;
    width: 100% !important;
    right: auto;
    top: 120%;
    /* transform:translateY(-50%); */
    left: 50%;
    transform: translateX(-50%);

    height: fit-content !important;
}

div#rusiDrawConHeader {

    position: relative !important;
}
/* پاپ آپ سرچ*/
.rusiSearchPopUpBtn-open .elementor-icon-wrapper i.icon.icon-add {
    transform: rotate(315deg);
    color: red;
    transition: all 0.3s linear;
}

.rusiSearchPopUpBtn-open .elementor-icon-wrapper i.icon.icon-search-normal-1 {
    transform: rotate(-360deg);
    color: #1c4668;
    transition: all 0.3s linear;
}

.rusiSearchPopUpBtn-open,
.rusiSearchPopUpBtn-close {
    cursor: pointer;
}

#rusiSearchPopUpDiv {
    gap: 1rem;
    background-color: #ffffffaa;
    backdrop-filter: blur(10px);
    padding: 5rem;
    box-shadow: 0 0 5px rgba(28, 70, 104, 0.2);
    border-radius: 2rem;
    display: flex;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: fixed;
    bottom: 1rem;
    left: 50%;
    border-radius: 1rem !important;
    transform: translateY(500px) translateX(-50%) scale(0.6);
    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        visibility 0.35s ease;
}

#rusiSearchPopUpDiv.seachIsVisible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    border-radius: 2rem !important;
    transform: translateY(0) translateX(-50%) scale(1);
}

#rusiSearchPopUpDiv {
    backdrop-filter: blur(10px);
}

.elementor-widget-search .e-search-form {
    display: flex;
    flex-direction: row-reverse;
}
/* نقطه متحرک کنار آیتم های منو */
ul.e-n-menu-heading li.e-n-menu-item div.e-current {
    position: relative !important;
}

ul.e-n-menu-heading li.e-n-menu-item div.e-current::before {
    content: "";
    position: absolute;
    right: 5px;
    width: 4px;
    height: 4px;
    background: #1c4668;
    border-radius: 50%;

    transform: translateY(var(--dot-y, 0px));
}

/*کد دکمه های تیره با آیکن کنارشون*/

.rusiCtaDiv .rusiCtaBtn a,
.rusiCtaDiv .rusiCtaBtnIcon .elementor-icon {
    border: 1px solid transparent !important;
}

.rusiCtaDiv:hover .rusiCtaBtn a,
.rusiCtaDiv:hover .rusiCtaBtnIcon .elementor-icon {
    background: #E7F4FF !important;
    border: 1px solid #1C4668 !important;
    color: #1C4668 !important;
}

/*######################
فوتر
######################*/
/*کد فرم فوتر*/
#rusiEmailFormFooter .elementor-field-group.elementor-column.elementor-field-type-submit.elementor-col-25.e-form__buttons {
    position: absolute;
    right: 10px;
    top: 50%;
    margin: 0 !important;
    transform: translateY(-50%);
}

#rusiEmailFormFooter input::placeholder {
    text-align: left;
    font-family: "فونت 2", Sans-serif !important;
    color: #00000080 !important;
    font-weight: 500 !important;
}

#rusiEmailFormFooter input:focus {
    outline: none !important;
    border: 1px solid #1C466812 !important;
}

#rusiEmailFormFooter input {
    direction: ltr !important;
    text-align: left !important;
    color: #000;
}

#rusiEmailFormFooter .elementor-message {
    position: absolute !important;
}

@media screen and (max-width: 768px) {
    #rusiEmailFormFooter button.elementor-button.elementor-size-sm {
        flex-basis: 50% !important;
    }
}

/*کد شبکه های اجتماعی فوتر*/

#rusiSocialIconContactFooter span.elementor-grid-item {
    position: relative;
    overflow: hidden;
}

#rusiSocialIconContactFooter span.elementor-grid-item::after {
    position: absolute;
    content: "";
    background: #02010126;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.5s linear !important;
}

#rusiSocialIconContactFooter span.elementor-grid-item:hover::after {
    transform: translateX(-150%);
    background: #000000;
}



div#rusiSocialIconContactFooter .elementor-social-icons-wrapper.elementor-grid svg,
div#rusiSocialIconContactFooter .elementor-social-icons-wrapper.elementor-grid svg path {
    transition: all 0.2s linear;
    fill: #0f0d0d6e !important;
}

div#rusiSocialIconContactFooter .elementor-social-icons-wrapper.elementor-grid span.elementor-grid-item:hover svg,
div#rusiSocialIconContactFooter .elementor-social-icons-wrapper.elementor-grid span.elementor-grid-item:hover svg path {
    fill: #000 !important;
}

#rusiEmailFormFooter .elementor-field-group.elementor-col-75 {
    width: 75%;
    transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#rusiEmailFormFooter .elementor-field-group.elementor-col-75:has(#form-field-email:focus) {
    width: 100% !important;
}

/* دکمه cta*/
.rusiCtaBtnFooter {position: relative;}
.rusiCtaBtnFooter .elementor-button {
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 0 0 rgba(28, 70, 104, 0.5),
        0 8px 25px rgba(28, 70, 104, 0.25);
    animation: buttonPulse 2.5s infinite;
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease;
}
.rusiCtaBtnFooter .elementor-button-text {
position: relative;
z-index: 5;}
.rusiCtaBtnFooter .elementor-button:hover {
transform: translateY(-2px);
box-shadow:0 12px 35px rgba(28, 70, 104, 0.45);}
@keyframes buttonPulse {
    0% {box-shadow:0 0 0 0 rgba(28, 70, 104, 0.5), 0 8px 25px rgba(28, 70, 104, 0.25);}
    50% {box-shadow:0 0 0 8px rgba(28, 70, 104, 0), 0 12px 35px rgba(28, 70, 104, 0.4);}
    100% {box-shadow:0 0 0 0 rgba(28, 70, 104, 0), 0 8px 25px rgba(28, 70, 104, 0.25);}}
.rusiCtaBtnFooter::before, .rusiCtaBtnFooter::after {
content: "";
z-index: 0 !important;
position: absolute;
top: 50%;
left: 50%;
border-radius: 50%;
pointer-events: none;
z-index: 1;
 will-change: transform;}
.rusiCtaBtnFooter::before {
width: 7px;
height: 7px;
    margin: -3.5px 0 0 -3.5px;

    background: #ff2525;

    box-shadow:
        0 0 6px #ff0000,
        0 0 14px rgba(255, 0, 0, 0.8),
        0 0 28px rgba(255, 0, 0, 0.35);

    opacity: 0.85;
}
.rusiCtaBtnFooter::after {

    width: 6px;
    height: 6px;

    margin: -3px 0 0 -3px;

    background: #f1e000;

    box-shadow:
        0 0 5px #f1e000,
        0 0 12px rgba(241, 224, 0, 0.85),
        0 0 24px rgba(241, 224, 0, 0.35);

    opacity: 0.85;
}
.rusiCtaBtnFooter:hover::before {

    box-shadow:
        0 0 8px #ff0000,
        0 0 18px rgba(255, 0, 0, 0.9),
        0 0 35px rgba(255, 0, 0, 0.45);
}
.rusiCtaBtnFooter:hover::after {

    box-shadow:
        0 0 7px #f1e000,
        0 0 16px rgba(241, 224, 0, 0.9),
        0 0 30px rgba(241, 224, 0, 0.45);
}