@import 'datepicker.css';

/* ----- CSS Reset ----- */

button, input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="tel"], input[type="url"], input[type="number"], input[type="submit"], textarea, select {font-family:Arial, sans-serif; font-weight:normal; border-radius:0; -webkit-appearance:none; appearance:none;}
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {margin:0; -webkit-appearance:none;}		
input[type="date"]::-webkit-calendar-picker-indicator, input[type="date"]::-webkit-inner-spin-button {display:none; -webkit-appearance:none;}
input {font-family:Arial, sans-serif; font-size:14px;}
textarea {overflow:auto; resize:none;}

/* ----- Template Styles ----- */

.content-form ::placeholder {color:#666;}

.content-form {padding:20px; background:#F7F7F7;}
.content-form fieldset {min-width:0;}
.content-form .info {margin:0 0 15px 0; font-size:12px; line-height:1.4em;}
.content-form .field .info {clear:both; margin:5px 0 0 0; line-height:20px; text-align:right;}

.content-form .field {position:relative; margin:0 0 15px 0;}
.content-form .field::after {clear:both; display:block; content:'';}
.content-form .field:not(.checkbox):not(.multicheckbox):not(.multiradio):not(.file) label {position:absolute; left:-9999px;}

.content-form .text input,
.content-form .email input,
.content-form .tel input,
.content-form .date input,
.content-form .textarea textarea,
.content-form .select .customSelect {float:left; width:100%; height:40px; margin:0; padding:10px; line-height:20px; font-size:15px; color:#000; border:1px solid #FFF; background:#FFF; box-sizing:border-box; transition:border-color 0.3s ease;}
.content-form .textarea textarea {height:auto; line-height:normal;}

.content-form .select select {display:block; width:100%!important; height:40px; line-height:20px; cursor:pointer;}
.content-form .select .customSelect {position:static!important; display:block!important; width:100%!important; max-width:100%; padding-right:50px; line-height:18px; color:#666; background-image:url('../images/bg-custom-select.svg'); background-position:right -5px; background-repeat:no-repeat; background-size:50px 50px; overflow:hidden;}
.content-form .select .customSelectInner {display:inline-block!important; width:100%!important; text-align:left; text-overflow:ellipsis; white-space:nowrap; overflow:hidden;}
.content-form .select .customSelectChanged {color:#000;}

.content-form .text input:focus,
.content-form .email input:focus,
.content-form .tel input:focus,
.content-form .date input:focus,
.content-form .textarea textarea:focus,
.content-form .select .customSelectFocus {border-color:#42abe8;}

.content-form .checkbox,
.content-form .multicheckbox,
.content-form .multiradio {padding:10px; background:#FFF;}

.content-form .multicheckbox .label,
.content-form .multiradio .label {margin:0 0 10px 0; line-height:1.4em;}

.content-form .multicheckbox .options .option,
.content-form .multiradio .options .option {margin:0 0 10px 0;}

.content-form .multicheckbox .options .option:last-child,
.content-form .multiradio .options .option:last-child {margin:0;}

.content-form .checkbox input,
.content-form .multicheckbox .options .option input,
.content-form .multiradio .options .option input {position:absolute; left:-9999px;}

.content-form .checkbox label,
.content-form .multicheckbox .options .option label,
.content-form .multiradio .options .option label {position:relative; display:block; padding:0 0 0 25px; line-height:20px; cursor:pointer;}

.content-form .checkbox label::before,
.content-form .multicheckbox .options .option label::before,
.content-form .multiradio .options .option label::before {position:absolute; top:3px; left:0; display:block; width:14px; height:14px; content:''; border:1px solid #272727; background:center center no-repeat #FFF; box-sizing:border-box;}
.content-form .multiradio .options .option label::before {border-radius:50%;}

.content-form .checkbox input:checked + label::before,
.content-form .multicheckbox .options .option input:checked + label::before,
.content-form .multiradio .options .option input:checked + label::before {background-image:url('../images/bg-input-checked.svg'); background-size:14px;}

.content-form .file {text-align:left;}
.content-form .file input {position:absolute; top:0; right:0; bottom:20px; left:0; width:100%; opacity:0; cursor:pointer;}
.content-form .file .custom-upload {position:relative; display:block; overflow:hidden; cursor:pointer;}
.content-form .file .custom-upload .file-name {display:block; width:100%; height:40px; padding:10px 70px 10px 10px; line-height:20px; font-size:15px; color:#666; text-overflow:ellipsis; border:1px solid #FFF; background:#FFF; box-sizing:border-box; white-space:nowrap; overflow:hidden;}
.content-form .file .custom-upload .file-name.selected {color:#000;}
.content-form .file .custom-upload .file-select {position:absolute; top:0; right:0; bottom:0; left:auto; width:70px; font-size:14px; text-align:center; line-height:38px; color:#FFF; background:#666; transition:all 0.3s ease;}
.content-form .file:hover .custom-upload .file-select {background:#000;}

.content-form .honeypot {display:none;}

.content-form .controls {margin:0;}
.content-form .controls .info {float:left;}
.content-form .controls .button {float:right;}

/* ----- Validation ----- */

.content-form .error-field div.error {position:absolute; top:-10px; left:-10px; width:20px; height:20px; text-indent:-9999px; border-radius:50%; background:url('../images/bg-error.svg') center center no-repeat #ff5c5c; background-size:10px;}
.content-form .error-field p.info {color:#ff5c5c;}
.content-form .controls p.error {margin:0 0 10px 0; padding:5px 10px; color:#FFF; font-size:14px; background:#ff5c5c;}
.content-form p.success {display:none; color:#58d180; font-weight:bold; font-size:18px;}
