.google-map {
    padding-bottom: 50%;
    position: relative;
    height: 100%;
}

.google-map iframe {
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  position: absolute;
}

/* Form styles cleared */
.contact-form ,
.contact-form fieldset,
.contact-form label,
.contact-form input,
.contact-form select,
.contact-form textarea {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  border: none;
  position: relative;
}

.contact-form  {
    /* background-color: #b5b2b23d; */
    /* padding: 2rem; */
    /* border-radius: 10px; */
    margin-bottom: 1rem;
    margin-top: 1rem;
}

/* Title style */
#ftitle {
  padding-bottom: 2rem;
}

/* Input field label styles when at rest */
.contact-form label {
  width: auto;
  position: absolute;
  display: inline-block;
  padding-right: 3rem;
  font-size: 16px;
  background-color: #272727;
  padding: 0rem 0.5rem;
  cursor: text;
  white-space: nowrap;
  overflow: hidden;
  top: 0.8rem;
  left: 0.6rem;
  opacity: 1;
  color: #9e9e9e !important;
  letter-spacing: 0.03rem;
  border-bottom: none;
  transition: all 0.5s linear;
  z-index: 2;
    outline: none;
    transition: all 0.2s ease-in-out;
    top: -.7rem;
    font-size: 14px;
    font-weight: bold;
    color: #ED2939 !important;
    transition: all 0.2s ease-in-out;
    font-weight: bold;
}

/* Input and text area field styles at rest */
.contact-form input,
.contact-form select,
.contact-form textarea {
    margin-bottom: 2rem;
    padding: 16px;
    width: 100%;
    line-height: 1.25rem;
    font-size: 1rem;
    border-radius: 12px;
    font-family: courier;
    border: 1px solid #4a4848 !important;
    background-color: transparent;
    color: #FFFFFF;
}

.contact-form select option {
    color: #000 !important;
}

.select2-selection.select2-selection--single {
    margin-bottom: 0rem !important;
    padding: 16px !important;
    width: 100% !important;
    line-height: 1.25rem !important;
    font-size: 1rem !important;
    border-radius: 12px !important;
    font-family: courier !important;
    border: 1px solid #4a4848 !important;
    background-color: transparent !important;
    color: #FFFFFF !important;
    height: 53px !important;
}

.iti--separate-dial-code .iti__selected-dial-code {
  color: #FFF;
}

/* Message text area styles */
#fmessage {
  height: 6.5rem;
  padding-top: 2.2rem;
  border: 1px solid black;
  resize: none;
}

/* Submit button styles at rest */
#fsubmit {
    width: 100%;
    height: 3rem;
    background: #ED2939;
    border-bottom: 1px solid black;
    color: #FFF;
    font-weight: bold;
    border-radius: 12px;
    transition: all 0.2s ease-in-out;
}

.field-container {
    position: relative;
    width: 100%;
}

/* ---------- Animations ----------*/

/* Label styles when parent container is hover */
.field-container.hover label {
    letter-spacing: 0.04rem;
    color: #000000;
}

/* Submit button styles on hover */
.field-container.hover #fsubmit {
  background: #ED2939;
  letter-spacing: 0.01rem;
}

/* Label styles when parent container has been selected */
/* .field-container.focus label {
} */

/* Message label styles when parent container has been selected */
/* .field-container.focus label.message-top {
    top: 0.2rem;
} */

/* .field-container.focus label {
    color: #ED2939;
} */

.select-label label {
    top: -.7rem !important;
    font-size: 14px !important;
    font-weight: bold !important;
    color: #ED2939 !important;
    transition: all 0.2s ease-in-out !important;
    font-weight: bold !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #FFF !important;
}

/* Input and text area field styles when selected */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border: 1px solid #ED2939 !important;
    transition: all 0.2s ease-in-out;
}

/* Run a JavaScript function when autofill occurs */
.contact-form input:-webkit-autofill {
  animation-name: onAutoFillStart;
}

.contact-form input:not(:-webkit-autofill) {
  animation-name: onAutoFillCancel;
}

