html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.desktop-nav {
    background-color: #fff;
    position: sticky;
    top: 0;
    overflow: hidden;
}

.navbar {
    background-color: #fff;
    --bs-navbar-padding-y: 0;
    padding-top: 0;
    padding-bottom: 0;
    position: sticky;
}

.nav-item {
    padding-top: 5px;
    padding-bottom: 5px;
}

a.nav-link {
    color: #53722c;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    text-align: center;
    font-weight: bolder;
    margin-top: 15px;
    margin-bottom: 15px;
}

a.nav-link:hover, a.nav-link:focus {
    color: #9dc46e;
}

a.nav-link.active {
    color: #9dc46e;
}

.header-bar {
    background-color: #53722c;
    padding-bottom: 5px;
    border-bottom: solid 1px #fff;
}

.header-background {
    background-image: url('../img/greener-grounds-landscape-background.jpg');
    width: 100%;
    height: 450px;
    background-size: cover;
    background-repeat: no-repeat;
}

.header-background > h1 {
    color: #fff;
    font-size: 4em;
    padding-top: 50px;
    margin-top: 0;
}

.header-background > h2 {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2px;
    text-align: center;
}

.header-background > a {
    color: #fff;
    display: block;
    border: solid 1px #fff;
    background-color: transparent;
    text-align: center;
    margin: 0 auto;
    text-decoration: none;
    padding: 7px;
    max-width: 175px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.header-background > h3 {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2px;
    text-align: center;
}

.facebook-top-nav {
    color: #53722c;
    font-size: 40px;
    margin-top: 5px;
    margin-right: 12px;
    float: right;
}

.facebook-follow {
    color: #53722c;
    font-size: 40px;
}

.header-background > a:hover {
    background: rgba(255, 255, 255, 0.1)
}

.navbar-toggler {
    border: none;
}

.facebook-top-nav-mobile {
    color: #53722c;
    font-size: 30px;
    margin: 0 auto;
    text-align: center;
    display:block;
}

.header-info h2 {
    margin-bottom: 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 2px;
    text-align: center;
}

.header-info h1 {
    color: #fff;
    margin: 0;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 5px;
}

.carousel {
    width: 575px;
    margin: 0 auto;
    margin-top: 20px;
}

.carousel-item {
  height: 700px;
}

.carousel-item img {
  height: 100%;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}

h1 {
    margin-top: 30px;
    margin-bottom: 20px;
    color: #53722c;
    text-align: center;
}

.services-section > h2 {
    color:#53722c;
    text-align: center;
}

.services-section > p {
    color: #454545;
    text-align:center;
    margin-top: 0;
    margin-bottom: 0;
}

.request-button {
    border-radius: 8px;
    margin-top: 30px;
    min-width: 185px;
}

.footer {
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
    background-color: #53722c;
}

footer .footer-links {
    margin: 0 auto;
    text-align: center;
}

footer .footer-links > a {
    color: #fff;
    text-decoration: none;
    padding-left: 20px;
    padding-right: 20px;
    border-right: solid 1px #fff;
}

footer .footer-links > a:last-child {
    border-right: none;
}

footer .footer-links > a:hover {
    text-decoration: underline;
}

.sub-footer {
    text-align: center;
    margin: 0 auto;
    color: #53722c;
}

.sub-footer h5 {
    margin-top: 10px;
    margin-bottom: 0;
}

.home-footer-wrapper {
    padding-bottom: 20px;
    padding-top: 10px;
    background-color: #F9F9F9;
    margin-top:20px;
}

.home-footer-wrapper p {
    margin-bottom: 2px;
    font-size: .90rem;
    font-weight: 500;
}

.mobile-nav {
    display: none;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
}

.center-block {
    margin: 0 auto;
    display: block;
    text-align: center;
}

.gallery-photo-wrapper {
    max-height: 225px;
    width: auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-photo {
    margin: 0 auto;
    text-align: center;
    padding: 10px;
}

.gallery-photo img {
    max-height: 300px;
    width: auto;
    cursor: pointer;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.gallery-photo img:hover {
    opacity: 0.7;
}

.modal-body img {
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
}

.modal-body img {
    -webkit-user-drag: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

#leftArrow {
    color: rgb(255, 255, 255, 0.7);
    position: absolute;
    left: 10px;
    top: 335px;
    cursor: pointer;
}

#rightArrow {
    color: rgb(255, 255, 255, 0.7);
    position: absolute;
    right: 10px;
    top: 335px;
    cursor: pointer;
}

@media (max-width: 1400px) {
    .nav-link-desktop {
        font-size: .95rem;
    }
}

@media (max-width:1150px) {
    .header-background {
        background-size: contain;
        background-repeat: no-repeat;
    }
}

@media (max-width:1099px) {
    .header-background {
        height: 435px;
    }

        .header-background > h1 {
            font-size: 3.75em;
        }
}

@media (max-width: 992px) {
    .mobile-nav {
        display: block;
    }

    .desktop-nav {
        display: none;
    }

    a.nav-link {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        text-align: center;
        font-weight: bolder;
        margin-top: 2px;
        margin-bottom: 2px;
    }

    .nav-item {
        padding-bottom: 0;
    }

    .header-background {
        height: 395px;
    }

    .header-background > h1 {
        font-size: 3.5em;
    }

    .header-background > h2 {
        font-size: 1.5rem;
    }


    .navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
        color: #9dc46e;
    }

    .nav-item {
        padding-bottom: 0;
    }

    .nav-item:hover {
        background-color: rgba(242, 242, 242, 0.2)
    }
}

@media (max-width: 920px) {
    .header-background {
        height: 375px;
    }

        .header-background > h1 {
            font-size: 3em;
        }

        .header-background > h2 {
            font-size: 1.25rem;
        }
}

@media (max-width: 850px) {
    .header-background {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .header-background {
        height: 300px;
    }

    .request-button {
        min-width: 155px;
    }

    .home-footer-wrapper img {
        padding-top: 20px;
    }

    .carousel {
        width: 337.5px;
    }

    .carousel-item {
        height: 450px;
    }
}

@media (max-width: 675px) {
    .header-background {
        height: 275px;
    }

    .header-background > h1 {
        font-size: 2.5em;
        padding-top: 30px;
    }

    .header-background > h2 {
        font-size: 1rem;
    }

    .header-background > a {
        display: none;
    }
}

@media (max-width: 550px) {
    .header-background {
        height: 245px;
    }
}

@media (max-width: 500px) {
    .header-background {
        height: 200px;
    }

    .header-background > h1 {
        font-size: 2em;
        padding-top: 20px;
    }

    footer .footer-links > a {
        font-size: .90rem;
    }

    #leftArrow {
        top: 300px;
    }

    #rightArrow {
        top: 300px;
    }
}

@media (max-width: 360px) {
    .header-background {
        height: 175px;
    }

    h1 {
        margin-top: 0;
    }

    #leftArrow {
        top: 250px;
    }

    #rightArrow {
        top: 250px;
    }
}
