@media (max-width: 1200px) and (min-width: 768px) {

    .contact-form-currenge-popup div#close-up-btn {
        float: right;
    }

    .contact-form-currenge-popup .vc_btn3-container.vc_btn3-inline.close-up {
        margin-top: 0;
    }

    .contact-form-currenge-popup .contact-info {
        margin-top: 20px;
    }

    .contact-form-currenge-popup .wpb_button,
    .contact-form-currenge-popup .wpb_content_element,
    .contact-form-currenge-popup ul.wpb_thumbnails-fluid>li {
        margin-bottom: 10px;
    }

    .contact-form-currenge-popup textarea {
        margin-bottom: 0;
    }

    .contact-form-currenge-popup input[type="submit"] {
        margin-top: 0;
    }

    .contact-form-currenge-popup label {
        font-size: 15px;
    }

}


.forms h4 {margin-top: 25px}

.contact-form-currenge-popup div#close-up-btn {
    float: right;
}

.contact-form-currenge-popup .vc_btn3-container.vc_btn3-inline.close-up {
    margin-top: 0;
}

.contact-form-currenge-popup .contact-info {
    margin-top: 20px;
}

.contact-form-currenge-popup .wpb_button,
.contact-form-currenge-popup .wpb_content_element,
.contact-form-currenge-popup ul.wpb_thumbnails-fluid>li {
    margin-bottom: 10px;
}

.contact-form-currenge-popup textarea {
    margin-bottom: 0;
}

.contact-form-currenge-popup input[type="submit"] {
    margin-top: 0;
}

/*,#frmTransaction .error*/ 
.contact-form-currenge-popup .error,
#contact-form-hp-top-partial .error,
#contact-form-lead-form .error,
#faq-contact-form .error,
div#wpcf7-f2632-o1 form .error,
div#wpcf7-f6827-o1 form .error{
    border: 1px solid #f25165!important;
    background-image: url('../img/invalid_icon.svg');
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
}

#contact-form-lead-form.valid,
.contact-form-currenge-popup .valid,
#contact-form-hp-top-partial .valid,
#faq-contact-form .valid,
form .valid,
div#wpcf7-f2632-o1 form .valid,
div#wpcf7-f6827-o1 form .valid{
    border: 1px solid #008a00!important;
    background-image: url('../img/valid_icon.svg');
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
	background-color: #d3f8d3!important;
}

form .green_background{
	background-color: #d3f8d3!important;
}

textarea.wpcf7-not-valid, textarea.wpcf7-not-valid.valid-field, textarea.valid-field, textarea.valid{background-position: top 6px right 8px!important; overflow: auto;}

@media (max-width: 766px) and (min-width: 481px) {

    .tel>.intl-tel-input>.flag-container {
        width: 100%;
        max-width: none;
        position: relative;
    }
    #faq-contact-form label {
        font-size: 15px;
    }


}

.user-question>.user-question-form form .caption {
    margin-bottom: 22px;
}

.forms [type="radio"]:not(:checked) + .wpcf7-list-item-label, .forms [type="radio"]:checked + .wpcf7-list-item-label {
    z-index: 1;
}

input[type="radio"] {
    position: absolute;
    z-index: -1;
}


#divScreen2 .btn-box {
    margin-top: 20px;
}

/*Land Line Telephone*/

@media (min-width: 541px){
	label.tel_trans_land_line_aa,
	label.payor_contact_person_telephone_number,
	label.tel_label,
	#frmRegister input#telephone,
	label.tel_trans_firm,
	body.page-id-2886 label.tel_trans_firm,
	input#my_land_line_telephone_aa,
	input#beneficiary_contact_person_telephone_number,
	input#payor_contact_person_telephone_number	{
		margin-top: 0px/*!important*/;
		position: relative;
		top: -30px/*!important*/;}
}



@media (max-width: 540px) {
    label.tel_trans_land_line_aa,
    label.payor_contact_person_telephone_number,
	label.tel_trans_firm,
	label.tel_label{
        margin-top: 42px;
    }
}





/********** datepicker new validation ***********/

.page-template-page_transaction.page-template-page_transaction-php .way_of_conversion [type="radio"]:not(:checked) + .wpcf7-list-item-label,
.page-template-page_transaction.page-template-page_transaction-php .way_of_conversion [type="radio"]:checked + .wpcf7-list-item-label {
    position: relative;
    padding-left: 0;
    cursor: pointer;
    display: inline;
    height: 40px;
    width: 30px;
/*  z-index: 9999;  commented out on 01-12-2019 as it made appear on top of mobile Hamburger Menu*/
    top: -2px;
    padding-left: 25px;
}

