:root {
    --font-primary: "Montserrat", sans-serif;;
    --color-primary: #8BA9C9;
    --color-secondary: #c9aa8b;
}

.toolbar {
    padding: 5px 0 !important;
}

.grecaptcha-badge {
    display: none;
}

.bg-radial {
    background: rgb(201,170,139);
    background: radial-gradient(circle, rgba(201,170,139,1) 0%, rgba(139,169,201,1) 100%);
}

.uk-card-primary.uk-card-body .uk-button-primary:hover, .uk-card-primary>:not([class*=uk-card-media]) .uk-button-primary:hover, .uk-card-secondary.uk-card-body .uk-button-primary:hover, .uk-card-secondary>:not([class*=uk-card-media]) .uk-button-primary:hover, .uk-light .uk-button-primary:hover, .uk-offcanvas-bar .uk-button-primary:hover, .uk-overlay-primary .uk-button-primary:hover, .uk-section-primary:not(.uk-preserve-color) .uk-button-primary:hover, .uk-section-secondary:not(.uk-preserve-color) .uk-button-primary:hover, .uk-tile-primary:not(.uk-preserve-color) .uk-button-primary:hover, .uk-tile-secondary:not(.uk-preserve-color) .uk-button-primary:hover, .uk-button-primary:hover {
    background-color: var(--color-secondary);
    color: #fff;
}

.whatsapp {
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.whatsapp img {
    border-radius: 50%;
}

.uk-button-danger:disabled, .uk-button-default:disabled, .uk-button-primary:disabled, .uk-button-secondary:disabled {
    border: 1px solid #e5e5e5;
}

#footer p {
    color: #fff;
}

#footer {
    padding: 40px 0;
}

.uk-section-secondary {
    background: var(--color-secondary);
}

.logo-name  {
    font-size: 13px;
    font-weight: bold;
    margin-left: 5px;
    color: var(--color-secondary);
    text-transform: uppercase;
}

.icon-image img {
    height: 70px;
}

.avatar img {
    border-radius: 50px;
}

.uk-height-large {
    height: 800px;
}

#gallery .uk-height-large {
    height: 500px;
}

.rounded, iframe {
    border-radius: 32px;
}

.social-icons img {
    height: 20px;
}


.paw-icon {
    width: 20px;
    margin-top: -5px;
}

.uk-overlay-primary {
    background: rgb(0 0 0 / 20%);
}

.uk-sticky:not(.uk-active) .logo img {
    height: 125px;
    position: absolute;
    top: 0px;
    
}

.uk-sticky.uk-active .logo img {
    height: 60px;
    position: relative;
    top: 0px;
    transition: height .1s ease;
}

#mobile-header.uk-sticky:not(.uk-active) .logo img {
    height: 80px;
    position: absolute;
    top: 5px;
    
}

#mobile-header.uk-sticky.uk-active .logo img {
    height: 40px;
    position: relative;
    top: 0px;
    transition: height .1s ease;
}

#mobile-header.uk-sticky:not(.uk-active) .logo-name {
    display: none;
}

.modal-mobile-header .logo img {
    height: 40px;
}

p {
    font-weight: 500;
}

sup {
    top: -1.5em;
    font-size: 40%;
    font-weight: 400;
}

.cbd-icon-contatti {
    width: 50px;
}

.review p {
    font-size: 17px;
}

.nome {
    font-weight: bold;
    font-size: 20px;
    color: var(--color-primary);
}

.professione {
    font-size: 16px;
    font-style: italic;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-color: #e4e4e4;
}

.uk-card-primary.uk-card-body .uk-button-primary, .uk-card-primary>:not([class*=uk-card-media]) .uk-button-primary, .uk-card-secondary.uk-card-body .uk-button-primary, .uk-card-secondary>:not([class*=uk-card-media]) .uk-button-primary, .uk-light .uk-button-primary, .uk-offcanvas-bar .uk-button-primary, .uk-overlay-primary .uk-button-primary, .uk-section-primary:not(.uk-preserve-color) .uk-button-primary, .uk-section-secondary:not(.uk-preserve-color) .uk-button-primary, .uk-tile-primary:not(.uk-preserve-color) .uk-button-primary, .uk-tile-secondary:not(.uk-preserve-color) .uk-button-primary {
    background-color: var(--color-primary);
    color: #fff;
}

