html,body{
    height: 100%;
    width: 100%;
    overflow: hidden;
    line-height: unset !important;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: var(--bulma-text-strong);
}

*{
    padding:0;
    margin:0;
    text-decoration: none;
}

body,#svelte{
    height: 100%;
    display: flex;
    flex-direction: column;
}

body {
  min-height: 100vh;
}

.box {
  padding: 40px;
  position: relative;
}
.box h2 {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  padding: 1.5rem 0;
}
.box .button {
  padding: 0;
  height: 40px;
  min-width: 160px;
  transition: all .3s;
}
.box .button:hover {
  background: #ff4f8f;
  border-color: #ff4f8f;
  color: #fff;
}

.link-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #6dacff;
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all .4s;
  z-index: 101;
}
.link-button img {
  width: 32px;
  height: 32px;
  display: block;
}
.link-button:hover {
  transform: scale(1.1) rotate(180deg);
  background: #ff4f8f;
}

.ap_desktop, .bg-login{
  /*background: url(../img/fondo_clinica.png) no-repeat center center;*/
  background-image: linear-gradient(rgba(0, 0, 0, var(--opacidad-negro)), rgba(0, 0, 0, var(--opacidad-negro))), url("../");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}



.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome and Opera */
  }

input{
    padding: 3px;
}

.uppercase{
  text-transform: uppercase;
}

.bg_modal{
    background-color: #c2c2c2;
    position: absolute;
    z-index: 99;
    height: 100%;
    width: 100%;
    opacity: 0.3;
    top:0;
    left:0;
}

.bg_modal_menu{
    z-index: 99;
}


.dropdown-item{
  color: var(--letter-grey) !important;
}

.dropdown-item:hover{
  color: var(--letter-hover-fondo-claro) !important; 
}

/*TABLE*/
table{
    font-size: .8em;
}

table>thead{
    /*background-color:mediumturquoise !important;*/
}

.table tr.is-selected { /*modificado de bulma*/
  /*background-color: #00d1b2;*/
  background-color: rgba(31, 69, 152, 1);
  color: #fff;
}

.table_header{ /*modificado de bulma*/
    /*background-color:mediumturquoise !important;*/
    background-color: rgb(33, 147, 209, 1);
    position: sticky; 
    top: 0;
    padding: 5px;
    z-index: 1;
}

table>tbody>tr>td{
    padding: 3px;
}
/*
table>tbody>tr:nth-child(even){
	background-color: #cefcbc;
}*/

table>tbody>tr:hover{
    cursor: pointer;
	background-color: #dcf3fa;
}

.pointer:hover{
  cursor: pointer;
}

.table-loading {
    width: 100%;
    height: 100%;
    position: absolute;
    background: #fff;
    opacity: 0.5;
    z-index: 99999;
    transition: opacity .3s;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
  }
  .table-loading .loader {
    height: 80px;
    width: 80px;
  }
  
  .is-loading {
    position: relative;
  }

  .flex-1{
      flex: 1
  }
  
	.w100{
		width: 100%;
	}
  .h100{
    height: 100%;
  }

/*FIN TABLE*/

.hide{
    display: none !important;
}

.novisibility{
  visibility: hidden !important;
}

.show{
    display: initial !important;
}

.field-group{
    width:100%;
    margin-bottom: .40rem;
}
.field-group>.field{
    flex:1;
    margin-right:5px;
}
.field-group>.field:last-child{
    margin-right:0;
    margin-bottom: 0.75rem;
}
.noexpand{
    flex: unset !important;
}

.badge{
  /*position: absolute;*/
  top: 8px;
  font-size: .9em; 
  font-family: serif; 
  text-align: center; 
  color: #008000;
}
.blinkear{ 
  animation: animate  
      1.5s linear infinite;
}
@keyframes animate { 
  0% { 
      opacity: 0; 
  } 

  50% { 
      opacity: 0.8; 
  } 

  100% { 
      opacity: 0; 
  } 
} 

.arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
  }
  
  .right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }
  
  .left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
  }
  
  .up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }
  
  .down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
  }

  .parpadea {
    animation-name: parpadeo;
    animation-duration: 2s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  
    -webkit-animation-name:parpadeo;
    -webkit-animation-duration: 2s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
  }
  
  @-moz-keyframes parpadeo{  
    0% { opacity: 1.0;}
    50% { opacity: 0.0; color:black  !important;}
    100% { opacity: 1.0;}
  }
  
  @-webkit-keyframes parpadeo {  
    0% { opacity: 1.0;}
    50% { opacity: 0.0; color:black  !important;}
     100% { opacity: 1.0; }
  }
  
  @keyframes parpadeo {  
    0% { opacity: 1.0;}
     50% { opacity: 0.0; color:black  !important;}
    100% { opacity: 1.0;}
  }

  /*SCROLLBAR*/
/* hover effect for both scrollbar area, and scrollbar 'thumb' */
body div::-webkit-scrollbar:hover {
  background-color: rgba(0, 0, 0, 0.09);
}
/* Turn on custom 8px wide scrollbar */
body div::-webkit-scrollbar{
  position: fixed;
  width: 6px; /* 1px wider than Lion. */
  height: 8px;
  /* This is more usable for users trying to click it. */
  background-color: rgba(0,0,0,0);
  -webkit-border-radius: 100px;
}
 
/* The scrollbar 'thumb' ...that marque oval shape in a scrollbar */
body div::-webkit-scrollbar-thumb {
  /* This is the EXACT color of Mac OS scrollbars. 
     Yes, I pulled out digital color meter */
  background: rgba(0,0,0,0.5);
  -webkit-border-radius: 100px;
/*  background-clip: padding-box;*/
  border: 2px solid rgba(0, 0, 0, 0);
  min-height: 10px; /*Prevent it from getting too small */
}
body div::-webkit-scrollbar-thumb:active {
  background: rgba(0,0,0,0.61); /* Some darker color when you click it */
  -webkit-border-radius: 100px;
}

body div::-webkit-scrollbar-corner {
    background: #fff;
}

.perfil_buttons{
  text-align: right;
  padding-right: 5px;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}
.result-container{
  height:100%;
  overflow: auto;
}

.text-overflow{
  max-height: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.overflow-auto{
  overflow: auto;
}

.overflow-x-auto{
  overflow-x: auto;
}

.overflow-y-auto{
  overflow-y: auto;
}


.table .th-mini{
  padding: 0.25em !important;
}

.contenedor{
  display: flex;
  margin: 0 !important;
}

.flexibility{
  height: 1px;
  flex: 1;
}

.float-right{
  float: right;
}

.gdisabled{
  cursor: not-allowed;
  pointer-events: all !important;
}

.disabled-input{
  background-color: #dbdbdb;
  border-color: #dbdbdb;
  box-shadow: none;
  color:var(--input-disabled-letter);
  opacity: .5;
  cursor: not-allowed;
  pointer-events: all !important;
}

/*emer 15/11/2019*/
#loading {
  display: flex;
  align-items: center;
  justify-content: center;
  /*display: none;*/
  position: absolute; /* Stay in place */
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 9999; /* Sit on top */
  width: auto;  /*Full width */
  height: auto;
  background-color: rgb(0,0,0);  /*Fallback color*/
  background-color: rgba(0,0,0,0.1);  /*Black w/ opacity*/
}

.hoverwhite:hover{
  color: #FFF;
}

.hovergray:hover{
  color: #c2c2c2 !important;
}

.hoverblack:hover{
  color: black;
}

#ap_desktop{
  flex: 1;
  /*padding: 10px 20px;*/
  /*display: flex;
  flex-direction: column;*/
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.loader-wrapper {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background: #fff;
opacity: 0;
z-index: -1;
transition: opacity .3s;
display: flex;
justify-content: center;
align-items: center;
border-radius: 6px;
}
.loader-wrapper .loader {
height: 80px;
width: 80px;
}
.loader-wrapper.is-active {
opacity: 1;
z-index: 99999;
}

.is-loading {
position: relative;
}

.gcontainer{
  padding: 10px; 
  height: 100%; 
  display: flex; 
  flex-direction: column;
}

.fcontainer{
  width: 100%; 
  display: flex; justify-content: flex-end; align-items: center; padding-right: 3px;
}

.transparent{
  background-color: transparent !important;
  border: none;
  outline-style: none;
}

.bold{
  font-weight: bold;
}

.table tr.inactivo.is-selected{
  background-color: #898989 !important;
  color: white !important;
}
.inactivo{
  background-color: #e2e2e2  !important;
  color: #6d6d6d !important;
}

.width-100px{
  width: 100px;
}

.width-80px{
  width: 80px;
}

