.adblock-dialog {
  background: #af171c !important;
  top: 0 !important;
}
#adblock_popup_content {
  width: 100%;
  padding-top: 20px;
}
.form-group select {padding:0px 0px 0px 10px}
.the-form-inside .text-error {
  font-size: 12px;
  line-height: normal;
}
@media (min-width: 600px) {
  #adblock_popup_content {
    width: 50%;
    margin-left: 25%;
    padding-top: 40px;
    font-size: 120%;
  }
} /* end of @media max-width: 1200px  */
@media (min-device-width: 1200px) {
  .adblock-dialog {
    width: 800px !important;
    top: 550px !important;
    width: 100vw !important;
    min-height: 200px;
    background-color: #af171c !important;
  }
} /* end of @media max-width: 1200px  */

@media (min-device-width: 769px) and (max-device-width: 1199px) {
} /* end of @media max-width: 768px  */

@media (min-device-width: 415px) and (max-device-width: 768px) {
  .adblock-dialog {
    /* top: 400px !important; */
    left: 50% !important;
    min-width: 300px !important;
    min-height: 200px;
    background-color: #0c5547 !important;
  }
} /* end of @media max-width: 768px  */

/* NAVBAR */

.navbar-header {
  max-height: 115px;
  min-height: 90px;
}

.navbar-brand {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  /* height: 2rem; */
  /* margin: 0.4rem 0 !important; */
  /* padding: 0 0 1vmin 0 !important;  */
}

.navbar-brand svg {
  width: 28vw;
  min-width: 18rem;
  max-width: 20rem;
  height: auto;
  margin: 0.1vmin 0 1vmin 0;
  padding: 1vmin 0;
}

.main-nav .navbar-brand .logo {
  padding-top: 6px;
  width: 280px;
}

/* POPUP */
#popup_dialog {
  display: block;
  background-color: #464646 !important;
  border: none !important;
  padding: 48px 30px 48px 30px;
}

.ui-widget-overlay {
  background: #000000 !important;
  opacity: 0.75 !important;
}

#popup_content {
  text-align: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin-top: 50px;
  /*border: 4px solid white;*/
}

.notinzip_content {
  padding-bottom: 128px;
}

.congrats_content {
  padding-bottom: 60px;
}

#popup_content h1 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 40px;
  font-weight: 600;
  /* font-family:'Caveat', cursive; */
}

.notinzip_content h1 {
  margin-top: 120px;
}

.congrats_content h1 {
  margin-top: 60px;
}

#popup_content .not-zip-p {
  font-size: 17px;
}

#popup_content .congrats-p {
  margin: 0 5px;
  font-size: 12px;
  padding: 0 20px;
  font-weight: 600;
}

#popup_content .congrats-img {
  padding: 10px;
  width: 155px;
}

#popup_button {
  -webkit-appearance: none;
  opacity: 1;
  width: 140px;
  height: 35px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1.5px;
  border-radius: 5px;
  color: white;
  background-color: #f22932 !important; /* background color of GET STARTED NOW CTA */
  border: 1px solid #f22932; /* border color for the form input fileds */
}

.notinzip_button {
  margin-top: 15px;
}

.congrats_button {
  margin-top: 65px;
}

.afterformsubmit {
  color: #fff;
  text-align: center;
  font-size: 30px;
  padding-top: 50%;
}

.afterformsubmitsmall {
  font-size: 18px;
  line-height: 1em;
  font-weight: 400;
}

/* ============================== MEDIA QUERIES ==================================== */

@media (min-width: 1300px) and (max-width: 1366px) {
  .afterformsubmit {
    padding-top: 0;
    margin-right: auto;
  }
} /* end of @media max-width: 768px  */

@media (max-width: 1200px) {
  .lead-form.white {
    margin-right: auto !important;
  }
}

@media (min-width: 991px) and (max-width: 1200px) {
  .roundup-bg {
    position: absolute;
    bottom: 108px;
    width: 640px;
    height: 358px !important;
    background: #d2d2d2;
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .navbar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navbar-brand svg {
    margin: 2vmin;
  }
}

@media (min-device-width: 415px) and (max-device-width: 768px) {
  .ui-dialog {
    top: -3507.53px !important;
    left: 29px !important;
  }
} /* end of @media max-width: 768px  */

@media (min-device-width: 376px) and (max-device-width: 414px) {
  .ui-dialog {
    position: relative;
    height: auto;
    top: -4118.88px !important;
    left: 31px !important;
    display: block;
  }

  .afterformsubmit {
    font-size: 22px;
  }

  .afterformsubmitsmall {
    font-size: 14px;
  }

  /* remove breakpoints in not zip dialog */
  .mobile_view {
    display: none;
  }

  #popup_content h1 {
    font-size: 50px;
  }

  .get-a-quote {
    font-size: 20px;
  }
} /* end of @media max-width: 414px  */

@media (min-device-width: 361px) and (max-device-width: 375px) {
  .ui-dialog {
    top: -4144.25px !important;
    left: 28px !important;
  }

  .afterformsubmit {
    font-size: 20px;
  }

  .afterformsubmitsmall {
    font-size: 14px;
  }

  #popup_content .not-zip-p {
    font-size: 15px;
  }

  /* remove breakpoints in not zip dialog */
  .mobile_view {
    display: none;
  }

  #popup_content h1 {
    font-size: 40px;
  }

  .btn {
    font-size: 20px;
  }
  .get-a-quote {
    font-size: 15px;
  }
} /* end of @media max-width: 375px  */

@media screen and (max-width: 360px) {
  .ui-dialog {
    top: -4144.25px !important;
    left: 28px !important;
  }

  .afterformsubmit {
    font-size: 20px;
  }

  .afterformsubmitsmall {
    font-size: 14px;
  }

  #popup_content .not-zip-p {
    margin: 10px;
    font-size: 14px;
  }

  .btn {
    font-size: 20px;
  }

  .get-a-quote {
    font-size: 15px;
  }
} /* end of @media max-width: 360px  */
