:root {
    --main-color: #2d1d0f;
    --secondary-color: #f9f1e1;
    --white-color: #fff;
    --third-color: #efe1b6;
}
body,
#mainmenu,
#mainmenu > li,
.tp-title-1,
.btn-line,
h1,
h2,
h3,
h4,
h5,
p,
span,
blockquote {
    font-family: "Alexandria", sans-serif !important;
    letter-spacing: 0px !important;
}
h1,
h2 {
    color: var(--main-color);
}
h3 {
    font-size: 22px !important;
    direction: rtl;
}
p {
    font-size: 14px;
    direction: rtl;
}
blockquote {
    font-size: 14px;
    direction: rtl;
}
.id-color-2,
h2.s1,
.text-light h2.s1,
#mainmenu a:hover,
#mainmenu a.active,
#mainmenu li a:after {
    color: #803f05;
}
@media only screen and (max-width: 768px) {
    h2 {
        font-size: 26px !important;
        padding-top: 10px;
    }
}
header.smaller {
    background-color: var(--secondary-color) !important;
}
header {
    background: none !important;
}
#preloader {
    background: var(--secondary-color);
}
.preloader1 {
    border-color: var(--main-color);
    border-top-color: var(--third-color);
}
.tparrows {
    top: 30% !important;
    background: rgb(239 225 182 / 46%);
}
.tp-bgimg {
    position: relative;
}
.tp-bgimg::before,
.main_section::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    background-image: url("../images/hero_bg.webp") !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    z-index: 20;
}
.main_section::before {
    background-image: url("../images/color_bg.webp") !important;
    z-index: 0;
}
.main_section h2 {
    position: relative;
    color: var(--main-color);
}
.tp-bgimg::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    background-image: url("../images/hero_top.webp") !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    z-index: 23;
}
#mainmenu > li {
    float: right !important;
}
#mainmenu > li > a {
    font-size: 14px;
    color: var(--main-color);
}
@media  (max-width: 768px) {
    .hero_buttons {
        flex-wrap: wrap!important;
    }
}
.caption {
    color: var(--main-color) !important;
    letter-spacing: 0px !important;
    font-size: 16px;
    font-weight: 400;
}
.tp-caption.tp-title-1 {
    font-size: 70px !important;
    line-height: 1.1 !important;
    color: var(--main-color) !important;
}
.text-p {
    color: var(--main-color) !important;
    font-size: 14px !important;
    max-width: 120% !important;
}
#revolution-slider {
    position: relative !important;
    z-index: 21 !important;
}
.btn-line,
a.btn-line,
input.btn-line {
    line-height: 1.1 !important;
    color: var(--main-color) !important;
    /* font-size: 18px !important; */
    letter-spacing: 0px !important;
    padding-top: 12px;
    padding-bottom: 12px;
    border-color: var(--main-color) !important;
    border-width: 3px;
    direction: rtl;
    margin-top: 30px;
}
a.btn-line:hover,
a.btn-line:hover::after {
    color: var(--secondary-color) !important;
}
a.btn-line::after {
    content: "\f053" !important;
    padding: 0 10px 0 0 !important;
}
@media (min-width: 768px) and (max-width: 992px) {
    header.transparent.bg-dark {
        background-color: var(--secondary-color) !important;
    }
    .tp-bgimg::before {
        background-image: url("../images/hero_bg_2.webp") !important;
    }
    .tp-caption.tp-title-1 {
        font-size: 60px !important;
        top: 20% !important;
        position: absolute !important;
        height: 700px !important;
        width: 800px !important;
        min-width: 350px !important;
    }
    .text-p {
        top: 50% !important;
        line-height: 1.5 !important;
        height: 500px !important;
        transform: matrix3d(
            1,
            0,
            0,
            0,
            0,
            1,
            0,
            0,
            0,
            0,
            1,
            0,
            0,
            0,
            0,
            1
        ) !important;
        transform-origin: 50% 50% 0px !important;
        width: 620px !important;
        min-width: 620px !important;
    }
    #mainmenu > li > a {
        border-bottom: 1px solid var(--third-color);
    }
}
@media only screen and (max-width: 768px) {
    header.transparent.bg-dark {
        background: var(--secondary-color) !important;
    }
    .tp-bgimg::before {
        background-image: url("../images/hero_bg_2.webp") !important;
    }

    #mainmenu > li > a {
        border-bottom: 1px solid var(--third-color);
    }
    .tp-parallax-wrap {
        top: 30% !important;
    }
    .section-slider {
        position: relative !important;
    }
    .tp-caption.tp-title-1 {
        font-size: 34px !important;
        top: 20% !important;
        position: absolute !important;
        height: 700px !important;
        width: 400px !important;
        min-width: 350px !important;
    }
    .text-p {
        top: 50% !important;
        line-height: 1.5 !important;
        height: 500px !important;
        transform: matrix3d(
            1,
            0,
            0,
            0,
            0,
            1,
            0,
            0,
            0,
            0,
            1,
            0,
            0,
            123,
            0,
            1
        ) !important;
        transform-origin: 50% 50% 0px !important;
        width: 400px !important;
        min-width: 350px !important;
    }
    .tp-caption.button {
        transform: matrix3d(
            1,
            0,
            0,
            0,
            0,
            1,
            0,
            0,
            0,
            0,
            1,
            0,
            0,
            230,
            0,
            1
        ) !important;
        transform-origin: 50% 50% 0px !important;
    }
}

