/*
* **********************************
* ################################## ESTILOS DE FORMULARIOS
* **********************************
*/

/*
========================
======================== LABEL / INPUT (TEXT / PASSWORD / SUBMIT)
========================
*/

label{
    display: block;
    margin-bottom: 15px;
}
input[type="text"],
input[type="password"],
textarea{
    font-family: inherit;
    color: #999;
    font-size: 1em;
    border: 1px solid #CCC;
    width: 100%;
    padding: 13px;
    resize: none;

    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
    border: 1px solid #CCC;

    -webkit-box-shadow: 0px 0px 10px 0px rgba(204,204,204,1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(204,204,204,1);
    box-shadow: 0px 0px 10px 0px rgba(204,204,204,1);
}

input[type="text"].empty:focus,
input[type="password"].empty:focus,
textarea.empty:focus {
    border: 1px solid #FF4444;

    -webkit-box-shadow: 0px 0px 10px 0px rgba(265,68,68,1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(265,68,68,1);
    box-shadow: 0px 0px 10px 0px rgba(265,68,68,1);
}

/*
========================
======================== INPUT (RANGE)
========================
*/

input[type=range] {
    -webkit-appearance: none;
    margin: 10px 0;
    width: 100%;
}
input[type=range]:focus {
    outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000;
    background: #ffffff;
    border-radius: 10px;
    border: 0px solid #000000;
}
input[type=range]::-webkit-slider-thumb {
    box-shadow: 0px 0px 0px #000000;
    border: 1px solid #FF4444;
    height: 18px;
    width: 18px;
    border-radius: 25px;
    background: #FF4444;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -7px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
    background: #ffffff;
}
input[type=range]::-moz-range-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000;
    background: #ffffff;
    border-radius: 10px;
    border: 0px solid #000000;
}
input[type=range]::-moz-range-thumb {
    box-shadow: 0px 0px 0px #000000;
    border: 1px solid #FF4444;
    height: 18px;
    width: 18px;
    border-radius: 25px;
    background: #FF4444;
    cursor: pointer;
}
input[type=range]::-ms-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    color: transparent;
}
input[type=range]::-ms-fill-lower {
    background: #ffffff;
    border: 0px solid #000000;
    border-radius: 2px;
    box-shadow: 0px 0px 0px #000000;
}
input[type=range]::-ms-fill-upper {
    background: #ffffff;
    border: 0px solid #000000;
    border-radius: 2px;
    box-shadow: 0px 0px 0px #000000;
}
input[type=range]::-ms-thumb {
    box-shadow: 0px 0px 0px #000000;
    border: 1px solid #FF4444;
    height: 18px;
    width: 18px;
    border-radius: 25px;
    background: #FF4444;
    cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower {
    background: #ffffff;
}
input[type=range]:focus::-ms-fill-upper {
    background: #ffffff;
}

/*
========================
======================== INPUT (RADIO / CHECKBOX)
========================
*/

.control {
    display: block;
    position: relative;    
    /*margin-bottom: 5px;*/
    padding: 2px 0 0 27px;
    cursor: pointer;
    font-size: 12px;
}
.control input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.control-indicator {
    position: absolute;    
    background: #e6e6e6;

    width: 18px;
    height: 18px;
    top: 0;
    left: 0;

    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.control-radio .control-indicator {
    border-radius: 50%;
}
.control:hover input ~ .control-indicator{
    background: #ccc;
}
.control input:checked ~ .control-indicator {
    background: #52adde;
}
.control:hover input:not([disabled]):checked ~ .control-indicator{
    background: #52adde;
}
.control input:disabled ~ .control-indicator {
    background: #e6e6e6;
    opacity: 0.6;
    pointer-events: none;
}
.control-indicator:after {
    content: '';
    position: absolute;
    display: none;
}
.control input:checked ~ .control-indicator:after {
    display: block;
}
.control-checkbox .control-indicator:after {    
    width: 3px;
    height: 6px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);

    left: 7px;
    top: 4px;
}
.control-checkbox input:disabled ~ .control-indicator:after {
    border-color: #7b7b7b;
}
.control-radio .control-indicator:after {
    left: 6px;
    top: 6px;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: #fff;
}
.control-radio input:disabled ~ .control-indicator:after {
    background: #7b7b7b;
}

/*
========================
======================== SELECT
========================
*/

.select-custom-default {
    position: relative;
    /*display: inline-block;*/
    /*width: 100%;*/
}
.select-custom-default select {
    font-size: 1em;
    display: inline-block;
    width: 100%;
    cursor: pointer;
    padding: 13px;
    outline: 0;
    border: 1px solid #CCC;
    background: #FFF;
    color: #7b7b7b;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;    

    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

/* Somente para Firefox */
@-moz-document url-prefix(){
    .select-custom-default select {
        padding: 0 13px 0 13px;
    }
}

.select-custom-default select:focus {
    -webkit-box-shadow: 0px 0px 10px 0px rgba(204,204,204,1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(204,204,204,1);
    box-shadow: 0px 0px 10px 0px rgba(204,204,204,1);
}
.select-custom-default select option{
    font-size: 1em;
    padding: 13px;
}
.select-custom-default select::-ms-expand {
    display: none;
}
.select-custom-default select:hover,
.select-custom-default select:focus {
    color: #000;
    background: #ccc;
}
.select-custom-default select:disabled {
    opacity: 0.5;
    pointer-events: none;
}
.select-custom-default .select-arrow {
    position: absolute; 
    top: 50%;
    margin-top: -4px;
    right: 13px;
    pointer-events: none;

    border-style: solid;
    border-width: 8px 5px 0 5px;
    border-color: #7b7b7b transparent transparent transparent;
}
.select-custom-default select:hover ~ .select-arrow,
.select-custom-default select:focus ~ .select-arrow {
    border-top-color: #000;
}
.select-custom-default select:disabled ~ .select-arrow {
    border-top-color: #ccc;
}

/*
========================
======================== ANEXOS
========================
*/

.attachment{
    width: 250px;
    height: auto;
    display: block;
    margin-bottom: 15px;
    position: relative;
    margin: 0 auto;    
}
.attachment label{
    background-color: #34495E;
    margin: 0 auto;    
    padding: 15px 10px;
    text-align: center;
    color: #52adde;

    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.attachment:hover label{
    background-color: #1A2F44;
}
.attachment .attachment-file{
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    border: 0;
    cursor: pointer;
}

/*
========================
======================== BUTTONS
========================
*/

.btn{    
    display: inline-block;
    cursor: pointer;
    padding: 13px;
    background: #ff2a31;
    color: #fff;
    text-decoration: none;
    font-size: 1em;
    text-align: center;
    border: none;
    text-transform: uppercase;
    -webkit-appearance: none;

    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;

    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.btn:hover{
    background: #b41016;
}

/*
========================
======================== HIGHLIGHT
========================
*/

input[type="text"].field-error,
input[type="password"].field-error,
select.field-error,
textarea.field-error {
    border: 1px solid #F66358;
    -webkit-box-shadow: 0px 0px 10px 1px rgba(246,99,88,1);
    -moz-box-shadow: 0px 0px 10px 1px rgba(246,99,88,1);
    box-shadow: 0px 0px 10px 1px rgba(246,99,88,1);
}
input[type="text"].field-error:focus,
input[type="password"].field-error:focus,
select.field-error:focus,
textarea.field-error:focus {
    border: 1px solid #CCC;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(204,204,204,1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(204,204,204,1);
    box-shadow: 0px 0px 10px 0px rgba(204,204,204,1);
}
input[type="text"].field-warning,
input[type="password"].field-warning,
select.field-warning,
textarea.field-warning {
    border: 1px solid #FFA92B;
    -webkit-box-shadow: 0px 0px 10px 1px rgba(255,169,43,1);
    -moz-box-shadow: 0px 0px 10px 1px rgba(255,169,43,1);
    box-shadow: 0px 0px 10px 1px rgba(255,169,43,1);
}
input[type="text"].field-warning:focus,
input[type="password"].field-warning:focus,
select.field-warning:focus,
textarea.field-warning:focus {
    border: 1px solid #CCC;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(204,204,204,1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(204,204,204,1);
    box-shadow: 0px 0px 10px 0px rgba(204,204,204,1);
}
input[type="text"].field-info,
input[type="password"].field-info,
select.field-info,
textarea.field-info {
    border: 1px solid #46A7F5;
    -webkit-box-shadow: 0px 0px 10px 1px rgba(70, 167, 245, 1);
    -moz-box-shadow: 0px 0px 10px 1px rgba(70, 167, 245, 1);
    box-shadow: 0px 0px 10px 1px rgba(70, 167, 245, 1);
}
input[type="text"].field-info:focus,
input[type="password"].field-info:focus,
select.field-info:focus,
textarea.field-info:focus {
    border: 1px solid #CCC;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(204,204,204,1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(204,204,204,1);
    box-shadow: 0px 0px 10px 0px rgba(204,204,204,1);
}
input[type="text"].field-success,
input[type="password"].field-success,
select.field-success,
textarea.field-success {
    border: 1px solid #6ABC6D;
    -webkit-box-shadow: 0px 0px 10px 1px rgba(106, 188, 109, 1);
    -moz-box-shadow: 0px 0px 10px 1px rgba(106, 188, 109, 1);
    box-shadow: 0px 0px 10px 1px rgba(106, 188, 109, 1);
}
input[type="text"].field-success:focus,
input[type="password"].field-success:focus,
select.field-success:focus,
textarea.field-success:focus {
    border: 1px solid #CCC;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(204,204,204,1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(204,204,204,1);
    box-shadow: 0px 0px 10px 0px rgba(204,204,204,1);
}

/*
========================
======================== PLACEHOLDER
========================
*/

::-webkit-input-placeholder {
    color: #999;
    opacity: 1 !important; /* for older chrome versions. may no longer apply. */
}

:-moz-placeholder { /* Firefox 18- */
    color: #999;
    opacity: 1 !important;
}

::-moz-placeholder {  /* Firefox 19+ */
    color: #999;
    opacity: 1 !important;
}

:-ms-input-placeholder {
    color: #999;
}

/*
========================
======================== DIALOG
========================
*/

.sweet-overlay {
    background-color: rgba(243, 241, 239, 0.7);    
}
.sweet-alert button {
    background: #ff2a31 !important;

    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
}
.sweet-alert button:hover {
    background: #b41016 !important;
}