/*
 Theme Name:   YOOtheme Child
 Template:     yootheme
 Author:       John Doe
 Description:  YOOtheme Child Theme
 Version:      1.0.0
 Text Domain:  yootheme-child
*/

nav.custom-menu {
    position: relative;
    width: 100%;
    z-index: 999;
}

nav.custom-menu .menu-principale {
    float: right;
    margin-top: 37px;
}

nav.custom-menu .top-menu {
    padding-top: 15px;
}

nav.custom-menu .menu-prinipale {
    float: right;
}

nav.custom-menu .bottom-menu {
    line-height: 100px;
    height: 100px;
}

nav.custom-menu ul li a {
    display: inline !important;
}

body.home nav.custom-menu .bottom-menu {
    padding-bottom: 15px;
    border-bottom: 1px solid #fff;
}

nav.custom-menu .bottom-menu {
    padding-bottom: 15px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

body.home #mega-menu-wrap-top-menu #mega-menu-top-menu>li.mega-menu-item>a.mega-menu-link {
    color: #fff;
}

body.home #mega-menu-wrap-navbar #mega-menu-navbar>li.mega-menu-item>a.mega-menu-link {
    color: #fff;
}

#mega-menu-wrap-top-menu #mega-menu-top-menu>li.mega-menu-item>a.mega-menu-link {
    color: #000;
}

#mega-menu-wrap-navbar #mega-menu-navbar>li.mega-menu-item>a.mega-menu-link {
    color: #000;
}

body.home #mega-menu-wrap-mobile .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner,
body.home #mega-menu-wrap-mobile .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::before,
body.home #mega-menu-wrap-mobile .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::after {
    background-color: #fff;
}

#mega-menu-wrap-mobile .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner,
#mega-menu-wrap-mobile .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::before,
#mega-menu-wrap-mobile .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::after {
    background-color: #000;
}

body.home #mega-menu-wrap-navbar #mega-menu-navbar>li.mega-menu-item.mega-current-menu-item>a.mega-menu-link {
    color: #fff;
}

#mega-menu-wrap-navbar #mega-menu-navbar>li.mega-menu-item.mega-current-menu-item>a.mega-menu-link,
#mega-menu-wrap-navbar #mega-menu-navbar>li.mega-menu-item.mega-current-menu-ancestor>a.mega-menu-link,
#mega-menu-wrap-navbar #mega-menu-navbar>li.mega-menu-item.mega-current-page-ancestor>a.mega-menu-link {
    color: #666;
}

#mega-menu-wrap-mobile .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner,
#mega-menu-wrap-mobile .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::before,
#mega-menu-wrap-mobile .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::after {
    background-color: #000;
}

.home #mega-menu-wrap-mobile .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner,
.home #mega-menu-wrap-mobile .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::before,
.home #mega-menu-wrap-mobile .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::after {
    background-color: #bbb;
}

nav.custom-menu .menu-principale ul li {
    margin-left: 15px;
}

.hero-home {
    position: absolute;
    top: 0;
    height: auto;
    width: 100%;
    z-index: 9;
}

