﻿/* xs-Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */
/* sm-Small devices (tablets, 768px and up) */
/* md-Medium devices (desktops, 992px and up) */
/* lg-Large devices (large desktops, 1200px and up) */

/* xl-lg-Large devices (extra large desktops, 1400px and up) */

/* COLORS AND DIMENSIONS*/

:root {
    --etbGrey: #dfe7ed;
    --etbWarning: #6558f5;
    --etbLightestBlue: #0da3e2;
    --etbLightBlue: #0081be;
    --etbDarkBlue: #00365e;
    --etbOrange: #f7921e;
    --etbFooterGrey: rgb(46,51,54);
    --etbProductionPortletBoxShadow: 0px 1px 15px 1px rgba(69, 65, 78, 0.08);
    --etbGreyBackground: #f2f3f8;
    --etbBlueBackground: rgba(0, 129, 190, .2);
    --etbSectionBorder: 3px solid white;
}

html {
    scroll-behavior: smooth;
    /*Add padding to accomodate the navbar's height*/
    scroll-padding-top: 100px;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    min-height: 100vh;
}

/*#region TYPOGRAPHY */

* {
    font-family: Poppins,Graphik,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;
}

h1 {
    font-size: 44px;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 400;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 33px;
}

h4 {
    font-size: 30px;
}

h5 {
    font-size: 40px;
    font-weight: 600;
}

p, ul, li {
    font-size: 19px;
    font-weight: 400;
    margin-bottom: 20px;
}

.inverse-color h1,
.inverse-color h2 {
    color: #f8f8f8;
}

.inverse-color p,
.inverse-color ul,
.inverse-color li {
    color: #ebebeb;
}

.warning-text {
    color: var(--etbLightBlue) !important;
}

.text--orange {
    color: var(--accentOrange) !important;
}

@media (max-width: 480px) {

    h1 {
        font-size: 30px;
    }

    p, ul, li {
        font-size: 19px;
        font-weight: 400;
    }
}

.etb-power-statement {
    margin-bottom: 25px;
    text-align: center;
}

.etb-power-statement-subheading {
    color: var(--etbLightestBlue);
    text-align: center;
    margin-top: 40px;
    margin-bottom: 50px;
}

.etb-power-statement-subheading-definition i {
    font-family: Helvetica, Arial, sans-serif
}
@media(max-width: 1305px) {

    .etb-power-statement-subheading {
        margin-bottom: 0;
    }
}

@media(max-width: 992px) {

    .etb-power-statement-subheading {
        margin-bottom: 50px;
    }

}

.etb-text-group-heading {

}

.etb-text-group-subheading {

}


.etb-text-group-body {
}


.etb-text-group-accent {
    font-size: 20px;
    font-weight: bold;
}

.etb-text-heading-accent {
    font-size: 19px;
    font-weight: bold;
}


/*#endregion*/


/*#region BUTTON CLASSES*/

.etb-flat-button {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 500;
    padding: 20px 0;
    margin: 0;
    max-width: 90%;
}

.etb-flat-button:hover {
    text-decoration: none;
}

.etb-flat-button.primary {
    color: var(--etbLightBlue);
}
.etb-flat-button.warning {
    color: var(--etbOrange);
}

.etb-flat-button:hover {
    filter: brightness(115%);
}

@media (max-width: 992px) {
    .etb-flat-button.warning,
    .etb-flat-button.primary {
        font-size: 16px;
        margin-bottom: 25px;
    }
}
/*#endregion*/


/*#region GENERAL CLASSES*/

.margin-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}


.etb-center-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
}

.row-vertical-align {
    display: flex;
    align-items: center;
}

.no-img-shadow,
.no-img-shadow img {
    box-shadow: none !important;
}

/*#endregion*/


/*#region TEXT WITH IMAGE SECTION*/

.text-with-image-section .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 200px;
}

.text-with-image-section:last-of-type .row {
    margin-bottom: 0;
}

.text-with-image-section:last-of-type .row {
    margin-bottom: 0;
}

.text-with-image-section .row > div:last-of-type {
    display: flex;
    position: relative;
    text-align: left;
    align-items: flex-end;
    justify-content: flex-end;
}

.text-with-image-section img {
    max-width: 100%;
    box-shadow: 0px 3px 20px #00000029;
}

.text-with-image-section .text-and-button-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.text-with-image-section .text-and-button-container > * {
    width: 675px;
    max-width: 100%;
}

.text-with-image-section .text-and-button-container > * > p {
    max-width: 600px;
    margin-top: 30px;
}

.text-with-image-section .etb-button-container {
    display: flex;
}


.text-with-image-section .etb-button-container a {
    height: unset;
    width: unset;
    padding: 15px 30px;
}

