/*  BASE DE COLORES PARA PROYECTOS */
/*  CAMBIAR COLORES A ESTE ARCHIVO Y ENLAZAR BAJO CSS DE DATABIS */

/*  TIPOGRAFIA PARA EL PROYECTO */

body, table, h1, h2, h3, h4, h5, h6 , p {
    font-family: arial, sans-serif !important;
}

.estilo-btn {
    font-family: arial, sans-serif !important;
}

.estilo-btn-tabla {
    font-family: arial, sans-serif !important;
}

/* DEFINIMOS COLOR Y ESTADOS DEL BOTÓN ACEPTAR */

.color-btn-confirmar{
    background-color: #a8c855;
}
.color-btn-confirmar:hover{
    background-color: #7c9b2f;
}
.color-btn-confirmar:active{
    background-color: #a8c855;
}
.color-btn-confirmar:visited{
    background-color: #a8c855;
}
.color-btn-confirmar:focus{
    background-color: #a8c855;
}

.color-btn-tabla-editar{
    background-color: #a8c855;
}
.color-btn-tabla-editar:hover{
    background-color: #7c9b2f;
}
.color-btn-tabla-editar:active{
    background-color: #a8c855;
}
.color-btn-tabla-editar:visited{
    background-color: #a8c855;
}
.color-btn-tabla-editar:focus{
    background-color: #a8c855;
}

/* DEFINIMOS LÍNEA FINA PARA TÍTULOS */

.linea {
    border-bottom: solid 2px #a8c855;
}

/* DEFINIMOS EL ESTILO PARA EL MENÚ ACTIVO */

nav.navbar-databis ul.navbar-nav .active-menu a {
  color: #a8c855;
  border-color: #a8c855;
}

/* DEFINIMOS EL ESTILO PARA EL MENU ACTIVO CON DROPDOWN */

a.active-menu-drop {
  color: #a8c855 !important;
  border-color: #a8c855;
}

.nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
  border-color: #a8c855 !important;
}

/* MODIFICAMOS LOS ESTILOS DE LOS ENLACES DEL DROPDOWN */

nav.navbar-databis ul.estilo-dropdown > li > a:hover {
  background: #a8c855;
}

/* MODIFICAMOS LOS ESTILOS DE LOS ENLACES DEL DROPDOWN DEL PERFIL*/

nav.navbar-databis ul.navbar-nav .estilo-dropdown-perfil a {
    color: #004983;
}

nav.navbar-databis ul.navbar-nav .estilo-dropdown-perfil a:hover {
    color: #004983;
}

/* AJUSTAMOS EL BOTON DE COLLAPSE EN LA NAVBAR */
.icon-bar {
  border: solid 1px #a8c855;
}

/* MODIFICAMOS EL ASPECTO DE LOS MODALS */

.modal-header-cliente {
    background-color: #a8c855;
}

.close-white-cliente {
    background-color: #a8c855;
}

/* DEFINIMOS BOTÓN AÑADIR EN LAS LISTAS */

.boton-mas{
    background-color: #a8c855;
}

.boton-mas:hover{
    background-color: #7c9b2f;
}

/* DEFINIMOS COLORES PARA LA PAGINACIÓN */

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {

background-color: #a8c855;
border-color: #a8c855;

}

/* MODIFICAMOS LOS CHECKBOX EN FORMS */

input[type="checkbox"]:checked {
    background: #a8c855;
}

/* MODIFICAMOS LOS RADIO EN FORMS */

input[type="radio"]:checked {
    background: #a8c855;
}

/* DEFINIMOS ESTILOS PARA AÑADIR LA SIDEBAR */

#sidebar ul li:hover a {
    border-left: 4px solid #a8c855;
}

/* DEFINIMOS ESTILO PARA LA OPCIÓN ACTIVA DE LA SIDEBAR */

.sidebar-active {
    color: #a8c855 !important;
    border-left: 4px solid #a8c855 !important;
}

/*  COLOR CORPORATIVO TEXTO */
.color-texto-corporativo, .fila-proveedor-defecto{
    color: #a8c855 !important;
    /* color: #7c9b2f !important; */
}

/*  COLOR CORPORATIVO TEXTO */
.color-texto-corporativo_secundario{
    /* color: #7c9b2f !important; */
    /* background-color: #a8c855 !important; */
}

.color-fondo-pedido-recibido{
    background-color: #f9fdef;
}

/* CLASES BANDERES IDIOMES */

.bandera_pt{
    background-image: url("../img/flag_pt.png");
    background-repeat: no-repeat;
    background-position: right top;
    padding-right: 40px;
}

