/* vazir font */
@font-face {
    font-family: Vazir;
    src: url("../fonts/Vazir.eot");
    src: url("../fonts/Vazir.eot?#iefix") format("embedded-opentype"),
        url("../fonts/Vazir.woff2") format("woff2"),
        url("../fonts/Vazir.woff") format("woff"),
        url("../fonts/Vazir.ttf") format("truetype");
    font-weight: normal;
}

@font-face {
    font-family: Vazir;
    src: url("../fonts/Vazir-Bold.eot");
    src: url("../fonts/Vazir-Bold.eot?#iefix") format("embedded-opentype"),
        url("../fonts/Vazir-Bold.woff2") format("woff2"),
        url("../fonts/Vazir-Bold.woff") format("woff"),
        url("../fonts/Vazir-Bold.ttf") format("truetype");
    font-weight: bold;
}

@font-face {
    font-family: Vazir;
    src: url("../fonts/Vazir-Light.eot");
    src: url("../fonts/Vazir-Light.eot?#iefix") format("embedded-opentype"),
        url("../fonts/Vazir-Light.woff2") format("woff2"),
        url("../fonts/Vazir-Light.woff") format("woff"),
        url("../fonts/Vazir-Light.ttf") format("truetype");
    font-weight: 300;
}

@font-face {
    font-family: Vazir;
    src: url("../fonts/Vazir-Medium.eot");
    src: url("../fonts/Vazir-Medium.eot?#iefix") format("embedded-opentype"),
        url("../fonts/Vazir-Medium.woff2") format("woff2"),
        url("../fonts/Vazir-Medium.woff") format("woff"),
        url("../fonts/Vazir-Medium.ttf") format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: Vazir;
    src: url("../fonts/Vazir-Thin.eot");
    src: url("../fonts/Vazir-Thin.eot?#iefix") format("embedded-opentype"),
        url("../fonts/Vazir-Thin.woff2") format("woff2"),
        url("../fonts/Vazir-Thin.woff") format("woff"),
        url("../fonts/Vazir-Thin.ttf") format("truetype");
    font-weight: 100;
}

@font-face {
    font-family: Vazir;
    src: url("../fonts/Vazir-Black.eot");
    src: url("../fonts/Vazir-Black.eot?#iefix") format("embedded-opentype"),
        url("../fonts/Vazir-Black.woff2") format("woff2"),
        url("../fonts/Vazir-Black.woff") format("woff"),
        url("../fonts/Vazir-Black.ttf") format("truetype");
    font-weight: 900;
}

@font-face {
    font-family: yekan;
    src: url("../fonts/BYekan.ttf");
}

@font-face {
    font-family: yekanBold;
    src: url("../fonts/BYekan_Bold.ttf");
}
/* robotoFont font */
@font-face {
    font-family: robotoFont;
    src: url("../fonts/roboto/robotolight.ttf");
    font-weight: 300;
}
@font-face {
    font-family: robotoFont;
    src: url("../fonts/roboto/robotoregular.ttf");
    font-weight: 400;
}

@font-face {
    font-family: robotoFont;
    src: url("../fonts/roboto/Roboto-Medium.ttf");
    font-weight: 500;
}

@font-face {
    font-family: robotoFont;
    src: url("../fonts/roboto/robotobold.ttf");
    font-weight: 700;
}

@font-face {
    font-family: Vogue;
    src: url("../fonts/VogueBold.otf");
}
@font-face {
    font-family: Lovely;
    src: url("../fonts/Lovely.ttf");
}

.font300 {
    font-weight: 300 !important;
}
.font400 {
    font-weight: 400 !important;
}
.font500 {
    font-weight: 500 !important;
}
.font600 {
    font-weight: 600 !important;
}
.font700 {
    font-weight: 700 !important;
}

