/** Navbar *******************************************************************/
.navbar {
  background-color: #c4bfbf;
}
.navbar .navbar-brand {
  color: #ecf0f1;
}
.navbar .navbar-brand:hover,
.navbar .navbar-brand:focus {
  color: #ffbbbc;
}
.navbar .navbar-text {
  color: #ecf0f1;
}
.navbar .navbar-text a {
  color: #ffbbbc;
}
.navbar .navbar-text a:hover,
.navbar .navbar-text a:focus {
  color: #ffbbbc; 
}
.navbar .navbar-nav .nav-link {
  color: #000000;
  border-radius: .25rem;
  margin: 0 0.25em;
}
.navbar .navbar-nav .nav-link:not(.disabled):hover,
.navbar .navbar-nav .nav-link:not(.disabled):focus {
  color: #a6a3a3;
}
.navbar .navbar-nav .nav-item.active .nav-link,
.navbar .navbar-nav .nav-item.active .nav-link:hover,
.navbar .navbar-nav .nav-item.active .nav-link:focus,
.navbar .navbar-nav .nav-item.show .nav-link,
.navbar .navbar-nav .nav-item.show .nav-link:hover,
.navbar .navbar-nav .nav-item.show .nav-link:focus {
  color: #000000;
  background-color: #ffffff;
}
.navbar .navbar-toggle {
  border-color: #ffffff;
}
.navbar .navbar-toggle:hover,
.navbar .navbar-toggle:focus {
  background-color: #ffffff;
}
.navbar .navbar-toggle .navbar-toggler-icon {
  color: #ecf0f1;
}
.navbar .navbar-collapse,
.navbar .navbar-form {
  border-color: #ecf0f1;
}
.navbar .navbar-link {
  color: #ecf0f1;
}
.navbar .navbar-link:hover {
  color: #000000;
}

/* Desplegar menu on mouse over */

@media all and (min-width: 992px) {
	.navbar .nav-item .dropdown-menu{ 
    display: none; 
  }
	/* .navbar .nav-item:hover .nav-link{   } */
	.navbar .nav-item:hover .dropdown-menu{ 
    display: block; 
  }
	.navbar .nav-item .dropdown-menu{ 
    margin-top:0; 
  }
}

/* Cambiar colores */
@media (max-width: 575px) {
  .navbar-expand-sm .navbar-nav .show .dropdown-menu .dropdown-item {
    color: #ecf0f1;
  }
  .navbar-expand-sm .navbar-nav .show .dropdown-menu .dropdown-item:hover,
  .navbar-expand-sm .navbar-nav .show .dropdown-menu .dropdown-item:focus {
    color: #af1a2e;
  }
  .navbar-expand-sm .navbar-nav .show .dropdown-menu .dropdown-item.active {
    color: #af1a2e;
    background-color: #ffffff;
  }
}

@media (max-width: 767px) {
  .navbar-expand-md .navbar-nav .show .dropdown-menu .dropdown-item {
    color: #ecf0f1;
  }
  .navbar-expand-md .navbar-nav .show .dropdown-menu .dropdown-item:hover,
  .navbar-expand-md .navbar-nav .show .dropdown-menu .dropdown-item:focus {
    color: #af1a2e;
  }
  .navbar-expand-md .navbar-nav .show .dropdown-menu .dropdown-item.active {
    color: #af1a2e;
    background-color: #ffffff;
  }
}

@media (max-width: 991px) {
  .navbar-expand-lg .navbar-nav .show .dropdown-menu .dropdown-item {
    color: #000000;
  }
  .navbar-expand-lg .navbar-nav .show .dropdown-menu .dropdown-item:hover,
  .navbar-expand-lg .navbar-nav .show .dropdown-menu .dropdown-item:focus {
    color: #af1a2e;
  }
  .navbar-expand-lg .navbar-nav .show .dropdown-menu .dropdown-item.active {
    color: #af1a2e;
    background-color: #ffffff;
  }
}

@media (max-width: 1199px) {
  .navbar-expand-xl .navbar-nav .show .dropdown-menu .dropdown-item {
    color: #ecf0f1;
  }
  .navbar-expand-xl .navbar-nav .show .dropdown-menu .dropdown-item:hover,
  .navbar-expand-xl .navbar-nav .show .dropdown-menu .dropdown-item:focus {
    color: #af1a2e;
  }
  .navbar-expand-xl .navbar-nav .show .dropdown-menu .dropdown-item.active {
    color: #af1a2e;
    background-color: #ffffff;
  }
}

