
html,body{
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

*{
    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;
}
.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-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;
}

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

table>thead{
    background-color:mediumturquoise;
}

.table_header{
    background-color:mediumturquoise;
    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;
}

.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%;
	}

/*FIN TABLE*/

.hide{
    display: none !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;
}
.noexpand{
    flex: unset !important;
}

@keyframes blinker {
  50% {
    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);
  }


  /*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;
}

input.disabled[readonly], textarea.disabled[readonly], select.disabled[readonly]{
	background-color: #EBEBE4;
  color: #c2c2c2;
  cursor: default;
}

.input[readonly], input.disabled, textarea.disabled,select[readonly='true'] {
  background-color: #EBEBE4;
}

/*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;
}

@media only screen and (max-width: 700px) {
  #ap_desktop, .bg-login{
    background: url(../img/fondo_clinica.png) no-repeat;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-size: cover;
  }
}