html,
body {
  height: 100%;
  background: #fff;
  font-family: "Montserrat";
  margin: 0;
}

header {
  height: 70px;
}

header #social-container {
  display: flex;
  justify-content: flex-end;
  height: 30px;
  background: #333333;
}

i {
  margin: 7px;
  color: #ffffff;
}

.image-container {
  position: fixed;
  top: 80%;
  transform: translateY(-50%);
}
.left-image {
  left: 0;
}
.right-image {
  right: 0;
}
.close-btn {
  position: absolute;
  top: 0;
  right: 0;
  background-color: rgb(148, 146, 146);
  color: white;
  border: none;
  cursor: pointer;
}

header #title-container {
  height: 70px;
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#title {
  display: flex;
  align-items: center;
  letter-spacing: 3px;
  padding-left: 22px;
}

header section div {
  margin: 5px;
}

header section div {
  font-size: 1.1em;
}

header section div:first-child {
  color: #000000;
}

header section div:last-child {
  color: #9d9d9c;
  font-weight: 100;
}

.vertical-line {
  display: inline-block;
  border-left: 2px solid #c6c6c6;
}

.uppercase {
  text-transform: uppercase;
}

.h-15 {
  height: 18px;
}

.h-50 {
  height: 50px;
}

a {
  text-decoration: inherit;
  color: inherit;
}

main {
  display: flex;
  flex-direction: column;
}

ul#menu {
  list-style: none;
  display: flex;
  flex-flow: row wrap;
  margin: 0;
  padding: 0;
}

ul#menu li {
  flex-grow: 1;
  font-size: 1em;
  margin: 10px;
}

ul#menu li a {
  color: #333333;
}

ul#menu li a:hover {
  -webkit-text-stroke: 1px black;
}

ul#menu li div {
  border-left: 1px solid #000;
}

.cover-image-container {
  display: flex;
  justify-content: flex-end;
  height: 600px;
  width: 100%;
}

#side-cover {
  background-size: cover;
  background-position: center -100px;
  object-fit: cover;
  height: 600px;
  width: 100%;
}

.cover-image-title {
  position: absolute;
  padding-top: 70px;
  padding-right: 134px;
  font-size: 48px;
  color: #ffffff;
}

.cover-image-title > span {
  font-weight: 500;
}

#grey-box {
  background: #333333;
  position: absolute;
  width: 100%;
  height: 395px;
}

#service-container {
  position: relative;
}
#service-container2 {
	display: none;
  }

#services {
  text-align: center;
  padding-top: 35px;
  padding-bottom: 25px;
  font-size: 28px;
  color: #ffffff;
}

#services span {
  font-weight: 500;
}

ul#flex-container {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

ul#flex-container li {
  flex-grow: 1;
  max-width: 380px;
  margin: 10px;
  flex-direction: column;
}
ul#flex-container li a#link:hover {
  -webkit-text-stroke: 1px black;
}

#image-cover {
  background-color: #333333;
}

#windows-and-doors {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background-image: -moz-linear-gradient(
      top,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.65) 100%
    ),
    url("../images/jpg/windows_and_doors.jpg"); /* FF3.6-15 */
  background: -webkit-linear-gradient(
      top,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.65) 100%
    ),
    url("../images/jpg/windows_and_doors.jpg"); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.65) 100%
    ),
    url("../images/jpg/windows_and_doors.jpg"); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  color: white;
  width: 380px;
  height: 400px;
}

#windows-and-doors:hover {
  opacity: 0.8;
}

#bathroom {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background-image: -moz-linear-gradient(
      top,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.65) 100%
    ),
    url("../images/jpg/bathroom.jpg"); /* FF3.6-15 */
  background: -webkit-linear-gradient(
      top,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.65) 100%
    ),
    url("../images/jpg/bathroom.jpg"); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.65) 100%
    ),
    url("../images/jpg/bathroom.jpg"); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  color: white;
  width: 380px;
  height: 400px;
}

#house:hover {
  opacity: 0.8;
}

