
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/*
a, a:link, a:visited, a:hover, a:active {
  color: inherit;
  text-decoration: none;
}

a {
  color: inherit;
}
*/

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -ms-webkit-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core body defaults */
body {
  max-width: 1920px;
  min-height: 100vh;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  font-family: inter, Arial, Helvetica, sans-serif;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}



/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-top: 150px;
}

/* Hide class to use via js */
.hide-item{
  display: none;
}

/* show class to use via js */
.show-item{
  display: block;
}



/* special classes for universal colors */

.ms-yellow{
  background-color: #F4E000;
}

.ms-gray {
  background-color: #F3F2F1;
}

.black{
    color: black;
}

/* Anchor text decoration*/
a{
  text-decoration: none;
}


/*When larger than 1920 center body*/
@media only screen and (min-width: 1920px){
  body{
    margin: 0 auto;
  }
}

/* hide labels but keep in dom for accessibility */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/*Buttons*/

/* global styling for buttons*/

.button-global{
  height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 24px;
  font-size: .9rem; font-weight: 500;
}
.bt-one {
  width: 170px; border: none; color: #000;
}

.bt-two {
  width: 220px; border: none; color: #000;
}

.bt-three {
  width: 400px; border: none; color: #000;
}

.bt-four{
  width: 120px;
  background-color: transparent;
  border: 1.5px solid #FFFFFF;
  color: #FFFFFF;
}

.bt-four:active{
  background-color: #00000086;
  border: none;
}

.bt-one img,
.bt-two img,
.bt-three img {
  width: 1.25rem;
  margin-left: .5rem;
}

.bt-four img {
  width: 1.25rem;
  margin-left: .5rem;
}

.bt-one:hover,
.bt-two:hover,
.bt-three:hover,
.bt-five:hover{
background-color: #e6d300;
}

.bt-one:active,
.bt-two:active,
.bt-three:active,
.bt-five:active{
background-color: #f4b300;
}

#navbar{
  width: 100%; height: 70px; z-index: 1000;
  background-color: #FFFFFF;
  position: fixed;
  top: 0; left: 0;
  border-bottom: 1px solid #D3D3D3;

  /* animation time for nav */
  transition: transform .2s;
}
@media only screen and (max-width: 500px){
  #navbar{
    height: 64px;
  }
}

@media only screen and (max-width: 400px){
  #navbar{
    height: 56px;
  }
}

/* hides nav when scrolling dow */
#navbar.hide-nav{
  transform: translateY(-100%);
}

#navbar .nav-container{
  width: 96%; height: 100%;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}

@media only screen and (max-width: 850px){
  #navbar .nav-container{
    width: 90%;
  }
}

.nav-container img{
  height: 34px;
}

.nav-container ol{
  margin-left: 2rem;
  list-style-type: none;
  display: flex; flex-direction: row; flex-grow: 1;
}
@media only screen and (max-width: 1000px){
  .nav-container ol{
    margin-left: 0;
  }
}

@media only screen and (max-width: 850px){
  .nav-container ol{
    display: none;
  }
}

.nav-container ol li{
    display: inline-flex; align-items: center;
    position: relative;
    margin-left: 4rem; padding-bottom: 2px;
    font-weight: 500; font-size: 1rem;
}
@media only screen and (max-width: 1000px){
  .nav-container ol li{
    margin-left: 2rem;
  }
}

/* adds line when hovering over */
.nav-container ol li:hover:after{
  content: '';
  position: absolute;
  margin-top: 15px; bottom: 0; left: 0; 
  width: 100%; height: 2px;
  background-color: #F4E000; /* Set the color of the border */
}
/* underline class for links to activate when is in corresponding section*/
/* note that the class itself is empty */
.nav-underline::after { /* The magic happens when :after creates the line */
  content: '';/* adds clss without :after */
  position: absolute; bottom: 0;left: 0;
  margin-top: 15px;
  width: 100%; height: 2px;
  background-color: #F4E000;
}

.nav-container ol li img{
  width: .7rem;
}

.nav-container button {
  float: right;
}
@media only screen and (max-width: 850px){
  .nav-container button {
    display: none;
  }
}

/* for mobile */
.nav-container .hamburger{
  width: 30px; height: 30px;
}

.nav-container .hamburger-close-button{
  width: 20px; height: 20px;
  margin: 0 5px; /* centering closing icon with hamburger icon */
}

