/* Container */
.swiper-container.toppslider {
    width: 100%;
    max-width: 1200px;
    height: 560px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* Slides */
.toppslider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.toppslider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 14%;
}

/* Pagination */
.swiper-pagination {
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.swiper-pagination-bullet {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 100%;
    opacity: 1;
    margin: 0 4px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #365880;
}

/* Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 27px;
    height: 44px;
    background-size: 27px 44px;
    z-index: 10;
    cursor: pointer;
    color: #f2ff82;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

@media(max-width:480px) {
    .toppslider .swiper-pagination {
        margin-left: 15px;
    }
}



.swiper-container.latest-posts-slider {
    overflow: hidden;
    padding: 20px;
}

.swiper-container.latest-posts-slider h3 {
    margin: -1px 0 5px;
    font-size: 18px;
    line-height: 1.2;
    transition: color 0.3s ease;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.latest-posts-slider .swiper-slide {
    display: flex;
    flex-direction: column;
    height: auto;
    border-radius: 3px !important;
    overflow: hidden;
}

.latest-posts-slider .slider-post-image {
    background-repeat: no-repeat;
    height: 240px;
}

.latest-posts-slider .slider-post-content {
    padding: 1rem 0.5rem 1rem 0.5rem;
}

.latest-posts-slider .slider-post-link {
    color: #333;
    /* Adjust the text color to your desired value */
    text-decoration: none;
}


.latest-posts-slider .slider-post-excerpt {
    margin-top: 0.5rem;
    line-height: 1.5rem;
}

/* Add box shadow to each post */
.latest-posts-slider .swiper-slide {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Increase box shadow and move post up slightly on hover */
.latest-posts-slider .swiper-slide:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-10px);
}





.myndabuttons * {
    display: inline-block;
}

.myndabuttons {
    text-align: right;
    float: right;
}

.myndabuttons svg#icon-arrow-left {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.myndabuttons .icon-button.lefty {
    margin-right: .5rem;
}

.myndabuttons .icon-button {
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 5px;
    background-color: #ffffff;
    box-shadow: 0 2px 8px 0 rgba(130, 124, 110, .25);
    transition: -webkit-transform .15s ease;
    transition: transform .15s ease;
    transition: transform .15s ease, -webkit-transform .15s ease;
}

.myndabuttons svg,
.heart svg {
    width: 100%;
    height: 100%;
}







/* Overlay styles for the button */
.toppslider .swiper-slide .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; /* Remove underline from links */
}

.toppslider .swiper-slide .slide-overlay .overlay-button-image {
    max-width: 390px; /* Adjust size as needed */
    position: relative; /* Position relative to allow absolute positioning of text */
}

.toppslider .swiper-slide .slide-overlay .overlay-text {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust position to truly center */
    font-size: 50px;
    font-weight: 300;
    line-height: 65px;
    color: #333;
    text-align: center;
    padding: 10px 20px;
    border-radius: 10px;
    z-index: 10; /* Ensure text is above the image */
}









.toppslider .swiper-slide {
    position: relative;
}

.slide-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 10;
    text-align: left;
}
@media (min-width: 992px) {
    .slide-content {
        max-width: 60%;
    }
}
@media (max-width: 767px) {
    .slide-content {
        bottom: 15px;
        left: 15px;
        padding-right: 15px;
    }
}
.slide-title {
    color: #fff;
    font-size: 53px;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
@media (max-width: 991px) {
    .slide-title {
        font-size: 42px;
    }
}
@media (max-width: 767px) {
    .slide-title {
        font-size: 24px;
    }
}
.slide-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #365880;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 700;
}

.slide-button:hover {
    background-color: #ffff;
    color:#365880;
    border: 2px solid #365880;
}

.toppslider .swiper-pagination {
    text-align: right;
    padding-right: 21px;
}

.toppslider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border-radius: 0;
    margin: 0 6px;
}





.masthead-inline .x-navbar .desktop .sub-menu {
    right: auto !important;
}