/**
 * Variables
 */
/**
 * Base styles
 */
/*body,
html {
  background: #080616;
  font-family: "Roboto", sans-serif;
  text-align: center;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

h1 {
  font-size: 1.875rem;
  font-weight: 300;
  margin: 60px 0 30px 0;
  color: #fff;
}

button {
  background-color: #0D52E9;
  position: relative;
  color: #fff;
  border: none;
  padding: 1.25em 2em;
  font-size: 0.75em;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: background 0.25s cubic-bezier(0.55, 0, 0.1, 1);
}
button:hover {
  background: #0c4ddb;
}
button:focus {
  outline: none;
}*/

/**
 * Overlay
 * -- only show for tablet and up
 */
@media only screen and (min-width: 40em) {
  .modal-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.55, 0, 0.1, 1), visibility 0.9s cubic-bezier(0.55, 0, 0.1, 1);
  }
  .modal-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}
/**
 * Modal
 */
.modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto;
  background-color: #fff;
  width: 700px;
  max-width: 75rem;
  max-height: 40rem;
  padding: 1rem;
  border-radius: 3px;
  opacity: 0;
  overflow-y: auto;
  visibility: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: scale(1.2);
  transition: all 0.6s cubic-bezier(0.55, 0, 0.1, 1);
}
.modal .close-modal {
  position: absolute;
  cursor: pointer;
  top: 5px;
  right: 15px;
  opacity: 0;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.55, 0, 0.1, 1), transform 0.9s cubic-bezier(0.55, 0, 0.1, 1);
  transition-delay: 0.3s;
}
.modal .close-modal svg {
  width: 1.75em;
  height: 1.75em;
}
.modal .modal-content {
  opacity: 0;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.55, 0, 0.1, 1);
  transition-delay: 0.3s;

    position: absolute !important;
    top: 0 !important;
}
.modal.active {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}
.modal.active .modal-content {
  opacity: 1;
}
.modal.active .close-modal {
  transform: translateY(10px);
  opacity: 1;
}
.g-recaptcha{
  display: inline-block !important;
  width: 100%;
}
.g-recaptcha div{
  margin: auto !important;
  /* width: 300px; */
  width: 260px !important;
}
.c-form .send-wrap{
  width: 100% !important;
}
.c-form .send-wrap button{
  margin: auto !important;
}
#bg-popup{
  padding: 20px 0px !important;
}
#bg-popup span{
 color: #fff !important;
}


/**
 * Mobile styling
 */
@media only screen and (max-width: 39.9375em) {
  h1 {
    font-size: 1.5rem;
  }

  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* -webkit-overflow-scrolling: touch; */
    border-radius: 0;
    transform: scale(1.1);
    padding: 0 !important;
  }

  .close-modal {
    right: 20px !important;
  }
}

@media (max-width: 320px){
.modal{
    max-height: 100% !important;
  }
    .g-recaptcha div{
  margin: 0 !important;
  width: 300px !important;
  /* width: 260px !important; */
  }
  .modal-content form{
    margin: 0 !important;
  }
}
@media (min-width: 321px) and (max-width: 380px){ /*Anand New*/
  .modal{
    max-height: 100% !important;
  }
    .g-recaptcha div{
  margin: 0 !important;
  width: 300px !important;
  }
  .modal-content form{
    margin: 0 !important;
  }
}
@media (min-width: 381px) and (max-width: 480px){ /*Anand New*/
.modal{
    max-height: 100% !important;
  }
    .g-recaptcha div{
  margin: 0 !important;
  width: 300px !important;
  }
  .modal-content form{
    margin: 0 !important;
  }
}