.navbar-expand .navbar-nav .show .dropdown-menu .dropdown-item {
  color: #ecf0f1;
}
.navbar-expand .navbar-nav .show .dropdown-menu .dropdown-item:hover,
.navbar-expand .navbar-nav .show .dropdown-menu .dropdown-item:focus {
  color: #af1a2e;
}
.navbar-expand .navbar-nav .show .dropdown-menu .dropdown-item.active {
  color: #af1a2e;
  background-color: #ffffff;
}
.navbar .navbar-nav .dropdown-menu {
    background-color: #ffffff;
    border-color: #c3c3c3;
}
.navbar .navbar-nav .dropdown-menu .dropdown-item {
    color: #000000;
}
.navbar .navbar-nav .dropdown-menu .dropdown-header {
  color: #ee909d;
}
.navbar .navbar-nav .dropdown-menu .dropdown-item:hover,
.navbar .navbar-nav .dropdown-menu .dropdown-item:focus,
.navbar .navbar-nav .dropdown-menu .dropdown-item.active {
    color: #af1a2e;
    background-color: #ffffff;
}
.navbar .navbar-nav .dropdown-menu .dropdown-divider {
    border-top-color: #851423;
}

.navbar a.help{
  color: #fff;
  background-color: #c41821;
  display: inline-block;
  border-radius: 100%;
  font-size: 1em;
  text-align: center;
  text-decoration: none;
  -webkit-box-shadow: inset -1px -1px 1px 0px rgba(0,0,0,0.25);
  -moz-box-shadow: inset -1px -1px 1px 0px rgba(0,0,0,0.25);
  box-shadow: inset -1px -1px 1px 0px rgba(0,0,0,0.25);
  align-content: center;
  top: -3em;
  position: relative;
  left: 80em;
  width: 3em;
  height: 3em;
}

.navbar a.help:hover {
  transform: scale(1.2);
  color: #3c3436;
  box-shadow: 0 0 5px #0d0000;
  text-shadow: 0 0 5px #383131;
}

.navbar a.help-navbar{
  color: #fff;
  /* background-color: #c41821; */
  display: inline-block;
  border-radius: 100%;
  font-size: 1em;
  text-align: center;
  text-decoration: none;
  -webkit-box-shadow: inset -1px -1px 1px 0px rgba(0,0,0,0.25);
  -moz-box-shadow: inset -1px -1px 1px 0px rgba(0,0,0,0.25);
  box-shadow: inset -1px -1px 1px 0px rgba(0,0,0,0.25);
  align-content: center;
  /* top: -3em; */
  position: relative;
  /* left: 80em; */
  width: 3em;
  height: 3em;
}

.navbar a.help-navbar:hover {
  transform: scale(1.2);
  color: #3c3436;
  box-shadow: 0 0 5px #0d0000;
  text-shadow: 0 0 5px #383131;
}
/** Footer ********************************************************************/

/** Colores um *****************************************************************/
.bg-um {
  color: #ffffff;
  background-color: #af1a2e;
}
.thead-um th {
  color: #ffffff;
  background-color: #af1a2e;
  border-color: #af1a2e;
}
.btn-toolbox {
  color: #ffbbbc;
  padding:0;
}
.btn-toolbox:hover,
.btn-toolbox:focus {
  color: #ecf0f1;
}

/** VENTANAS MODALES **/

/** Abrir ventanas modal anidadas sin perder scroll **/
.modal { 
  overflow: auto !important; 
}
.modal .modal-header {
  color: #000000;
  background-color: #acacac;
  border-color: #acacac;
}
.modal .close {
  color: #ffffff;
}

/** tamaño de ventana modal aulas cercanas **/
#modal-aulas-cercanas .modal-near-classroom-xl{
  width: 42em;
  max-width: 42em;
}

/* Ocultar texto excede ancho cabecera toast en modal de aulas cercanas
   Ej: LORO / PABELLÓN B CAMPUS DE LORCA (BIBLIOTECA Y ADLAS) => LORO / PABELLÓN B CAMPUS DE LORCA...
*/
#modal-aulas-cercanas div[id^="aulaCercana"].toast{
  max-width: 45em;
  width: 45em;
  opacity:1;
}

#modal-aulas-cercanas div[id^="aulaCercana"] strong{
  white-space: nowrap;
  overflow: hidden; 
  text-overflow: ellipsis;
}


/** Autocompletar input *******************************************************/
/*the container must be positioned relative:*/
.autocomplete {
  position: relative;
  display: inline-block;
  width: 100%;
}
.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: 1px solid #d4d4d4;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
  box-shadow: 10px 10px 10px grey;
  max-height: 440px;
  overflow-y: auto;
}
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  /*border-bottom: 1px solid #d4d4d4; */
}
/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9; 
}
/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: #af1a2e !important; 
  color: #ffffff; 
}


/*body {
  padding-top: 64px;
}*/

