@import url("colores_custom.css");

/*amagar segons versió*/
body[data-version="v55"] [data-version*="|v55|"]
{
	display: none !important;
}

/*ensenyar segons versió*/
/*body[data-version="v55"] [data-version]:not([data-version*="|v55|"])
{
	display: none !important;
}
*/


:root{
    
    --bs-primary: var(--bs-primary-custom, #364A8F);
    --bs-primary-rgb: var(--bs-primary-custom-rgb, 54, 74, 143);
   
    --bs-shadow-primary: var(--bs-shadow-primary-custom, #5068bc);
    --bs-shadow-primary: var(--bs-shadow-primary-custom-rgb, 80,104,188);

    --bs-secondary: var(--bs-secondary-custom, #4E97D1);
    --bs-secondary-rgb: var(--bs-secondary-custom-rgb, 78,151,209);
    
	--color-graphic-1:  var(--color-graphic-1-custom, #002266);  
	--color-graphic-2:  var(--color-graphic-2-custom, #7fa6a3);  
	--color-graphic-3:  var(--color-graphic-3-custom, #004999);  
	--color-graphic-4:  var(--color-graphic-4-custom, #c6b59c);  
	
	--color-graphic-5:  var(--color-graphic-5-custom, #364A8F);  
	--color-graphic-6:  var(--color-graphic-6-custom, #9fbfc0);  
	--color-graphic-7:  var(--color-graphic-7-custom, #003280);  
	--color-graphic-8:  var(--color-graphic-8-custom, #e2ded6);  
	
	--color-graphic-9:  var(--color-graphic-9-custom, #4f6f8f);  
	--color-graphic-10: var(--color-graphic-10-custom, #a9c0cc);  
	--color-graphic-11: var(--color-graphic-11-custom, #6f8fa3);  
	--color-graphic-12: var(--color-graphic-12-custom, #8fa9b8);  
	
	--color-graphic-1-rgb:  var(--color-graphic-1-custom-rgb, 0, 34, 102);
	--color-graphic-2-rgb:  var(--color-graphic-2-custom-rgb, 127, 166, 163);
	--color-graphic-3-rgb:  var(--color-graphic-3-custom-rgb, 0, 73, 153);
	--color-graphic-4-rgb:  var(--color-graphic-4-custom-rgb, 198, 181, 156);
	
	--color-graphic-5-rgb:  var(--color-graphic-5-custom-rgb, 54, 74, 143);
	--color-graphic-6-rgb:  var(--color-graphic-6-custom-rgb, 159, 191, 192);
	--color-graphic-7-rgb:  var(--color-graphic-7-custom-rgb, 0, 50, 128);
	--color-graphic-8-rgb:  var(--color-graphic-8-custom-rgb, 226, 222, 214);
	
	--color-graphic-9-rgb:  var(--color-graphic-9-custom-rgb, 79, 111, 143);
	--color-graphic-10-rgb: var(--color-graphic-10-custom-rgb, 169, 192, 204);
	--color-graphic-11-rgb: var(--color-graphic-11-custom-rgb, 111, 143, 163);
	--color-graphic-12-rgb: var(--color-graphic-12-custom-rgb, 143, 169, 184);
	    
	--right-container-background: var(--right-container-background-custom, #FBFBFB);    
	    
  	--bs-danger: #FA6B6B;
    --bs-danger-rgb: 250, 107, 107;

    --bs-success: #2cc748;
    --bs-success-rgb: 44, 199, 72;
	   
    --bs-gray: #838383;
    --bs-light-gray: #A7A7A7;
    --bs-border-radius: 0.3rem;
}   

body { 
    font-family: 'Inter', sans-serif;;
}

.text-primary{ color: var(--bs-primary) !important;}
.text-secondary{ color: var(--bs-secondary) !important;}

.text-gray { color: var(--bs-gray) !important; }
.bg-gray { background-color: var(--bs-gray) !important; }

.text-light-gray { color: var(--bs-light-gray) !important; }
.bg-light-gray { background-color: var(--bs-light-gray) !important; }




/*https://es.stackoverflow.com/questions/45312/css-ajuste-de-l%C3%ADneas-con-palabras-largas-y-sin-espacios-que-superan-el-ancho-d*/
.break-word-syl {
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;     /* Sólo WebKit -NO DOCUMENTADO */

    -ms-hyphens: auto;          /* Guiones para separar en sílabas */
    -moz-hyphens: auto;         /*  depende de lang en <html>      */
    -webkit-hyphens: auto;
    hyphens: auto;
}


/* ICONOS MENÚ LATERAL */


.left-menu-caret-right{
	-webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" class="bi bi-caret-right-fill text-primary" viewBox="0 0 16 16"><path d="m12.14 8.753-5.482 4.796c-.646.566-1.658.106-1.658-.753V3.204a1 1 0 0 1 1.659-.753l5.48 4.796a1 1 0 0 1 0 1.506z"/></svg>');
	mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" class="bi bi-caret-right-fill text-primary" viewBox="0 0 16 16"><path d="m12.14 8.753-5.482 4.796c-.646.566-1.658.106-1.658-.753V3.204a1 1 0 0 1 1.659-.753l5.48 4.796a1 1 0 0 1 0 1.506z"/></svg>');
	background:var(--bs-primary)!important;
	height: 10px;
	width: 10px;
}

.left-menu-caret-down{
	-webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" class="bi bi-caret-down-fill text-primary" viewBox="0 0 16 16"><path d="M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/></svg>');
	mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" class="bi bi-caret-down-fill text-primary" viewBox="0 0 16 16"><path d="M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/></svg>');
	background:var(--bs-primary)!important;
	height: 10px;
	width: 10px;
}


.getPosGlob{
    -webkit-mask-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25"  class="bi bi-globe-europe-africa" viewBox="0 0 16 16"><path d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0M3.668 2.501l-.288.646a.847.847 0 0 0 1.479.815l.245-.368a.81.81 0 0 1 1.034-.275.81.81 0 0 0 .724 0l.261-.13a1 1 0 0 1 .775-.05l.984.34q.118.04.243.054c.784.093.855.377.694.801-.155.41-.616.617-1.035.487l-.01-.003C8.274 4.663 7.748 4.5 6 4.5 4.8 4.5 3.5 5.62 3.5 7c0 1.96.826 2.166 1.696 2.382.46.115.935.233 1.304.618.449.467.393 1.181.339 1.877C6.755 12.96 6.674 14 8.5 14c1.75 0 3-3.5 3-4.5 0-.262.208-.468.444-.7.396-.392.87-.86.556-1.8-.097-.291-.396-.568-.641-.756-.174-.133-.207-.396-.052-.551a.33.33 0 0 1 .42-.042l1.085.724c.11.072.255.058.348-.035.15-.15.415-.083.489.117.16.43.445 1.05.849 1.357L15 8A7 7 0 1 1 3.668 2.501"/></svg>');
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25"  class="bi bi-globe-europe-africa" viewBox="0 0 16 16"><path d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0M3.668 2.501l-.288.646a.847.847 0 0 0 1.479.815l.245-.368a.81.81 0 0 1 1.034-.275.81.81 0 0 0 .724 0l.261-.13a1 1 0 0 1 .775-.05l.984.34q.118.04.243.054c.784.093.855.377.694.801-.155.41-.616.617-1.035.487l-.01-.003C8.274 4.663 7.748 4.5 6 4.5 4.8 4.5 3.5 5.62 3.5 7c0 1.96.826 2.166 1.696 2.382.46.115.935.233 1.304.618.449.467.393 1.181.339 1.877C6.755 12.96 6.674 14 8.5 14c1.75 0 3-3.5 3-4.5 0-.262.208-.468.444-.7.396-.392.87-.86.556-1.8-.097-.291-.396-.568-.641-.756-.174-.133-.207-.396-.052-.551a.33.33 0 0 1 .42-.042l1.085.724c.11.072.255.058.348-.035.15-.15.415-.083.489.117.16.43.445 1.05.849 1.357L15 8A7 7 0 1 1 3.668 2.501"/></svg>');
    background:var(--bs-primary)!important;
    width: 25px;
    height: 25px;
}

.B10_FBIA_CON{
    -webkit-mask-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" class="bi bi-bank" viewBox="0 0 16 16"><path d="m8 0 6.61 3h.89a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5H15v7a.5.5 0 0 1 .485.38l.5 2a.498.498 0 0 1-.485.62H.5a.498.498 0 0 1-.485-.62l.5-2A.5.5 0 0 1 1 13V6H.5a.5.5 0 0 1-.5-.5v-2A.5.5 0 0 1 .5 3h.89zM3.777 3h8.447L8 1zM2 6v7h1V6zm2 0v7h2.5V6zm3.5 0v7h1V6zm2 0v7H12V6zM13 6v7h1V6zm2-1V4H1v1zm-.39 9H1.39l-.25 1h13.72z"/></svg>');
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" class="bi bi-bank" viewBox="0 0 16 16"><path d="m8 0 6.61 3h.89a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5H15v7a.5.5 0 0 1 .485.38l.5 2a.498.498 0 0 1-.485.62H.5a.498.498 0 0 1-.485-.62l.5-2A.5.5 0 0 1 1 13V6H.5a.5.5 0 0 1-.5-.5v-2A.5.5 0 0 1 .5 3h.89zM3.777 3h8.447L8 1zM2 6v7h1V6zm2 0v7h2.5V6zm3.5 0v7h1V6zm2 0v7H12V6zM13 6v7h1V6zm2-1V4H1v1zm-.39 9H1.39l-.25 1h13.72z"/></svg>');
    background:var(--bs-primary)!important;
    width: 25px;
    height: 25px;
}

.B20_FBIA_EXT{
    -webkit-mask-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" class="bi bi-card-text" viewBox="0 0 16 16"><path d="M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2z"/><path d="M3 5.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5M3 8a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9A.5.5 0 0 1 3 8m0 2.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5"/></svg>');
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25"  class="bi bi-card-text" viewBox="0 0 16 16"><path d="M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2z"/><path d="M3 5.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5M3 8a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9A.5.5 0 0 1 3 8m0 2.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5"/></svg>');
    background:var(--bs-primary)!important;
    width: 25px;
    height: 25px;
}


.B25_FBIA_INF{
	-webkit-mask-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-file-earmark-bar-graph" viewBox="0 0 16 16"><path d="M10 13.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5zm-2.5.5a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5zm-3 0a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5z"/><path d="M14 14V4.5L9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2M9.5 3A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5.5z"/></svg>');
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-file-earmark-bar-graph" viewBox="0 0 16 16"><path d="M10 13.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5zm-2.5.5a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5zm-3 0a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5z"/><path d="M14 14V4.5L9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2M9.5 3A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5.5z"/></svg>');
    background:var(--bs-primary)!important;
    width: 25px;
    height: 25px;
}

.getGesDoc {
     -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-folder" viewBox="0 0 16 16"><path d="M.54 3.87.5 3a2 2 0 0 1 2-2h3.672a2 2 0 0 1 1.414.586l.828.828A2 2 0 0 0 9.828 3h3.982a2 2 0 0 1 1.992 2.181l-.637 7A2 2 0 0 1 13.174 14H2.826a2 2 0 0 1-1.991-1.819l-.637-7a2 2 0 0 1 .342-1.31zM2.19 4a1 1 0 0 0-.996 1.09l.637 7a1 1 0 0 0 .995.91h10.348a1 1 0 0 0 .995-.91l.637-7A1 1 0 0 0 13.81 4zm4.69-1.707A1 1 0 0 0 6.172 2H2.5a1 1 0 0 0-1 .981l.006.139q.323-.119.684-.12h5.396z"/></svg>');
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-folder" viewBox="0 0 16 16"><path d="M.54 3.87.5 3a2 2 0 0 1 2-2h3.672a2 2 0 0 1 1.414.586l.828.828A2 2 0 0 0 9.828 3h3.982a2 2 0 0 1 1.992 2.181l-.637 7A2 2 0 0 1 13.174 14H2.826a2 2 0 0 1-1.991-1.819l-.637-7a2 2 0 0 1 .342-1.31zM2.19 4a1 1 0 0 0-.996 1.09l.637 7a1 1 0 0 0 .995.91h10.348a1 1 0 0 0 .995-.91l.637-7A1 1 0 0 0 13.81 4zm4.69-1.707A1 1 0 0 0 6.172 2H2.5a1 1 0 0 0-1 .981l.006.139q.323-.119.684-.12h5.396z"/></svg>');
	background: var(--bs-primary)!important;
    width: 25px;
    height: 25px;
}


.puntos_suspensivos
{
	white-space: nowrap; 
	text-overflow: ellipsis; 
	overflow: hidden;
}

.selected{
    border-bottom-style: solid;
    border-color: var(--bs-primary);
    font-weight: bold !important;
}


.btn.loading {
  position: relative;
  pointer-events: none;
}


.btn-documento.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: -0.6rem;
  margin-left: -0.6rem;
  border: 3px solid rgba(255,255,255,0.4);
  border-top-color: var(--bs-primary);
  border-radius: 50%;
  animation: rotate 1.5s linear infinite;
}

.btn-documento.loading > * {
  visibility: hidden;
}


.btn-buscar.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: -0.6rem;
  margin-left: -0.6rem;
  border: 3px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: rotate 1.5s linear infinite;
}

.btn-buscar.loading > * {
  visibility: hidden;
}

.borde-listado{
    border-top: solid 1px var(--bs-light-gray);
}

#loading-screen{
	height: 100% !important;
	width: 100% !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	position: absolute;
	z-index: 20;
	background: rgba(120,120,120,0.5);
}

.loading-symbol {
    display: inline-block;
    width: 48px;
    border: 6px solid white;
    height: 48px;
    border-top-color: var(--bs-primary);
    border-radius: 100%;
    animation: rotate 1.5s linear infinite;
}	
	
@keyframes rotate {
	0% {
	    transform: rotate(0deg);
	}
	100% {
	    transform: rotate(360deg);
	}
} 

#contenido
{
	
    max-height: calc(100vh - 50px);
    overflow-y: auto;
	
}



div#chart  > div.apexcharts-canvas >div.apexcharts-tooltip, div#chart2  > div.apexcharts-canvas >div.apexcharts-tooltip , 
div#chart-carousel > div.apexcharts-canvas >div.apexcharts-tooltip ,div#chart2-carousel > div.apexcharts-canvas >div.apexcharts-tooltip    {
    opacity: 1 !important;
    top: -10px !important;
}

.rentabilidad[valor^="-"]{
	color: var(--bs-danger) !important;
}

.rentabilidad{
	color: var(--bs-success) !important;
}


.rentabilidad:before{
	content: "\002B";
}

.rentabilidad[valor^="-"]:before{
	content: "" !important; 
}


.text-ellipsis{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.line-primary{
    border-top-style: solid;
    border-color: var(--bs-primary);
    width: 100%;
}

.card-secondary{
    border: solid 1px var(--bs-secondary) !important; 
    box-shadow: none !important;
    border-radius: 5px;
}

.form-floating > .form-control ~ label{
    color: var(--bs-gray) !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

input.must:-webkit-autofill,
input.must:-webkit-autofill:hover, 
input.must:-webkit-autofill:focus, 
input.must:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 30px #fafafa inset !important;
}

.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--bs-light-gray) !important;
    transform: scale(0.85) translateY(-1rem) translateX(0.5rem);
}

.form-floating > .form-control:focus ~ label {
    color: var(--bs-light-gray) !important;
    transform: scale(0.85) translateY(-1rem) translateX(0.5rem);
}
.form-floating > .form-control.must ~ label::after{
    background-color: #fafafa !important;
}

.form-floating > .form-control:disabled ~ label::after{
    background-color: var(--bs-secondary-bg) !important;
}

.form-control.is-invalid:focus {
    box-shadow: none !important;
}

.form-control.is-valid:focus {
    box-shadow: none !important;
}

.dropdown-content > div {
    color: white;
}

input:hover {
    --bs-input-opacity: 0.8;
}
.card{
    box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.20)!important;
    border:0px black solid !important;

}

.gray-border{
    border-top: solid 1px var(--bs-light-gray);
}

.pill{
    background-color: var(--bs-primary);
    border-radius: 4px;
    padding-top:3px;
    padding-bottom:3px;
    color: white;
    min-width: 30%;
    font-size: 12px;
    font-weight: 500;
}


#top-menu{
    height: 50px;
    width: 100%;
    z-index:50;
    position: fixed;
    top: 0;
    box-shadow: 0 0.2rem 0.2rem rgba(0,0,0,0.15) !important
}

#icon-menu-top-bar{
    margin-left: 270px;
}

body.leftMenu #icon-menu-top-bar{
    margin-left: 100px;
}

#left-menu{
    position: absolute;
    z-index:50;
    left: 0px;
    top:0px;
    background-color: #Ffffff;
    transition: 150ms;
    width: 250px ;
    height:  100vh;
    box-shadow: 0 0.2rem 0.4rem rgba(0,0,0,0.15) !important;
    display:flex;
    flex-direction: column;
}

body.leftMenu #left-menu{
   
    transition: 150ms;
    width: 80px ;
    
}

body[ncuentas="0"] #right-container
{
	margin-left: 0 !important;
	width: calc(100vw) !important;
	margin-top: 0 !important;
	height: calc(100vh) ! important;
}

#right-container{
    overflow: auto;
    margin-top: 50px;
    position: relative;
    background-color: --right-container-background;
    transition: 150ms;
    height:  calc(100vh - 50px) ;
    width:  calc(100vw - 250px) ;
    margin-left : 250px;
}

body.leftMenu #right-container{
    transition: 150ms;
    margin-left : 80px;
    width:  calc(100vw - 80px) 
}

#logo-big{
    display:block;
}

body.leftMenu #logo-big{
    display:none;
}


body.leftMenu #logo-small{
    display:block;
}