.bandera_eng{
    background-image: url("../img/flag_eng.png");
    background-repeat: no-repeat;
    background-position: right top;
    padding-right: 40px;
}

/* DOS CONTROLES DE FORMULARIOS INLINE */
.inline-control{
    width: 49%;
}
.inline-control + .inline-control{
    float: right;
}
.inline-control input{
    width: 100% !important;
}

.inline-control select{
    width: 100% !important;
}

/* ARREGLAMOS EL RESPONSIVE DEL INPUT FORM INLINE */
@media screen and (max-width: 800px) {

    .responsive-campos {
        width: 100% !important;
    }

    .margin-bottom-responsive {
        margin-bottom: 15px !important;
    }

    .responsive-input {
        width: 100% !important;
    }

    .width-100 {
        width: 100% !important;
    }
}

/* SLIDER CHECKBOX */

.switch {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
    width: 40px;
    height: 25px;
}
.switch input {display:none;}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #a8c855;
}
input:focus + .slider {
    box-shadow: 0 0 1px #a8c855;
}
input:checked + .slider:before {
    -webkit-transform: translateX(14px);
    -ms-transform: translateX(14px);
    transform: translateX(14px);
}

/* TALLAS ARTÍCULOS */
.sin-negrita{
    font-weight: normal;
}

/*  DESACTIVAR PESTANYAS */
.tab-disabled {
    color: lightgray !important;
    cursor: not-allowed;
}

/*  PEDIDO CONFIRMADO */
.enviar-confirmacion{
    color: #f0ad4e;
    cursor: pointer
}
.pedido-confirmado {
    color: darkgray !important;
}
.pedido-no-confirmado {
    color: #c9282d !important;
}

/* DEFINIMOS LA ORIENTACIÓN DEL DROPDOWN PARA EL BOTÓN ACCIONES */

.acciones{
    left: -75px !important
}

/* DEFINIMOS CLASSES PARA PADDINGS */

.padding-top-grande {
    padding-top: 35px !important;
}

.padding-bottom-grande {
    padding-bottom: 35px !important;
}

.padding-left-grande {
    padding-left: 35px !important;
}

.padding-right-grande {
    padding-right: 35px !important;
}

/*  NO PERMITIR SELECCION DE UN ELEMENTO */
.no-seleccion{
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -khtml-user-select: none !important;
    -ms-user-select:none !important;
}

/*  CONTROL DE CANTIDADES */
.boton-cantidad{
    display: inline-block;
    text-align: center;
    border: none;
    border-radius: 35px;
    width: 35px;
    height: 35px;
    padding-top: 10px;
    background-color: lightgrey;
    font-size: .9em;
    cursor: pointer;
    color: white;
}

.boton-cantidad-desactivado{
    background-color: #eee !important;
    cursor: not-allowed;
}

.boton-cantidad:hover{
    background-color: #a8c855;
}

.cantidad {
    text-align: center;
    display: inline-block;
    width: 50px;
    margin: 0 5px 0 5px;
    font-size: 1.4em;
    border:none;
}

/*  ESTILOS COLORES PARA EDICIÓN Y LISTADO DE COLORES */

.div-colores{
    width: 49%;
    float: left;
}

.bola-color-tabla{
    margin: 0 auto 0 auto;
    display: inline-block;
    border: 1px solid #aaa;
    width: 12px;
    height: 12px;
    background-color: #fff;
    border-radius: 12px;
}

/*  PEDIDOS DE USUARIO */
.info-pedidos {
    height: 60px;
    position: relative;
}

.info-pedidos > span {
    vertical-align: middle;
    text-align: center;
    line-height: 60px;
}

.info-pedidos > div { margin-top: 4px; }

.info-pedidos > a {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 5%;
}

.numero-pedido {
    font-size: 1.05em;
    font-weight: bold;
}

.datos-pedido {
    font-size: 0.95em;
    color: gray;
}

/******************************************
  AÑADIR ESTILO A CSS DATABIS
*******************************************/

.puntero-mano:hover{
    cursor: pointer;
}

.estilo-close{
    cursor: pointer;
}

.texto-corto-350 {
    overflow:hidden;
    white-space:nowrap;
    text-overflow: ellipsis;
    max-width: 350px
}

.btn-guardar{
    background-color: transparent;
    width: 40px;
    height: 40px;
    font-size: 1em;
    color: #a8c855;
    border-radius: 40px;
    border: 1px solid transparent;
}