/*.sidebar {
  background-color: #af1a2e;
  border-color: #e74c3c;

}

.sidebar .sidebar-text {
  color: #ecf0f1;
}

.sidebar .sidebar-text a {
  color: #ffbbbc;
}

.sidebar .sidebar-text a:hover,
.sidebar .navbar-text a:focus {
  color: #ffbbbc;
}

.sidebar .sidebar-nav .nav-link {
  color: #dac0c0;
  border-radius: .25rem;
  margin: 0 0.25em;
}

.sidebar .sidebar-nav .nav-link:not(.disabled):hover,
.sidebar .sidebar-nav .nav-link:not(.disabled):focus {
  color: #ffbbbc;
}*/

/* Cambiar puntero de una fila clickable */
tr.table-clickable, table.table-clickable>tbody>tr, tbody.table-clickable>tr  {
  cursor: pointer;
}

/* Scroll en cuerpo de tarjeta */
.card-body-scrollable {
  overflow-y: scroll;
  height: 140px;
  padding: 1rem
}

#accordionAdminPane > .card > .card-header{cursor:pointer;}

/** Pimptable *****************************************************************/
.pimptable .pimptable-head {
  /*padding:0px !important;*/
  color: white !important;
  /*background-color:#9b1729 !important;*/
  background-color:#af1a2e !important;
  border-bottom:0px !important;
}
.pimptable .pimptable-foot {
  background-color: #f8f9fa !important;
}
.pimptable .pimptable-body table thead tr th {
border-top:0px !important;
}

/** TODO: Tabla-molona refactorizar *****************************************/
.tabla-molona thead th {
  border:0px;
}
.tablamolona-columns th {
  padding:0px;
}
.tablamolona-toolbox {
  background:#9b1729;
}
.btn-tablamolona-toolbox {
  color:#f5bcc4;
}
.btn-tablamolona-toolbox:hover {
  color:#ffffff;
}
.tablamolona-fa-class {
  color:#f5bcc4;
}
.tablamolona-sort {
  color:#ee909d;
}

/** Cuerpo del documento ************************************************************/
html, body {
  height: 100%;
}
.main-container {
  padding-top: 2em;
  background-color: #ffffff;
}
footer a img {
  height: 27.6px;
}

/** Color listado categorías ************************************************************/
#listaCategorias.nav-pills .nav-link {
  color: #af1a2e !important;
}
#listaCategorias.nav-pills .nav-link.active {
  background-color: #af1a2e !important;
  color: #f5f5f5 !important;
}

/** Boton ocultar pimptree ************************************************************/
.hide-show-pimptree-btn {
  background-color: #ff0015;
  border: 0;
  width: 2rem;
  height: 2rem;
  /* display: block; */
  display: inline;
  position: absolute;
  transform: translateY(-50%) translateX(-50%);
  font-weight: bold;
  font-size: 2em;
  color: white;
  left: 50%;
  border-radius: 50%;
  filter: drop-shadow(16px 16px 20px blue);
  -webkit-filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5));
  cursor: pointer;
  transition: background-color 0.1s ease-out;
  vertical-align: middle;
  font-family:none;
  line-height:none;
  font-size: 12px;
}
.hide-show-pimptree-btn:hover {
  background-color: #bd0b0b;
}

/** Responsive ************************************************************/
.img-responsive{
  max-width: 100%;
  height: auto;
  max-height: 80px;
}

/**************************/
/*** NUEVA WEB AULAS ******/
/**************************/


/** Caja sombreada con transicion **************************************/
.box-shadow-transition {
  transition:box-shadow .3s ease-in;
  box-shadow:0 0 3px rgba(0,0,0,0.15),0 3px 3px rgba(0,0,0,0.15);
  background-color:#fff;
  opacity: 0.6;
}

.box-shadow-transition:hover {
  box-shadow:0 0 10px rgba(0,0,0,0.2),0 7px 10px rgba(0,0,0,0.2)
}

@media(min-width:1200px) {
  .box-shadow-transition {
    margin:.7em .7em .7em .7em;
    min-height:2.5em
  }
} 

@media(min-width:992px) and (max-width:1199px) {
  .box-shadow-transition {
    margin:.9em .9em .9em .9em;
    min-height:15em
  }
}

@media(min-width:768px) and (max-width:991px) {
  .box-shadow-transition {   
    margin:.5em 2em .5em 2em;
    min-height:19em
  }
}

@media(max-width:767px) {
  .box-shadow-transition {
    min-height:16em;
    margin:1.2em 1em 1.2em 1em;
    min-width:7em
  }
}

@media(max-width:575px) {
  .box-shadow-transition {
    margin:.9em .9em .9em .9em;
    min-height:15em
  }
}

/** Caja sombreada escalada **************************************/
[class*="box-shadow-scaled"] {
  position:relative;  
  box-shadow:0 0 3px rgba(0,0,0,0.15),0 3px 3px rgba(0,0,0,0.15);    
  border-radius: 0.25em;  
  background:linear-gradient(center,rgba(0,0,0,0.8),rgba(255,255,255,0.3));
  transition: 0.5s;
  /* width: 20em; */
  margin-top:1em;
  /* right:4em; */
  opacity: 0.6;
  /* font-size:0.25em; */
}