#linea_1 b, #linea_1 strong {
    color: #486598;
}

#linea_2 b, #linea_2 strong {
    color: #bf9d83;
}

#linea_3 b, #linea_3 strong {
    color: #9185be;
}

#linea_4 b, #linea_4 strong {
    color: #77492d;
}

h3 {
    font-size: 30px;
    font-weight: bold;
}

.bg-tecnologia {
    background-image: url(/wp-content/themes/essentialnio/assets/images/bg-innovazione.png);
    background-repeat: no-repeat;
    background-size: auto;
    background-position: 0 20px;
}

.bg-chi-siamo {
    background-image: url(/wp-content/themes/essentialnio/assets/images/bg-chi-siamo.png);
    background-repeat: no-repeat;
    background-size: auto;
    background-position: right;
}

.bg-professionisti {
    background-image: url(/wp-content/themes/essentialnio/assets/images/bg-professionisti.png);
    background-repeat: no-repeat;
    background-size: auto;
    background-position: left;
}

.bg-ugc {
    background-image: url(/wp-content/themes/cantabass/assets/images/bg-2.png);
    background-repeat: no-repeat;
    background-size: 40%;
    background-position: top right;
}


.uk-slideshow-items, .image-container {
    border-radius: 30px;
    overflow: hidden;
}

#hero .cbd-icon {
    width: 80px;
}

.uk-light p {
    color: #fff;
}

.bag-icon {
    width: 18px;
    margin-top: -3px;
}

.wpcf7-list-item {
    margin: 0 !important;
}

.uk-background-cover p:not(.tag) {
    color: #fff;
}

.tags p {
    color: var(--color-secondary);
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bold;
}

.slider-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 81px;
}

.uk-slider-items {
    padding: 20px 0;
}

.uk-card-default {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
}

.uk-card-media-top > div {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.slider-arrow {
    width: 60px;
    height: 60px;
    border: 1px solid var(--color-primary);
    border-radius: 50px;
    background: var(--color-primary);
}

.slider-arrow.uk-invisible {
    border: 1px solid #000;
    background: #fff;
}

.slider-arrow img {
    width: 16px;
    filter: invert(100%) sepia(0%) saturate(1%) hue-rotate(28deg) brightness(102%) contrast(102%);
}

.slider-arrow.uk-invisible img  {
    filter: invert(0%) sepia(0%) saturate(9%) hue-rotate(239deg) brightness(104%) contrast(100%);
}

.uk-invisible {
    visibility: visible !important;
}

.uk-height-small {
    height: 250px;
}

.video-title {
    min-height: 68px;
}

.arrow img, img.arrow {
    filter: invert(44%) sepia(89%) saturate(672%) hue-rotate(4deg) brightness(94%) contrast(101%);
}

.uk-button {
    color: #222;
    font-size: 16px;
    border-radius: 50px;
    /*height: 44px;
    line-height: 44px;*/
    font-weight: bold;
}

.uk-button-primary {
    background-color: var(--color-primary);
    color: #fff;
    border: none;
}

/*.uk-button-primary:hover {
    background-color: #222;
    color: #fff;
}*/

.uk-link-toggle:hover .uk-link, .uk-link:hover, a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.tag {
    color: var(--color-secondary);
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bold;
}

.uk-section-primary {
    background: var(--color-primary);
}

.uk-section-primary p {
    color: #fff;
}

.logo:hover {
    text-decoration: none;
}

.uk-navbar-nav>li>a {
    color: #222;
    text-transform: none;
    font-size: 16px;
}

h1 {
    font-weight: 500;
}

.underline {
    display: inline-block;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

p {
    font-size: 20px;
}

.logo .blu, .into-the-change {
    font-size: 18px !important;
    font-weight: bold;
}

.blu, .into-the-change {
    color: #003C71 !important;
}

.underline::after {
    content: "";
    height: 14px;
    width: 0%;
    display: block;
    background: #FFE381;
    position: absolute;
    bottom: 11px;
    z-index: -1;
    animation: expandWidth 0.7s ease-out 0.5s forwards; /* Durata, easing, e 'forwards' per mantenere lo stato finale */
}

.credits img {
    height: 100px;
}

@keyframes expandWidth {
    from { width: 0%; }
    to { width: 100%; }
}

.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6, .uk-heading-2xlarge, .uk-heading-large, .uk-heading-medium, .uk-heading-small, .uk-heading-xlarge, h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    /*letter-spacing: -0.03em;*/
}

.uk-h1 {
    font-weight: bold;
}

html, body, p, .uk-navbar-item, .uk-navbar-nav>li>a, .uk-navbar-toggle {
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-optical-sizing: auto;
    color: #282828;
}

#modal-menu .uk-nav-default .uk-nav-sub a {
    text-transform: none;
    padding-left: 16px;
}

