/*	FORMULARIO
	----------*/
.form-group {
    margin-bottom: 1rem;
    display: inline-block;
    vertical-align: top;
    width: 100%;
}
.form-group label{
    display: inline-block;
    margin-bottom: 0.5rem;
}
.form-group label.large{
	padding-top: calc(0.5rem + 1px);
	font-size: 1.015625rem;
	line-height: 1.5;
}
.form-group label.small{
	padding-top: calc(0.25rem + 1px);
	font-size: 0.7109375rem;
	line-height: 1.5;
}
.form-control{
	display: block;
	width: 100%;
	height: calc(1.5em + 2rem);
	
	padding: 1rem 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: #666;
	background-color: transparent;
	background-clip: padding-box;
	border: 0rem solid transparent;
	border-radius: 0;
	-webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
	transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
	box-sizing: border-box;
	    -webkit-box-shadow: inset 0 -1px 0 #ddd;
    box-shadow: inset 0 -1px 0 #ddd;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}
.form-control:focus {
    -webkit-box-shadow: inset 0 -2px 0 #2196F3;
    box-shadow: inset 0 -2px 0 #2196F3;
}
.form-control.large{
	  height: calc(2.5234375rem + 0rem);
	  padding: 1.015625rem 0;
	  font-size: 1.015625rem;
	  line-height: 1.5;
	  border-radius: 0;
}
.form-control.small{
      height: calc(1.56640625rem + 0rem);
      padding: 0.8125rem 0;
      font-size: 0.7109375rem;
      line-height: 1.5;
      border-radius: 0;
}
.form-control.success{
    border-color: #4CAF50;
}
.form-control.success:focus{
    border-bottom: none;
    -webkit-box-shadow: inset 0 -2px 0 #4CAF50;
    box-shadow: inset 0 -2px 0 #4CAF50;
}
.form-mess.success{
	color: #73A839;
	margin-top: 0.25rem;
	display: block;
	font-size: 80%;
	font-weight: 400;
}
.form-control.danger{
    border-color: #e51c23;
}
.form-control.danger:focus{
	border-bottom: none;
    -webkit-box-shadow: inset 0 -2px 0 #e51c23;
    box-shadow: inset 0 -2px 0 #e51c23;
    background-color: white;
}
.form-mess.danger{
	color: #e51c23;
	margin-top: 0.25rem;
	display: block;
	font-size: 80%;
	font-weight: 400;
}
.form-control::-webkit-input-placeholder {
  color: #a0a9b3;
  opacity: 1;
  font-weight: 300;
  font-size:inherit;
}
.form-control:-ms-input-placeholder {
  color: #a0a9b3;
  opacity: 1;
  font-weight: 300;
  font-size:inherit;
}
.form-control::-ms-input-placeholder {
  color: #a0a9b3;
  opacity: 1;
  font-weight: 300;
  font-size:inherit;
}
.form-control::placeholder {
  color: #a0a9b3;
  opacity: 1;
  font-weight: 300;
  font-size:inherit;
}
.form-control:disabled, .form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}
button, input {
    overflow: visible;
}
input, button, select, optgroup, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
textarea.form-control {
  height: auto;
}
.form-check-input {
    position: absolute;
    margin-top: 0.3rem;
    margin-left: -1.25rem;
}
input[type="radio"], input[type="checkbox"] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}
textarea {
	  resize: vertical;
}
.form-check {
    position: relative;
    display: block;
    padding-left: 1.25rem;
}
select.form-control[size], select.form-control[multiple] {
  height: auto;
}
.form-check-label {
    margin-bottom: 0;
}
/*	INPUT TEXT PERSONALIZADO
	------------------------*/
