.sdform .form_right, .sdform .form_left,
.sdform .form_right *, .sdform .form_left * {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 100%;
}

.sdform .sdfe_content {
	width: 100%;
}
.sdform.sdform_align_0 .sdfe_content {
	padding: 5px 0 !important;
}
.sdform.sdform_align_1 .sdfe_content {
	padding: 0 !important;
}
.sdform .form_width {
	/* Custom values width: 90%; */
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
}
@media (max-width: 767px) {
	.sdform .form_width {
		width: 100% !important;
	}
}
@media (min-width: 1000px) {
	.sdform .sdfe_content.width_sdext_50 {
		width: 48%;
	}
	.sdform .sdfe_content.width_sdext_33 {
		width: 31%;
	}
}
.sdform .inside {
	width: 100%;
}
.sdform .form_right, .sdform .form_left {
	min-height: 37px;
}
.sdform.sdform_align_0 .form_left label {
	height: 34px !important;
	line-height: 34px !important;
	overflow: hidden;
	text-align: left;
}
.sdform.sdform_align_1 .form_left label {
	padding-top: 10px;
	padding-bottom: 4px;
	line-height: 1.5rem !important;
}

.sdform_type_2 .form_left label {
	font-weight: bold !important;
}

@media (min-width: 767px) {
	.sdform_align_0 .inside {
		display: flex;
		flex-direction: row;
		align-items: stretch;
		justify-content: space-between;
	}
	.sdform_align_0 .form_left {
		/* Custom values width: 200px; flex: 0 0 200px; */
	}
	.sdform_align_0 .form_right {
		flex-grow: 1
	}
}

/* RIGHE */

.sdform .row {
	width: 100%;
	margin: 0;
}

/* PARAGRAFI */

.sdform p {
	margin: 8px 0;
}

/* INPUT */

.sdform .form_right input[type="text"],
.sdform .form_right input[type="password"],
.sdform .form_right input[type="email"],
.sdform .form_right input[type="url"],
.sdform .form_right input[type="tel"] {
	width: 100%;
	height: 34px !important;
	padding: 5px 10px !important;
	line-height: 34px !important;
	background: #FFF;
}

/* SELECT */

.sdform .form_right select {
	width: 100%;
	height: 34px !important;
	padding: 0 35px 0 10px !important;
	line-height: 34px !important;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: #FFF url("images/arrow_down.svg") top -4px right -3px no-repeat;
	background-size: 43px 43px;
}
@media (min-width: 767px) {
	.sdform_align_0 .form_right select {
		margin-bottom: 8px;
	}
}

/* TEXTAREA */

.sdform .form_right textarea {
	width: 100%;
	min-height: 100px;
	padding: 5px 10px !important;
	margin-bottom: 8px;
	resize: vertical;
	background: #FFF;
}

/* CHECKBOX + RADIOBUTTON */

