/*
lamercanti form css
Author: Stefano Almonte Lalli
Version: 1.0
*/

form {
    margin:0;
    font-size: 20px;
}

button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    -webkit-font-smoothing: inherit;
    border: none;
    background: transparent;
/*
    line-height: normal;
*/
    font-family: 'Lato', sans-serif;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

label {
    cursor: text;
    margin: 0;
    padding: 0;
    left: 15px;
    top: 9px;
    position: absolute;
    color: #aaa;
    transition: all 0.3s ease;
}

label.active {
    top: -3px;
    font-size: 12px;
}

label.active.focusIn {
    color: #aaa;
}

select {
    background-image:url(/assets/img/form/dropdown-arrow.svg);
    background-position:95% center;
    background-size: 25px;
    background-repeat: no-repeat;
    -moz-appearance: none;
    cursor: pointer;
}

.select-label {
    font-size: 14px;
    font-weight: 300;
    line-height: 50px;
    float: left;
    text-align: right;
    padding-right: 10px;
}

html[dir="rtl"] .select-label {
    float: right;
    text-align: left;
    padding-right:0;
    padding-left: 10px;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

.has-error .error {
    box-shadow: 0 0 0 1px #cc0000;
}

.field-input select {
    color:#ddd;
}

.form-error {
    font-family: 'Lato', sans-serif;
    font-size:14px;
    font-weight:700;
    line-height: 16px;
    text-align: left;
    color:#ff0000;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    opacity:0;
    transform: scale(0.5);
    position: relative;
    top: -7px;
}

.fieldset .form-error {
    top: 0;
}

.alert-form-error {
    position: fixed;
    bottom:-100px;
    left:0;
    background-color:#cc0000;
    color:#fff;
    font-size:18px;
    font-weight: 400;
    line-height:100px;
    text-align: center;
    width:100%;
    height: 100px;
    z-index: 77;
}

.fieldset {
    position: relative;
    width: 100%;
    clear: both;
/*
    float: left;
*/
    padding: 0 8px;
    box-sizing: border-box;
    line-height: 20px;
}

.field {
    position: relative;
    width: 100%;
    float: left;
    padding: 8px;
    box-sizing: border-box;
    line-height: 30px;
}

html[dir="rtl"] .field {
    float: right;
}

.field.no-gap {
    padding: 5px 0;
}

.field.checkbox {
    padding: 0 0;
    line-height: 18px;
}

.field.no-shadow {
    padding: 7px 0 0 0;
}

@media (min-width: 750px) {
    .field-half {
        width: 50%;
    }
}

@media (min-width: 750px) {
    .field-col2 {
        width: 66.66667%;
    }
}

@media (min-width: 750px) {
    .field-col1 {
        width: 33.33333%;
    }
}

@media (min-width: 750px) {
    .field-col3-8 {
        width: 37.5%;
    }
}

@media (min-width: 750px) {
    .field-col3-4 {
        width: 25%;
    }
}

@media (min-width: 750px) {
    .field-col3 {
        width: 75%;
    }
}

.field-input {
    box-shadow: 0 0 0 1px #d5d5d5;
    background-color: #fff;
    color: #333;
    border-radius: 4px;
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 5px 8px;
    word-break: normal;
    outline: none;
    font-family: bariolregularitalic;
}

html[dir="rtl"] select.field-input {
    padding: 5px 45px 5px 8px;
}

.field-input.border-only-left {
    border-radius: 5px 0 0 5px;
}

.btn-disabled {
    cursor: default;
    background: #c8c8c8;
    box-shadow: none;
}

.input-btn {
	width: auto;
    white-space: nowrap;
    display: block;
    border-radius: 0 5px 5px 0;
    font-weight: 400;
    padding: 5px 30px;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    position: relative;
    background-color: #b1adac;
    color: #fff;
    box-shadow: 0 0 0 1px #d5d5d5;
    font-family: bariolbold;
}

.input-btn.full-border {
    width: 100%;
/*
    width: 90%;
*/
    border-radius:5px;
    font-size: 20px;
}

.input-btn.bg-green {
    background-color: #00ab00;
}

.input-btn.btn-adjacent {
/*
    height: 30px;
    top: 0;
*/
    padding: 5px 31px 5px 28px;
    outline: none;
}

@-moz-document url-prefix('') {
	.input-btn.btn-adjacent {
	    padding: 6px 27px 6px 28px;
	}
}

.login-btn {
    position: relative;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
    border-radius: 5px;
    background-color: #3ec596;
    color: #fff;
    height: 50px;
    line-height: 50px;
    font-size: 23px;
    font-weight: 400;
    display: block;
    text-align: right;
}

button:disabled,
.login-btn:disabled {
    opacity:0.5;
    cursor: default;
}

.input-btn.btn-inline {
    padding: 10px 30px;
}

.content-box {
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 0 0 1px #d9d9d9;
    height: 40px;
}

.content-box.pad-l15 {
    padding-left:15px;
}

.input-checkbox,
.input-radio {
    width: 18px;
    height: 18px;
    box-shadow: 0 0 0 0 #525252 inset;
    transition: all 0.2s ease-in-out;
    position: relative;
    cursor: pointer;
    vertical-align: -5px;
    outline: 0;
    border: 1px solid;
}

.input-radio {
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: -3px;
}

.input-checkbox {
    border-radius: 4px;
}

.input-checkbox:checked,
.input-radio:checked {
    border: none;
    box-shadow: 0 0 0 10px #525252 inset;
}

.input-checkbox,
.input-radio {
    border-color: #bbb;
    margin-right: 5px;
    background-color: #fff;
}

.input-checkbox:hover,
.input-radio:hover {
    border-color: #cccccc;
}

.input-checkbox:checked:after,
.input-radio:checked:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
}

