/*
Theme Name: Monticello Golf Club
Text Domain: monti
Version: 1.53
*/
:root {
    --green: #014421;
    --lime: #eef2b5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

@font-face {
    font-family: "Akzidenz";
    src: url("fonts/AkzidGrtskNext-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Akzidenz";
    src: url("fonts/AkzidGrtskNext-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Akzidenz";
    src: url("fonts/AkzidGrtskNext-Med.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "EBGaramond";
    src: url("fonts/EBGaramond-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "EBGaramond";
    src: url("fonts/EBGaramond-Italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "EBGaramond";
    src: url("fonts/EBGaramond-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "EBGaramond";
    src: url("fonts/EBGaramond-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

a {
    text-decoration: none;
}


body {
    font-size: 18px;
    font-family: "Akzidenz", sans-serif;
    background:#014421;
    color:var(--lime);
}
.elementor-widget-text-editor strong{
    font-weight:500;
}


/*menu btn*/
.m-menu {
  width: 30px;
  height: 32px;
  position: relative;
}

.m-menu span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #fff;
  opacity: 1;
  left: 0;
  border-radius: 2px;
}

.m-menu span:nth-child(1) {
  top: 20px;
}

.m-menu span:nth-child(2) {
  top: 30px;
}

.m-menu span:nth-child(3) {
  top: 40px;
}

.m-menu {
  transform: rotate(0);
  transition: 0.5s ease-in-out;
  cursor: pointer;
  margin-right: 0;
  z-index: 10;
  position: absolute;
  right: 10px;
  top: -3px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: none;
  z-index: 10 !important;
}

.m-menu span {
  transform: rotate(0);
  transition: 0.25s ease-in-out;
  width: 35px;
  left: 13px;
}

.mm-open .m-menu span:nth-child(1) {
  top: 28px;
  transform: rotate(135deg);
}

.mm-open .m-menu span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.mm-open .m-menu span:nth-child(3) {
  top: 28px;
  transform: rotate(-135deg);
}


#header {
    height: 90px;
    display: flex;
    padding: 0px 40px;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 111;
    font-family: "Josefin Sans", sans-serif;
    font-size: 13px;
    transition: all 0.3s ease;
	box-shadow: inset 0px 60px 30px 0px rgba(0, 0, 0, 0.5);
}
#header .logo{
    margin:auto 0;
}

#header:hover ,
.stick #header{
    background-color: #013220;
    box-shadow: 0 0 10px -7px #000;
}
.stick #header{
    height: 60px;
	box-shadow: none !important;
}

#header>a, #header>nav, #header>div {
    z-index: 3;
}
#header .right{
    flex-grow:1;
    display:flex;
    align-items: center;
}

#header li.menu-item {
    display: block;
}

#header nav {
    margin-left: auto;
    margin-right: auto;
    height: 100%;
    display: flex;
    position: relative;
}

#header nav .main-nav {
    display: flex;
}

#header nav .main-nav li {
    display: block;
}

#header nav .main-nav>li {
    min-width: 130px;
    text-align: center;
}

#header nav .main-nav>li>a {
    padding: 10px 0;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

#header nav a {
    color: #fff;
}

#header nav a:hover {
    color: var(--lime);
}

#header .sub-nav {
    position: absolute;
    top: 100%;
    background-color: #013220;
    left: 0;
    right: 0;
    top: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    box-shadow: inset 0px 3px 7px -6px #000, 3px 3px 3px 0px #00000030;
    padding: 15px 0px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

#header nav:hover .sub-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

#header .sub-nav>li>a {
    display: none;
}

#header .sub-nav>li {
    border-right: 1px solid #ffffff26;
    padding: 5px 10px;
}

#header .sub-nav>li:last-child {
    border-right: none;
}

#header .sub-nav a {
    padding: 8px 0;
    display: block;
}
#header .sub-nav .more{
    display:none;
}
#header .sub-nav .sub-menu>.menu-item-has-children{
    position:relative;
}
#header .sub-nav .sub-menu>.menu-item-has-children>.more{
    display:block;
}
#header .menu-item-has-children>.more{
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 352 192'%3E%3Cpath fill='%23ffffff' d='M176,192c-4.09,0-8.19-1.56-11.31-4.69L4.69,27.31C-1.56,21.06-1.56,10.94,4.69,4.69s16.38-6.25,22.62,0L176,153.38,324.69,4.69c6.25-6.25,16.38-6.25,22.62,0s6.25,16.38,0,22.62L187.31,187.31c-3.12,3.12-7.22,4.69-11.31,4.69h0Z'/%3E%3C/svg%3E") no-repeat center;
    background-size:10px;
    width:30px;
    height:30px;
    position:absolute;
    right:0;
    top:0;
    cursor: pointer;
    transition:all 0.3s ease;
}
#header .menu-item-has-children.active>.more{
        transform:rotate(180deg);
}
#header .sub-nav .sub-menu .sub-menu {
    font-family: "EB Garamond", sans-serif;
    font-style: italic;
    padding-left: 10px;
    font-size: 13px;
    display:none;
}
#header .sub-nav .sub-menu .active .sub-menu{
    display:block;
}



