/* last mod: 19.08.2022 */

.signature-container {
	position: relative;
	display: inline-block;
}

.signature-container > button {
	position: absolute;
	bottom: 0;
	left: 0;
}

.signature-canvas {
	display: block;
	border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem;
	touch-action: none;
}

.privacy_terms_checkbox_holder.invalid {
	border: 1px solid #dc3545;
}

.is-invalid.form-group-signature .signature-canvas {
	border: 1px solid #dc3545;
}

.is-invalid.form-group-signature:after {
	content: 'חובה למלא';
	color: #dc3545;
}


/* Custom Forms Grids */

.form-custom-grid:after {
	clear: both;
	display: block;
	content: '';
}

.form-custom-grid {
	background: #f1f1f1;
	padding: 1rem;
	border: 1px solid #ddd;
	margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
	.form-custom-grid > div {
		padding: .5rem 1rem;
		float: right;
	}
	.form-custom-grid-2 > div {
		width: 50%;
	}
	.form-custom-grid-3 > div {
		width: 33.33%;
	}
	.form-custom-grid-4 > div {
		width: 20%;
	}

	.form-custom-col-50 {
		width: 50%;
	}
	.form-custom-col-25 {
		width: 25%;
	}
	.form-custom-col-20 {
		width: 20%;
	}
	.form-custom-col-33 {
		width: 33.33%;
	}
}

.form-custom-grid .form-control {
    min-height: 40px; /* for fixing regular inputs to be in same height as date inputs */
}




/* Forms */
.form-steps-tabs-container {
	padding-top: 12px;
}

.form-steps-tabs {
	display: table;
	table-layout: fixed;
	width: 100%;
	text-align: center;
	margin-bottom: 2rem;
}

.form-steps-tabs .step-tab {
	display: table-cell;
	border-top: 5px solid #ddd;
	cursor: pointer;
}

.form-steps-tabs .step-tab-number {
	display: block;
	margin: 0 auto;
	margin-top: -1rem;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: #ddd;
	padding: .2rem;
	text-align: center;
	z-index: 2;
    position: relative;
}

.form-steps-tabs .step-tab.active {
	font-weight: bold;
}

.form-steps-tabs .step-tab.active .step-tab-number {
	background: #fffe33;
	box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.form-steps-tabs .step-tab.marked-success {
	/*border-top: 5px solid #61cc00;*/
	position: relative;
}

.form-steps-tabs .step-tab.marked-success:before {
	/*border-top: 5px solid #61cc00;*/
	content: '';
	display: block;
	position: absolute;
	background: #61cc00;
	height: 5px;
    width: 50%;
    top: -5px;
	
	width: 100%;
    left: 50%;
}
.form-steps-tabs .step-tab:first-child.marked-success:before {
	width: 50%;
	left: auto;
	right: 0;
}

.form-steps-tabs .step-tab.marked-success .step-tab-number {
	background: #61cc00;
}

.form-steps-tabs .step-tab.marked-error {
	/*border-top: 5px solid #ff8787;*/
	position: relative;
}
.form-steps-tabs .step-tab.marked-error:before {
	/*border-top: 5px solid #ff8787;*/
	content: '';
	display: block;
	position: absolute;
	background: #ff8787;
	height: 5px;
    width: 50%;
    top: -5px;
	
	width: 100%;
    left: 50%;
}
.form-steps-tabs .step-tab:first-child.marked-error:before {
    width: 50%;
	left: auto;
	right: 0;
}

.form-steps-tabs .step-tab.marked-error .step-tab-number {
	background: #ff8787;
}


@media (max-width: 991px) {
	.form-steps-tabs-container {
		overflow-x: auto;
		width: 100%;
		padding-top: 1rem;
	}
	.form-steps-tabs .step-tab {
		width: 100px;
	}
}

/* Saved Values Message */

.smart-form {
	position: relative;
}

.body-form-auto-save-message .alert {
	box-shadow: 0 0 30px rgba(0,0,0,.1);
}

.body-form-auto-save-message {
	position: absolute;
	top: -99px;
	left: 0;
}

/**/

.smart-form .add-required-sign:after,
.smart-form .form-group-required .col-form-as-legend:after,
.smart-form .form-group-required > label:after,
.smart-form .form-group-required legend:after {
	content: '*';
	color: #A30000;
}

.smart-form .form-group-required-with-text .col-form-as-legend:after,
.smart-form .form-group-required-with-text > label:after,
.smart-form .form-group-required-with-text legend:after {
	content: '(חובה) *';
	font-weight: normal;
}

[lang='ar'] .smart-form .form-group-required-with-text .col-form-as-legend:after,
[lang='ar'] .smart-form .form-group-required-with-text > label:after,
[lang='ar'] .smart-form .form-group-required-with-text legend:after {
	content: '(واجب) *';
}

.smart-form .required {
	color: #A30000;
	position: fixed;
	top: -999px;
}

.smart-form .required-live-text {
	color: #A30000;
	font-weight: normal;
}

.smart-form .form-group > label {
	font-weight: bold;
}

.smart-form .form-group > legend {
	font-weight: bold;
	font-size: 1rem;
}

.smart-form .col-form-legend.col-form-as-legend.h6 {
	font-weight: bold;
}

.smart-form legend.col-form-legend {
	font-weight: bold;
}
.smart-form .col-form-as-legend {
	font-weight: bold;
}

/**/

.smart-form fieldset.form-group.is-invalid {
	outline: 1px solid #dc3545 !important;
}
.smart-form fieldset.form-group.is-invalid:focus {
	outline: 2px solid #A30000 !important;
}

/**/

@media (max-width: 991px) {
	.form-group-table table,
	.form-group-table thead,
	.form-group-table tbody,
	.form-group-table tfoot,
	.form-group-table tr,
	.form-group-table th,
	.form-group-table td,
	.form-group-table caption {
		display: block;
	}
	
	.form-group-table thead {
		position: fixed;
		top: -999px;
		width: 1px;
		height: 1px;
		overflow: hidden;
	}
	
	.form-group-table tr {
		border: 1px solid #ddd;
		background: #f1f1f1;
		padding: 15px 0;
		margin-bottom: 15px;
	}
	
	.form-group-table td {
		border: 0 !important;
		width: 100%;
	}
}

/**/

@media (min-width: 992px) {
	.form-group-table td > label {
		position: fixed;
		top: -999px;
		right: -999px;
	}
}

/**/

.form-group-products.is-invalid {
	border: 1px solid #A30000;
}
.form-group-products.is-invalid:after {
	content: 'חובה לבחור לפחות פריט אחד';
	color: #A30000;
}

/**/

.smart-form-errors-alert:focus {
	border-color: #721c24;
	box-shadow: 0 0 0 0.2rem rgba(220,53,69,.25);
}
.smart-form-errors-alert a {
	color: #721c24;
}
.smart-form-errors-alert ul {
	margin-bottom: 0;
}

/**/

.form-group-radio label {
	display: inline;
}
	
	
/**/

.smart-form-errors-alert .h3:focus {
	outline: 1px dotted #000 !important;
}

/**/

.mark-field-to-fix {
	background: #fffdc9;
    padding: 10px;
}

/**/

.smart-form .select2-container {
	min-width: 100% !important;
}

.smart-form .select2-container .select2-selection--single {
    height: 38px;
}

.smart-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 37px;
}

