/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 12-jun-2018, 23:40:42
    Author     : marcal.tordera
*/

/* GENERAL */

*{
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

.titol-centrat{
    text-align: center;
}

.titolCapcalera{
    text-align: center;
}

.logo img{
    width: 90px;
    margin-left: 10px;
}

hr{
    border: 0;
    border-top: 1px solid #d6d6d6;
    border-bottom: 0;
}

a{
    text-decoration: none;
}

a:hover {
    color: #a8a8a8 !important;
}

label{
    margin: 0 !important;
}

.container{
    padding-bottom: 20px;
    padding-top: 20px;
    max-width: 1400px !important;
}

.rowPaddingTop{
    padding-top: 15px;
}

.rowFlexEnd{
    align-items: flex-end;
}

.select2-selection, .select2-selection__arrow{
    height: 40px !important;
}

.select2{
    /*width: 100% !important;*/
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #3e3e3e;
    padding: 3px 4px 3px 25px !important;
}

.select2-selection__choice__remove {
    padding-top: 4px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display{
    font-size: 13px;
}

.alignRowEnd{
    align-items: end;
}

.textPetit{
    font-size: 12px;
}

.badge:hover{
    cursor: pointer;
}

.bg-ausa{
    background-color: #3f3f3f !important;
}

/* Oculta las flechas en navegadores basados en WebKit (Chrome, Safari, Edge) */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}


/* FI GENERAL */


/* LOADER */

.loaderAusa{
    display: none;
    position: absolute;
    height: 100vh;
    width: 100%;
    z-index: 99999;
    background-color: #ffffff61;
}

/* LOADER */

/* MENÚ LATERAL */

.nav-header{
    border-bottom: 1px solid grey;
}

.nav-link{
    font-size: 14px !important;
    margin-top: 5px;
}

.nav-treeview{
    font-size: 13px !important;
}

/* Override */
.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active, .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #5c5c5c;
    box-shadow: none;
}