[class*="box-shadow-scaled"]:hover {  
  font-size: 1.1em;
  opacity: 1;
}

[class*="box-shadow-scaled"] .row{
  position:relative;
  transition: 1s;  
}

.box-shadow-scaled.row1{
  /* right:4em; */
  width: 19em;
  height: 6em;
}

.box-shadow-scaled.row1 .fa-layers{
  top: 0.2em;
  font-size: 5em;
}

.box-shadow-scaled.row2{
  /* right:4em; */
  width: 19em;
  height: 13em;
}

.box-shadow-scaled.row2 .fa-layers{  
  font-size: 2.25em;
  margin-top: 0.6em !important;
}

.box-shadow-scaled.row3{
  /* right:4em; */
  width: 19em;
  height: 5.5em; 
}

.box-shadow-scaled.row3 .fa-layers{
  font-size:  4em;
  margin-top: 0.2em !important;
}

.aula-cercana-link{
  cursor: pointer;
  color: blue;  
}

#treeList{
  height: 85%;
}

#nombreaula .display-3{  
  font-size:  calc(2.5vh + 2.5vw + 1vmin);
}

#navbarSupportedContent .nav-link{
  font-size: 1.3em;
}

#mainContainer{
  /* padding: 1rem !important; */
  max-width: 85em;
}

#arbolEspacios{        
  max-width: 20%;
}

#reservasdia{
  width: 95em;
}

@media(min-width:1601px) and (max-width:1760px){
  
  .box-shadow-scaled {
    margin:.9em .9em .9em 0em;
    min-height:1em
  }

  .box-shadow-scaled-left:hover {
    font-size: 1.1em;
    opacity: 1;
  }

  .box-shadow-scaled.row1{    
    /* right: 5em; */
    width: 7.25em;
    height: 2.5em;
    font-size: 3em;
    margin-top: -1em;
  }

  .box-shadow-scaled.row1:hover{
    font-size: 3.1em;
  }

  .box-shadow-scaled.row1 .fa-layers{
    /* top: 0.1em; */
    font-size: 2em;
  }

  .box-shadow-scaled.row2{
    /* right: 19em; */
    width: 31em;
    height: 14em;
    font-size: 0.7em;
    margin-top: -3em;
  }

  .box-shadow-scaled.row2:hover{
    font-size: 0.75em;
  }

  .box-shadow-scaled.row3{
    /* right: 13em; */
    width: 22em;
    height: 6em;
    font-size: 1em;
  }

  .box-shadow-scaled.row3:hover{
    font-size: 1.05em;
  }

  .box-shadow-scaled-left{
    font-size: 1em;
    margin-top: 1em;
    margin-left: 2em;
    z-index: 1;
  }

  .box-shadow-scaled-left .h4{
    font-size: 1.1em;
  }

  #carouselContainer{
    max-width: 47em;
  }

  #carouselWithControls{
    width: 50em;
    right: 1.75em;
    margin-top: -1em;
    z-index: 0;
  }

  #mainContainer{
    max-width: 80em;
  }  

  #classroomElements{
    /* left: 4em; */
  }

  #reservasdia{
    width: 87em;
    left: 0em;
    margin-top: 2.5em !important;
    position: relative;
  }

  #nombreaulasocrates .display-3{ 
    font-size: 5em;
    margin-bottom: 1em;
  }

  #nombreaulamovil{      
    margin-bottom: 5em;
  }

  #nombreaulamovil .display-3{  
    font-size: 5em;    
  }

  #nombreaula{    
    margin-bottom: 1.5em;
  }

  #nombreaula .display-3{  
    font-size: calc(2.5vw + 2.5vh + 1vmin);
  }

  #treeList{
    height: 85%;
  }

  .dx-treelist-text-content{
    font-size: 0.9em;
  } 

} 