.hero-home img.background {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.uk-navbar-container {
    display: none;
}

.uk-nav-default>li>a {
    color: #fff !important;
}

.uk-nav-default>li>a:hover {
    color: #c5c5c5 !important;
}

body.home .tm-page {
    margin-top: 750px
}

.hero-home .hero-search {
    width: 100%;
    position: absolute;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
}

.hero-home .hero-search .uk-container {
    display: flex;
    flex-direction: row;
}

.hero-home .hero-search .uk-container div {
    flex: auto;
}

.is-form-style input.is-search-input {
    height: 53px;
}

body.home .is-form-style-2.is-form-id-5440 .is-search-input,
body.home .is-form-style-2.is-form-id-1175 .is-search-input {
    color: #fff !important;
    border-color: transparent !important;
    background-color: transparent !important;
    border-left: 2px solid #fff !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    padding-left: 50px;
}

.merceologie {
    border-left: 2px solid #fff;
    padding: 0 12px;
}

.merceologie a {
    color: #fff !important;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 53px;
}

.hero-home .hero-content {
    position: absolute;
    top: 310px;
}

.hero-home .hero-content h1,
.hero-home .hero-content p {
    color: #fff;
}

.hero-home .hero-content .hero-button {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 5px 20px 5px 20px;
    width: 300px;
}

.hero-home .hero-content .hero-button .border {
    border-left: 2px solid rgb(142, 8, 17);
    padding-left: 10px;
}


#particles-js {
    width: 100%;
    height: 800px !important;
    background: rgb(142, 8, 17) !important;
    background: linear-gradient(90deg, rgba(142, 8, 17, 1) 0%, rgba(64, 3, 7, 1) 35%, rgba(142, 8, 17, 1) 100%) !important;
    background-image: url(style.css);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.col-custom {
    width: 50%;
}

body.home .uk-section-default {
    background: #fff;
}

body.home .section-2 {
    background-color: #f3f3f3;
    padding: 50px 0;
}

body.home .section-3 {
    background-color: #f3f3f3;
    padding: 50px 0 100px 0;
}

body.home .section-home strong {
    color: #8e0811;
}

.home-section1-titolo {
    font-weight: normal;
}

body.home .section-home a {
    color: #8e0811;
}

body.home .section-4.uk-section {
    padding-top: 0;
}

.border-left-red {
    border-left: 2px solid #8e0811;
    padding-left: 10px;
}

.border-left-red p {
    margin-top: 0;
}

footer {
    padding: 50px 0;
    background-color: #5d282a;
    color: #fff;
}

.prefooter {
    background-color: #944044;
    color: #fff;
}

.prefooter h4 {
    margin-top: 40px;
    color: #fff;
}

footer a {
    color: #fff;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.container-footer {
    display: flex;
    gap: 30px;
}

.custom-flex-container {
    display: flex;
}

.custom-flex-container .col {
    flex: 33%;
}

.container-prefooter {
    display: flex;
}

.container-footer .col-1 {
    flex: 50%;
}

.container-footer .col-2 {
    flex: 40%;
}

.container-footer .col-3 {
    flex: 10%;
}

.container-prefooter .col-1 {
    flex: 80%;
}

.container-prefooter .col-2 {
    flex: 51%;
}

.container-footer .col-1 p {
    padding-right: 30%;
}

.prefooter input {
    padding: 10px;
    width: 100%;
    max-width: 400px;
}

.prefooter #acym_fulldiv_formAcym1.acym__subscription__form__shortcode {
    height: auto;
    max-width: 800px;
    background-color: transparent;
    color: #000000 !important;
    padding: 0;
    text-align: left;
    display: block;
}

.mec-wrap.mec-sm959 .mec-calendar.mec-event-calendar-classic dl.mec-calendar-row dt {
    height: 100px !important;
}

.social a:hover {
    text-decoration: none;
}

.social {
    padding: 30px 58px;
}

.input-container {
    position: relative;
    display: inline-block;
}

.input-container input {
    padding-left: 30px;
}

.input-container .icon-search {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
}

.input-container .icon-search img {
    width: 20px;
    height: 20px;
}

.icon-search img {
    width: 20px;
    position: absolute;
    top: 15px;
    margin-left: 15px;
}

body.home form.is-search-form input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

img.logo-gisi,
img.logo-gisi-home {
    max-width: 100%;
    width: 280px;
}

.mec-event-list-modern .mec-btn-wrapper .mec-booking-button {
    letter-spacing: 0 !important;
}

main.notiziario article {
    margin: 50px 0;
}

main.notiziario h2 {
    color: #944044;
}

main.notiziario h2:hover {
    color: #000;
}

main.notiziario a {
    color: #944044;
}

main.notiziario a:hover {
    color: #000;
}

main.notiziario a:hover {
    text-decoration: none !important;
}

/* Custom Post Type News */
.sidebar-news {
    margin-right: 60px;
}

.container-news {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
}

.container-news-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.container-news-article .news-box img {
    width: 100%;
    object-fit: cover;
    height: 250px;
}

