.main-news {
    padding-bottom: 30px;
    padding-top: 30px;
    background-color: #F8F8F8;
    height:430px;
}
.main-news-data{
    direction: rtl;
}
.main-news-carousel .content{
    position: relative;
}
.main-news-carousel .post-snippet::before {
    content: '';
    position: absolute;
    right: 5px;
    top: 0;
    width: 4px;
    height: 5px;
    background-color: #c58d20;
    transition-delay: 0.5s;
    transition: all 1s ease;

}

.main-news-carousel .active .post-snippet::before {
    height: 100%;
}

.post-snippet{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    padding-right: 25px;
    -webkit-line-clamp: 8;
    line-clamp: 8;
    -webkit-box-orient: vertical;
    height: 275px;
}
.post-snippet:not(:empty)::after
{
    border-width: 9px 14px 9px 0;
    border-color: transparent #806F54 transparent transparent;
    content: '';
    position: absolute;
    top: 0;
    transform: translateY(-50%);
    right: 5px;
    margin: 0 auto;
    width: 0;
    height: 0;
    border-style: solid;
    z-index: 1;
    opacity: 0;
    transition: all 0.3s ease;
    transition-delay: 0.5s;
}
.main-news-carousel .active .content .post-snippet::after {
    opacity: 1;
    top: 50%;
}
main-news-image{
    height:439px;
}
.main-news-image img{
    height: 439px;
    border-radius: 10px;
}
.post-title a{
    font-size: 24px;
    font-weight: 500;
    color: #806F54;
    display: block;
    margin-bottom: 10px;
}
.post-cat{
    font-size: 13px;
    font-weight: 500;
    color: #806F54;
}
.main-news-carousel .owl-dots {
    position: absolute;
    bottom: -20px;
}
.main-news-carousel .read-more {
    display: block;
    background: #c58d20;
    border-bottom-right-radius: 24px;
    border-top-right-radius: 24px;
    padding-right: 12px;
    padding-bottom: 5px;
    color: #fff;
    font-size: 15px;
    position: absolute;
    left: -100px;
    width: 0;
    bottom: 10px;
    transition: 0.5s 0.5s;
    z-index: 1;
}
.main-news-carousel .active .read-more {
    left: -20px;
    width: 15%;
}
.village-carousel .owl-nav {
    bottom: -35px;
}
.departments-carousel .owl-dots,
.factsusel .owl-dots {
    position: relative;
    padding-top: 40px;
    width: 100%;
    text-align: center;
    display: none;
}
.departments-carousel .owl-dots .owl-dot,
.factsusel .owl-dots .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 10px;
}
.departments-carousel .owl-dots .owl-dot span,
.factsusel .owl-dots .owl-dot span {
    position: relative;
    display: block;
    width: 3px;
    height: 3px;
    background: #aaa;
    outline: rgba(0, 0, 0, 0) solid 2px;
    outline-offset: 4px;
}
.departments-carousel .owl-dots .owl-dot.active span,
.factsusel .owl-dots .owl-dot.active span {
    background: #c58d20;
    outline-color: #c58d20;
}
.facts-carousel .owl-dots {
    position: absolute;
    bottom: 10px;
}
.facts-carousel .owl-dots button.owl-dot,
.main-news-carousel .owl-dots button.owl-dot {
    margin-right: 15px;
    background-color: #8c8c8e;
    border-radius: 5px;
    opacity: 0.5;
    height: 4px;
    width: 10px;
    -webkit-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
}
.facts-carousel .owl-dots button.owl-dot.active,
.facts-carousel .owl-dots button.owl-dot:hover,
.main-news-carousel .owl-dots button.owl-dot.active,
.main-news-carousel .owl-dots button.owl-dot:hover {
    width: 30px;
    background-color: #c58d20;
    opacity: 1;
}
.departments-carousel .owl-stage-outer,
.news-section .news-carousel .owl-stage-outer {
    overflow: visible;
}
.news-carousel .owl-nav,
.village-carousel .owl-nav {
    position: absolute;
    left: 0;
}
.news-carousel .owl-nav button.owl-next,
.news-carousel .owl-nav button.owl-prev,
.village-carousel .owl-nav button.owl-next,
.village-carousel .owl-nav button.owl-prev {
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin-left: 10px;
    width: 42px;
    height: 42px;
    line-height: 40px;
    color: #fff;
    font-size: 19px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: 0.3s;
    -moz-transition: 0.3s;
    -webkit-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    background: #c58d20;
    border-radius: 50%;
}
.fluid-section .column:nth-child(2) .image-layer:before,
.news-carousel .owl-nav button.disabled,
.village-carousel .owl-nav button.disabled {
    background: #c58d20;
    opacity: 0.7;
}
.project-seven__link {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 18px;
    color: #000;
    -webkit-transition: color .5s,background .5s,opacity .5s,-webkit-transform .5s;
    transition: color .5s,background .5s,transform .5s,opacity .5s,-webkit-transform .5s;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    opacity: 0
}

