.form-control::-webkit-input-placeholder { color: var(--grey); }
.form-control:-ms-input-placeholder { color: var(--grey); }
.form-control::placeholder { color: var(--grey); }

.form-control {
	border: 2px solid #EEEEEE;
	border-radius: 6px;
	color: var(--body-text-color);
	padding-right: 16px;
	padding-left: 16px;
	box-shadow: none;
	letter-spacing: .5px;
    font-size: 12px;
    min-height: 40px;
}

.form-control:hover,
.form-control:focus,
.form-control:active {
	box-shadow: none !important;
	color: var(--body-text-color);
}

.form-control:focus,
.form-control:active {
	border: 2px solid var(--secondary);
}

.form-control.is-invalid {
    border-color: var(--danger) !important;
    background-image: none;
    padding-right: 16px;
}

.invalid-feedback {
    color: var(--danger);
    line-height: 18px;
    margin-top: 8px;
    display: block;
}

.form-control[readonly] {
    background-color: var(--light);
    color: var(--grey);
}

.form-control.tbr_form_control-lg {
    font-size: 13px;
    padding-top: 4px;
    padding-right: 20px;
    padding-bottom: 6px;
    padding-left: 20px;
    min-height: 48px;
    border-radius: 8px;
}

.tbr_input_group_icon-right .form-control {
    border-radius: 8px !important;
    padding-right: 48px;
}

.tbr_input_group_icon-right .tbr_icon {
    position: absolute;
    right: 16px;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--body-txt-color) !important;
	-webkit-box-shadow: 0 0 0px 1000px #FFFFFF inset !important;
	transition: background-color 5000s ease-in-out 0s !important;
}

textarea.tbr_disables_resizing {
	resize: none !important;
}

.tbr_last_form_group .form-group:last-child {
	margin-bottom: 0 !important;
}

.tbr_form_required {
	color: var(--grey);
	font-size: 11px;
	display: block;
}

.input-group > .tbr_custom_file.custom-file .custom-file-input:focus~.custom-file-label, 
.input-group > .tbr_custom_file.custom-select:focus, 
.input-group > .tbr_custom_file.form-control:focus {
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
}

.input-group > .tbr_custom_file {
	min-height: 40px;
}

.input-group > .tbr_custom_file .custom-file-input {
	min-height: 40px;
}

.input-group > .tbr_custom_file .custom-file-label {
	border: none;
	color: var(--body-txt-color);
	min-height: 40px;
	height: initial;
	overflow: initial;
	padding-left: 100px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	overflow: hidden;
    width: 92%;
}

.input-group > .tbr_custom_file .custom-file-label::after {
	content: 'Upload';
	top: 0;
	right: initial;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	min-height: 2.5rem;
	height: initial;
	padding-right: 1rem;
	padding-left: 1rem;
	border-radius: 6px !important;
	letter-spacing: 0.5px;
	color: #FFFFFF;
	background-color: var(--secondary);
	/*box-shadow: var(--box-shadow-h-offset) var(--box-shadow-v-offset) var(--box-shadow-blur) rgba(var(--rgb-secondary), var(--box-shadow-opacity));*/
}

.input-group-prepend {
	border: 2px solid #EEEEEE;
	background-color: #FFFFFF;
	color: #777777;
	border-radius: 0.375rem 0 0 0.375rem;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4px 12px;
	margin-right: -2px;
}

.input-group-append {
	border: 2px solid #EEEEEE;
	background-color: #FFFFFF;
	color: #777777;
	border-radius: 0 0.375rem 0.375rem 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4px 12px;
	margin-left: -2px;
}

.tbr_fix_ig .input-group-prepend { width: 42px; }
.tbr_fix_ig .input-group-append  { width: 42px; }

.input-group.tbr_ig-btn .input-group-append {
	padding: 0;
	border: none;
}

.input-group.tbr_ig-btn .input-group-append,
.input-group.tbr_ig-btn .input-group-append .btn {
	height: 38px;
	min-height: 38px;
}

.custom-radio input[type="radio"]:checked + label:after,
.custom-radio input[type="radio"]:checked + label:after {
	content: '';
	position: absolute;
	background: #FFFFFF;
    border: none;
    width: 8px;
    height: 8px;
    border-radius: 8px;
    top: 7px;
    left: -18px;
}

.custom-radio label:before {
	content: '';
	position: absolute;
	background: #F0F2F4;
	border: none;
    top: 1px;
}

.custom-radio .custom-control-label::before,
.custom-control-label::after {
	content: '';
	position: absolute;
	left: 0;
	width: 20px;
	height: 20px;
}

input[type="radio"]:checked + label:after,
input[type="radio"]:checked + label:after {
	content: '';
	position: absolute;
	width: 8px;
	height: 8px;
	top: 10px;
	left: -18px;
}

.custom-radio .custom-control-label {
	padding-top: 1px;
	padding-left: 8px;
}

.custom-control-input.is-invalid~.custom-control-label,
.was-validated .custom-control-input:invalid~.custom-control-label {
	color: var(--danger);
}

.custom-checkbox .custom-control-label {
	padding-left: 8px;
}

.custom-control-input:checked~.custom-control-label::before {
	content: '';
	position: absolute;
	left: 0;
	border-color: var(--secondary);
	background-color: var(--secondary);
	width: 20px;
	height: 20px;
}

.custom-control-input:focus~.custom-control-label::before {
	content: '';
	position: absolute;
	box-shadow: none;
}

.custom-checkbox .custom-control-label::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 20px;
	height: 20px;
	background: #EEEEEE;
	border-radius: 4px !important;
	border: none;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
	content: '';
	position: absolute;
	background-color: var(--secondary);
}

.custom-control-input.is-invalid:checked~.custom-control-label::before,
.was-validated .custom-control-input:invalid:checked~.custom-control-label::before {
	content: '';
	position: absolute;
	border-color: var(--danger);
    background-color: var(--danger);
    box-shadow: none !important;
}

.custom-checkbox .custom-control-label::after {
	content: '';
	position: absolute;
	top: 0;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::after {
	content: '';
	position: absolute;
	left: 0;
	width: 20px;
	height: 20px;
	background-repeat: no-repeat;
	background-image: url('../svg/etc/Checkbox-Bg.svg');
	background-position: center !important;
	background-size: 69%;
}

.custom-control-input {
	left: 0;
	top: 2px;
	position: absolute;
}

.form-check-input {
	--bs-form-check-bg: #F0F2F4;
	transition: all .3s;
	border: none;
	width: 20px;
	height: 20px;
	margin-right: 8px;
	margin-top: 0;
}

.form-check-input:focus{
	box-shadow: none;
}

.form-check-input:checked {
	background-color: var(--secondary);
	border-color: var(--secondary);
  }