#header .p-header_wrap {
  display: fixed;
  justify-content: space-between;

}

#header .fixRight {
  position: fixed;
  right: 3px !important;
}

.navStyle {
  position: fixed !important;
  width: 100%;
  padding: 0;
  z-index: 999 !important;
}

#header a {
  outline: none;
  text-decoration: none;
  transition: all 0.2s ease-in-out 0s;
}

#header .d-flex img {
  width: 51px;
}

#header .bg-light {
  background: #fff !important;
  opacity: .9;
}

.dym-logo {
  width: 187px !important;
  object-fit: cover;
}

#header .navbar-brand {
  color: #00375C;
  font-size: 40px;
  font-weight: 400;
  padding-left: 50px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-items: center;
  font-weight: bold;
}

#header .navbar-brand img {
  width: 100%;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  #header .navbar-brand img {
    width: 100px;
  }
}

#header .p-headtel_txt {
  width: 370px;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  padding-left: 20px;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  height: 85px;
  background-image: -webkit-linear-gradient(left, #8bc53f, #009145);
}

#header .p-headtel_txt img {
  /* width: 70px; */
  /* height: 70px; */
  object-fit: cover;
  /* margin-right: 20px; */
}

.p-custom {
  height: 70px !important;
}

#header .navStyle .d-flex .p-headmail {
  display: flex;
  align-items: center;
  /* justify-content: center; */
  padding-left: 20px;
  height: 85px;
  width: 370px;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  background-image: -webkit-linear-gradient(left, #f6921e, #ec1c24);
}

#header .navStyle .d-flex .p-headmail img {
  /* width: 70px; */
  /* height: 70px; */
  object-fit: cover;
  margin-right: 20px;
}

#header .navStyle .d-flex .p-headtel:hover span {
  color: #c1d331;
}

#header .d-flex .p-headmail:hover {
  opacity: 0.8;
  transition: opacity 0.2s linear;
}

#header .navStyle .d-flex .p-headtel_txt:hover {
  opacity: 0.8;
  transition: opacity 0.2s linear;
}

#header .r-bar {
  position: absolute;
  width: 430px; /* for Chrome */
  top: 100px;
  right: 3px;
}
@-moz-document url-prefix() {
  #header .r-bar {
    width: 450px; /* for firefox */
  }
  #header .bt-right-form {
    margin-left: 3px;
    }
}

#header .r-top-bar {
  max-height: 50px;
}

.r-bar-content {
  position: relative;
  /* background-color: #f1f1f1; */
  width: 430px;
  /* height: 650px; */
  padding-top: 2px;
}

#header .r-main-bar {
  /* background-color: #ffffff; */
  width: 430px;
  /* height: 650px; */
  /* margin-left: 3px; */
  /* padding-left: 3px; */
}

#header .r-bar .r-top-title {
  background: #fff center no-repeat;
  width: 100px;
  height: 100px;
  margin-top: -15px;
}

#header .r-top-title-text {
  /*  margin: 10px 10px 0 10px;*/
  color: #000;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.13em;
  line-height: 1.696;
}

#header .r-top-form-right {
  color: #00375C;
  font-size: 28px;
  font-weight: 700;

  letter-spacing: 0.1em;
  line-height: 1.696;
}

#header .apply-text {
  color: #fff;
  font-size: .6rem;
  font-weight: 600;
  text-align: left;
  letter-spacing: 0.13em;
  padding: 10px 10px 0 5px;
}

#header .percent-text {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: left;
  letter-spacing: 0.13em;
  padding: 0 10px 10px 5px;
}

#header .form-right {
  padding: 10px 10px 0 10px;
}

.form-control {
  font-size: 18px !important;
  border-radius: 0;
  font-weight: 500;
}

@media (max-width: 767px) {
  .custom-form-col {
    width: 50% !important;
  }
}


#header .bt-right-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 65px;
  /* margin-left: 5px; */
  width: 100%;
  border: none;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  background-image: -webkit-linear-gradient(#f6921e, #ec1c24);
}

#header .bt-right-form:hover {
  opacity: 0.8;
  transition: opacity 0.2s linear;
}