.btn-guardar:hover{
    border: 1px solid #7c9b2f;
    color: #7c9b2f;
}

.btn-eliminar{
    width: 40px;
    height: 40px;
    font-size: 1em;
    border-radius: 40px;
    border: 1px solid transparent;
    background-color: transparent;
}

.btn-eliminar:hover{
    border: 1px solid #a94442;
}

a.btn-eliminar span{
    padding-top: 4px;
}

/*  SE QUITA RECUADRO ENLACES ACTIVOS */
a:active, a:active * {
    outline: none !important;
    -moz-outline-style: none !important;
}
a:focus, a:focus * {
    outline: none !important;
    -moz-outline-style: none !important;
}


/*  DEFINIMOS LAS CLASES PARA EL LOADING DE PRECARGA */

.sk-cube-grid {
    width: 15px;
    height: 15px;
    margin: 0 auto;
}

.sk-cube-grid .sk-cube {
    width: 33%;
    height: 33%;
    background-color: #a8c855;
    float: left;
    -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
    animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
}
.sk-cube-grid .sk-cube1 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s; }
.sk-cube-grid .sk-cube2 {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s; }
.sk-cube-grid .sk-cube3 {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s; }
.sk-cube-grid .sk-cube4 {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s; }
.sk-cube-grid .sk-cube5 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s; }
.sk-cube-grid .sk-cube6 {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s; }
.sk-cube-grid .sk-cube7 {
    -webkit-animation-delay: 0s;
    animation-delay: 0s; }
.sk-cube-grid .sk-cube8 {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s; }
.sk-cube-grid .sk-cube9 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s; }

@-webkit-keyframes sk-cubeGridScaleDelay {
    0%, 70%, 100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    } 35% {
          -webkit-transform: scale3D(0, 0, 1);
          transform: scale3D(0, 0, 1);
      }
}

@keyframes sk-cubeGridScaleDelay {
    0%, 70%, 100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    } 35% {
          -webkit-transform: scale3D(0, 0, 1);
          transform: scale3D(0, 0, 1);
      }
}

/* DEFINIMOS BOTÓN PARA GENERAR E IMPRIMIR INFORMES */

.boton-circle-informe {
    text-align: center;
    width: 35px;
    height: 35px;
    border-radius: 100px;
    font-size: 15px;
    border: 1px solid #c2c2c2;
    padding-top: 5px;
    display: block;
    background-color: #e2dfdf;
    margin-left: 10px;
}

/* ESTILOS DE BOTONES PARA DESCARGAR E IMPRIMIR INFORMES */

.btn-imprimir {
    background-color: #2a77a2;
    border: 1px solid #2a77a2;
    color: #ffffff; /* Sólo para proyecto trigo */
}

/*  Sólo para proyecto Trigo */
.btn-imprimir:hover {
    color: #f5f5f5;
}

.btn-pdf {
    background-color: #c32626;
    border: 1px solid #c32626;
    color: #ffffff;
    outline: none;
}

.btn-xls {
    background-color: #3c7f20;
    border: 1px solid #3c7f20;
    color: #ffffff;
    outline: none;
}

.btn-csv {
    background-color: #833c1a;
    border: 1px solid #833c1a;
    color: #ffffff;
    outline: none;
}

.btn-grafico {
    background-color: #ae6a00;
    border: 1px solid #9d6101;
    color: #ffffff;
    outline: none;
}

/*  Sólo para proyecto Trigo */
.btn-imprimir:hover, .btn-grafico:hover, .btn-xls:hover, .btn-csv:hover, .btn-pdf:hover {
    color: #f5f5f5;
}

/*  Sólo para proyecto Trigo */
.btn-imprimir:link, .btn-grafico:link, .btn-xls:link, .btn-csv:link, .btn-pdf:link {
    color: #ffffff;
}

/*  Sólo para proyecto Trigo */
.btn-imprimir:active, .btn-grafico:active, .btn-xls:active, .btn-csv:active, .btn-pdf:active {
    color: #ffffff;
}

.color-disabled{
    color: #bbb;
}

/* ********************************************************
    FIN ESTILOS CSS DATABIS
   ******************************************************* */

/*  CLASES PARA TALLAS Y COLORES */

.div-colores{
    width: 49%;
    float: left;
}

.bola-color-tabla{
    margin: 0 auto 0 auto;
    display: inline-block;
    border: 1px solid #aaa;
    width: 12px;
    height: 12px;
    background-color: #fff;
    border-radius: 12px;
}