.input-group-text{
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	width: 100%;
	justify-content: normal;
}
.input-group-text .prepend,
.input-group-text .append {
  display: flex;
   -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 1rem 0;
  margin-bottom: 0;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  color: #666;
  text-align: center;
  white-space: nowrap;
  background-color: transparent;
  border: 0rem solid transparent;
  border-radius: 0;
}
.input-group-text .prepend{
	padding-right: 0.25rem;
}
.input-group-text .append{
	border-top-right-radius: 0;
  	border-bottom-right-radius: 0;
}
.input-group-text .form-control{
	width: calc(100% - 5.2rem);
	display: flex;
	border-radius: 0;
	border-right: 0;
	border-left: 0;
	z-index: 1;
}
/*	INPUT FILE UPLOAD PERSONALIZADO
	-------------------------------*/
.input-group-file-upload{
	width: 100%;
	flex-wrap: wrap;
	align-items: stretch;
	position: relative;
}
.input-group-file-upload .form-control{
    position: absolute;
    z-index: 2;
    width: 100%;
    height: calc(2.81875rem + 0rem);
    margin: 0;
    opacity: 0;
}
.input-group-file-upload label{
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
	transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
	transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
	position: relative;
	top: 0;
	right: 4em;
	left: 0;
	z-index: 1;
	padding: 0.375rem 0.75rem;
	line-height: 1.5;
	color: #495057;
	background-color: #fff;
	border: 1px solid transparent;
	width: calc(100% - 4rem - 1.5rem);
	display: inline-block;
	margin: 0;
}
.input-group-file-upload label:active{
    color: #495057;
    background-color: #fff;
    border-color: #9acffa;
    outline: 0;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
          box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
}
.input-group-file-upload label::after {
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 3;
  display: block;
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  color: #495057;
  content: "Seleccionar";
  background-color: #ffffff;
}
.input-group-file-upload button{
	display: inline-block;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	padding: 0.375rem 0.75rem;
	margin-bottom: 0;
	font-weight: 400;
	line-height: 1.5;
	color: #495057;
	text-align: center;
	white-space: nowrap;
	background-color: #fff;
	border-right: 1px solid transparent;
	border-bottom: 1px solid transparent;
	border-top: 1px solid transparent;
	border-left: 0px;
	border-bottom-right-radius: 0.25rem;
	border-top-right-radius: 0.25rem;
	height: calc(2.25rem + 2px);
	width: 4rem;
	margin: -4px;
}
.input-group-file-upload button:hover{
	background-color: #d7dadd;
}
.input-group-file-upload button:active{
	background-color: #cbced1;
}
/*	INPUT FILE PERSONALIZADO
	------------------------*/
.input-group-file{
	width: calc(100% - 1.6rem);
	flex-wrap: wrap;
	align-items: stretch;
	position: relative;
}
.input-group-file .form-control{
    position: absolute;
    z-index: 2;
    width: 0%;
    height: calc(2.25rem + 2px);
    margin: 0;
    opacity: 0;
}
.input-group-file label:active{
	color: #495057;
	background-color: #fff;
	border-color: #a1d6f4;
	outline: 0;
	-webkit-box-shadow: 0 0 0 0.2rem rgba(47, 164, 231, 0.25);
	box-shadow: 0 0 0 0.2rem rgba(47, 164, 231, 0.25);
}
.input-group-file label{
    position: relative;
    top: 0;
    right: 4em;
    left: 0;
    z-index: 1;
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-right: 0px;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
    width: calc(100%);
    display: inline-block;
    margin: 0;
}
.input-group-file label::after {
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 3;
  display: block;
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  color: #495057;
  content: "Seleccionar";
  background-color: #e9ecef;
  border-left: 1px solid #ced4da;
  border-right: 1px solid #ced4da;
}
.input-group-file button{
	display: inline-block;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	padding: 0.375rem 0.75rem;
	margin-bottom: 0;
	font-weight: 400;
	line-height: 1.5;
	color: #495057;
	text-align: center;
	white-space: nowrap;
	background-color: #e9ecef;
	border-right: 1px solid #ced4da;
	border-bottom: 1px solid #ced4da;
	border-top: 1px solid #ced4da;
	border-left: 0px;
	border-bottom-right-radius: 0.25rem;
	border-top-right-radius: 0.25rem;
	height: calc(2.25rem + 2px);
	width: 4rem;
	margin: -4px;
}
/*	RADIO
	-----*/