@media(min-width:1474px) and (max-width:1600px){
  
  .box-shadow-scaled {
    margin:.9em .9em .9em .9em;
    min-height:1em
  }

  .box-shadow-scaled-left:hover {
    font-size: 0.8em;
    opacity: 1;
  }

  .box-shadow-scaled.row1{    
    margin-left: 0em;
    right: 0em;
    width: 7.25em;
    height: 2.5em;
    font-size: 2.2em;
    margin-top: -1em;
  }

  .box-shadow-scaled.row1:hover{
    font-size: 1.9em;
  }

  .box-shadow-scaled.row1 .fa-layers{
    /* top: 0.1em; */
    font-size: 2em;
  }

  .box-shadow-scaled.row2{
    margin-top: -2em;
    margin-left: 0em;
    right: 0em;
    width: 30.5em;
    height: 16em;
    font-size: 0.5em;
  }

  .box-shadow-scaled.row2:hover{
    font-size: 0.6em;
  }

  .box-shadow-scaled.row3{
    margin-top: 0em;
    margin-left: 0em;
    right: 0em;
    width: 20em;
    height: 7em;
    font-size: 0.75em;
  }

  .box-shadow-scaled.row3:hover{
    font-size: 0.9em;
  }

  .box-shadow-scaled-left{
    font-size: 0.75em;
    margin-top: 1em;
    margin-left: 2em;
    z-index: 1;
  }

  .box-shadow-scaled-left .h4{
    font-size: 1.1em;
  }

  #mainContainer{
    /* left: 5em; */
    max-width: 75em;
  }

  #carouselWithControls{
    width: 45em;        
    z-index: 0;
  }

  #carouselContainer{
    max-width: 44em;
  }

  #reservasdia{
    width: 78em;
    /* left: 0em; */
    margin-top: 1em !important;
    position: relative;
  }

  #nombreaulamovil{  
    margin-bottom: 1em;
  }

  #nombreaulamovil .display-3{  
    font-size: 3.5em;
  }

  #nombreaula{    
    margin-bottom: 1em;
  }

  #nombreaula .display-3{  
    font-size: calc(2.5vw + 2.5vh + 1vmin);
  }

  #treeList{
    height: 80%;
  }

  .dx-treelist-text-content{
    font-size: 0.8em;
  }

} 

@media(min-width:1377px)  and (max-width:1473px){
  .box-shadow-scaled {    
    margin:.7em .7em .7em 0em;
    min-height:2.5em
  }

  .box-shadow-scaled.row1{    
    /* right: 1.5em; */
    width: 5.75em;
    height: 2.5em;
    font-size: 2em;    
  }

  .box-shadow-scaled.row1:hover{   
    font-size: 2.1em;
  }

  .box-shadow-scaled.row1 .fa-layers{
    /* top: 0.1em; */
    font-size: 2em;
  }

  .box-shadow-scaled.row2{
    top: -2em;
    /* right: 3.2em; */
    width: 23em;
    height: 16em;
    font-size: 0.5em;
  }

  .box-shadow-scaled.row2:hover{
    font-size: 0.55em;
  }
  
  .box-shadow-scaled.row3{
    margin-top: -1em;
    /* right: 2.25em; */
    width: 19em;
    height: 7em;
    font-size: 0.6em;
  }  

  .box-shadow-scaled.row3:hover{
    font-size: 0.7em;
  }

  .box-shadow-scaled-left{
    /* right: 1em; */
    z-index: 1;
    font-size: 0.75em;
  }

  .box-shadow-scaled-left .h4{
    font-size: 1.1em;    
  }

  #treeList{
    height: 75%;
  }

  .dx-treelist-text-content{
    font-size: 0.75em;
  }

  #mainContainer{
    max-width: 70em;
  }

  #carouselContainer{
    max-width: 43em;
  }

  #carouselWithControls{
    width: 40em;
    /* right: 6em; */
    z-index: 0;
  }

  #reservasdia{
    width: 73em;
  }

  #nombreaulasocrates{
    font-size: 3em;
  }

  #nombreaulamovil .display-3{  
    font-size: 3.5em;
  }

  #nombreaula .display-3{  
    font-size: calc(2.5vw + 2.5vh + 1vmin);
  }

} 

@media(min-width:1281px) and (max-width:1376px) {
  .box-shadow-scaled {
    margin:.9em .9em .9em 0em;
    min-height:1em
  }

  .box-shadow-scaled-left:hover {
    font-size: 0.8em;
    opacity: 1;
  }

  .box-shadow-scaled.row1{        
    width: 6.25em;
    height: 2.5em;
    font-size: 1.75em;
    margin-top: -1em;
  }

  .box-shadow-scaled.row1:hover{
    font-size: 1.9em;
  }

  .box-shadow-scaled.row1 .fa-layers{
    /* top: 0.1em; */
    font-size: 2em;
  }

  .box-shadow-scaled.row2{
    margin-top: -2em;    
    width: 21.5em;
    height: 16em;
    font-size: 0.5em;
  }

  .box-shadow-scaled.row2:hover{
    font-size: 0.6em;
  }

  .box-shadow-scaled.row3{
    margin-top: 0em;    
    width: 14em;
    height: 7em;
    font-size: 0.75em;
  }

  .box-shadow-scaled.row3:hover{
    font-size: 0.9em;
  }

  .box-shadow-scaled-left{
    font-size: 0.75em;
    margin-top: 1em;
    margin-left: 2em;
    z-index: 1;
  }

  .box-shadow-scaled-left .h4{
    font-size: 1.1em;
  }

  .dx-treelist-text-content{
    font-size: 0.7em;
  }

  #carouselContainer{
    max-width: 39em;
  }

  #carouselWithControls{
    width: 37em;    
    margin-top: -1em;
    z-index: 0;
  }

  #mainContainer{
    max-width: 60em;
  }

  #reservasdia{
    width: 65em;    
    position: relative;
  }

  #nombreaulamovil{  
    margin-bottom: 1em;
  }

  #nombreaulamovil .display-3{  
    font-size: 3.5em;
  }

  #nombreaula .display-3{  
    font-size: calc(2.5vw + 2.5vh + 1vmin);
  }

  #treeList{
    height: 80%;
  }
  
}