.fontSize12 {
    font-size: 12px;
}
.fontSize14 {
    font-size: 14px;
}
.fontSize16 {
    font-size: 16px;
}
.fontSize18 {
    font-size: 18px;
}
.fontSize20 {
    font-size: 20px;
}
.fontSize22 {
    font-size: 22px;
}
.fontSize24 {
    font-size: 24px;
}
.fontSize26 {
    font-size: 26px;
}
.fontSize28 {
    font-size: 28px;
}
.fontSize30 {
    font-size: 30px;
}
.fontSize32 {
    font-size: 32px;
}
.fontSize34 {
    font-size: 34px;
}
.fontSize36 {
    font-size: 36px;
}
.fontSize38 {
    font-size: 38px;
}
.fontSize40 {
    font-size: 40px;
}
.whiteSpacePre {
    white-space: pre-line;
}
.colorTheme {
    color: var(--theme-color) !important;
}
.secondColor {
    color: var(--second-theme) !important;
}
*:not(i) {
    --theme-color: #a87124;
    --second-theme: #edf9ae;
    --main-color: #c7a87d;
    --portfolio-title-card: #edf9ae;
    --light-color: #bcbcbc;
    padding: 0;
    margin: 0;
}

/* baseStyle */
.theme-color {
    color: var(--theme-color) !important;
}
.dark-color {
    color: var(--dark-color) !important;
}
.mainBtn {
}
.theme-backgroundColor {
    background-color: var(--theme-color) !important;
}

.dark-backgroundColor {
    background-color: var(--dark-color) !important;
}
/*---------------------------------- End of fonts ---------------------------------- */

body {
    font-family: "Vazir", sans-serif !important;
}

.ltr {
    direction: ltr;
}

ul {
    padding-inline-start: 0px;
}

.dropdown-item {
    text-align: right;
}
.dropdown-footer,
.dropdown-header {
    text-align: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    padding-left: 0.5rem;
}

/*------------------------------------ contacts-list ------------------------------------*/

.contacts-list-img {
    float: right;
}

.contacts-list-info {
    margin-right: 45px;
    margin-left: 0;
}

/* sidebar */
main section {
    margin-bottom: 64px !important;
}
.sidebar {
    direction: ltr;
}

.sidebar > div:first-child {
    direction: rtl;
}

.control-sidebar,
.control-sidebar:before {
    left: -250px;
    right: auto;
    transition: left 0.3s ease-in-out;
}

.control-sidebar-slide-open .control-sidebar,
.control-sidebar-slide-open .control-sidebar:before {
    left: 0;
    right: auto;
}

.small-box .icon {
    right: auto;
    left: 10px;
}

.nav-sidebar .nav-link > p > .right {
    left: 1rem;
    right: auto;
}

.nav-sidebar > .nav-item .nav-icon {
    margin-right: 0;
    margin-left: 0.2rem;
}

@media (min-width: 992px) {
    .sidebar-mini.sidebar-collapse .content-wrapper,
    .sidebar-mini.sidebar-collapse .main-footer,
    .sidebar-mini.sidebar-collapse .main-header {
        margin-right: 4.6rem;
        margin-left: 0;
    }
}

