/* Homepage-Desktop-Layoutt*/

:root {
     --primary-color: #148b8b;
}

*,
html,
body {
     margin: 0;
     padding: 0;
     font-size: 10px;
     list-style: none;
     text-decoration: none;
     box-sizing: border-box;
}


body {

     background-color: #f7f7f7;
     font-family: 'Source sans pro', sans-serif;
     font-weight: 100;
     font-size: 100%;
     width: 100%;
     height: 100%;
     margin-bottom: 5em;
     -ms-text-size-adjust: 100%;
     -webkit-text-size-adjust: 100%;
     -webkit-font-smoothing: antialiased;
     -moz-osx-font-smoothing: grayscale;
     text-rendering: optimizeLegibility;
}

#container {
     min-height: 100vh;
     position: relative;
}

#content-wrap {
     padding: bottom 1em;
}

p {
     color: black;

}

.logo-container {
     height: 20em;
     width: 100%;
     display: flex;
     justify-content: center;
     align-items: center;
}

.logo img {
     height: 20em;
     width: auto;

}

.icon img {
     height: 30px;
     width: auto;
     display: none;
}

.icon {
     display: none;
}

.drop-nav {
     margin: 0;
     padding: 0;
     list-style-type: none;
     background: black;
     position: relative;

}


/*drop down sub menu*/
.drop-down {
     display: none;
}

.drop-down li {
     background: #000000;
}

/*ul li:hover ul {
     display: flex;
     flex-flow: column;
     position: absolute;
     z-index:4;
}
*/
.nav-list {
     margin: 0 auto;
     display: flex;
     justify-content: space-evenly;
}

.nav-list li {
     display: inline-block;
     width: 15rem;
}


ul li a {
     display: block;
     color: white;
     font-size: 2rem;
     padding: 1rem;
     text-align: center;
}

ul li a:hover {
     background: lightskyblue;
}

ul li :hover {
     color: #f9f9f9;
}





ul li i {
     color: white;
     float: right;
     font-size: 2rem;
}

#wrapper {
     z-index: -1;
     widows: 100vw;
     height: 680px;
     overflow: hidden;
     margin: 0 auto;
     position: relative;

}

#gallery {
     width: 100%;
     height: 800px;
     overflow: hidden;
     margin: 0 auto;

}

.hero-galry {
     width: 100%;
     height: auto;
}



/*heading text*/
.heading-text {
     margin-top: 5em;
}

#__family {
     text-align: center;
     font-size: 2.5rem;
     font-style: italic;
}

.efficiency-container {
     margin-top: 5rem;
     display: flex;
     align-items: center;
     justify-content: center;
     height: 10rem;
     width: 100%;
     background-color: black;
}



.efc {

     color: white;
     font-size: 4rem;
     font-style: italic;
     letter-spacing: .2rem;
     text-align: center;
     padding-bottom: .5rem;
     border-bottom: solid rgb(65, 188, 230);
}


.__proud-text {
     display: block;
     font-style: italic;
     text-align: center;
     font-size: 2.5rem;
     margin-top: 5rem;
     letter-spacing: .2rem;
     margin-bottom: 2rem;
     text-decoration: underline rgb(65, 188, 230);
}



.__proud-text-under {
     margin-top: 4rem;
     margin-bottom: 4rem;
     font-size: 2rem;
     text-align: center;

}

.__proud-text-under:after {
     display: blocl;
     border-top: 2px solid rgb(65, 188, 230);
     width: 20rem;
}

.btn-container-see {
     width: 100%;
     height: 6rem;
     display: flex;
     justify-content: center;
     align-items: center;
}

.number {
     text-align: center;
     font-size: 2rem;

}




.container {
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;

}




.test {

     text-transform: uppercase;
     font-style: italic;
     letter-spacing: 1rem;
     margin-top: 5rem;
     margin-bottom: 5rem;
     display: block;
     font-size: 4rem;
     text-align: center;


}


/* Testimonial Carousel */




