@charset "utf-8";

.frm{}


.frm.nomargin{ margin: 0;}

    .field{
        margin: 0 5px 15px;
        position: relative;
    }

	.frm.grid .field{ margin: 0; }

    .field input, .field select{
        width: 100%;
        height: 33px;
        line-height: 33px;
        padding-left: 10px;
        background-color: #fff;
        box-shadow: 0 0 7px 0 rgba(222, 222, 222, 0.5);
        border-radius: 4px;
        font-size: 1rem;
        border: 1px solid #d8d8d8;
    }

	.field textarea {
        width: 100%;
        height: 100px;
        padding: 5px;
        resize: none;
        border-radius: 4px;
        background-color: #fff;
        box-shadow: 0 0 7px 0 rgba(222, 222, 222, 0.5);
        font-size: 1rem;
        border: 1px solid #d8d8d8;
    }
	.field textarea.big { height: 250px; }
    .field textarea.small { height: 2.2rem; }


    .field select[multiple]{
        height: 100px;
        padding: 8px;
    }
        .field select[multiple] option{
            padding: 2px 5px;
            margin: 1px 0;
        }
        .field select[multiple] option[value='']{ display: none; }

	.field input.loading, .field select.loading, .field .divInput.loading, .field textarea.loading{
        background-position: center right;
        padding-right: 22px;
        background-size: 20px;
        min-height: 2.2rem;
    }

    .field .suggest {
        width: 100%;
    }

    .field .label { display: block; }

    .frm .label em{ font-style: normal; font-size: .85rem; color: var(--text-light-color); }


/* RADIO BUTTON*/

 .radio{
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 33px;
}

        .radio > input{
            margin-right: 5px;
            background-color: #fff;
        }

        .radio > span{
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            -khtml-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }


.frm .radio .radio-btn{
    width: 18px;
    height: 18px;
    border-radius: 100%;
    background-color: #fff;
    border: 1px solid #d8d8d8;
    margin-right: 5px;
    position: relative;
    transition: all .2s ease-out;
}

.frm .radio .radio-btn:before{
    content:"";
    width: 0px;
    height: 0px;
    transition: all .2s ease-out;
}

.frm .radio input[type="radio"] {
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    position: absolute;
}

.frm .radio input[type="radio"]:checked + .radio-btn{ box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5); }

.frm .radio input[type="radio"]:checked + .radio-btn:before {
  content:"";
  width: 8px;
  height: 8px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 1;
  border-radius: 100%;
  background-color: var(--action);
}

/*CHECKBOX BUTTON*/

.checkbox{
    display: flex;
    align-items: center;
}

    .checkbox .checkbox-btn{
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
        background-color: #fff;
        border: 1px solid #b1b3b4;
        border-radius: 3px;
        margin-right: 8px;
        position: relative;
        transition: all .2s ease-out;
        cursor: pointer;
    }

    .checkbox .checkbox-btn:before{
        content:"\f00c";
        font-family: "FontAwesome";
        color: var(--action);
        cursor: pointer;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
        font-size: 1rem;
        opacity: 0;
        transition: all .2s ease-out;
    }

    .checkbox input[type="checkbox"]{
        opacity: 0;
        width: 0;
        height: 0;
        margin: 0;
        position: absolute;
    }
		.checkbox input[type="checkbox"]:checked + .checkbox{
			box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
			border:2px solid var(--action);
		}
		.checkbox input[type="checkbox"]:checked + .checkbox:before { opacity: 1; }



/* FORM Filter */
.frm-filter{
    background-color: #eee;
    padding: 10px;
}

.end-form {
    flex: 0 0 100%;
    display: flex;
    flex-wrap: wrap;    
	justify-content: flex-end;
}

.end-form.left{ justify-content: flex-start;}


/*FRM VALIDAR*/
input:-webkit-autofill {
    box-shadow: 0 0 0 1000px inherit inset !important;
}

.loading-padding{ padding-left: 22px !important; }
.error-padding{ padding-left: 22px !important; }
.ico-error{color:#bc0000; font-size: 16px !important; cursor: pointer;}


/*PLACEHOLDER*/
::-webkit-input-placeholder { color: #aaa;text-overflow: ellipsis; }
/* Firefox 18- */
:-moz-placeholder { color: #aaa; text-overflow: ellipsis;}
/* Firefox 19+ */
::-moz-placeholder {  color: #aaa; text-overflow: ellipsis;}
:-ms-input-placeholder {  color: #aaa; text-overflow: ellipsis;}
input[placeholder] { text-overflow: ellipsis; }
input:-moz-placeholder { text-overflow: ellipsis; }


/* DISABLED */
input:disabled {
    opacity: .5;
}