@media (min-width: 992px) {
    .sidebar-mini.sidebar-collapse .content-wrapper,
    .sidebar-mini.sidebar-collapse .main-footer,
    .sidebar-mini.sidebar-collapse .main-header {
        margin-left: 0rem !important;
        margin-right: 4.6rem !important;
        z-index: 100;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar,
    .sidebar-mini.sidebar-collapse .main-sidebar:before {
        margin-right: 0;
        width: 4.6rem;
    }
}

@media (min-width: 768px) {
    .content-wrapper,
    .main-footer,
    .main-header {
        transition: margin-right 0.3s ease-in-out;
        margin-right: 250px;
        margin-left: 0;
        z-index: 3000;
    }
}

@media (max-width: 991.98px) {
    .main-sidebar,
    .main-sidebar:before {
        box-shadow: none !important;
        margin-right: -250px;
        margin-left: 0;
    }

    .content-wrapper,
    .content-wrapper:before,
    .main-footer,
    .main-footer:before,
    .main-header,
    .main-header:before {
        margin-right: 0;
    }

    .sidebar-open .main-sidebar,
    .sidebar-open .main-sidebar:before {
        margin-right: 0;
        z-index: 4000;
    }
}

.sidebar-collapse .main-sidebar,
.sidebar-collapse .main-sidebar:before {
    margin-right: -250px;
}

.main-sidebar {
    left: auto;
    right: 0;
}

/* Cards */

.card-header > .card-tools {
    right: auto;
    left: 1rem;
}

.user-block img {
    float: right;
}

.attachment-block .attachment-img {
    float: right;
}

.attachment-block .attachment-pushed {
    margin-left: 0px;
    margin-right: 110px;
}

.card-comments .card-comment img,
.img-lg,
.img-md,
.img-sm,
.user-block.user-block-sm img {
    float: right;
}

.card-comments .comment-text {
    margin-right: 40px;
    margin-left: 0;
}

.card-comments .card-comment img + .img-push,
.img-sm + .img-push,
.user-block.user-block-sm img + .img-push {
    margin-left: 0px;
    margin-right: 40px;
}

.user-block .comment,
.user-block .description,
.user-block .username {
    margin-right: 50px;
    margin-left: 0px;
}

.btn-group-vertical {
    align-items: center;
}

/*------------------------- Form ----------------------------*/
.select2-container .select2-search--inline {
    float: right;
}

.select2-container--default .select2-search--inline .select2-search__field {
    text-align: right;
}

/*----------------------- Extra Page ---------------------------*/
.error-page > .headline {
    float: right;
}

.error-page > .error-content {
    margin-right: 190px;
    margin-left: 0;
}

.lockscreen-image {
    left: auto;
    right: -10px;
}

.lockscreen-credentials {
    margin-left: 0px;
    margin-right: 70px;
}

.nav {
    padding-inline-start: 0px !important;
}

/*---------------------------------- Persian Date Picker ---------------------------------- */

.datepicker-plot-area {
    font-family: "Vazir", sans-serif;
}

#permissionBtn {
    accent-color: var(--theme-color);
    transform: scale(2);
}
.disabledSelect {
    opacity: 0.7;
    pointer-events: none;
}
#registerLogo {
    width: 25%;
}
@media (max-width: 768px) {
    #registerLogo {
        width: 85%;
    }
}
/* custom class */
.gap-2 {
    gap: 8px;
}
.gap-2 {
    gap: 16px;
}
.w-90 {
    width: 90%;
}
* {
}
/* tabs */
div#tabsForm #langTabsContent {
    width: 100%;
}
div#tabsForm ul {
    width: 100%;
}
div#tabsForm {
    width: 100%;
    background: #ebebebcf;
    padding: 16px;
}
.oldImages {
    width: 100%;
    background-color: var(--main-color);
    padding: 16px;
    color: white;
    margin: 24px auto;
}
/*  */

.menu-open > a {
    background-color: var(--main-color) !important;
}
a#brandLogo {
    border-bottom: 5px solid var(--main-color) !important;
}
.nav-item ul {
    padding-right: 32px !important;
}
img.tableImage {
    width: 150px;
}
input.filepond,
a.filepond--credits {
    opacity: 0 !important;
}
form .card-body {
    display: grid;
    grid-template-columns: 1fr 4fr;
    gap: 24px;
}
form .card-body #staticForm {
    box-shadow: 0 0 5px #1213;
    padding: 16px;
    border: 1px solid #1213;
}
.cke_notification {
    display: none;
}
/* custome class */
.opacity-1 {
    opacity: 1 !important;
}
/* dark theme */
ul {
    list-style: none;
}
body.publicPage {
    background-color: #000000;
}
body.publicPage * {
    color: white;
}
a:hover {
    color: white;
}
/* ltr theme */
.publicPage.ltrTheme {
    direction: ltr;
}
.publicPage.ltrTheme * {
    font-family: robotoFont;
    font-feature-settings: "tnum";
    unicode-bidi: isolate;
    text-align: left;
}
.publicPage.ltrTheme h1 {
    font-family: lovely;
    letter-spacing: 7px;
    text-align: left;
}
.publicPage.ltrTheme h2,
.publicPage.ltrTheme h3,
.publicPage.ltrTheme h4 {
    font-family: Vogue;
    text-align: left;
}
.mainBtn {
    background-color: var(--theme-color) !important;
    color: white !important;
    padding: 16px 64px;
    border: 1px solid var(--theme-color);
    border-radius: 4px;
    transition: all 0.8s;
}
.mainBtn:hover {
    background-color: black !important;
    color: white !important;
    border: 1px solid;
    box-shadow: 0 0 5px;
}
main#page404 {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 24px;
}
main#page404 img {
    aspect-ratio: 24 / 9;
    width: 100%;
    object-fit: fill;
}
/* header */
header {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(153, 153, 153, 0.12) 100%
    );
    padding: 16px 5%;
}
#logo img {
    width: 170px;
}
header ul li a {
    opacity: 0.64;
    transition: 0.5s;
    font-size: 18px;
}
header ul li:hover a {
    opacity: 1;
}
body:has(#homePage) header {
    background-color: #00000096;
    position: absolute;
    z-index: 100;
    width: 100%;
}
form#searchHader button {
    background: unset;
    border: unset;
    position: absolute;
    left: 6px;
    top: 8px;
}
form#searchHader button:focus-visible {
    outline: unset;
}

