@import url("https://fonts.googleapis.com/css?family=Montserrat");
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 900;
  src: url("../fonts/montserrat-v12-latin-900.eot"); /* IE9 Compat Modes */
  src: local("Montserrat Black"), local("Montserrat-Black"),
    url("../fonts/montserrat-v12-latin-900.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/montserrat-v12-latin-900.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/montserrat-v12-latin-900.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/montserrat-v12-latin-900.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/montserrat-v12-latin-900.svg#Montserrat") format("svg"); /* Legacy iOS */
}

/**********Global********/
* {
  box-sizing: border-box;
}
*:before,
*:after {
  box-sizing: inherit;
}
body,
html,
h4,
h3,
p,
ul,
li {
  margin: 0;
  padding: 0;
}
body,
html {
  height: 100%;
  line-height: 1.8;
}
.main {
  width: 100%;
  min-height: 100vh;
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  font-family: "montserrat", sans-serif;
  font-size: 100%;
}
ol,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 0;
  margin: 0;
}
h3 {
  font-size: 1.8em;
}
.centerContent {
  display: flex;
  flex-direction: row;
  width: 1800px;
}
.centerSection {
  display: flex;
  flex-direction: row;
  width: 976px;
}

.header {
  position: fixed;
  width: 100%;
  z-index: 1;
}

.headTop,
.navContainer {
  display: flex;
  justify-content: center;
}
.navContainer > .centerContent {
  display: flex;
  flex-direction: column;
}

.fa {
  margin-right: 0.3em;
}
.fa-th-list {
  position: relative;
  top: 2px;
}
.navContainer {
  color: #616161;
}
.headTop {
  background-color: #616161;
  color: white;
  font-size: 1.2rem;
}
#theNavBar {
  width: 100%;
  font-size: 1.8rem;
}

.navLink {
  padding: 8px 16px;
  width: auto;
  border: none;
  display: block;
  outline: 0;
}
.navLink:hover {
  color: #000 !important;
  background-color: #ccc !important;
}
.topContact,
#theNavBar > ul {
  display: flex;
  flex-wrap: wrap;
}
.topContact {
  width: 100%;
}
#navDemo {
  display: none;
  color: #000 !important;
  background-color: #fff !important;
}

.topContact > span {
  margin-left: 1em;
}
.topPhoneSmall {
  display: none;
}
.card {
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.animate-top {
  position: relative;
  animation: animatetop 0.4s;
}
@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

.colorWhite {
  color: #000 !important;
  background-color: #fff !important;
}
.hamburger {
  float: right !important;
  padding: 8px 16px;
}
.hamburger:hover {
  color: #fff !important;
  background-color: #000 !important;
}
.w3-hide {
  display: none !important;
}
.w3-show {
  display: block !important;
}

/************paralax Containers*************/
.parContainer {
  position: relative;
}
.par1,
.par2,
.par3,
.par4,
.par5 {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* First image (Logo. Full height) */
.par1 {
  /*background-image: url("img/image1d.jpg");**************************************/
  background-image: url("img/HomePagePhoto.jpg");
  min-height: 100%;
}

/* Second image (Services) */
.par2 {
  background-image: url("img/image2.jpg");
  min-height: 400px;
}

/* Third image (Contact) */
.par3 {
  background-image: url("img/image3.jpg");
  min-height: 400px;
}

/* Second image (footer) */
.par4 {
  background-image: url("img/image4.jpg");
  min-height: 400px;
}

.par5 {
  background-image: url("img/proj1.jpg");
  min-height: 400px;
}

.parMiddle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.parMidText {
  letter-spacing: 10px;
  color: white;
  font-size: 36px;
  font-weight: 500;
}
.topOpacity {
  opacity: 0.75;
}
.youLogoTop {
  max-width: 100%;
  height: auto;
}

.about,
.projServices,
.clientSection,
#contact {
  display: flex;
  padding: 0.1em;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #777;
}

.about,
.projServices,
.clientSection,
#contact {
  font-size: 1.5em;
  margin: 2em 0;
}

.aboutContainer,
.projServicesContainer,
.clientContainer,
.contactContainer {
  width: 100%;
  padding: 0.1em 16px;
}
.aboutContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.aboutContainer p,
.projServicesContainer p,
.contactContainer p {
  padding: 0.5em 0;
}
.aboutContainer p:nth-of-type(2) {
  text-align: justify;
  text-justify: inter-word;
}

.row3rds {
  display: flex;
  flex-direction: row;
  background-color: #616161;
  color: white;
  width: 100%;
  padding: 16px 0;
  font-size: 1.5em;
}
.cont3rd {
  display: flex;
  justify-content: center;
  flex: 1;
  margin: 16px 0;
}

