/*
Theme Name: LeClair V2.3 (Creative Co.)
Theme URI: leclairandassociates.ca
Author: LeClair & Associates
Version: 1.0.2
*/

html { scroll-behavior: smooth; }
h1, h2, h3, h4, h5 { font-family: 'Rubik', sans-serif; }
body { font-family: 'Rubik', sans-serif; }
a:hover { text-decoration: none; }

/* --- Header --- */

#header {
  position: relative;
  margin: 0;
  padding: 20px 27px;
  background: #fff;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0px 10px 40px 0px rgba(47,47,47,0.1);
}

#header .content {
  width: 100%;
}

#header .logo {
  position: relative;
  width: 186px;
  margin: 0;
  padding: 0;
  z-index: 5;
}

#header .logo img { width: 100%; }

#header .logo h5 {
  font-size: 10px;
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 8px 0 0 0;
  color: #1b4751;
}

#header .navigation {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 14px;
  z-index: 3;
  text-align: center;
}

#header .navigation li {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0;
  color: #1b4751;
  font-size: 12px;
  padding: 13px 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
}

#header .navigation li:hover { color: #c69a73; }
#header .navigation li a { color: #1b4751; }
#header .navigation li a:hover { color: #c69a73; text-decoration: none; }

#header .social {
  position: absolute;
  top: 19px;
  right: 0;
  color: #1b4751;
  font-size: 22px;
  z-index: 22;
}

#header .social i { padding: 0px 0 0 20px; cursor: pointer; }
#header .social i:hover { color: #B98C62; }
#header .social img { display: none; width: 22px; margin: -5px 0 0 15px; }
#header .social a { color: #1b4751; }

#header .menu-button {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 18px;
  color: #333;
  display: none;
  z-index: 999;
}

/* --- Menu --- */

#menu {
  display: none;
  position: fixed;
  top: 142px;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 99;
  background: #fff;
}

#menu .list {
  position: relative;
  margin: 10px 0 0 0;
  padding: 0px 20px;
  border-bottom: 1px solid #e3e6e8;
}

#menu .list li {
  position: relative;
  margin: 0;
  padding: 20px 0;
  font-size: 15px;
  border-top: 1px solid #e3e6e8;
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  color: #1b4751;
  text-align: center;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
}

/* --- About --- */

#about {
  position: relative;
  margin: 0;
  padding: 0 0 30px 0;
}

#about .text {
  padding: 40px 0;
}

#about .text .photo {
  position: relative;
  width: 45%;
  float: left;
  margin: -30px 0 0 0;
  -webkit-box-shadow: 0px 14px 10px -5px rgba(19,25,41,0.33);
  -moz-box-shadow: 0px 14px 10px -5px rgba(19,25,41,0.33);
  box-shadow: 0px 14px 10px -5px rgba(19,25,41,0.33);
}

#about .text .photo img { width: 100%; }
#about .text .right { float: right; width: 45%; }

#about .text .button {
  color: #B98C62;
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  margin: 20px 0 0 0;
}

#about .text h2 {
  font-weight: 600;
  margin: 0 0 40px 0;
  color: #1b4751;
  line-height: 40px;
}

#about .text p {
  font-size: 16px;
  line-height: 35px;
  color: #50606b;
}

#about .text h5 {
  padding: 0px 0;
  color: #B98C62;
  font-size: 16px;
  margin: 0 0 20px 0;
}

#about .list {
  position: relative;
  margin: 0;
  padding: 130px 0 0 0;
}

#about .list li {
  display: block;
  position: relative;
  width: 100%;
  min-height: 200px;
  margin: 0 0;
  padding: 50px 50px;
  line-height: 30px;
  text-align: center;
  color: #50606b;
  font-size: 18px;
  background: #fff;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  border: 3px solid #c9a280;
  background: rgba(185, 140, 98, 0.05);
  -webkit-box-shadow: 0px 4px 26px -12px rgba(19,25,41,0.38);
  -moz-box-shadow: 0px 4px 26px -12px rgba(19,25,41,0.38);
  box-shadow: 0px 4px 26px -12px rgba(19,25,41,0.38);
  overflow: hidden;
}

