body {
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 25px;
    color: black;
    background-color: white;
    transition: background-color .5s;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
}

html {
    width: 100%;
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

h1 {
    font-weight: 700;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h3 {
        font-size: 1.25rem;
    }

}

h2, h3 {
    font-weight: 700;
}

p {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 300;
    font-family: 'Open Sans', sans-serif;
}

@media (min-width: 768px) {
    p {
        font-size: 16px;
        line-height: 1.6;
    }
}

a {
    /*color: inherit;*/
}

.p-justify {
    text-align: justify;
}

li {
    color: #191919;
    font-size: 14px;
    line-height: 1.5;
    font-family: 'Open Sans', sans-serif;
    padding-bottom: 10px;
}

@media (min-width: 768px) {
    li {
        font-size: 16px;
        line-height: 1.6;
    }
}

a:focus, a:hover {
    text-decoration: inherit;
}

.masthead {
    display: block;
    width: 100%;
    height: auto;
    text-align: center;
    color: black;
    background-color: #F57222;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.mast-logo-section {
    background-color: white;
}

.intro-body {
    padding-top: 40px;
    margin-bottom: 0;
    padding-bottom: 0;
}

.masthead .intro-body {
    display: block;
    vertical-align: middle;
    margin-bottom: 0;
    padding-bottom: 0;
}

.masthead .intro-body .brand-heading {
    font-size: 50px;
}

@media (min-width: 768px) {
    .masthead {
        padding: 0;

    }

    .masthead .intro-body .brand-heading {
        font-size: 100px;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .masthead .intro-body .intro-text {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .intro-body {
        padding-top: 10px;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .masthead {
        padding-top: 50px;
        padding-bottom: 0;
        margin-bottom: 0;

    }

    .intro-text {
        font-size: 18px;
    }
}

@media (max-width: 400px) {
    .intro-text {
        font-size: 14px;
    }
}

.btn-circle {
    font-size: 26px;
    width: 55px;
    height: 55px;
    margin-top: 15px;
    line-height: 45px;
    -webkit-transition: background 0.3s ease-in-out;
    -moz-transition: background 0.3s ease-in-out;
    transition: background 0.3s ease-in-out;
    color: black;
    border: 2px solid black;
    border-radius: 100% !important;
    background: transparent;
}

.btn-circle:focus, .btn-circle:hover {
    color: white;
    outline: none;
}

.content-section {
    padding-top: 50px;
    padding-bottom: 50px;
}

body section.content-section:first-of-type {
    padding-top: 100px;
}

.about-us-header {
    padding-bottom: 30px;
    padding-top: 30px;
}

.about-us-p {
    padding-bottom: 5px;
    text-align: justify;
}

#map {
    width: 100%;
    height: 300px;
}

.gmap-wrapper {
    position: relative;
    padding-bottom: 30%;
    height: 0;
    overflow: hidden;
}

.gmap-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

@media (min-width: 992px) {
    .content-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    #map {
        height: 350px;
    }
}

.btn {
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 400;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    border-radius: 0;
}

.btn-default {
    color: #42DCA3;
    border: 1px solid #42DCA3;
    background-color: transparent;
}

.btn-default:focus, .btn-default:hover {
    color: black;
    border: 1px solid #42DCA3;
    outline: none;
    background-color: #42DCA3;
}

ul.banner-social-buttons {
    margin-top: 0;
}

@media (max-width: 1199px) {
    ul.banner-social-buttons {
        margin-top: 15px;
    }
}

@media (max-width: 767px) {
    ul.banner-social-buttons li {
        display: block;
        margin-bottom: 20px;
        padding: 0;
    }

    ul.banner-social-buttons li:last-child {
        margin-bottom: 0;
    }
}

footer {
    padding: 50px 0;
}

footer p {
    font-size: 14px;
    margin: 0;
}

footer a {
    color: #cccccc;
}

footer a:hover {
    color: #4DC6F4;
    text-decoration: none;
}

.sidenav a:hover {
    text-decoration: none;
}

::-moz-selection {
    background: #fcfcfc;
    background: rgba(255, 255, 255, 0.2);
    text-shadow: none;
}

::selection {
    background: #fcfcfc;
    background: rgba(255, 255, 255, 0.2);
    text-shadow: none;
}

img::selection {
    background: transparent;
}

img::-moz-selection {
    background: transparent;
}

li a, .dropbtn {
    display: inline-block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li a:hover, .dropdown:hover .dropbtn {
    font-weight: bold;
}

li.dropdown {
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #FAEBD7;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 0;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #FFDEAD
}

.dropdown:hover .dropdown-content {
    display: block;
}

.our-offer-details, .when-to-think-p {
    font-size: 0.8rem;
}

.how-we-work-p {
    font-size: 0.9rem;
}

.img-shadow {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1)
}

.headshot {
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.2);
    border-radius: 5%;
    margin: 0 auto;
    display: block;
}

.theNamePhotos {
    display: flex;
    align-items: center;
    justify-content: center;

}

.intro-demo {
    font-size: 22px;
    margin-bottom: 0;
}

#demo-map {
    padding-top: 100px;
    padding-bottom: 50px;
}

.navButton {
    background-color: #0062AB;
    border: 1px solid #00365f;
    color: white;
    border-radius: 10px;
    font-weight: 300;
    line-height: 30px;
    letter-spacing: 1px;
    font-size: 16px;
    box-sizing: border-box;
    padding: 8px 15px;
    cursor: pointer;
    box-shadow: 0px 10px 10px -10px grey;
}