.input-radio:checked:after {
    -webkit-transform: scale(0.2);
    transform: scale(0.2);
    transition: all 0.2s ease-in-out 0.1s;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
}

.input-radio:checked:after {
    width: 4px;
    height: 4px;
    margin-left: -2px;
    margin-top: -2px;
    background-color: #fff;
    border-radius: 50%;
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
}

.input-checkbox:after {
    width: 10px;
    height: 8px;
    margin-left: -5px;
    margin-top: -4px;
    background-image: url(/assets/img/form/checkbox-tick.svg);
    background-size: 10px 8px;
    background-repeat: no-repeat;
    background-position: center;
}

.input-checkbox:checked:after {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}

.radio-label,
.checkbox-label {
    cursor: pointer;
    width: 100%;
}

.radio-label {
    font-size: 20px;
    font-weight: 700;
    line-height: 40px;
}

.checkbox-label {
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
}

.login-label {
    margin-right:5px;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}

.label-radio-box {
    margin:0 0 0 30px;
    font-family: 'Lato', sans-serif;
    font-size:14px;
    font-weight:300;
    line-height: 16px;
    text-align: left;
}

.label-radio-box span {
    font-weight:700;
}

.text-caption {
    position: relative;
    display: block;
    margin:0 0 0 15px;
    padding: 0;
    font-family: 'Lato', sans-serif;
    font-size:14px;
    font-weight:300;
    line-height: 16px;
}

.text-mini {
    position: relative;
    display: block;
    margin:0;
    padding: 0;
    font-family: 'Lato', sans-serif;
    font-size:14px;
    font-weight:300;
    line-height: 16px;
}

.text-med {
    position: relative;
    margin: 0 0 0 0;
    padding: 0;
    clear: both;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 25px;
    text-align: left;
}

.text-label {
    position: relative;
    margin: 0 0 0 0;
    padding: 0;
    clear: both;
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 18px;
    text-align: left;
}

.content-box {
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 0 0 1px #d9d9d9;
    height: 50px;
}

.content-box.text-area {
    height: 150px;
}

textarea {
    margin: 0px;
    width: 100%;
    height: 150px;
    padding: 5px 8px;
    word-break: normal;
    outline: none;
    font-family: bariolregularitalic;
}

.check-captcha {
    position: relative;
    margin:15px 0 0 0;
    padding:0 0 0 0;
/*
    padding:0 0 0 20px;
*/
}

.check-captcha span {
    position: relative;
    margin:0 10px 0 0;
    padding:0 0 0 0;
    float: left;
    line-height: 44px;
}

.field a {
    color:#888;
    text-decoration: underline;
}

.field a:hover {
    color:#333;
    text-decoration: none;
}