.custom-radio{
	display: inline-block;
	margin-right: 0.5rem;
}
.custom-radio input[type="radio"]{
	display:none;
}
.custom-radio label{
	vertical-align: middle;
	margin: 0;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: pointer;
}
.custom-radio span{
	display:inline-block;
	vertical-align: middle;
	color: #ced4da;
	margin-right: -2px;
	font-size: 1.5rem;
}
.custom-radio span:before{
	content:'\F043D';
}
.custom-radio input[type="radio"]:checked ~ label span:before{
	content:'\F043E';
	/* color: #2196F3; */
	color: var(--color-primary);
}
.custom-radio.secondary input[type="radio"]:checked ~ label span:before{
    content:'\F043E';
    color: #DEDEDE;    
}
.custom-radio.success input[type="radio"]:checked ~ label span:before{	
    content:'\F043E';
	/*color: #4CAF50;*/
	color: var(--color-success);
}
.custom-radio.info input[type="radio"]:checked ~ label span:before{	
    content:'\F043E';
	/*color: #9C27B0;*/
	color: var(--color-info);
}
.custom-radio.warning input[type="radio"]:checked ~ label span:before{	
    content:'\F043E';
	/*color: #ff9800;*/
	color: var(--color-warning);
}
.custom-radio.danger input[type="radio"]:checked ~ label span:before{	
    content:'\F043E';
	/*color: #e51c23;*/
	color: var(--color-danger);
}
.custom-radio input[type="radio"]:disabled ~ label,
.custom-radio input[type="radio"]:disabled ~ label span:before{	
	color: #d9d9d9 !important;
}





/*	checkbox
	-----*/
.custom-checkbox{
	display: inline-block;
}
.custom-checkbox input[type="checkbox"]{
	display:none;
}
.custom-checkbox label{
	vertical-align: middle;
	margin: 0;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.custom-checkbox span{
	display:inline-block;
	vertical-align: middle;
	color: #d9d9d9;
	margin-right: 0px;
	font-size: 1.5rem;
}
.custom-checkbox span:before{
	content:'\F0131';
}
.custom-checkbox input[type="checkbox"]:checked ~ label span:before{
	content:'\F0135';	
	color: var(--color-primary);
}
.custom-checkbox.secondary input[type="checkbox"]:checked ~ label span:before{
	content:'\F0135';
    color: #DEDEDE;    
}
.custom-checkbox.success input[type="checkbox"]:checked ~ label span:before{
	content:'\F0135';	
	color: var(--color-success);
}
.custom-checkbox.info input[type="checkbox"]:checked ~ label span:before{
	content:'\F0135';
    color: var(--color-info);
}
.custom-checkbox.warning input[type="checkbox"]:checked ~ label span:before{
	content:'\F0135';
	
	color: var(--color-warning);
}
.custom-checkbox.danger input[type="checkbox"]:checked ~ label span:before{
	content:'\F0135';	
	color: var(--color-danger);
}
.custom-select{
	position:relative;
}
.custom-select select{
	display: inline-block;
	width: 100%;
	height: calc(2.81875rem + 0rem);
	padding: 0.375rem 1.75rem 0.375rem 0.75rem;
	line-height: 1.5;
	color: #666;
	vertical-align: middle;
	background: transparent url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23222' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
	background-size: 8px 10px;
	border: 1px solid transparent;
	border-radius: 0.25rem;
	-webkit-appearance: none;
	 -moz-appearance: none;
		  appearance: none;
}
.custom-select i{
	position:absolute;
	right: 2px;
	top: 1px;
	font-size: 2rem;
	background-color: white;
	height: 2.25rem;
	line-height: 2.25rem;
}