body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

html, body {
    height: 100%;
    margin: 0;
}

.container-fluid.main-bg,
.row.overlay-bg {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.clsWrapper {

    display: flex;
    flex-direction: column;
    min-height: 100vh;

}

a {
    color: #0e6848;
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects
}

a:hover {
    color: #20842c;
    text-decoration: underline
}

h1, .h1 {
    font-size: 2.5rem;
    font-weight: 300
}

h2, .h2 {
    font-size: 2rem
}

h3, .h3 {
    font-size: 1.75rem
}

h4, .h4 {
    font-size: 1.5rem
}

h5, .h5 {
    font-size: 1.25rem
}

h6, .h6 {
    font-size: 1rem
}

h5.no-span {
    display: table;
    white-space: nowrap
}

h5.no-span:before, h5.no-span:after {
    border-top: 1px solid green;
    content: "";
    display: table-cell;
    position: relative;
    top: .5em;
    width: 45%
}

h5.no-span:before {
    right: 1.5%
}

h5.no-span:after {
    left: 1.5%
}

.navbar {
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.logo {
    height: 100px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* Target devices at least 768px */
@media (min-width: 768px) {
    .clsDisclaimer {
        display: block;
    }

    .clsContactServiceTextAlignment {
        text-align: left;
    }

    .clsLegalInfoAlignment {
        align-items: flex-end;
    }

    .clsLegalInfoAlignment div p {
        text-align: right;
    }

    .clsDesktopView {
        display: block;
    }

    .clsMobileView {
        display: none;
    }

    #legalInfoContent {
        display: block;
    }

    #contactDetailsContent {
        display: block;
    }

    .clsCopyrightAlign {
        text-align: right;
    }

    .clsfooterIconAlign {
        text-align: left;
    }

    footer img {
        width: 60px;
        height: 60px;
    }

    .pt-5 {
        padding-top: 3rem !important;
    }
}

@media (max-width : 767px) {
    .navbar-brand {
        margin-left: 20px;
    }

    .logo {
        height: 55px;
    }

    .clsDisclaimer {
        display: none;
    }

    .clsContactServiceTextAlignment {
        text-align: center;
    }

    .clsLegalInfoAlignment {
        text-align: center;
    }

    .clsLegalInfoAlignment div p {
        text-align: center;
    }

    .clsDesktopView {
        display: none;
    }

    .clsMobileView {
        display: inline-block;
    }

    .clsCopyrightAlign {
        text-align: center;
    }

    .clsfooterIconAlign {
        text-align: center;
    }

    footer img {
        width: 40px;
        height: 40px;
    }

    .pt-5 {
        padding-top: 1.5rem !important;
    }

    #contactDetailsContent {
        padding-top: 0.5rem;
        border-top: 1px dotted #3f3f3f !important;
    }

    #legalInfoContent {
        padding-top: 0.5rem;
        border-top: 1px dotted #3f3f3f !important;
    }
}

@media (max-width : 575px) {
    .logo {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    .navbar-brand {
        left: 0 !important;
        position: static;
        transform: none;
    }

    footer img {
        width: 40px;
        height: 40px;
    }
}

.main-bg {
    background-image: url(https://static-dev.fairwaynext.com/assets/images/beautiful-suburban-home-gradient.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.overlay-bg {
    background-image: url(https://static-dev.fairwaynext.com/assets/images/TriangleOverlay_V2.svg);
    background-size: cover;
    background-position: 80% 40%;
}

.footer {
    background: rgb(39, 40, 43);
    background: linear-gradient(to bottom, rgb(39, 40, 43) 1%, rgb(0, 0, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#27282b", endColorstr="#000000", GradientType=0);
    color: #fff;
}

.footer-head {
    font-size: .75rem;
}

.footer-bottom {
    border-top: 1px solid #575757;
}

.footer-copyright {
    font-size: 8pt;
}

footer a {
    color: #81c342;
}

footer a:hover {
    color: #0e6848;
}

.footer .border-top {
    border-top: 1px dotted #3f3f3f !important;
}

ul.footer-menu .list-inline-item:not(:last-child):after {
    content: "\2022";
    margin-left: 10px;
}

.clsDisplayNone {
    display: none;
}

.clsDisplay {
    display: block;
}

@media (max-width: 350px) {

    .navbar-brand {
        margin: 0;
    }
}