.text-with-image-section .etb-button-container button {
    padding: 15px 30px;
}

.text-with-image-section > div {
    max-width: 1575px !important;
}

.text-with-image-section > div > div {
    padding: 0 15px;
}

.text-with-image-section .etb-text-group-body {
    font-size: 21px;
}

@media (max-width: 767px) {

    .text-with-image-section.image-left .row {
        flex-direction: column-reverse;
    }

    .text-with-image-section .etb-button-container button {
        max-width: 135px;
        padding: 15px 15px;
    }

    .text-with-image-section .etb-button-container button:first-of-type {
        margin-right: 10px;
    }

    .text-with-image-section .row {
        margin-bottom: 50px;
    }

    .text-with-image-section .row > div:last-of-type {
        align-items: flex-start;
    }

    .text-with-image-section .text-and-button-container > * > p {
        margin-top: 5px;
    }
}

/*#endregion*/


/*#region LAYOUT */

section {
    padding: 90px 100px 100px 100px;
}

.section-boxed > div {
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    section {
        padding: 80px 60px 80px 60px;
    }
}

@media (max-width: 767px) {
    section {
        padding: 50px 40px 60px 40px;
    }
}

.bottom-border {
    border-bottom: var(--etbSectionBorder);
}

.bottom-border {
    border-bottom: var(--etbSectionBorder);
}

.etb-relative-container {
    position: relative;
}

.etb-rotation-90 {
    transform: rotate(90deg);
}

.etb-rotation-180 {
    transform: rotate(180deg);
}

.etb-rotation-270 {
    transform: rotate(270deg);
}

.etb-flip {
    transform: scaleX(-1);
}

.etb-flip-rotation-90 {
    transform: rotate(90deg) scaleX(-1);
}

.etb-flip-rotation-180 {
    transform: rotate(180deg) scaleX(-1);
}

.etb-flip-rotation-270 {
    transform: rotate(270deg) scaleX(-1);
}

/*#endregion*/


/*#region BUTTONS */

.etb-button-container {
    text-transform: uppercase;
}

.etb-button-container > button {
    text-transform: uppercase;
    font-weight: 700;
    padding: 15px 40px;
    margin: 20px 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.etb-button-container > button:first-of-type {
    margin-left: 0;
}

.btn-link {
    cursor: pointer;
}

@media (max-width: 480px) {

    .etb-button-container > button {
        margin: 0 0 20px 0;
        display: block;
        width: 100%;
        max-width: 200px;
    }

    .btn + .btn {
        margin-left: 0;
    }
}

/*#endregion*/


/*#region NAVBAR */

ul.nav.navbar-nav ul.dropdown-menu li {
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .c-layout-header.c-layout-header-4 .c-navbar {
        background: #FFF;
    }
}

.c-btn-border-1x.c-btn-dark.btn-no-focus:hover,
.c-btn-border-1x.c-btn-dark:hover,
.c-btn-border-1x.c-btn-dark.btn-no-focus:active,
.c-btn-border-1x.c-btn-dark:active,
.c-btn-border-1x.c-btn-dark.active,
.open > .c-btn-border-1x.c-btn-dark.dropdown-toggle {
    background: #0da3e2;
    border-color: #0da3e2;
}


.c-mobile-logo.etb-logo {
    width: 200px;
}

.c-layout-header .c-brand {
    margin-top: 17px;
    margin-bottom: 15px;
}

.c-socials-share {
    display: flex;
    align-items: end;
    justify-content: space-between;
    width: 220px;
    margin-right: 5px;
    margin-bottom: 5px;
}

@media (min-width: 768px) {

    .c-mobile-logo.etb-logo {
        width: 200px;
    }

    .c-layout-header .c-brand {
        margin-top: 17px;
        margin-bottom: 15px;
    }
}

@media (min-width: 1100px) {

    .c-desktop-logo.etb-logo {
        width: 240px;
    }

    .c-desktop-logo-inverse.etb-logo {
        width: 200px;
    }

    .c-desktop-logo.external-main-site {
        width: 75%;
        height: auto;
        margin-bottom: 1.7em;
    }

    .c-content-box.external-main-site {
        margin-top: -110px;
    }

    .c-layout-header .c-brand {
        margin: 31px 0 30px 0;
    }

    .c-layout-header .c-navbar .c-mega-menu.c-mega-menu-light > .nav.navbar-nav > li > .dropdown-menu {
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.22) !important;
        background: #FFF;
    }

    .c-layout-header .c-navbar .c-mega-menu.c-mega-menu-light > .nav.navbar-nav > li .dropdown-menu > li > a {
        color: #0080be;
        text-transform: none;
    }

    .c-layout-header .c-navbar .c-mega-menu.c-mega-menu-light > .nav.navbar-nav > li .dropdown-menu > li.c-active > a,
    .c-layout-header .c-navbar .c-mega-menu.c-mega-menu-light > .nav.navbar-nav > li .dropdown-menu > li:hover > a {
        color: #FFF !important;
        background: #0d94cc;
    }

    .c-layout-header .c-navbar .c-mega-menu.c-fonts-uppercase > .nav.navbar-nav > li > .c-link {
        font-size: 14px;
    }

    .c-layout-header .c-navbar .c-mega-menu > .nav.navbar-nav > li {
        margin-top: 7px;
    }
}

