html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,code,del,dfn,em,img,q,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td, input{border:0;margin:0;padding:0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }


html {position:relative; height:100%; overflow:auto;} 
body {position:relative; min-height:100%;}


label, a{
    cursor:pointer;
}
a, a:hover{ 
-o-transition:.5s;
-ms-transition:.5s;
-moz-transition:.5s;
-webkit-transition:.5s;
transition:.5s;
text-decoration:none;
display:block; 
}

label:hover{
text-decoration:underline;
}

img{
    border:0;
}
button{
    border:0;
    background:transparent;
    cursor:pointer;
}



/* login */
.login-content{
    margin:0 auto;
    width:320px;
    height:auto;
}
.login-logo{
    text-align:center;
    overflow:auto;
    padding:3em 0 2em 0; 
    margin:0 auto;
}
.login-logo img{
    max-width:140px;
}
#login-box{
    margin-top:1em;
    float:left;
    width:320px;
    height:auto;
    padding: 2em;
    margin-top: 1em;
}


/* header */
#header{
    position:fixed;
    z-index:100;
    width:100%;
    padding:.6em 1em .6em 290px;
    height:auto;
   
}
#header .icons-menu{ 
    margin: 0 .5em 0 1em;
    }
.header-menu{
    position:relative;
    list-style: none;
    float:right;

}
.header-menu li{
    display:inline-block;
    float:left;
    margin-left:.7em;
    line-height: 45px;
    font-size: .9em;
}
#header-mobile{
    position: absolute;
    float: left;
    z-index:101;
    display: none;
    float: left;
}
#logo-mobile{
    float: left;
    width: 70px;
    margin: 1.2em 1em 1em 1em;
}
#menu, #menu-mobile{
float:left;
margin:.7em 0 0 .5em;
}



.avatar-medium{
    float:left;
    border-radius:100%;
    width: 40px;
    height: 40px;
    line-height:40px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.avatar-big{
    float:left;
    border-radius:100%;
    width: 100px;
    height: 100px;
    line-height:100px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.avatar-menu{
    
    margin: 2em 0 0 4em;
}


.randomcolor{
    color:#FFFFFF;
    text-align:center;
    font-weight:300;
    font-size:1.5em;
}


/* sidebar */
#logo{
float:left;
width: 100px;
margin: 1em 0 0 4.2em;
}

#logo img,  #logo-mobile img{
   width: 100%;
}

#mySidenav{
    width:250px;
   
}

.sidenav {
    height:100%;
    position: fixed; 
    z-index: 999; 
    left: 0;
    transition: 0.5s; 
}
.sidenav-menu{
    float: left;
    position:relative;
    width:250px;
    font-size:1.1em;
    padding-left: 1.5em;
    margin-top: 2.3em;
    }



.sidenav ul li {
    clear:both;
    float:left;
    display: inline-block;
    width:100%;
    margin-bottom: .5em;
}

.sidenav-menu  li ul {
    position:relative;
    clear:both;
    float:left;
    list-style:none;
    width:100%;
    padding-left: 0; 
}
.sidenav-menu  li ul li {
    clear:both;
    float:left;
    display: inline-block;
    width:100%;
    
}
.sidenav-menu li a, .sidenav-menu  li ul li a{
    padding:.5em 1em .5em 1em;
    
}

.sidenav ul li.separator{
    clear:both;
    float:left;
    width:92%;
    height:1px;
    margin:.5em 0 .5em 0 ;
}
.proyect-menu-name{
    clear: both;
    float: left;
    width: 93%;
    text-align: center;
    padding-top: .5em;
}

.proyect-menu{
    display: none;
    position: absolute;
    list-style: none;
    padding: 2em;
    z-index: 999;
    top: 145px;
    left:180px;
    min-width: 280px;
    width: auto;
    overflow: visible;
    -webkit-box-shadow: 2px 2px 17px -6px rgba(0,0,0,0.5);
    -moz-box-shadow: 2px 2px 17px -6px rgba(0,0,0,0.5);
    box-shadow: 2px 2px 17px -6px rgba(0,0,0,0.5);
}
.proyect-menu-icon{
     position: absolute;
     top: 124px;
     left:180px;
     z-index: 888;
}

/* forms */
.form-group{
    clear: both;
    float: left;
    width: 100%;
    margin-top: .4em;
}
.form-add{
    max-width: 600px;
}
.form-title{
    font-size: 1.1em;
}
.form-input{
    width: 100%;
    border: 1px solid;
    height: 36px;
    margin: .2em 0 .5em 0;
    padding: .3em;
    font-size: .95em;
}
.form-button{
    padding: .5em;
    min-width: 160px;
    min-height:  34px;
    font-size: 1em;
    text-align: center;
}