#about .list li:last-child { margin: 0; }
#about .list li strong { color: #c9a280; }

#about .list li img {
  display: block; width: 88px;
  margin: 0 auto 30px auto;
  background: #fff;
  padding: 20px;
  -webkit-border-radius: 500px;
  -moz-border-radius: 500px;
  border-radius: 500px;
}

#about .blob {
  position: absolute;
  width: 1100px;
  height: 1100px;
  left: -200px;
  right: 0;
  top: -360px;
  animation-delay: 0.25s;
  background-image: url('img/blob.svg');
  background-position: cover;
}

/* --- Services --- */

#services {
  position: relative;
  padding: 80px 0 200px 0;
  margin: 0 0 -20px 0;
}

#services .blob {
  position: absolute;
  width: 1100px;
  height: 1100px;
  right: 0px;
  top: -400px;
  z-index: -1;
  animation-delay: 0.25s;
  background-image: url('img/blob.svg');
  background-position: cover;
}

#services .text {
  padding: 40px 0;
}

#services .text .photo {
  position: relative;
  width: 45%;
  float: right;
  margin: -30px 0 0 0;
  -webkit-box-shadow: 0px 14px 10px -5px rgba(19,25,41,0.33);
  -moz-box-shadow: 0px 14px 10px -5px rgba(19,25,41,0.33);
  box-shadow: 0px 14px 10px -5px rgba(19,25,41,0.33);
}

#services .text .photo img { width: 100%; }
#services .text .right { float: left; width: 45%; }

#services .text h2 {
  font-weight: 600;
  margin: 0 0 40px 0;
  color: #1b4751;
  line-height: 40px;
}

#services .text p {
  font-size: 16px;
  line-height: 35px;
  color: #50606b;
}

#services .text h5 {
  padding: 0px 0;
  color: #B98C62;
  font-size: 16px;
  margin: 0 0 20px 0;
}

#services .text .button {
  color: #B98C62;
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  margin: 50px 0 0 0;
}

/* --- Service --- */

#service {
  position: relative;
  margin: 0;
  padding: 0;
}

#service .text {
  padding: 20px 0 40px 0;
  line-height: 35px;
}

/* --- Contact --- */

#contact {
  position: relative;
  padding: 15px 25px;
  background: #1b4751;
  z-index: 3;
}

#contact .content {
  width: 100%;
}

#contact .list {
  position: relative;
  margin: 0;
  padding: 0 136px 0 0;
  width: 100%;
  overflow: hidden;
}

#contact .list li {
  position: relative;
  float: left;
  margin: 0;
  padding: 0 40px 0 0;
  font-weight: 600;
  color: #e3e7ea;
  letter-spacing: 0.25px;
  font-size: 11px;
  overflow: hidden;
}

#contact .list li i { padding: 0 15px 0 0; }
#contact .list li span { padding: 0 0 0 15px; }
/* #contact .list li:last-child { float: right; } */
#contact .list li a { color: #e3e7ea; }

#contact .button {
  position: absolute;
  top: -15px;
  right: 0;
  bottom: -15px;
  width: 152px;
  padding: 17px 0 17px 10px;
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 1px;
  background: #B98C62;
  cursor: pointer;
  transition: all 0.25s ease;
}

#contact .button:hover { background: #c69a73; }
#contact .button i { vertical-align: top; line-height: 14px; padding: 0 0 0 8px; opacity: 0.6; font-size: 14px; }

/* --- Content --- */

.content {
  position: relative;
  width: 1180px;
  margin: 0 auto;
  padding: 0;
}

