/* html {
  box-sizing: border-box;
} */

* {
  /* box-sizing: inherit; */
  font-family: 'Poppins', sans-serif;
}
/* ::-webkit-scrollbar {
  width: 10px;
} */

/* Track */
/* ::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px darkgrey;
  border-radius: 10px;
} */

/* Handle */
/* ::-webkit-scrollbar-thumb {
  background: grey;
  border-radius: 10px;
} */

/* Handle on hover */
/* ::-webkit-scrollbar-thumb:hover {
  background: dimgrey;
} */

/* *:before, *:after {
  box-sizing: inherit;
} */

/* About Us & Quality Pages: pages/about.blade.php & pages/quality.blade.php */
@media (min-width: 350px) and (max-width: 767.9px) {
  #aboutQualityImage {
    display: none;
  }
}
@media (min-width: 990px) and (max-width: 1200px) {
  #qualityBody {
    padding-left: 30px;
  }
}

/* Individual project's page: projects/*.blade.php e.g. projects/ahmed_zaki.blade.php */
#project-gallery{
  margin-top:45px;
}

#project-gallery i{
  padding: 30px;
  font-size:40px;
  color:#aaaaaa;
}

#project-gallery i:hover{
  cursor: pointer;
  color:#808080;
}

#fpi-parent {
  display: flex;
}
#child1{
  flex:1;
}
#flex-project-images{
  flex: 4;
  display: flex;
  justify-content: space-evenly;
}
#child3{
  flex:1;
}
#flex-project-images img{
  margin-top: 25px;
  height: 90px;
  width: 100px;
}
#flex-project-images img:hover{
  border: 2px solid lightgrey;
}

/* Navbar: inc/navbar.blade.php */
#contact-header i:hover{
  cursor: pointer;
}

#navbarFlexReverse {
  display: flex;
  flex-direction: row-reverse;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f5f5f5;
  //min-width: 160px;
  //box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}
.dropdown-content a {
  color: black;
  padding: 8px 20px;
  text-decoration: none;
  display: block;
}
.dropdownhover:hover .dropdown-content {display: block;}
.dropdown-content a:hover {
  background-color: #e1e1e1;
}
.nav-link {
  color: white;
}
@media (min-width: 1085px) {
  div#navbarSupportedContent ul li {
    margin-right:20px;
    margin-left:20px;
  }
}
@media (max-width: 1085px) {
  #contact-header {
    display: none;
  }
}
@media (min-width: 768px) {
  #flexList {
    display: flex;
    flex-direction: row-reverse;
  }
}

/* Contact Us Page: pages/contactus.blade.php*/
#map {
  height:60vh;
  width:90vw;
}
.container-contactus { /* Parent of .contactus-map and .contactus-text-message */
  /* Background Image */
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(/storage/files/contact.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom:-30px;
  color: white;

  /* Layout */
  display: flex;
  flex-direction: column;
  min-height: 83.9vh;
  flex-wrap: wrap;
}
.contactus-title {
  margin-top:20px;
  align-self: center;
}
.contactus-map {
  margin-top:20px;
  margin-bottom:20px;
  align-self: center;
}
.contactus-text-message { /* Parent of .contactus-text and .contactus-message */
  flex: 1;
  display: flex;
  flex-direction: row;
}
.contactus-text {
  flex: 1;
  display:flex;
  flex-direction: column;
}
.contactus-text h4 {
  align-self: center;
}
.contactus-text h3 {
  align-self: center;
}
.contactus-text i {
  margin-left:20vh;
  margin-top:4vh;
  font-size: 30px;
  color: white;
}
.indent {
  margin-left:5vh;
  margin-top:4vh;
  color: white;
}
@media(max-width:1200px) {
  .contactus-text i {
    margin-left:10vh;
  }
}
@media(max-width:700px) {
  .contactus-text i {
    margin-left:5vh;
  }
}
@media(max-width:500px) {
  .contactus-text i {
    margin-left:2vh;
  }
  .indent {
    margin-left:1vh;
  }
}
.contactus-message {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: -7vw;
}
.contactus-message input {
  background-color:rgba(255, 255, 255, 0.75);
  width:40vw;
  margin-top:2vh;
  color: white;
}
.contactus-message textarea {
  background-color:rgba(255, 255, 255, 0.75);
  width:40vw;
  margin-top:2vh;
  color: white;
  height: 10vh;
  min-height: 7vh;
}
.contactus-message button {
  width:40vw;
  margin-bottom:3vh;
}

/* Join Us Page: pages/careers.blade.php */
.cta {
  margin: 20px 0px 0px 0px;
}
.cta-select {
  border: 1px solid green;
  background: green;
  color: white;
  width: 759px;
  height: 50px;
  cursor: pointer;
  font-size: 16px;
}
.cta-select-ar {
  border: 1px solid green;
  background: green;
  color: white;
  width: 565px;
  height: 50px;
  cursor: pointer;
  font-size: 16px;
}
.cta-select:hover {
  background: darkgreen;
}
.cta-select-ar:hover {
  background: darkgreen;
}
#careers {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(/storage/files/people.jpg);
  background-position: top top;
  background-repeat: no-repeat;
  background-size:cover;
  margin-bottom:-40px;
  color: white;
}
#careers label.col-form-label {
  font-size: 18px;
}
#careers select {
  width:165px;
  background-color:rgba(255, 255, 255, 0.75);
}

