@import 'constants';
@import 'admin-seguimiento';
@import 'bootstrap';
@import 'botonera';
@import 'botonera-lateral';
@import 'botonera-principal';
@import 'botonera-secundaria';
@import 'contenedor';
@import 'lista';
@import 'login';
@import 'panel-informativo';
@import 'tabla';
@import 'teclado';
@import 'tabla-articulos';
@import 'acciones-mobile';
@import 'swiper';
@import 'foca-crear';
@import 'logistica-pedido-ruta';
@import 'tabs';
@import 'grid';
@import 'paginador-abm';
@import 'table-autorizar-nota-pedido';


//OCULTA FLECHAS INPUT NUMBER
input[type='number'] {
    -moz-appearance:textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.d-md-grid{
    @media (min-width: 768px) {
        display: grid !important;
    }
}

.btn-outline-debo{
    background-color: transparent;
    color: $primary;
    border-color: $primary;
    &:hover{
        color: #FFF;
        border-color: transparent;
        background-color: $primary;
    }
    &:focus {
        box-shadow: none !important;
    }
    &:active{
        color: #FFF;
        background-color: $primary !important;
        box-shadow: 0px 0px 0px 3px $primaryTransparency !important;
    }
}

.btn-brown {
    background-color:$primary;
    -webkit-appearance: none;
    border-color: transparent;
    &:focus {
        outline: 0 !important;
        box-shadow: none;
    }
    .icon-white {
        color: white;
    }
}


.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: $primary;
    border-color: $primary;
}

.foca-input {
    &:focus {
        border-color: $primary;
        box-shadow: 0 0 5px $primary;
    }
}

.btn-primary {
    background-color: $primary !important;
    border-color: $primary !important;
    &:focus {
        box-shadow: none !important;
    }
    &:hover {
        border-color: $primaryTransparency !important;
        background-color: $primaryTransparency !important;
    }
    &:active{
        background-color: $primary !important;
        box-shadow: 0px 0px 0px 3px $primaryTransparency !important;
    }
}

.btn-default {
    color: #FFF;
    background-color: $default !important;
    border-color: $default !important;
    &:focus {
        box-shadow: none !important;
    }
    &:hover {
        color: #FFF;
        border-color: $defaultTransparency !important;
        background-color: $defaultTransparency !important;
    }
    &:active{
        background-color: $default !important;
        box-shadow: 0px 0px 0px 3px $defaultTransparency !important;
    }
}

.table-celda-total {
   background-color: $highlightedArea;
}

marquee {
    background-color: $highlightedArea;
}

.front-index{
    z-index: 9999;
}

.uib-daypicker{
    outline: 0
}

.right-0{
    right: 0;
}

.tabla-factura{
    word-wrap: break-word;
    table-layout: fixed;
}

.ladda-w-100 .ladda-label{
    width: 100%;
    float: right;
}

.btn-delete-image{
    height: 25px;
    width: 25px;
    top: -10px;
    right: 0;
}

button.clear-input{
    cursor: pointer;
    background: transparent;
    border: none;
    margin-left: -24px;
    z-index: 9;
    color: #a3a3a3;
    &:focus{
        outline: none;
    }
}
.custom-control-input {
    &:checked ~ .custom-control-label::before {
		border: none !important;
        color: $primary !important;
		background-color: $primary !important;
        box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
    }
	&:active ~ .custom-control-label::before {
		border: none !important;
        color: $primary !important;
		background-color: $primary !important;
    }
    &:focus ~ .custom-control-label::before {
		border: none !important;
        box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
    }
    &:focus:not(:checked) ~ .custom-control-label::before {
        border: none !important;
    }
    &:not(:disabled):active ~ .custom-control-label::before {
        border: none !important;
        color: $primary !important;
        box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
	}
	&:hover ~ .custom-control-label::before {
		border: none !important;
		background-color: $primaryTransparency;
	}
}
