/* vars */
:root {
    --green: #00A693;
    --white: #FDFEFF;
    --text: #515151;
    --swiper-theme-color: var(--white) !important;
}

@font-face {
    font-family: IRANYekan;
    src: url('./../font/IRANYekan/Farsi numerals/Webfonts/Woff/IRANYekanXFaNum-Regular.woff') format('woff');
}

* {
    transition: all 0.3s;
    font-family: IRANYekan, serif;
    text-decoration: none !important;
    box-sizing: border-box;
    box-shadow: none !important;
    outline: none !important;
}

body {
    direction: rtl;
    background-color: var(--white) !important;
    overflow-x: hidden;
}


p, li {
    line-height: 30px !important;
    text-align: justify;
}

/* text */

.text-51 {
    color: var(--text);
}

.text-white {
    color: var(--white) !important;
}

/* navbar */
.navbar,
.offcanvas {
    z-index: 999;
    background-color: var(--white, #FDFEFF);
}

.offcanvas {
    z-index: 9999;
}

.navbar-brand img {
    height: 42px;
}

.nav-link {
    color: var(--text, #515151) !important;
    font-size: 12px !important;
}

.navbar-nav .selected {
    border-radius: 2px;
    color: var(--green, #00A693) !important;
    border-bottom: 2px solid var(--green, #00A693);
}

.offcanvas-body .selected {
    color: var(--green, #00A693) !important;
}

.btn-login {
    border: 0;
    font-size: 12px;
    padding: 4px 16px;
    border-radius: 8px;
    color: var(--white, #FDFEFF);
    background-color: var(--green, #00A693);
}

button:hover, .btn:hover, .make-form:hover {
    border: 0 !important;
    background-color: #DB9259 !important;
    color: var(--white) !important;
}

.nav-link:hover {
    color: #DB9259 !important;
}

.btn-login-outline {
    font-size: 16px;
    padding: 6px 6px 3px 6px;
    border-radius: 8px;
    background-color: var(--white, #FDFEFF);
    border: 1px solid var(--green, #00A693);
    color: var(--green, #00A693);
}

.list-group-item {
    border: 0 !important;
}

.offcanvas-body .btn-login {
    width: 90%;
    height: 44px;
    right: 15px;
    bottom: 20px;
}

/* content */

/* banner */

.banner-home-img {
    width: 100%;
    height: 745px;
    object-fit: cover;
}

.modal {
    z-index: 999999 !important;
}

.waves {
    position: relative;
    width: 100%;
    height: 15vh;
    margin-bottom: -7px; /*Fix for safari gap*/
    min-height: 100px;
    max-height: 150px;
    margin-top: -100px;
    z-index: 333;
}

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}

.banner .swiper-pagination {
    position: relative;
    margin-top: -30px;
}

.bannerCard .swiper-pagination {
    margin-top: -40px;
}

.d-flex .make-form {
    padding-top: 6px;
    height: 31.4px !important;
}

.login-place .make-form {
    padding-top: 3.5px;
    height: 26px !important;
}

.isPast {
    top: 7px !important;
    right: -18px;
    background-color: var(--green);
    color: var(--white);
    transform: rotate(30deg);
    width: 150px !important;
}

.font-10 {
    font-size: 10px !important;
}

.bannerCard .swiper-pagination-bullet {
    background-color: #99FFF3 !important;
    opacity: 1;
}

.event-page-body .swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.banner .swiper-pagination-bullet-active, .event-page-body .swiper-pagination-bullet-active, .bannerCard .swiper-pagination-bullet-active {
    width: 20px !important;
    border-radius: 10px !important;
    background-color: var(--green) !important;
}

.modal-body::-webkit-scrollbar {
    width: 6px !important;
    border-radius: 8px !important;
}

.modal-body::-webkit-scrollbar-thumb {
    width: 6px !important;
    background-color: var(--green) !important;
    border-radius: 8px !important;
}

.accordion-button:hover {
    background-color: transparent !important;
    color: var(--text) !important;
}

.exhibition-client-img {
    width: 100% !important;
    height: 300px !important;
    object-fit: cover !important;
}

#exhibition-div .description-ex p {
    color: #717171 !important;
    font-size: 16px !important;
    line-height: 30px !important;
}

/* end banner */

/* video */
.video-card {
    border-radius: 23px !important;
    border: 16px solid var(--white, #FDFEFF) !important;
    background: #D9D9D9 !important;
    box-shadow: 2px 4px 9px 0 rgba(0, 0, 0, 0.15) !important;
}

.video video {
    height: 300px !important;
    object-fit: cover;
}

/* items */

.margin-page {
    margin-top: 50px;
}

.position-img {
    width: 229px;
    height: 450px
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--green, #00A693);
}

.text-helper {
    color: #32127A !important;
}

.rotate {
    transform: rotate(180deg);
}

.text-green {
    text-decoration: none !important;
    color: var(--green) !important;
}


.item-carousel .swiper-slide {
    padding: 50px 30px !important;
}

.polygon-mt {
    margin-top: -44px !important;
}

.right-absolute {
    top: 7% !important;
    z-index: 9999 !important;
}

.right-absolute img {
    width: 100% !important;
}

.left-absolute {
    top: 7% !important;
    z-index: 9999 !important;
}

.left-absolute img {
    width: 100% !important;
}

.text-item {
    width: 100px;
    top: 57%;
    right: 29%;
}

.polygon-mt-text {
    z-index: 99999 !important;
    margin-top: -11px !important;
}

.list-group-item a:hover {
    color: #DB9259 !important;
}

.img-card {
    width: 200px !important;
    height: 200px !important;
    z-index: 9999 !important;
    top: -93px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: transparent !important;
    background-image: url("./../image/Polygon 55.png");
}

.first-child {
    right: 12.5%;
}

.second-child {
    right: 32.5%;
}

.third-child {
    right: 50.5%;
}

.forth-child {
    right: 69.5%;
}

.ms-first {
    margin-left: 30px;
}

.cover-img {
    width: 100%;
    height: 589px;
    object-fit: cover;
}

.counter-element {
    background-color: #980157;
}

.counter-element .card {
    background-color: transparent !important;
    border-radius: 0 !important;
}

.counter-element .card-title {
    font-size: 28px;
}

.selected-box {
    background-color: #32127A !important;
}

.selected-box p {
    cursor: pointer;
    margin-top: 3px;
    margin-left: 20px;
    text-align: center;
    font-size: 14px;
    color: #FDFEFF;
    font-weight: 800;
    transform: rotate(-135deg);
}

.items-link {
    margin-top: -320px !important;
    text-decoration: none;
    color: var(--green) !important;
    font-weight: 600;
}

.sharp {
    color: #DC7729;
}

.cards-card-image {
    width: 100%;
    height: 462px;
    object-fit: cover;
    border-radius: 20px;
}

.cards-card-element {
    height: 357px;
}

/* second banner */

.second-banner {
    height: 615px;
    background-image: url("./../image/Rectangle 2677.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.banner-s-text {
    color: var(--white);
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    line-height: 30px;
}

/* end second banner */


/* event */

.event {
    background-color: #32117A;
    padding: 50px 0;
    border-radius: 0 0 70px 70px;
}

.activity-items .card {
    width: 380px;
    height: 350px;
    border-radius: 29px;
    overflow: hidden;
    background: #180247 !important;
    color: var(--white);
}

.activity-items .icon img {
    height: 80px;
    max-width: 100%;
}

.activity-items .card a {
    visibility: hidden;
    font-size: 12px;
    font-weight: 700;
    color: #32117A !important;
    text-decoration: none;
}

.activity-items .card:hover {
    background-color: var(--green) !important;
    color: var(--white) !important;
    fill: var(--white) !important;
}

.activity-items .card:hover path {
    fill: var(--white) !important;
}

.activity-items .card:hover a {
    visibility: visible !important;
}

.activity-items .card:hover .card-body {
    margin-top: -20px;

}

.over-flow {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4.5;
    -webkit-box-orient: vertical;
}

/* brands */

.brands .section-title {
    color: #EC7D28;
}

.brand-carousel .item img {
    height: 100px;
    max-width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* news */

.news-card {
    border-radius: 24px !important;
    height: 729px !important;
    background-image: url('./../image/Information card.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.news-item {
    height: 343px !important;
    border: 0 !important;
    border-radius: 24px !important;
    background-image: url("./../image/Rectangle 2693.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.news-item .card-body {
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(255, 40, 164, 0.40) 100%);
    margin-top: 227px;
}

.font-14 {
    font-size: 14px;
}

.font-12 {
    font-size: 12px !important;
}

.gifts {
    height: 724px;
    background-image: url('../image/Untitled.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.btn-light {
    color: var(--green) !important;
}

/* search */
.search-banner {
    background-color: #FDFEFF !important;
    border-radius: 53px 53px 0 0 !important;
}

.search-banner input {
    height: 46px;
    border-radius: 47px;
    border: 1px solid #ADADAD;
}

.search-line {
    top: 0;
    left: 46px;
    height: 46px;
    width: 83px;
    background-image: url("./../../../category/public/image/Rectangle 2707.svg");
}

.search-line:hover {
    background-image: url("../image/Rectangle 2707.png");
}

.toast {
    background-color: var(--green) !important;
    border-radius: 8px 8px 8px 0px !important;
    border: 0 !important;
}

.pagination {
    direction: ltr !important;
}

.page-link {
    border: 0 !important;
    color: #757575 !important;
    background-color: transparent !important;
}

.form-floating label {
    right: auto !important;
    left: auto !important;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    transform: scale(.85) translateY(-1.8rem) translateX(1rem) !important;
}

.form-control, .form-select {
    border-color: #A3A3A3 !important;
}

.form-control:focus {
    border-color: var(--green) !important;
}

.pagination .page-item .active {
    color: #32127A !important;
}

p img, figure, figure img {
    width: 100% !important;
    height: 539px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
}

#blogDetail video, #categoryDetail video {
    height: 339px !important;
}

/* footer */
footer .section-title {
    color: #32127A;
}

.bg-purple {
    height: 163px;
    padding: 0 !important;
    background-color: #32127A;
    border-radius: 109px;
    border: 1px solid #00A895;
    z-index: 999;
}

.swiper {
    width: 100%;
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 20px !important;
}

.page-carousel .item img {
    height: 100px;
    max-width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.text-split {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* login */

.login-modal {
    border-radius: 8px !important;
    background-color: #FFFFFF !important;
    box-shadow: none !important;
}

.text-purple {
    color: var(--green);
}

.change-phone {
    color: #E38238;
}

.login-btn {
    height: 56px !important;
    border-radius: 4px !important;
    background-color: var(--green) !important;
    color: #FDFEFF !important;
}

.login-modal input {
    height: 56px !important;
    direction: rtl !important;
}

.login-eye {
    font-size: 20px;
    color: #A3A3A3;
    top: 35%;
    left: 20px;
}

.cursor-pointer {
    cursor: pointer;
}

.modal-dialog {
    z-index: 9999 !important;
}

.ti-asterisk {
    font-size: 12px !important;
}

/* footer */

.footer-place {
    padding-bottom: 15px !important;
    margin-top: -75px !important;
    border-top: 5px solid #32127A !important;
    border-radius: 15% 15% 0 0 !important;
    background: #EAE5F6 !important;
}

.footer-place .content {
    margin-top: 50px;
}

.footer-place {
    padding-top: 20px !important;
}

footer .footer-place {
    padding-top: 50px !important;
}

footer .list-group-item {
    padding: 14px 0 0;
    background-color: transparent;
    font-size: 14px;
    color: #515151 !important;
}

footer .list-group-item a {
    font-size: 14px;
    color: #515151 !important;
    text-decoration: none;
}

.cursor-pointer {
    cursor: pointer;
}

@media screen and (min-width: 1400px) {
    .third-child {
        right: 52%;
    }

    .forth-child {
        right: 72%;
    }
}

@media screen and (max-width: 1400px) {
    .first-child {
        right: 15.8%;
    }

    .second-child {
        right: 41%;
    }

    .third-child {
        right: 65.5%;
    }

    .forth-child {
        display: none;
    }

    .event-carousel .card {
        width: 330px !important;
    }
}

@media screen and (max-width: 1200px) {
    .brand-toggle {
        width: 100%;
    }

    .banner-img {
        width: 100%;
        height: 300px;
    }

    .box-card {
        margin-top: 20px;
        width: 300px !important;
        height: 300px !important;
    }

    .controller-page {
        width: 50% !important;
    }

    .polygon-mt {
        margin-top: 50px !important;
    }

    .items-link {
        margin-top: -210px !important;
    }

    .right-absolute, .left-absolute {
        top: 0% !important;
        z-index: 9999 !important;
    }

    .event-carousel .card {
        width: 300px !important;
    }
}

@media screen and (max-width: 1000px) {
    .footer-place .content {
        margin-top: 150px;
    }

    .gifts .h3 {
        margin-top: 60px !important;
    }

    .owl-dots {
        display: none;
    }

    .right-absolute, .left-absolute {
        top: 2% !important;
        z-index: 9999 !important;
    }

    .ex-btn-client {
        width: 100% !important;
    }
}

@media screen and (max-width: 600px) {
    .banner-home-img {
        height: 300px;
    }

    .items-link {
        margin-top: -210px !important;
    }

    .offcanvas {
        width: 75% !important;
    }

    .box-card {
        margin-top: 20px;
        width: 100% !important;
        height: 200px !important;
    }

    .video-card video {
        height: 200px;
    }

    .activity-items .card {
        width: 100% !important;
    }

    .bg-gray {
        height: 100px !important;
    }

    .controller, .swiper-pagination {
        display: none !important;
    }

    .banner .swiper-pagination {
        display: inline-block !important;
    }

    .swiper-button-next, .swiper-button-prev {
        display: none !important;
    }

    .gifts {
        height: 700px;
        background-image: url('../image/bg.png') !important;
    }

    .footer-place .content {
        margin-top: 80px;
    }

    .section-title {
        font-size: 20px !important;
    }

    .gifts .h3 {
        margin-top: 80px !important;
    }

    .search-line {
        left: 17px;
    }

    .owl-nav {
        display: none !important;
    }

    .btn-footer {
        width: 100% !important;
    }

    .cards-card-image {
        height: 300px !important;
    }

    p img, #blogDetail video, #categoryDetail video, figure, figure img {
        width: 100% !important;
        height: 339px !important;
        object-fit: cover !important;
        border-radius: 10px !important;
    }
}
