/*!
Theme Name: Zodiac2025
Theme URI: http://cerseilabs.com/
Author: slavisaperisic.com
Author URI: http://cerseilabs.com/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: zodiac
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/
.mainHeading {
    font-size: 35px;
}

.listBlock {
    padding: 40px 0;
    margin: 40px 0;
}

.testimonialsBlock {
    max-width: 780px;
    margin: 40px auto 0 auto;
}

.listBlock {
    padding: 40px 0;
    margin: 40px 0;
}

.testimonialBox {
    width: 720px;
    padding: 30px;
    background-color: #FFF;
    margin: 40px 0;
}

#testimonials {
    width: 780px;
    margin: 0 auto 60px;
}

.testimonialBox img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.testimonialHeading span {
    float: right;
}

.testimonialBox p {
    font-size: 16px;
    margin-bottom: 10px;
}

.testimonialBox p:last-child {
    margin-bottom: 0;
}

.tve_image {
    width: auto;
}

.bullets li {
    font-size: 18px;
    margin-bottom: 10px;
}

.listBlock.special {
    margin: 60px 0 40px 0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.open-menu-holder {
    padding: 11px 0px;
}

.open-menu {
    cursor: pointer;
}

#sidenav {

    -webkit-transition: transform .2s ease-in-out;
    -moz-transition: transform .2s ease-in-out;
    -o-transition: transform .2s ease-in-out;
    transition: transform .2s ease-in-out;
    z-index: -1;
    max-width: 100%;
    display: block;
    position: fixed;
    background: #ffffff;
    color: #000000;
    padding-top: 80px;
    top: 0;
    bottom: 0;
    width: 100%;
    transform: translateX(-100%);
}

#sidenav ul {
    list-style-type: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

#sidenav ul li {
    display: block;
}

#sidenav ul a {
    font-size: 16px;
    line-height: 2em;
    box-shadow: none;
    letter-spacing: initial;
    color: #000 !important;
    text-decoration: none !important;
    font-weight: bold;
    padding: 10px 2em;
    display: inline-block;

}

.close-menu {
    position: absolute;
    right: 12px;
    top: 12px;
}

#sidenav.active-menu-mobile {


    -webkit-transition: transform .2s ease-in-out !important;
    -moz-transition: transform .2s ease-in-out !important;
    -o-transition: transform .2s ease-in-out !important;
    transition: transform .2s ease-in-out !important;
    z-index: 9999912;
    transform: translateX(0%);
}


#sidenav .mobile-menu {
    border-color: #FAF5F0
}



@media only screen and (max-width: 768px) {
    #testimonials {
        width: 100%;
    }

    .testimonialBox {
        width: 90%;
        padding: 5%;
        float: none;
    }
}

/* Pagination Styles */
.pagination-wrapper {
    margin: 40px 0;
}

.pagination-nav .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination-nav .page-numbers:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
    text-decoration: none;
}

.pagination-nav .page-numbers.current {
    color: #ffffff;
    font-weight: bold;
}

.pagination-nav .page-numbers.prev,
.pagination-nav .page-numbers.next {
    font-weight: bold;
}

.pagination-nav .page-numbers.prev:hover,
.pagination-nav .page-numbers.next:hover {
    color: #ffffff;
}

body.error404,
body.category {
    background-image: none !important;
}

.error404 .logo-holder {
    max-width: 300px;
    text-align: center;
    margin: 0 auto;
}

.logo-holder img {
    max-width: 100%;
    height: auto;

}

.error404 .container-fluid {
    padding: 0 15px;
}

header .container-fluid {
    padding: 0 15px;
}

.error404 h1 {
    font-size: 50px !important;
    text-transform: none !important;
    line-height: 1.1em !important;
    color: rgb(34, 34, 34) !important;
    font-family: Raleway !important;
    margin: 50px 0;
}

.error404 .container {
    width: auto;
    max-width: 1100px;
}

.error404 footer {
    width: auto;
    margin: 60px auto 0;
    padding: 60px 0;
}

.error404 .search-form {
    display: flex;
    align-items: center;
    justify-content: start;
}

.error404 form label {
    width: 70%;
    min-width: 70%;
    margin: 0;
}

.error404 form input {
    max-width: calc(100% - 40px);
    display: block;
    height: auto;
    padding: 20px !important;
    font-size: 20px;
    border: 1px solid;
}

.error404 form input[type="submit"] {
    width: 30%;
    min-width: 30%;
    color: #fff;

}

.headerContainer {
    width: auto !important;
}

.headerContainer img {
    width: auto !important;
    max-width: 100%;
    height: auto;
    margin: 0 auto !important;
    display: block;
    float: none;
}

.latest-posts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.latest-posts .latest-post {
    width: 32%;
    min-width: 32%;
    margin-bottom: 20px;
}

.latest-posts .latest-post a img {
    width: 100%;
    height: 217px;
    object-fit: cover;
}

.latest-posts .latest-post a h3 {
    padding: 10px;
    display: block;
    text-align: center;
}

.latest-posts .latest-post a:hover h3 {
    text-decoration: underline;
}

.latest-posts .latest-post a:hover img {
    opacity: 0.9;
}

p.lead {
    font-size: 28px !important;
    line-height: 1.1em !important;
    font-weight: 400 !important;
    margin: 70px 0 30px;
}

.error404 footer ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0;
}

.error404 footer ul li {
    float: none;
}

/* Mobile Menu Styles */
.mobile-parent-link {
    display: inline-block;
    width: calc(100% - 40px);
}