.project-seven__link:hover {
    background-color: #c58d20;
    color: #fff
}

.project-seven__item:hover .project-seven__link {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1
}

.project-seven__item {
    overflow: hidden;
    border-radius: 15px;
    position: relative;
    height: 300px;
    margin-bottom: 25px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 26%)
}

.project-seven__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    -webkit-transition: opacity .5s,-webkit-transform .5s;
    transition: transform .5s,opacity .5s,-webkit-transform .5s
}

.project-seven__item:hover img {
    opacity: 1;
    -webkit-transform: scale(1.1);
    transform: scale(1.1)
}

.project-seven__content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 30px;
    background-image: -webkit-gradient(linear,left bottom,left top,from(black),color-stop(70%,rgba(0,0,0,0)));
    background-image: linear-gradient(to top,#000 0,rgba(0,0,0,0) 70%)
}

.project-seven__category {
    color: #fff;
    font-size: 14px;
    margin: 0 0 9px;
    line-height: 1
}

.project-seven__title {
    margin: 0;
    font-size: 17px;
    color: #fff;
    line-height: 1.2em;
    font-weight: 700
}

.project-seven__title a {
    color: inherit;
    -webkit-transition: .5s;
    transition: .5s
}

.event-block-three .lower-box,.ui-menu .ui-menu-item-wrapper {
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
    display: block
}

.project-seven__title a:hover {
    color: #c58d20
}

.news-section {
    position: relative;
    padding: 110px 0;
    background: #fff;
    overflow: hidden;
}



.news-section .news-carousel .owl-stage-outer {
    overflow: visible
}

.news-carousel .owl-nav,.village-carousel .owl-nav {
    position: absolute;
    left: 0
}

.news-carousel .owl-nav {
    bottom: 130px
}

.news-carousel .owl-nav .owl-next:hover,
.news-carousel .owl-nav .owl-prev:hover,
.village-carousel .owl-nav .owl-next:hover,
.village-carousel .owl-nav .owl-prev:hover {
    border-color: #c58d20;
    color: #fff
}

.services-section-two {
    position: relative;
    padding: 100px 0 80px;
    background: #333333;
}
.featured-block-six {
    position: relative;
    margin-bottom: 30px;
    z-index: 3;
}

.featured-block-six:hover {
    z-index: 5;
}

.featured-block-six .inner-box {
    position: relative;
    display: block;
}

.featured-block-six .content-box {
    position: relative;
    display: block;
    padding: 25px 20px;
    background: #f1f1f1;
    z-index: 2;
}

.featured-block-six .content-box .content {
    position: relative;
    padding-top: 15px;
    min-height: 70px;
    z-index: 1;
}

.ui-selectmenu-text {
    font-weight: 500;
}

.featured-block-six .content-box h4 {
    color: #222222;
    font-weight: 700;
    line-height: 1.25em;
    margin: 0;
    font-size: 17px;
}

.featured-block-six .content-box h4 a {
    color: #222222;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.featured-block-six .content-box h4 a:hover {
    color: #c58d20;
}

.featured-block-six .inner-box:hover .content-box h4 a,
.featured-block-six .inner-box:hover .content-box .subtitle {
    color: #c58d20;
}

.featured-block-six .content-box .text {
    position: relative;
    margin-top: 15px;
    line-height: 1.65em;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.featured-block-six .inner-box:hover .content-box .text {
    color: #b2b2b2;
}

.featured-block-six .hvr-dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    padding: 10px 30px;
    background: #ffffff;
    box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50px);
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
    z-index: 1;
}

.featured-block-six .inner-box:hover .hvr-dropdown {
    transform: translateY(0px);
    opacity: 1;
    visibility: visible;
}

.featured-block-six .hvr-dropdown ul {
    position: relative;
    display: block;
}

.featured-block-six .hvr-dropdown ul li {
    position: relative;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
    padding: 10px 0px;
    line-height: 24px;
}