@media (min-width: 1200px) {

    .c-desktop-logo.etb-logo {
        width: 260px;
    }

    .c-layout-header .c-brand {
        margin: 30px 0 28px 0;
    }
}

/*#endregion*/


/*#region FOOTER*/

.etb-footer {
    margin: 0 auto 114px auto;
    padding: 70px 100px 0 100px;
}

.etb-footer::before {
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    left: 0;
    margin-top: -70px;
    background-color: rgba(0, 0, 0, 0.05);
}

    .etb-footer-no-border::before {
        height: 0px;
    }

    .etb-footer h5 {
        font-size: 18px;
        color: var(--etbLightBlue);
    }

    .etb-footer p,
    .etb-footer-links a {
        font-size: 14px;
        color: #5C6873;
        margin-top: 14px;
        margin-bottom: 10px;
        font-weight: 400;
    }

    .etb-footer a:hover {
        color: var(--accentOrange);
    }

    .etb-footer b {
        display: inline-block;
        font-weight: 600;
        min-width: 55px;
    }

    .etb-footer .col-md-8 > .row:first-child {
        margin-bottom: 40px;
    }

.etb-footer-links {
    display: grid;
    grid-column-gap: 10px;
}

.col-sm-6 .etb-footer-links {
    grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
}

@media(max-width: 991px) {
    .etb-footer {
        padding-left: 60px;
        padding-right: 60px;
    }

    .etb-footer .col-md-8 > .row:nth-child(2) {
        min-height: 177px;
    }
}

@media(max-width: 767px) {
    .etb-footer {
        padding-left: 40px;
        padding-right: 40px;
    }

    .etb-footer .col-md-8 > .row:first-child {
        margin-bottom: 0;
    }

    .etb-footer .col-md-8 > .row:nth-child(2) {
        min-height: 338px;
    }

    .etb-footer .col-sm-3,
    .etb-footer .col-sm-6 {
        margin-bottom: 30px;
    }
}

@media(max-width: 388px) {
    .etb-footer .col-md-8 > .row:nth-child(2) {
        min-height: 358px;
    }
}

/*SECTION WANT TO CHAT*/
.etb-footer-want-to-chat h5 {
    font-size: 28px;
    color: var(--etbBrandDarkBlue);
}

.etb-footer-want-to-chat p {
    font-size: 16px;
}

.etb-footer-want-to-chat .etb-button-container {
    white-space: nowrap;
}

    .etb-footer-want-to-chat .etb-button-container button {
        font-size: 14px;
        border-width: 2px;
        width: 150px;
        height: 40px;
        padding: 0;
        margin-left: 0;
    }

    .etb-footer-want-to-chat .etb-button-container button:first-child {
        max-width: 150px;
        width: calc(100% - 170px);
    }

@media(min-width: 992px) and (max-width: 1100px) {
    .etb-footer-want-to-chat .etb-button-container button {
        font-size: 13px;
        width: 135px;
    }

    .etb-footer-want-to-chat .etb-button-container button:first-child {
        max-width: 135px;
        width: calc(100% - 155px);
    }
}

@media(max-width: 480px) {
    .etb-footer-want-to-chat .etb-button-container button:first-child {
        width: 150px;
        margin-bottom: 12px;
    }
}

/*SECTION SOCIAL MEDIA LINKS*/
.etb-footer-social-media-icons a {
    font-size: 21px;
    color: #5C6873;
    transition: font-size 0.3s;
}

.etb-footer-social-media-icons a:not(:last-child) {
    margin-right: 10px;
}

.etb-footer-social-media-icons i {
    font-style: normal;
}

.etb-footer-social-media-icons img {
    width: 136px;
    transition: 0.05s;
    margin-left: -9px;
}

    .etb-footer-social-media-icons img:hover {
        width: 145px;
    }

@media (min-width: 992px) and (max-width: 1290px) {
    .etb-footer-social-media-icons img {
        margin-top: 19px;
    }
}