/* start section two */
#content {
    background-color: var(--secondary-color) !important;
}
.section_two {
    background-image: url("../images/section_bg.webp");
    background-color: transparent !important;
    /* background-repeat: no-repeat !important; */
    background-size: cover !important;
}
.section_two .swiper {
    width: 100%;
    height: 400px;
}
.section_two .swiper-slide .jarallax {
    height: 300px;
}
.section_two .swiper-slide .overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #3c2415;
    opacity: 65%;
    z-index: -1;
    top: 0;
    left: 0;
}
.section_two h3 {
    width: 220px !important;
    line-height: 1.6;
    margin: 20px auto;
}
.swiper-next {
    right: 0 !important;
}
.swiper-pagination {
    top: 90% !important;
}
.swiper-pagination-bullet {
    width: 13px !important;
    height: 13px !important;
    opacity: 1 !important;
    background-color: #7e6b5d !important;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--main-color) !important;
}
/* end section two */

/* start section three */
.section_three {
    direction: rtl;
    background-color: var(--main-color) !important;
}
.section_three h5 {
    color: var(--main-color) !important;
}
.section_three h2 {
    color: var(--secondary-color) !important;
}
p.lead {
    font-size: 12px;
    color: var(--secondary-color) !important;
}
p.second {
    font-size: 12px;
    color: var(--third-color) !important;
}
.content {
    padding: 20px;
}
/* end section three */

/* start section four */
.section_four {
    background: url(../images/bg_bd.webp);
}
.section_four .overlay {
    opacity: 1 !important;
    border-radius: 15px;
}
.section_four .swiper-slide {
    height: 300px;
    border-radius: 30px;
}
.section_four .swiper-slide h3 {
    width: 100% !important;
    font-size: 22px !important;
    margin-bottom: 30px !important;
}
.section_four .swiper-slide p {
    font-size: 16px !important;
    color: var(--third-color);
}
.section_five {
    background-color: var(--main-color) !important;
}
/* end section four */

/* start section five */

.section_five h2 {
    color: var(--secondary-color) !important;
}
.section_five h4 {
    padding: 0 20px;
    line-height: 1.7;
    color: var(--secondary-color) !important;
}
.section_five .swiper {
    /* height: 640px; */
    height: 500px;
}
.section_five .gallery_image_content {
    background-repeat: no-repeat !important;
    background-position: center top !important;
}

/* end section five */

/* start section six */
.section_six h2 {
    font-size: 36px;
}
.section_six p.wow {
    color: var(--main-color) !important;
}
/* end section six */

/* start section seven */
.section_seven {
    background-color: var(--third-color) !important;
}
@media only screen and (max-width: 768px) {
    .section_seven .padding80 {
        padding: 30px;
    }
}
.section_seven h2,
.section_seven blockquote {
    color: var(--main-color) !important;
}
/* end section seven */

/* start section eight */
.register_section {
    background-color: var(--secondary-color);
}
.btn-line:hover {
    background-color: var(--main-color) !important;
}
.name {
    text-align: end !important;
    color: #803f05;
    padding: 0 20px;
}
/* end section eight */

/* Start section eight */
.gallary {
    background-color: var(--secondary-color) !important;
}
.gallary h2 {
    color: var(--main-color) !important;
}
.gallary .swiper {
    height: 480px;
}
/* end section eight */