nav#drawer-nav{
width: 100vw; height: 100vh;
padding: 5rem;
z-index: 20;
position: fixed; top: 0; left: 0;
background-color: #FFFFFF;
transform: translateX(100%);
overflow: hidden;
}

@media only screen and (min-width: 850px){
  nav#drawer-nav{
    display: none;
  }
}

@media only screen and (max-width: 500px){
  nav#drawer-nav{
    padding: 5rem 4rem;
  }
}

@media only screen and (max-width: 400px){
  nav#drawer-nav{
    padding: 5rem 2rem;
  }
}

#drawer-nav ol{
  list-style: none; max-width: 700px; margin: 0 auto;
}

#drawer-nav ol li{
  font-size: 1.25rem; padding: 2rem 0px;
  border-bottom: 1px solid #D3D3D3;
}
@media only screen and (max-width: 500px){
  #drawer-nav ol li{
    font-size: 1rem; padding: 1.5rem 0;
  }
}

#drawer-nav ol li:hover{
  text-decoration: underline;
}

#drawer-nav.open-drawer{
  transform: translateX(0%);
  transition-duration: .2s; /* transformation time */
}

/* BANNER SECTION */

section.banner {
  width: 100vw; max-width: 100%; height: 600px;
  padding: 80px;
  background-image: url(/Assets/Images/Master-Sealcoating-Banner-min.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left 50% top 25%;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
}
@media only screen and (max-width: 500px){
  section.banner {
    padding: 3rem 10%;
  }
}

.banner h1{
  color: #FFFFFF; font-size: 4rem; font-weight: 700;
}
@media only screen and (max-width: 1155px){
  .banner h1{
    font-size: 3.5rem;
  }
}
@media only screen and (max-width: 850px){
  .banner h1{
    font-size: 3rem;
  }
}
@media only screen and (max-width: 800px){
  .banner h1{
    font-size: 2.5rem;
  }
}
@media only screen and (max-width: 600px){
  .banner h1{
    font-size: 2rem;
  }
}
@media only screen and (max-width: 450px){
  .banner h1{
    font-size: 1.5rem;
  }
}

.banner .banner-button-cont{
  width: 100%;
  margin-top: 3rem;
  display: flex; flex-direction: row; justify-content: flex-start;
}


@media only screen and (max-width: 450px){
  .banner-button-cont .bt-one{
    display: none;
    }
}


/* call now button */
.banner-button-cont .bt-four{
  margin-left: 3rem; display: none;
}
@media only screen and (max-width: 800px){
  .banner-button-cont .bt-four{
    display: flex;
  }
}
@media only screen and (max-width: 450px){
  .banner-button-cont .bt-four{
    margin-left: 0;
  }
}

/* MAIN */
.main-container{
  width: 100vw; max-width: 100%; height: auto;
}

/* global header style for sections */
.section-h2{
  font-size: 3.75rem;
  font-weight: 600;
}
@media only screen and (max-width: 1155px){
  .section-h2{
    font-size: 3rem;
  }
}
@media only screen and (max-width: 800px){
  .section-h2{
    font-size: 2rem;
  }
}
@media only screen and (max-width: 500px){
  .section-h2{
    font-size: 1.5rem;
  }
}

/* Carousel facts */
.swiper {
  width: 100%; margin: 8rem 0;
}

@media only screen and (max-width: 500px){
  .swiper {
    margin: 5rem 0;
  }
}

.swiper-wrapper {
  -webkit-transition-timing-function:linear!important;
  -o-transition-timing-function:linear!important;
  transition-timing-function:linear!important;
  display: flex; align-items: center;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d; 
}

.swiper-slide {
  flex-shrink: 0;
  width: 220px!important; height: 100px!important;
  padding-left: 20px;
  display: flex; justify-content: center; align-items: center;
  text-align: left;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0,0,0);
  -webkit-transform: translate3d(0,0,0);
}

.swiper-slide::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 5px; height: 50%;
  background-color: #F4E000; /* Set the color of the border */
}

.swiper-slide h2{
  font-size: 1.5rem; font-weight: 800;
  margin-bottom: 10px;
}

@media only screen and (max-width: 800px){
  .swiper-slide h2{
    font-size: 1.25rem;
  }
}

.swiper-slide p{
  font-size: 14px; font-weight: 400;
}

