::selection {
    background-color: #851F19;
}

a,
.uk-link {
    color: #851F19;
    text-decoration: none;
    cursor: pointer;
}

a:hover,
.uk-link:hover,
.uk-link-toggle:hover .uk-link {
    color: #000;
    text-decoration: none;
}

em {
    color: #1F1F1F;
}

strong,
b {
    font-weight: 600 !important;
}

h1 {
    padding-bottom: 30px;
}

.display-1,
.display-2,
.uk-heading-large,
h2 {
    /* font-size handled by media query */
}

/*mobile*/
@media (max-width: 768px) {
    .display-1,
    .display-2,
    .uk-heading-large,
    h2 {
       padding-top:25px;
        font-size: 2rem;
        line-height: 1.1;
    }

    h1 {
        font-size: 3.4rem !important;
        line-height: 1.1 !important;
    }

    .h1small, p.h1small {
        font-size: 2rem;
        line-height: 1;
        font-weight: 600;
    }
    .uk-margin-large-top {
        margin-top: 20px !important;
    }


    .appSlide {
        padding-top:30px;
    }

    .hp-gallery {
        .uk-height-viewport {
            min-height: 70vh;
        }
    }
}

.appSlide .uk-slidenav {
    padding: 5px 10px;
    color: #fff;
    transition: .1s ease-in-out;
    transition-property: color, background-color, border-color, box-shadow;
    background-color: transparent;
}

a:hover {
    color: #1F1F1F;
}

/* LOGO HOME */
/*.homepage .uk-logo.uk-navbar-item {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.homepage .uk-sticky-fixed .uk-logo.uk-navbar-item {
    opacity: 1;
    pointer-events: auto;
}*/

/* COLORI E STATI DEI LINK NAV */


.uk-nav-primary {
    @media (max-width: 600px) {
        font-size: 30px;
    }
}
.uk-subnav > * > a:hover,
.uk-subnav > .uk-active > a,
.uk-nav-primary > li.uk-active > a,
.uk-nav-primary > li > a:hover,
.uk-dropbar .uk-nav-primary > li > a:hover {
    color: #851F19;
}

.uk-dropbar .uk-nav-primary > li.uk-active > a {
    color: #fff;
}

.uk-dropbar .uk-nav-primary > li > a {
    color: #fff;
}
@media (min-width: 1200px) {
    .uk-margin-large-top {
        margin-top: 30px !important;
    }
}
/* BUTTONS */
.uk-button-primary,
.uk-light .uk-button-primary,
.uk-dropbar .uk-button-primary,
.btn-dark,
.btn-secondary,
.uk-button-secondary,
.af-col-center button {
    background-color: #851F19;
    color: #fff;
}

.uk-button-primary:hover,
.uk-light .uk-button-primary:hover,
.uk-dropbar .uk-button-primary:hover,
.btn-dark:hover,
.btn-secondary:hover,
.uk-button-secondary:hover {
    background-color: #851F19;
    box-shadow: 0 0 0 5px rgba(133, 31, 25, 0.31);
}

.uk-button-text:hover {
    border-bottom-color: #851F19;
}

.uk-link-heading a:hover,
.el-link:hover {
    color: #851F19 !important;
}

/* NAV ICON */
.uk-navbar-toggle.uk-navbar-toggle-animate .uk-icon svg {
    width: 28px;
    height: 28px;
    /* color: #fff; */
}

/* DROPBAR */
.uk-dropbar {
    background-color: #1F1F1F;
}

/* TITOLI E DIMENSIONI */
.h1small {
    font-size: 4rem;
    line-height: 1.2;
    font-weight: 600;
}

/* ELENCO CAMERE */
/*.elenco-camere .el-link {
    font-size: 32px;
    padding: 20px 0;
}*/

.elenco-camere .el-link {
    font-size: 22px;
    padding: 13px 0;
}

/* LISTINI PREZZI */
.price-list {
    width: 100%;
    font-size: 21px;
    line-height: 1.5;
}

.price-row {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.date,
.price {
    white-space: nowrap;
    font-size: 21px;
    line-height: 1.5;
}

.dots {
    display: flex;
    align-items: center;
    flex: 1;
    height: 5px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.76) 1px, transparent 2px);
    background-size: 8px 5px;
    margin: 0 20px;
}

/* MODAL MENU */
.dialog-menu-items {
    width: 500px !important;
}

/* COLORI TESTO */
.uk-text-primary,
.uk-alert-primary {
    color: #851F19 !important;
}

.uk-text-large,
p {
    /* font-size handled by media query */
}

/* ELEMENTI VISUALI */
.gray-divider {
    color: #ccc;
    opacity: 0.5;
    padding: 0 20px;
}

.uk-divider-vertical {
    border-left: 2px solid #851F19;
}

/* DOTNAV */
.uk-dotnav > .uk-active > * {
    background-color: #851F19;
    border-color: transparent;
}

/* NASCONDI SOTTONAV */
.uk-nav-sub {
    display: none;
}

/* SPONSOR IMMAGINI */
.sponsors img {
    filter: grayscale(100%);
    opacity: 0.7;
}

/* === MEDIA QUERIES === */

@media (min-width: 1200px) {
    h1, h1.display-1,
    h1.display-2,
    h1.uk-heading-large {
        font-size: 6rem;
    }

    .display-1,
    .display-2,
    .uk-heading-large,
    h2 {
        font-size: 4rem;
    }

    .uk-text-large,
    p {
        font-size: 18px;
        line-height: 1.4;
        font-weight: 400;
    }
}


/* SITEMAP */
#jmap_sitemap {
   /* width: 64%;
    margin: 5rem auto;*/
}
#jmap_sitemap .folder { display: none; }
#jmap_sitemap .selected { all: unset; }

/*
.uk-sticky .uk-icon{
    fill: #fff;
    color: #fff;
}*/
.uk-light .uk-navbar-toggle {
    color:#fff;
}


div.mod-languages li {
    margin: 0 !important;
}

.lingue-mobile {
    .uk-panel>:last-child {
        justify-content: center;
    }
}

/*.effetto-zoom {
    .uk-animation-reverse {


    }
}*/

/* Ken Burns reverse: zoom da lontano a vicino */
@keyframes uk-kenburns-reverse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}

/* Classe associata all'effetto */
.effetto-zoom .uk-animation-kenburns.uk-animation-reverse {
    animation-name: uk-kenburns-reverse;
    animation-duration: 10s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;

    animation-direction: normal;
}