body, html {
  background-color: #fefefe;
}


.default-button {
  border-radius: 4px;
  display: inline-block;
  background-color: rgba(16, 151, 247, 0.5);
  border: none;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 18px 36px;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
  color: #ffffff;
}

@media screen and (max-width: 765px) {
  .default-button{
    margin: 0;
    width: 100%;
  }
}

.default-button:after {
  display: none;
  content: "";
  position: absolute;
  border-radius: 50%;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
  background-color: rgba(0, 0, 0, 0.247);
  width: 100px;
  height: 100px;
  margin-top: -50px;
  margin-left: -50px;
  top: 50%;
  left: 50%;
  -webkit-animation: ripple 1s;
          animation: ripple 1s;
  opacity: 0;
}

.default-button:hover{
  background-color: #1098F7;
  color: #ffffff;
}

.default-button:focus:not(:active)::after {
  display: block;
}

.popup-btn {
  border-radius: 5px;
  display: inline-block;
  border: none;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 12px 30px;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
  color: #fff !important;
}

.popup-btn:after {
  display: none;
  content: "";
  position: absolute;
  border-radius: 50%;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
  background-color: rgba(0, 0, 0, 0.247);
  width: 100px;
  height: 100px;
  margin-top: -50px;
  margin-left: -50px;
  top: 50%;
  left: 50%;
  -webkit-animation: ripple 1s;
          animation: ripple 1s;
  opacity: 0;
}

.popup-btn:focus:not(:active)::after {
  display: block;
}

.popup-btn.danger {
  background-color: #f27474;
}

.popup-btn.success {
  background-color: #1098F7;
}

.popup-btn.agree {
  background-color: #07f;
}

@-webkit-keyframes ripple {
  from {
    opacity: 1;
    -webkit-transform: scale(0);
            transform: scale(0);
  }
  to {
    opacity: 0;
    -webkit-transform: scale(10);
            transform: scale(10);
  }
}

@keyframes ripple {
  from {
    opacity: 1;
    -webkit-transform: scale(0);
            transform: scale(0);
  }
  to {
    opacity: 0;
    -webkit-transform: scale(10);
            transform: scale(10);
  }
}

/* ---------------------------------------------------------------- */
/* 05.Contact Form                                                   
/* ---------------------------------------------------------------- */

.contact-form-wrap{
  margin: auto;
}

.contact-form-wrap .contact-form-group {
  position: relative;
  margin-bottom: 30px;
}

.contact-form-wrap .contact-form-group > i {
  left: 14px;
  top: 14px;
  width: 32px;
  height: 32px;
  position: absolute;
  text-align: center;
  line-height: 32px;
  border-radius: 50%;
  display: inline-block;
  pointer-events: none;
  color: #1098F7;
  background: rgba(16, 151, 247, 0.2);

}

.contact-form-wrap .contact-form-group .form-control {
  height: 60px;
  color: #000;
  outline: none;
  padding: 0 60px;
  font-size: 15px;
  border: 1px solid #ccc; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

@media screen and (max-width: 765px) {
  .contact-form-wrap{
    margin: 50px 0 30px 0;
  }

  .contact-form-wrap .contact-form-group .form-control {
    font-size: 14px;
    width: 100%;
    margin: 0 auto;
  }
  .custom-checkbox{
    margin: 0 2%;
  }
  .contact-form-wrap .contact-form-group #txtInput{
    margin: 0;
  }
  .contact-form-wrap .contact-form-group #txtCaptchaSpan {
    margin: 0;
  }
}

.contact-form-wrap .contact-form-group .form-control:focus {
  outline:0 !important;
  -webkit-appearance:none;
  box-shadow: none !important;
}

.contact-form-wrap .contact-form-group #txtInput {
  padding-left: 90px;
  border: 1px solid #red; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */

}


.contact-form-wrap .contact-form-group #txtCaptchaSpan {
  position: absolute;
  top: 50%;
  height: 60px;
  padding-left: 14px;
  padding-right: 14px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: #1098F7;
  color: #fff;
  border-radius: 5px 0 0 5px;
}

.contact-form-wrap .contact-form-group textarea.form-control {
  height: auto;
  padding-top: 20px;
  resize: none;
}

.contact-form-wrap .empty-form span, .contact-form-wrap .email-invalid span, .contact-form-wrap .phone-invalid span, .contact-form-wrap .terms-alert span, .contact-form-wrap .subject-alert span, .contact-form-wrap .security-alert span {
  display: block;
  padding: 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  color: #721c24;
  background: rgba(242, 116, 116, 0.2);
}

#error_message {
  margin-top: 30px;
  display: block;
  padding: 20px;
  border-radius: 5px;
  word-break: break-word;
  background: rgba(242, 116, 116, 0.2);
  color: #721c24;
}

.danger-form-popup, .success-form-popup {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4444;
  display: none;
  position: fixed;
  text-align: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: rgba(0, 0, 0, 0.4);
}