@media(min-width:1217px) and (max-width:1280px) {
  .box-shadow-scaled {
    margin:.9em .9em .9em 0em;
    min-height:1em
  }

  .box-shadow-scaled-left:hover {
    font-size: 0.8em;
    opacity: 1;
  }

  .box-shadow-scaled.row1{        
    width: 6.25em;
    height: 2.5em;
    font-size: 1.75em;
    margin-top: -1em;
  }

  .box-shadow-scaled.row1:hover{
    font-size: 1.9em;
  }

  .box-shadow-scaled.row1 .fa-layers{
    /* top: 0.1em; */
    font-size: 2em;
  }

  .box-shadow-scaled.row2{
    margin-top: -2em;    
    width: 21.5em;
    height: 16em;
    font-size: 0.5em;
  }

  .box-shadow-scaled.row2:hover{
    font-size: 0.6em;
  }

  .box-shadow-scaled.row3{
    margin-top: 0em;    
    width: 14.25em;
    height: 7em;
    font-size: 0.75em;
  }

  .box-shadow-scaled.row3:hover{
    font-size: 0.9em;
  }

  .box-shadow-scaled-left{
    font-size: 0.75em;
    margin-top: 1em;
    margin-left: 2em;
    z-index: 1;
  }

  .box-shadow-scaled-left .h4{
    font-size: 1.1em;
  }

  .dx-treelist-text-content{
    font-size: 0.7em;
  }

  #carouselContainer{
    max-width: 35em;
  }

  #carouselWithControls{
    width: 35em;    
    margin-top: -1em;
    z-index: 0;
  }

  #mainContainer{
    max-width: 60em;
  }

  #reservasdia{
    width: 60em;    
    position: relative;
  }

  #nombreaulamovil{  
    margin-bottom: 1em;
  }

  #nombreaulamovil .display-3{  
    font-size: 3.5em;
  }

  #nombreaula .display-3{  
    font-size: calc(2.5vw + 2.5vh + 1vmin);
  }

  #treeList{
    height: 80%;
  }
  
}

@media(min-width:1121px) and (max-width:1216px) {
  .box-shadow-scaled {
    margin:.9em .9em .9em 0em;
    min-height:1em
  }

  .box-shadow-scaled-left:hover {
    font-size: 0.8em;
    opacity: 1;
  }

  .box-shadow-scaled.row1{        
    width: 6.25em;
    height: 2.5em;
    font-size: 1.75em;
    margin-top: -1em;
  }

  .box-shadow-scaled.row1:hover{
    font-size: 1.9em;
  }

  .box-shadow-scaled.row1 .fa-layers{
    /* top: 0.1em; */
    font-size: 2em;
  }

  .box-shadow-scaled.row2{
    margin-top: -2em;    
    width: 21.5em;
    height: 16em;
    font-size: 0.5em;
  }

  .box-shadow-scaled.row2:hover{
    font-size: 0.6em;
  }

  .box-shadow-scaled.row3{
    margin-top: 0em;    
    width: 14.25em;
    height: 7em;
    font-size: 0.75em;
  }

  .box-shadow-scaled.row3:hover{
    font-size: 0.9em;
  }

  .box-shadow-scaled-left{
    font-size: 0.75em;
    margin-top: 1em;
    margin-left: 2em;
    z-index: 1;
  }

  .box-shadow-scaled-left .h4{
    font-size: 1.1em;
  }

  .dx-treelist-text-content{
    font-size: 0.7em;
  }

  #carouselContainer{
    max-width: 33em;
  }

  #carouselWithControls{
    width: 31em;
    margin-top: -1em;
    z-index: 0;
  }

  #mainContainer{
    max-width: 60em;
  }

  #reservasdia{
    width: 55em;    
    position: relative;
  }

  #nombreaulamovil{  
    margin-bottom: 1em;
  }

  #nombreaulamovil .display-3{  
    font-size: 3.5em;
  }

  #nombreaula .display-3{  
    font-size: calc(2.5vw + 2.5vh + 1vmin);
  }

  #treeList{
    height: 80%;
  }
  
}