#header .r-bar-content .r-main-bar .form-label {
  font-size: 16px !important;
  color: #00375C;
  font-weight: 700;
}

.custom-label {
  color: #333 !important;
}

#header .r-bar-content .r-main-bar .form-check-label {
  font-size: 16px !important;
  text-decoration: underline;
  color: #00375C;
  font-weight: 700;

}


::-webkit-input-placeholder {
  font-size: 18px !important;
}


#topNavSP, .contactDiv {
    display: none;
}

::-moz-placeholder {
  font-size: 18px !important;
}

/* firefox 19+ */
:-ms-input-placeholder {
  font-size: 18px !important;
}

/* ie */
input:-moz-placeholder {
  font-size: 18px !important;
}

#topNavSP {
  display: none;
}

/* Ads Contact Button */
#btn-contact.ads-contact {
  display: none;
}

@media screen and (max-width: 1499px) {
  .r-bar {
    display: none;
  }
}

@media screen and (max-width: 765px) {
  #topNavRight {
    display: none;
  }

  #topNavId {
    display: none;
    visibility: hidden !important;
  }

  #topNavSP, .contactDiv {
    display: block;
  }

  #headerSP {
    display: block;
  }

  #header .navbar-brand {
    color: #00375C;
    font-size: 2rem;
    font-weight: 700;
    height: 70px;
  }
  .navStyle {
    background-color: white;
    z-index: 999 !important;
  }
}

@media screen and (max-width: 767px) {
  /* Ads Contact Button */
  #btn-contact.ads-contact {
    margin: 0;
    display: flex;
    text-align: center;
    height: 60px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }

  #btn-contact.ads-contact i.br {
    content: "";
    white-space: pre;
    display: block;
  }

  #btn-contact.ads-contact span {
    font-size: 18px;
    color: var(--color-white-1);
    font-weight: 600;
  }

  #btn-contact.ads-contact .phone,
  #btn-contact.ads-contact .send-mail {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 60px;
  }
  
  #btn-contact.ads-contact .phone a,
  #btn-contact.ads-contact .send-mail a {
    text-decoration: none;
  }

  #btn-contact.ads-contact .phone img,
  #btn-contact.ads-contact .send-mail img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 5px;
    object-fit: contain;
  }

  #btn-contact.ads-contact .phone {
    background: var(--bg-cta-btn-green);

  }

  #btn-contact.ads-contact .send-mail {
    background: var(--bg-cta-btn-red);
  }
}

/** Mobile section**/
  #contactDiv {
    margin-top: -1px;
  }

  #contactDiv .r-barSP {
    width: 375px !important;
    /* height: 750px; */
    top: 80px;
    right: 3px;
    
  }

  #contactDiv .r-top-barSP {
    max-height: 100px;
    height: 80px;
    background-color: #f1f1f1;
  }

  .frm_container {
    padding: 0 20px;
  }

  #contactDiv .r-barSP-content {
    position: relative;
    background-color: #f1f1f1;
    width: 375px;
    /* height: 750px; */
    padding-top: 2px;
  }

  .mt-20 {
    margin-top: 20px !important;
  }

  #contactDiv .r-main-barSP {
    background-color: #ffffff;
    /* width: 370px; */
    /* height: 750px; */
    
    /* padding-left: 5px; */
  }

  #contactDiv .r-top-title-textSP {
    
    color: #00375C;
    font-size: 27px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.1em;
    line-height: 1.696;
/*    margin-left: 120px;*/
    /* margin-top: 20px; */
  }

  #contactDiv .r-top-titleSP {
    margin-top: -15px;
    padding-left: 10px;
    display: flex;
    align-items: center;
  }

  img.form-contact__img {
    object-fit: cover;
    height: 100%;
  }

  #contactDiv .imgRightNav {
     margin-top: -15px !important;
     width: 90px;
  }

  #contactDiv .r-form-title {
    float: right;
    display: flex;
    padding-right: 50px;
    align-items: center;
    margin-top: 7px;
  }

  #contactForm {
    background-color: white;
  }

  #contactForm .container {
    padding: 0 !important;
    margin-bottom: 30px;
  }

  #contactDiv .r-top-form-rightSP {
    color: #00375C;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.696;
  }

  #contactDiv .apply-textSP {
    color: #fff;
    font-size: .6rem;
    font-weight: 600;
    text-align: left;
    letter-spacing: 0.13em;
    padding: 10px 10px 0 5px;
  }

  #contactDiv .form-right {
     padding: 10px 0 10px 20px;
  }

  #contactDiv a {
    outline: none;
    text-decoration: none;
    transition: all 0.2s ease-in-out 0s;
  }

  #contactDiv input::placeholder,
  #contactDiv textarea::placeholder {
    opacity: 0.5;
  }