.sdform .radio_element label {
	flex: 1;
}
.sdform .checkbox label {
	flex: 1;
	padding: 10px 0;
}
.sdform .radio_element, .sdform .checkbox {
	padding-left: 0;
}
.sdform .form_right input[type="radio"],
.sdform .form_right input[type="checkbox"] {
	margin: 0 8px 0 -20px;
	padding: 0;
}
.sdform .form_right .radio_element input[type="radio"],
.sdform .form_right .check_element input[type="checkbox"] {
	margin: 0 8px 0 0;
	padding: 0;
}
.sdform .form_right .check_element, .sdform .form_right .radio_element {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.sdform.sdform_align_0 .form_right.check_multirows, .sdform.sdform_align_0 .form_right.radio_multirows {
	padding-top: 6px;
}
.sdform.sdform_align_1 .form_right.check_multirows, .sdform.sdform_align_1 .form_right.radio_multirows {
	padding-top: 5px;
}
.sdform .form_right.check_multirows, .sdform .form_right.radio_multirows {
	padding-bottom: 6px;
}
.sdform .form_right.check_inline, .sdform .form_right.radio_inline {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
}
.sdform .form_right.check_inline .check_element, .sdform .form_right.radio_inline .radio_element {
	padding-right: 30px;
}

/* CALENDARIO */

.sdform .calendar .form_right input {
	height: 34px !important;
	padding: 5px 10px !important;
	margin-right: -4px;
	background: #FFF;
}
.sdform .calendar .form_right button {
	height: 34px !important;
	padding: 3px 12px 0 12px;
}
.sdform .calendar .input-append {
	margin-bottom: 12px;
}
.sdform .calendar th, .sdform .calendar td {
	padding: 8px 0;
}
.sdform .calendar .buttons-wrapper {
	padding: 5px;
}

/* GRIGLIA */

.sdfe_table_responsive {
	display: block;
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.sdform .table_grid {
	width: 100%;
	margin-bottom: 8px;
}
.sdform .table_grid tr:nth-child(even) td {
	background: #F5F5F5;
}
.sdform .table_grid td, .sdform .table_grid th {
	padding: 5px;
	text-align: center;
	border: 1px solid #ddd;
}
.sdform .table_grid td:first-child, .sdform .table_grid th:first-child {
	text-align: left;
}
.sdform .table_grid th:first-child {
	border-top: 0 !important;
	border-left: 0 !important;
}
.sdform .table_grid .empty_cell {
	background: none !important;	
}
.sdform .table_grid input {
	margin: 0 auto !important;
	float: none !important;
}

/* UPLOAD */

.sdform .upload input {
	width: 150px;
	height: 34px;
	margin-bottom: 6px;
	color: transparent;
}
.sdform .upload input::-webkit-file-upload-button {
	visibility: hidden;
}
.sdform .upload input::before {
	width: 148px;
	height: 32px;
	line-height: 32px;
	/* Custom values content: 'Select'; */
	color: #333;
	display: inline-block;
	background: #F5F5F5;
	border: 1px solid #CCC;
	border-radius: 3px;
	padding: 0;
	outline: none;
	-webkit-user-select: none;
	cursor: pointer;
	text-align: center;
}
.sdform .upload input:hover::before {
	border-color: #CCC;
}
.sdform .upload input:active::before {
	background: #F5F5F5;
}
.sdform .upload input:focus {
	outline: none !important;
}

.sdform .upload .form_right {
	display: flex;
	align-items: center;
}
.sdform .upload .form_right .sdfe_count {
	padding-left: 10px;
	margin-bottom: 6px;
}

/* ALERT */

.sdform .alert {
	width: 100%;
	margin: 25px auto;
	padding: 10px 0;
	clear: both;
}

/* CAPTCHA */

.sdform .captcha .form_right {
	text-align: center;
}
.sdform .captcha .g-recaptcha {
	margin-top: 8px;
	display: inline-block;
}	
.sdform .captcha .form_empty {
	display: none;
	visibility: hidden;
}

/* BOTTONI */

.sdform .inside.sdfe_button {
	margin: 1rem 0;
	text-align: center;
	justify-content: center;
}

/* SPAZIO LATERALE */

.sdform_align_1 .form_empty {
	display: none;
	visibility: hidden;
}
@media (max-width: 767px) {
	.sdform .form_empty {
		display: none;
		visibility: hidden;
	}
}

/* CARICAMENTO */

.sdform_cover {
	width: 100%;
	height: 100%;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.7);
	z-index: 100000;
}
.sdform_loading {
	display: none;
	z-index : 100001;
}
.sdform_loading .sdform_modal {
	position: fixed;
	top: 40%;
	left: 50%;
	z-index: 100002;
	width: 560px;
	margin-left: -280px;
	background-color: #ffffff;
	border: 1px solid #999;
	border: 1px solid rgba(0, 0, 0, 0.3);
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	outline: none;
	-webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
	box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding-box;
	background-clip: padding-box;
}
.sdform_loading .sdform_modal .modal-header {
	background-color: #f7f7f7;
	-webkit-border-top-left-radius: 6px;
	-moz-border-top-left-radius: 6px;
	border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	-moz-border-top-right-radius: 6px;
	border-top-right-radius: 6px
}

/* HONEYPOT */

.sdhp {
	display: none;
	visibility: hidden;
}