/* PROPERTIES SECTION */
section.properties{
  width: 80%; min-width: 850px; height: auto;
  display: grid; grid-template-columns: 10% repeat(10, [col-start] 1fr) 10%;
  row-gap: 40px; column-gap: 40px;
  padding: 80px 0px; margin: 8rem auto;
  position: relative; border-radius: 40px;
  overflow: hidden; text-align: center;
}

@media only screen and (max-width: 850px){
  section.properties{
    width: 100%; max-width: unset; min-width: unset;
  }
}

@media only screen and (max-width: 550px){
  section.properties{
    grid-template-columns: 10px repeat(10, [col-start] 1fr) 10px;
    column-gap: 0; row-gap: 10px;
    padding-bottom: 10px;
  }
}

@media only screen and (max-width: 500px){
  section.properties{
    margin: 5rem auto;
    padding-top: 3rem;
  }
}
  
/* Properties gradients */
.properties .properties-yellow-01,
.properties .properties-yellow-02{
  position: absolute; top: 0; right: 0; z-index: 0;
}

.properties .properties-yellow-03,
.properties .properties-yellow-04{
  position: absolute; bottom: 0; left: 0; z-index: 0;
}

@media only screen and (max-width: 550px){
  .properties .properties-yellow-03,
  .properties .properties-yellow-04{
    display: none;
  }
}

.properties h2{
  grid-column: col-start / span 10; z-index: 1; margin-bottom: 2rem;
}

.properties p{
  grid-column: col-start/ span 10; display: inline;
  font-weight: 400;
  z-index: 1;
}
@media only screen and (max-width: 550px){
  .properties p{
    padding-bottom: 2rem;
  }
}

/* property card global style */
.properties .property-card{
  height: 350px; width: 100%; max-width: 830px; min-width: 540px;
  z-index: 0;
  justify-self: center; /* center inside grid */
  display: flex; justify-content: flex-end; /* float overlay to the right */
  background-repeat: no-repeat; background-size: cover; background-position: left 0% bottom 25%;
  border-radius: 30px;
}
@media only screen and (max-width: 850px){
  .properties .property-card{
    width: 100%; height: 500px; max-width: unset; min-width: unset;
  }
}

.properties .properties-residential{
  grid-column: col-start/ span 10;
  background-image: url(/Assets/Images/home-driveway-desktop\ copy.jpg); 
}

.properties .properties-commercial{
  grid-column: col-start/ span 10;
  background-image: url(/Assets/Images/parking-lot-desktop\ copy.jpg);
}

.properties-overlay{
  width: 40%; min-width: 335px; height: 100%;
  z-index: 1;
  padding: 0 2rem;
  display: flex; flex-direction: column; justify-content: center;
  text-align: left;
  background-color: #ffffffbb; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top-right-radius: 30px; border-bottom-right-radius: 30px;
}
@media only screen and (max-width: 850px){
  .properties-overlay{
    display: none; min-width: 0;
  }
}

.properties-overlay p{
  font-weight: 400; font-size: .9rem;
}
.properties-overlay h3{
  font-weight: 800;
}
.properties-overlay > * {
  margin-bottom: 1rem;
}

.properties-overlay a{
    color: #000!important;
}

/* Properties mobile items */
.properties-mobile{
  width: 100%; height: 100%;
  z-index: 1;
  padding: 3rem;
  display: none; flex-direction: column; justify-content: flex-end;
  text-align: left;
}

@media only screen and (max-width: 850px){
  .properties-mobile{
    display: flex;
    min-width: 0;
  }
}

.properties-mobile p{
  font-weight: 400; font-size: .9rem; color: #FFFFFF; text-shadow: 1px 1px 2px #000000;
}

.properties-mobile h3{
  font-weight: 800; color: #FFFFFF; text-shadow: 1px 1px 2px #000000;
}

.properties-mobile > * {
  margin-bottom: 1rem;
}

.properties-mobile a button{
    color: #000000;
}

section.video {
  width: 80%; min-width: 850px;
  padding: 0 10px 0 10px;
  margin: 8rem auto;
  display: flex;
  flex-direction: column;
}
.header-panel {
  width: 60%;
  padding: 0 0 2rem 2rem;
}
.video .header-panel > * {
  margin-bottom: 3rem;
}
.video-container {
  flex-shrink: 0;
  width: 100%; 
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-right: 4rem;
  border-radius: 20px;
  position: relative;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
}