#contactDiv .bt-right-formSP {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 70px;
  border: none;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  background-image: -webkit-linear-gradient(left, #f6921e , #ec1c24);
}

#contactDiv .r-barSP-content .r-main-barSP .form-label {
  font-size: 16px !important;
  color: #00375C;
  font-weight: 700;
  
}

#contactDiv .r-barSP-content .r-main-barSP .form-check-label {
  font-size: 16px !important;
  text-decoration: underline;
  color: #00375C;
  font-weight: 700;
}


@media screen and (min-width: 500px) {
  #headerSP {
    display: none;
  }
}

@media screen and (min-width: 375px) and (max-width: 430px) {
  #contactDiv .r-barSP {
    width: 100% !important;
  }
  #contactDiv .r-barSP-content {
    width: 100% !important;
  }
}

#headerSP {
  position: absolute;
  right: 0;
}

#headerSP .navbar-brand {
  color: #00375C;
  font-size: 28px;
  font-weight: 800;
  padding-left: 70px;
  padding-top: 30px;
}

.error {
  color: red;
  font-weight: 500;
  margin-top: 5px;
}
.hidden {
  display: none;
}

.disabled {
  pointer-events: none;
  cursor: default;
  opacity: 0.5;
  background-image: linear-gradient(to right, rgb(100, 99, 99), rgb(100, 99, 99)) !important;
}

@media screen and (min-width: 1500px) and (max-width: 1919px) {
  #header .r-bar {
    width: calc(100% - 76%);
  }
  .r-bar-content {
    width: 100%;
    height: auto;
    background-color: transparent;
  }
  #header .r-main-bar {
    width: 100%;
  }
  #header .r-top-form-right {
    font-size: 22px;
  }
  #header .r-main-bar .r-top-title .imgRightNav {
    width: 85px !important;
  }
  #header .r-top-title-text {
    font-size: 1.5rem;
  }
  .r-top-padding-text {
    display: flex;
    align-items: center;
  }
  #header .r-bar .r-top-title {
    width: auto;
    margin-top: 0px;
    height: 80px !important;
    margin-left: 15px;
  }
  
  #header .form-right {
    padding: 15px 10px 0 15px;
  }
  .px-25 {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
  .mb-05 {
    margin-bottom: 0.7rem !important;
  }
  .form-label {
    margin-bottom: 0.2rem !important;
  }
  #header .bt-right-form {
    margin-left: 3px;
  }
}

@media screen and (min-width: 1400px) and (max-width:1750px) {
  #header .p-headtel_txt,#header .navStyle .d-flex .p-headmail {
    height: 68px;
    width: 296px;
    font-size: 26px;
  }
  .fix-title-header {
    font-size: 14px;
  }
  .fix-number-header {
    font-size: 30px;
  }
  .thk-title-header {
    font-size: 14px;
  }
  .thk-number-header {
    font-size: 30px;
  }
  #header .r-bar {
    top: 80px;
  }#header .r-top-title-text {
    font-size: 19px;
  }
  #header .r-top-padding-text img {
    width: 67px;
  }
  #header .r-top-bar {
    max-height: 40px;
  }
  #header .r-main-bar .r-top-title .imgRightNav {
    width: 68px !important;
  }
  #header .r-top-form-right {
    font-size: 18px !important;
  }
  .line-height-custom {
    line-height: 1.4;
  }
  .form-control {
    font-size: 15px !important;
  }
  #header .r-bar .r-top-title {
    height: fit-content !important;
    margin-bottom: 10px;
  }
  .fix-title-zoom {
    font-size: 16px;
  }
  .fix-number-zoom {
    font-size: 44px;
  }
}