.container-news-article h2 {
    font-size: 26px;
    font-weight: 500;
}

.container-news-article a:hover {
    text-decoration: none;
}

.container-news-article a:hover h2 {
    color: #8e0811;
}

.news-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.news-box .spacer {
    flex-grow: 1;
}

.container-news-article article {
    margin-bottom: 50px;
}

.sidebar-news img {
    width: 100%;
}

.newsletter-sidebar {
    margin-top: 50px;
}

.newsletter-sidebar #acym_fulldiv_formAcym1.acym__subscription__form__shortcode {
    height: unset !important;
    max-width: unset !important;
    background-color: transparent !important;
    color: #000000 !important;
    padding: 0 !important;
    text-align: left !important;
    display: block !important;
    margin: 0 !important;
}

.newsletter-sidebar h4,
.lista-tag h4 {
    font-size: 16px;
    color: #8e0811;
}

.newsletter-sidebar input {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
}

.is-form-id-51036 {
    margin-top: 25px;
}

.is-form-id-51036 input.is-search-input {
    height: 36px !important;
}

.lista-tag h4 {
    margin-top: 50px;
}

.lista-tag p {
    text-transform: uppercase;
}

.news-content .next-posts-link {
    text-align: right;
}

.news-content .pagination a {
    color: #8e0811;
    font-size: 35px;
    font-weight: 500;
}

.news-content .pagination a:hover {
    text-decoration: none;
    color: #620b0e;
}

/**/

@media screen and (max-width: 1200px) {
    nav.custom-menu .mobile-menu {
        display: block;
    }

    nav.custom-menu .top-menu,
    nav.custom-menu .bottom-menu {
        display: none;
    }

    nav.custom-menu .mobile-menu img {
        width: 200px;
    }

    nav.custom-menu .mobile-menu .mobile-hamburger-principale {
        position: absolute;
        top: 30px;
        right: 40px;
    }

    .hero-home .hero-content {
        position: absolute;
        top: 170px;
    }

    .container-prefooter .col-2 {
        margin-bottom: 50px;
    }

    .col-custom {
        width: 85%;
    }

    .container-footer {
        display: block;
    }

    .prefooter input {
        width: 90%;
    }

    .container-prefooter {
        display: block;
    }

    .container-footer .col-1 p {
        padding-right: 0;
    }

    .prefooter img {
        display: none;
    }

    .prefooter #acym_fulldiv_formAcym1.acym__subscription__form__shortcode {
        max-width: unset;
    }

    .container-news {
        display: block;
    }

    .container-news-article {
        display: block;
    }

    .container-news-article .news-box img {
        height: 100%;
    }

    .news-box {
        display: block;
    }

    .news-content .pagination {
        margin-bottom: 75px;
    }

    .news-content .next-posts-link {
        text-align: center;
    }

    .news-content .previous-posts-link {
        text-align: center;
    }

    .sidebar-news {
        margin: 0px 30px;
    }
}

@media screen and (min-width: 1200px) {
    nav.custom-menu .mobile-menu {
        display: none;
    }

    nav.custom-menu .top-menu,
    nav.custom-menu .bottom-menu {
        display: block;
    }

    nav.custom-menu {
        width: 1200px;
    }

    .background-menu-custom.custom-menu-scroll {
        background: rgba(0, 0, 0, 0.4);
        height: 116px;
        position: fixed;
        width: 100%;
        z-index: 99999;
        backdrop-filter: blur(10px);
    }

    body.home nav.custom-menu {
        position: fixed;
    }
}

@media only screen and (max-width: 1200px) {
    #mega-menu-wrap-mobile .mega-menu-toggle+#mega-menu-mobile {
        top: 70px;
    }
    .hero-home .hero-search .uk-container {
        display: flex;
        flex-direction: column;
    }
    .icon-search {
        display: block;
        height: 0;
    }
    .icon-search img {
        width: 15px;
        position: relative;
        top: 12px;
        margin-left: 15px;
    }
    body.home .tm-page {
        margin-top: 620px;
    }
}