.contact-form input#phone_number {
    padding-left: 6rem !important;
    /* margin-bottom: 2rem; */
}

.iti__country-list {
  z-index: 5;
}
/* ---------- Validation ---------- */

/* Style of the container that displays validation or error messages */
.status-container {
  width: auto;
  position: absolute;
  display: hidden;
  margin: 0;
  padding: 0;
  cursor: default;
  white-space: nowrap;
  overflow: hidden;
  opacity: 1;
  font-size: 0.7rem;
}

/* If error: style for  message displayed */
.status-container.error {
  bottom: .6rem;
  right: -0.29rem;
  color: red;
  font-size: 12px;
  font-weight: normal;
  transition: all 0.2s ease-in-out;
}

/*If valid: styles for check mark displayed */
.status-container.valid {
  bottom: 2.5rem;
  right: -1rem;
  color: green;
  transition: all 0.2s ease-in-out;
}

.contact h1 {
    font-size: 36px;
    color: #FFF;
    font-weight: bold;
    margin-bottom: 1rem;
}

.contact h1 span {
    color: #ED2939;
}

.contact h2 {
    font-size: 25px;
    color: #FFF;
    font-weight: bold;
    margin-bottom: 1rem;
}

.contact p {
    font-size: 14px;
    margin-bottom: 1rem;
}

.contact {
    padding-top: 10rem;
    padding-bottom: 3rem;
    background-color: #272727;
}

.info h1 {
    font-size: 45px;
    color: #000;
    font-weight: bold;
    margin-bottom: 1rem;
    margin-top: 3rem;
}

.info h1 span {
    color: #ED2939;
}

.info p {
    font-size: 18px;
    color: #857F7F;
}

.info p span {
    margin-left: 0.5rem;
    font-weight: bold;
    margin-right: 0.5rem;
}

.info p i {
    color: #ED2939;
    font-weight: bold;
}

.info p a {
    color: #857F7F;
}

.add {
  background-color: #99999973;
  padding: 2rem;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 200px;
  border-radius: 12px;
  margin-bottom: 2rem;
  overflow: hidden;
  transition: all .3s;
}

.add:hover {
  background-color: transparent;
  transition: all .3s;
  border: 1px solid #99999973;
  border-radius: 25px;
}

.add:hover i {
  color: #FFF;
  transition: all .3s;
  animation: shake 1200ms;
}

.add:hover h1 {
  color: #ED2939;
  transition: all .3s;
}

.add:hover a {
  color: #ED2939;
  transition: all .3s;
}

@keyframes shake {
  0% {
    transform: rotateZ(0);
  }
  10% {
    transform: rotateZ(-30deg);
  }
  20% {
    transform: rotateZ(15deg);
  }
  30% {
    transform: rotateZ(-10deg);
  }
  40% {
    transform: rotateZ(7.5deg);
  }
  50% {
    transform: rotateZ(-6deg);
  }
  60% {
    transform: rotateZ(5deg);
  }
  70% {
    transform: rotateZ(-4.28571deg);
  }
  80% {
    transform: rotateZ(3.75deg);
  }
  90% {
    transform: rotateZ(-3.33333deg);
  }
  100% {
    transform: rotateZ(0);
  }
}

.add i {
  font-size: 50px;
  color: #ED2939;
  margin-bottom: 2rem;
  transition: all .3s;
  display: inline-block;
}

.add h2 {
  font-size: 12px;
  color: #FFF;
  white-space: pre-wrap;
}

.add h2 a {
  font-size: 12px;
  color: #FFF;
  white-space: pre-wrap;
}

.add div i {
  font-size: 22px;
  margin-left: 0.34rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {

  .google-map {
    padding-bottom: 400px;
    position: relative;
    height: 100%;
  }

  .google-map iframe {
    height: 400px;
    width: 100%;
    left: 0;
    top: 0;
    position: absolute;
  }

  .contact {
    padding: 1rem;
    padding-top: 8rem;
  }
}