#logo-small{
    display:none;
}

body.ff #logo-small{
    display:block;
}

.left-menu-title{
   display:block;
}

body.leftMenu .left-menu-title{
    display:none;
}

.dropdown-left-menu{
    justify-content: left;
}

body.leftMenu .dropdown-left-menu{
    justify-content: center;
}

.left-menu-icon-div{
    display: flex;
    justify-content: left;
}
 
body.leftMenu .left-menu-icon-div{
    justify-content: center;
}

.dropdown-content{
    display: none;
    /*border-top-style: solid;
    border-bottom-style: solid;
    border-width: thin;*/
    background-color: var(--bs-primary);
}

.dropdown-content .row{
    color: white;
}

.dropdown-content .row .col-12{
    padding-top: 2%;
    padding-bottom: 2%;
}

.dropdown-left-menu.clicked-dropdown.wide .dropdown-content{
    display: block;
}


.dropdown-content-lateral{
    border-radius: 5px;
    background-color: var(--bs-primary);
    position: absolute;
    color: white;
    min-width: 150px;
    display: none;
    left: 80px;
    top: -60px;
    width: max-content;
}

.dropdown-left-menu.clicked-dropdown {
    background-color: rgba(var(--bs-secondary-rgb), 0.15);
}

.dropdown-left-menu.clicked-dropdown:not(.wide) .dropdown-content-lateral{
    display: block;
}

