body {
    font-family: 'Roboto', sans-serif;
    background-color: #1E1E1E;
}

h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 50px;
    text-transform: uppercase;
    font-weight: bold;
}

.main-content li {
    font-size: 16px;
}

.custom-header {
    background: #141414;
    margin: 0 auto;
    padding: 10px;
    text-align: center;
}

.site-container {
    /* max-width: 1280px; */
    margin: 0 auto;
}

.left-header {
    float: left;
    max-width: 15%;
}

.right-header {
    float: left;
    line-height: 0;
}

img {
    max-width: 100%;
    height: auto;
}

.logo {
    max-width: 70px;
    line-height: 0;
}

.logo a {
    display:block;
}

.menu, .menu ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.container-menu li {
    position: relative;
    float: left;
    text-transform: uppercase;
    padding-left: 13px;
    padding-right: 12px;
}

.container-menu li:last-child {
    border: none;
}

li a {
    color: #fff;
    font-family: 'Roboto Condensed', sans-serif;
    line-height: 1;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
}

.container-menu .menu-item:hover>.sub-menu {
    left: -20px;
    opacity: 1;
}

.sub-menu .menu-item:hover>.sub-menu {
    left: 210px;
    opacity: 1;
    top: 0px;
    padding: 0 20px !important;
}

.sub-menu li {
    text-align: left;
}

.sub-menu li {
    width: 100%;
    padding: 15px;
}

.container-menu .sub-menu {
    left: -9999px;
    opacity: 0;
    position: absolute;
    -webkit-transition: opacity .4s ease-in-out;
    -moz-transition: opacity .4s ease-in-out;
    -ms-transition: opacity .4s ease-in-out;
    -o-transition: opacity .4s ease-in-out;
    transition: opacity .4s ease-in-out;
    width: 250px;
    z-index: 99;
    justify-content: center;
    background-color: #141414;
    padding: 35px 20px 20px 20px;
}

.slide-right {
    backdrop-filter: blur(10px);
    position: relative;
    float: right;
    width: 350px;
    background-color: rgb(26 26 28 / 87%);
    padding: 130px 50px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-pro-loco-container {
    text-align: center;
}

.module-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 42px;
    margin: 0 0 15px 0;
    line-height: 1;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
}

.main:before {
    display: block;
    /* content: ""; */
    height: 20px;
    margin: 5px 0px;
    background: url(../custom/images/layout_separator.png) repeat-x;
}

.main {
    display: block;
    overflow: auto;
}

.main-slide {
    display: block;
    overflow: auto;
    position: relative;
}

.main-content {
    width: calc(100% - 350px);
    background-color: #fafafa;
    padding: 40px 240px 0;
}

.main-sidebar {
    width: 350px;
    padding: 40px;
}

.main-content ul{list-style-position: inside;}

.slide-left video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    -webkit-transform: translateX(-50%)translateY(-50%);
    transform: translateX(-50%)translateY(-50%);
    background-size: cover;
    -webkit-transition: 1s opacity;
    transition: 1s opacity;
    -o-object-fit: cover;
    object-fit: cover
}

.mappa {
    margin: 50px -240px 0 -240px;
    line-height: 0;
}

.slide-left {
    position: absolute;
    z-index: 0;
    line-height: 0;
    font-size: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden
}

.main-slide {
    width: 100%;
    overflow: hidden;
    min-height: 100vh;
    position: relative
}

header.site-header {
    position: fixed;
    z-index: 10;
    width: 100%;
    top:0;
    left:0;
    height: 90px;
    clear: both;
}

.custom-header .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-footer {
    clear: both;
    background-color: #141414;
    padding: 40px 0;
}

.first-row.row-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.second-row.row-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-top: 1px solid #1a1a1c;
    margin-top: 20px;
    padding-top: 20px;
}

.left-row-contacts {
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
}

.left-row-contacts p {
    margin: 0;
}

.left-row-contacts a {
    color: #fff;
    text-transform: none;
}

.right-row-logos {
    display: flex;
    align-items: center;
    line-height: 0;
    gap: 40px;
}

.second-row.row-footer {
    padding: 20px;
}

.right-row-logos a {
    display: inline-block;
    max-width: 280px;
}

.main {
    display: flex;
    justify-content: center;
    width: 100%;
}

.main-sidebar .menu li {
    display: block;
    float: none;
    padding: 0;
    margin-bottom: 0;
}