.featured-block-six .hvr-dropdown ul li:last-child {
    border-bottom: none;
}

.featured-block-six .hvr-dropdown ul li a {
    position: relative;
    display: block;
    color: #757575;
    font-size: 14px;
    text-transform: capitalize;
}

.featured-block-six .hvr-dropdown ul li a:hover {
    color: #c58d20;
}


.fluid-section {
    position: relative;
    padding: 0;
}

.fluid-section .top-icon-box {
    position: absolute;
    left: 50%;
    margin-left: -65px;
    top: -65px;
    width: 130px;
    height: 130px;
    font-size: 60px;
    line-height: 140px;
    background: #f1f1f1;
    color: #c58d20;
    text-align: center;
    border-radius: 50%;
    z-index: 2;
}

.alternate-icon .top-icon-box {
    background: #ffffff;
    box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.10);
}

.fluid-section .row {
    margin: 0;
}

.fluid-section .column {
    position: relative;
    padding: 0;
    color: #ffffff;
}


.fluid-section .column .inner {
    position: relative;
    float: right;
    width: 100%;
    max-width: 600px;
    padding-right: 100px;
}

.fluid-section .column:nth-child(2) .inner {
    float: left;
    padding-right: 0;
    padding-left: 100px;
}

.fluid-section .column .content {
    position: relative;
    display: block;
    padding: 110px 15px 100px;
}

.fluid-section .column .upper-title h2 {
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}
.fluid-section .top-icon-box img {
    width: 32%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -60px;
    margin-left: -25px;
}
.red{
    background-color: #ff0019;
}
.green{
    background-color: #00aa55;
}
.red ,.green{
    opacity: .7;
}
.calender-section {
    position: relative;
    padding: 110px 0;
    background: #f8f8f8;
    overflow: hidden;
}
.event-content {
    width: 100%;
    height: 435px;
    position: relative;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
}
.events-container {
    height: 100%;
    width: 55%;
    margin: 0 auto;
    display: inline-block;
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
    padding: 1%;
    overflow-x: hidden;
    overflow-y: scroll;
}
.calendar-container:after,
.events-container:after {
    clear: both;
}
.event-card {
    background: #fff;
    margin-bottom: 5px;
    width: 48%;
    float: right;
    height: 37px;
    margin-right: 1%;
    margin-left: 1%;
    border-left: 5px solid #c58d20;
    overflow: hidden;
}
.event-name {
    display: block;
    color: #000;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 3px;
}
.event-count {
    color: #7e0cf5;
    text-align: right;
}
.event-cancelled {
    color: #000;
    text-align: right;
}
.calendar-container {
    position: relative;
    margin: 0 auto;
    height: 100%;
    width: 45%;
    background: #fff;
    display: inline-block;
    padding: 0 10px;
    float: right;
}
.calendar {
    width: 100%;
    padding: 0;
}
.year-header {
    background: #fff;
    text-align: center;
    position: relative;
    color: #fff;
    margin-top: 10px;
}
.year-header span {
    display: inline-block;
    font-size: 17px;
    line-height: 30px;
    color: #000;
    font-weight: 700;
}
.left-button,
.right-button {
    cursor: pointer;
    width: 28px;
    text-align: center;
    position: absolute;
    color: #ccc !important;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    font-size: 14px !important;
}
.day,
.month {
    height: 26px;
    width: 26px;
    line-height: 26px;
    text-transform: uppercase;
}
.dates-table,
.days-table,
.months-table {
    border-collapse: separate;
    text-align: center;
}
.day {
    padding: 0 10px;
    border: 2px solid transparent;
    font-size: 10px;
    color: #000;
}
.month {
    cursor: pointer;
    padding: 10px 2px 0;
    font-size: 11px;
    color: #717171;
    -webkit-transition: 250ms;
    -o-transition: 250ms;
    transition: 250ms;
}
@media (max-width: 991.98px) {
    .calendar-container {
        padding: 0;
    }
    .month {
        font-size: 8px;
    }
}
@media (max-width: 767.98px) {
    .event-content {
        height: auto;
    }
    .events-container {
        width: 100%;
        height: auto;
    }
    .calendar-container {
        padding: 0;
        width: 100%;
    }
    .month {
        font-size: 10.5px;
    }
}
.active-month {
    font-weight: 700;
    color: #000;
}
.table-date {
    cursor: default;
    color: #2b2b2b;
    text-align: center;
    border-radius: 5px;
    -webkit-transition: 250ms;
    -o-transition: 250ms;
    transition: 250ms;
    position: relative;
    font-size: 16px;
    padding: 12px 0;
}
.event-date {
    background: #000;
    color: #fff;
}
.active-date {
    background: #c58d20;
    color: #fff;
}
.all_event,
.event-counter {
    position: absolute;
    background: #c58d20;
    left: 0;
}
.event-date:after {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
}
.event-counter {
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    font-size: 13px;
}
.all_event {
    bottom: 10px;
    border-bottom-right-radius: 24px;
    border-top-right-radius: 24px;
    padding-right: 12px;
    padding-bottom: 5px;
    font-size: 15px;
}
.all_event a{
    color: #ffffff;
}