.dropdown-content-lateral > div:first-of-type {
    border-bottom-style: solid;
}



#circulo-usuario{   
    width: 32px;
    height: 32px;
    padding-top: 4px;
    font-size: 15px;    
}

#icon-menu-top-bar{
    margin-top: 8px;
    font-size: 35;
    cursor: pointer;
    color: var(--bs-primary);
    transition: 150ms;
}

.chevron{
    margin-left: 5px;
    margin-top:auto;
    margin-bottom:auto ;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    color: var(--bs-primary);
}

#icon-bell-top-bar{
    
    font-size: 25px;
    cursor: pointer;
    color: var(--bs-primary);
    position: relative;
    z-index: 50;
    
    
}

#icon-bell-top-bar[numNotifications]{
    animation: ring 1s .7s ease-in-out  !important;
}


.right-caret-container{
    display: flex;
}

.down-caret-container{
    display: none;
}

body.leftMenu .down-caret-container{
    display: none !important;
}

body.leftMenu .right-caret-container{
    display: none !important;
}


.dropdown-left-menu.clicked-dropdown .down-caret-container {
    display: flex;
}

.dropdown-left-menu.clicked-dropdown .right-caret-container {
    display: none;
}




@keyframes ring {
    0% { transform: rotate(0); }
    17% { transform: rotate(-12deg); }
    34% { transform: rotate(10deg); }
    51% { transform: rotate(-8deg); }
    68% { transform: rotate(4deg); }
    100% { transform: rotate(-2deg); }
}