@media (min-width: 541px){
	#tel_contact_person_transaction_form,
	label.tel_trans_firm,
	input#transaction-phone-step-2,
	label.payor_contact_person_telephone_number,
	input#my_telephone_bb_telephone,
	input#my_land_line_telephone_bb_telephone,
	input#land_line_telephone_company_telephone{
		position: relative;
		top: -30px;
	}
	
	
/*	input#transaction-phone-step-2,
	label.payor_contact_person_telephone_number{
		position: relative;
		top: -42px;
	}*/}






@media (max-width: 540px) {
	.forms .page-id-2886 label.transaction_email{
		margin-top: 20px;}
	.forms label.transaction_email {
		margin-top: 20px;}
}


@media (min-width: 541px){
	.page-id-2886 label.country_code_label{
		float: left;
		/*max-width: 120px*/}
	
	span.wpcf7-form-control-wrap.my_telephone_cc div.intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-4,
	span.wpcf7-form-control-wrap.my_telephone_aa div.intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-4,
	span.wpcf7-form-control-wrap.my_telephone_bb div.intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-4,
	{
		height:30px;
		max-height: 30px;}
	
	label.transaction_email,
	label.registration_email{
		margin-top: 0px;} 
}

/*fix 05-08-2020*/
.page-id-2808 ul.country-list,
.page-id-2886 ul.country-list{
	min-width: calc(100% - 2px)!important;
	max-width: calc(100% - 2px)!important
}


.forms .input.valid.validation_failed,
.forms .input.validation_failed  {
    border: 1px solid #f25165!important;
    background-image: url('../img/invalid_icon.svg');
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px 16px;
}

#bank_branch_number_label_input_payor,
#bank_branch_number_label_input_beneficiary {
    position: relative;
    top: -3px;
}





.onoffswitch {
    margin: 2px 29px 4px 25px;
}

#transfer_abroad .onoffswitch {
    margin: 4px 29px 4px 25px;
}

input[name="payor_contact_person_full_name"],
input[name="beneficiary_contact_person_full_name"] {
    margin-bottom: 15px!important;
}

input#auth_decl_input {
    width: 85px!important;
}

/* datepicker phone transaction form */
@media (max-width: 500px) {

    .forms .date-fields {
        position: relative;
        padding-right: 30px;
    }

    .forms .date-fields .date-trigger {
        right: 0px;
    }
}

input[name="authority_declaration_text"] {
    width: 80px!important;
    /*float: left!important;
    margin-right: 10px!important;
    position: relative!important;
    top: -5px!important;*/
}
/*
.authority_declaration .wpcf7-list-item.first.last {
    display: inline-block;
    float: left;
    margin-right: 10px;
}

#what_to_do_with_witholding_tax {
    clear: both;
}*/

#print_icon img {
    width: 70px;
    margin-top: 20px;
}

.share-tabs-control {
    padding: 0 0 0 20px;
    margin: 18px 0 0;
}

ul.circle {
	list-style-type: circle;
	list-style-position: outside;
	display: inline-block;
	text-align: left;
	margin-left: 0;
	padding-left: 1.3em}


/*10-12-2021*/
@media  (min-width: 895.1px) {
body.page-id-2808 #divScreen6 #bank_private_popup.spanCbLabel,
body.page-id-2808 #divScreen9 #bank_firm_popup.spanCbLabel{
    margin-left: 233px;
	margin-bottom: 4px;
	font-size: 18px; 
	margin-top: -30px;
	display: block;
	padding-left: 20px;}
}

@media (max-width: 895px) and (min-width: 589.1px) {
	body.page-id-2808 #divScreen6 #bank_private_popup.spanCbLabel,
	body.page-id-2808 #divScreen9 #bank_firm_popup.spanCbLabel,
	body.page-id-2808 #divScreen6 #bank_private_popup.spanCbLabel #bank-statement.a,
	body.page-id-2808 #divScreen9 #bank_firm_popup.spanCbLabel #bank-document.a{
		display: none!important;
		visibility: hidden!important;}
}
		

@media (max-width: 589px) and (min-width: 405px) {
	body.page-id-2808 #divScreen6 #bank_private_popup.spanCbLabel,
	body.page-id-2808 #divScreen9 #bank_firm_popup.spanCbLabel{
		margin-left: 233px;
		margin-bottom: 4px;
		font-size: 18px; 
		margin-top: -30px;
		display: block;
		padding-left: 20px;}
}