@media only screen and (max-width: 930px) {
  .header-panel {
    width: 80%;
  }
}

@media only screen and (max-width: 850px){
  section.video {
    width: 100%; max-width: unset; min-width: unset;
  }
  .video .header-panel > * {
    margin-bottom: 2rem;
  }
}

@media only screen and (max-width: 600px) {
  .header-panel {
    width: 90%;
    padding: 0 0 2rem 2rem;
  }
}

@media only screen and (max-width: 500px){
  .header-panel {
    width: 100%;
    padding: 0 1rem 0 1rem;
  }
  section.video p {
    font-size: .9rem;
  }
}

section.solutions {
  width: 60%; min-width: 550px; height: auto;
  margin: 8rem auto;
  display: grid; grid-template-columns: repeat(12, [col-start] minmax(0, 1fr)); row-gap: 2.5rem; column-gap: 2.5rem;
  text-align: center;
}
@media only screen and (max-width: 1085px){
  section.solutions{
    width: 75%;
  }
}
@media only screen and (max-width: 600px){
  section.solutions{
    column-gap: 1.5rem; min-width: 0;
  }
}
@media only screen and (max-width: 450px){
  section.solutions{
    font-size: 1.5rem;
  }
}
@media only screen and (max-width: 400px){
  section.solutions{
    column-gap: 1rem;
  }
}

.solutions h2{
  grid-column: col-start/ span 12;
}

/* Global solution item class */
.solutions .solution-item{
  justify-self: center; align-self: center;
  width: 60px;
  margin: 100px 100px 0 100px;
}
@media only screen and (max-width: 1155px){
  .solutions .solution-item{
    margin: 50px;
  }
}
@media only screen and (max-width: 800px){
  .solutions .solution-item{
    margin: 0;
  }
}
@media only screen and (max-width: 600px){
  .solutions .solution-item{
    width: 2.5rem;
  }
}
@media only screen and (max-width: 400px){
  .solutions .solution-item{
    width: 30px;
  }
}

/* solutions icons */
.solutions .sol-i-01{
  grid-column: col-start 3/ span 2;
}
.solutions .sol-i-02{
  grid-column: col-start 5/ span 2;
}
.solutions .sol-i-03{
  grid-column: col-start 7/ span 2;
}
.solutions .sol-i-04{
  grid-column: col-start 9/ span 2;
}

section.services{
  max-width: 1200px; min-width: 920px;
  margin: 8rem auto; padding: 80px 0px;
  display: grid; grid-template-columns: 10% repeat(4, [col-start] 1fr) minmax(0, 1fr) repeat(4, [col-start] 1fr) 10%; column-gap: 2.5rem; row-gap: 5rem;
  border-radius: 40px;
  overflow: hidden; /* set to hidden for gradients */
  position: relative;
}
@media only screen and (max-width: 1085px){
  section.services{
    width: 80%; max-width: unset; min-width: 680px;
    row-gap: 3rem;
  }
}
@media only screen and (max-width: 680px){
  section.services{
    min-width: 0;
    width: 100%;
  }
}
@media only screen and (max-width: 500px){
  section.services{
    padding: 3rem 0;
    margin: 5rem auto;
  }
}
@media only screen and (max-width: 450px){
  section.services{
    column-gap: 0;
  }
}

/* Gradients */
.services .services-gradi-01{
  position: absolute; right: 0; top: 0;
  height: 100%;
}
@media only screen and (max-width: 1085px){
  .services .services-gradi-01{
    display: none;
  }
}

.services .services-gradi-02{
  position: absolute; right: 0; top: 0;
  height: 100%;
  display: none;
}
@media only screen and (max-width: 1085px){
  .services .services-gradi-02{
    width: 80%;
    max-width: unset; min-width: unset;
    display: block;
  }
}

/* service head */
.services h2{
  grid-column: col-start 1/span 10;
  margin-bottom: 2rem;
  z-index: 1;
}
@media only screen and (max-width: 1085px){
  .services h2{
    margin-bottom: 0;
  }
}

/* styling cont-service */
.cont-service{
  display: flex; flex-direction: column;
  min-width: 355px;
  z-index: 1;
}
@media only screen and (max-width: 1085px){
  .cont-service{
    max-width: 450px;
  }
}
@media only screen and (max-width: 650px){
  .cont-service{
    max-width: 300px;
  }
}
@media only screen and (max-width: 550px){
  .cont-service{
    min-width: 0;
  }
}
@media only screen and (max-width: 400px){
  .cont-service{
    max-width: 250px;
  }
}