#header .sub-nav .sub-menu .sub-menu a {
    padding: 5px 0;
    line-height: 1;
}

#header .social {
    display: flex;
    gap: 13px;
	margin-left:20px;
}

#header .social img {
    display: block;
    height: 17px;
}

/* ====== BASE: header + bottom bar condividono lo stesso stile ====== */

/* UL layout */
#header .right-btns ul,
.mobile-bottom-bar ul {
    display: flex;
    gap: 15px;
    padding-left: 30px;
}

/* Link base */
#header .right-btns a,
.mobile-bottom-bar a {
    padding: 10px 15px;
    border: 1px solid var(--lime);
    color: var(--lime);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

/* Hover */
#header .right-btns a:hover,
.mobile-bottom-bar a:hover {
    opacity: 0.9;
}

/* ====== PULSANTE 1 (Prenota) ====== */

/* Header: usa la classe btn-1 */
#header .right-btns .btn-1 a,
.mobile-bottom-bar #menu-right-bottom li:first-child a {
    background: url(images/golf-stick.png) no-repeat 11px 7px;
    background-size: 18px;
    padding-left: 38px;
}

/* ====== PULSANTE 2 (Area Soci) ====== */

/* Header: usa la classe btn-2 */
#header .right-btns .btn-2 a,
.mobile-bottom-bar #menu-right-bottom li:nth-child(2) a {
    background: var(--lime) url(images/lock.png) no-repeat 11px 7px;
    background-size: 18px;
    padding-left: 38px;
    color: #26342e;
}
#header>.language-switcher{
    position:absolute;
    right: 90px;
    top: 20px;
    margin-right: 0;
    display: none;
}
.language-switcher {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 16px;
    margin-right: 0;
    gap: 10px;
    overflow: visible;
    background: none;
    padding-right: 0;
    cursor: default;
}
.language-switcher.active{
    overflow:visible;
}
.language-switcher li{
    display:block;
    user-select: none;
}
.language-switcher img{
    height:16px;
    display:block;
}

.language-switcher li.active,
.language-switcher:hover li{

}
.language-switcher li.active {
    pointer-events: none;
}



.custom_breadcrumb {
    color: #fff;
    font-size: 16px;
}

.custom_breadcrumb a {
    color: #fff;
}

.number ul {
    display: flex;
    gap:10px;
    justify-content: center;
    overflow: auto;
}
.number ul li{
    display:block;
}
.number ul a{
    width:46px;
    height:46px;
    display:flex;
    border:1px solid var(--lime);
    background-color:#26342e;
    border-radius:50%;
    color:var(--lime);
    font-weight:500;
    align-content: center;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}
.elementor-button-icon svg{
    width: 1.2em !important;
    margin-top:-3px;
}
.elementor-button-content-wrapper{
}
.gallery-item img{
    border:none !important;
    display:block;
}
.gallery .gallery-item{
    margin-top:0 !important;
}
.elementor-field-option label{
    font-size: 9px !important;
    line-height: 1em !important;
    color: #ffffffa3 !important;
    font-family: "Josefin Sans", sans-serif !important;
}
.elementor-field-option{
    display:grid;
    grid-template-columns:12px 1fr;
    gap:10px;
    align-items: start;
    padding-left: 10px;
    margin-bottom: 15px;
}
.elementor-field-option label a{
    color:#fff;
    text-decoration:underline;
}
.e-n-tabs-heading{
    position:sticky;
    top:61px;
    background-color:#014421;
    z-index:11;
}
.admin-bar .e-n-tabs-heading{
    top:92px;
}



