@import url('https://fonts.googleapis.com/css2?family=Martian+Mono:wght@100..800&display=swap');


@font-face {
  font-family: 'FuturaBook';
  src: local(''),
       url('../fonts/FuturaBookC.woff') format('woff'),
       url('../fonts/FuturaBookC.ttf') format('truetype'); 
}

@font-face {
  font-family: 'LTSuperior';
  font-weight: 500;
  src: local(''),
       url('../fonts/LTSuperior-Medium.woff') format('woff'),
       url('../fonts/LTSuperior-Medium.ttf') format('truetype'); 
}

@font-face {
  font-family: 'LTSuperior';
  font-weight: 600;
  src: local(''),
       url('../fonts/LTSuperior-Semibold.woff') format('woff'),
       url('../fonts/LTSuperior-Semibold.ttf') format('truetype'); 
}

@font-face {
  font-family: 'LTSuperior';
  font-weight: 700;
  src: local(''),
       url('../fonts/LTSuperior-Bold.woff') format('woff'),
       url('../fonts/LTSuperior-Bold.ttf') format('truetype'); 
}


:root {
    --primary: #51251C;
    --default: #9C8C78;
}

/*UI*/
.c-grid-row-xsmall > .uk-grid > .uk-grid-margin {
    margin-top: 5px;
}
@media(max-width: 640px){
    .c-btn-width-1-1 .el-item,
    .c-btn-width-1-1 .uk-button{
        width: 100%;
    }
}

/*Cookie CSS*/
.tm-cookie-banner .uk-container {
  text-align: left !important;
}

.tm-cookie-banner .cookie-text {
	font-size: 0.7rem;
	line-height: 1;
}

.js-custom-cookie-accept {
	font-size: 0.5rem;
}

@media(min-width: 960px){
  .tm-cookie-banner {
    max-width: 460px;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
  }
}

/*OVERLAY SCROLL
.overlay-scroll .el-item .uk-position-center {
   height: 100%;
   overflow-y: auto !important;
}*/

/* LANG */
.tm-header-mobile .uk-navbar-left {
    flex: 1;
    justify-content: space-between;
    margin-right: 15px;
}
.mod-languages > div > a {
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #111;
    padding: 6px 8px;
  	width: 60px;
    box-sizing: border-box;
}
.uk-light .mod-languages > div > a {
    border-color: #fff;
}

.mod-languages .uk-dropdown {
    width: 60px !important;
    max-width: 60px !important;
    padding: 5px;
    background: #e6d0b5;
    min-width: auto;
    left: calc(100% - 60px) !important;
}

.mod-languages .uk-dropdown-nav > li > a {
    color: #666!important;
}

.mod-languages .uk-dropdown-nav > li.uk-active > a,
.mod-languages .uk-dropdown-nav > li > a:hover {
    color: #111!important;
}

.tm-header-mobile .uk-navbar-right .uk-navbar-toggle div svg:not(.menu-cross):not(.menu-stripes) {
    display: none !important;
}

/*Separate Bg's*/
/*MAIN BG
@media (max-width: 640px) {
  html.bg-main::before {
    content:"";
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: calc(100vh);
    background: linear-gradient(0deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.3) 100%), url("/images/bg/fon-osso.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;         
  }
}
@media (min-width: 641px){
  .tm-page.bg-main {
    background: linear-gradient(0deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.3) 100%), url("/images/bg/fon-osso.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
}*/

/*INNER PAGES BG

@media (max-width: 640px) {
  html.bg-inner::before {
    content:"";
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: calc(100vh);
    background: linear-gradient(0deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.3) 100%), url("/images/bg/fon-osso.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;         
  }
}
@media (min-width: 641px){
  .tm-page.bg-inner {
    background: linear-gradient(0deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.3) 100%), url("/images/bg/fon-osso.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
}*/


/*ITALY MAP*/
.s-italy-map {
    background: #F0EBE8;
}

.s-italy-map a.uk-position-absolute {
    width: 40px;
    height: 40px;
    padding: 0;
    background: center / contain no-repeat url("/images/italy/icons/map-pin.svg");
    background-color: transparent;
}

.s-italy-map span.uk-position-absolute {
    width: 20px;
    height: 20px;
    padding: 0;
    background: center / contain no-repeat url("/images/italy/icons/map-pin-sm.svg");
    background-color: transparent;
    /*pointer-events: none;*/
}
.s-italy-map a svg {
    display: none;
}

.s-map-modal .uk-modal-dialog {
    /*background: #F0EBE8;*/
    width: 1280px;
    padding: 0;
}

.s-map-modal {
  background: #fff;
  font-family: 'Martian Mono';
}

.s-map-modal .uk-h1,
.s-map-modal .uk-h3,
.s-map-modal .el-title {
    font-family: 'LTSuperior';
}
.s-map-modal .uk-text-primary {
    color: var(--primary) !important;
}

.s-map-modal .uk-h1 {
    font-weight: 500;
    font-size: 4rem;
}

.s-modal-grid .el-title {
    display: flex;
    gap: 30px;
    font-weight: 600;
}
.s-modal-grid .el-title > span {
    flex: 1 1 1px;
}
.s-modal-grid .el-title > span:nth-child(1) {
    flex: 1 0 auto;
}

.s-modal-grid .el-meta {
    font-size: .75rem;
}


.s-modal-grid .el-content {
    font-size: .75rem;
    border-top: 1.5px solid #AB9E8E;
    padding-top: 20px;
}

.c-map-grid .uk-card-small.uk-card-body {
  padding: 10px;
  border: 2px solid #51251C;
  background: transparent;
  box-shadow: none;
}

.c-map-grid .uk-card-small.uk-card-body .el-title {
  color: #51251C;
}

.c-map-grid .uk-card-small.uk-card-body:hover .el-title {
  color: #341711;
}

/*#modal-milan .uk-modal-dialog {
    background-image:  url("/images/italy/maps/milan.svg");
    background-repeat: no-repeat;
    background-size: 100%;
}*/

.c-map-panel {
    /*font-family: 'Martian Mono';*/
    pointer-events: none
}

.c-map-panel .el-meta {
    font-family: 'Martian Mono';
    font-size: .875rem;
    color: #666;
}
.c-map-panel .el-title {
    /*font-family: 'LTSuperior';
    font-weight: 700;*/
    line-height: 1;
}

.c-map-panel .el-content {
    line-height: 1.2;
    margin-top: 10px;
    color: #333;
}

@media(max-width: 960px){
   /* .c-map-panel {
        position: static !important;
        margin-bottom: 30px;
    }*/
    .c-map-panel {
        padding: 15px;
        background: #fff;
    }
    .c-map-panel:not(.uk-open){
        display: none;
    }
}

@media(min-width: 960px){
    .s-italy-map span.uk-position-absolute {
        pointer-events: none
    }

}
