/* Códigos de colores del logotipo
  Azul Oscuro : #0c2c4c
  Azul pavo :   #1c4454
  Azul agua :   #0ca4ac
  Mayonesa:     #f48c22



  Azul Claro: #37acdf;
  Magenta:    #e3108c;
  Verde:      #8dc33f;
  Naranja:    #ef5b2e;
  Morado:     #603384;
*/
/* Estilos para bootstrap 5.3.0
*/

/*
.content-header{
  background-color: #f48c22 !important;
}
*/
/*
.main-header{
  background-color: #f48c22 !important;
}
*/
/* Forzar que Select2 se alinee correctamente en input-group */
.input-group .select2-container {
  flex: 1 1 auto;
  width: 1% !important;
}

.input-group .select2-container--default .select2-selection--single {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  height: 100%;
  border: 1px solid #ced4da;
}

.input-group .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 38px;
}

.input-group .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px;
}

.select2-container--default .select2-selection--multiple {
  min-height: 38px;
  border: 1px solid #ced4da;
}

.select2-container--default .select2-selection--multiple .select2-selection__placeholder {
  color: #6c757d;
  line-height: 38px;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
  line-height: 38px;
  padding: 0 10px;
}

/* Ajustar el ancho */
.select2-container {
  width: 100% !important;
}


/* Reset de estilos que podrían estar causando el problema */
  .listaAtajos,
  .listaAtajos * {
    box-sizing: border-box;
  }
  
  .shortcutscards {
    overflow: hidden;
    background-color: #ffffff;
  }
  
  .shortcutscards .card-body {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .shortcutscards .card-title,
  .shortcutscards .card-subtitle,
  .shortcutscards .card-text {
    white-space: normal;
    word-break: break-word;
  }
  
  /* Efecto hover */
  .shortcutscards:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  }
  
  /* Asegurar que el texto no se desborde */
  .shortcutscards h5,
  .shortcutscards h6,
  .shortcutscards p {
    margin: 0 0 0.5rem 0;
    padding: 0;
  }
  
  .shortcutscards h5 {
    margin-bottom: 0.5rem !important;
  }
  
  .shortcutscards h6 {
    margin-bottom: 0.75rem !important;
  }
  
  /* Corrección para móviles */
  @media (max-width: 768px) {
    .shortcutscards {
      min-height: 150px !important;
    }
    
    .shortcutscards .card-body {
      padding: 1rem !important;
    }
  }



#map_eventos_sucursal { 
  /*width: 800px;
  height: 650px;
  box-shadow: 5px 5px 5px #888;*/
  width: 100%; 
  height: 450px; 
  box-shadow: 5px 5px 5px #888;
  min-height: 600px; /* Altura mínima */
}

#map_evento { 
  /*width: 800px;
  height: 650px;
  box-shadow: 5px 5px 5px #888;*/
  width: 100%; 
  height: 450px; 
  box-shadow: 5px 5px 5px #888;
  min-height: 600px; /* Altura mínima */
}

.tab-pane {
    position: relative;
    overflow: hidden;
}

.leaflet-container {
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
}



.color_primario{
  background-color: #f48c22;
}

.table-responsive {
    background-color: #fff;
    border-radius: 0.375rem;
}