.form-check-input{

}
.form-check-label{
     font-size: .9em;
}
.form-date{
    max-width: 140px;
}

/* contents */
#main{
    padding: 5em 2em 2em 298px;
    float: left;
    width: 100%;
    min-height: 100%;
}

.big-title{
    font-size: 1.4em;
}
.big-title-separator{
    border-top: 1px solid #000000;
    margin-top: .5em;
    padding-top: .5em;
}

.reserva-data-top{min-width: 15%}


/* tables */
.data-table {
  width:100%;
  table-layout: fixed;
  font-size:.9em;
  overflow: auto;
  border:1px solid #fff;

}

.tbl-content{
  height:auto;
  max-height:75%;
  overflow-x:auto;
  margin-top: 0px;
    word-wrap:break-word;
    
}
.data-table th{
  padding: .5em;
  text-align: left;
  font-weight: 600;
  font-size: 1em;
  text-transform: uppercase;
}
.data-table td{
  padding: .5em;
  text-align: left;
  vertical-align:middle;
}

.data-table .thin-th{
    width: 60px;
}

.data-table  .medium-th{
    width: 100px;
}

.data-table-reservas .reserva_th{
    border:1px solid #e4e6eb;
    padding:0;
    position: relative;
    min-width: 60px;
    height: 40px;
    overflow: visible;
    padding: .5em;
}
.reserva_th a{
    width: 100%;
    height: 100%;
    display: block;
}
.reserva_th .host_name{
    position: absolute;
    min-width: 200px;
    z-index: 10;
    width: auto;
    overflow: visible;
    top: 0;
    left: 0;
    height: 100%;
    padding: .2em .2em .2em .4em;
    border-left: 2px solid #FFFFFF;
    font-size: .9em;

}
.reserva_th .host_name_shared{
    position: absolute;
    display: inline-block;
    z-index: 10;
    min-width: 200px;
    width: auto;
    overflow: visible;
    top: 0;
    height: 100%;
    padding: .2em .2em .2em .4em;
    margin-left: 40%;
    border-left: 2px solid #FFFFFF;
    font-size: .9em;
}




.td-small {
    width: 30px;
}
.bulk-actions{
    position:relative;
    clear:both;
    float:left;
    width:100%;
    padding:1em;
    font-size:.9em;
}
/* page navigation */
.page-nav{
    position:relative;
    width:100%;
    display:block;
    padding: 0.5em;
    font-size: 0.9em;
    text-align:center;
    margin-top:1em;
    margin-bottom:1em;
    clear:both;
    float:left;
}

.total-register{
    font-size:.9em;
    margin-top:.5em;
    padding-right:1em;
    color:#585858 ;
    float:left;
}

.page-total{
    margin-bottom:1.6em; font-size:0.9em;
    
}

.page_link{
    float: left;
    font-size: 1.1em;
    display: inline-block;
    text-decoration: none;
    color: #000;
    width:28px;
    vertical-align: middle;
    text-align:center;
    line-height: 1.6em;
    font-weight: 600;
}

.page_link:hover{

    display: inline-block;
}

#listar_reservas{
min-width:420px;
}

/* color picker */
.colorpick {
  display: inline-block;
  margin: .5em .5em 0 0;
  text-align: center;
  float: left;
  padding: 6px;
  width: 42px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
   border: 1px solid #eee;
}
.colorpick a {
   width: 30px;
   height: 30px;
  -webkit-border-radius: 5px;
  border-radius: 5px;

}
.colorpick p{
font-family: Courier,monospace;
  text-align: center;
  font-size: .8em;
}
.colorpick:hover {
    border: 1px solid #000000;
    }
.colorpick.selected{
    border: 1px solid #000000;
    }


.gg-briefcase-style{
    margin:.8em 2.5em 0 0;
}
.gg-external-style{
   margin:1em .5em 0 0
}

.flag-medium{
    height: 20px;
    padding: .2em .2em 0 0;
}



/* reset commons */
.not-desktop, .sidenav ul li.not-desktop{display: none;}

