/********** PAGE LAYOUT **********/
.contact.intro {
    text-align: center;
}

.contact.intro p:first-of-type {
    color: #A7A9AD;
}

.contact.intro p:first-of-type {
    font-size: 1.75rem;
    line-height: 3.125rem;
}

@media (max-width: 568px) {
    .contact.intro p:first-of-type {
        font-size: 1.5rem;
        line-height: 2.5rem;
    }
}

.contact.intro ul {
    display: table;
    list-style-type: none;
    margin: 4rem auto 0 auto;
    padding: 0;
    width: 100%;
    text-align: center;
}

.contact.intro ul li a {
    color: #01A7B8;
    font-size: 1.375rem;
    line-height: 2.063rem;
    -webkit-transition: color 350ms ease;
    transition: color 350ms ease;
}

.contact.intro ul li a:hover {
    color: #231E20;
}

@media (min-width: 521px) {
    .contact.intro ul li {
        display: block;
        float: left;
    }

    .contact.intro ul li + li {
        margin-left: 1.5rem;
    }
}

@media (max-width: 520px) {
    .contact.intro ul {
        margin-top: 2.5rem;
    }

    .contact.intro ul li {
        display: block;
    }

    .contact.intro ul li + li {
        margin-top: 1rem;
    }
}

.contact.story_content ul li {
    margin-top: 0 !important;
    width: 100%;
}

.contact.story_content ul li:before {
    display: none;
}

/********** NEWSLETTER CALL TO ACTION **********/
.newsletter_cta {
    background: #042849;
    position: relative;
    text-align: center;
}

.newsletter_cta figure {
    background-size: cover !important;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    opacity: 0.3;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    z-index: 1;
}

.newsletter_cta grid-container {
    position: relative;
    z-index: 2;
}

.newsletter_cta h2 {
    color: #FFF;
}

.newsletter_cta p {
    color: #FFF;
    display: block;
    margin-top: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 42.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .newsletter_cta a {
        margin-top: 3.75rem;
    }
}

@media (min-width: 468px) and (max-width: 767px) {
    .newsletter_cta a {
        margin-top: 3.25rem;
    }
}

@media (max-width: 467px) {
    .newsletter_cta a {
        margin-top: 2.75rem;
    }
}

/** FORM **/
.newsletter_cta form {
    display: block;
    margin-top: 3.063rem;
    margin-left: -0.938rem;
    width: calc(100% + 1.875rem);
}