@media(min-width:1057px) and (max-width:1120px) {
  .box-shadow-scaled {
    margin:.9em .9em .9em 0em;
    min-height:1em
  }

  .box-shadow-scaled-left:hover {
    font-size: 0.8em;
    opacity: 1;
  }

  .box-shadow-scaled.row1{        
    width: 7.1em;
    height: 2.5em;
    font-size: 1.5em;
    margin-top: -1em;
  }

  .box-shadow-scaled.row1:hover{
    font-size: 1.65em;
  }

  .box-shadow-scaled.row1 .fa-layers{
    /* top: 0.1em; */
    font-size: 2em;
  }

  .box-shadow-scaled.row2{
    margin-top: -2em;    
    width: 21.5em;
    height: 13em;
    font-size: 0.5em;
  }

  .box-shadow-scaled.row2:hover{
    font-size: 0.55em;
  }

  .box-shadow-scaled.row3{
    margin-top: 0em;
    width: 14.25em;
    height: 6em;
    font-size: 0.75em;
  }

  .box-shadow-scaled.row3:hover{
    font-size: 0.85em;
  }

  .box-shadow-scaled-left{
    font-size: 0.65em;
    margin-top: 1em;
    margin-left: 2em;
    z-index: 1;
  }

  .box-shadow-scaled-left .h4{
    font-size: 1.1em;
  }

  .dx-treelist-text-content{
    font-size: 0.7em;
  }

  .dropdown-menu{
    font-size: 1em;
  }

  #navbarSupportedContent{
    font-size: 0.65em;
  }

  #carouselContainer{
    max-width: 30em;
  }

  #carouselWithControls{
    width: 30em;
    margin-top: -1em;
    z-index: 0;
  }

  #mainContainer{
    max-width: 50em;
  }

  #reservasdia{
    width: 50em;    
    position: relative;
  }

  #nombreaulamovil{  
    margin-bottom: 1em;
  }

  #nombreaulamovil .display-3{  
    font-size: 3.5em;
  }

  #nombreaula .display-3{  
    font-size: calc(2vw + 2vh + 1vmin);
  }

  #treeList{
    height: 80%;
  }
  
}

@media(min-width:1024px) and (max-width:1056px) {
  .box-shadow-scaled {
    margin:.9em .9em .9em 0em;
    min-height:1em
  }

  .box-shadow-scaled-left:hover {
    font-size: 0.65em;
    opacity: 1;
  }

  .box-shadow-scaled.row1{        
    width: 7.4em;
    height: 2.5em;
    font-size: 1.3em;
    margin-top: -1em;
  }

  .box-shadow-scaled.row1:hover{
    font-size: 1.45em;
  }

  .box-shadow-scaled.row1 .fa-layers{
    /* top: 0.1em; */
    font-size: 2em;
  }

  .box-shadow-scaled.row2{
    margin-top: -2em;
    width: 21.5em;
    height: 13em;
    font-size: 0.45em;
  }

  .box-shadow-scaled.row2:hover{
    font-size: 0.5em;
  }

  .box-shadow-scaled.row3{
    margin-top: 0em;
    width: 15em;
    height: 6em;
    font-size: 0.65em;
  }

  .box-shadow-scaled.row3:hover{
    font-size: 0.7em;
  }

  .box-shadow-scaled-left{
    font-size: 0.55em;
    margin-top: 1em;
    margin-left: 2em;
    z-index: 1;
  }

  .box-shadow-scaled-left .h4{
    font-size: 1.1em;
  }

  .dx-treelist .dx-row > td{
    padding:0.2em;
  }

  .dx-treelist-text-content{
    font-size: 0.6em;
  }

  .dropdown-menu{
    font-size: 1em;
  }

  #navbarSupportedContent{
    font-size: 0.65em;
  }

  #carouselContainer{
    max-width: 30em;
  }

  #carouselWithControls{
    width: 29em;
    margin-top: -1em;
    z-index: 0;
  }

  #mainContainer{
    max-width: 45em;
  }

  #classroomElements{
    width: 20em;
  }

  #reservasdia{
    width: 48em;    
    position: relative;
  }

  #nombreaulamovil{  
    margin-bottom: 1em;
  }

  #nombreaulamovil .display-3{  
    font-size: 3.5em;
  }

  #nombreaula .display-3{  
    font-size: calc(2vw + 2vh + 1vmin);
  }

  #treeList{
    height: 80%;
  }
  
}