@media(max-width:1511px){
    #header{
        height: 60px;
        padding-left: 20px;
    }
    body.mm-open{
        overflow: hidden;
    }
    body>.elementor{
        overflow:hidden;
    }
    .m-menu{
        display:block;
    }
    .right-btns{
        display:none;
    }
    .overlay{
        position:fixed;
        right: 250px;
        top:0;
        bottom:0;
        left:0;
        z-index: 10;
        background:#0000006e;
        backdrop-filter:blur(0px);
        opacity:0;
        pointer-events:none;
        transition:all 0.3s ease;
    }
    .mm-open .overlay{
        opacity:1;
        pointer-events:all;
        backdrop-filter:blur(5px);
    }
    #header .right{
        position:fixed;
        right:0;
        top:0;
        bottom:0;
        width:250px;
        z-index: 7;
        background-color: var(--green);
        flex-direction: column;
        
        opacity:0;
        visibility:hidden;
        pointer-events:none;
        transition:all 0.3s ease;
    }
    .mm-open #header .right{
        opacity:1;
        visibility:visible;
        pointer-events:all;
    }
    #header .right nav{
        padding-top: 60px;
    }
    .admin-bar #header .right nav{
        top:30px;
    }
    #header nav{
        margin:0;
        width: 100%;
        overflow: auto;
        position: absolute;
        top: 0;
        bottom: 0;
    }
    #header nav .main-nav{
        display:none;
    }
    #header .sub-nav{
        opacity:1;
        visibility:visible;
        position:relative;
        top: 0;
        display: block;
        padding: 0;
        box-shadow: none;
        background: transparent;
        width: 100%;
    }
    .mm-open #header .sub-nav{
        pointer-events:all;
    }
    #header .sub-nav>li>a{
        display: flex;
        padding: 10px 30px;
    }
    #header .sub-nav .sub-menu{
        display:none;
    }
    #header .menu-item-has-children>.more{
        display:none !important;
    }

    #header .sub-nav>li{
        padding:0;
        position: relative;
        padding: 5px 0;
    }
    #header .sub-nav>li.active{
        background-color:#013220;
        
    }
    #header li.active>ul.sub-menu{
        display:block;
    }
    #header ul.sub-menu{
        padding-left:40px;
    }

    #header .menu-item-has-children>a{
        display:flex;
        align-items: center;
        gap: 10px;
    }
    #header .menu-item-has-children>a:after{
        content:'';
        display:block;
        width:20px;
        height:20px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 352 192'%3E%3Cpath fill='%23ffffff' d='M176,192c-4.09,0-8.19-1.56-11.31-4.69L4.69,27.31C-1.56,21.06-1.56,10.94,4.69,4.69s16.38-6.25,22.62,0L176,153.38,324.69,4.69c6.25-6.25,16.38-6.25,22.62,0s6.25,16.38,0,22.62L187.31,187.31c-3.12,3.12-7.22,4.69-11.31,4.69h0Z'/%3E%3C/svg%3E") no-repeat center;
    background-size:10px;
        transition:all 0.3s ease;
        
    }
    #header .menu-item-has-children.active>a:after{
        transform:rotate(180deg);
    }
    #header .right .language-switcher{
        position:absolute;
        left:30px;
        bottom:20px;
    }
    #header .social{
        position: absolute; top: 20px;
    }
    #header>.language-switcher{
        display:flex;
    }
	.meteo-header {
    padding-top: 20px;
    margin-left: -80px;
}
	.meteo-header { padding-right: 10px !important; }
	#open-webcam span { display: none; }
    
}

@media(max-width:900px){
    .number ul {
        justify-content: flex-start;
        position:relative;
        margin:0 -20px;
        padding:20px 20px;
        background:#003320;
    }
    .number ul:after{
        content:'';
        display:block;
        position:absolute;
        right:0;
        top:0;
        width:10px;
        height:10px;
        background: url(data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28.45 50'%3E%3Cpolygon fill='%23ffffff' points='2.93 0 0 2.91 22.61 25.67 .69 47.04 3.58 50 28.45 25.75 2.93 0'/%3E%3C/svg%3E) no-repeat right center;
        background-size:contain;
    }
    #header .logo img{
        max-width:180px;
    }
    .m-menu span{
        width:30px;
    }
    .elementor-field-type-submit button{
        margin:auto;
    }
}




.meteo-header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    padding-right: 30px;
}


@media(max-width:1511px){
#header {
	box-shadow: inset 0px 30px 30px 0px rgba(0, 0, 0, 0.5);
}
	}



@media (max-width: 767px) {
    .elementor .elementor-hidden-mobile, .elementor .elementor-hidden-phone .breadcrumb {
        display: block !important;
		text-align: center;
    }
}



.mobile-bottom-bar{ display:none; }

@media (max-width: 767px){
  .mobile-bottom-bar{
    display:block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    padding: 12px;
    background: #013220; /* stesso colore della notice */
    box-shadow: none;    /* niente flottante */
    border-top: 1px solid rgba(255,255,255,.15);
	text-align: center;
  }

  .mobile-bottom-bar ul.menu{
    display:flex;
    gap:12px;
    margin:0;
    padding:0;
    list-style:none;
  }

  .mobile-bottom-bar ul.menu > li{ flex:1; }

  /* Spazio sotto pagina per non coprire contenuti */
  body{ padding-bottom:140px; }
}