#bell-menu{
    scroll-behavior: auto;
    position: absolute!important;
    top: 45px!important;
    right: -80px !important;
    max-width: calc(80vh);
    min-width: 400px!important;
    border: 0px;
    border-radius:2px;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
    max-height: 400px;
}

#notification-container{

    max-height: 200px;
    overflow-y: scroll;
}
.notification[removed]{
    animation: fallAway forwards 500ms ease-out 1;
}
@keyframes fallAway {
    0% {
      transform: rotateZ(0deg);
      top: 0;
      opacity: 1;
    }
    25% {
      transform: rotateZ(-1deg);
    }
    100% {
      top: 300px;
      transform: rotateZ(0deg);
      opacity: 0;
    }
  }
.notification{
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
}

.notification-text{
    width: 90%;
}

.notification-x{
    width: 10%;
}

#notification-number{
    position: absolute;
    top: -6px;
    left: 10px;
    width: 20px;
    height: 20px;
    z-index: 51;
    font-size: 14px;
}

#profile-menu{
    scroll-behavior: auto;
    position: absolute!important;
    top: 15px!important;
    right: -50px !important;
    width: 300px!important;
    border: 0px;
    border-radius:2px;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
    height:auto;
    z-index:50;
}

.dropdown-menu{

    overflow:hidden;
    animation: showTop 0.5s ease-in-out  !important;
}