form#searchHader input {
    background: transparent;
    border: 1px solid #ffffff25;
    border-radius: 24px;
    padding: 8px 20px 8px 40px;
}
form#searchHader {
    position: relative;
}
select#selectLanguage option {
    color: black;
}
select#selectLanguage:focus-visible {
    outline: unset;
}
select#selectLanguage {
    background-color: transparent;
    padding: 8px;
    border: unset;
}
section#breadCrumb a:last-child {
    opacity: 1;
}
section#breadCrumb a {
    opacity: 0.6;
}
section#breadCrumb {
    padding: 16px 5%;
}
/* footer */
footer {
    background-color: #0a4941;
}
/* 404 page */
main#page404 {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 24px;
}
div#galleriesSection {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 16px;
}
.galleryCard img {
    width: 100%;
}
.galleryCard {
    border: 1px solid #87878750;
    border-radius: 8px;
    background: #87878750;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.handlerGallery form {
    margin: 0 !important;
}
.handlerGallery {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    position: absolute;
    left: 8px;
    top: 8px;
}
/* footer */
footer #firstRow {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr 1.5fr;
    padding: 64px 5% 16px;
    gap: 48px;
}
footer #secondRow {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 16px 5%;
    gap: 48px;
}
section#firstRow .column h3,
section#secondRow .column h3 {
    color: #edf9ae;
    margin-bottom: 24px;
}
section#firstRow .column ul,
section#secondRow .column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
footer .column ul li:has(svg) {
    display: flex;
    align-items: center;
    gap: 8px;
}
form#newsletter svg {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}
form#newsletter input {
    background: unset;
    border: 1px solid #ffffff50;
    border-radius: 12px;
    padding: 10px 16px;
    width: 100%;
}
form#newsletter {
    margin: 12px 0;
    position: relative;
}
#footerLogo {
    position: relative;
    bottom: 16px;
    right: 16px;
}
section#lastPart a b {
    color: #edf9ae;
}
section#lastPart {
    display: flex;
    justify-content: space-between;
    padding: 24px 5%;
    border-top: 1px solid #ffffff50;
}

.column ul li a,
.column ul li span,
.column ul li svg {
    transition: all 0.5s;
}
.column ul li:hover a,
.column ul li:hover span {
    color: var(--second-theme);
}
.column ul li:hover svg,
.column ul li:hover svg path {
    stroke: var(--second-theme);
}
form#newsletter input:focus-visible {
    outline: unset;
    border-color: var(--second-theme);
}
form#newsletter input:focus-visible + svg path {
    fill: var(--second-theme);
    stroke: var(--second-theme);
}
button#menuBarButton {
    background-color: #00000030;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    padding: 6px 10px;
    border: unset;
}
button {
    cursor: pointer;
}
button#menuBarButton:focus-visible {
    outline: unset;
}
section#mobileMenu ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

