/*Messages*/
.form-error {
    color: rgba(255, 0, 0, 0.5);
}

.form-notice {
    color: rgba(0, 0, 255, 0.5);
}

.form-info {
    color: rgba(0, 0, 255, 0.5);
}

.form-success {
    color: rgba(0, 0, 0, 0.5);
}

.btm-like-submit:visited,
.btm-like-submit:link {
    color: gray;
    text-decoration: none;

    width: 100%;

    border-radius: 12.5px;
    padding: 6.25px 12.5px;
    margin: 12.5px 0;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.btm-like-submit:hover,
.btm-like-submit:active {
    color: black;

}

/*INPUTS*/
input {
    /*display:block;*/
    width: 100%;


    border: 0 solid;
    border-bottom-width: 1px;
    background-color: transparent;

    /*border-radius: 12.5px;*/
    padding: 6.25px 12.5px;

    margin: 12.5px 0;

    font-family: OpenSans-Italic;
    color: black;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

@media only screen and (max-width: 768px) {
    textarea,
    input,
    label,
    .form-select,
    .input-placeholder,
    .input-placeholder-textarea,
    .form-checkbox,
    .form-radio {
        font-size: .85em;
    }
}

@media only screen and (min-width: 768px) {
    textarea,
    input,
    label,
    .form-select,
    .input-placeholder,
    .input-placeholder-textarea,
    .form-checkbox,
    .form-radio {
        font-size: 1em;
    }
}



textarea:focus,
input:focus {
    outline: none !important;
    border-bottom-width: 2px;

}

textarea:placeholder,
input:placeholder {
    color: black;
    opacity: 1;
    /* Firefox */
}


input[type=submit],
input[type=reset],
input[type=submit]:focus,
input[type=reset]:focus {
    color: gray;
    border: none;
    box-shadow: none;
    font-weight: normal;
}

input[type=submit]:hover,
input[type=reset]:hover {
    color: black;

}

textarea {
    resize: none;
    width: 100%;

    border: 1px solid #4d4d4d;
    background-color: transparent;
    border-radius: 12.5px;
    padding: 6.25px 12.5px;

    margin: 12.5px 0;

    font-family: OpenSans-Italic;
    color: black;

}

/*INPUTS WHIT LEFT PLACEHOLDER */

.input-placeholder,
.input-placeholder-textarea {

    position: relative;

}

/*fuck apple fix*/
.input-placeholder input::-webkit-date-and-time-value {
    text-align: right;
}

.input-placeholder input[type='date']:not(.has-value):before,
.input-placeholder input[type='time']:not(.has-value):before,
.input-placeholder input[type='datetime-local']:not(.has-value):before {
    content: attr(placeholder);
    color: transparent;
}

.input-placeholder input,
.input-placeholder-textarea textarea {

    text-align: right;

}

.input-placeholder-textarea textarea {
    padding: 31.25px 12.5px 12.5px 12.5px;
}

.input-placeholder::after,
.input-placeholder-textarea::after {
    position: absolute;
    pointer-events: none;

    content: attr(data-placeholder);

    text-align: left;
    color: black;
    font-family: OpenSans-Italic;
}

.input-placeholder::after {
    left: 12.5px;
    top: 50%;
    transform: translate(0, -50%);
}


.input-placeholder-textarea::after {
    left: 12.5px;
    top: 31.25;
    transform: translate(0, -50%);
}

/*CUSTOM CHECKBOX-RADIO*/

/* The container */
.form-checkbox,
.form-radio {
    display: block;
    position: relative;
    padding: 12.5px;
    margin-bottom: 12px;
    cursor: pointer;

    /*background-color: red;*/

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.form-checkbox input,
.form-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;

}

.form-radio input {
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.form-checkmark {
    position: absolute;

    top: 50%;
    right: 0;
    transform: translate(-50%, -50%);

    height: 25px;
    width: 25px;

    /*background-color: rgba(255, 255, 255, .75);*/
    border: 1px solid black;
    border-radius: 6.25px;
}

.form-radio .form-checkmark {
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.form-checkbox:hover input~.form-checkmark,
.form-radio:hover input~.form-checkmark {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    /*background-color: rgba(0, 0, 0, .75);*/
}

/* When the checkbox is checked, add a blue background */
/*.form-checkbox input:checked~.form-checkmark,
.form-radio input:checked~.form-checkmark {
    background-color: rgba(0, 0, 0, .75);
}*/

/* Create the checkmark/indicator (hidden when not checked) */
.form-checkmark:after,
.form-radio:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.form-checkbox input:checked~.form-checkmark:after,
.form-radio input:checked~.form-checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.form-checkbox .form-checkmark:after,
.form-radio .form-checkmark:after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 50%;
    height: 50%;

    background: black;
}

.form-checkbox .form-checkmark:after {
    border-radius: 3.125px;
}

.form-radio .form-checkmark:after {
    border-radius: 50%;
}