.lSPager,
.lSpg {
     margin-top: 6em !important;
}

.spacer {
     height: 15em;
     margin-bottom: 2em;
}

/* Simple Slider */


/*footer*/

.footer-tm {
     position: fixed;
     bottom: 0;
     display: flex;
     justify-content: center;
     align-items: center;
     width: 100%;
     height: 5em;
     background-color: black;
     z-index: 50;

}

.footer-text {
     font-size: 1.5rem;
     color: #f7f7f7;
}

/*services*/
.service-container {
     height: 90%;
     display: grid;
     grid-gap: 2.5em;
     grid-template-columns: 40% 50%;
     grid-template-rows: repeat(3, 30%);

}

.side-img {
     padding-left: 5em;
     padding-bottom: 5em;
     width: 90%;
     height: auto;


}

.service-img-one {
     grid-column: 1;
     grid-row: 1;
}

.service-img-two {
     grid-column: 1;
     grid-row: 2;
}

.service-img-three {
     grid-column: 1;
     grid-row: 3;
}


.service-txt-container {
     grid-column: 2;
     display: flex;
     flex-flow: column;
     justify-content: space-evenly;
}

.text-wrapper-service {
     grid-column: 2;
}

.text-service-one {
     grid-row: 1;
     grid-column: 2;
}

.text-service-two {
     grid-row-start: 2;
     grid-column: 2;
}

.text-service-three {
     grid-row-start: 3;
     grid-column: 2;
}

.see-more-serv {
     margin-top: 5em;
     grid-column: 2;
     list-style: none;
     text-decoration: none;

}

.see-more-servi-links {
     font-size: 2rem;
     text-decoration: none;
     color: black;
}

.sub-heading {
     font-size: 4rem;
     text-align: left;
     margin-top: 1.5;
     margin-bottom: 0.5;
}


.service-para {
     margin-top: 1em;
     font-size: 2rem;
     width: 90%;


}

/*images for services pages*/
.test-slider {
     width: 80%;
     height: 800px;
     display: flex;
     flex-flow: row;
     align-items: center;
     justify-content: center;

}


/*facebook page button at the top of service gallery*/
.more-info {
     background-color: #000000;
     margin: 0 auto;
     margin-top: 8em;
     margin-bottom: 3em;
     width: 70%;
     height: 5em;
     display: flex;
     align-items: center;
     justify-content: center;
}

.fb-info {
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 2rem;
     color: white;
}

.fb-info-text {
     font-size: 2rem;
     color: white;
}

.fb-info:hover {
     color: skyblue;
     cursor: pointer;

}

.fb-logo {
     align-self: flex-end !important;
}

.carp-slides {
     width: 80%;
     height: auto;
}

.image-gallery {
     margin-bottom: 15em;
}

.portrait-slides {
     width: 40% !important;
}

.test-slides,
.img-slides {
     display: flex;
     margin: 0 auto;
     justify-content: center;
     align-items: center;
     width: 80%;
     padding: 1em;
}





/*carpentry services content*/
.grid-imgs {
     margin-top: 10%;
     width: 95%;
     height: auto;

}

/*About page styles*/
.about-container {
width:100%;
height: 100%;
display:flex;
flex-flow:column;
align-items:center;

}

.stry-heading {
     margin-bottom: 1em;
     font-size: 4rem;
     border-bottom: lightskyblue 1px solid;


}


.about-imgs-container {
     display: flex;
     justify-content: flex-start;
     width:100%;

}

.about--img {
     width: 50%;
     height: auto;
}

.about-text {
     margin-bottom: 5em;
     font-size: 2rem;
     width: 80%;
     grid-column: 2;
     display: flex;
     flex-flow: column;
     justify-content: space-around;

}

.background-logo{
     width:80%;
     position: absolute;
}





/*contact-styles*/
.contact-container {
     margin: 0 auto;
     display: flex;
     flex-direction: column;
     justify-content: center;

     width: 90%;
}

.contact-heading {
     margin: 2em;
     font-size: 5rem;
     text-align: center;
}