section#mobileMenu img {
    width: 100%;
}
section#mobileMenu {
    min-width: 380px;
    max-width: 100%;
    height: 100vh;
    background-color: #000000b3;
    backdrop-filter: blur(4px);
    position: fixed;
    top: 0;
    left: -1000px;
    z-index: 1000;
    box-shadow: 0 0 5px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
.showMobileMenu {
    animation: showMobileMenu 0.8s linear forwards;
}
button#closeMenu {
    position: fixed;
    left: 24px;
    top: 24px;
    border: unset;
    background: unset;
}
.w-max {
    width: max-content !important;
}
button#closeMenu svg path {
    stroke: #ffffff9c;
}

li.menuItem {
    position: relative;
}
li.menuItem .subMenu li a {
    width: 100%;
    display: block;
    padding: 16px;
}
li.menuItem .subMenu li {
    margin: 8px auto;
    border-radius: 4px;
    transition: all 0.5s;
    background-color: transparent;
}
li.menuItem .subMenu {
    position: absolute;
    background: #1a1a1a;
    z-index: 100000;
    min-width: 320px;
    border-radius: 8px;
    box-shadow: 0 0 5px #898d897a;
    transition: all 0.6s;
    opacity: 0;
    transform-origin: top;
    transform: scaleY(0);
}
li.menuItem:hover .subMenu {
    opacity: 1;
    transform-origin: top;
    transform: scaleY(1);
}
li.menuItem:hover li:hover {
    background-color: #ffffff30;
}
li.menuItem a {
    display: flex;
    gap: 4px;
}
@keyframes showMobileMenu {
    from {
        left: -1000px;
    }
    to {
        left: 0;
    }
}

@media (min-width: 1000px) {
    .d-desktop-none {
        display: none !important;
    }
    .d-desktop-block {
        display: block !important;
    }
}

@media (max-width: 1000px) {
    .d-mobile-none {
        display: none !important;
    }
    .d-mobile-block {
        display: block !important;
    }
}
@media (max-width: 1200px) {
    form#searchHader {
        display: none;
    }
    header nav {
        display: none;
    }
}
@media (max-width: 768px) {
    footer #firstRow,
    section#secondRow {
        grid-template-columns: 1fr;
    }
    section#lastPart {
        flex-direction: column;
        gap: 24px;
    }
}
/* portfolio card*/

.portfolioCard h4 img {
    width: 20px;
    filter: grayscale(100%) brightness(200%);
    transition: all 0.6s;
}
.portfolioCard h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.portfolioCard > img {
    width: 100%;
    margin-bottom: 16px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}
.portfolioCard {
    background-color: #ffffff15;
    border: 1px solid #ffffff05;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    transition: all 0.6s;
}
.portfolioCard h2 {
    color: var(--portfolio-title-card);
    margin-bottom: 8px;
}
.portfolioCard p {
    line-height: 22px;
    color: var(--light-color);
    text-align: justify;
}
a.portfolioCard:hover {
    border-color: var(--theme-color);
}
.portfolioCard:hover .portfolioCategory img,
.portfolioCard:hover .portfolioCategory span {
    transition: all 0.6s;
}
.portfolioCard:hover .portfolioCategory span {
    color: var(--theme-color);
}
.portfolioCard:hover .portfolioCategory img {
    filter: invert(55%) sepia(89%) saturate(759%) hue-rotate(6deg)
        brightness(89%) contrast(87%);
}
button.seeMoreDetail {
    background-color: var(--theme-color);
    padding: 10px 24px;
    border-radius: 8px;
    border: unset;
    margin-top: 16px;
    opacity: 0.64;
    transition: all 0.6s;
}

.portfolioCard:hover button.seeMoreDetail {
    opacity: 1;
}
h3.noconten {
    text-align: center !important;
    width: 100%;
    opacity: 0.64;
    animation: noconten 1s linear alternate-reverse infinite;
}
@keyframes noconten {
    from {
        opacity: 0.64;
        color: white;
    }
    to {
        opacity: 1;
        color: var(--second-theme);
    }
}
/* */
