*, *::before, *::after {
  box-sizing: border-box;
}

html {
    margin: 0;
    pointer-events: none;
    animation: enable-pointer-events 2s linear forwards;
}
@keyframes enable-pointer-events {
    100% {
        pointer-events: all;
    }
}

/*SCROLLBAR*/
::-webkit-scrollbar {
	display: none;
}

/*SELECTION*/
::selection, ::-moz-selection {
	color: #f5f5f5;
	background: transparent;
}

/*TYPE FORMATS*/
@font-face {
  font-family: Lars Regular;
  src: url("fonts/Lars-Regular.woff");
}

@font-face {
  font-family: Lars Regular Italic;
  src: url("fonts/Lars-Regular-Italic.woff");
}

@font-face {
  font-family: Lars Medium;
  src: url("fonts/Lars-Medium.woff");
}

@font-face {
  font-family: Lars Medium Italic;
  src: url("fonts/Lars-Medium-Italic.woff");
}

h1, h2, h3, h4, h5 {
	font-weight: 400;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    margin-inline-start: 0px !important;
    margin-inline-end: 0px !important;
    padding: 0;
    margin: 0;
    display: inline;   
}

p {
    display: block;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    margin-inline-start: 0px !important;
    margin-inline-end: 0px !important;
    word-break: break-word;
}

ul {
    display: block;
    list-style-type: none;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    margin-inline-start: 0 !important;
    /* margin-inline-end: 0 !important; */
    padding-inline-start: 0 !important;
}

a {
	text-decoration: none;
    color: #000000;
    transition: color .15s;
}

/*multilingual*/
body.english .spanish, body.spanish .english {
	display:none;
}

/*BODY*/
body {
    --header-height: 52px;
	font-family: Lars Regular, sans-serif;
    font-size: 1.4vw;
    color: #000000;
    padding: 0;
    margin: 0;
    position: relative;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background: #ffffff;
    overflow-x: hidden;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2vw;
    height: var(--header-height);
    z-index: 1000;
}
.site-title h1, nav.main-menu a, nav.main-menu span{
	font-family: Lars Medium;
    font-size: 2.75vw;
}

.site-title {
    transition: color .15s;
}

.site-title a:hover{
	color: #008c96;
}

nav.main-menu a {
	transition: color .15s;
}

nav.main-menu a:hover {
	color: #008c96;
    /*border-bottom: 1px solid #008c96;*/
}

nav.main-menu li.menu-button{
	cursor: pointer;
    /* position: absolute; */
    right: 0;
    transition: color .15s;
}

nav.main-menu li.menu-button:hover {
	color: #008c96;
    /*border-bottom: 1px solid #008c96;*/
}

li.menu-button {
	position: relative;
}

li.menu-button.close:after {
	content: url(images/uploads/layout/close.svg);
    width: 1.8vw;
    height: auto;
    position: absolute;
    top: 0.7vw;
    right: 0;
}

li.menu-button.close span {
	display: none;
}

nav.main-menu, ul.menu-items {
    text-align: right;
}

ul.menu-items {
	/*display: flex;*/
    display: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-right: 4vw;
}

ul.menu-items.open {
	display: flex;
}

ul.menu-items li.item{
	margin-left: 2.2vw;
}

/*CONTENT*/
.content {
	position: relative;
	margin-top: var(--header-height);
    padding: 0.7vw 1.2vw;
}

/* LANGUAGE SWITCHER */
.english .spanish, .spanish .english {display:none !important;}

/* SMOOTH IMG */
img {
  -webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
}

/* HOME SLIDESHOW */
#home-slideshow {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100vh;
    z-index: 99;
}
#home-slideshow .slides {
    position: relative;
    background-color: #ffffff;
    width: 100%;
    height: calc(100% - var(--header-height));
    margin-top: var(--header-height);
}
#home-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}
#home-slideshow .slide.active {
    opacity: 1;
}
#home-slideshow .slide__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
#home-slideshow .slide__description {
    --padding: 16px;
    position: absolute;
    bottom: var(--padding);
    left: var(--padding);
    font-family: Lars Regular;
    font-weight: 600;
    font-size: 5vw;
    text-align: left;
    width: calc(100% - (var(--padding) * 2));
}
body:has(.menu-items.open) #home-slideshow .slide__description {
    display: none;
}
#home-slideshow .slides__buttons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    z-index: 1;
}
#home-slideshow .slides__buttons button {
    position: absolute;
    width: 50%;
    height: 100%;
    background-color: transparent;
    border: none;
}
#home-slideshow .slides__buttons .prev {
    cursor: url('images/uploads/layout/arrow-left.png'), auto;
    left: 0;
}
#home-slideshow .slides__buttons .next {
    cursor: url('images/uploads/layout/arrow-right.png'), auto;
    right: 0;
}

/* LARGE MONITORS */
@media (min-width: 1800px) {
    body {
        --header-height: 72px;
    }
}

/*TABLET*/
@media (max-width:1024px) {
    /* BODY */
    body {
        --header-height: 42px;
        font-size: 2.3vw;
    }
    li.menu-button.close:after {
        top: .2vw;
    }
}

/*MOBILE*/
@media (max-width:600px) {
    /*BODY*/
    body {
        font-size: 3.6vw;
        color: #000000;
    }

    /*CONTENT*/
    .content {
        padding: 1.5vw 2.5vw;
    }

    /* HEADER */
    header {
        background-color: #ffffff;
        padding: 1.5vw 2.5vw;
    }
    .site-title {
        background: white;
        box-sizing: border-box;
        top: 0;
        left: 0;
        right: 0;
        /* height: 42px; */
        display: flex;
        align-items: center;
        z-index: 99;    
    }
    body.media .site-title {
        background: #008C96;
    }

    .site-title h1, nav.main-menu a, nav.main-menu span{
        font-size: 6.65vw;
    }

    ul.menu-items.open {
        background: white;
        display: block;
        position: fixed;
        top: 42px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 42px);
        padding-top: 2vw;
        text-align: left;
        z-index: 99;
    }

    nav.main-menu li.menu-button{
        cursor: pointer;
        right: 2.5vw;
        transition: color .15s;
        z-index: 100;
    }

    li.menu-button.close:after {
        width: 4.6vw;
        height: auto;
        position: absolute;
        top: -2.5vw;
        right: 0vw;
        z-index: 999;
    }
    #home-slideshow .slide__description {
        font-size: 6vw;
    }

}