.departments-section {
    position: relative;
    background: #fff;
}
.pattern-container {
    position: relative;
    display: block;
    background: url(../images/pattern-3.jpg) left top #fff;
    overflow: hidden;
}
.pattern-container .departments-section,
.pattern-container .get-info-section {
    position: relative;
    background: 0 0;
}
.departments-section .upper-row {
    position: relative;
    padding: 110px 0 80px;
}
.departments-section .bg-layer {
    position: absolute;
    left: 50%;
    top: 0;
    right: 0;
    bottom: -110px;
    margin-left: -585px;
    width: 5000px;
    background: #f1f1f1;
}
.departments-section .image-column .inner {
    position: relative;
    display: block;
    padding-right: 20px;
    margin-left: -350px;
}
.departments-section .image-column img, .main-news-image img {
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%);
    background-size: cover;
    background-position: center;
    transition: 0.3s;
    border-radius: 10px;
    height: 350px;
    position: relative;
    z-index: 999;
    object-fit: cover;
}

.contact-section .form-box button {
    display: block;
    width: 100%;
}
.village-section{
    padding-top: 100px;
    background-color: #f8f8f8;
}
.hvr_card .face {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
    max-width: 300px;
    height: 100px;
    transition: 0.5s;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
}
.hvr_card .face.face1 {
    position: relative;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transform: translateY(75px);
}
.hvr_card:hover .face.face1 {
    transform: translateY(0);
    background-color: #c58d20;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.hvr_card .face.face1 .content {
    opacity: 0.8;
    transition: 0.5s;
}
.hvr_card .face.face1 .content h3 {
    margin: 10px 0 0;
    padding: 0;
    color: #000;
    text-align: center;
    font-size: 1.5em;
}
.hvr_card:hover .face.face1 .content h3 {
    color: #fff !important;
}
.hvr_card .face.face2 {
    height: 0;
    position: absolute;
    background: #fff;
    color: #fff;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transform: translateY(-100px);
}
.hvr_card:hover .face.face2 {
    transform: translateY(-20px);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    height: auto;
    z-index: 999;
    box-shadow: 0 20px 25px 0 rgba(0, 0, 0, 0.07);
    color: #000;
}
.hvr_card .face.face2 .paragraph {
    margin: 0;
    padding: 20px;
}
.hvr_card .face.face2 span {
    display: block;
    font-weight: 900;
    padding: 5px;
    width: 100%;
    background: #c58d20;
    text-align: center;
    color: #fff;
}
.main-map-row {
    overflow: hidden;
    padding-top: 50px;
}
.map-highlight {
    height: 882px;
    width: 300px;
}
.flip-card {
    background-color: transparent;
    height: 180px;
    perspective: 1000px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 5px 13px 16px rgba(0, 0, 0, 0.31);
    cursor: pointer;
}
.flip-card-front,
.flip-card-front::after {
    background: linear-gradient(rgba(255, 255, 255, 0) 0, rgba(129, 129, 129, 0) 49.26%, #000 100%);
}
@media (max-width: 767px) {
    .flip-card {
        height: 140px;
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.31);
    }
}
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}
.flip-card-back,
.flip-card-front {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}
.flip-card-front {
    color: #000;
}
.flip-card-front::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
}
.flip-card-front img {
    filter: grayscale(100%);
}
.flip-card-front h4 {
    position: absolute;
    bottom: 0;
    color: #fff;
    text-align: center;
    width: 100%;
    z-index: 30;
}
.flip-card-back {
    background-color: rgba(255, 255, 255, 0.85);
    color: #fff;
    transform: rotateY(180deg);
    z-index: 20;
}
.flip-card-back p {
    font-weight: 700;
    color: #000;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