.cont-service img{
  width: 31px; z-index: 1;
}

.cont-service h3{
  font-weight: 800; z-index: 1;
}

/* adds a margin to all child elements */
.cont-service > *{
  margin: .5rem 0; z-index: 1;
}

.services .sealcoating-01{
  grid-column: col-start/span 4;
}
.services .paving-02{
  grid-column: col-start 5/span 4;
}
.services .striping-03{
  grid-column: col-start/span 4;
}
.services .pothole-04{
  grid-column: col-start 5/span 4;
}
.services .milling-05{
  grid-column: col-start/span 4;
}
.services .resurfacing-06{
  grid-column: col-start 5/span 4;
}

@media only screen and (max-width: 1085px){
  .services .sealcoating-01,
  .services .paving-02,
  .services .striping-03,
  .services .pothole-04,
  .services .milling-05,
  .services .resurfacing-06{
    grid-column: col-start/span 10;
  }
}

section.about{
  position: relative;
  width: 100%;
  margin: 8rem auto;
  display: grid; grid-template-columns: 20% repeat(4, [col-start] 1fr) repeat(2, minmax(0, 1fr)) repeat(4, [col-start] 1fr) 20%; row-gap: 2.5rem;
}
@media only screen and (max-width: 1155px){
  section.about{
    grid-template-columns: 10% repeat(4, [col-start] 1fr) repeat(2, minmax(0, 1fr)) repeat(4, [col-start] 1fr) 10%;
  }
}
/* padding equal to 70% */
@media only screen and (max-width: 750px){
  section.about{
    grid-template-columns: 15% repeat(4, [col-start] 1fr) repeat(2, minmax(0, 1fr)) repeat(4, [col-start] 1fr) 15%;
  }
}
@media only screen and (max-width: 500px){
  section.about{
    padding: 3rem 0;
    margin: 5rem auto;
  }
}
@media only screen and (max-width: 450px){
  section.about{
    grid-template-columns: 10% repeat(4, [col-start] 1fr) repeat(2, minmax(0, 1fr)) repeat(4, [col-start] 1fr) 10%;
  }
}

.about img.bg-img{
  position: absolute; top: 0; right: 0;
  min-height: 770px; min-width: 1383px; width: 100%;
  z-index: -1;
}
@media only screen and (max-width: 750px){
  .about img.bg-img{
    top: 20%;
  }
}

.about h2{
  grid-column: col-start/ span 10;
  margin-bottom: 3rem;
}

.about p{
  font-weight: 400;
  margin-top: 2.5rem;
}
@media only screen and (max-width: 750px){
  .about p{
    margin-top: 1rem;
  }
}

.about h3,
.about h4,
.about p{
  line-height: 2.2rem;
  margin-bottom: 2rem;
}
@media only screen and (max-width: 750px){
  .about h3,
  .about h4,
  .about p{
    margin-bottom: 1rem;
  }
}

.about .about-section{
  min-width: 240px;
}
.ab-sec-head{
  display: flex; flex-direction: row; align-items: baseline;
}

.ab-sec-head h3{
  font-size: 4.5rem;
}
@media only screen and (max-width: 800px){
  .ab-sec-head h3{
    font-size: 3rem;
  }
}

.ab-sec-head h4{
  margin-left: 1rem;
  font-weight: 800;
}

.about .about-01{
  grid-column: col-start/span 4; grid-row: 2/ span 1;
}
.about .about-02{
  grid-column: col-start 5/span 4; grid-row: 2/ span 1;
}
.about .about-03{
  grid-column: col-start/span 4; grid-row: 3/ span 1;
}
.about .about-04{
  grid-column: col-start 5/span 4; grid-row: 3/ span 1;
}
@media only screen and (max-width: 750px){
  .about .about-01{
    grid-column: col-start/span 10; grid-row: 2/ span 1;
  }
  .about .about-02{
    grid-column: col-start/span 10; grid-row: 3/ span 1;
  }
  .about .about-03{
    grid-column: col-start/span 10; grid-row: 4/ span 1;
  }
  .about .about-04{
    grid-column: col-start/span 10; grid-row: 5/ span 1;
  }
}

