/*--------------------------------- Preloading --------------------------------- */

@import url("https://p.typekit.net/p.css?s=1&k=jot1lhr&ht=tk&f=51395.51398.51401.51402.51405.51406.51411.51413&a=183323469&app=typekit&e=css");

@font-face {
    font-family:"georgiapro";
    src:url("https://use.typekit.net/af/dfa354/000000000000000077372247/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff2"),url("https://use.typekit.net/af/dfa354/000000000000000077372247/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff"),url("https://use.typekit.net/af/dfa354/000000000000000077372247/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("opentype");
    font-display:auto;font-style:normal;font-weight:700;font-stretch:normal;
}

@font-face {
    font-family:"georgiapro";
    src:url("https://use.typekit.net/af/0e43db/000000000000000077372252/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3") format("woff2"),url("https://use.typekit.net/af/0e43db/000000000000000077372252/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3") format("woff"),url("https://use.typekit.net/af/0e43db/000000000000000077372252/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3") format("opentype");
    font-display:auto;font-style:italic;font-weight:700;font-stretch:normal;
}

@font-face {
    font-family:"georgiapro";
    src:url("https://use.typekit.net/af/98dd71/000000000000000077372250/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("woff2"),url("https://use.typekit.net/af/98dd71/000000000000000077372250/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("woff"),url("https://use.typekit.net/af/98dd71/000000000000000077372250/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("opentype");
    font-display:auto;font-style:italic;font-weight:400;font-stretch:normal;
}

@font-face {
    font-family:"georgiapro";
    src:url("https://use.typekit.net/af/1511b3/000000000000000077372258/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"),url("https://use.typekit.net/af/1511b3/000000000000000077372258/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"),url("https://use.typekit.net/af/1511b3/000000000000000077372258/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
    font-display:auto;font-style:normal;font-weight:400;font-stretch:normal;
}

@font-face {
    font-family:"georgiapro-condensed";
    src:url("https://use.typekit.net/af/4d7410/000000000000000077372243/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("woff2"),url("https://use.typekit.net/af/4d7410/000000000000000077372243/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("woff"),url("https://use.typekit.net/af/4d7410/000000000000000077372243/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("opentype");
    font-display:auto;font-style:italic;font-weight:400;font-stretch:normal;
}

@font-face {
    font-family:"georgiapro-condensed";
    src:url("https://use.typekit.net/af/333c2b/000000000000000077372242/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3") format("woff2"),url("https://use.typekit.net/af/333c2b/000000000000000077372242/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3") format("woff"),url("https://use.typekit.net/af/333c2b/000000000000000077372242/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3") format("opentype");
    font-display:auto;font-style:italic;font-weight:700;font-stretch:normal;
}

@font-face {
    font-family:"georgiapro-condensed";
    src:url("https://use.typekit.net/af/f14478/00000000000000007737224b/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff2"),url("https://use.typekit.net/af/f14478/00000000000000007737224b/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff"),url("https://use.typekit.net/af/f14478/00000000000000007737224b/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("opentype");
    font-display:auto;font-style:normal;font-weight:700;font-stretch:normal;
}

@font-face {
    font-family:"georgiapro-condensed";
    src:url("https://use.typekit.net/af/e3cbed/000000000000000077372248/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"),url("https://use.typekit.net/af/e3cbed/000000000000000077372248/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"),url("https://use.typekit.net/af/e3cbed/000000000000000077372248/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
    font-display:auto;font-style:normal;font-weight:400;font-stretch:normal;
}

/*--------------------------------- Preloading --------------------------------- */

#preloading {
    background: white;
    height: 100vh;
    display: block;
    width: 100vw;
    position: absolute;
    opacity: 1;
    z-index: 99999;
}

#preloading video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;   
    z-index: 200; 
}

.disabled-scroll {
    height: 100%;
    overflow-y: hidden;
    touch-action: none;
}

/*--------------------------------- Dialog Nav --------------------------------- */


#tm-dialog {
    background: transparent;
    padding: 0px;
    z-index: 20;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#tm-dialog [uk-height-placeholder] {
    background-color: transparent;
}

#tm-dialog .uk-margin-auto-bottom  {
    background: rgba(247, 246, 245, 0.70);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: calc(100vh - 80px);
}


/*--------------------------------- Nav menu --------------------------------- */

html[style="overflow-y: clip; touch-action: none;"] .home-icon-remove .tm-header .uk-navbar-transparent {
    background: rgba(247, 246, 245, 0.70) !important;
}

.home-icon-remove .tm-header .uk-navbar-transparent {
    background: none !important;
}

.home-icon-remove header .uk-navbar-container:not(.uk-navbar-sticky) nav .uk-logo{
    display: none;
}

.uk-sticky-fixed img:not(.uk-logo-inverse) {
    display: block !important;
}

.uk-sticky-fixed .uk-logo-inverse {
    display: none;
}

.tm-header .uk-light img:not(.uk-logo-inverse) {
    display: block !important;
}

.tm-header .uk-light .uk-logo-inverse {
    display: none;
}

.tm-header .uk-navbar-transparent {
    background: rgba(247, 246, 245, 0.70);
}


.uk-navbar-toggle {
    color: #000 !important;
}

.uk-navbar-toggle svg{
    overflow: visible;
}

.uk-navbar-toggle[aria-expanded=true] svg > line:nth-of-type(1){
    transform: translate(1.5px, 11.5px);
    transform-origin: right;
    rotate: 45deg;
    transition-duration: 0.5s;
}

.uk-navbar-toggle[aria-expanded=true] svg > line:nth-of-type(2){
    transform: translateX(-1.5px);
    transform-origin: left;
    rotate: -45deg;
    transition-duration: 0.5s;
}

.uk-navbar-toggle svg > line:nth-of-type(1){
    transform: translate(0px);
    transform-origin: center;
    rotate: 0deg;
    transition-duration: 0.5s;
}

.uk-navbar-toggle svg > line:nth-of-type(2){
    transform: translateY(0px);
    transform-origin: center;
    rotate: 0deg;
    transition-duration: 0.5s;
}

.mod-languages a{
    font-size: 15px !important;
    line-height: normal !important;
    font-family: Poppins !important;
    color: #000 !important;
}

.tm-header-mobile .uk-sticky:not(.uk-sticky-fixed) .uk-light .mod-languages a {
    color: #fff !important;
}

.uk-navbar-nav a {
    color: #121212 !important;
    text-align: center !important;
    font-family: Poppins !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: none !important;
}

#tm-dialog-mobile {
    background: rgba(247, 246, 245, 0.70);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#tm-dialog-mobile > div {
    background: none;
}

#tm-dialog-mobile .uk-modal-body {
    padding: 0;
    margin: 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
}