.newsletter_cta form input-wrap,
.newsletter_cta form button-wrap {
    display: block;
    float: left;
    overflow: hidden;
    position: relative;
    padding: 0 0.938rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.newsletter_cta form input-wrap input {
    background-color: #FFF;
    border: 0;
    border-radius: 2px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: inset 0 2px 0 0 rgba(0, 0, 0, 0.09);
    box-shadow: inset 0 2px 0 0 rgba(0, 0, 0, 0.09);
    color: #231E20;
    display: block;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 300;
    font-size: 0.938rem;
    height: 3.125rem;
    line-height: 3.125rem;
    padding: 0 0.938rem;
    width: 100%;
}

.newsletter_cta form input-wrap label {
    color: #979797;
    cursor: text;
    display: block;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    height: 3.125rem;
    letter-spacing: 0.3px;
    line-height: 3.125rem;
    opacity: 1;
    padding: 0 0.938rem;
    position: absolute;
    top: 0;
    left: 0.938rem;
    right: 0.938rem;
    text-transform: uppercase;
    white-space: nowrap;
    -webkit-transition: opacity 350ms ease, left 350ms ease;
    transition: opacity 350ms ease, left 350ms ease;
}

.newsletter_cta form input-wrap input:focus + label,
.newsletter_cta form input-wrap.filled input + label {
    left: 1.875rem;
    opacity: 0;
}

.newsletter_cta form button {
    color: #042849;
    font-family: 'Ubuntu', sans-serif;
    height: 3.125rem;
    line-height: 3.125rem;
    padding: 0 !important;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}

@media (min-width: 921px) {
    .newsletter_cta form input-wrap {
        width: calc(33.333% - 4.166666666666rem);
    }

    .newsletter_cta form button-wrap {
        width: 12.45rem;
    }
}

@media (min-width: 921px) and (max-width: 1330px) {
    .newsletter_cta form {
        margin: 3.063rem auto 0 auto;
        max-width: 800px;
    }
}

@media (min-width: 600px) and (max-width: 920px) {
    .newsletter_cta form input-wrap:last-of-type,
    .newsletter_cta form button-wrap {
        margin-top: 0.938rem;
    }

    .newsletter_cta form input-wrap,
    .newsletter_cta form button-wrap {
        width: 50%;
    }

    .newsletter_cta form input-wrap:first-of-type {
        padding-right: 0.438rem;
    }

    .newsletter_cta form input-wrap:first-of-type + input-wrap {
        padding-left: 0.438rem;
    }

    .newsletter_cta form input-wrap:first-of-type + input-wrap + input-wrap {
        padding-right: 0.438rem;
    }

    .newsletter_cta form button-wrap {
        padding-left: 0.438rem;
    }
}

@media (min-width: 361px) and (max-width: 599px) {
    .newsletter_cta form input-wrap,
    .newsletter_cta form button-wrap {
        margin-top: 0.626rem;
    }

    .newsletter_cta form input-wrap:first-of-type
    .newsletter_cta form input-wrap:first-of-type + input-wrap {
        margin-top: 0;
    }

    .newsletter_cta form input-wrap,
    .newsletter_cta form button-wrap {
        width: 100%;
    }

    .newsletter_cta form input-wrap:first-of-type,
    .newsletter_cta form input-wrap:first-of-type + input-wrap {
        width: 50%;
    }

    .newsletter_cta form input-wrap:first-of-type {
        padding-right: 0.313rem;
    }

    .newsletter_cta form input-wrap:first-of-type + input-wrap {
        padding-left: 0.313rem;
    }
}

@media (max-width: 360px) {
    .newsletter_cta form input-wrap:not(:first-of-type),
    .newsletter_cta form button-wrap {
        margin-top: 0.626rem;
    }

    .newsletter_cta form input-wrap,
    .newsletter_cta form button-wrap {
        width: 100%;
    }
}

@media (max-width: 475px) {
    .newsletter_cta form {
        margin-top: 2.063rem;
    }
}

/********** FORM **********/
.form {
    padding-top: 0 !important;
}

.form h2 {
    margin-bottom: 5rem;
    text-align: center;
}

@media (max-width: 500px) {
    .form h2 {
        margin: 1.125rem 0 2.25rem 0;
    }
}

.form input-wrap {
    display: block;
    float: left;
    overflow: hidden;
    position: relative;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
}

.form input-wrap + input-wrap {
    margin-top: 2.813rem;
}

.form input-wrap input {
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 2px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.25);
    box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.25);
    color: #231E20;
    display: block;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 300;
    font-size: 0.938rem;
    height: 3.125rem;
    line-height: 3.125rem;
    padding: 0 0.938rem;
    position: relative;
    width: 100%;
    z-index: 2;
}

.form input-wrap input:focus + label,
.form input-wrap.filled input + label {
    left: 1.875rem;
    opacity: 0;
}

.form psuedo-select psuedo-selected-value {
    -webkit-box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.25);
    box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.25);
    font-size: 0.875rem;
}

.form select-wrapper {
    width: 100%;
}

.form textarea-wrap {
    display: block;
    float: left;
    overflow: hidden;
    position: relative;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
}

.form textarea-wrap textarea {
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 2px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.25);
    box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.25);
    color: #231E20;
    display: block;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 300;
    font-size: 0.938rem;
    height: 15rem;
    line-height: 150%;
    padding: 0.938rem;
    position: relative;
    width: 100%;
    resize: none;
    z-index: 2;
}