.smart-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}
.smart-form .select2-container--default .select2-selection--single {
    border: 1px solid #ced4da;
}

/**/

.lock-with-loading {
	position: relative;
}

.lock-with-loading:before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(255,255,255,.5);
	backdrop-filter: blur(3px);
	z-index: 999;
}

.lock-with-loading:after {
	content: 'טוען...';
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999;
	font-size: 2rem;
}


/**/

.smart-form-boxed {
	background: #f1f1f1;
	border: 1px solid #ddd;
	border-radius: 5px;
	overflow: hidden;
	padding: 30px;
}

.smart-form-buttons-bar {
	background-color: #fff;
	padding: 15px;
	margin: -30px;
	display: flex;
}

.smart-form-buttons-bar.top {
	margin-bottom: 30px;
	box-shadow: 0 5px 5px rgba(0,0,0,.1);
}

.smart-form-buttons-bar.bottom {
	margin-top: 30px;
	box-shadow: 0 -5px 5px rgba(0,0,0,.1);
}

.smart-form-buttons-bar > div {
	flex-shrink: 0;
    flex-grow: 1;
}

.smart-form-buttons-bar .end {
	text-align: left;
}

/**/



.smart-form .saveDraftBtn {
	margin-left: 10px;
}

.smart-form button[type='submit'] {
	font-weight: bold;
}

.smart-form button[type='submit']:before {
	content: '\f1d9';
	font-family: 'FontAwesome';
	margin-left: 5px;;
}

.smart-form .next-step:after {
	content: '\f104';
	font-family: 'FontAwesome';
	margin-right: 5px;
}
.smart-form .prev-step:before {
	content: '\f105';
	font-family: 'FontAwesome';
	margin-left: 5px;
}

[dir="ltr"] .smart-form .next-step:after {
	content: '\f105';
}
[dir="ltr"] .smart-form .prev-step:before {
	content: '\f104';
}

/**/


.icons-input {
    text-align: center;
}

.icons-input > span {
    display: inline-block;
	padding: 10px;
}

.icons-input input {
    position: fixed;
	top: -999px;
}

.icons-input > span label {
    position: relative;
	padding: 0;
	margin: 0;
}

.icons-input > span > label:before {
	content: '';
	display: block;
    background-color: var(--shade);
    border-bottom: 2px solid var(--main);
    position: relative;
    width: 150px;
    height: 90px;
}

.icons-input > span > input:checked + label:before {
	outline: 2px solid var(--orange);
	border-bottom: 2px solid var(--shade);
}
.icons-input > span > input:checked + label {
	color: var(--orange);
	font-weight: bold;
}

.icons-input .material-symbols-outlined {
    position: absolute;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
    width: 150px;
    height: 90px;
	font-size: 50px;
	color: #064771;
}

/**/

.errors-title:focus {
	outline: 1px dotted #000 !important;
}

/* tooltips */

.ui-tooltip {
	display: block !important; /* תמיד מוצג */
}
.ui-tooltip, .tooltip-arrow:after {
	background: black;
}
.ui-tooltip {
	padding: 5px 15px;
	color: white;
	border-radius: 5px;
	text-transform: uppercase;
	box-shadow: 0 0 7px black;
}

/**/

@media (max-width: 991px) {
	.recaptcha-container {
		position: relative;
		height: 102px;
		width: 100%;
	}
	.recaptcha-holder {
		position: absolute;
		top: 0;
		left: 0;
	}
}