@media (max-width: 404px)  {
	body.page-id-2808 #divScreen6 #bank_private_popup.spanCbLabel,
	body.page-id-2808 #divScreen9 #bank_firm_popup.spanCbLabel,
	body.page-id-2808 #divScreen6 #bank_private_popup.spanCbLabel #bank-statement.a,
	body.page-id-2808 #divScreen9 #bank_firm_popup.spanCbLabel #bank-document.a{
		display: none!important;
		visibility: hidden!important;}
}



/*Adjusted to new font size of 18px: maegin + comment font size 19-05-2020*/
.quick-conversion,
.mid-market-match {
    margin-left: 190px;
	font-size: 18px;
}

#download_last_transaction_pdf_icon {
    cursor: pointer;
}

input#you_convert_transaction,
input#you_get_transaction {
    padding-left: 5px;
}

.after_table_content {
    margin-top: 20px;
}

body.page-id-2808 .email_company_contact {
    margin-top: 5px;
}

body.page-id-2808 .telephone_company_contact {
    margin-top: 15px;
}

body.page-id-2808 #company_info_as_contact_person{
    margin-top: 20px;
    margin-bottom: 20px;
}


#commentDetailsCongrat {
    margin-top: 15px;
}

#signatureForm .date-trigger {
    right: 0;
}

.your_personal_information_header {
    margin-left: 10px;
}

.your_personal_information_header h4 {
    margin: 0px 0px 5px 0px;
}

.your_personal_information_header p {
    margin-bottom: 15px;
}

.optional_header {
    margin-top: 20px!important;
    margin-bottom: 5px!important;
}

#signature_confirm {
    padding-left: 5px;
}

.signature_approve {
    margin-top: 20px;
}

input#phone {
    padding-left: 15px;
}


.page-id-3438 .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 .selected-flag,
.page-id-3444 .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 .selected-flag,
.page-id-3443 .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 .selected-flag,
.page-id-46 .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 .selected-flag,
.home .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 .selected-flag,
.tax-faq_cat .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 .selected-flag,
.post-type-archive-faq_questions .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 .selected-flag{
    width: 100%!important;
}


/*Width Fix Country Code on information page templates 27-05-2020*/
.page-id-3438 .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-2 .selected-flag,
.page-id-3438 .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-3 .selected-flag,
.page-id-3438 .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-5 .selected-flag,
.page-id-3444 .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-2 .selected-flag,
.page-id-3444 .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-3 .selected-flag,
.page-id-3444 .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-5 .selected-flag,
.page-id-3443 .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-2 .selected-flag,
.page-id-3443 .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-3 .selected-flag,
.page-id-3443 .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-5 .selected-flag,
.page-id-46 .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-2 .selected-flag,
.page-id-46 .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-3 .selected-flag,
.page-id-46 .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-5 .selected-flag,
.home .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-2 .selected-flag,
.home .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-3 .selected-flag,
.home .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-5 .selected-flag,
.tax-faq_cat .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-2 .selected-flag,
.tax-faq_cat .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-3 .selected-flag,
.tax-faq_cat .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-5 .selected-flag,
.post-type-archive-faq_questions .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-2 .selected-flag,
.post-type-archive-faq_questions .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-3 .selected-flag,
.post-type-archive-faq_questions .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-5 .selected-flag,
.page-template-default .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-2 .selected-flag,
.page-template-default .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-3 .selected-flag,
.page-template-default .intl-tel-input.allow-dropdown.separate-dial-code.iti-sdc-5 .selected-flag{
    width: 100%!important;
}




.label_error {
    color: #f25165;
}



.page-template-page_signature .label_error {
    color: #f25165;
}


.forms .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item label.just_check_box {
	padding-top: 0;
	padding-bottom: 0;
	padding-right: 0!important;
	padding-bottom: 0!important;
	margin: 0!important;}

#wpcf7-f2816-o1 #divScreen5 label.just_check_box ,
#wpcf7-f2816-o1 #divScreen7 label.just_check_box {
	padding-top: 10px!important;
	padding-bottom: 0px!important; /*5px!important; 18-06-2020*/
	margin: 0!important;}




.forms label.upload_file {margin-top: 0px!important}

.forms p.beneficiary_bank_present,
.forms p.your_information_bank_present,
.forms p.transfer_abroad_present,
.forms p.payor_bank_present {
	margin-top: 20px;
	margin-bottom: 5px}