.clickable{
    user-select: none;
    cursor: pointer;
}

.clickable-button{
    user-select: none;
    cursor: pointer;
}

.clickable-button:hover{
    background-color: rgba(var(--bs-secondary-rgb), 0.15);
    border-radius: 7px;
}

.clickable-button.clicked{
	background-color: rgba(var(--bs-secondary-rgb), 0.15);
	border-radius: 7px;
}

.card-list.clickable-button:active{
    border:1px solid var(--bs-secondary);
    box-shadow: 0px 1px 0px 0px var(--bs-secondary);
    
} 
@keyframes showTop {
    0% { max-height:0px; }
    100% { max-height:calc(100vh - 60px); }
    
}
.select-famila-option:hover{
    color: var(--bs-secondary)!important;
    transition:200ms
}

#profile-image{
    width: 130px;
    height: 130px;
    border-radius: 100%;
    object-fit: cover;
}



.card-list:not(:last-child):not(.headers_titularidad){
    border-bottom: 1px solid #d5d5d5;

}

.borders-shadow{
    border:1px solid var(--bs-light-gray);
    box-shadow: 0px 1px 0px 0px var(--bs-light-gray);
    border-radius: 7px;
}

/**** SCROLL BAR  ****/
/* Works on Firefox */

@supports (-moz-appearance:none){
    * {
        scrollbar-width: thin;
        scrollbar-color: #bebfc2 #ffffff00;
    }
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

*::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0);
}