#tm-dialog-mobile > div > button{
    top: 28px;
    left: 13px;
    right: unset;
    color: #000;
    background-color: transparent;
}

#tm-dialog-mobile .uk-modal-dialog > button svg {
    width: 18px;
    height: 18px;
}

.list_menu_element > div > a::before{
    content: none;
}

.list_menu_element > div {
    border-top: none !important;
    position: relative;
    padding: 0px !important;
    margin-bottom: 40px;
}

.list_menu_element img.nav-icon {
    background-image: none;
    rotate: 135deg;
    width: 16px;
    height: 16px;
    transition: rotate 0.15s;
    margin: 0 20px 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list_menu_element > div > a[aria-expanded="true"] .nav-icon{
    rotate: 0deg;
    transition: rotate 0.15s;
}

.list_menu_element .uk-accordion-title {
    top: 3px;
    height: 25px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
}

.list_menu_element .el-title {
    color: var(--Grey-900, #121212);
    font-family: 'Poppins';
    font-size: 21px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: none;
    margin-left: 50px;
}

.list_menu_element .uk-accordion-content a{
    color: var(--Grey-900, #121212);
    font-family: 'Poppins';
    font-size: 21px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: none;
}

.list_menu_element > div > a[aria-expanded="true"], .list_menu_element > div > a:hover {
    font-weight: 500;
    color: #000;
}

.list_menu_element .el-content{
    display: flex;
    flex-direction: column;
}

.list_menu_element .el-content a{
    margin: 15px 0 15px 60px;
}

.list_menu_element .uk-nav-sub {
    padding-left: 33px;
}

.list_menu_element .uk-nav-sub > li{
    margin: 10px 0;
}

.uk-sticky-fixed {
    background-color: #f7f6f5;
    border-bottom: 0.5px solid  #cccccc;
}

.uk-sticky:not(.uk-sticky-fixed) .uk-light .uk-navbar-left svg{
    color: #fff;
}

/*--------------------------------- Sticky button --------------------------------- */

.sticky_button {
    position: fixed;
    width: 100%;
    bottom: 0;
    transform: translateY(100%);
    background-color: #F7F6F5;
    padding: 18px 18px 18px 28px;
    z-index: 10;
    box-shadow: 0px -1px 10px #31313175;
}

/*--------------------------------- Text Button --------------------------------- */

.uk-button-text {
    text-align: left;
    border-bottom: 0px;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: currentColor;
}

.uk-button-text::hover {
    text-decoration: underline;
    text-decoration-color: currentColor;
}

/*--------------------------------- Map  --------------------------------- */

#map {
    position: relative;
    min-height: 600px;
}

#map .uk-slidenav-container {
    display: none;
}

#map .el-image {
    position: relative;
    top: -90px;
    width: 350px;
    height: 300px;
    margin: 0 auto;
    display: block;
}

#map .uk-slider-nav {
    list-style: none;
    display: flex;
    padding-left: 0;
    gap: 15px;
    position: relative;
    bottom: -330px;
    flex-wrap: wrap;
}

#map .uk-slider-nav a {
    text-transform: uppercase;
    color: black;
    text-indent: 0;
    font-family: Poppins;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    position: relative;
    z-index: 1;
    width: 45px;
    height: 28px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
}

#map .uk-slider-nav li.uk-active a{
    background-color: #DA1E22;
    text-decoration: none;
}

#map .uk-slider-nav li.uk-active a > span{
    display: none;
}

#map .uk-slider-nav li.uk-active a::after{
    content: url("/images/castello/nav-map-icon.svg") !important;
    height: 20px;
    display: flex;
    align-self: center;
    justify-content: center;
    text-indent: 0 !important;
}

#map .uk-slider-nav a:hover {
    text-decoration: none;
}

@media (max-width: 380px) {
    #map .el-image {
        top: -120px !important;
    }
}

@media (min-width: 690px) and (max-width: 960px){
    #map .el-image {
        top: -40px !important;
    }
}

@media (min-width: 960px){
    #map .el-image {
        top: -140px !important;
    }
}

@media (min-width: 1200px){
    #map .el-image {
        top: -90px !important;
    }
}