.contact-heading-sub {
     text-align: center;
     font-size: 2rem;
     width: 60%;
     margin: 0 auto;


}


.contact-links-text {
     font-size: 2rem;
     width: 100%;
     margin: 0 auto;
     margin-top: 2em;
     text-align: center;

}

.contact-btn-container {
     width: 80%;
     margin: 0 auto;
     padding-top: 10em;
     padding-bottom: 10em;
     display: flex;
     flex-flow: row;
     justify-content: space-evenly;

}

.contact-links-btn {

     border-radius: 50px;
     display: flex;
     justify-content: center;
     align-items: center;
     width: 35em;
     height: 8em;
     background-color: black;

}

.contact-links {
     color: white;
     font-size: 3rem;
     text-transform: uppercase;
     text-decoration: none;
}

.contact-links:hover {
     color: lightskyblue;
}


.cntc-logo {
     font-size: 4rem;
     margin-left: 3rem;
     align-self: flex-end;
}

/*our-partners*/
.partner-text-container {
     width: 80%;
     margin: 0 auto;
     display: flex;
     flex-direction: column;
     align-content: space-between;


}

#partner-txt-body {
     margin: 0 auto;
     font-size: 2rem;
     width: 80%;
     text-align: center;
}


.image-container {
     padding-top: 10em;
     width: 50%;
     margin: 0 auto;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: space-around;
}

.prtnr-links {
     display: flex;
     flex-direction: row;
     justify-content: center;
     align-items: center;
}

.prtnr-img {
     width: 30%;
     left: 20em;
     padding-bottom: 5em;
}

.prtnr-img:hover {
     cursor: pointer;
}

/**
  MEDIA QUERIES
*/


/* Small devices (phones, 768px and up) */