.uk-nav-default {
    font-size: inherit;
    line-height: 1.5;
    font-weight: 600;
}

.uk-list>li:nth-child(1)>a {
    color: #fff !important;
    padding: 10px 30px !important;
    border-radius: 50px;
    text-transform: none !important;
    background: rgb(8, 52, 124);
    background: radial-gradient(circle, rgba(8, 52, 124, 1) 0%, rgba(29, 34, 56, 1) 100%);
    display: inline-block;
    font-weight: bold;
}

.uk-modal-close-full {
    background: transparent;
    padding: 0px;
    position: relative;
}

.logo a {
    color: #222222;
    font-weight: 400;
    font-family: var(--font-primary);
    font-size: 16px;
}

.uk-link,
a {
    color: #000;
}

#header {
    padding: 5px 0px;
}

#mobile-header, .modal-mobile-header {
    padding: 10px 0;
}

.uk-nav-default .uk-nav-sub a {
    color: #000;
}

.uk-nav-default .uk-nav-sub {
    font-size: inherit;
}

.uk-nav-default>li>a {
    color: #000;
}

.uk-nav>li>a {
    padding: 0;
    min-height: 70px;
    font-weight: 500;
    justify-content: center;
}

em {
    color: inherit;
}

@media (min-width: 1440px) {

    #chi-sono .content {
        padding-right: 30%;
    }

    .uk-heading-medium {
        font-size: 70px;
    }

    .desktop-padding-left {
        padding-left: 100px;
    }

    .desktop-padding-small-left {
        padding-left: 40px;
    }

}

@media (min-width: 960px) { 

    .margin-left-960 {
        margin-left: 40px;
    }

    .uk-section-default {
        padding: 140px 0;
    }


    .uk-h1, h1 {
        font-size: 60px;
    }

    .sv-width-card {
        width: 30%;
    }

    .uk-container-expand-right {
        padding-right: 0px;
    }

    .uk-container-expand-left {
        padding-left: 0px;
    }

    .uk-navbar-nav {
        gap: 70px;
    }

    .uk-container-expand-left.uk-container-xlarge, .uk-container-expand-right.uk-container-xlarge {
        max-width: calc(50% + (1600px / 2) - 0px);
        
    }
}

@media (max-width: 640px) {

    .page-template-template-pedigree .uk-card-media-top.uk-cover-container img {
        object-fit: contain;
        height: auto;
    }

    .page-template-template-pedigree .uk-height-medium {
        height: 200px;
    }

    .uk-height-large {
        height: 300px;
    }

    .uk-heading-medium {
        font-size: 41px;
    }

    .review p {
        font-size: 16px;
    }

    p {
        font-size: 18px;
    }

    #hero .uk-cover-container {
        min-height: calc(-60px + 100vh) !important;
    }

    #hero .cbd-icon {
        width: 60px;
    }

    .uk-card-body {
        padding: 15px;
    }

    /*.uk-slideshow-items {
        min-height: 300px !important;
    }*/

    .uk-height-small {
        height: 150px;
    }
    
    .underline::after {
        height: 10px;
        bottom: 6px;
    }

    .remove-margin-mobile {
        margin: 0px !important;
    }
}

@media (min-width: 960px) and (max-width: 1200px) {
    .uk-navbar-nav {
        gap: 40px;
    }
}