.form input-wrap label,
.form textarea-wrap label {
    color: #979797;
    cursor: text;
    display: block;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    height: 3.125rem;
    letter-spacing: 0.6px;
    line-height: 3.125rem;
    opacity: 1;
    padding: 0 0.938rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-transform: uppercase;
    white-space: nowrap;
    -webkit-transition: opacity 350ms ease, left 350ms ease;
    transition: opacity 350ms ease, left 350ms ease;
    z-index: 1;
}

.form textarea-wrap textarea:focus + label,
.form textarea-wrap.filled textarea + label {
    left: 1.875rem;
    opacity: 0;
}

.form select-wrapper {
    z-index: 1 !important;
}

.form button-wrap {
    display: block;
    float: left;
    overflow: hidden;
    position: relative;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
}

.form button-wrap .btn {
    display: table;
    font-family: 'Ubuntu', sans-serif;
    margin: 2.813rem 0 0 auto;
}

.form psuedo-select {
    width: 100% !important;
}

/* ERROR */
.form input-wrap.error label,
.form textarea-wrap.error label {
    color: #D91E18;
}

.form .error psuedo-select psuedo-selected-value {
    border: 1px solid #D91E18;
    -webkit-box-shadow: inset 0 1px 2px 0 #FFF;
    box-shadow: inset 0 1px 2px 0 #FFF;
}

.form .error psuedo-select psuedo-selected-value span {
    color: #D91E18;
}

.form input-wrap.error input {
    border: 1px solid #D91E18;
    -webkit-box-shadow: inset 0 1px 2px 0 #FFF;
    box-shadow: inset 0 1px 2px 0 #FFF;
}

.form textarea-wrap.error textarea {
    border-color: #D91E18;
    -webkit-box-shadow: inset 0 1px 2px 0 #FFF;
    box-shadow: inset 0 1px 2px 0 #FFF;
}

@media (max-width: 1024px) {
    .form psuedo-select {
        display: none !important;
    }

    .form select-wrapper select {
        background-color: #FFF;
        border: 0;
        border-radius: 2px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        -webkit-box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.25);
        box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.25);
        color: #979797;
        display: block !important;
        font-family: 'Ubuntu', sans-serif;
        font-weight: 500;
        font-size: 0.875rem;
        height: 3.125rem;
        line-height: 3.125rem;
        padding: 0 0.938rem;
        width: 100%;
        text-transform: uppercase;
    }
}

@media (max-width: 768px) {
    .form input-wrap + input-wrap,
    .form select-wrapper,
    .form textarea-wrap,
    .form button-wrap .btn {
        margin-top: 0.875rem;
    }
}

@media (max-width: 375px) {
    .form button-wrap .btn {
        width: 100% !important;
        padding: 0 !important;
        text-align: center !important;
    }
}

.form small {
    color: #777;
    line-height: 175%;
}

.form small a {
    color: #01A7B8;
    display: inline-block;
    position: relative;
    -webkit-transition: color 350ms ease;
    transition: color 350ms ease;
}

.form small a:before {
    background-color: #231E20;
    content: "";
    height: 1px;
    opacity: 0.5;
    position: absolute;
    bottom: -0.063rem;
    left: 50%;
    right: 50%;
    -webkit-transition: background-color 350ms ease, left 350ms ease, right 350ms ease;
    transition: background-color 350ms ease, left 350ms ease, right 350ms ease;
}

.form small a:hover:before {
    left: 0;
    right: 0;
}

.form small a:hover {
    color: #231E20;
}

@media (max-width: 768px) {
    .form small {
        display: block;
        margin-top: 2rem;
    }
}

/********** SOCIAL LINKS **********/
.social_links {
    background-color: #F2F2F2;
    padding: 3.5rem 0;
}