#house {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background-image: -moz-linear-gradient(
      top,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.65) 100%
    ),
    url("../images/jpg/house.jpg"); /* FF3.6-15 */
  background: -webkit-linear-gradient(
      top,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.65) 100%
    ),
    url("../images/jpg/house.jpg"); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.65) 100%
    ),
    url("../images/jpg/house.jpg"); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  color: white;
  width: 380px;
  height: 400px;
}

#bathroom:hover {
  opacity: 0.8;
}

ul#flex-container li a div div img {
  width: 60%;
  padding-bottom: 15px;
}

#sub-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#sub-container p {
  font-size: 13px;
  color: #333333;
  font-weight: 300;
  /*line-height: 15.85px;*/
  line-height: 20px;
  margin: 30px;
}

.button {
  background: #c4c4c4;
  color: #fff;
  font-size: 15px;
  line-height: 18.29px;
  cursor: pointer;
  text-align: center;
  width: 140px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.button:hover {
  background: #595959;
}

#accordion {
  display: flex;
  margin: 60px;
}

.details-description {
  font-size: 28px;
  color: #333333;
  cursor: pointer;
  outline: none;
  line-height: 34.13px;
}

.ui-accordion {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: center;
}

#ui-id-2 {
  width: 960px;
  text-align: center;
  font-weight: 300;
}

footer {
  display: flex;
  align-items: center;
  background: #333333;
  height: 300px;
}

footer section#title div {
  margin: 5px;
}

footer section#title div:first-child {
  padding-left: 52px;
  letter-spacing: 3px;
}

footer section#title div:last-child {
  font-weight: 100;
}

footer section#title div {
  font-size: 1.1em;
}

footer section#title div:first-child {
  color: #fff;
}

footer section#title div:last-child {
  color: #9d9d9d;
}

footer .info {
  display: flex;
  flex-wrap: wrap;
  color: #fff;
  font-size: 13px;
  line-height: 16px;
  font-style: normal;
}

footer .info section {
  margin: 12px;
}

footer .info section div:first-child {
  font-weight: 500;
}

footer .info section div:nth-child(2) {
  font-weight: 500;
}

.fw-300 {
  font-weight: 300;
}

.fw-500 {
  font-weight: 500;
}

footer .feedback {
  display: flex;
}

footer .feedback div {
  color: #fff;
  margin: 10px;
  font-size: 13px;
}

@media (max-width: 966px) {
  ul#menu {
    display: none;
  }
  #service-container2 {
	display: none;
  }

  .image-container {
    display: none;
  }

  footer {
    height: 400px;
  }
}

@media (min-width: 320px) and (max-width: 480px) {
  header {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #title {
    padding-top: 5px;
  }

  #title {
    padding-left: 0;
  }

  header #title-container {
    flex-direction: column;
  }
  .image-container {
    display: none;
  }

  ul#menu {
    display: none;
  }

  .cover-image-title {
    font-size: 18px;
    padding-top: 15px;
    padding-right: 40px;
  }

  .cover-image-container {
    height: 100%;
  }

  #side-cover {
    height: 400px;
  }

  #service-container {
    background: #ffffff;
	display: none;
  }
  #service-container2 {
    background: #ffffff;
	display: block;
	position: relative;
  }

  #services {
    font-size: 20px;
    background: #333333;
  }

  #grey-box {
    display: none;
  }

  ul#flex-container li {
    width: 100%;
    margin: 0;
  }

  ul#flex-container li:first-child {
    margin-bottom: 25px;
  }

  .pb-30 {
    padding-bottom: 30px;
  }

  .details-description {
    font-size: 18px;
  }

  #accordion {
    text-align: center;
  }

  #ui-id-2 {
    height: 350px;
    width: 350px;
  }

  footer {
    flex-direction: column;
    height: 500px;
  }

  footer .info {
    order: 1;
    margin: 0;
    justify-content: center;
  }

  .info-and-feedback {
    padding-right: 0;
    text-align: center;
  }

  footer .feedback {
    order: 2;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 0;
  }

  footer .feedback i {
    font-size: 28px;
    margin: 14px;
  }

  footer #title {
    order: 3;
  }

  footer section#title div {
    font-size: 1.1em;
  }

  footer section#title div:first-child {
    padding: 0;
  }
}