.danger-form-popup.active, .success-form-popup.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.danger-form-popup.active .danger-form-popup-inner, .danger-form-popup.active .success-form-popup-inner, .success-form-popup.active .danger-form-popup-inner, .success-form-popup.active .success-form-popup-inner {
  display: block;
  -webkit-animation: fadeIn 1s ease forwards;
          animation: fadeIn 1s ease forwards;
}

.danger-form-popup-inner, .success-form-popup-inner {
  width: 450px;
  display: none;
  border-radius: 10px;
  background: #fff;
}

.success-form-popup .success-form-icon {
  height: 150px;
  line-height: 180px;
}

.success-form-popup .success-form-icon svg {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  fill: #1098F7;
  stroke: #1098F7;
  background: rgba(126, 46, 132, 0.1);
}

.success-form-popup .success-form-body {
  padding: 30px;
}

.success-form-popup .success-form-body p {
  margin-bottom: 30px;
}

.danger-form-popup-inner .danger-form-icon {
  height: 150px;
  line-height: 180px;
}

.danger-form-popup-inner .danger-form-icon svg {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  fill: #f27474;
  stroke: #f27474;
  background: rgba(242, 116, 116, 0.1);
}

.danger-form-popup-inner .danger-form-body {
  padding: 30px;
}

.danger-form-popup-inner .danger-form-body p {
  color: #000;
  margin-bottom: 30px;
}

.path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 0;
}

.path.circle {
  -webkit-animation: dash 0.9s ease-in-out;
          animation: dash 0.9s ease-in-out;
}

.path.line {
  stroke-dashoffset: 1000;
  -webkit-animation: dash 0.9s 0.35s ease-in-out forwards;
          animation: dash 0.9s 0.35s ease-in-out forwards;
}

.path.check {
  stroke-dashoffset: -100;
  -webkit-animation: dashCheck 0.9s 0.35s ease-in-out forwards;
          animation: dashCheck 0.9s 0.35s ease-in-out forwards;
}

@-webkit-keyframes dash {
  0% {
    stroke-dashoffset: 1000;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes dash {
  0% {
    stroke-dashoffset: 1000;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@-webkit-keyframes dashCheck {
  0% {
    stroke-dashoffset: -100;
  }
  100% {
    stroke-dashoffset: 900;
  }
}

@keyframes dashCheck {
  0% {
    stroke-dashoffset: -100;
  }
  100% {
    stroke-dashoffset: 900;
  }
}

.custom-control {
  padding: 0;
}

.custom-control .custom-control-input {
  position: relative;
}

.custom-control span {
  vertical-align: middle;
  margin-left: 14px;
  color: #3d4043;
  width: 95%;
  font-size: 12px;
  font-weight: 300;
  text-align: justify;
  text-justify: inter-word;
}

.custom-control span a {
  color: #0ac083;
}

@media screen and (min-width: 1920px) {
  .custom-control span {
    font-size: 14px; !important;
  }
}

@media screen and (max-width: 765px) {
  .custom-control span {
    font-size: 12px;
    width: 80%;
  }
  .form-validate-icons {
    right: 35px;!important;
  }
}

.custom-control .custom-control-label {
  margin-left: 0;
  width: 32px;
  height: 32px;
  outline: none;
  text-align: center;
  line-height: 32px;
}

.custom-control input[type="checkbox"] {
  opacity: 0;
}

.custom-control .custom-control-label {
  top: 20px;
  left: 0;
  width:32px;
  height: 32px;
  cursor: pointer;
  text-align: center;
  line-height: 32px;
  position: absolute;
  border: none !important;
  pointer-events: initial;
  border-radius: 50% !important;
  display: block;
  color: #1097F7;
  background: rgba(16, 151, 247, 0.2);
  font-size: 12px;
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
}

.custom-control-input:checked ~ .custom-control-label::before,
.custom-control-label:active::before,
.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
  border: none;
  content: "\f00c";
  color: #1097F7;
}

.custom-control-label::after {
  display: none;
}

.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
  outline: 0; !important;
}

.form-validate-icons {
  top: 0;
  right: 14px;
  height: 60px;
  position: absolute;
  line-height: 60px;
}

.form-validate-icons span {
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.form-validate-icons span:before {
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 32px;
  border-radius: 50%;
  color: #fff;
  display: inline-block;
  font-size: 14px;
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
}

.form-validate-icons span.error {
  opacity: 1;
  visibility: visible;
}

.form-validate-icons span.error:before {
  content: "\f00d";
  color: #f27474;
  background: rgba(242, 116, 116, 0.2);
}

.form-validate-icons span.success {
  opacity: 1;
  visibility: visible;
}

.form-validate-icons span.success:before {
  content: "\f00c";
  color: #0ac083;
  background: rgba(10, 192, 131, 0.2);
}

@media screen and (max-width: 576px) {
  .danger-form-popup-inner, .success-form-popup-inner, #termsPopup .terms-popup-inner {
    width: 85%;
  }
}

@media screen and (max-width: 765px) {
  .form-validate-icons {
    right: 20px;
  }
  .contact-form-wrap .contact-form-group > i{
    left: 20px;
  }
}

@-webkit-keyframes popupAnimate {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes popupAnimate {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}