section.contact{
  width: 838px;
  margin: 8rem auto;
  border-radius: 40px;
  display: grid; grid-template-columns: 380px minmax(0, 3rem) 410px; row-gap: 40px;
  /* prevent nav from blocking section h1 */
}
@media only screen and (max-width: 950px){
  section.contact{
    grid-template-columns: 380px minmax(0, 3rem) 250px;
    width: 646px;
  }
}
@media only screen and (max-width: 750px){
  section.contact{
    width: 70%;
    grid-template-columns: 1fr minmax(0, 3rem) 0;
  }
}
@media only screen and (max-width: 500px){
  section.contact{
    margin: 5rem auto;
  }
}
@media only screen and (max-width: 450px){
  section.contact{
    width: 80%;
  }
}

.contact h2{
  grid-column: 1/ span 3; grid-row: 1/ span 1;
  margin-bottom: 2rem;
}
@media only screen and (max-width: 500px){
    .contact h2{
      margin-bottom: 0;
    }
}

.contact p{
  grid-column: 1/ 2; grid-row: 2/ span 1;
}
@media only screen and (max-width: 750px){
  .contact p{
    grid-column: 1/ span 3; grid-row: 2/ span 1;
  }
}

.contact .contact-info{
  grid-column:  1/ 2; grid-row: 3/ span 1;
  display: flex; flex-direction: column;
}
@media only screen and (max-width: 750px){
  .contact .contact-info{
    grid-column: 1/ span 3;
    grid-row: 3/ span 1;
  }
}

.contact-info > *{
  margin-bottom: 2.5rem;
}
@media only screen and (max-width: 750px){
  .contact-info > *{
    margin-bottom: 1rem;
  }
}

.contact-info .contact-item{
  display: flex; flex-direction: row; align-items: center; color: #000000;
}

.contact-item p{
  font-size: 1rem;
}
@media only screen and (max-width: 500px){
  .contact-item p{
    font-size: .9rem;
  }
}

.contact-item img{
  width: 2.5rem; height: 2.5rem;
  margin-right: 2rem;
}
@media only screen and (max-width: 750px){
  .contact-item img{
    width: 2rem; height: 2rem;
  }
}
@media only screen and (max-width: 500px){
  .contact-item img{
    width: 1.5rem; height: 1.5rem;
  }
}
@media only screen and (max-width: 400px){
  .contact-item img{
    margin-right: 1rem;
  }
}
  
.contact form{
  grid-column: 3/ 4; grid-row: 1/ span 5;
  display: grid; grid-template-columns: repeat(4, [col-start] 1fr); row-gap: .9rem;
}
@media only screen and (max-width: 750px){
  .contact form{
    grid-column: 1/ span 3;
    grid-row: 4/ span 1;
  }
}

/* global form input style */
form .user-input{
  height: 48px;
  padding: 1rem;
  border-radius: 8px; border: 1px solid #D3D3D3;
  font-weight: 400;
}

/* placing name label/input inside grid */
form .l-name{
  grid-column: col-start/ span 5;
  grid-row: 1/ 2;
}
.contact form #name{
  grid-column: col-start/ span 5; grid-row: 2/ 3;
  width: 250px;
}

/* placing email label/input inside grid */
form .l-email{
  grid-column: col-start/ span 5; grid-row: 3/ 4;
}
.contact form #email{
  grid-column: col-start/ span 5; grid-row: 4/ 5;
  width: 250px;
}

/* placing phone label/input inside grid */
form .l-phone{
  grid-column: col-start/ span 5; grid-row: 5/ 6;
}
.contact form #phone{
  grid-column: col-start/ span 5; grid-row: 6/ 7;
  width: 250px;
}

/* placing address label/input inside grid */
form .l-address{
  grid-column: col-start/ span 5; grid-row: 7/ 8;
}
.contact form #address{
  grid-column: col-start/ span 5; grid-row: 8 /9;
  width: 250px;
}

/* placing message label/input inside grid */
form .l-message{
  grid-column: col-start/ span 5; grid-row: 9/ 10;
}
.contact form textarea{
  grid-column: col-start/ span 5; grid-row: 10/ 11;
  width: 400px;
  resize: none;
}
.contact form button{
  grid-column: col-start/ span 5; grid-row: 11/12;
  margin-top: .9rem;
}
@media only screen and (max-width: 950px){
  .contact form textarea,
  .contact form button{
    width: 250px;
  }
}
@media only screen and (max-width: 750px){
  .contact form textarea,
  .contact form button{
    width: 400px;
  }
}
@media only screen and (max-width: 700px){
  .contact form textarea,
  .contact form button{
    width: 100%; max-width: 400px;
  }
}