.table thead th {
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

.table tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.table tbody td {
    vertical-align: middle;
}

/* Estilos para los botones de acciones */
.btn-group .btn {
    border-radius: 0.25rem;
    margin-right: 2px;
}

.btn-group .btn:last-child {
    margin-right: 0;
}

/* Estilos para el modal */
.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer {
    border-top: 1px solid #dee2e6;
}

/* Mejoras para inputs */
.input-group-text {
    background-color: #f8f9fa;
    border-color: #ced4da;
}

.navbar {
    background-color: #f48c22 !important;
}
.navbar-brand {
    font-weight: bold;
}

.dropdown-item:hover {
    background-color: #f48c22;
    color: white;
}

.dropdown-toggler:hover {
    background-color: #f48c22;
    color: white;
}

.skup-card {
    padding-left: 16px;
    padding-top: 16px;
    margin: 10px 0 20px 0;
    background-color: rgba(214, 224, 226, 0.2);
    border-top-width: 0;
    border-bottom-width: 2px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 10px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    /*box-shadow: none;*/
    box-shadow: 8px 8px 2px 1px rgba(0, 0, 255, .4);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.carousel-container {
    display: flex;
    align-items: center;
    position: relative;
    width: 700px;
    overflow: hidden;
}

.carousel-wrapper {
    width: 600px;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel img {
    width: 200px;
    height: 200px;
    margin: 5px;
    border-radius: 10px;
}

.btn-nav-car {
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 20px;
    border-radius: 50%;
    position: relative;
}

#prev { margin-right: 5px; }
#next { margin-left: 5px; }





.carousel-container {
    display: flex;
    align-items: center;
    position: relative;
    width: 700px;
    overflow: hidden;
}

.carousel-wrapper {
    width: 600px;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel img {
    width: 200px;
    height: 200px;
    margin: 5px;
    border-radius: 10px;
}

.btn-nav-car {
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 20px;
    border-radius: 50%;
    position: relative;
}

#prev { margin-right: 5px; }
#next { margin-left: 5px; }





#camera-container, #qr-result-container {
    margin-top: 20px;
}
/*
video, canvas, img {
    width: 100%;
    max-width: 400px;
    border: 1px solid #ddd;
    margin-top: 10px;
}
*/
select {
    margin-top: 10px;
}

.img_qr{
    width: 150px;
    max-width: 150px;
}


.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  margin-left: 10px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #427fed;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.toggle-text {
  font-weight: bold;
  margin-left: 10px;
}


/* */



.control-width { width: 70%; margin: auto; }
 
.shortcutscards {
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
      transition: 0.3s;
      border-radius: 10px;
      margin: auto;
      width: 70%;
}

.shortcutscards:hover { box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2); }


#map_condominios { 
	/*width: 800px;
	height: 650px;
	box-shadow: 5px 5px 5px #888;*/
	width: 100%; 
   	height: 850px; 
   	box-shadow: 5px 5px 5px #888; 
}

#map_inmuebles { 
	/*width: 800px;
	height: 650px;
	box-shadow: 5px 5px 5px #888;*/
	width: 100%; 
   	height: 850px; 
   	box-shadow: 5px 5px 5px #888; 
}