/*************dropdown*************/
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  margin-top: 50px;
  margin-left: 150px;
  z-index: 1;
}
.dropdown-content a {
  display: block;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
}
.cont3rd:hover .dropdown-content {
  display: flex;
  flex-direction: column;
  color: black;
}

/*************dropdown*************/
/***********projects&services***********/

.projServicesContainer > p:nth-of-type(1) {
  font-style: italic;
}
.projectImageRow {
  display: flex;
}
.projImage {
  width: 24.99999%;
  padding: 0 8px;
}
.projImage > img {
  width: 100%;
}
.projImage > img:hover {
  opacity: 0.6;
}
.mod-modal {
  z-index: 3;
  display: none;
  padding-top: 100px;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.mod-black {
  color: #fff !important;
  background-color: #000 !important;
}

.mod-modal-content {
  margin: auto;
  background-color: #fff;
  position: relative;
  padding: 0;
  outline: 0;
  width: 50%;
}
.mod-large {
  font-size: 18px !important;
}
.mod-display-topright {
  position: absolute;
  right: 0;
  top: 0;
}

.mod-button {
  border: none;
  display: inline-block;
  padding: 8px 16px;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background-color: inherit;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

.mod-button:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.mod-button {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.mod-button:hover {
  color: #000 !important;
  background-color: #ccc !important;
}
.mod-animate-zoom {
  animation: animatezoom 0.6s;
}
@keyframes animatezoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.mod-center {
  text-align: center !important;
}

.mod-transparent {
  background-color: transparent !important;
}

.mod-padding-64 {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}

.mod-image {
  max-width: 100%;
  height: auto;
}

.mod-opacity {
  opacity: 0.6;
}
/****************clients***************/
.clientLinks {
  width: 200px;
  height: auto;
  margin: 20px;
}
.clientContainer > a {
  display: initial;
}
/****************contact**************/
#contact {
  display: flex;

  width: 100%;

  justify-content: center;
}
#contact > .centerContent {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.locationMap {
  width: 100%;
}
.contactRow {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 1em 0;
}

.contactAddress {
  display: flex;
  text-align: initial;
}
.contactMobMail {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.contactMob {
  display: flex;
}
.contactMob i {
  padding-top: 5px;
}
.contactMail {
  word-break: break-all;
}
/***********footer********************/
.footer {
  color: white;
}
.footer {
  width: 100%;
  font-size: 1.5em;
}
.footerContainer {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  width: 100%;
  color: white;
}
.footerRow {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  width: 100%;
}
.footerLogo,
.footerContacts {
  margin-top: 4em;
}
.footerLogo {
  width: 400px;
}
.logo2 {
  width: 100%;
  height: auto;
}
.footerContacts > p {
  margin: 0;
  padding: 0;
  line-height: 1;
  margin-bottom: 1em;
}
.footSocial {
  display: flex;
  width: 30%;
  justify-content: space-between;
}

.footSocial > i:hover {
  color: grey;
}
.footBot {
  width: 100%;
  text-align: center;
  margin-top: 2em;
}
.fadeLine {
  width: 70%;
}
/**********media queries*********/

@media only screen and (max-device-width: 1024px) {
  .par1,
  .par2,
  .par3,
  .par4 {
    background-attachment: scroll;
  }
}

@media (min-width: 741px) {
  .hamburger,
  #navDemo {
    display: none !important;
  }
}

@media (max-width: 740px) {
  .hideSmall {
    display: none !important;
  }
  .row3rds {
    flex-direction: column;
  }
  .projectImageRow {
    display: flex;
    flex-direction: column;
  }
  .projImage {
    width: 100%;
    padding: 0.2em 1em;
    line-height: 0;
  }
}
@media screen and (max-device-width: 480px) {
  .topEmail,
  .topPhone {
    display: none !important;
  }
  .topContact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .topPhoneSmall {
    display: block;
    width: 100%;
  }
  .topPhoneSmall a {
    width: 100%;
  }

  .about,
  .projServices,
  #contact {
    font-size: 1rem;
  }
  .footer {
    font-size: 1.2em;
  }
  .footerContacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2em;
  }
  .footerLogo {
    width: 90%;
  }
  .par1 .parMiddle {
    width: 90%;
  }
  .mod-modal-content {
    width: 95%;
  }
  .contactRow {
    justify-content: center;
  }
  .contactMobMail {
    align-items: center;
    margin-top: 1em;
  }
}