.width-70px{
  width: 70px;
}

.width-50px{
  width: 50px;
}

.table {
  border-collapse: unset !important;
}

.mycode{
  display: block; 
  padding: 3px 3px 2px; 
  font-size: 14px; 
  line-height: 20px;
  width: 100%;
  background-color: #333;
  font-family: arial;
  color: #f7f7f7;
  font-weight: bold;
  height: 100%;
}


.is-full-height{
  height: 100%;
}

.grande{
  position: absolute;
  z-index: 999;
  width: 400px !important; 
  transition: width .5s;
}

.w30{
  position: inherit;
  width: 30px;
  transition: width .2s;
}

.fieldset{
  padding:0px;
  border:1px solid var(--border-fieldset,#a1a1a1);
  background:var(--bg-fieldset,#f6f8ff);
  margin-bottom: 2px;
}

.fieldset.h100{
  height: 100%;
}

.fieldset > legend{
   font-size: 1rem;
   font-weight: 700;
}


.mypadding{
  padding-top: 0.50rem !important;
  padding-bottom: 0.50rem !important;
}
/*
.button.is-primary {
  background-color: var(--bg);
  border-color: transparent;
  color: #000000;
}*/

.prodlist{
  flex: 2;
  overflow: auto;
}
.arrowprod{
  display:flex; 
  width: 70px;
  align-items: center;
  justify-content: center;
}

.search_container{
  display: flex;
  margin: 8px;
  justify-content: center;
  align-items: flex-end;
}

.divisor {
  border: 1px dashed;
  text-align: center;
  background-color: black;
  margin-bottom: .3rem;
}

.iframe-contenedor{
  position: relative;
  overflow: hidden;
}

.responsive-iframe {
  z-index: 9;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}



.is-size-8 {
   font-size: 0.70rem;
   
  };

.is-size-9 {
  font-size: 0.65rem;
};

.gsus-grid-container{
  font-size: 0.70rem !important;
  height: 100%;
}

.cursor-pointer {
  cursor: pointer;
}

.botones .button{
  margin-left: 5px;
}



.valores,.cl{
  --bulma-input-h: var(--bulma-scheme-h);
  --bulma-input-s: var(--bulma-scheme-s);
  --bulma-input-border-l: var(--bulma-border-l);
  --bulma-input-border-l-delta: 0%;
}

.valores,.cl{
  min-height: 30px;
  border: 1px solid;
  border-color: hsl(var(--bulma-input-h), var(--bulma-input-s), calc(var(--bulma-input-border-l) + var(--bulma-input-border-l-delta)));
  border-radius: 4px;
  background-color: var(--bulma-background);
}

.tag{
  font-size: 0.69rem !important;
}
.background-disabled{
  background-color: var(--bulma-background);
}

.controlarea ol, .controlarea ul{
  padding-left: 40px;
} 

.controlarea ul{
  padding-left: 40px;
  list-style: disc;
}
.controlarea u{
  text-decoration: underline;
} 


.brightoverlay{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99999;
}

.fondo-principal{
  background-color: var(--bg);
  height: inherit;
}

.title, .label{
  color: var(--letter);
}
/*
input:auto-fill {
  background-color: -internal-light-dark(var(--bg-input) , var(--bg-input) ) !important;
}*/

input:-webkit-autofill,input:auto-fill,input:-internal-autofill-selected {
  outline: 5px solid black !important;  
  background-color: -internal-light-dark(var(--bg-input) , var(--bg-input) ) !important;
}

.tabs li a{
  background-color: var(--bg-color-tabs,inherit);
  color: var(--letter-color-tabs,inherit);
}

.tabs.is-boxed li.is-active a{
  background-color: var(--bg-color-tabs-active,inherit);
  color: var(--letter-color-tabs-active,inherit);
}

.tabs.is-boxed a:hover {
  background-color: var(--bg-color-tabs-hover,inherit);
  border-bottom-color: #dbdbdb;
}
.tabs a:hover{
  color: var(--letter-color-tabs);
}

.gsus-link{
  color: var(--letter); 
}

.gsus-link:hover{
  color: var(--letter-boton); 
}

.principal-background{
  background-color: var(--principal-background);
}

.gsus-top-bar{
  background-color: var(--topbar-background);
}

.multiple-seleccion{
  background-color: var(--topbar-background);
  border-color: var(--bulma-border-l);
}