@media(max-width:992px){
  #mainContainer{
    /* padding: 1rem !important; */
    max-width: 85em;
    display: block;    
  }

  #common-html-row{
    justify-content: center !important;
  }

  #arbolEspacios{        
    max-width: 100%;
    width: 20em;
    max-height: 25em;
    padding-top: 1em;
    border: 1px solid rgba(0,0,0,.1);
    box-shadow: 0 .25rem .75rem rgba(0,0,0,.1);
    border-radius: .5rem;    
  }

  #treeList{
    display: contents;
    position: inherit !important;
  }

  #treeviewContainer{
    width: 20em;
    /* overflow-y: auto; */
  }

  .dx-toolbar-item-content > .dx-texteditor {
    width: 20em;
  }
  .dx-gridbase-container > .dx-treelist-rowsview{
    max-height: 120em;
    overflow-y: auto;
  }
  .navbar-nav{
    font-size: 0.75em;
  }

  .toast {
    opacity: 1 !important;
    max-width: 100%;
  }

  .dx-overlay-wrapper.dx-scheduler-appointment-popup.dx-popup-wrapper.dx-popup-cancel-visible.dx-overlay-modal.dx-overlay-shader{
    width: 40em;
    height: 60em;    
  }

  .fs-xs-servicios-aula-icon{
    font-size:calc(2.5vh + 2.5vw);
  }

  .fs-xs-servicios-aula-text{
    font-size: calc(1vh + 1vw);
  }

  .fs-xs-equipacion-prim{
    font-size: calc(3vh + 3vw + 1.5vmin);
  }
  .fs-xs-equipacion-sec{
    font-size: calc(1.75vh + 1.75vw);
  }
  .mr-6{
    margin-right: 5em !important;
  }

  #modal-aulas-cercanas .modal-near-classroom-xl {
      width: calc(30vw + 30vh);
  }
  
  #modal-aulas-cercanas div[id^="aulaCercana"].toast{
    max-width: 100%;
  }

  #modal-aulas-cercanas .fs-xs-equipacion-prim{
    font-size: calc(3vw + 3vh);
    margin-bottom: 0.5em;
  }

  #modal-aulas-cercanas .fs-xs-equipacion-sec{
    font-size: calc(.8vw + .8vh);
    display: block;
  }

  #modal-aulas-cercanas .toast-body {
    padding: 0;
  }

  #modal-mapa-ubicacion .modal-xl{
    max-width: 100em;
    width: 50em;
  }
  
  #nombreaulasocrates .display-3{
    font-size: calc(4vw + 4vh);
  }

  #nombreaulamovil .display-3{
    font-size: calc(4vw + 4vh);
  }

  #ModalCarousel{
    position: fixed;
    width: calc(58vw + 58vh);
  }

  #aulas-libres-resultado{
    overflow-x: auto;
  }

  #modal-header-pia{
    font-size: 0.5em;
  }

  #modal-header-text-videoconferencia{
    font-size: 1.5em;
  }

}


@media(max-width:400px){

  .fs-xs-servicios-aula-icon{
    font-size:calc(2.5vh + 2.5vw);
  }

  .fs-xs-servicios-aula-text{
    font-size: calc(1vh + 1vw);
  }

  .fs-xs-equipacion-prim{
    font-size: calc(3vh + 3vw + 1.5vmin);
  }

  .fs-xs-equipacion-sec{
    font-size: calc(1.75vh + 1.75vw);
  }

  #modal-mapa-ubicacion .modal-xl{
    max-width: 100em;
    width: 50em;
  }

  #ModalCarousel{  
    width: calc(50vw + 50vh);
  }
}

/********************************/
/*** BADGES RESERVAS DIARIAS ****/
/********************************/
.badge-shadow-transition {  
  box-shadow:0 0 10px rgba(0,0,0,0.2),0 3px 3px rgba(0,0,0,0.2);
  opacity: 0.8;
  font-size: 0.5em;
}

@media(min-width:1473px) and (max-width:1600px){
  .badge-shadow-transition{
    font-size: 0.5rem;
  }
  .badge-shadow-transition-text{
    font-size: 2.25em;
  }
}

@media(min-width:1377px) and (max-width:1472px){
  .badge-shadow-transition{
    font-size: 0.45rem;
  }
  .badge-shadow-transition-text{
    font-size: 2.5em;
  }
}

@media(min-width:1281px) and (max-width:1376px){
  .badge-shadow-transition{
    font-size: 0.3em;
    right: -6em;
  }

  .badge-shadow-transition-text{
    font-size: 3.5em;
  }
}

@media(min-width:1217px) and (max-width:1280px){  
  .badge-shadow-transition{
    font-size: 0.2em;
    right: -12em;
  }

  .badge-shadow-transition-text{
    font-size: 4.5em;
  }

}

@media(min-width:1121px) and (max-width:1216px){  
  .badge-shadow-transition{
    font-size: 0.3em;
    right: -12em;
  }

  .badge-shadow-transition-text{
    font-size: 3em;
  }

}

@media(min-width:1057px) and (max-width:1120px){  
  .badge-shadow-transition{
    font-size: 0.3em;
    right: -12em;
  }

  .badge-shadow-transition-text{
    font-size: 3em;
  }

}

@media(min-width:1023px) and (max-width:1056px){  
  .badge-shadow-transition{
    font-size: 0.3em;
    right: -12em;
  }

  .badge-shadow-transition-text{
    font-size: 3em;
  }

}