/*
Theme Name: Brics
Theme URI: https://nikanwp.ir
Author: NikanWp Team
Author URI: https://nikanwp.ir/
Version: 1.0.0
Text Domain: nikanwp
*/
:root {
    --h1-font-size: 2.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.5rem;
    --h4-font-size: 1.2rem;
    --h5-font-size: 1.2rem;
    --h6-font-size: 1rem;
    --h1-margin: 0.2em 0 1em;
    --h2-margin: 1.5em 0 1em;
    --h3-margin: 1.5em 0 1em;
    --h4-margin: 0 0 0.625em;
    --h5-margin: 0 0 0.625em;
    --h6-margin: 0 0 0.625em;
}

.main-banner-home-page::before, .main-banner-home-page::after{
    position: absolute;
    z-index: -1;
    bottom: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    box-sizing: content-box;
    margin-left: -50vw;
    padding-top: 292px;
    content: "";
}
.main-banner-home-page::before{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 100% 100%;
}
.main-banner-home-page::after{
    background: linear-gradient(116.01deg,rgba(0,0,0,.3) 47.14%,#000 97.79%);
}
.footer-inner-section{
    background-image: url("src/img/footer-back.svg") ;
    background-position: 0 0;
    background-repeat: no-repeat;
}
.desktop-main-header-menu > li:hover > .desktop-submenu-inner{
    max-height: 1500px;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .1);
    transition: max-height 1s ease-in-out .2s;
}
.desktop-search-form.open {
    max-height: 4rem;
    padding-left: 20px;
    transition: all 0.3s;
}
.desktop-search-form{
    transition: all 0.3s;
}
body:not(.home-page) h2 { margin: var(--h2-margin); color: rgb(17, 47, 78); font-size: var(--h2-font-size); font-weight: 600; }
body:not(.home-page) h3 { margin: var(--h3-margin); color: rgb(17, 47, 78); font-size: var(--h3-font-size); font-weight: 500; }
body:not(.home-page) h4 { margin: var(--h4-margin); font-size: var(--h4-font-size); font-weight: 800; }
body:not(.home-page) h5 { margin: var(--h5-margin); font-size: var(--h5-font-size); font-weight: 800; text-transform: uppercase; }
body:not(.home-page) h6 { margin: var(--h6-margin); font-size: var(--h6-font-size); font-weight: 800; text-transform: uppercase; }
#notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.notification {
    background-color: #ff4d4f;
    color: #fff;
    padding: 12px 18px;
    margin-bottom: 10px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateX(120%);
    animation: slideIn 0.4s forwards, fadeOut 0.4s forwards;
}

.notification.success {
    background-color: #4caf50;
}
body > .main-container{flex: 1;}
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background: white;
    z-index: 99999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu.open {
    display: block;
}
.mobile-menu + .mobile-menu-overly {
    display: block;
    position: fixed;
    top: calc(var(--spacing) * 0);
    left: calc(var(--spacing) * 0);
    z-index: 995;
    height: 100%;
    width: 100%;
    background-color: #00000070;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
}
.mobile-menu.open + .mobile-menu-overly {
    opacity: 1;
    visibility: visible;
}
.mobile-menu-list {
    position: relative;
    height: calc(100% - 64px);
    overflow: hidden;
}

.mobile-submenu.hidden {
    transform: translateX(-100%);
    opacity: 0;
    display: block;
}
.mobile-submenu {
    transform: translateX(100%);
    opacity: 1;
}
.mobile-submenu {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
    background-color: #fff;
}

.mobile-submenu:not(.hidden) {
    transform: translateX(0);
}
.main-banner-home-page h1{line-height: 75px;}
.alignleft{
    text-align: left;
    margin-right: auto;
}
.aligncenter{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.alignright{
    text-align: right;
    margin-left: auto;
}
.desktop-main-header-menu, .mobile-main-menu {
    list-style: none;
    margin: 0;
}
.mobile-main-menu{padding: 0;}
p {
    margin-top: 0;
    margin-bottom: 1rem;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: .5rem;
}
dl, ol, ul {
    margin-top: 0;
    margin-bottom: 1rem;
}
ol, ul {
    padding-right: 2rem;
}
.desktop-submenu-items{
    padding-right: 0;
    list-style: none;
    margin-bottom: 0;
}
span.footer-widget-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    display: block;
}
.footer-text-box-inner-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 20px;
}
.footer-widget-links nav a{
    font-size: 14px;
}
.event-group{padding-right: 0;}
.header-section{
    background-color: #f3f4f7;
}
.footer-inner-columns{
    direction: rtl;
}
@media (min-width: 1024px) {
    .footer-widget-links {
        padding-inline-start: 40px;
    }
}
@media (width >= 80rem) {
    .mobile-menu{display: none !important;}
}
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    to {
        opacity: 0;
        transform: translateX(120%);
    }
}
