:root {
  --bg-white-custom: #fff;
  --default-light: #eaece8;
  --default-lighter: #efefec;
  --default-dark: #2d2c2c;
  --default-dark-hover: #2a2929;
  --light: #8a8c88;
  --light-hover: #aaaca8;
  --gold: #928257;
  --gold-hover: #b2a277;
  --highlight: #27b1d8;
  --highlight-hover: #0791b8;
  --grigioopaco: #8a8c88;
}

@font-face {font-family: fontdefault;src: url('/css/Josefin_Sans/static/JosefinSans-Light.ttf');}
@font-face {font-family: fontsemibold;src: url('/css/Josefin_Sans/static/JosefinSans-Regular.ttf');}
@font-face {font-family: fontbold;src: url('/css/Josefin_Sans/static/JosefinSans-SemiBold.ttf');}
@font-face {font-family: fontblack;src: url('/css/Josefin_Sans/static/JosefinSans-Bold.ttf');}

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

.fontdefault                            {font-family:fontdefault,sans-serif!important;}
.fontsemibold, strong, b                {font-family:fontsemibold,sans-serif!important;}
.fontbold                               {font-family:fontbold,sans-serif!important;}
.fontblack                              {font-family:fontblack,sans-serif!important;}

.text-dark-custom                       {color: var(--default-dark);}
.text-dark-custom:hover                 {color: var(--default-dark-hover);}
.text-light-custom                      {color: var(--light);}
.text-light-custom:hover                {color: var(--light-hover);}
.text-gold                              {color: var(--gold);}
.text-gold:hover                        {color: var(--gold-hover);}
.text-highlight                         {color: var(--highlight);}
a.text-highlight:hover                  {color: var(--highlight-hover);}
.bg-white-custom                        {background-color: #fff;}
.bg-default-light                       {background-color: var(--default-light);}
.bg-default-lighter                     {background-color: var(--default-lighter);}
.bg-default-dark                        {background-color: var(--default-dark);}
.bg-gold                                {background-color: var(--gold);}
.bg-highlight                           {background-color: var(--highlight);}

.text-shadow                            {text-shadow: 15px 15px 15px #888;}
.text-justify                           {text-align: justify;}

.centered                               {position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);-webkit-transform: translate(-50%, -50%);-ms-transform: translate(-50%, -50%);-o-transform: translate(-50%, -50%);-moz-transform: translate(-50%, -50%);}
.animated04                             {-webkit-transition: all .4s ease;-moz-transition: all .4s ease;-o-transition: all .4s ease;transition: all .4s ease;}
.animated06                             {-webkit-transition: all .6s ease;-moz-transition: all .6s ease;-o-transition: all .6s ease;transition: all .6s ease;}
.animated10                             {-webkit-transition:all 1.0s ease;-moz-transition:all 1.0s ease;-o-transition:all 1.0s ease;transition:all 1.0s ease;}
.animated14                             {-webkit-transition:all 1.4s ease;-moz-transition:all 1.4s ease;-o-transition:all 1.4s ease;transition:all 1.4s ease;}
.bg-cover                               {background-size: cover; background-position: center center;}
.bg-contain                             {background-size: contain; background-position: center center;}

.bgtransitions                          {
                                        -webkit-transition: background-color 400ms linear;
                                        -ms-transition: background-color 400ms linear;
                                        transition: background-color 400ms linear;    
                                        }
.letterspacinghover:hover               {letter-spacing: .1rem;}
.cursor-pointer                         {cursor:pointer}alias

@media only screen and (orientation : landscape) {
    h1, .h1 {
      margin-top: 0px;
      margin-bottom: 0px;
      font-size: 4vw;
      /*line-height: 0.8;*/
      font-weight: 700;
      letter-spacing: -0.04em;
    }

    h2, .h2 {
      margin-top: 0px;
      margin-bottom: 0px;
      font-size: 2.3vw;
      /*line-height: 1.4;*/
      font-weight: 700;
    }

    h3, .h3 {
      margin-top: 0px;
      margin-bottom: 0px;
      font-size: 1.9vw;
      /*line-height: 1.4;*/
      font-weight: 700;
    }

    h4, .h4 {
      margin-top: 0px;
      margin-bottom: 0px;
      font-size: 1.3vw;
      /*line-height: 1.4;*/
      font-weight: 700;
    }

    h5, .h5 {
      margin-top: 0px;
      margin-bottom: 0px;
      font-size: 1vw;
      /*line-height: 1.4;*/
      font-weight: 700;
    }

    h6, .h6 {
      margin-top: 0px;
      margin-bottom: 0px;
      font-size: 0.85vw;
      /*line-height: 1.4;*/
      font-weight: 700;
    }    
}

@media only screen and (orientation : portrait) {
    h1, .h1 {
      margin-top: 0px;
      margin-bottom: 0px;
      font-size: 8vw;
      /*line-height: 0.8;*/
      font-weight: 700;
      letter-spacing: -0.04em;
    }

    h2, .h2 {
      margin-top: 0px;
      margin-bottom: 0px;
      font-size: 6vw;
      /*line-height: 1.4;*/
      font-weight: 700;
    }

    h3, .h3 {
      margin-top: 0px;
      margin-bottom: 0px;
      font-size: 5.4vw;
      /*line-height: 1.4;*/
      font-weight: 700;
    }

    h4, .h4 {
      margin-top: 0px;
      margin-bottom: 0px;
      font-size: 4.4vw;
      /*line-height: 1.4;*/
      font-weight: 700;
    }

    h5, .h5 {
      margin-top: 0px;
      margin-bottom: 0px;
      font-size: 4vw;
      /*line-height: 1.4;*/
      font-weight: 700;
    }

    h6, .h6 {
      margin-top: 0px;
      margin-bottom: 0px;
      font-size: 3vw;
      /*line-height: 1.4;*/
      font-weight: 700;
    }
}

@media only screen and (min-width : 320px) {        

    .pinned                         {margin-top: 10vh;}
    .pinned:first-child             {margin-top: 0;}
    .pinned .container              {}
    .pinned .img, .pinned .text     {width: 50%; float: left;}
    .pinned .img                    {position: relative;}
    .pinned .text                   {}
    .pinned img                     {max-width: 100%!important;max-height: 400px!important;margin-left:auto;margin-right:0;}
    .pin-spacer                     {}

    .section-spacer                 {height:20vh;}

    html, body {
        width: 100%;
        overflow-x: hidden!important;
    }

    body {
        font-family:fontdefault,sans-serif!important;
        color: var(--default-dark);
        background: var(--bg-default);
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        font-size:10pt;
    }

    a, .text-link {
        text-decoration: none;
        color: var(--highlight);
        outline: none;
    }

    a:hover,
    a:focus,
    .text-link:hover,
    .text-link:focus,{
        color: var(--highlight-hover);
    }

    .hidden {
        position: absolute;
        overflow: hidden;
        width: 0;
        height: 0;
        pointer-events: none;
    }

    /* Icons */
    .icon {
        display: block;
        width: 2.5em;
        height: 2.5em;
        margin: 0 auto;
        fill: var(--light);
    }

    .icon--inline {
        display: inline-block;
        width: 1em;
        height: 100%;
        margin: 0 0.25em 0 0;
    }

    .form__close {
        margin: 1.25em 0 0 0;
        position: relative;
        display: inline-block;
        height: 0.65em;
        float: left;
        font-weight: bold;
        cursor: pointer;
    }

    .btn--menu .icon    {fill: var(--highlight);}
    .btn--close .icon   {fill: white;}


    /* Page Loader */
    
    .js .loading {
        height: 100vh;
        overflow-y: hidden;
    }

    .js .loaded {
        height: auto;
        overflow-y: scroll;
    }

    .js .loading::before {
        content: '';
        position: fixed;
        z-index: 9999;
        top: 0;
        left: 0;
        display: flex;
        width: 100%;
        height: 100%;
        text-align: center;
        background: var(--bg-white-custom);
    }

    .js .loading::after {
        content: '';
        position: fixed;
        z-index: 10000;
        top: 52%;
        left: 50%;
        width: 50px;
        height: 50px;
        margin: -25px 0 0 -25px;
        pointer-events: none;
        background: var(--highlight);
        animation: loaderAnim 0.8s ease-out infinite alternate forwards;
    }

    @keyframes loaderAnim {
        to {
            transform: translate3d(0,-100px,0);
        }
    }
    
    /* Content */
    /*.pin-spacer {outline:10px solid #f0f;}*/
    
    .content.intro {
        height: 100vh;
    }

    .content {
        position: relative;
        overflow-x: hidden;
        min-height: 100vh;
    }

    .content--full {
        height: 100vh;
        min-height: 100vh;
        width:90vw;
        margin-left: auto;
        margin-right: auto;
    }

    .flexy {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
    }

    .flexy--center {
        justify-content: center;
    }

    .flexy--row {
        flex-direction: row;
    }

    .content__heading {
        flex: none;
        width: 100%;
        padding: 0 5vw;
    }

    .content__heading--center {
        text-align: center;
    }

    .content__title {
        padding: 0 5vw;
        text-align: center;
    }

    .content__title--half {
        width: 50%;
        z-index: 2;
    }

    .content__title--enclosed {
        padding: 0;
        margin: 0;
    }

    .content__title--center {
        margin: auto;
    }

    .content__title--right {
        text-align: right;
        padding: 0 0 0 2em;
    }

    .content__title--left {
        margin-left: -10vw;
    }

    .content__title--medium  {
    }

    .content__title--small  {
    }

    .content__title__inner {
        flex: none;
        display: inline-block;
        /*white-space: nowrap;*/
        position: relative;
    }

    .content__image-wrap {
        flex: none;
        width: 25vw;
    }

    .content__image-wrap--half {
        /*width: 50vw;*/
        width: 50%;
    }

    .content__image {
        width: 100%;
        display: block;
    }

    .triggers {
        border: 2px solid;
        padding: 3em;
        margin: 0 5vw;
        width: 40vw;
    }

    /*
    .content--related {
        padding: 8em 5vw;
        font-weight: bold;
        text-align: center;
    }

    .content--related h2 {
        font-family: 'Inconsolata', monospace;
        font-size: 1.25em;
    }

    .content--related .demos {
        padding-bottom: 3em;
    }

    .media-item {
        display: inline-block;
        padding: 1em;
        vertical-align: top;
        transition: color 0.3s;
    }

    .media-item__img {
        max-width: 100%;
        opacity: 0.8;
        transition: opacity 0.3s;
    }

    .media-item:hover .media-item__img,
    .media-item:focus .media-item__img {
        opacity: 1;
    }

    .media-item__title {
        font-size: 1em;
        margin: 0;
        padding: 0.5em;
    }
    */

    header .btn {
        border: 0;
        padding: 0;
        background: none;
        color: inherit;
        margin: 0;
    }

    .btn:focus {
        outline: none;
    }

    .btn--trigger {
        margin: 1em;
        display: block;
        white-space: nowrap;
    }

    .btn--default,
    .btn--trigger::before {
        font-weight: bold;
        border: 2px solid;
        text-align: center;
        text-indent: 0;
        display: inline-block;
        line-height: 1.7;
    }

    .btn--trigger::before {
        content: 'Press';
        width: 4em;
        height: 2em;
        margin: 0 0.75em;
    }

    .btn--trigger:active::before {
        content: 'Ouch!';
    }

    .btn--default {
        padding: 0 1em;
        margin: 2vh 0 0;
    }

    .btn--tool {
        display: block;
        margin: 1em 0;
        font-size: 1.3em;
        color: #8a7c78;
    }

    .btn--menu {
        top: 0;
        right: 0;
        pointer-events: visible;
        z-index: 1019;
        transform: none;
    }

    .btn--close {
        position: absolute;
        top: 0;
        right: 0;
        font-size: 0.75em;
        z-index: 100;
    }

    .btn--whatsapp {
        right: 0;
        margin-top: calc(97vh - 70px)!important;
        pointer-events: visible;
        z-index: 10;
        transform: none;
    }

    .logo-container {
        top: 3vw;
        left: 3vw;
        width: 120px;
        height: 120px;
        pointer-events: visible;
        z-index: 1019;
        transform: none;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;  
        background-color: tomato;
    }
    .logo-container img {
        height: 100%;
    }

    /* Menu */
    .menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 450px;
        max-width: 100%;
        z-index: 1020;
    }

    .js .menu {
        pointer-events: none;
    }

    .js .menu--open {
        pointer-events: visible;
    }

    .menu .block-revealer__content {
        height: 100%;
        position: relative;
    }

    .menu__inner {
        width: 100%;
        height: 100%;
        list-style-type: none;
        margin: 0;
        overflow: hidden;
        overflow-y: scroll;
    }

    .menu__item {
        padding: 0.15em 0.15em;
    }

    .js .menu__item {
        transform: translate3d(-13em,0,0);
        transition: transform 0s 0.4s;
    }

    .btn--close {
        opacity: 0;
    }

    .menu--open .menu__item,
    .menu--open .btn--close {
        opacity: 1;
        transform: translate3d(0,0,0);
        transition: opacity 0.4s 0.135s, transform 0.4s 0.135s cubic-bezier(0.645, 0.045, 0.355, 1);
    }

    .menu--open .menu__item:nth-child(2) {transition-delay: 0.165s;}
    .menu--open .menu__item:nth-child(3) {transition-delay: 0.175s;}
    .menu--open .menu__item:nth-child(4) {transition-delay: 0.185s;}
    .menu--open .menu__item:nth-child(5) {transition-delay: 0.195s;}
    .menu--open .menu__item:nth-child(6) {transition-delay: 0.205s;}
    .menu--open .menu__item:nth-child(7) {transition-delay: 0.215s;}
    .menu--open .menu__item:nth-child(8) {transition-delay: 0.225s;}
    .menu--open .menu__item:nth-child(9) {transition-delay: 0.235s;}
    .menu--open .menu__item:nth-child(10){transition-delay: 0.245s;}
    .menu--open .menu__item:nth-child(11){transition-delay: 0.255s;}
    .menu--open .menu__item:nth-child(12){transition-delay: 0.265s;}
    .menu--open .menu__item:nth-child(13){transition-delay: 0.275s;}
    .menu--open .menu__item:nth-child(14){transition-delay: 0.285s;}
    .menu--open .menu__item:nth-child(15){transition-delay: 0.295s;}
    .menu--open .menu__item:nth-child(16){transition-delay: 0.305s;}
    .menu--open .menu__item:nth-child(17){transition-delay: 0.315s;}

    .menu .menu__link {}

    .menu .menu__link:hover,
    .menu .menu__link:focus {
        outline: none;
        letter-spacing: .1rem;
    }

    .box {
        max-width: 600px;
        width: 100%;
        font-size: 1.25em;
        margin: 16vh 0 0 0;
    }

    .box--small {
        max-width: 500px;
    }

    .box--border {
        padding: 2em 3em;
        border: 2px solid;
    }

    .form {
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
    }

    .form-floating textarea {height: 10.5rem!important;}
    .form-floating .form-control {font-size: 1.5rem;!important;}
    .form-floating>label,
    floating>.form-control:focus~label,
    .form-floating>.form-control:not(:placeholder-shown)~label,
    .form-floating>.form-select~label {font-size: 1.3em;}
    
    .js .form {
        pointer-events: none;
    }

    .js .form--open {
        pointer-events: visible;
    }

    .form__inner {
        position: absolute;
        width: 100%;
        height: 100%;
        min-height: 100vh;
        top: 0;
        left: 0;
        padding: 5vw;
        background: #fff;
    }

    .form__section {
        font-size: 1.25em;
        text-align: left;
        padding: 0.5em 0;
        width: 80%;
        max-width: 380px;
        margin: 0 auto;
    }

    .form__section--title {
        font-size: 2.35vw;
        padding: 0 0 1em;
        line-height: 1.1;
        max-width: 380px;
        margin: 0 auto;
    }

    .js .form__section {
        transform: translate3d(0,100px,0);
        opacity: 0;
        transition: transform 0s 0.6s, opacity 0s 0.6s;
    }

    .form--open .form__section {
        opacity: 1;
        transform: translate3d(0,0,0);
        transition: transform 1s 0.3s, opacity 1s 0.3s;
        transition-timing-function: cubic-bezier(0.2,1,0.2,1);
    }

    .form--open .form__section:nth-child(2) {
        transition-delay: 0.35s;
    }

    .form--open .form__section:nth-child(3) {
        transition-delay: 0.40s;
    }

    .form--open .form__section:nth-child(4) {
        transition-delay: 0.45s;
    }

    .form--open .form__section:nth-child(5) {
        transition-delay: 0.50s;
    }

    .form--open .form__section:nth-child(6) {
        transition-delay: 0.55s;
    }

    .form__label {
        display: block;
        flex: none;
        width: 100%;
        padding: 0.25em 0;
    }

    .form__input {
        padding: 1vh;
        font-size: 1.5em;
    }

    .form__input,
    .form__select {
        width: 100%;
        border: 2px solid;
        font-weight: bold;
        background: transparent;
    }

    .form__input:focus,
    .form__select:focus {
        outline: none;
    }

    .form__section--right {
        text-align: right;
    }

    .modal-custom {
        position: fixed;
        max-width: 500px;
        width: 90%;
        font-size: 1.1em;
        pointer-events: none;
        top: 50%;
        left: 50%;
        transform: translate3d(-50%,-50%,0);
        z-index: -100;
        display: none;
    }

    .modal--open {    
        z-index: 100;
        display: block;
        pointer-events: visible;
    }

    .modal__inner {
        padding: 2.5em;
        color: #fff;
        background: #aaa;
    }

    .modal__title {
        font-size: 1.5em;
        margin: 0 0 1em 0;
    }

    .overlay {
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s;
    }

    .modal--open + .overlay {
        pointer-events: visible;
        opacity: 1;
    }

    .content-scale {dmargin: 20vh auto;overflow: hidden;background-color: var(--default-light);min-height:100vh;}    
    .content-scale .img-container {z-index: 2;}    
    .content-scale .text-container {background-color: var(--default-light);}    
    
    .JL {
      z-index: 999;
        position: absolute;
        top: 45%;
      width: 100%;
    }

    .img-container {
      position: relative;
      height: 100%;
      width: 100%;
      overflow: hidden;
      text-align:center;
    }
    .mask {
        z-index: 999;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        height: 100%;
        width: 100%;
        transform-origin: bottom;
    }

    .img-inner {
        height: 100%;
        width: 100%;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }


    section.text {
      z-index: 1;
    }

    .text-banner {
      min-height:100vh;
      display: flex;
      justify-content: center;
      position: relative;
      z-index: 0;
    }

    .text-banner__inner {
        margin: auto;
    }

    .fade-up-title span, .fade-up-text span {
    }            

    footer {
      min-height: 100vh;
      width: 100vw;
      color: var(--default-dark);
      background-color: var(--default-light);
      overflow: hidden;
    }

    footer .logo {
        height: 20vh;
    }

    section.footer {
      min-height: 100vh;  
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    } 


    /* CALENDAR -------------------------------------------------- */
    .scenes {
      position: relative;
    }

    .scenes__wrap,
    .scenes__items {
        position: relative;
        height: 100vh;
        width: 100%;
        margin: 0 auto;
      }

    .scenes__wrap {}

    .scene-spacing {
      height: 100vh;
    }

    .scene {
        overflow: hidden;
      height: 90vh;
      margin: 5vh auto;
      width: 100%;
      display: flex;
      align-items: center;
      padding: 0rem 10%;
    }

    .scene.active {
      z-index: 2;
    }

    .scene__grid {
        display: grid;
        grid-template-columns: minmax(0,1fr) minmax(0,1fr);
        grid-column-gap: 4em;
        margin: 0 auto;

        @media (min-width: 50em) {
          grid-column-gap: 8em;
        }
    }

    .scene__header {
        max-width: 33em;
        margin: 0 auto;
        align-self:center;
    }
    .scene__header > div {
          position: relative;
          top: -15%;
    }

    .scene__title {
        font-size: 2em;
        margin-bottom: 0.25em;

        @media (min-width: 50em) {
          font-size: 2.5em;
        }
    }

    .scene__text {
        font-size: 1.75em;
      }

    .scene__figure {
        display: flex;
        align-items: center;
        width: 100%;
        height: 100vh;
        margin-left: auto;
        padding: 0;
    }

    .scene__figure > div {width: 100%;height:100%;max-height: 90vh;}

    .scene__img {
        display: block;
        /* height: 100vh; */
        width: 100%;
        max-height: 100%;
        height: auto;
    }

    .scene__vid {
        position: relative;
        width: 100%;
        max-height: 90vh;
        height: 90em;
        background: #222;
        /* aspect-ratio: 6/8; */
        overflow: hidden;
        object-fit: cover;
    }
    .scene__vid > video {
          position: absolute;
          height: 100%;
          width: 100%;
          object-fit: cover;
    }
} 