.main-sidebar .menu li a {
    font-size: 16px;
    width: 100%;
    display: block;
    padding: 0;
    margin-bottom: 30px;
    font-weight: normal;
}

.pro-loco-menu {
    margin-bottom: 40px;
    background-color: #141414;
    padding: 20px;
}

.altre-associazioni-menu {
    margin-bottom: 40px;
    background-color: #141414;
    padding: 20px;
}

.istituzioni-menu {
    margin-bottom: 40px;
    background-color: #141414;
    padding: 20px;
}

.link-utili-menu {
    background-color: #141414;
    padding: 20px;
}

.main-sidebar .menu li:last-child a {
    margin-bottom: 0;
}

.burger-menu span {
    display: block;
    position: absolute;
    height: 2px;
    width: 15px;
    background-color: #fff;
    opacity: 1;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}

.burger-menu span:nth-child(even) {
    right: 10px;
}

.burger-menu span:nth-child(odd) {
    left: 10px;
}

.burger-menu span:nth-child(1),
.burger-menu span:nth-child(2) {
    top: 13px;
}

.burger-menu span:nth-child(3),
.burger-menu span:nth-child(4) {
    top: 21px;
}

.burger-menu span:nth-child(5),
.burger-menu span:nth-child(6) {
    top: 29px;
}

.burger-menu.active-menu span:nth-child(1),
.burger-menu.active-menu span:nth-child(6) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.burger-menu.active-menu span:nth-child(2),
.burger-menu.active-menu span:nth-child(5) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.burger-menu.active-menu span:nth-child(1) {
    top: 13px;
}

.burger-menu.active-menu span:nth-child(2) {
    top: 13px;
}

.burger-menu.active-menu span:nth-child(3) {
    opacity: 0;
}

.burger-menu.active-menu span:nth-child(4) {
    opacity: 0;
}

.burger-menu.active-menu span:nth-child(5) {
    top: 23px;
}

.burger-menu.active-menu span:nth-child(6) {
    top: 23px;
}

.burger-menu.active-menu {
    background-color: #0d0d0d;
}

.burger-menu.active-menu span {
    background-color: #f1f1f1;
}

.container-menu-mobile {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #0d0d0d;
    z-index: 2;
}

.container-menu-mobile>div {
    display: flex;
    height: 100%;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.custom-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.custom-row br {
    display: none;
}

.custom-column {
    width: 50%;
    flex: 1;
}

.custom-column-three {
    width: 33.3%;
    flex: 1;
    text-align: center;
}

.iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

/* ====================
=========TO-TOP========
=======================*/

.to-top {
    display:inline-block;
    height:40px;
    width:40px;
    position:fixed;
    bottom:15px;
    right:10px;
    overflow:hidden;
    text-indent:100%;
    white-space:nowrap;
    background: transparent url(../custom/images/to-top.svg) no-repeat center 50%;
    color: #000!important;
    visibility:hidden;
    opacity:0;
    -webkit-transition:all .3s;
    -moz-transition:all .3s;
    transition:all .3s;
    z-index: 9999999;
}

.to-top.top-is-visible {
    visibility:visible;
    opacity:1;
}

.to-top.top-fade-out {
    opacity:.5;
}

.no-touch .to-top:hover {
    background-color: #17ffa3;
    opacity:1;
}

.burger-menu {
    display: none;
}

.breadcrumb-content {
    margin-top: 90px;
    background-color: #aaaaaa;
    padding: 10px;
}

.inner-content.internal-page {
    background: #fff;
    padding: 40px;
}

.content-share-icon {
    display: inline-block;
}

.content-share-icon .share {
    display: inline-block;
}

.acf-map {
    width: 100%;
    height: 400px;
}

.acf-map img {
    max-width: inherit !important;
}

.marker {
    display: none!important;
}

.share a {
    color: #000;
    margin: 0 10px;
}

.title-share {
    display: inline-block;
    margin: 0 10px;
}

.clearboth {
    clear: both;
}

.share-product {
    text-align: right;
    margin: 20px 0;
}

.backbutton {
    display: none;
    font-size: 24px;
    text-align: center;
    cursor: pointer;
    z-index: 100;
    position: absolute;
    overflow: auto;
    color: #fff;
    top: 12px;
    left: 15px;
}

.backbuttonsecondlayer {
    display: none;
    font-size: 24px;
    text-align: center;
    cursor: pointer;
    z-index: 100;
    position: absolute;
    overflow: auto;
    color: #fff;
    top: 12px;
    left: 15px;
}

.showed {
    display: block;
}

.subitemsubroot>.sub-menu {
    margin-top: 0px!Important;
}

.subitemroot li a {
    font-size: 10px;
}

@media only screen and (min-width: 768px) {
    .container-menu-mobile li {
        display: block;
        width: 100%;
        text-align: center;
        text-transform: uppercase;
    }
    .container-menu-mobile li a{
        text-transform: uppercase;
    }
    .to-top {
        right:20px;
        bottom:15px;
    }
}

@media only screen and (min-width: 1024px) {
    .to-top {
        height:60px;
        width:60px;
        right:30px;
        bottom:15px;
    }
}

@media only screen and (max-width: 1450px){
    .main-content {
        padding: 40px;
    }
    .mappa {
        margin: 50px -40px -40px -40px;
    }
}



@media only screen and (max-width: 1024px){
    #wpadminbar {
        display: none!important;
    }
    .container-menu{
        display: none;
    }
    .breadcrumb-content {
        margin-top: 90px;
    }
    .burger-menu {
        width: 45px;
        height: 45px;
        background-color: #1E1E1D;
        line-height: 0;
        font-size: 0;
        text-align: center;
        cursor: pointer;
        z-index: 100;
        position: relative;
        display: block;
    }
    .container-menu-mobile .sub-menu {
        display: none;
    }
    .container-menu-mobile li {
        padding: 10px;
    }
}