*::-webkit-scrollbar-thumb {
    background-color: #bebfc2;
    border-radius: 20px;
    border: 3px solid rgba(255, 255, 255, 0);
    height: 50%;
}

/**** FIN SCROLL BAR ***/


.icon-input{
    font-size: 25px;
    padding-top:5px;
    padding-left:8px;
    border:  var(--bs-border-width) solid var(--bs-border-color);
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    fill: var(--bs-l-gray);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.icon-input-focus{  
    background-color: var(--bs-body-bg);
    border: var(--bs-border-width) solid;
    border-color: var(--bs-primary) !important;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    outline: 0;
    box-shadow: none;
    
}

.inside-input{
    color: var(--bs-l-gray)
}
.bi-chevron-down{
    transition:300ms;
    transform : rotate(0deg);
}
div[aria-expanded="true"] .bi-chevron-down{
    transition:300ms;
    transform : rotate(180deg);
}
#filter{
    z-index: 49;
    display: none !important;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100% !important;
    height: 100%;
    background-color: rgba(0,0,0,0.15);
    
}
#select-famila{
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}


#main-card{
    height: 94%;
}

/*Tablet e inferior*/
@media (max-width: 1275px){

    .dropdown-left-menu.clicked-dropdown.wide .dropdown-content-lateral{
        display: block;
    }

    .dropdown-left-menu.clicked-dropdown:not(.wide) .dropdown-content-lateral{
        display: none;
    }

    body.leftMenu #logo-small{
        display: none;
    }

    body.leftMenu #logo-big{
        display: block;
    }

    body.leftMenu #top-menu{
        z-index: 48;
    }

    #icon-menu-top-bar{
        margin-left: 20px;
    }
    
    body.leftMenu #icon-menu-top-bar{
        margin-left: 20px;
    }

    body.leftMenu #filter , body.topMenu #filter{
        display: block !important;
    }   

    /*Switcheamos el leftMenu*/
    body.leftMenu #left-menu{
        transition: 150ms;
        width:  250px  !important;
    }
    
    #left-menu{
        transition: 150ms;
        width:0px !important;
    }
	body.leftMenu #loading-screen{
		margin-left:250px  !important;
		width : calc(100% - 250px)!important;
	}
	
    body.leftMenu .left-menu-title{
        display:block;
    }

    #menu{
        display: none !important;
    }
    
    body.leftMenu #menu{
        display: flex !important;
    }

    #right-container{
        transition: 150ms;
        width: calc(100vw ) !important;
        margin-left: 0px !important;
    }

    .dropdown-left-menu.clicked-dropdown:not(.wide) .dropdown-content{
        display: block;
    }

    .left-menu-icon-div{
        justify-content: center;
    }
     
    body.leftMenu .left-menu-icon-div{
        justify-content: left;
    }
    
    
    body.leftContainer .right-caret-container{
        display: flex;
    }

    body.leftContainer .down-caret-container{
        display: flex;
    }

    
    body.leftMenu .down-caret-container{
        display: none !important;
    }
    
    body.leftMenu .right-caret-container{
        display: flex !important;
    }

    .dropdown-left-menu.clicked-dropdown .right-caret-container{
        display: none !important;
    }

    .dropdown-left-menu.clicked-dropdown .down-caret-container{
        display: flex !important;
    }



}