.line-seperator{
  width: 90%; height: 1px; margin: 0 auto; background-color: #D3D3D3;
}

/* GALLERY */
section.gallery{
  width: 100%;
  overflow: hidden;
  margin: 8rem auto; padding: 0 10px;
}
@media only screen and (max-width: 500px){
  section.gallery{
    margin: 5rem auto;
  }
}

.gallery h2{
  margin-bottom: 5rem;
  text-align: center;
}

.swiper-gallery {
  width: 100%;
  position: relative; /* for nav and paginiation */
}

.swiper-gallery-wrapper {
  -webkit-transition-timing-function:linear!important;
  -o-transition-timing-function:linear!important;
  transition-timing-function:linear!important;
  display: flex; align-items: center;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  padding-bottom: 3rem; 
}
.swiper-gallery-slide {
  display: flex; justify-content: center; align-items: center; flex-shrink: 0;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0,0,0);
}
.swiper-gallery-slide img{
  max-width: 700px; max-height: 500px;
  border-radius: 30px;
}
@media only screen and (max-width: 700px){
  .swiper-gallery-slide img{
    max-width: 100%; max-height: unset;
  }
}

.swiper-pagination{
  color: #F4E000!important;
}
.swiper-pagination-bullet-active{
  background: #f4b300!important;
}

.gallery-button-cont{
  width: 100%; height: 100px; display: flex; justify-content: center; align-items: center;
}

.gallery-buttons {
  position: absolute; width: 150px; height: 48px;
}

.swiper-button-prev,
.swiper-button-next {
  border: 2px solid #000000; border-radius: 1.5rem;
  color: #000000!important;
  height: 48px!important; width: 48px!important;
  padding: 8px;
}

/* IMAGE LIGHTBOX EFFECT FOR GALLERY ITEMS */
.lightbox{
  width: 100vw; height: 100vh;
  padding: 0 10px;
  position: fixed; bottom: 0; left: 0;
  display: none; justify-content: center; align-items: center;
  background-color: #000000;
  z-index: 2000;
}

.lightbox-img {
  max-width: 700px; max-height: 500px;
  object-fit: contain;
}
@media only screen and (max-width: 700px){
  .lightbox-img {
    max-width: 100%;
    max-height: unset;
  }
}

.lightbox .close {
  position: absolute; top: 20px; right: 30px;
  width: 20px; height: 20px;
  cursor: pointer;
}

footer{
  width: 100%;
  display: grid; grid-template-columns: 10% repeat(10, [col-start] 1fr) 10%; row-gap: 1rem;
  padding: 2.5rem;
  background-color: #000000;
}
@media only screen and (max-width: 450px){
  footer{
    padding: 2.5rem 0;
  }
}

footer h3,
footer h4,
footer th{
  color: #FFFFFF;
}

footer p,
footer table td,
footer ol li{
  color: #ACACAC; font-size: .8rem;
}

footer .footer-head{
  grid-column: col-start/ span 10; grid-row: 1;
  width: 100%; height: 100px;
  background-color: #212121;
  border-radius: 15px;
  padding: 1rem;
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
}
@media only screen and (max-width: 600px){
  footer .footer-head{
    grid-row: 5;
    justify-content: flex-start;
  }
}

.footer-head h3{
  font-size: 2rem; font-weight: 600;
}
@media only screen and (max-width: 850px){
  .footer-head h3{
    font-size: 1.25rem;
  }
}
@media only screen and (max-width: 700px){
  .footer-head h3{
    font-size: 1rem;
  }
}
@media only screen and (max-width: 400px){
  .footer-head h3{
    font-size: 0.8rem;
  }
}

/* smaller button for small images */
.footer-head .bt-five{
  margin-left: 1rem;
  height: 1.5rem; width: 1.5rem; 
  background-color: #F4E000;
  border-radius: 1.25rem;
  display: none; justify-content: center; align-items: center;
} 
@media only screen and (max-width: 600px){
  .footer-head .bt-five{
    display: flex;
  }
}

.bt-five img{
  height: .7rem;
}

.footer-head .bt-five:active{
  background-color: #f4b300;
}

.footer-head button{
  margin-left: 1rem;
}
@media only screen and (max-width: 600px){
  .footer-head button{
    display: none;
  }
}