div[data-id="tax_vat_account_num"]{
	padding-left: 28px}

//fix for Transfer Abroad Witholding tax at the percentage of file upload field placement 09-12-2019
.wpcf7-form span input#file-5 {
	padding: 0!important}

/*.wpcf7-form label[for="file-5"]{
		margin: 0!important
} fix 06-01-2022*/



//inner page alignment - transfer abroad 09-12-2019
div[data-id="what_to_do_with_witholding_tax"] div.child-inputs {
	padding-left: 28px!important}


input#auth_decl_input{
	margin-left: 28px!important}

div#commercial_invoice_document_hidden,
div[data-id="payment_circumstances"],
div[data-id="special_relationship_between_me_and_beneficiary_description"],
div[data-id="transfer_abroad"] div[data-id="tax_excemption"] {
	padding-left: 28px;
	max-width: calc(100% - 28px);
	width: calc(100% - 28px)}

.forms p#review_request {
	margin-bottom: 0!important}

.israeli_row {
	padding-top: 20px;
	padding-bottom: 5px}


#personal_profession,
.address_first_line{
	padding-top: 2px}

#submit_registration,
#send_signature{
	display: none!important}

.page-template-page_signature .gender_selection {
	margin-left: 15px!important;
	margin-right: 5px!important}

@media (max-width: 590px){
	div.forms div.narrow_field{
		width: calc(100% - 42px)!important;
		max-width: calc(100% - 42px)!important;
	}
}


div.result.results_hebrew{direction: ltr}

body.page-id-2886 p.document-warning,
body.page-id-2808 p.document-warning {
	margin-bottom: 20px;
	color: #0066CC;
	margin-top: 30px;
	}

body.page-id-2886 p.document-warning a,
body.page-id-2808 p.document-warning a {
	color: #0066CC;
}


// KYC elaboration questions padding
body.page-id-2808 div.forms.register-form-container #frmRegister div#divScreen10 div.input-col{
	padding: 0px!important}
body.page-id-2808 div.forms.register-form-container #frmRegister div#divScreen10 div.input-col div.white-row div.input-col.col-2{
	padding: 0px!important}


body.page-id-2886 span.beneficiary_country_of_residence div.ddChild,
body.page-id-2886 span.beneficiary_country_of_residence div.ddChild ul{
  max-height: 200px !important;  /* מגבלת גובה */
  overflow-y: auto !important;   /* מאפשר גלילה אנכית */
  overflow-x: hidden !important; /* מסתיר גלילה אופקית מיותרת */
  -webkit-overflow-scrolling: touch; /* גלילה חלקה במכשירים ניידים */
  
  /* ביטול עיצוב ברירת מחדל של הדפדפן */
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;

  position: relative !important; /* נדרש לפעמים ב-Chrome */
  z-index: 9999 !important;      /* מונע חיתוך בתפריטים */
}


body.page-id-2886 span.beneficiary_country_of_residence div.ddChild > ul {
  max-height: 200px !important;
  overflow-y: auto !important;
}


div.flag-container ul.country-list:not(.hide) li.country.highlight,
form div.selected-flag:focus,
form div.ddChild:focus,
form select.wpcf7-select:focus,
form input[type="number"]:focus,
form input[type="confirm_email"]:focus,
form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form input.datepicker-date[type="tel"]:focus,
form input.datepicker-months[type="tel"]:focus,
form input.datepicker-years[type="tel"]:focus,
form textarea.wpcf7-textarea:focus{
	font-weight: bold;
	color: black;
	font-size: 19px;
	background-color: #fffe7a !important;
}

body form #save-calc-form input[name="first_and_middle_name"]:focus,
body form #save-calc-form input[name="last_name"]:focus,
body form .saving_calculator_first_and_middle_name:focus,
body form .saving_calculator_last_name:focus {
    background-color: #fffe7a !important;
    font-weight: bold !important;
    color: black !important;
    font-size: 19px !important;
}


/* 2. Country Code Flag and Country List Highlighting */
/* When the flag container is active or when hovering over country options */
body form div.selected-flag:focus,
body div.flag-container ul.country-list li.country.highlight,
body div.flag-container ul.country-list li.country:hover {
    background-color: #fffe7a !important;
}

/* 3. Currency Dropdown (msDropdown) Highlighting */
/* Background for the main title when focused */
body form .dd.ddcommon.borderRadius.border:focus .ddTitle,
body form .dd.ddcommon.borderRadius.border.visible .ddTitle {
    background-color: #fffe7a !important;
}