/*tablets*/
@media (max-width: 1000px) {

     /*mobile navigation menu*/
     .icon {
          font-size: 24px;
          background: #000000;
          height: 4em;
          cursor: pointer;
          display: flex;
          justify-content: flex-end;
          align-items: center;
          padding-right: .4em;
     }

     .fa-bars,
     .fa-times {
          color: white !important;
          font-size: 5rem;
          margin-right: 1rem;
     }

     .drop-nav {
          display: none;
          position: static;
          background: black;
          height: 50em;
     }

     .drop-down {
          margin-top: 2em;
          align-items: center;
          display: flex;
          flex-direction: column;
     }

     ul li:hover ul {
          position: inherit;

     }

     .nav-list {
          display: flex;
          flex-direction: column;
          z-index: 15;

     }


     .nav-list li {
          margin: 1.5em;
     }

     nav {
          position: absolute;
          z-index: 90;
          display: flex;
          flex-direction: row;
          align-items: flex-start;
          background-color: black;
          height: 24em;
          width: 100%;

     }

     ul ul {
          position: static;
     }

     nav ul li ul>nav ul li ul:hover {
          visibility: visible;
          display: flex !important;

          background-color: black;

     }

     nav ul li ul li {
          background-color: transparent;
          width: 10rem;
     }

     li {
          margin: .2em;
          color: white;
     }

     nav li a {
          font-size: 2rem;
          padding: 0;
          color: white;
     }

     #wrapper {
          height: 600px;
     }

     #gallery {
          max-height: 600px;
     }

     #__family {
          font-size: 2rem;
     }

     .efc {
          font-size: 2.5rem;
     }

     .__proud-text-under {
          width: 80%;
          margin: 0 auto;
          padding-top: 2em;
     }


     .test-slides {
          width: 90%;
          padding: 0;
     }

     /*services*/

     .service-container {
          grid-gap: 2em;
          grid-template-columns: 100%;
          grid-template-rows: repeat(3, 1fr 18%);
     }


     .service-img-one {
          grid-row: 1;
     }

     .service-img-two {
          grid-row: 3;
     }

     .service-img-three {
          grid-row: 5;
     }

     .text-service-one {
          grid-row: 2;
          grid-column: 1;
          margin-left: 5%;
     }

     .text-service-two {
          margin-left: 5%;
          grid-row: 4;
          grid-column: 1;
     }

     .text-service-three {
          margin-left: 5%;
          margin-bottom: 4em;
          grid-row: 6;
          grid-column: 1;

     }



     .side-img {
          margin: 0 auto;
          padding: 0;
     }

     .sub-heading {
          font-size: 3rem;
     }

     .service-para {
          font-size: 1.5rem;
          margin-top: .5em;
     }

     .see-more-serv {
          margin-top: 2em;
          margin-bottom: 2em;
     }

     .see-more-servi-links {
          font-size: 2rem;
     }

     /*contact page*/
     .contact-heading {
          margin: 1.5em;
     }

     .contact-btn-container {
          padding-top: 2em;
          margin-bottom: 25em;
          flex-direction: column;
          align-items: center;
          justify-items: space-evenly;
     }

     .contact-links-btn {
          margin-top: 4em;
     }

     /*services gallery img slides*/

     .img-slides {
          width: 90%;
          margin-bottom: 2em;

     }

     .portrait-slides {
          width: 80%;
     }

     .more-info {
          width: 65em;
     }



     .fb-info-text {
          font-size: 1.2rem;
     }


     /*about*/
     .about-container {
          padding-top: 2em;
          grid-template-columns: 100%;
          display: flex;
          flex-flow: column;
          align-content: center;
     }

     .about-imgs-container {
          display: flex;
          align-items: center;
          justify-content: center;
     }

     .about--img {
          width: 55%;
          margin-bottom: 2em;
     }

     .about-text-container {
          display: flex;
          flex-flow: column;
          align-items: center;
          justify-content: center;
     }

     .about-text,
     .stry-heading {
          text-align: center;
     }

     /*our partners page*/
     .image-container {
          width: 90%;
          padding-top: 5em;
     }

     .prtnr-img {
          width: 40%;
     }

     /*phone screen media query*/
     @media (max-width:650px) {


          .icon {
               height: 3em;
          }

          .fa-bars {
               font-size: 3rem;
          }

          nav {
               height: 40em;
          }

          nav ul {

               flex-direction: column;
               text-align: center !important;
               align-items: center;
          }


          nav ul li {
               width: 100%;
               font-size: .5rem;
               padding: 2em 0;

          }

          nav ul li ul {
               position: relative;
               display: flex !important;
               text-align: center;
               flex-direction: column !important;
          }

          #wrapper {
               max-height: 300px;
          }

          #menu-toggle:checked~ul {
               opacity: 1;
               height: 100vh;
               visibility: visible;
          }

          .menu-toggle {
               cursor: pointer;
               display: block;
               float: right;
               height: 30px;
               margin-top: 1em;
               width: 35px;
          }

          #gallery {
               max-height: 300px;
          }

          .efc {
               font-size: 1.1rem;
          }

          .test {
               letter-spacing: 5px;
               font-size: 2rem;
          }

          .wrapper {
               display: block;
          }

          .footer-text {
               font-size: .8rem;
          }

          .__proud-text,
          .__proud-text-under {
               font-size: 1.2rem;
          }


          .contact-heading {
               margin: 1em;
               font-size: 4rem;
          }


          /*about page*/
          .about--img {
               width: 90%;
               margin-bottom: 1em;
          }

          .about-text {
               font-size: 1.8rem;
               margin-bottom: 2em;
          }

          .stry-heading {
               font-size: 3rem;
          }


          /*services*/
          .more-info {
               width: 100%;
          }

          .fb-info {
               font-size: .8rem;
          }

          /*contact*/
          .contact-btn-container {
               margin-bottom: 10em;
          }

          .contact-links-btn {
               width: 25em;
               height: 5em;
          }

          .contact-links {
               font-size: 2rem;
          }

          .cntc-logo {
               font-size: 3rem;
          }

          /*our partners*/
          .image-container {
               width: 90%;
               margin-top: 1em;
          }
     }


}