.social_links h2 {
    color: #042849;
}

.social_links h2 + p {
    margin-top: 0.413rem;
}

.social_links ul {
    display: table;
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

.social_links li {
    display: block;
    float: left;
}

.social_links li + li {
    margin-left: 4rem;
}

.social_links a {
    text-decoration: none;
}

.social_links svg {
    display: block;
    fill: #cfcfcf;
    height: 2rem;
    width: 2rem;
    -webkit-transition: fill 350ms ease;
    transition: fill 350ms ease;
}

.social_links a:hover svg {
    fill: #231E20;
}

@media (max-width: 900px) {
    .social_links li + li {
        margin-left: 2rem;
    }
}

@media (max-width: 768px) {
    .social_links {
        text-align: center;
    }

    .social_links h2 + p {
        margin-top: 1.875rem;
    }

    .social_links ul {
        margin-top: 2.5rem;
    }
}

/********** OFFICES **********/
.offices h2 {
    margin-bottom: 5rem;
    text-align: center;
}

/* .offices grid-row:first-of-type grid-column {
    margin-left: 0;
    width: 100%;
} */


.offices office-info{
    position: relative;
}

.offices office-info address {
    color: #231E20;
    display: block;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 175%;
    font-style: normal;
    margin: 1.75rem 0;
}

.offices office-info ul {
    display: block;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.offices office-info a {
    color: #01A7B8;
    -webkit-transition: color 350ms ease;
    transition: color 350ms ease;
}

.offices office-info a:hover {
    color: #231E20;
}

@media (min-width: 1621px) {
    .offices .item + .item {
        padding-top: 8.75rem;
    }
}

@media (min-width: 769px) and (max-width: 1620px) {
    .offices .item + .item {
        padding-top: 8.6%;
    }
}

@media (min-width: 469px) and (max-width: 768px) {
    .offices .item + .item {
        padding-top: 4.125rem;
    }
}

@media (max-width: 468px) {
    .offices .item + .item {
        padding-top: 2.5rem;
    }
}

@media (min-width: 1500px) {
    /* .offices grid-row:nth-child(even) grid-column {
        margin-left: 13.3333333333%;
        width: 66.6666666667%;
    }

    .offices grid-row:nth-child(odd) grid-column {
        margin-left: 20%;
        width: 66.6666666667%;
    } */

    .offices grid-row:nth-child(even) office-info {
        /* left: 0; */
        /* -webkit-transform: translateX(-6.875rem) translateY(-50%); */
        /* transform: translateX(-6.875rem) translateY(-50%); */
    }

    .offices grid-row:nth-child(odd) office-info {
        /* right: 0; */
        /* -webkit-transform: translateX(6.875rem) translateY(-50%); */
        /* transform: translateX(6.875rem) translateY(-50%); */
    }
}

@media (min-width: 1300px) and (max-width: 1499px) {
    /* .offices grid-row:nth-child(even) grid-column {
        margin-left: 13.3333333333%;
        width: 80.0%;
    }

    .offices grid-row:nth-child(odd) grid-column {
        margin-left: 6.66666666667%;
        width: 80.0%;
    }

    .offices grid-row:nth-child(even) office-info {
        left: 0;
        -webkit-transform: translateX(-18%) translateY(-50%);
        transform: translateX(-18%) translateY(-50%);
    }

    .offices grid-row:nth-child(odd) office-info {
        right: 0;
        -webkit-transform: translateX(18%) translateY(-50%);
        transform: translateX(18%) translateY(-50%);
    } */
}

@media (min-width: 1000px) and (max-width: 1299px) {
    /* .offices grid-row:nth-child(even) office-info {
        left: 3.564rem;
        top: 2.376rem;
        padding: 2.5rem;
        -webkit-transform: translateX(0) translateY(0);
        transform: translateX(0) translateY(0);
        width: 20rem;
    }

    .offices grid-row:nth-child(odd) office-info {
        right: 3.564rem;
        top: 2.376rem;
        padding: 2.5rem;
        -webkit-transform: translateX(0) translateY(0);
        transform: translateX(0) translateY(0);
        width: 20rem;
    }

    .offices .item figure {
        margin-left: 3.75rem;
    } */
}

.offices grid-row grid-column{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

@media (max-width: 767px){
    .offices grid-row grid-column:first-of-type {
        margin-bottom: 5rem;
    }
}

@media (min-width: 768px){
    .offices grid-row grid-column {
        margin-left: 0%;
        width: 50%;
    }
}

@media (min-width: 768px) and (max-width: 999px) {

    /* .offices grid-row:nth-child(even) office-info {
        left: 3.564rem;
        top: 2.376rem;
        padding: 2.5rem;
        -webkit-transform: translateX(0) translateY(0);
        transform: translateX(0) translateY(0);
        width: 20rem;
    }

    .offices grid-row:nth-child(odd) office-info {
        right: 3.564rem;
        top: 2.376rem;
        padding: 2.5rem;
        -webkit-transform: translateX(0) translateY(0);
        transform: translateX(0) translateY(0);
        width: 20rem;
    } */

    .offices .item figure {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    .offices .item figure {
        background-size: cover !important;
        background-position: center !important;
        display: block;
        height: 0;
        margin: 0;
        padding-bottom: 62.5%;
        position: relative;
        z-index: 1;
    }

    .offices office-info {
        background-color: #FFF;
        padding: 3.75rem;
        /* position: absolute; */
        /* top: 50%; */
        display: block;
        width: 28.125rem;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        z-index: 2;
        -webkit-box-shadow: 0 0 0.5rem 0 rgba(0, 0, 0, 0.2);
        box-shadow: 0 0 0.5rem 0 rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 767px) {
    .offices .item figure {
        background-size: cover !important;
        background-position: center !important;
        display: block;
        height: 0;
        margin: 0;
        padding-bottom: 50%;
        position: relative;
        z-index: 1;
    }

    .offices office-info {
        background-color: #FFF;
        display: block;
        padding: 1.875rem;
        position: relative;
        width: 100%;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        z-index: 2;
        -webkit-box-shadow: 0 0 0.5rem 0 rgba(0, 0, 0, 0.2);
        box-shadow: 0 0 0.5rem 0 rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 375px) {
    .offices .item figure {
        padding-bottom: 62.5%;
    }
}

/***** CLOCK *****/
clock-face {
    background-color: #FFF;
    -webkit-box-shadow: -1px -2px 4px 0 rgba(0, 0, 0, 0.1);
    box-shadow: -1px -2px 4px 0 rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: block;
    height: 5.625rem;
    position: absolute;
    top: 0;
    right: 4rem;
    -webkit-transform: translateY(-50%) rotate(-90deg);
    transform: translateY(-50%) rotate(-90deg);
    width: 5.625rem;
    z-index: 1;
}

clock-face:before {
    background-color: #012F5F;
    border-radius: 50%;
    content: "";
    height: 0.375rem;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
    width: 0.375rem;
    z-index: 3;
}

hour-hand {
    background-color: #01A7B8;
    height: 0.094rem;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform-origin: 0;
    transform-origin: 0;
    -webkit-transform: translateY(-50%) rotate(0deg);
    transform: translateY(-50%) rotate(0deg);
    width: 1.5rem;
}

min-hand {
    background-color: #012F5F;
    height: 0.094rem;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform-origin: 0;
    transform-origin: 0;
    -webkit-transform: translateY(-50%) rotate(0deg);
    transform: translateY(-50%) rotate(0deg);
    width: 2.5rem;
}

.contact.intro small * {
    font-size: small !important;
    color: black !important;
}

/********** PARTNERS **********/
.partners:not(.title):not(.maincontent) {
    padding-top: 0 !important;
}
  
  