/* Extra Small Devices, Phones */ 
@media only screen and (min-width : 480px) {
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
    .logo-container {
        width: 180px;
        height: 180px;
    }
    
    .dual {
        width: 90vw;
        margin: 10vh auto;
        position: relative;
    }

    .dual__inner {
        position: absolute;
        width: 100%;
        height: 100%;	
    }

    .dual__half {
        position: absolute;
        height: 100%;
        width: 51%;
        right: 0;	
        background-size: cover;
    }

    .even .dual__half {
        right: auto;
        left: 0;
    }

    .dual__content {
        position: relative;
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 500px;
        padding: 1.5em 2.5em;
        font-size: 1.75em;
        line-height: 1.4;
        color: var(--default-dark);
    }

    .odd .dual__content {
        text-align: right;
    }

    .even .dual__content {
        float: right;
    }

    .js .dual__content {
        opacity: 0;
        pointer-events: none;
        transform: translate3d(60px,0,0);
        transition: opacity 0.55s 0.4s, transform 0.4s 0.4s;
    }

    .js .even .dual__content {
        transform: translate3d(-60px,0,0);
    }

    .dual__content.dual__content--show {
        opacity: 1;
        pointer-events: visible;
        transform: translate3d(0,0,0) !important;
    }
    
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
}

/* SmoothScroll */
#viewport {
  overflow: hidden;
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#content     {
  overflow: visible;
  width: 100%;
}