.mobile-submenu-toggle {
    display: inline-block;
    width: 40px;
    text-align: center;
    cursor: pointer;
    padding: 8px 0;
    transition: transform 0.3s ease;
}

.mobile-submenu-toggle:hover {
    color: #28a745;
}

.mobile-submenu-toggle.active {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    padding-left: 20px;
    margin-top: 10px;
    border-left: 2px solid #e9ecef;
}

.mobile-submenu.show {
    display: block;
}

.mobile-submenu .submenu-link {
    padding: 8px 15px;
    color: #6c757d;
    font-size: 14px;
}

.mobile-submenu .submenu-link:hover {
    color: #28a745;
    background-color: #f8f9fa;
}

.has-submenu {
    position: relative;
}

.has-submenu>.nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* WordPress Menu Styles - Desktop */
.navbar-nav .menu-item-has-children {
    position: relative;
}

.navbar-nav .menu-item-has-children:hover .sub-menu,
.navbar-nav .menu-item-has-children .sub-menu:hover {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-nav .sub-menu {
    position: absolute;
    top: calc(100% - 5px);
    left: 0;
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.3s ease;

    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 12px 0;
    min-width: 250px;
    z-index: 9999;
    list-style: none;
}

/* Add padding to create hover bridge between parent and submenu */
.navbar-nav .sub-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.navbar-nav .sub-menu .menu-item {
    margin: 0;
    padding: 0;
}

.navbar-nav .sub-menu .menu-item a {
    display: block;
    padding: 12px 24px;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.navbar-nav .sub-menu .menu-item a:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);

    transform: translateX(3px);
}

/* Special styling for category menu items (parent items) */
.navbar-nav .menu-item-object-category>a {
    position: relative;
    transition: color 0.3s ease;
}



.navbar-nav .menu-item-has-children>a::after {
    content: "";
    display: inline-block;
    margin-left: 8px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.navbar-nav .menu-item-has-children:hover>a::after {
    transform: rotate(180deg);
}

.main-menu-block {
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 30px !important;
    background-color: #fff;
}

/* Smooth animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-nav .menu-item-has-children:hover .sub-menu {
    animation: fadeInDown 0.3s ease-out;
}

/* Styles for the social sharing container */
.social-sharing {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
    /* Wrap buttons on smaller screens */
}

/* Styles for individual social buttons */
.social-button {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    margin: 5px;
    /* Add spacing between buttons */
    text-decoration: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Styles for smaller buttons on mobile */
@media (max-width: 768px) {
    .social-button {
        font-size: 14px;
        /* Adjust the font size as needed */
    }
}

/* Styles for individual social buttons */
.social-button a {
    color: #fff;
}

/* Styles for individual social buttons */
.social-button a:hover {
    color: #fff;
}

/* Styles for Facebook link */
.social-button.facebook {
    background-color: #1877f2;
    /* Facebook blue */
    color: #fff;
}

/* Styles for Twitter link */
.social-button.twitter {
    background-color: #1da1f2;
    /* Twitter blue */
    color: #fff;
}

/* Styles for Pinterest link */
.social-button.pinterest {
    background-color: #bd081c;
    /* Pinterest red */
    color: #fff;
}

/* Styles for WhatsApp link */
.social-button.whatsapp {
    background-color: #25d366;
    /* WhatsApp green */
    color: #fff;
}

/* Hover styles for all links */
.social-button:hover {
    background-color: #0055a5;
    /* Darker color on hover */
}


@media (max-width: 992px) {
    .pagination-nav .page-numbers {
        padding: 8px 12px;
        margin: 5px 2px;
        font-size: 14px;
    }

    .menu-main-menu-container ul {
        padding-left: 0;
    }

    .menu-main-menu-container ul li a {
        color: #fff;
        padding: 10px 0;
        display: block;
    }

    #navbarNav .menu-item-has-children>a:after {
        display: none;
    }

    .pagination-wrapper {
        margin: 20px 0;
    }


    #menu-blog-menu-1 {
        padding-bottom: 20px;
    }


    /* Mobile menu styles */
    .navbar-nav .menu-item-has-children {
        position: relative;
    }

    .navbar-nav .menu-item-has-children>a {
        position: relative;
        padding-right: 50px;
    }

    /* Hide the CSS arrow on mobile */
    .navbar-nav .menu-item-has-children>a::after {
        display: none;
    }

    /* Add a clickable toggle button */
    .navbar-nav .menu-item-has-children::after {
        content: "";
        position: absolute;
        right: 15px;
        top: 20px;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 7px solid currentColor;
        cursor: pointer;
        transition: transform 0.3s ease;
        z-index: 10;
        padding: 0;
        margin: 0px;
    }

    .navbar-nav .menu-item-has-children.menu-open::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .navbar-nav .sub-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: #f8f9fa;
        border: none;
        border-radius: 0;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
        margin: 10px 0 0 15px;
        padding: 8px 0;
        animation: none;
        border-left: 3px solid;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    .navbar-nav .sub-menu.show {
        display: block !important;
        max-height: 500px;
        opacity: 1;
    }

    .navbar-nav .sub-menu::before {
        display: none;
    }

    #navbarNav .menu-item-has-children a {
        padding: 10px;
    }

    #navbarNav .sub-menu li:last-of-type {
        border-bottom: none;
    }

    .navbar-nav .sub-menu .menu-item a {
        padding: 12px 20px;
        background: transparent;
        border-left: none;
        transform: none;
        font-size: 14px;
        color: #666;
    }

    .navbar-nav .sub-menu .menu-item a:hover {
        background: #e9ecef;
        color: #28a745;
        transform: none;
        padding-left: 20px;
        border-left: none;
    }
}