/* start section image */
.image_section {
    height: 260px;
}
.image_section .overlay {
    position: absolute;
    background-color: var(--main-color) !important;
    opacity: 50%;
    height: 100%;
    width: 100%;
    top: 0;
}
/* end section image */

/* start section footer */
footer {
    background-color: var(--main-color) !important;
}
footer .social-icons {
    margin-top: 20px;
}
footer .social-icons i {
    color: var(--third-color) !important;
    /* padding: 10px; */
    width: 40px;
    height: 40px;
    font-size: 20px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: 0 2px;
}
footer .social-icons i:hover {
    border-radius: 50%;
    color: var(--main-color) !important;
    background-color: var(--secondary-color) !important;
}
/* end section eight */

/* Start blogs page */
.blog-list h3 a {
    color: var(--main-color) !important;
}
.blog-list .post-text {
    padding-right: 100px;
    padding-left: 0%;
}
.blogs_section {
    color: #7e6b5d;
}
.blogs_section .blog-list .date-box,
.blog-list .date-box .day,
.blog-list .date-box .month {
    border-color: #dacac4;

    color: #795548 !important;
}
.breadcrumb-item + .breadcrumb-item::before {
    float: right;
}
/* end blogs page */

/* Start blog details page */
#section-book-form {
    color: var(--main-color) !important;
}
/* end blog details page */

/* Start footer */
footer {
    padding-bottom: 0;
}
/* Start copyright */

.copyright {
    background-color: var(--third-color) !important;
    color: var(--main-color) !important;
    font-size: 14px;
}
.copyright a {
    color: #b88112 !important;
}
/* End copyright */
.blog-list h3 {
    line-height: 1.5;
}

/* start registration form */
.registration_form {
    background-color: var(--secondary-color) !important;
}
.registration_form .group_input {
    margin: 10px;
    width: 100%;
    max-width: 500px;
}
.registration_form .group_input label {
    font-size: 16px;
    color: #803f05;
    padding: 5px;
}
.registration_form .group_input input:not([type="radio"]) {
    width: 100%;
    background-color: transparent;
    padding: 10px 20px;
    border-radius: 20px;
    border: 2px solid rgb(128, 63, 5);
    outline: none !important;
}
button.dark_button {
    line-height: 1.1 !important;
    color: var(--secondary-color) !important;
    /* font-size: 16px !important; */
    letter-spacing: 0px !important;
    padding-top: 12px;
    padding-bottom: 12px;
    border-color: var(--main-color) !important;
    background-color: var(--main-color) !important;
    border-width: 3px;
    direction: rtl;
    margin-top: 20px;
    width: 200px;
    border-radius: 30px;
    outline: none;
    font-weight: 500;
    transition: 0.1s ease-in-out;
}
button.dark_button:hover {
    color: var(--main-color) !important;
    background-color: var(--secondary-color) !important;
}
.registration_form span {
    color: #b84214e8;
}
.success-container {
    position: absolute;
    top: 0;
    z-index: 10002;
    width: 100%;
    height: 100%;
    background-color: #00000038;
    display: flex;
    justify-content: center;
    align-items: center;
}

.success_info {
    background-color: var(--secondary-color);
    width: 100%;
    max-width: 500px;
    height: 300px;
    border-radius: 30px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 20px;
}
.success_info .icon {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-bottom: 30px;
    width: 80px;
    height: 80px;
    background-color: #6d865b;
}
.success_info .icon i {
    color: var(--secondary-color);
    font-size: 50px;
}
.light_btn a::after {
    content: none !important;
}
.dark_btn a {
    background-color: var(--main-color);
    color: var(--secondary-color) !important;
    transition: 0.1s ease-in-out;
}
.dark_btn a:hover {
    background-color: var(--secondary-color) !important;
    color: var(--main-color) !important;
}
.dark_btn a:hover::after {
    color: var(--main-color) !important;
}
.error_icon {
    background-color: #ab4b3c !important;
}
.success-text {
    color: var(--main-color);
}
.registration_form .group_input.radio .group label {
    color: var(--main-color);
}
input[type="radio"]:checked {
    accent-color: var(--main-color);
}
.registration_form .content {
    padding: 20px;
    border-radius: 20px;
    border: 2px solid rgb(128, 63, 5);
}
.registration_form .content input:not([type="radio"]) {
    border: 1px solid rgb(128, 63, 5);
    border-radius: 5px;
}
/* end registration form */
