@import url("BrandonText.css");
@import url("PFBagueSansPro.css");
@import url("PFRegalDisplayPro.css");

html {
    font-size: 12px;
}

body {
    background-color:white;/* lightcoral;*/
}

/* Mobile */
@media (max-width: 900px) {
    .block {        
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }

    .block div {
        text-align: center !important;
    }

    .header {
        position: relative !important;
        height: unset !important;
    }

    .header .container {
        display: block !important;
        height: unset !important;
    }

    .header-placeholder {
        height: 0 !important;
    }

    .header .logo {
        padding-left: 8px !important;
        padding-top: 8px !important;
    }

    nav.main {
        /*display: none;*/
    }

    nav.main > ul > li {
        display: block !important;
        text-align: left;
        border-bottom: 1px solid #AAA;
    }    

    nav.main > ul {
        padding-right: 0 !important;
    }

    .header .nav-mobile-button {
        position: absolute;
        display: block;
        width: 32px;
        height: 32px;
        /* border: 1px solid #BBB; */
        top: 26px;
        right: 26px;
    }

    .header nav.main.expanded {
        /*
        height: auto;*/
        /* transform: scaleY(1.0) !important; */
        display: block; 
     }
 
     .header nav.main {
        /*
        transition: height 0.3s;
        height: 0;        
        overflow: clip;
        */
        /*
         transform: scaleY(0.0) !important;
         transition: transform 0.3s; 
         */
         display: none;
     }
 
 
    .section-5 .block-container,
    .section-1 .block-container {
        grid-template-columns: auto !important;
        grid-template-rows: 1fr 1fr !important;
        text-align: center;
    }

    .section-2 .content > .block-container {
        display: block !important;
    }

    .section {
        height: auto !important;
    }

    .main-column {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .section-2 .content > .block-container > .block-container .block:nth-of-type(2) .title {
        margin-top: 0 !important;;
    }
    
    .section-2 .content > .block-container > .block-container {
        display: block !important;
    }    

    .section-2 .content > .block-container .block .title {
        display: inline-grid !important;
    }

    .page-content-aux {
        padding: 0 16px;
    }
}

/* Tablet styles */
@media (min-width: 901px) {
    body {
        background-color: white; /*lightgreen;*/
    }
}

/* Desktop styles */
@media (min-width: 1101px) {
    body {
        background-color: white;
    }
}


:root{
    /*font-size: 16px;*/
    --column-width: 1100px;
    --header-height: 100px;
    --background-scale: 1.5;
    --theme-color: #3b8395;
    --theme-secondary: #57424B;
}

.header-placeholder {
    height: 0;
    transition: height 1s;
    max-width: var(--column-width);
    width: 100%;
    display: block;
}

.header-placeholder.expanded {
    height: var(--header-height);    
}

.header .container {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    height: var(--header-height);
    padding: 0;
    margin: 0;
}

.header {
    z-index: 10000;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    width: 100% !important;
}

.header .logo {
    padding: 0;
    margin: 0;
    padding-left: 64px;
    height: 75px;
    cursor: pointer;
    transition: padding-left 0.3s;
}

body {
    padding: 0;
    margin: 0;
    /*
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    text-shadow: rgba(0,0,0,.01) 0 0 1px;
    */
    
}

nav.main {
    white-space: nowrap;
}

nav.main > ul {
    margin: 0;
    text-align: right;
    padding: 0;
    padding-right: 64px;
}

nav.main > ul > li {
    list-style: none;
    display: inline-block;
    padding: 16px;
}

nav.main > ul > li,
nav.main > ul > li a {
    text-transform: uppercase;
    text-decoration: none;

    font-family: "BrandonText";
    font-weight: 500 !important;
    /*font-size: 1.8rem !important;*/
    font-size: 16px;

    color: black !important;
    cursor: pointer;
}

nav.main > ul > li.active,
nav.main > ul > li:hover {
    color: #578795 !important;
}

.main-column {
    max-width: var(--column-width);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
    display: block;
    padding-left: 16px;
    padding-right: 16px;
}

.section {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden; 
}

.section .background {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200%;
    background-position: center;
    background-repeat: no-repeat;
    /*background-size: cover;*/
    z-index: -1;
    background-size: cover;
 /*   transform: translateY(0) scale(var(--background-scale), var(--background-scale));*/
}

.section-1 .background {
    background-image: url("../img/orig/home_background.jpg");
}

.section-5 .background,
.section-2 .background {
    background-image: url("../img/orig/home_intro_blue_texture.jpg");
}

.section-3 .background {
    background-image: url("../img/orig/home_background.jpg");
}

.section-3 .background::after {
    content: '';
    position:absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;    
    background-color: #55424b55;
    pointer-events: none;
    z-index: 0;
}

.section-4 .background {
    background-color: #fff;
}

.section-3 .buttons {
    margin-top: 64px;
}

.section-3 .buttons  button {
    margin-top: 32px;
}

.content {
    position: relative;
    z-index: 1;
}

.section-1 .content > span {
    width: 100%;
    display: block;
}

.section-1 .logo img {
    padding-top: 90px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.section-5 .logo-text img,
.section-1 .logo-text img {
    padding-top: 32px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.section-5 .logo-moto h2,
.section-1 .logo-moto h2 {
    padding-top: 10px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;

    font-family:  "PFBagueSansPro";
    font-weight: 500;
    font-size: 13.3px;
    color: var(--theme-color);
    letter-spacing: 4.5px;    
}

.section-1 .block-container {
    padding-top: 45px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.section-1 .block-container .block {
    display: grid;
    align-items: center;
}

.section .block {
    padding-left: 16px;
    padding-right: 16px;
}

.block .title {
    font-family: 'BrandonText';
    font-weight: 100;
    font-size: 53px;
    color: var(--theme-secondary);
    text-transform: none;      
    display: block;
    filter: blur(0.45px);
}

.block .moto {
    font-family: 'BrandonText';
    font-weight: normal;
    font-size: 16px;
    color: var(--theme-color);
    text-transform: none;
    display: block;
}

.block button {
    margin-top: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 25px;
    padding-right: 25px;
    background-color: var(--theme-color);
    color: #fff !important;
    border: none;
    font-family: 'BrandonText';
    font-weight: normal;
    font-size: 17px;
    text-transform: none;    
    text-decoration: none;
}

.block img {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0;
    margin: 0;
    border: none;
}

.section-1 {
    height: 970px;
}

.section-2 {
    height: 1100px;
}

.section-2 .content > .block-container {
    padding-top: 96px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 24px;
}

.section-2 .content > .block-container > .block-container {
    display: grid;
}
/*
.section-2 .content > .block-container > .block-container .block:first-of-type {
    display: flex;
    align-items: flex-start;
}
*/

.section-2 .content > .block-container > .block-container .block:nth-of-type(2) .title {
    margin-top: -64px;
}

.section-2 .content > .block-container > .block-container .block:first-of-type .title {
    /*display: flex;
    align-items: flex-start;*/
    margin-top: 8px !important;
}

.section-2 .block {
    text-align: center !important;
}

.section-2 .block .title {
    margin-top: 32px;
    font-size: 44px;
}

.section-2 .description {
  font-family: "BrandonText";
  font-size: 14px;
  color: var(--theme-secondary);
}

.section-2 .block-container img {
    width: 340px;
    height: 700px;
}

.section-2 .content > .block-container .block {
    text-align: left !important;
}

.section-2 .content > .block-container > .block-container:nth-of-type(2) .block {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.section-2 .content > .block-container .block .title {
    margin-top: 32px;
    font-size: 44px;
    font-family: "BrandonText";
    font-weight: bold !important;
    font-size: 26px !important;
    color: var(--theme-secondary) !important;
    white-space: nowrap;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    grid-gap: 24px;
}

.section-2 .content > .block-container .block .title i {
    width: 60px !important;
    height: 60px !important;
    line-height: 60px !important;

    border-color: var(--theme-color);
    border-width: 1px;
    border-style: solid;
    border-radius: 60px;
    text-align: center; 
    
    display: grid !important;
    align-content: center;
}

.section-2 .content > .block-container .block .title svg {
    height: 32px !important;
    width: 32px !important;
    margin: 0 auto;
    vertical-align: middle;
}

.section-2 .content > .block-container .block .title svg path {
    fill: var(--theme-color);
}

.section-2 .content > .block-container .block .moto {
  font-family: "PFRegalDisplayPro";
  font-weight: 300;
  font-style: italic;
  font-size: 23px;
  color: var(--theme-color);
  line-height: 1.2;
  text-transform: none;
  padding-top: 16px;
}

.section-2 .content > .block-container .block .description {
    padding-top: 24px;
    display: block;
}

.section-2 .content > .block-container .block .action {
    padding-top: 24px;
}

.section-2 .content > .block-container .block .action button {
    padding-left: 55px;
    padding-right: 55px;
}

.section-3 {
    height: 316px;
}

.section-3 .block {
    text-align: center !important;
}

.section-3 .block .title {
    margin-top: 86px;
    font-size: 44px;
    color: #fff;
}

.section-4 {
    height: 870px;
}

.section-4 .block {
    text-align: center !important;
    max-width: 777px;    
    margin-left: auto;
    margin-right: auto;
}

.section-4 .block .title {
    margin-top: 86px;
    font-size: 44px;
    color: var(--theme-color);
}

.section-4 .description {
  padding-top: 32px;
  font-family: "BrandonText";
  font-size: 14px;
  color: var(--theme-secondary);
}

.section-5 .logo img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.section-5 .content .block div {
    display: grid;
    text-align: center;
    align-items: center;
}

.section-5 .content .block {
    display: grid;
    text-align: center;
    align-items: center;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: auto;
}

.section-5 .content .block-container {
    padding-top:80px;
    display: grid;
    text-align: center;
    grid-template-columns: repeat(2, 1fr);
}

.section-5 .block .title {
    font-family: 'BrandonText';
    font-weight: 300;
    font-size: 24px;
    color: var(--theme-color);
    text-transform: none;    
}

.section-5 .content .block-container .block.newsletter input[type='email'] {
    padding: 8px 12px;
    width: 216px;
    border: 1px solid var(--theme-color);
}

.section-5 .content .block-container .block.newsletter button {
    padding: 8px 32px;   
}

.section-5 .newsletter .links {
    padding: 16px 0;
}

.section-5 .newsletter .links a {
    font-family: 'BrandonText';
    font-weight: normal;
    font-size: 16px;
    color: #56424b !important;
    background-color: transparent !important;    
    padding: 0 16px;
    text-decoration: none;
    cursor: pointer;
}

.section-5 .newsletter .checkbox-label {
    padding: 8px 4px;
}

.section-5 .newsletter .checkbox-label label {
    font-family: 'BrandonText';
    font-weight: normal;
    font-size: 14px;
    color: #56424b !important;
    background-color: transparent !important;    
    text-decoration: none;
}

.contact-form-container form {
    margin-top: 32px;
    display: grid;
    
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-template-rows: auto;
    /*repeat(2, 1fr) repeat(4, 1fr); */ 
    
    /* 2 rows of 2 columns, followed by 4 rows of 1 column */
    gap: 10px; /* Optional: space between grid items */
}

.contact-form-container form *:nth-child(1) { grid-area: 1 / 1 / 2 / 2; } /* Row 1, Column 1 */
.contact-form-container form *:nth-child(2) { grid-area: 2 / 1 / 3 / 2; } /* Row 1, Column 2 */
.contact-form-container form *:nth-child(3) { grid-area: 1 / 2 / 2 / 3; } /* Row 2, Column 1 */
.contact-form-container form *:nth-child(4) { grid-area: 2 / 2 / 3 / 3; } /* Row 2, Column 2 */
/*
.item5 { grid-area: 3 / 1 / 4 / 2; } 
.item6 { grid-area: 4 / 1 / 5 / 2; } 
.item7 { grid-area: 5 / 1 / 6 / 2; } 
.item8 { grid-area: 6 / 1 / 7 / 2; } 
*/
.contact-form-container form *:nth-child(5) { grid-column: 1 / -1; grid-row: 3; } /* Span both columns in Row 3 */
.contact-form-container form *:nth-child(6) { grid-column: 1 / -1; grid-row: 4; } /* Span both columns in Row 4 */
.contact-form-container form *:nth-child(7) { grid-column: 1 / -1; grid-row: 5; } /* Span both columns in Row 5 */
.contact-form-container form *:nth-child(8) { 
    grid-column: 1 / -1; grid-row: 6; 
    height: 180px;
} /* Span both columns in Row 6 */

.contact-form-container form *:nth-child(9) { 
    grid-column: 1 / -1; grid-row: 7;     
} /* Span both columns in Row 6 */

.contact-form-container form *:nth-child(9) label {
    border: none;
}

.contact-form-container form *:nth-child(10) { 
    grid-column: 1 / -1; grid-row: 8; 
    border: none !important;
} /* Span both columns in Row 6 */

.contact-form-container form *:nth-child(10) button {
    padding-left: 35px;
    padding-right: 35px;
}

.contact-form-container form *:nth-child(odd) {
    text-align: left;
    font-family: "BrandonText";
    font-size: 16px;
    color: var(--theme-secondary);    
    /*display: grid;*/
    /*align-items: end;*/
}

.contact-form-container form *:nth-child(even) {
    border: 1px solid var(--theme-color);
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 12px;
    padding-left: 12px;
}

.section-5 .social ul {
    padding: 0;
}

.section-5 .social li {
    padding: 0;
    margin: 0 4px;
    list-style: none;
    display: inline-block;    
}

.section-5 .social li a {
    padding: 8px 11px;
    transition: background-color 0.3s;
    background-color: var(--theme-color);
}

.section-5 .social li a:hover {
    background-color: var(--theme-secondary);
}

.section-5 .social li svg path {
    fill: white;
}

.section-5 {
    height: 460px;
}


hr {
    border-top: 1px solid var(--theme-color);
    display: block;
    position: relative;
    top: 1px;
    width: 250px;
    margin-top: 22px;
    margin-bottom: 27px;
}


/* ANIMATION */
  
.box .fade-in-from-bottom {
    opacity: 0;
    transform: translateY(200px);
    transition: opacity 1s, transform 1s;
}

.box.animate .fade-in-from-bottom {
    opacity: 1;
    transform: translateY(0);
}

.box .fade-in-from-left {
    opacity: 0;
    transform: translateX(-400px);
    transition: opacity 1s, transform 1s
}

.box.animate .fade-in-from-left {
    opacity: 1;
    transform: translateX(0);
}

.box .fade-in-from-right {
    opacity: 0;
    transform: translateX(400px);
    transition: opacity 1s, transform 1s
}

.box.animate .fade-in-from-right {
    opacity: 1;
    transform: translateX(0);
}


.hide {
    display: none;
}

.top-of-page svg path{
    fill: white;
}

.top-of-page {
    opacity: 0.33;
    background-color: var(--theme-color);
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;

    text-align: center;
    display: grid;
    align-items: center;    
    transition: right 0.2s;
    z-index: 10000;
    cursor: pointer;
}
  
.top-of-page.hidden {
    right: -48px;
}

.required:after {
    content:" *";
    color: red;
  }

  .page-content {
    padding: 0;
    margin: 0;
  }

  button {
    cursor: pointer;
  }

  strong {
    font-family:  "PFBagueSansPro";
    font-weight: 600;
    font-size: 18px;
    color: var(--theme-color);
    letter-spacing: 4.5px;    
    text-transform: uppercase;
  }

  * {
    font-family: "BrandonText";
    color: #333;
    font-size: 16px;
  }

  h1 {
    font-family: 'BrandonText';
    font-weight: 100;
    font-size: 48px;
    color: #57424B;
    text-transform: none;    
  }

  h2 {
    font-family: "PFRegalDisplayPro";
    font-weight: 300;
    font-size: 36px;
    color: var(--theme-secondary);
    text-transform: uppercase;
  }

  h3 {
    font-family: "PFRegalDisplayPro";
    font-weight: 300;
    font-style: italic;
    font-size: 26px;
    color: var(--theme-color);
    text-transform: none;    
  }

  h4 {
    font-family: "PFRegalDisplayPro";
    font-weight: 300;
    font-size: 18px;
    color: var(--theme-secondary);    
    text-transform: uppercase;
  }