textarea.form-input{
    padding: .4em;
    min-height: 45px;
    width:  calc(100% - 0.8em);
}
.f-left{float:left;} 
.f-right{float:right;}
.c-left{clear:left;} 
.c-right{clear:right;} 
.c-both{clear:both;} 
.m-right{margin-right:1em;}
.m-left{margin-left:1em;}
.m-left-half{margin-left:.5em;}
.m-right-half{margin-right:.5em;}
.m-top{margin-top:1em;}
.m-top-half{margin-top:.5em;}
.m-top2{margin-top:2em;}
.m-top3{margin-top:3em;}
.m-bottom{margin-bottom:1em;}
.m-bottom-half{margin-bottom:.5em;}
.p-left{padding-left:1em;}
.p-right{padding-right:1em;}
.p-bottom{padding-bottom:1em;}
.p-bottom2{padding-bottom:2em;}
.p-bottom4{padding-bottom:4em;}
.p-top{padding-top:1em;}
.p-top2{padding-top:2em;}
.p-top-half{padding-top:.5em;}
.p-top-0_7{padding-top:.75em;}
.w-100{width:100%;}
.m-bottom2{margin-bottom:2em;}
.xlight{font-weight: 200;}
.light{font-weight: 300;}
.normal{font-weight: 400;}
.medium{font-weight: 500;}
.semibold{font-weight: 600;}
.bold{font-weight: 700;}
.toupper{text-transform:uppercase;}
.text-tiny{font-size: .7em}
.text-small{font-size: .85em}
.text-big{font-size: 1.4em}
.text-huge{font-size: 1.8em}

/*.*/

/* Charts */
.container{
    margin-top: 1rem;
}

.row{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.card{
    display: flex;
    flex-direction: column;
    min-width: 0;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(26,54,126, .125);
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 2rem rgba(4,9,20,.03);
    position: relative;

}

.card-header{
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 0.625rem;
    height: 3.5rem;
    padding:0 1.25rem;
    margin-bottom: 0;
    background-color: #fff;
    border-bottom: 1px solid rgba(26,54,126,.125);
}

.card-body{
    flex: 1 1 auto;
    padding: 1.25rem;
    height:300px;
}
.card-header, .card-title{
    color: rgba(13,27,62,.7);
    font-weight: 400;
    font-size: 1.1rem;
}

#circles-1{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 0px;
}

.chart{
    flex: 0 0 auto;
    width: 66%;
    padding-right: 0.5em;
    padding-left: 0.5em;
}


.percentage{
    flex: 0 0 auto;
    width: 34%;
    padding-right: 0.5em;
    padding-left: 0.5em;
}

.col-table{
    padding-right: 0.5em;
    padding-left: 0.5em;
}

.percentage>div{
    height: 100%;
}

.percentage .card-body{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
}

.align-items-center{
    align-items: center;
}

.grid-gap{
    grid-gap: .2em;
}

/**/

.form-button[disabled] {
    background-color: grey;
    color: white;
}

.form-button[disabled]:hover {
    background-color: grey; 
}

.custom-alert {
    padding: 15px;
    border: 1px solid #d9534f;
    border-radius: 4px;
    color: #d9534f;
    background-color: #f2dede;
}

.custom-alert strong {
    font-weight: bold;
}

.percentage-container {
    max-width: 400px;
    margin: 0 auto;
}

.percentage .card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.percentage .card .card-header {
    background-color: #00a7e1;
    color: #fff;
    padding: 12px;
}

.percentage .card-body {
    padding:  0px 16px;
}


.tarifa-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.tarifa-label {
    flex: 1;
    font-weight: bold;
    display: flex;
    align-items: center;
    color: #333;
}

.tarifa-value {
    flex: 1;
    text-align: right;
    color: #00a7e1;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: end;
}

/**/

.slider {
    position: relative;
    width: 40px; 
    height: 20px; 
}
  
.slider input[type="checkbox"] {
  display: none;
}
  
.slider label {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 20px; /* Redondez ajustada para el tamaño reducido */
  transition: background-color 0.3s;
}
  
.slider label:after {
  content: '';
  position: absolute;
  top: 2px; /* Ajuste de posición para el botón */
  left: 2px; /* Ajuste de posición para el botón */
  width: 16px; /* Tamaño reducido del botón */
  height: 16px; /* Tamaño reducido del botón */
  border-radius: 50%;
  background-color: white;
  transition: left 0.3s;
}
  
.slider input[type="checkbox"]:checked + label {
  background-color: #2196F3;
}
  
.slider input[type="checkbox"]:checked + label:after {
  left: calc(100% - 18px); /* Ajuste de posición para el botón */
}