@media(min-width:1200px) {
  #careers label.col-form-label {
    padding-left:200px;
    margin-right:8px;
  }
}
@media(min-width: 768.1px) and (max-width: 1200px) {
  .cta-select {
    margin-top:40px;
    width:500px;
  }
  #careers select {
    width:110px;
  }
}
@media(min-width: 576.1px) and (max-width: 768px) {
  .cta-select {
    margin-top:40px;
    width:500px;
  }
  #careers select {
    width:85px;
  }
}
@media(max-width: 576px) {
  .cta-select {
    margin-top:50px;
    width:300px;
  }
  #careers select {
    width:90vw;
    margin-top:10px;
  }
  #careers {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(/storage/files/peoplesmall.jpg);
  }
}

/* Footer: inc/footer.blade.php */
#footer {
  background: linear-gradient(rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.88)), url(/storage/files/footer4a.jpg);
  background-position: bottom;

  position: relative;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-attachment: fixed;
  margin-bottom: -40px;
  color: white;
}
#footer i{
  font-size: 30px;
  color: white;
}
#footer div.col-md-3 i {
  padding-left:18px;
}
#footer-flex {
  display: flex;
  margin-left: 70px;
  margin-top: 40px;
}
#footer-flex i.fa-facebook-square {
  margin-right: 50px;
}

/* hr.white {
  border: 0.5px solid white;
  border-radius: 1px;
} */
@media (max-width: 700px) {
  #footer div.col-md-3 i {
    padding-left:36px;
  }
}
@media (max-width: 768px) {
  #footer {
    background-size:cover;
  }
}
@media (min-width: 1200px) {
  #footer {
    background-size:100% 325px;
  }
}
/* Footer in Arabic pages: inc-ar/footer.blade.php */
#footer-ar {
  background: linear-gradient(rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.88)), url(/storage/files/footer4a.jpg);
  background-position: bottom;
  position: relative;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-attachment: fixed;
  margin-bottom: -40px;
  color: white;
  /* background: linear-gradient(rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.82)), url(/storage/files/footer4.jpg);
  background-position: top center;
  background-repeat: no-repeat;
  background-size:100% 100%;
  margin-bottom:-40px;
  color: white; */
}
#footer-ar i{
  font-size: 30px;
  color: white;
}
#footer-ar div.col-md-3 i {
  padding-left: 18px;
}
#footer-flex-ar {
  display: flex;
  margin-right: 60px;
  margin-top: 40px;
}
#footer-flex-ar i.fa-facebook-square {
  margin-left: 50px;
}

/* hr.white {
  border: 0.5px solid white;
  border-radius: 1px;
} */
@media (max-width: 700px) {
  #footer-ar div.col-md-3 i {
    padding-left:36px;
  }
}
@media (max-width: 768px) {
  #footer-ar {
    background-size:cover;
  }
}
@media (min-width: 1200px) {
  #footer-ar {
    background-size:100% 325px;
  }
}
/* Homepage: pages/index.blade.php */
/* .parent {
  position: relative;
  top: 0;
  left: 0;
}
.image1 {
  position: relative;
  top: 0;
  left: 0;
} */
#carousel1 img {
  filter: brightness(45%);
  display: block;
  max-width:100;
  max-height:90vh;
}
#homepage-title {
  color: #00a800;
  font-size: 50px;
  margin-bottom: 257px;
  margin-top: -75px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#our-sectors img {
  width: 100%;
}
#homepage-title > p:nth-child(2) {
  font-size:55px; color: white;
}

@media (max-width: 780px) {
  #homepage-title {
    margin-bottom: 100px;
    margin-top: -220px;
  }
  #homepage-title > p:nth-child(1) {
    font-size:40px;
  }
  #homepage-title > p:nth-child(2) {
    font-size:40px;
  }
  #carousel1 img {
    width: auto;
    height: auto;
  }
}
/* Achievements/Highlights Page: pages/milestones.blade.php */
#highlights {
  box-sizing: border-box;
}

/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  /* background-color: rgba(200,200,200,1); */
  background-color: inherit;
  top: 0;
  bottom: 0;
  left: 0%;
  margin-left: -6px;
}

/* Container around content */
.container-ms {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 70%;
}

/* The circles on the timeline */
.container-ms::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: white;
  border: 3px solid green;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.left {
  left: 0;
}

/* Place the container to the right */
.right {
  left: 0%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
  left: -16px;
}

/* The actual content */
.content-ms {
  padding: 20px 30px;
  border: 3px solid green;
  background-color: white;
  position: relative;
  border-radius: 6px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
/* Place the timelime to the left */
  .timeline::after {
    left: 31px;
  }

/* Full-width containers */
  .container-ms {
    width: 100%;
    padding-left: 10px;
    padding-right: 25px;
  }

/* Make sure that all arrows are pointing leftwards */
  .container-ms::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

/* Make sure all circles are at the same spot */
  .left::after, .right::after {
    left: 0px;
  }

/* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }
}