@media only screen and (max-width: 980px) {
    .custom-row {
        display: block;
    }
    .custom-column-three {
        float: left;
    }
    .custom-column {
        width: 100%;
        flex: 1;
    }
    .module-title {
        font-size: 25px;
    }
    .main-content {
        width: calc(100% - 270px);
    }
    .slide-right {
        width: 270px;
    }
    .main-sidebar {
        width: 270px;
        padding: 20px;
    }
    .main-sidebar .menu li a {
        line-height: 20px;
        font-size: 14px;
    }
    .content-slide p {
        line-height: 22px;
    }
    .slide-right {
        padding: 20px;
    }
}

@media only screen and (max-width: 768px) {
    .custom-column-three {
        width: 100%;
        flex: 1;
        text-align: center;
    }
    .custom-column-three {
        float: none;
    }
    .breadcrumb-content {
        margin-top: 100px;
    }
    .sub-menu li {
        text-align: center;
    }
    .left-header {
        float: left;
        max-width: 25%;
    }
    .logo {
        max-width: 85px;
    }
    .inner-content.internal-page {
        padding: 20px;
    }
    .main-slide {
        min-height: auto;
    }
    .slide-left {
        position: relative;
        width: 100%;
        height: auto;
        overflow: hidden;
    }
    .slide-right {
        backdrop-filter: blur(0px);
        position: relative;
        width: 100%;
        height: auto;
        overflow: auto;
        padding: 20px 20px;
    }
    .slide-left video {
        margin-top: 40px;
        min-width: 750px;
        min-height: 560px;
        position: relative;
        top: 0;
        left: 0;
        -webkit-transform: translateX(0)translateY(0);
        transform: translateX(0)translateY(0);
    }
    .video {
        height: auto;
        max-width: 100%;
    }

    .module-title {
        font-size: 22px;
    }
    .main {
        display: block;
    }
    .main-content {
        width: 100%;
    }
    .main-sidebar{
        width: 100%;
        padding: 0;
    }
    .second-row.row-footer {
        display: block;
    }
    .left-row-contacts {
        width: 100%;
        padding: 20px;
    }
    .right-row-logos {
        width: 100%;
    }
    h1.title {
        font-size: 36px;
    }
    .content-slide p {
        padding: 5px;
        margin: 5px;
        line-height: 22px;
    }

    .pro-loco-menu {
        margin: 20px;
    }

    .altre-associazioni-menu {
        margin: 20px;
    }

    .istituzioni-menu {
        margin: 20px;
    }

    .link-utili-menu {
        margin: 20px;
    }


}


@media only screen and (max-width: 568px){
    .logo {
        max-width: 80px;
    }
    .slide-left video {
        margin-top: 25px;
        min-width: 650px;
        min-height: 400px;
        margin-left: -160px;
    }
    h1.title {
        font-size: 28px;
    }
}

@media only screen and (max-width: 450px){
    .logo {
        max-width: 70px;
    }
}