/*SECTION COPYRIGHT AND GO TO TOP BUTTON*/
.etb-copyright {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 54px;
    display: grid;
    padding: 0 30px;
    background: transparent linear-gradient(90deg, #0080BE 0%, #00405F 100%);
}

    .etb-copyright-with-logo {
        grid-template-columns: 36px 1fr;
    }

    .etb-copyright > img {
        align-self: center;
    }

    .etb-copyright p {
        margin: 0;
        padding: 0;
        align-self: center;
        font-size: 16px;
        color: white;
        font-weight: 300;
    }

@media (max-width: 640px) {
    .etb-copyright {
        padding-left: 10px;
        padding-right: 60px
    }
    
    .etb-copyright p {
        font-size: 12px;
        padding-inline: 10px;
        max-width: 270px;
        justify-self: center;
    }
}

.copyright {
    margin-bottom: 0;
}

.c-layout-go2top {
    bottom: 9px;
    right: 28px;
}

/*#endregion*/


/*#region ETB CARDS*/

:root {
    --etbCardTextAndButtonVerticalPadding: 40px;
}

.etb-card-section > div {
    margin-top: 100px;
}

    .etb-card-section > div:first-of-type {
        margin-top: 50px;
    }

.etb-card-section > div {
    box-shadow: var(--etbProductionPortletBoxShadow);
    background: white;
}

.etb-card-section > .row > div:first-of-type {
    padding: 0;
}

.etb-card-section.text-with-image-section > div > div {
    padding-right: 0;
}

.etb-card-section > .row:not(.image-right) > div:last-of-type {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    align-self: stretch;
    padding: var(--etbCardTextAndButtonVerticalPadding) 0;
}

.etb-card-section > .row.image-right > div:first-of-type {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    align-self: stretch;
    padding: var(--etbCardTextAndButtonVerticalPadding) 0;
}

.etb-card-section > .row:not(.image-right) > div:last-of-type > * {
    padding-left: 80px;
    padding-right: 80px;
}

.etb-card-section > .row.image-right > div:first-of-type > * {
    padding-left: 80px;
    padding-right: 80px;
}

.etb-card-section .image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    align-self: stretch;
}

.etb-card-section .row:first-of-type .image {
    background-image: url("../../images/public/aboutUs/johnAndJoe.jpg");
}

.etb-card-section .row:nth-of-type(2) .image {
    background-image: url("../../images/public/aboutUs/scottAndCimo.jpg");
}

.etb-card-section .row:nth-of-type(3) .image {
    background-image: url("../../images/public/aboutUs/team.jpg");
}

.etb-card-section .etb-button-container {
    width: 100%;
    margin-right: 0;
}


/*needed for iphone 5 */
@media (min-width: 0) and (max-width: 350px) {
    .etb-card-section .etb-button-container {
        flex-direction: column;
    }

        .etb-card-section .etb-button-container > button {
            margin: 0;
        }

            .etb-card-section .etb-button-container > button:first-of-type {
                margin: 35px 0 0 0;
            }
}

@media (min-width: 0) and (max-width: 767px) {
    .etb-card-section > .row.image-right {
        flex-direction: column-reverse !important;
    }
}

@media (max-width: 768px) {

    .etb-card-section .image {
        min-height: 300px;
    }

    .etb-card-section .row:first-of-type .image:first-of-type {
        background-position: top;
    }

    .etb-card-section > .row.image-right > div:first-of-type {
        padding: 10px 0;
    }

    .etb-card-section > .row:not(.image-right) > div:last-of-type {
        padding: 10px 0;
    }

    .etb-card-section > .row > div:last-of-type > * {
        padding-left: 10px;
        padding-right: 10px;
    }

    .etb-card-section > .row.image-right > div:first-of-type > * {
        padding-left: 10px;
    }

    .etb-card-section > .row > div:last-of-type {
        justify-content: center;
        align-items: center;
    }

    .etb-card-section .etb-button-container {
        justify-content: flex-start;
        align-items: center;
    }

        .etb-card-section .etb-button-container > button {
            justify-content: center;
            align-items: center;
            margin: 25px 5px;
        }
}

@media (max-width: 992px) {
    .etb-card-section > .row:not(.image-right) > div:last-of-type > * {
        padding: 0 30px;
    }

    .etb-card-section > .row.image-right > div:first-of-type > * {
        padding: 0 30px;
    }

    .etb-card-section .etb-button-container > button {
        padding-left: 30px;
        padding-right: 30px;
    }

    .etb-about-us-card > * {
        padding: 30px;
    }
}

/*#endregion*/

/*overriding this icon because fontawesome uses the wrong content*/
.fa-facebook-f:before {
    content: "\f39e";
}