@media (max-width: 1199.98px) {
    .navButton {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .navButton {
        margin: 0 50px 10px 50px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .aboutButtons {
        justify-content: center;
    }
}

.offerButton {
    background-color: #0062AB;
    border: 1px solid #00365f;
    color: white;
    border-radius: 10px;
    font-weight: 300;
    line-height: 30px;
    letter-spacing: 1px;
    font-size: 15px;
    box-sizing: border-box;
    padding: 4px 14px;
    cursor: pointer;
    box-shadow: 0px 10px 10px -10px grey;
}

@media (max-width: 1199.98px) {
    .offerButton {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .offerButton {
        margin: 0 50px 10px 50px;
        font-size: 14px;
    }
}

.slideshowButton {
    height: 100px;
    width: 100px;
    outline: black;
    background-size: 100%, 100%;
    border-radius: 50%;
    border: 1px solid black;
    background-image: none;
}

.navButton:hover {
    color: white;
    background-color: #00365f;
    transform: translateY(1px);
    text-decoration: none;
}

.offerButton:hover {
    color: white;
    background-color: #00365f;
    transform: translateY(1px);
    text-decoration: none;
}

.footer {
    background-color: #323232;
    color: #cccccc;
}

.contact-photo {
    border-radius: 50%;
    margin: 25px 25px 25px 25px;
}

@media (min-width: 768px) {
    .contact-photo {
        height: 100px;
        width: 100px;
        margin: 0 25px 50px 25px;
    }
}

.logo {
    text-align: left;
    margin-left: 16px;
    border: none;
    padding-top: 4px;
}

.line1, .line2, .line3 {
    margin-top: 5px;
    background-color: #000;
    width: 25px;
    height: 3px;
    display: block;
    position: relative;
    opacity: 1.0;
    border-radius: 15%;
    transition: all .3s;
}

#closebtn {
    height: 25px;
    width: 25px;
    position: absolute;
    text-decoration: none;
    top: 10px;
    right: 25px;
    font-size: 36px !important;
    margin-right: 50px;
    z-index: 100;
    color: #000;
    cursor: pointer;
    transition: background-position .3s;
}

#navMenu {
    position: fixed;
    top: 0;
    right: 0;
    margin-top: 15px;
    margin-right: 20px;
}

#navMenu:hover {
    cursor: pointer;
}

#Main {
    transition: margin-top .4s;
    text-align: center;
    margin: auto;
    padding: 16px;
    font-size: 30px;
}

/* Side Nav */
.sidenav {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 24px;
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1001;
    text-decoration: none;
    top: 0;
    right: 0;
    background-color: white;
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #000000;
    display: block;
    transition: 0.3s;
    white-space: normal;
    min-width: 250px;
}

.sidenav a:hover {
    color: #E5793A;
    cursor: pointer;
    transform: translateY(1px);
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    min-width: auto;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}

.sidenav a .subNavLink {
    font-size: 20px;
}

.footer-p {
    font-size: 16px;
}

.top-nav {
    transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
    position: fixed;
    padding-top: 8px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    top: 0;
    height: 65px;
    width: 100%;
    background: white;
    z-index: 1000;
    border-top: 6px solid #F57222;
}

.box-shadow {
    box-shadow: 0 1px 3px #bbb;
    border-top: none;
}

.contact-icon {
    display: inline-block;
    border-radius: 60px;
    box-shadow: 0px 0px 2px #888;
    padding: 0.4em 0.5em;
    color: #323232;
    margin-bottom: 15px;
}

@media (min-width: 1200px) {
    .offer-image {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 1200px) {
    .offer-image {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 992px) {
    .about-img {
        padding: 20px 0 20px 0;
    }

    .offer-image {
        max-width: 40%;
        height: auto;
        margin: auto;
    }

    .offer-image-section {
        padding-bottom: 20px;
    }

    .slideshow-img-section {
        padding-top: 20px;
    }
}

#tagline {
    background-color: #4c4c4c;
    margin: 20px 0 0 0;
    padding-top: 30px;
    padding-bottom: 30px;
    height: 100px;
    color: white;
}

.intro-sub {
    padding: 40px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .mast-logo-section div:first-child {
        display: none;
    }

    #tagline {
        margin-top: 0px;
    }

    .intro-sub {
        font-size: 1.25rem;
    }

    .offer-image {
        max-width: 50%;
        height: auto;
        margin: auto;
    }

}

@media (max-width: 576px) {
    .offer-image {
        width: 60%;
        height: auto;
        padding: 25px 0 25px 0;
    }

    .about-graphic-caption {
        display: none;
    }

    #tagline {
        height: 50px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .intro-sub {
        padding-top: 30px;
        font-size: 1rem;
    }
}

.offer-image-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.contact-info-photo {
    height: 20px;
    margin-left: 5px;
}

.top-car-img {
    max-width: 100%;
}

.slideshow-img-section {
    text-align: center;
}

.slideshow-img {
    max-width: 80%;
    margin: 0 auto;
}

.carousel-item-bottom {
    padding: 70px;
}

#nexial-other-project .row {
    margin-bottom: 80px;
}

#the-name svg#NexialLogo {
    width: 35%;
    min-width: 200px;
}

.copyright {
    text-align: center;
    font-size: 0.75rem;
}

section#how-we-work>div:nth-child(even) {
    background-color: #F0F0F0 !important;
}

#nexial-maps-tools {
    padding-bottom: 40px;
}