.lead {
    font-size: 1rem;
    font-weight: 600;
    width: 90%;
}

#logo-row {
   margin-top: 5%; 
   margin-left: 10%;
}

#button-row {
  margin-top: 10%;
  right: 0; 
  margin-right: 20%;
}

#service-logos{
  text-align: center;

}

#capabilities-button{
  font-size: 14px;

}

#capabilities-button2 {
 font-size: 14px;
 width: 250px;
 padding: 9px;
}

#contact-button:hover {
  background-color: #cc6600; 
  border: none;
}

#capabilities-button:hover {
  background-color: #cc6600; 
  border: none;

    }

#capabilities-button2:hover {
  background-color: #cc6600; 
  border: none;

    }


body{
  width: 100%;
 overflow-x: hidden;
}

body.model-open{
  padding-right: 0 !important;

}

html{
  overflow-y: scroll;

}

.check-blurb {
  font-size: 17px;
  margin-left: 10%;

}

.infra-bg{
background-color: #cc6600;

}
#main-check{
  margin-left: 40px;

}

#firstContainer{
  margin-bottom: 5rem;
 
}

#contact-footer{
  text-align: center;
}

root{ --bs-body-scrollbar-width: 0px; } 

body.modal-open { padding-right: 0 !important; }

@media (min-width: 768px) and (max-width: 1050px) {   /* CSS rules for portrait tablets */
       .lead{
        width: 80%;
        font-size: .7rem;
      }

html, body{
  width: 100%;
  overflow-x: hidden;
}

#header-img {

  height: 55vh;
}

.check-blurb {
  font-size: 13px;

}

#check-mark-row1{
  display: flex; /* Makes the container a flex container */
  justify-content: center;
}

#capabilities-button, #capabilities-button2 {
  color: black;
  border-color: black;
}

#contact-button{
  border-color: black;
  color: black;
  margin-top: 10px;
}

}


@media (min-width: 505px) and (max-width: 750px) {
.lead{
        width: 90%;
        font-size: .5rem;
      }

html, body{
  width: 100%;
  overflow-x: hidden;
}

#button-row{
  margin-right: 1%;

}

#header-img{
    height: 70vh;

}

.hover-icons:hover{
  color: white;
  background-color: #333333;
  text-decoration: none;
  border-radius: 10px;
}

#contact-button{
  width: 80px;
  height: 40px;
  font-size: 14px;
  padding:2px;
  margin-top: 10px;
}

#capabilities-button2 {
  margin-top: 5px;
}

.check-blurb {
  font-size: 10px;

}
.check-mark-row {
  margin-right: 45px;

}

#contact-button{
  border-color: black;
  color: black;
  margin-top: 10px;
  
}

#capabilities-button, #capabilities-button2 {
  border-color: black;
  color: black;
}

#check-mobile-view {
  display: none;

}

}


 @media screen and (max-width: 500px) {
.lead{
        width: 90%;
        font-size: .6rem;
      }

html, body{
  width: 100%;
  overflow-x: hidden;
  overflow-y: scroll !important;
}

#main-check{
margin-left: 10px;

}

#button-row{
  margin-right: 1%;

}

#header-img{
    height: 70vh;

}

#contact-button{
  width: 80px;
  height: 40px;
  font-size: 14px;
  padding:2px;
  margin-top: 10px;
}

#capabilities-button2 {
  margin-top: 5px;
}

.check-blurb {
  font-size: 10px;

}
.check-mark-row {
  margin-right: 45px;
}

#capabilities-button, #capabilities-button2, #contact-button{
  border-color: black;
  color: black;
  background-color: #cc6600;
}

#navfac-logo{
  width: 225px;
  height: 35px;

}

#check-mobile-view {
  display: none;

}

}

@media screen and (max-width: 400px) {
#header-img{
    height: 70vh;
}

.lead{
   
        font-size: .5rem;
      }

html, body{
  width: 100%;
 overflow-x: hidden;
}

#logo-row{
  margin-left: 1%;

}

#service-logos{
  text-align:center;

}


.check-blurb {
  font-size: 10px;
}

.check-mark-row {
  margin-right: 85px;
}

#capabilities-button, #capabilities-button2, #contact-button{
  border-color: black;
  color: black;
  background-color: #cc6600;
}

#check-mobile-view {
  display: none;

}

#navfac-logo{
  width: 225px;
  height: 35px;

}

    }

@media screen and (min-width: 1400px){

.lead{
  width: 80%;
  font-size: 1.2rem;

}

#logo-row {
   margin-top: 7%;
}


}

@media only screen and (orientation: landscape) and (max-width: 991px) {


html, body{
  width: 100%;
  overflow-x: hidden;
}

#logo-row{
margin-top: 1%;

}

#header-img{
    width: 100%;
    height: auto;

}


}

@media only screen and (orientation: landscape){

html, body{
  width: 100%;
  overflow-x: hidden;
}

#header-img{
    width: 100%;
    height: auto;
}

}

section {
    display: block;
    unicode-bidi: isolate;
}


.hover-icons:hover{
  color: white;
  background-color: #333333;
  text-decoration: none;
  border-radius: 10px;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
}

img, svg {
    vertical-align: middle;
}
.hero {
    position: relative;
}

.hero__foreground {
    position: relative;
    z-index: 2;
    padding-top: 5vw;
    color: white;
}

 ::after, ::before {
    box-sizing: border-box;
}

.hero__foreground .container {
    position: relative;
    z-index: 2;
}

.hero__foreground::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), #7D3E00 50vw);
}

#logo-hero-background{
  filter: blur(1px) grayscale(70%);

}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.pb-5 {
    padding-bottom: 3rem !important;
}

.pt-5 {
    padding-top: 3rem !important;
}

div {
    display: block;
    unicode-bidi: isolate;
}

*, ::after, ::before {
    box-sizing: border-box;
}