/* NOTICE BAR: default hidden */
.mobile-notice-bar{ display:none; }

@media (max-width: 767px){
  .mobile-notice-bar{
    display:block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 67px;  
    z-index: 99998;
    padding: 0;     /* niente “fluttuante” */
  }

 .mobile-notice-inner{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding: 10px 12px;
    text-align:center;
    flex-wrap:wrap; /* permette 2 righe */
	 background: #014522;
}

  .notice-dot{
    width: 10px;
    height: 10px;
    border-radius: 999px;
    flex: 0 0 auto;
  }

  .notice-text{
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
  }

  /* Colori dot per tipo */
  .mobile-notice-bar.is-success .notice-dot{ background:#19c37d; }
  .mobile-notice-bar.is-warning .notice-dot{ background:#f4c542; }
  .mobile-notice-bar.is-danger  .notice-dot{ background:#e84545; }
  .mobile-notice-bar.is-info    .notice-dot{ background:#3aa0ff; }
}


td.lista_risultati span {
    margin-right: 6px;
}

/* DESKTOP */
.titolo-pagina {
  background-color: transparent !important;

  background-image: radial-gradient(
    ellipse 38% 65% at 50% 50%,
    rgba(1, 68, 33, 0.95) 0%,
    rgba(1, 68, 33, 0.85) 30%,
    rgba(1, 68, 33, 0.45) 48%,
    rgba(1, 68, 33, 0.12) 62%,
    transparent 72%
  ) !important;

  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
}

/* TABLET E MOBILE */
@media (max-width: 1024px) {
  .titolo-pagina {
    background-image: radial-gradient(
      ellipse 70% 85% at 50% 50%,
      rgba(1, 68, 33, 0.95) 0%,
      rgba(1, 68, 33, 0.90) 35%,
      rgba(1, 68, 33, 0.55) 52%,
      rgba(1, 68, 33, 0.18) 65%,
      transparent 78%
    ) !important;
  }
}




.promo-quote-fixed {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    width: 220px !important;
    z-index: 10 !important;

    padding: 22px 15px;
    background: rgba(20, 45, 35, .95);
    border: 1px solid rgba(255,255,255,.4);
    border-right: 0;
    border-radius: 5px 0 0 5px;
}



@media (max-width: 767px) {
    .promo-quote-fixed {
        position: absolute !important;

        top: 60vh !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;

        width: 280px !important;
        max-width: calc(100% - 40px);

        padding: 18px 20px !important;

        text-align: center;
        border-radius: 4px !important;
        border: 1px solid rgba(255,255,255,.35) !important;
    }

    .promo-quote-fixed .elementor-heading-title {
        font-size: 26px !important;
        line-height: 1.05 !important;
        margin-bottom: 0px !important;
    }

    .promo-quote-fixed .elementor-button {
        padding: 12px 24px !important;
        font-size: 15px !important;
    }
	
	.custom_breadcrumb {
    color: #fff;
    font-size: 12px;
    margin-top: 10px;
}
}



#open-webcam {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff !important;
    text-decoration: none;
    vertical-align: middle;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
	margin-right: 15px;
}

#open-webcam svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
    flex-shrink: 0;
    display: block;
}

#open-webcam span {
    color: #fff !important;
    font-size: 14px;
    line-height: 17px;
}

#open-webcam:hover,
#open-webcam:focus {
    color: #fff !important;
    text-decoration: none;
}




@media screen and (min-width: 1512px) and (max-width: 1700px) {
    #open-webcam span {
        display: none !important;
    }

    #header .logo img {
        width: 100% !important;
    }

    #header .logo {
        width: 200px !important;
    }
	
	.menuradar {display: inline-flex;}
	.meteo-header { padding-right: 15px; }
	
	#header nav .main-nav>li { min-width: 120px !important;} 
}

.stack:before {
    display: none;
}

.stack:after {
    display: none;
}


.nag-gallery-container {
    margin-bottom: 0px !important;
}


.awl-ag-col { padding: 0px !important; }


.album_title-dynamic { color: #fff !important; font-family: "EB Garamond", Sans-serif; }
.nag-title-below_image {
    height: fit-content !important;
    margin-top: -50px !important;
    max-width: 90%;
    margin: 0 auto;
}


.stack > div {
    border: 2px solid #fff !important;
}