@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&display=swap");
html, body {
  height: 100%;
}

body {
  font: normal 16px/1.8 Montserrat, sans-serif;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 {
  margin: 0;
}

h2 {
  margin: 0 0 30px;
}

label {
  font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 4px 10px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 2px;
}

select {
  height: 38px;
}

button {
  padding: 4px 60px;
  font-size: 20px;
  background: #154353;
  border: none;
  border-radius: 5px;
  color: #fff;
  transition: background 150ms ease-in-out;
}

button:hover {
  background: #0b222a;
}

header {
  position: relative;
  z-index: 10;
  height: 108px;
  background: #fff;
  padding: 30px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

section {
  padding: 60px 0;
}

section#s1 {
  display: flex;
  align-items: center;
  height: calc(100% - 108px);
  background: url(../images/bg.png) no-repeat center center/cover;
}

section#s1 #mb-wrap {
  float: left;
  width: 110%;
  position: relative;
}

section#s1 #mb-wrap img {
  width: 100%;
}

section#s1 #mb-wrap #video-wrap {
  position: absolute;
  top: 16px;
  left: 99px;
  width: 500px;
}

.modal .modal-dialog {
  width: 95%;
  max-width: 660px;
}

.modal .modal-content {
  border: none;
  border-radius: 0;
}

.modal .modal-header {
  padding: 0;
  border: none;
  border-radius: 0;
  background: #154353;
  color: #fff;
}

.modal .modal-header .close {
  margin: 0;
  padding: 0;
}

.modal .modal-header .inner {
  width: 100%;
  padding: 20px 30px;
}

.modal .modal-header .inner h4 {
  margin: 0;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
}

.modal .modal-header .modal-title {
  font-size: 20px;
  text-transform: none;
}

.modal .modal-header .close:hover {
  background: none;
  color: #fff;
}

.modal#form-modal .modal-header .inner {
  padding: 20px 30px 15px;
}

.modal#form-modal #form-hide {
  display: none;
}

.modal#form-modal #form-hide p {
  margin: 0;
}

.modal .modal-body {
  padding: 20px 30px;
  border-bottom: 1px solid #e6e6e6;
}

.modal .modal-body p {
  margin: 0 0 20px;
}

.modal .modal-body p:last-of-type {
  margin: 0;
}

.modal .modal-body .note {
  margin: 20px 0 !important;
}

.modal .modal-body button {
  display: block;
  margin: 0 auto;
}

#form-modal input[type="checkbox"] {
  transform: translateY(-1px);
  margin-right: 3px;
}

#form-modal p {
  margin: 0 0 20px;
  font-size: 14px;
}

#loadingGraphic {
  display: none;
  padding: 2px 0 3px;
}

#loader {
  width: 44px;
  height: 44px;
  margin: 6px auto;
  -webkit-animation: 1s ease-in-out infinite animball_two;
  animation: 1s ease-in-out infinite animball_two;
}

#loader .loaderBall {
  width: 44px;
  height: 44px;
  position: absolute;
}

#loader .loaderBall .ball {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  -webkit-animation: 1s ease-in-out infinite animball_one;
  animation: 1s ease-in-out infinite animball_one;
}

#loader .loaderBall .ball.ball1 {
  background-color: #154353;
  top: 0;
  left: 0;
}

#loader .loaderBall .ball.ball2 {
  background-color: #154353;
  top: 0;
  left: 24px;
}

#loader .loaderBall .ball.ball3 {
  background-color: #154353;
  top: 24px;
  left: 0;
}

#loader .loaderBall .ball.ball4 {
  background-color: #154353;
  top: 24px;
  left: 24px;
}

@-webkit-keyframes animball_one {
  0% {
    position: absolute;
  }
  50% {
    top: 12px;
    left: 12px;
    position: absolute;
    opacity: 0.5;
  }
  100% {
    position: absolute;
  }
}

@keyframes animball_one {
  0% {
    position: absolute;
  }
  50% {
    top: 12px;
    left: 12px;
    position: absolute;
    opacity: 0.5;
  }
  100% {
    position: absolute;
  }
}

@-webkit-keyframes animball_two {
  0% {
    -webkit-transform: rotate(0deg) scale(1);
  }
  50% {
    -webkit-transform: rotate(360deg) scale(1.3);
  }
  100% {
    -webkit-transform: rotate(720deg) scale(1);
  }
}

@keyframes animball_two {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(360deg) scale(1.3);
  }
  100% {
    transform: rotate(720deg) scale(1);
  }
}

@media (max-width: 1199px) {
  section#s1 #mb-wrap #video-wrap {
    top: 17px;
    left: 92px;
    width: 400px;
  }
}

@media (max-width: 991px) {
  h1 {
    font-size: 36px;
  }
  h2 {
    margin-bottom: 20px;
  }
  header {
    height: 103px;
  }
  section#s1 {
    height: calc(100% - 103px);
    text-align: center;
  }
  section#s1 button {
    margin-bottom: 40px;
  }
  section#s1 #mb-wrap {
    float: none;
    width: 100%;
  }
  section#s1 #mb-wrap #video-wrap {
    left: 104px;
    width: 483px;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 28px;
  }
  header {
    height: auto;
  }
  section#s1 {
    height: auto;
  }
  section#s1 #mb-wrap img {
    width: 125.5vw;
    margin-left: -16vw;
  }
  section#s1 #mb-wrap #video-wrap {
    top: 12px;
    left: 3vw;
    width: 88vw;
  }
}