.circulo-seleccion-color{
    position: relative;
    margin-bottom: 10px;
    display: inline-block;
    border-radius: 50px;
    width: 54px;
    height: 54px;
    padding: 5px;
    border: 2px solid transparent;
}

.circulo-seleccion-color-activo{
    border-color: #a8c855;
}

.bola-color{
    position: relative;
    overflow: hidden;
    border: 1px solid #aaa;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border-radius: 30px;
    cursor: pointer;
}

.bola-color-1{
    position: absolute;
    width: 40px;
    height: 40px;
}
.bola-color-2{
    border: none;
    margin: 0;
    padding: 0;
    float: left;
    width: 50%;
    height: 40px;
}

.circulo-seleccion-talla{
    position: relative;
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-left: 5px;
    margin-bottom: 10px;
    border-radius: 30px;
    background-color: transparent;
    border: 1px solid #aaa;
    font-size: .8em;
    color: #555;
    cursor: pointer;
}

.circulo-seleccion-talla-activo{
    border: 1px solid #a8c855;
    color: #fff;
    background-color: #a8c855;
}
.bola-talla{
    padding-top: 12px;
    text-align: center;
    overflow: hidden;
}

.producto .tallas label{
    margin-bottom: 15px;
}

/*  AJUSTAMOS PROBLEMAS CON LA NAVBAR */

button.navbar-toggle {
  padding-top: 10px!important;
  padding-right: 10px !important;
  margin: 10px !important;
}

button.navbar-toggle.collapsed {
  padding-top: 10px!important;
  padding-right: 10px !important;
  margin: 10px !important;
}

@media screen and (max-width: 768px) {

  a.active-menu-drop {
    color: transparent;
    border-style: none;
    font-weight: bolder;
    margin-bottom: 5px !important;
  }

  .navbar-nav{
      padding-left: 40px !important;
  }

    a.padding_responsive{
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

  .navbar-nav .open .dropdown-menu>li>a {
    margin-top: -5px !important;
    padding-left: 40px !important;
  }

  .padding_responsive {
    padding-left: 18px !important;
  }

}

a.normal-menu-drop {
  padding-bottom: 20px !important;
}

/*  TAMAÑO LOGO NAVBAR */

.navbar img{
    height: 60px;
}

/*  FORMULARIO PRECIOS */

.formulario-precios input[type="text"] {
    border: none;
    background: transparent;
    border-bottom: 1px solid #ccc;
    outline: none;
}

.no-mostrar {
    display: none;
}

.texto-corto-100 {
    overflow:hidden;
    white-space:nowrap;
    text-overflow: ellipsis;
    max-width: 100px
}

/*  ELIMINAMOS CLASSE BTN PARA CHECK Y "X" EN EDITAR PEDIDOS */

#detalle a.btn:active {
    box-shadow: 0px 0px;
}

#detalle button.btn:active {
    box-shadow: 0px 0px;
}

#detalle button.btn:focus {
    outline:0px !important;
    color: #a8c855 !important;
}

#detalle button.btn:visited {
    color: #a8c855 !important;
}

/*  AÑADIMOS NUEVA MEDIDA PARA MODIFICAR ANCHO COLUMNA TABLA */

.tamaño-porcentaje-35 {
    width: 35%;
    height: 40px;
}

/*  CONSULTAS */

#consultas p.titulo {
    margin-top: 30px;
    font-size: 1.15em;
}

#consultas p.pedido {
    color: #aaa;
}

#consultas p.total {
    margin-top: 15px;
}

#consultas p {
    font-weight: bolder;
}

#consultas h4 {
    font-weight: bold;
}

.logo-imprimir {
    display: none;
}

.total-site{
    color: #2a77a2;
    border-bottom: 1px solid #2a77a2;
}

/*  ARREGLO DEL BUG DE SELECCIONAR IMAGEN EN FIREFOX */
@-moz-document url-prefix() {
    .btn-cerrar, .descargar-foto {
        left: 15px;
    }
}

/*  OCULTAR FLECHAS DEL INPUT TYPE NUMBER */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

/*  SELECCION DE COLORES EN ADMINISTRADOR */
.jscolor {
    color: transparent !important;
    border-radius: 100%;
}

#colores-disp input{
    border: none;
    pointer-events: none;
}

/*  CAMBIAR COLORES PLACEHOLDER */
.color-placeholder-disabled::placeholder {
    color: lightgray;
}
.color-disabled-important{
    color: lightgray !important;
}

/*  CAMBIAR COLOR A ENTRADAS DE LISTAS INACTIVAS */
.registro-desactivado{
    color: darkgray !important;
}