.content strong.green { color: #1b4751; }
.content strong.gold { color: #b98c62; }

.content .title {
  position: relative;
  margin: -30px 0 50px 0;
  padding: 0;
  overflow: hidden;
}

.content .title h1 {
  position: relative;
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  margin: 0;
  padding: 10px 20px;
  color: #fff;
  background: #b98c62;
}

/* --- Masthead --- */

#masthead {
  padding: 20px 0 150px 0;
  position: relative;
  background-size: cover;
  overflow: hidden;
  background-position: center center;
}

#masthead .photo {
  position: absolute;
  top: -380px;
  right: -300px;
  width: 800px;
}

#masthead .photo img { width: 110%; }

#masthead .video {
  position: relative;
  width: 55%;
  height: 360px;
  z-index: 5;
  margin: 90px 0 0 0;
  -webkit-box-shadow: 0px 4px 26px -5px rgba(19,25,41,0.48);
  -moz-box-shadow: 0px 4px 26px -5px rgba(19,25,41,0.48);
  box-shadow: 0px 4px 26px -5px rgba(19,25,41,0.48);
  background: #0C0E0D;
  overflow: hidden;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

#masthead .video video { width: 100%; height: 100%; }

#masthead .video .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #000;
  text-align: center;
  padding: 120px 40px;
  color: #fff;
  z-index: 999;
}

#masthead .video .overlay img { display: block; width: 75%; margin: 0 auto 40px auto; }
#masthead .video .overlay i {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 24px;
  cursor: pointer;
  padding: 14px 25px;
  margin: -20px 0 0 -20px;
  background: rgba(185, 140, 98, 0.75);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

#masthead .text {
  position: relative;
  width: 45%;
  float: left;
  padding: 50px 50px 30px 0;
}

#masthead .text h5 {
  display: none;
  color: #B98C62;
  margin: 0 0 25px 0;
  font-size: 16px;
}

#masthead .text h1 {
  position: relative;
  margin: 0;
  padding: 0;
  font-weight: 900;
  color: #1b4751;
  font-size: 46px;
  line-height: 60px;
  letter-spacing: -0.35px;
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  animation-delay: 0.45s;
}

#masthead .text p {
  margin: 25px 0 0 0px;
  padding: 0;
  font-family: 'Rubik', sans-serif;
  font-weight: 400;
  line-height: 32px;
  color: #50606b;
  font-size: 18px;
  animation-delay: 0.85s;
}

/* --- Team --- */

#team {
  position: relative;
  margin: 0;
  padding: 0px 0 80px 0;
}

#team .blob {
  position: absolute;
  top: -440px;
  left: 0;
  right: 0;
  height: 2000px;
  width: 2000px;
  background-image: url('img/blob.svg');
  background-size: 100%;
  background-position: top center;
}

#team .list {
  position: relative;
  margin: 0;
  padding: 0 0px;
  overflow: hidden;
}

#team .list li {
  position: relative;
  display: block;
  min-height: 300px;
  margin: 0 0 40px 0;
  padding: 10px 0 50px 220px;
  overflow: hidden;
  border-bottom: 1px solid #e1e3e8;
}

#team .list li .photo {
  position: absolute;
  height: 240px;
  width: 240px;
  left: 0;
  top: 20px;
  margin: 0 0px 0px 0;
  -webkit-box-shadow: 0px 4px 16px -5px rgba(19,25,41,0.48);
  -moz-box-shadow: 0px 4px 16px -5px rgba(19,25,41,0.48);
  box-shadow: 0px 4px 16px -5px rgba(19,25,41,0.48);
  background: #fff;
  overflow: hidden;
  -webkit-border-radius: 500px;
  -moz-border-radius: 500px;
  border-radius: 500px;
}

#team .list li .photo img { width: 100%; }
#team .list li:last-child { margin: 0; border: none; }
#team .list li  p span { padding: 0 10px; color: #cbced3; }
#team .list li h6 { margin: 0 0 20px 0; }
#team .list li a { color: #1b4751; }