@media (max-width: 992px){
    #main-card{
        height: 96%;
    }
}


@media(max-width: 768px){
	.hover-container {
	    width: 200px !important;
	}
}


@media(max-width: 500px){
    .form-input{
        font-size: 14px !important;
    }
}


/*Mobil*/
@media (max-width: 470px){
    
    
    #bell-menu{
        min-width: 265px!important;
        max-width: 90%;
        justify-content: center !important;
        right: -85px !important
        
    }
     #profile-menu{
        width: 280px!important;
     }
    .notification-text{
       text-align: center;
    }
    .notification-x{
        width: 20% !important;
    }
}

@media (max-width: 360px){
    #top-menu-familia{
        display: none;
    }
}


.hover-displayer {
    position: relative;
    color: var(--bs-gray);
}

.hover-container {
    display: none;
    position:absolute;
    background-color: white;
    margin: 0px !important;
    padding-left: 12px !important;
    padding-top: 12px !important;
    max-height: 200px;
    width: 312px;
    overflow-y: clip;
}

.hover-list{
    max-height: 180px;
    overflow-y: scroll;
    cursor: auto;

}
.hover-displayer:hover .hover-container:first-child {
    display: block;
}

.list-warning{
    border-radius: 15px;
    border-style: solid;
    border-width: 2px;
    border-color: var(--bs-danger);
    color:var(--bs-danger);
}

.profile-image-titul-initials{
	width: 60px !important;
    height: 60px !important;
    border-radius: 100% !important;
    object-fit: cover !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
}


@media(min-width: 768px) and (max-width: 992px){
	.profile-image-titul-initials{
		width: 50px !important;
	    height: 50px !important;
	}
}


.infocard
{
	height: 100px;
}


#paginar{
   	background-color: var(--bs-primary);
	border-radius: 12px;
	color: white;
	font-size: 12px;
	font-weight: 500;
	width: 100px !important;
	transition: all 0.2s ease-in-out;
	
}

#paginar.loading{
	border-radius: 100%;
	width: 33px !important;
	height:33px !important;
	transition: all 0.2s ease-in-out;
}

/* MENÚ CONFIGURACIÓN */


.modal-config {
 	height: 75vh;        
  	max-height: 85vh;   
  	display: flex;
 	 flex-direction: column;
}

.modal-config .modal-body {
  	flex: 1;
  	overflow: hidden;
}

#config-div {
  	height: 100%;
}

.menu-panel {
  	height: 100%;
  	overflow-y: auto;
}

.content-panel {
  	height: 100%;
  	overflow-y: auto;
}


/* GOOGLE FONTS */

.invalid-icon {
	border-color: var(--bs-form-invalid-border-color) !important;
}

.valid-icon {
	border-color: var(--bs-form-valid-border-color) !important;
}

.form-check-label {
	color: var(--bs-light-gray);
	font-size: 15px;
	white-space: nowrap;
}

.form-check-label-invalid {
	color: var(--bs-form-invalid-border-color) !important;
}

.form-check-label-valid {
	color: var(--bs-form-valid-border-color) !important;
}

.valid-text {
	color: var(--bs-form-valid-border-color) !important;
}

.invalid-text {
	font-size: 13px;
	white-space: nowrap;
	color: var(--bs-form-invalid-border-color) !important;
}

.is-valid {
	border-color: var(--bs-form-valid-border-color) !important;
}

.is-invalid {
	border-color: var(--bs-form-invalid-border-color) !important;
}
