/*
    File: css/custom.css
    Author: Crece Consultores
*/
.select2-container--default .select2-selection--single {
    height: calc(1.5em + 0.75rem + 2px) !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

/* table-sortable */
.table-sortable tr .btn-drag {
    opacity: 0;
}

.table-sortable tr:hover .btn-drag {
    opacity: 1;
}

/* sortable-thumbnail */
.sortable-thumbnail-container {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.sortable-thumbnail-container .sortable-thumbnail {
    margin: 3px 3px 3px 0;
    padding: 1px;
    float: left;
    width: 90px;
    height: 90px;
    text-align: center;
    position: relative;
}

.sortable-thumbnail-container .sortable-thumbnail .img-thumbnail {
    display: block;
    width: 90px;
    height: 90px;
    object-fit: cover;
    object-position: center center;
}

.sortable-thumbnail-container .sortable-thumbnail .thumbnail-badges {
    position: absolute;
    display: block;
    right: 5px;
    top: 5px;
}

/* media-thumbnail */
.media-thumbnail {
    position: relative;
}

.media-thumbnail .img-thumbnail {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center center;
}

.media-thumbnail .thumbnail-badges {
    position: absolute;
    display: block;
    right: 5px;
    top: 5px;
}

/* column-sort */
.column-sort {
}

.column-sort .btn {
    padding: 0em;
    font-size: 12px;
    line-height: 0.4em;
}

.column-sort .btn:first-child {
    padding-top: 0.3em;
}

.column-sort .btn:last-child {
    padding-bottom: 0.3em;
}

.column-sort .btn .fa {
    line-height: 0em;
}

/* table-scrolleable */
.table-scrolleable table {
    display: flex;
    flex-flow: column;
    width: 100%;
}

.table-scrolleable thead, 
.table-scrolleable tfoot { 
    flex: 0 0 auto;
}

.table-scrolleable tbody {
    flex: 1 1 auto;
    display: block;
    height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
}

.table-scrolleable thead tr,
.table-scrolleable tbody tr,
.table-scrolleable tfoot tr {
    width: 100%;
    display: table;
}

/* file-input */
.input.form-control[type="file"]::-webkit-file-upload-button {
    visibility: hidden;
}
.input.form-control[type="file"]::before {
    content: 'Selecciona un archivo';
    display: inline-block;
    background: linear-gradient(top, #f9f9f9, #e3e3e3);
    border: 1px solid #999;
    border-radius: 3px;
    padding: 5px 8px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    text-shadow: 1px 1px #fff;
    font-weight: 700;
    font-size: 10pt;
}
.input.form-control[type="file"]:hover::before {
    border-color: black;
}
.input.form-control[type="file"]:active::before {
    background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}

/* nav-wizard */
.nav-wizard .nav-link {
  display: flex;
  align-items: center;
  padding: 2rem;
}
.nav-wizard .nav-link .wizard-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  margin-right: 1rem;
  border-radius: 0.35rem;
  background-color: #0061f2;
  color: white;
}
.nav-wizard .nav-link .wizard-step-icon i,
.nav-wizard .nav-link .wizard-step-icon svg,
.nav-wizard .nav-link .wizard-step-icon .feather {
  color: white;
}
.nav-wizard .nav-link .wizard-step-text {
  line-height: 1;
  text-align: left;
}
.nav-wizard .nav-link .wizard-step-text .wizard-step-text-name {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: #0061f2;
}
.nav-wizard .nav-link .wizard-step-text .wizard-step-text-details {
  font-weight: 400;
  font-size: 0.875rem;
  color: #69707a;
}
.nav-wizard .nav-link.active .wizard-step-icon {
  background-color: #fff;
  color: #0061f2;
}
.nav-wizard .nav-link.active .wizard-step-icon i,
.nav-wizard .nav-link.active .wizard-step-icon svg,
.nav-wizard .nav-link.active .wizard-step-icon .feather {
  color: #0061f2;
}
.nav-wizard .nav-link.active .wizard-step-text .wizard-step-text-name {
  color: #fff;
}
.nav-wizard .nav-link.active .wizard-step-text .wizard-step-text-details {
  color: rgba(255, 255, 255, 0.5);
}

/* choicebox-styled */
.choicebox-styled:checked,
.choicebox-styled:not(:checked) {
    position: absolute;
    left: -9999px;
    width: 0;
    height: 0;
    visibility: hidden;
}

.choicebox-styled:checked + label,
.choicebox-styled:not(:checked) + label{
    position: relative;
    display: inline-block;
    padding: 20px 10px;
    width: 100%;
    font-size: 16px;
    letter-spacing: 1px;
    margin: 0 auto;
    margin-bottom: 10px;
    text-align: center;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background-color: #cfcfcf;
    -webkit-transition: all .3s ease-out;
       -moz-transition: all .3s ease-out;
         -o-transition: all .3s ease-out;
            transition: all .3s ease-out;
}

.choicebox-styled:checked + label {
    color: white;
}

.choicebox-styled:not(:checked) + label {
    
} 

.choicebox-styled:not(:checked) + label{
    background-color: #f7f7f7;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    transform: scale(0.9);
}

.choicebox-styled:checked + label{
    background-color: #f5b225;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
}

.choicebox-styled:not(:checked) + label:hover{
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.choicebox-styled:checked + label::before,
.choicebox-styled:not(:checked) + label::before{
    position: absolute;
    content: '';
    top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 4px;
	z-index: -1;
}

.choicebox-styled:checked + label span,
.choicebox-styled:not(:checked) + label span{
	position: relative;
	display: block;
}

.choicebox-styled:checked + label span::before,
.choicebox-styled:not(:checked) + label span::before{
	position: absolute;
	content: attr(data-hover);
	top: 0;
	left: 0;
	width: 100%;
	overflow: hidden;
	-webkit-text-stroke: transparent;
    text-stroke: transparent;
    -webkit-text-fill-color: var(--white);
    text-fill-color: var(--white);
    color: var(--white);
	-webkit-transition: max-height 0.3s;
	-moz-transition: max-height 0.3s;
	transition: max-height 0.3s;
}
.choicebox-styled:not(:checked) + label span::before{
	max-height: 0;
}
.choicebox-styled:checked + label span::before{
	max-height: 100%;
}