/* Background for the dropdown list items when mouse touches/hovers them */
body form div.ddChild li:hover,
body form div.ddChild li.hover,
body form div.ddChild li.selected {
    background-color: #fffe7a !important;
    color: black !important;
}

/* Ensure the font remains bold and black during these states */
body form div.ddChild li:hover .ddlabel,
body div.flag-container ul.country-list li.country:hover .country-name {
    font-weight: bold !important;
    color: black !important;
}



/* Currenge Zoom on filled out fields not on signature pages on transaction and registration forms */

@media (max-width: 440px) {
    /* 1. SCOPE: Define the custom property on the parent elements */
    /* This sets the scaling factor variable only on steps that are not the signature pad */

	/* --scale-factor now defined on each relevant page.php page*/

    /* 2. STYLE: Target the input fields within the scoped area */
    /* This targets input fields on focus, relying on the parent to provide the variable */

	
	body.page-id-6734 textarea.wpcf7-textarea:focus,
	body.page-id-6734 input[type="text"]:focus,
	body.page-id-6734 input[type="email"]:focus,
	body.page-id-6734 input[type="tel"]:focus,	
	body.page-id-2633 textarea.wpcf7-textarea:focus,
	body.page-id-2633 input[type="text"]:focus,
	body.page-id-2633 input[type="email"]:focus,
	body.page-id-2633 input[type="tel"]:focus,
	body.page-id-6315 div.wpcf7 textarea.wpcf7-textarea:focus,
	body.page-id-6315 div.wpcf7 input[type="text"]:focus,
	body.page-id-6315 div.wpcf7 input[type="email"]:focus,
	body.page-id-6315 div.wpcf7 input[type="tel"]:focus,
	body.page-id-40 div.wpcf7 textarea.wpcf7-textarea:focus,
	body.page-id-40 div.wpcf7 input[type="text"]:focus,
	body.page-id-40 div.wpcf7 input[type="email"]:focus,
	body.page-id-40 div.wpcf7 input[type="tel"]:focus,
	body.page-id-2886 div.step:not(#divScreen10) input[type="text"]:focus,
	body.page-id-2886 div.step:not(#divScreen10) input[type="email"]:focus,
	body.page-id-2886 div.step:not(#divScreen10) input[type="tel"]:focus,
	body.page-id-2886 div.step:not(#divScreen10) input#you_convert_transaction[type="tel"]:focus,
	body.page-id-2886 div.step:not(#divScreen10) input#you_get_transaction[type="tel"]:focus,
	body.page-id-2886 div.step:not(#divScreen10) input.datepicker-date[type="tel"]:focus,
	body.page-id-2886 div.step:not(#divScreen10) input.datepicker-months[type="tel"]:focus,
	body.page-id-2886 div.step:not(#divScreen10) input.datepicker-years[type="tel"]:focus,
	body.page-id-2886 div.step:not(#divScreen10) textarea.wpcf7-textarea:focus,
	body.page-id-2886 div.step:not(#divScreen10) select.wpcf7-select:focus,
	body.page-id-2886 div.step:not(#divScreen10) div.ddChild:focus,
	body.page-id-2808 div.step:not(#divScreen22) select.wpcf7-select:focus,
	body.page-id-2808 div.step:not(#divScreen22) input[type="text"]:focus,
	body.page-id-2808 div.step:not(#divScreen22) input[type="email"]:focus,
	body.page-id-2808 div.step:not(#divScreen22) input[type="confirm_email"]:focus,
	body.page-id-2808 div.step:not(#divScreen22) input[type="tel"]:focus,
	body.page-id-2808 div.step:not(#divScreen22) input[type="number"]:focus,
	body.page-id-2808 div.step:not(#divScreen22) input.datepicker-date[type="tel"]:focus,
	body.page-id-2808 div.step:not(#divScreen22) input.datepicker-months[type="tel"]:focus,
	body.page-id-2808 div.step:not(#divScreen22) input.datepicker-years[type="tel"]:focus,
	body.page-id-2808 div.step:not(#divScreen22) div.ddChild:focus,
	body.page-id-2808 div.step:not(#divScreen22) textarea.wpcf7-textarea:focus{
    
        /* The logic below is correct */
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out !important;
        z-index: 1000;
		font-size: 19px;
        
        /* Apply the dynamic, calculated scale factor */
        transform: scale(var(--scale-factor)) !important;
        
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
        transform-origin: 50% bottom;
    }
}