[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active, [class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:focus, [class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:hover {
    background-color: rgb(52 58 64);
    color: #f4f6f9;
    text-decoration: underline;
}

/* OVERRIDE FILTRES */
.dt-button{
    padding: 3px !important;
}


/* Paginació */
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #f39c12;
    border-color: #f39c12;
}

.callout.callout-success, .alert-success, .label-success{
    background-color: #47b784 !important;
}
 
.callout.callout-danger, .alert-danger, .alert-error, .label-danger{
    background-color: #e46353 !important;
}

.alert-success, .alert-danger{
    border: 0;
}

.btn-warning, .btn-success, .btn-danger, .btn-default{
    border: 0;
}

.cardMestres{
    box-shadow: 0 1px 25px 7px rgba(0,0,0,0.2);
    padding: 10px;
}

.titol-padding{
    padding: 2%;
    border-bottom: 1px solid #d6d6d6;
}

.pendentGuardar{
    display: none;
    color: #e46353;
    font-weight: bold;
    font-size: 22px;
}

.tab-pane{
    margin-left: 15px;
}


/* GENERAL */


/* LOGIN 

.login-page, .register-page{
    background: url("../img/fonsOK.png") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;  
}

.login-logo{
    margin-bottom: 0px !important;
}

.login-logo, .login-box-body, .register-box-body, .login-box{
    background-color: rgba(255,255,255, 0.75);
}

 LOGIN */

/* BARRA PRINCIPAL */

.navbar-custom-menu>.navbar-nav{
    float: right;
}

.nomEmpresa{
    display: none!important;
}  
    
.nomEmpresaSuperior{
    font-size: 18px!important;
}

.navbar-expand .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
}

.navbar{
    padding: 0.5rem 0.5rem;
}

/* BARRA PRINCIPAL */

/* BOTÓ AFEGIR */
.floatHelp{
    position:fixed;
    width:60px;
    height:60px;
    bottom:40px;
    right:110px;
    background-color: #f39c12;
    color:#FFF;
    border-collapse: separate; 
    border-radius: 50px!important;
    -moz-border-radius: 50px!important;
    -khtml-border-radius: 50px!important;
    -webkit-border-radius: 50px!important;        
    text-align:center;
    box-shadow: 2px 2px 3px #999;
}

.float{
    position:fixed;
    width:60px;
    height:60px;
    bottom:40px;
    right:40px;
    background-color: #f39c12;
    color:#FFF;
    border-collapse: separate; 
    border-radius: 50px!important;
    -moz-border-radius: 50px!important;
    -khtml-border-radius: 50px!important;
    -webkit-border-radius: 50px!important;        
    text-align:center;
    box-shadow: 2px 2px 3px #999;
}

.my-float{
    margin-top:24px;
    margin-left: 2px;
}

/* BOTÓ AFEGIR */

/* PÀGINA PRINCIPAL */

.content{
    padding: 0px;
}

.quant-inici{
    width: 60px;
    display: inline-block;
}

.guardar-fix{
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 6%;
  background-color: #367fa9;
  text-align: center;
}

.boto-guardar-home{
    margin-top: 1%;
}

.row:last-child{
    margin-bottom: 40px;
}

.titolsCards{
    font-size: 25px !important;
    font-weight: bold;
}

/* PÀGINA MENÚS */

.data{
    text-align: center;
    margin-bottom: 20px;
}


.data input{
    margin-left: 20px;
    margin-right: 20px;
    padding: 10px;
    border: 0;
    text-align: center;
    font-weight: bold;
}

/* Taula */

.taulaMenu{
    margin-top: 10px;
}

/*.taulaMenu tbody tr:nth-child(4n+1), .taulaMenu tbody tr:nth-child(4n+2) {
    background: #c5c5c5;
}*/
.nom_producte{
    font-weight: bold;
}

.col-sm-10{
    /*padding-right: 0px;*/
    /*padding-left: 0px;*/
}

.inputsTaula{
    min-width: 100px;
}

.inputsTaulaJS{
    max-width: 100px;
}

.inputsTaulaXL{
    min-width: 350px;
}

/* Taula */


/* Botons */

.btn-light{
    background-color: rgb(187, 187, 187);
}

.btn-default{
    background-color: #d8d8d8;
}

/* Botons */


.img-fluid{
    width: 650px;
    height: 250px;
}

/* FORM USUARI DETALL */

.inputsUsuaris{
    border: 0;
}

/* FORM USUARI DETALL */


/* DESACTIVAR BOTÓ */
.not-active {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: white;
}

.boto-actiu{
  color: #d8d855;
  pointer-events: auto;
  cursor: pointer;
}

.btn-group-lg>.btn, .btn-lg{
    padding: 6px 12px;
}

/* CREAR PRODUCTES */


/* CREAR PRODUCTES */

/* MODIFICAR PRODUCTES */

.filtresProductes{
    background: #d4d4d4!important;
    padding: 10px!important;
}

/* CHECKBOX */
.checkboxOK{
    position: relative!important;
    margin: 0!important;
}


.chkBoxGran{
    width: 20px;
    height: 20px;
    margin-left: 5px;
}


.buscarFiltre{
    padding: 5px;
    width: 35px;
}



/* FACTURES */

.zonaFiltres{
    background-color: #f5f5f5f0;
    padding: 10px;
}


/* FACTURES */

/* CLIENTS */

.llistatDireccions{
    margin-top: 40px;
}

/* Direccions */


/* CLIENTS */

/* COMANDES */

.filtresTaula{
    background-color: #d7d7d7;
    padding: 15px;
}

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

.btnNetejarFiltres{
    margin-left: 5px;
}

.btnMostrarDetall{
    background-color: #939393;
    border: 0px;
}

/* ACABA COMANDES */




/* PÀGINA CONFIGURACIÓ */
.btn-app {
    padding: 32px 5px;
    min-width: 180px;
    height: 120px;
}

.comboboxLots{
    width: 100% !important;
}

.btnComboboxLots{
    height: 33px;
    margin-left: 1px !important;
}

.divGuardarEstoc{
    text-align: center;
}

.btnGuardarEstoc{
    width: 85%;
}

#dadesFactures{
    width: 110%;
}

/* Acaba Configuració*/

/* ### MEDIA QUERIES ### */

/* Al activar la barra superior -> Amagar moure nom empresa */
@media only screen and (min-width: 767px) {    
    .nomEmpresaSuperior{
        display: none;
        font-size: 18px!important;
    }
    
    .nomEmpresa{
        display: block!important;
    }    
}

/* Amplada < 767px */
@media only screen and (max-width: 767px) {
    .table {
        width: 90% !important;
        margin: 0px auto 30px auto !important;
    }
    
}
/* Amplada < 600px */
@media only screen and (max-width: 600px) {


    
}

/* MEDIA QUERIES*/