.card {
    padding-left: 16px;
    padding-top: 16px;
    margin: 10px 0 20px 0;
    background-color: rgba(214, 224, 226, 0.2);
    border-top-width: 0;
    border-bottom-width: 2px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 10px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    /*box-shadow: none;*/
    
    box-shadow: 8px 8px 2px 1px rgba(0, 0, 255, .4);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.card .card-heading {
    padding: 0 10px;
    margin: 0;
}

.card .card-heading.simple {
    font-size: 10px;
    font-weight: 300;
    color: #777;
    border-bottom: 1px solid #e5e5e5;
}

.card .card-heading.image img {
    display: inline-block;
    width: 46px;
    height: 46px;
    margin-right: 15px;
    vertical-align: top;
    border: 0;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.card button {
    padding: 8px 8px 8px 8px;
    border-radius: 5%;
}
.card .card-heading.image .card-heading-header {
    display: inline-block;
    vertical-align: top;
}

.card .card-heading.image .card-heading-header h3 {
    margin: 0;
    font-size: 14px;
    line-height: 16px;
    color: #262626;
}

.card .card-heading.image .card-heading-header span {
    font-size: 12px;
    color: #999999;
}

.card .card-body {
    padding: 0 20px;
    margin-top: 20px;
}

.card .card-media {
    padding: 0 20px;
    margin: 0 -14px;
}

.card .card-media img {
    max-width: 100%;
    max-height: 100%;
}

.card .card-actions {
    min-height: 30px;
    padding: 0 20px 20px 20px;
    margin: 20px 0 0 0;
}

.card .card-comments {
    padding: 20px;
    margin: 0;
    background-color: #f8f8f8;
}

.card .card-comments .comments-collapse-toggle {
    padding: 0;
    margin: 0 20px 12px 20px;
}

.card .card-comments .comments-collapse-toggle a,
.card .card-comments .comments-collapse-toggle span {
    padding-right: 5px;
    overflow: hidden;
    font-size: 12px;
    color: #999;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-comments .media-heading {
    font-size: 13px;
    font-weight: bold;
}

.card.people {
    position: relative;
    display: inline-block;
    width: 150px;
    height: 300px;
    padding-top: 0;
    margin-left: 20px;
    overflow: hidden;
    vertical-align: top;
}

.card.people:first-child {
    margin-left: 0;
}

.card.people .card-top {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    width: 170px;
    height: 150px;
    background-color: #ffffff;
}

.card.people .card-top.green {
    background-color: #53a93f;
}

.card.people .card-top.blue {
    background-color: #427fed;
}

.card.people .card-info {
    position: absolute;
    top: 150px;
    display: inline-block;
    width: 100%;
    height: 101px;
    overflow: hidden;
    background: #ffffff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.card.people .card-info .title {
    display: block;
    margin: 8px 14px 0 14px;
    overflow: hidden;
    font-size: 16px;
    font-weight: bold;
    line-height: 18px;
    color: #404040;
}

.card.people .card-info .desc {
    display: block;
    margin: 8px 14px 0 14px;
    overflow: hidden;
    font-size: 12px;
    line-height: 16px;
    color: #737373;
    text-overflow: ellipsis;
}

.card.people .card-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    display: inline-block;
    width: 100%;
    padding: 10px 20px;
    line-height: 29px;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.card.hovercard {
    position: relative;
    padding-top: 0;
    overflow: hidden;
    text-align: center;
    background-color: rgba(214, 224, 226, 0.2);
}

.card.hovercard .cardheader {
    background: url("http://lorempixel.com/850/280/nature/4/");
    background-size: cover;
    height: 135px;
}

.card.hovercard .avatar {
    position: relative;
    top: -50px;
    margin-bottom: -50px;
}

.card.hovercard .avatar img {
    width: 150px;
    height: 150px;
    max-width: 150px;
    max-height: 150px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 5px solid rgba(255,255,255,0.5);
}

.card.hovercard .info {
    padding: 4px 8px 10px;
}

.card.hovercard .info .title {
    margin-bottom: 4px;
    font-size: 24px;
    line-height: 1;
    color: #262626;
    vertical-align: middle;
}

.card.hovercard .info .desc {
    overflow: hidden;
    font-size: 12px;
    line-height: 20px;
    color: #737373;
    text-overflow: ellipsis;
}

.card.hovercard .bottom {
    padding: 0 20px;
    margin-bottom: 17px;
}

.modal-huge{
    width: 1400px;
    margin: auto;
}

.modal-header{
  background-color: #f48c22 !important;
}

.btn-text-left{
  text-align: left; 
}

.btn-text-right{
  text-align: right;
}

.div-el {
      background-color: #f79421; /*#EE5402*/
}

.nav-tabs {
  border-bottom: none;
  margin-bottom: 15px;
}
.nav .nav-item{
  width: 50%;
  /* border: 1px solid #ccc; */
  margin-bottom: 2px;
}
.nav .nav-item.active a{
 background:#5e72e4;
 color: #fff;
 border-radius: 4px;
 text-align: center;
}
.nav-tabs>li>a {
  margin-right: 2px;
  line-height: 1.42857143;
  border: 1px solid #dad8d8;
  border-radius: 4px;
  text-align: center;
}
.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
  color: #fff;
  cursor: default;
  background-color: #5e72e4;
  border-radius: 4px;
}
.nav-item:not(:last-child) {
  padding-right: 1rem;
}

.modal-dialog.modal-1200 {
    width: 1200px;
    margin: 30px auto;
}

$("#frmPregunta").css("display", "none");

$("#frmAlternativa").css("display", "none");



img.zoom {
    width: 350px;
    height: 200px;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
}
 
.transition {
    -webkit-transform: scale(15); 
    -moz-transform: scale(15);
    -o-transform: scale(15);
    transform: scale(15);
}

.loader {
    display: none;
  }

.loader.active {
    display: block;
}

.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:visited {
    background-color: #f48c22 !important;
}

.nav-link, .nav-link:hover, .nav-link:active, .nav-link:visited {
    color: #fff;
    background-color: #f48c22 !important;
}

.float-right, .float-right:hover, .float-right:active, .float-right:visited {
    color: #f48c22 !important;
}