#team .list li .body {
  position: relative;
  float: left;
  padding: 0 0 0 80px;
}

#team .list li .body .bio {
  line-height: 30px;
  margin: 30px 0 0 0;
}

#team .list li h5 {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 1px;
  margin: 25px 0 5px 0;
  padding: 0 0 0 0px;
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  color: #283538;
}

/* --- Title --- */

#title {
  position: relative;
  padding: 80px 0;
  height: 260px;
  margin: 0px 0 0 0;
  background-size: 100%;
  background-position: top center;
}

#title.approach { background-image: url('img/page-one.jpg'); }
#title.services { background-image: url('img/page-two.jpg'); }
#title.team { background-image: url('img/page-three.jpg'); }
#title.resources { background-image: url('img/page-four.jpg'); }

#service .resources {
  position: relative;
  margin: 0 0 50px 0;
  padding: 0;
}

#service .resources li {
  display: block;
  position: relative;
  margin: 0;
  padding: 40px 0;
  overflow: hidden;
  border-bottom: 1px solid #e3e5e8;
}

#service .resources li .photo {
  float: left;
  width: 280px;
  height: 190px;
  margin: 0 30px 0 0;
  overflow: hidden;
}

#service .resources li .photo img {
  width: 100%;
}

#service .resources li h1 {
  position: relative;
  margin: 0 0 10px 0;
  padding: 0;
  color: #1B4751;
  font-size: 22px;
  font-weight: bold;
  overflow: hidden;
}

#service .resources li p {
  color: #4e5d60;
  line-height: 25px;
}

/* --- Footer --- */

#footer {
  padding: 60px 80px 0 80px;
  background: #1b4751;
}

#footer .content { width: 100%; }

#footer .list {
  position: relative;
  margin: 0;
  padding: 3px 0 0 0;
  overflow: hidden;
}

#footer .list li {
  position: relative;
  display: block;
  float: left;
  width: 22%;
  margin: 0;
  background: #18414a;
  padding: 30px 20px;
  z-index: 2;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  text-align: center;
}

#footer .list li::before {
  position: absolute;
  content: "";
  top: -3px;
  left: -3px;
  width: 20px;
  height: 64px;
  z-index: 1;
  opacity: 0.5;
  border-top: 3px solid #B98C62;
  border-left: 3px solid #B98C62;
}

#footer .list li:nth-child(1) {
  background: none;
  text-align: left;
  padding: 20px 0 0 0;
  width: 30%;
}

#footer .list li:nth-child(2) { margin: 0 2% 0 0; }
#footer .list li:nth-child(3) { margin: 0 2% 0 0; }

#footer .list li h2 a { color: #fff; }

#footer .list li h2 {
  color: #fff;
  margin: 0;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  font-size: 16px;
}

#footer .list li h4 {
  color: #fff;
  margin: 0 0 10px 0;
  font-weight: 600;
  padding: 0;
  font-size: 15px;
  letter-spacing: 0.25;
}

#footer .list li h5 {
  color: #cbd4d6;
  margin: 0 0 10px 0;
  padding: 0;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 11px;
  opacity: 0.7;
}

#footer .list li p {
  color: #cbd4d6;
  margin: 0 0 2px 0;
  padding: 0;
  font-size: 15px;
}

#footer .bottom {
  margin: 50px 0 0 0;
  padding: 30px 0;
  overflow: hidden;
  border-top: 1px solid #265660;
}

#footer .bottom .copy {
  position: absolute;
  padding: 8px 0;
  left: 0;
  right: 0;
  text-align: center;
  color: #dce8ea;
  font-style: italic;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 2px;
  opacity: 0.5;
  text-transform: uppercase;
}

#footer .bottom .copy br { display: none; }

#footer .bottom .social {
  position: relative;
  float: right;
  color: #dce8ea;
  font-size: 18px;
}

