div.wpcf7 {
    margin: 0;
    padding: 1px;
    max-height: 800px;
    overflow-y: auto;
    box-sizing: border-box;
}

div.wpcf7 > * {
    margin: 0;
    padding: 0;
}

div.wpcf7::-webkit-scrollbar{
  width: 5px;
  margin: 0 5px;
}
div.wpcf7::-webkit-scrollbar-thumb {
    background: linear-gradient(to top, #00154c, #12376e, #23487f); /* Set the color of the scrollbar thumb */
    border-radius: 4px; /* Add some border-radius to make it look nicer */
}
div.wpcf7::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.wpcf7-submit:hover {
  background-color: #2592a9;
}
div.wpcf7 .screen-reader-response {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  width: 1px;
  margin: 0;
  padding: 0;
  border: 0;
}
.wpcf7 form{
  padding-right: 9px  ;
}
.wpcf7 .form-control {
  font-size: 14px;
}
.wpcf7-form-control-wrap select.form-control:not([size]):not([multiple]) {
    height: 38px;
}
.contact-form-7-demos li {
    margin-bottom: 10px;
}
span.file_type_des {
    font-size: 13px;
    font-style: italic;
    color: #999;
    margin-top: 5px;
    display: block;
}
.wpcf7-checkbox input[type="checkbox"] {
    vertical-align: -2px;
    margin-right: 3px;
}
input::-webkit-calendar-picker-indicator{
    display: none;
}
input[type="date"]::-webkit-input-placeholder{ 
    visibility: hidden !important;
}
.wpcf7 textarea {
  font-size: 13px !important;
}
.wpcf7 input {
/*  font-size: 13px;*/
}
.wpcf7-form-control-wrap .select_arrow {
  border-left: 1px solid #ccc;
  height: 38px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
}
.wpcf7-validates-as-number.wpcf7-range + .number_select {
    display: none;
}
.wpcf7 input.form-control {
    min-height: 38px;
}
.wpcf7-number.wpcf7-validates-as-number + .number_select {
    display: none;
}
.wpcf7-form-control-wrap .select_arrow::before {
  border-bottom: 2px solid #999;
  border-left: 2px solid #999;
  content: "";
  display: inline-block;
  height: 12px;
  left: 13px;
  position: absolute;
  top: 10px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  width: 12px;
}
.wpcf7-form-control-wrap select{
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}
.custom_choosefile {
  display: flex;
  -webkit-display: flex;
  position: relative;
}
.custom_choosefile .button_choosefile {
  align-items: center;
  -webkit-align-items: center;
  background: linear-gradient(to top, #00154c, #12376e, #23487f);
  color: #fff;
  display: flex;
  -webkit-display: flex;
  height: 100%;
  pointer-events: none;
  padding: 0 8px;
  font-size: 13px;
  position: absolute;
  border-radius: 0 10px 10px 0;
  right: 0;
  vertical-align: middle;
  white-space: nowrap;
}
.custom_choosefile .wpcf7-form-control.wpcf7-file {
  margin-top: 0;
}
.wpcf7-form-control-wrap {
  clear: both;
  display: block;
  position: relative;
}
.wpcf7 label {
  display: block;
  margin-bottom: 5px;
  text-align: left;
  font-weight: 600;
  font-size: 16px;
}
.ctf_click_open_contactform {
  padding: 8px 10px;
  position: relative;
/*  margin-top: 5px;*/
  border-radius: 10px;
  background: linear-gradient(to top, #00154c, #12376e, #23487f);
  transition: background 0.3s ease-in-out;
  border: 1px solid #00154c;
  margin:  5px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: capitalize;
  line-height: 15px;
  transition: background 0.3s ease; 
}

.header-nav .ctf_click_open_contactform{
  margin: 0 10px;
  padding: 13px 15px;
}
.card{
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.07);

}
.ctf_click_open_contactform:active,
.ctf_click_open_contactform:focus,
.ctf_click_open_contactform:hover{
  background: transparent !important;
  border: 1px solid #00154c !important;
  color: #00154c !important;
  transition: background 1.3s ease-in-out;
}
#product .ctf_click_open_contactform{
    margin-top: 10px;
}
.wpcf7-submit[disabled] {
  background-color: rgba(47, 181, 210, 1);
}
.wpcf7 label *:not(label) {
  font-weight: normal;
}
.acceptance-542 label{
  vertical-align: bottom;

}
.wpcf7 h3 {
  color: #333;
  margin-bottom: 20px;
  text-transform: uppercase;
}
li{
  list-style-type: none;
}
ul.contact-form-7-demos{
  padding: 0;
}
.wpcf7-submit {
  background: linear-gradient(to top, #00154c, #12376e, #23487f);
  border: medium none;
  border-radius: 5px;
  border: 1px solid #00154c;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
/*  margin-top: 10px;*/
  padding: 8px 20px;
  font-size: 14px;
/*  margin-bottom: 10px;*/
  text-transform: capitalize;
  letter-spacing: 1px;
  transition: background 0.3s ease; 
}
.wpcf7-submit:hover{
  border: 1px solid #00154c;
  background: transparent;
  color: #00154c;
}
.wpcf7 .form-control {
  margin-top: 5px;
  border-radius: 10px;
}
.contact-form-7-demos{
  display: flex;
  flex-wrap: wrap;
}
.contact-form-7-demos li{
  margin-right: 10px;
}
.contact-form-7-demos li a{
  background: linear-gradient(to top, #00154c, #12376e, #23487f);
  color: #fff !important;
  border-radius: 5px;
  border: 1px solid #00154c;
  transition: all 0.3s ease-in-out;
  font-size: 13px;
  text-transform: capitalize;
  letter-spacing: 1px;
}
.contact-form-7-demos li a:hover{
  background: transparent;
  transition: all 0.3s ease-in-out;
  color: #00154c;
}
.wpcf7-acceptance .wpcf7-list-item label{
  display: block !important;
  cursor: pointer;
}
input[type=radio]{
  width: 17px;
  height: 17px;
}
/*.wpcf7 label,*/
.wpcf7-list-item label{
  display: flex;
  align-items: center;
  cursor: pointer;
}
.wpcf7-list-item span{
  margin-left: 5px;
}
.contact-form-7-demos li a:hover{
   background: transparent;
   color: #00154c !important;
  transition: all 0.3s ease-in-out;
   border: 1px solid #00154c;
}
form > .wpcf7-form-control-wrap {
  margin-bottom: 15px;
}
.wpcf7-captcha {
  border: 1px solid rgba(0, 0, 0, 0.25);
  display: inline-block;
  height: 32px;
  padding: 4px 10px;
  vertical-align: -2px;
  width: 90px;
}
div.wpcf7-response-output {
  margin: 2em 0 1em;
  padding: 10px 1em;
}

div.wpcf7-mail-sent-ok {
  border: 2px solid #398f14;
}

div.wpcf7-mail-sent-ng,
div.wpcf7-aborted {
  border: 2px solid #ff0000;
}

div.wpcf7-spam-blocked {
  border: 2px solid #ffa500;
}

div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
  border: 2px solid #f7e700;
}

.wpcf7-form-control-wrap {
  margin-top: 10px;
  position: relative;
}
span.wpcf7-not-valid-tip {
  color: #f00;
  display: block;
  font-size: 12px;
  font-weight: normal;
  margin-top: 5px;
}
.wpcf7 label label {
  margin-bottom: 0;
}
.use-floating-validation-tip span.wpcf7-not-valid-tip {
  position: absolute;
  top: 20%;
  left: 20%;
  z-index: 100;
  border: 1px solid #ff0000;
  background: #fff;
  padding: .2em .8em;
}

span.wpcf7-list-item {
  display: inline-block;
  margin: 0 15px 5px 0;
  cursor: pointer;
  user-select: none;
}
input{
  cursor: pointer;
}
span.wpcf7-list-item-label::before,
span.wpcf7-list-item-label::after {
  content: " ";
}
.recruitment-form i{
  color: #a04646 !important;
}
.wpcf7-display-none {
  display: none;
}

div.wpcf7 .ajax-loader {
  visibility: hidden;
  display: inline-block;
  background-image: url('../img/ajax-loader.gif');
  width: 16px;
  height: 16px;
  border: none;
  padding: 0;
  margin: 0 0 0 4px;
  vertical-align: middle;
}

div.wpcf7 .ajax-loader.is-active {
  visibility: visible;
}

div.wpcf7 div.ajax-error {
  display: none;
}

div.wpcf7 .placeheld {
  color: #888;
}

div.wpcf7 .wpcf7-recaptcha iframe {
  margin-bottom: 0;
}

div.wpcf7 input[type="file"] {
  cursor: pointer;
}

div.wpcf7 input[type="file"]:disabled {
  cursor: default;
}
.ctf_click_open_contactform{
    cursor: pointer;
}
.ctf-popup-wapper {
  background-color: rgba(0, 0, 0, 0.6);
  bottom: 0;
  left: 0;
  margin: 0;
  opacity: 0;
  overflow: auto;
  position: fixed;
  top: 0;
  visibility: hidden;
  width: 100%;
  transition: opacity 0.5s ease;
}
.ctf-popup-wapper.show{
    opacity: 1;
  visibility: visible;
  z-index: 10000;
}
.ctf-popup-content {
  background-color: #fff;
  margin: 20px auto;
  padding: 20px 30px;
  position: relative;
  max-width: 800px;
  width: 90%;
  text-align: left;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.07);

}
.ctf-popup-table{
    display: table;
    width: 100%;
    height: 100%;
}
.ctf-popup-tablecell{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.ctf_close_popup {
/*  background-color: #333;*/
/*  border: 1px solid #fff;*/
/*  border-radius: 50%;*/
/*  box-shadow: 0 0 3px 1px #666;*/
/*  -webkit-box-shadow: 0 0 3px 1px #666;*/
/*  cursor: pointer;*/
/*  font-size: 0;*/
  height: 22px;
  position: absolute;
  right: -25px;
  top: -20px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
      transition: all 0.19s ease-in-out;
  width: 22px;
}
.ctf_close_popup svg{
  transform: rotate(45deg);
}
.ctf_close_popup svg path{
  fill: #fff;
}
.ctf_close_popup:before{
    /*content: "";
    width: 18px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate3d(-50%,-50%,0);
    -webkit-transform: translate3d(-50%,-50%,0);*/
}
.ctf_close_popup:after{
    /*content: "";
    height: 18px;
    width: 2px;
    background-color: #fff;
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate3d(-50%,-50%,0);
    -webkit-transform: translate3d(-50%,-50%,0);*/
}
.ctf_close_popup:hover{
  transform: rotate(360deg);
  -webkit-transform: rotate(360deg);
      transition: all 0.19s ease-in-out;

}
.rang-min {
  float: left;
  min-height: 30px;
  min-width: 1px;
}
.rang-max{
    float:right;
    min-height: 30px;
  min-width: 1px;
}
.wpcf7-range:focus {
  border-color: rgba(0, 0, 0, 0.25);
  outline: medium none;
}
.rang-value {
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}
br{
/*  display: none;*/
}
.wpcf7-list-item-label a{
  margin-top: 5px;
  display: inline-block;
}input[type=checkbox]{
  width: 17px;
  height: 17px;
}
@media (max-width: 479px){
    .ctf-popup-content {
        padding: 20px 15px;
    }
}
.ct7_eachaline{
    float: left;
    width: 100%;
}
.ct7_eachaline .wpcf7-radio .wpcf7-list-item,
.ct7_eachaline .wpcf7-checkbox .wpcf7-list-item{
    float: left;
    width: 100%;
}
.form-control:focus{
  outline: 0px solid #24b9d7;
}
/*#product,*/
.tvsubmit {
  text-align: center;
}
#content div.wpcf7{
  overflow-y: hidden !important ;
  max-height: fit-content; !important;
}
@media(max-width: 1200px){
  div.wpcf7{
    max-height: 500px;
  }
}
@media(max-width: 767px){
  #tv_cft_page .card-block{
    padding: 15px;
  }
  #tv_cft_page .card{
    background: #fff;
  }
}

@media(max-width: 575px){
  .wpcf7 label{
    font-size: 14px;
  }
  .ctf_click_open_contactform,
  .wpcf7-submit{
    font-size: 11px;
  }
  .ctf-popup-content{
    width: 84%;
  }
  .wpcf7 h3{
    font-size: 14px;
    margin-bottom: 15px;
  }
  .wpcf7-form-control-wrap{
    margin-top: 5px;
  }
  .wpcf7 label{
    margin-bottom: 0;
    font-size: 14px;
  }
  .wpcf7 input.form-control {
    min-height: 30px;
  }
  .wpcf7 .form-control{
    font-size: 12px;
  }
  .recruitment-form i {
    font-size: 13px;
  }
  .contact-form-7-demos li a,
  a.btn{
    font-size: 12px;
    padding: 8px 8px 9px !important;
  }
  .contact-form-7-demos li{
    margin: 5px;
  }
}
@media(max-width: 375px){
  .ctf-popup-content{
    width: 92%;
    max-width: 300px;
  }
  div.wpcf7{
    max-height: 350px;
  }
  .ctf_close_popup{
        right: 0px;
    top: -32px;
  }
}