.hdf_form_container {
margin: 0 auto;
padding-bottom: 40px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.hdf_form_container *,
.hdf_form_container:before,
*:after {
-webkit-box-sizing: inherit;
-moz-box-sizing: inherit;
box-sizing: inherit;
}
.hdf_clear {
clear: both;
}
.hdf_error > .hdf_input,
.hdf_radio.hdf_error,
.hdf_checkbox.hdf_error,
.hdf_error > .hdf_date_text,
.hdf_error > .hdf_select_wrapper {
border: 1px solid red;
width: 100%;
}
.hdf_required_label {
color: #881b1b;
}
.hdf_radio.hdf_error,
.hdf_checkbox.hdf_error {
padding: 8px;
}
.hdf_form_message {
display: none;
text-align: center;
padding: 12px;
border: 1px solid #2d2d2d;
margin-bottom: 22px;
}
.hdf_style_full input[type="text"],
.hdf_style_full input[type="email"],
.hdf_style_full input[type="number"],
.hdf_style_full select,
.hdf_style_full textarea,
.hdf_style_full .hdf_date_text {
border: 2px solid #444;
background: transparent;
padding: 12px 12px;
display: block;
width: 100%;
margin-bottom: 12px;
color: #444;
}
.hdf_style_full .button {
border: 3px solid #444;
background: #444;
padding: 12px 16px;
display: inline-block;
color: #fff;
text-decoration: none;
}
.hdf_style_full .button:hover {
color: #fff;
background: transparent;
}
.hdf_check_row {
float: left;
margin: 0 0 12px 0;
width: 25%;
line-height: 1;
}
.hdf_one_half .hdf_check_row {
width: 49%;
}
.hdf_one_third .hdf_check_row {
float: none;
width: auto;
}
.hdf_form_container h2 {
font-size: 1.6em;
}
.hdf_form_container h3 {
font-size: 1.4em;
}
.hdf_form_container label {
display: block;
margin-bottom: 8px;
}
.hdf_form_container label.hdf_label_title {
font-weight: bold;
font-size: 1.2em;
}
.hdf_row {
margin-bottom: 22px;
}
.hdf_tooltip {
display: inline-block;
position: relative;
top: -4px;
color: #fff;
cursor: pointer;
width: 16px;
height: 16px;
text-align: center;
background: #526968;
border-radius: 50%;
font-weight: 400;
font-size: 10px;
}
.hdf_tooltip_content {
position: absolute;
top: calc(100% + 0.8rem);
font-size: 0.85rem;
width: 260px;
left: 50%;
line-height: 1.4;
margin-left: -130px;
background: #526968;
border-radius: 10px;
box-shadow: 0 -1px 10px rgba(72, 72, 72, 0.025),
0 10px 20px rgba(72, 72, 72, 0.05);
color: #fff;
padding: 2rem;
text-align: left;
pointer-events: none;
opacity: 0;
transform: translate3d(0, 30px, 0);
transition: all 0.3s cubic-bezier(0.1, 1, 0.9, 1);
transition-property: opacity, transform;
}
.hdf_tooltip_right .hdf_tooltip_content {
left: -80px;
}
.hdf_tooltip_right .hdf_tooltip_content::after {
margin-left: 78px;
}
.hdf_tooltip:hover .hdf_tooltip_content {
opacity: 1;
transform: translate3d(0, 0, 0);
z-index: 99999;
}
.hdf_tooltip_content::after {
content: "";
position: absolute;
bottom: 100%;
left: 50%;
margin-left: -10px;
display: block;
border-style: solid;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-bottom: 10px solid #526968;
}
.hdf_tooltip_content span {
display: block;
} .hdf_select_wrapper .hdf_select_row.hdf_select_selected {
border: 2px solid #2d2d2d;
display: block;
background: initial !important;
color: inherit !important;
}
.hdf_select_wrapper .hdf_select_row {
padding: 12px 22px;
display: none;
cursor: pointer;
border-bottom: 1px solid #555;
}
.hdf_select_wrapper .hdf_select_row:hover {
background: rgba(0, 0, 0, 0.7);
}
.hdf_select_row {
background: #2d2d2d;
color: #fff;
} .hdf_radio .hdf-options-check {
font-size: 24px;
}
.hdf_radio .hdf-options-check input[type="checkbox"] {
position: absolute;
opacity: 0;
display: none;
}
.hdf_radio .hdf-options-check label {
width: 2em;
height: 1em;
position: relative;
cursor: pointer;
display: block;
font-size: 22px !important;
}
.hdf_radio .hdf-options-check label:before {
content: "";
position: absolute;
width: 2em;
height: 1em;
left: 0.1em;
transition: background 0.1s ease;
background: #f25f5c;
border-radius: 50px;
box-shadow: inset 0px 1px 1px rgba(171, 66, 63, 0.5);
}
.hdf_radio .hdf-options-check label:after {
content: "";
position: absolute;
width: 1em;
height: 1em;
border-radius: 50px;
left: 0;
transition: all 0.2s ease;
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
background: #2d2d2d;
animation: hdf_switch-off 0.2s ease-out;
z-index: 2;
}
.hdf_radio .hdf-options-check input[type="checkbox"]:checked + label:before {
background: #72c474;
box-shadow: inset 0px 1px 1px rgba(84, 152, 140, 0.5);
}
.hdf_radio .hdf-options-check input[type="checkbox"]:checked + label:after {
animation: hdf_switch-on 0.2s ease-out;
left: 1.1em;
background: #efefef;
} .hdf_checkbox .hdf-options-check {
font-size: 24px;
}
.hdf_checkbox .hdf-options-check input[type="checkbox"] {
position: absolute;
opacity: 0;
display: none;
}
.hdf_checkbox .hdf-options-check label {
width: 2em;
height: 1em;
position: relative;
cursor: pointer;
display: block;
font-size: 22px !important;
}
.hdf_checkbox .hdf-options-check label:before {
content: "";
position: absolute;
width: 2em;
height: 1em;
transition: background 0.1s 0.1s ease;
border-radius: 4px;
background: #881b1b;
box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5),
0px 1px 0px rgba(255, 255, 255, 0.2);
}
.hdf_checkbox .hdf-options-check label:after {
content: "";
position: absolute;
width: 0.6em;
height: 0.6em;
left: 0.2em;
top: 0.2em;
border-radius: 4px;
transition: all 0.2s ease;
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
background: #f25f5c;
z-index: 2;
}
.hdf_checkbox .hdf-options-check input[type="checkbox"]:checked + label:before {
background: #72c474;
box-shadow: inset 0px 1px 1px rgba(84, 152, 140, 0.5);
}
.hdf_checkbox .hdf-options-check input[type="checkbox"]:checked + label:after {
animation: hdf_switch-on 0.2s ease-out;
left: 1.1em;
background: #efefef;
}
label.non-block {
display: inline-block !important;
margin-right: 12px !important;
}
@keyframes hdf_switch-on {
50% {
transform: scaleX(1.3);
}
}
@keyframes hdf_switch-off {
50% {
transform: scaleX(1.3);
}
}
.hdf_one_half {
width: 48%;
position: relative;
margin-right: 3%;
float: left;
}
.hdf_one_third {
width: 30.66%;
position: relative;
margin-right: 3%;
float: left;
}
.hdf_last {
margin-right: 0 !important;
clear: right;
}
.clear {
clear: both;
display: block;
font-size: 0;
height: 0;
line-height: 0;
width: 100%;
} .hdf_date_picker_model {
overflow-y: auto;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #fff;
display: none;
z-index: 999;
}
.hdf_date_picker_model_day,
.hdf_date_picker_model_month,
.hdf_date_picker_model_year {
width: 100%;
max-width: 800px;
margin: 0 auto;
background: #efefef;
margin-top: 5%;
}
.hdf_date_picker_model_day,
.hdf_date_picker_model_year {
display: none;
}
.hdf_date_item {
padding: 22px;
text-align: center;
cursor: pointer;
}
.hdf_date_item:hover {
background: #ddd;
}
.hdf_date_text {
cursor: pointer;
}
.hdf_one_seventh {
width: 11.66%;
position: relative;
margin-right: 3%;
float: left;
}
@media screen and (max-width: 45em) {
.hdf_date_picker_model .hdf_one_seventh {
width: 22% !important;
}
.hdf_date_picker_model .hdf_one_seventh:nth-child(4) {
margin-right: 0 !important;
}
.hdf_date_picker_model .clear {
display: none !important;
clear: none !important;
}
.hdf_date_picker_model_day,
.hdf_date_picker_model_month,
.hdf_date_picker_model_year {
margin-top: 0 !important;
}
.hdf_check_row {
float: none;
width: auto;
}
.hdf_one_half,
.hdf_one_third,
.hdf_last {
width: auto;
float: none;
margin: auto;
}
.hdf_tooltip_content {
position: fixed;
top: initial;
bottom: 10px;
width: 80%;
left: 10%;
margin: 0;
}
.hdf_tooltip_content::after {
display: none;
}
}