#footer .bottom .social:hover { color: #fff; opacity: 1; }
#footer .bottom .social i { padding: 0 10px; opacity: 0.5; }
#footer .bottom .social img { width: 28px; margin: 0 0 0 20px; opacity: 0.5; }
#footer .bottom .social img:hover { opacity: 1; }
#footer .bottom .logo {
  float: left;
  width: 100px;
  margin: -2px 0;
  opacity: 0.4;
}

#footer .bottom .logo img { width: 100%; }

/* --- Popup --- */

#popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
}

#popup .background {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background: rgba(31, 36, 40, 0.85);
}

#popup .body {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  padding: 40px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  margin: -320px 0 0 -250px;
  background: #fff;
  z-index: 5;
}

#popup .body .exit {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 38px;
  height: 38px;
  background: #e3e6ea;
  padding: 5px 0;
  -webkit-border-radius: 500px;
  -moz-border-radius: 500px;
  border-radius: 500px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

#popup .body .exit:hover { transform: scale(1.03); }

#popup .body .input {
  position: relative;
  border: 2px solid #e8ebef;
  padding: 12px;
  margin: 0 0 15px 0;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0px 4px 26px -12px rgba(19,25,41,0.38);
  -moz-box-shadow: 0px 4px 26px -12px rgba(19,25,41,0.38);
  box-shadow: 0px 4px 26px -12px rgba(19,25,41,0.38);
}

#popup .body input {
  width: 100% !important;
  max-width: 100%!important;
  border: none;
  font-size: 15px;
  position: relative;
  border: 2px solid #e8ebef;
  padding: 12px;
  margin: 0 0 15px 0;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0px 4px 26px -12px rgba(19,25,41,0.38);
  -moz-box-shadow: 0px 4px 26px -12px rgba(19,25,41,0.38);
  box-shadow: 0px 4px 26px -12px rgba(19,25,41,0.38);
}

#popup .body textarea {
  width: 100%;
  border: none;
  resize: none;
  height: 140px;
  font-size: 15px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0px 4px 26px -12px rgba(19,25,41,0.38);
  -moz-box-shadow: 0px 4px 26px -12px rgba(19,25,41,0.38);
  box-shadow: 0px 4px 26px -12px rgba(19,25,41,0.38);
  border: 2px solid #e8ebef;
}

#popup .body h5 {
  font-size: 11px;
  font-weight: 600;
  margin: 0 0 15px 0;
  padding: 0 0 0 3px;
  letter-spacing: 1.5px;
  color: #545c66;
  opacity: 0.45;
}

#popup .body button {
  position: relative;
  padding: 15px 32px;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 1.2px;
  margin: 5px auto 0px auto;
  font-style: italic;
  color: #fff;
  text-align: center;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  border: none;
  background: #275764;
  transition: all 0.2s ease;
  text-transform: uppercase;
  cursor: pointer;
  -moz-box-shadow: 0px 10px 42px -26px rgba(39,47,61,0.41);
  -webkit-box-shadow: 0px 10px 42px -26px rgba(39,47,61,0.41);
  box-shadow: 0px 10px 42px -26px rgba(39,47,61,0.41);
}

#popup .body button:hover { background: #2b5b66; }