footer .footer-line-01{
  grid-column: col-start / span 10; grid-row: 2;
  width: 100%;
  margin: 1rem 0; border-bottom: 1px solid #424242;
}
@media only screen and (max-width: 600px){
  footer .footer-line-01{
    grid-row: 4;
  }
}

footer img.footer-logo{
  height: 4rem;
  grid-column: col-start / span 10; grid-row: 3;
  margin: 1rem 0;
}
@media only screen and (max-width: 600px){
  footer img.footer-logo{
    grid-row: 1;
  }
}
@media only screen and (max-width: 350px){
  footer img.footer-logo{
    height: 3rem;
  }
}

/* Footer body grid-item and grid */
footer .footer-body-cont{
  grid-column: col-start / span 10; grid-row: 4;
  display: grid; grid-template-columns: 240px minmax(0, 1fr) 235px minmax(0, 1fr) 146px minmax(0, 1fr) 86px;
}
@media only screen and (max-width: 1050px){
  footer .footer-body-cont{
    grid-template-columns: 240px minmax(0, 293px) 240px; justify-self: center; row-gap: 2rem;
  }
}
@media only screen and (max-width: 700px){
  footer .footer-body-cont{
    grid-template-columns: 240px minmax(0, 2rem) 150px; justify-self: start;
  }
}
@media only screen and (max-width: 600px){
  footer .footer-body-cont{
    grid-row: 2; grid-template-columns: 240px minmax(0, 293px) 90px;
  }
}
@media only screen and (max-width: 525px){
  footer .footer-body-cont{
    grid-row: 2; grid-template-columns: 240px minmax(0, 293px) minmax(0, 90px);
  }
}

/* contact link container */
.footer-body-cont .contact-links{
  grid-column: 1/ span 1;
  width: 240px; min-width: 240px;
}

.contact-links p{
  font-weight: 300; line-height: 1.5rem; color: #acacac;
}

.contact-links h4{
  margin-top: 2.5rem; margin-bottom: 1.3rem;
}

.contact-links ol{
  list-style: none; font-weight: 300;
}

.contact-links ol li{
  margin-bottom: .5rem;
}

/* office ours table */
footer table.t-hours{
  grid-column: 3/span 1; min-width: 235px; height: 230px;
  text-align: left; font-weight: 300;
}
@media only screen and (max-width: 1050px){
  footer table.t-hours{
    grid-column: 1/ span 1; grid-row: 2/ span 1;
  }
}

/* service location table */
footer table.t-areas{
  grid-column: 5/ span 1;
  height: 284px; min-width: 146px;
  text-align: left; font-weight: 300;
}
@media only screen and (max-width: 1050px){
  footer table.t-areas{
    grid-column: 3/ span 1; grid-row: 2/ span 1;
  }
}
@media only screen and (max-width: 600px){
  footer table.t-areas{
    grid-column: 1/ span 1; grid-row: 3/ span 1;
  }
}

.t-hours .day{
  width: 124px;
}

th{
  font-size: 1rem; height: 2.5rem; vertical-align: top; 
}

/* footer nav */
.quick-links{
  grid-column: 7/span 1; min-width: 86px;
}
@media only screen and (max-width: 1050px){
  .quick-links{
    grid-column: 3/ span 1; grid-row: 1/ span 1;
  }
}
@media only screen and (max-width: 525px){
  .quick-links{
    grid-column: 1/ span 1; grid-row: 4/ span 1; margin-top: 1rem;
  }
}

.quick-links h4{
  margin-top: .4rem; margin-bottom: 1.3rem;
}

.quick-links ol{
  list-style: none;
}

.quick-links ol li{
  margin-bottom: .5rem;
}

.quick-links ol li:hover{
  text-decoration: underline;
}

.quick-links ol li .list-triangle{
  width: .7rem; display: inline; vertical-align: middle;
}

footer .copyright{
  grid-column: col-start / span 10; grid-row: 6;
  justify-self: center;
  font-size: .8rem; font-weight: 300; text-align: center; margin-top: 3rem;
}

/* LIGHTBOX */
/* Prevent scroll on both html and body for iOS Safari */
.no-scroll, .no-scroll html {
  overflow: hidden;
  height: 100%;
}

/* Also stop touch scroll momentum on iOS */
.no-scroll {
  position: fixed;
  width: 100%;
}
