html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Noto Serif', serif;
}

#about, #services, #staff, #contact{
    scroll-margin-top: 50px;
    scroll-snap-margin-top: 50px;
}

#our-firm, #biography{
    scroll-margin-top: 110px;
    scroll-snap-margin-top: 110px;
}

/*NAVBAR*/
.navbar{
    background-color: #ffffff;
    border-bottom: #f9c893 2px solid;
}

.navbar-light .navbar-brand{
    color: #000000;
    font-size: 1.2rem;
    font-weight: 600;
}

.navbar-light .navbar-nav .nav-link{
    color: #000000;
    margin: 0 5px 0 5px;
    font-size: 1rem;
    font-weight: 500;
}

.navbar-light .navbar-nav .nav-link:hover{
    color:#f9c893;
}

/*HEADER*/
header.masthead{
    padding-top: 6rem;
    height: 100vh;
    padding-bottom: calc(10rem - 4.5rem);
    background-image: linear-gradient(200deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%), url('../assets/header.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

header.masthead h1{
    font-size: 4.4rem;
    font-weight: 600;
}

header.masthead h3{
    font-weight: 400;
}

#desktopnumber{
    font-weight: 400;
    font-size: 2rem;
    color: #ffffff;
}

#desktopnumber > a{
    text-decoration: none;
    color: #ba762d;
}

#cellphonenumber{
    display: none;
    text-decoration: none;
    color: #ba762d;
}

/*ABOUT*/
#about h2, #services h2:not(.overlay-txt), #staff h2, #contact h2{
    text-align: center;
    font-weight: 600;
    font-size: 2.6rem;
}

hr:not([size]){
    height: 5px;
}

hr{
    background-color: #ba762d;
    opacity: 1;
    width: 6%;
    margin: auto;
    margin-bottom: 2.2rem;
}

#about h6{
    font-size: .9rem;
    text-align: center;
    color: #666666;
}

#about .text{
    font-size: .9rem;
    padding: 2rem;
}

#about p{
    font-size: .9rem;
}

.text p:nth-child(3){
    margin: 0;
}

/*SERVICES*/
#services{
    padding: 5rem 0 5rem 0;
    background-color: #dddddd;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

#services h2{
    color: #000000;
}

#services h3{
    font-weight: 700;
}

#services p{
    font-size: .9rem;
}

.overlay{
    background-color: rgba(0, 0, 0, .6);
}

.overlay-txt{
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    font-size: 1.3rem;
}

/*CONTACT*/
#contact{
    background-color:#041627;
    padding: 4rem 0 4rem 0;
    color: #ffffff;
}

#contact h2{
    text-align: start;
}

#contact hr{
    margin-left: 0;
}

#contact h6{
    font-size: .9rem;
    color: #aaaaaa;
}

#contact .row{
    font-size: 1.1rem;
}

#deskcontnum > a{
    text-decoration: none;
    color: #f9c893;
}

#mobholder{
    display: none;
}

#email{
    text-decoration: none;
    color: #f9c893;
}

#faxcontnum{
    text-decoration: none;
    color: #f9c893;
}

#mobfax{
    display: none;
}

#mobfax > a{
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: #ffffff;
}

#contact img{
    padding-right: .3rem;
}

#mobmap{
    display: none;
}

.modal-content{
    background-color: rgba(255,255,255,.95);
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

.modal h5{
    font-weight: 600;
}

.modal-body h4{
    font-size: .8rem;
}

.modal-body{
    line-height: 1.5;
}

.modal-backdrop.show{
    opacity: .7;
}

@media (min-width: 1200px){
    #services h3{
        font-size: 1.5rem;
    }
}

@media (max-width: 1199px){
    header.masthead h1{
        font-size: 3.4rem;
    }

    header.masthead h3{
        font-size: 1.5rem;
    }
}

@media (max-width: 991px){
    #cta{
        display: none;
    }

    header.masthead h1{
        font-size: 2.8rem;
    }

    header.masthead h3{
        font-size: 1.2rem;
    }

    #desktopnumber{
        font-size: 1.6rem;
    }

    #about h2, #services h2:not(.overlay-txt), #staff h2, #contact h2{
        font-size: 2.2rem;
    }

    #services .col div{
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    #services h4{
        font-size: .9rem;
    }
}

@media (max-width: 767px){
    header.masthead h1{
        font-size: 3rem;
    }

    #desktopnumber, #deskcontnum, #fax{
        display: none;
    }

    #cellphonenumber{
        display: block;
        font-size: 1.6rem;
    }

    #cellphonenumber > a{
        text-decoration: none;
        color: #f9c893;
        font-weight: 700;
    }

    #mobholder{
        display: inline;
    }

    #mobcontnum{
        text-decoration: none;
        color: #f9c893;
    }

    #mobfax{
        display: inline;
    }
}

@media (max-width: 575px){
    .navbar-light .navbar-brand{
        font-size: 1rem;
    }

    header.masthead h1{
        font-size: 1.8rem;
    }

    header.masthead h3{
        font-size: 1.1rem;
    }

    #desktopnumber, #deskcontnum{
        display: none;
    }

    #deskmap{
        display: none;
    }

    #mobmap{
        display: block;
    }

    #about h2, #services h2:not(.overlay-txt), #staff h2, #contact h2{
        font-size: 2rem;
    }

    #about .text{
        padding: 1.2rem;
    }

    #services .col div{
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    #services h4{
        font-size: .7rem;
    }

    .overlay-txt{
        font-size: 1.5rem;
    }

    #contact .row{
        font-size: .9rem;
    }
}

@media (max-width: 319px){
    .navbar-light .navbar-brand{
        font-size: .9rem;
    }
}