@media screen and (max-width: 960px) {
  #header { padding: 20px; }
  #header .navigation { display: none; }
  #header .logo { width: 140px; }
  #header .logo h5 { font-size: 8px; letter-spacing: 0.2px; }
  #header .social { top: 7.8px; display: none; }
  #header .social i { font-size: 15px; }
  #header .menu-button { display: block; }

  #masthead { padding: 20px 40px 50px 40px; }
  #masthead .photo { display: none; width: 380px; top: -200px; right: auto; left: -150px; }
  #masthead .text { float: none; width: 100%; text-align: center; padding: 20px 0 0 0; }
  #masthead .text h5 { margin: 0 0 15px 0; }
  #masthead .text h1 { font-size: 28px; line-height: 42px; }
  #masthead .text h1 br { display: none; }
  #masthead .text p { font-size: 15px; margin: 15px 0 0 0; line-height: 26px; }
  #masthead .text p br { display: none; }
  #masthead .video { display: block; float: none; width: 100%; position: relative; top: auto; right: auto; height: 220px; margin: 40px 0px 0px 0px; }
  #masthead .video .overlay { padding: 70px 0; }

  #contact { overflow: hidden; }
  #contact .list { padding: 0; }
  #contact .list li:nth-child(2) { display: none; }
  #contact .list li:nth-child(3) { display: none; }
  #contact .list li:nth-child(4) { display: none; }
  #contact .list li { width: 100%; text-align: left; display: block; padding: 0; }
  #contact .button { right: -30px; }

  #about { overflow: hidden; padding: 130px 0 30px 0; }
  #about .blob { top: -270px; }
  #about .text h2 { font-size: 26px; line-height: 35px; margin: 0 0 20px 0; }
  #about .text h5 { font-size: 16px; margin: 40px 0 15px 0; }
  #about .text h2 br { display: none; }
  #about .text p { font-size: 16px; }
  #about .text { padding: 0 40px; }
  #about .text .photo { width: 100%; float: none; }
  #about .text .right { width: 100%; float: none; }
  #about .list { padding: 60px 40px 0 40px; }
  #about .list li { float: none; width: 100%; margin: 0 0px 30px 0; padding: 50px 40px; height: auto; }

  #services { margin: 0px 0 0 0; padding: 0 40px 0px 40px; }
  #services .text h2 { font-size: 26px; line-height: 35px; margin: 0 0 20px 0; }
  #services .text h5 { font-size: 16px; margin: 40px 0 15px 0; }
  #services .text h2 br { display: none; }
  #services .text p { font-size: 16px; }
  #services .text .photo { width: 100%; float: none; }
  #services .text .right { width: 100%; float: none; }
  #services .text { padding: 0 0px 40px 0px; }

  #service .text { padding: 40px; }

  .content { width: 100%; }
  .content .title h1 { padding: 12px 40px; font-size: 28px; }

  #team .list li { padding: 0 40px 40px 40px; border: none; margin: 0; }
  #team .list li .photo { position: relative; margin: 0 auto 40px auto; width: 220px; height: 220px; }
  #team .list li .bio { padding: 0; }
  #team .list li .body { padding: 0; }

  #title { background-size: cover; }

  #footer { padding: 20px 40px 20px 40px }
  #footer .bottom { padding: 20px; margin: 0; border: none; padding: 0; }
  #footer .bottom .copy br { display: block; }
  #footer .bottom .copy { position: relative; top: auto; bottom: auto; left: auto; right: auto; line-height: 20px; }
  #footer .bottom .social { float: none; width: 100%; text-align: center; margin: 10px 0 0 0; font-size: 14px; }
  #footer .list li { background: #163d46; width: 100%; float: none; text-align: center; margin: 0 0 20px 0; }
  #footer .list li:first-child { width: 100%; text-align: center; margin: 0 0 40px 0; }
  #footer .list li:first-child::before { display: none; }
  #footer .list li p { font-size: 14px; }
  #footer .list li h2 { font-size: 14px; }
  #footer .list li h5 { font-size: 10px; margin: 0 0 5px 0; }
  #footer .list li:nth-child(2) { margin: 0 0 20px 0; }
  #footer .list li:nth-child(3) { margin: 0 0 20px 0; }
  #footer .bottom .social img { margin: 0 10px; }
  #footer .bottom .logo { display: none; }

  #popup { background: #fff; }
  #popup .body { width: 100%; top: auto; left: auto; margin: 0; }
  #popup .background { background: none; }
  #popup .body .exit { top: 10px; right: 10px; }
}
