[hidden] {
    display: none !important;
}
body{font-size: 16px;}
.text-left{text-align: left;}
.text-center{text-align: center;}
.bootstrap-select > .dropdown-toggle {
    padding: 9px 25px 8px !important;
}
.form-control {
    background-color: #fff;
    border: 2px solid #233771 !important;
    border-radius: 50px;
    color: #233771;
    font-size: 14px;
    padding: 7px 18px;
    height: 40px !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-weight: bold;
}
.form-control:hover,.form-control:focus {   border: 2px solid #233771;}

.full-page.login-page {
    background: url(../img/background/background-6-r.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
/*
.sidebar{
    width: 210px;
}

.main-panel {
    width: calc(100% - 210px);
}
.sidebar .sidebar-wrapper{
    width: 211px;
}*/

@media (min-width: 992px){
    .typo-line{
        padding-left: 140px;
        margin-bottom: 40px;
        position: relative;
    }

    .typo-line .category{
        transform: translateY(-50%);
        top: 50%;
        left: 0px;
        position: absolute;
    }
}
.sidebar .sidebar-wrapper > .nav li > a, .off-canvas-sidebar .sidebar-wrapper > .nav li > a {
  
    line-height: 30px;
}
.icon-section {
	margin: 0 0 3em;
	clear: both;
	overflow: hidden;
}
.icon-container {
	width: 240px;
	padding: .7em 0;
	float: left;
	position: relative;
	text-align: left;
}
.icon-container [class^="ti-"],
.icon-container [class*=" ti-"] {
	color: #000;
	position: absolute;
	margin-top: 3px;
	transition: .3s;
}
.icon-container:hover [class^="ti-"],
.icon-container:hover [class*=" ti-"] {
	font-size: 2.2em;
	margin-top: -5px;
}
.icon-container:hover .icon-name {
	color: #000;
}
.icon-name {
	color: #aaa;
	margin-left: 35px;
	font-size: .8em;
	transition: .3s;
}
.icon-container:hover .icon-name {
	margin-left: 45px;
}

.places-buttons .btn{
    margin-bottom: 30px
}
.btn{color: #233771 !important;}
.btn-danger{
    color: #e32213 !important;
}
.sidebar .nav > li.active-pro{
    position: absolute;
    width: 100%;
    bottom: 10px;
}
.sidebar .nav > li.active-pro a{
    background: rgba(255, 255, 255, 0.14);
    opacity: 1;
    color: #FFFFFF;
}

.table-upgrade td:nth-child(2),
.table-upgrade td:nth-child(3){
    text-align: center;
}
body.nude{
    background-color: #f4f3ef;
}
#mensaje_subidas {
    text-align: center;
}
.card-header{
    border-bottom: 1px solid #cfcfca;
    margin: 0px 15px;
}
li.active .triangle_menu {
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 20px solid transparent;
    border-left: 20px solid transparent;
    border-bottom: 14px solid #9a9a9a;
    border-top: 0;
    margin-left: calc(50% - 30px);
    margin-top: -14px;
}
/* li:hover .triangle_menu {    
    border-bottom: 14px solid #68B3C8;
  } */
.documentation_navigator{
    cursor: pointer;
}
ul.documentation_navigator {
    font-size: 16px;
    list-style: none;
}

.documentation_navigator li {
    margin: 2px 0;
    padding: 5px 0;
}
.documentation_navigator li p{display: flex;}
.documentation_navigator li p a{width: 50%;}
.file-info {
    display: block;
    font-size: 0.9em;
    color: #555;
}

.file-date, .file-size {
    display: inline-block;
    margin-right: 10px;
}
.btn-info {
    background: #233771 !important;
    border-color: #233771;
}
.btn-info:hover {
    background: #fff !important;
    color: #233771 !important;
    border-color: #233771 !important;
}
.btn.btn-fill {
    color: #fff !important;
    background-color: #233771 !important;
    border-color: #233771 !important;
}
.btn.btn-fill:hover {
    color: #233771 !important;
    background-color: #fff !important;
    border-color: #233771 !important;
}

.btn.btn-fill.btn-danger{
    color: #fff !important;
    background-color: #e32213 !important;
    border-color: #e32213 !important;
}
.btn.btn-fill.btn-danger:hover {
    color: #e32213 !important;
    background-color: #fff !important;
    border-color: #e32213 !important;
}
.navbar-default .navbar-brand, .navbar-default .navbar-brand:focus, .navbar-default .navbar-brand:hover
 {
    color: #233771 !important;
    background-color: transparent;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
    color: #233771 !important;
}
.card{padding: 40px;}
.card-plain{float: none !important;}
.col-md-75{width: 75% !important;margin-left: 15%;}
.col-md-90{width: 90% !important;    margin-left: 5%;}
.center-text{text-align: center ;}
.card-subtitle{
    color: #fff !important;
    background: #233771;
    margin: 0;
    padding: 10px;
}

/*datetimepicker*/
.ui-datepicker, .ui-timepicker-div {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;          /* más grande */
    width: 300px !important;  /* ancho mayor */
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    z-index: 9999 !important;
    color: #233771;
}

.ui-datepicker-header {
    background: transparent;
    color: #233771;
    border-radius: 8px 8px 0 0;
    padding: 6px 0;
    text-align: center;
}

.ui-datepicker-prev, .ui-datepicker-next {
    cursor: pointer;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}

.ui-datepicker-prev:hover, .ui-datepicker-next:hover {
    color: #ffe;
}

.ui-datepicker-title {
    font-weight: 600;
    font-size: 17px;
}

.ui-datepicker-calendar th {
    color: #233771;
    font-weight: 600;
    padding: 4px 0;
}

.ui-datepicker-calendar td {
    width: 38px;              
    height: 38px;             
    padding: 0;
}

.ui-datepicker-calendar td a {
    display: block;
    line-height: 38px;       
    border-radius: 6px;
    text-align: center;
    color: #233771 !important;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    font-size: 16px;
    margin: 1px;
}

.ui-datepicker-calendar td a:hover {
    background: #233771;
    color: #fff !important;
}

/* Día seleccionado */
.ui-datepicker-calendar td a.ui-state-active {
    background: #233771;
    border-color: #233771;
    color: #fff !important;
}
/* Hoy */
.ui-datepicker-calendar td a.ui-state-highlight {
    background: #e32213;
    border: #e32213;
    color: #fff !important;
}

/* Botones inferior (Today / Done / Clear) */
.ui-datepicker-buttonpane {
    background: #f9f9f9;
    border-top: 1px solid #ddd;
    padding: 6px 0;
    text-align: right;
}

.ui-datepicker-buttonpane button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 4px 12px;
    margin-left: 6px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.ui-datepicker-buttonpane button:hover {
    background: #0056b3;
}

/* Inputs del timepicker */
.ui-timepicker-div select {
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 3px 6px;
    font-size: 14px;
}
.ui-timepicker-div.ui-timepicker-oneLine {
    padding-right: 2px;
    width: 100% !important;
    border: none;
    box-shadow: none;
}

.ui-datepicker .ui-datepicker-prev span:before {
    content: '◀'; /* Flecha izquierda */
}
.ui-datepicker .ui-datepicker-next span:before {
    content: '▶'; /* Flecha derecha */
}

/*Subidas*/

.dropzone {
  border: 2px dashed #999;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background-color 0.2s ease;
}
.dropzone-message {
    margin: 0;
}
.dropzone.dragover {
  background-color: #e6f7ff;
}
.dropzone.has-error {
    border-color: #e74c3c;
    background-color: #fdecea;
}
.dropzone.is-disabled {
    cursor: not-allowed;
    opacity: 0.6;
}
.preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.preview div {
  background: #f1f1f1;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
}
.dropzone.has-error .preview div,
.dropzone.has-error .preview .text-danger {
    background: transparent;
    color: #c0392b;
}
.thermography-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.thermography-item {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}

.thermography-item.has-error {
    border-color: #e74c3c;
    background-color: #fdecea;
}

.thermography-item .thermography-info {
    flex: 1 1 auto;
}

.thermography-item .thermography-actions {
    flex: 0 0 auto;
}

.thermography-item .text-danger {
    margin: 0;
}


.thermography-card {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.thermography-card .card-content {
    flex: 1 1 auto;
}

.thermography-card-empty {
    border-style: dashed;
    background-color: #f4f4f4;
}

.thermography-card-total {
    border: 2px solid #233771;
    box-shadow: 0 0 12px rgba(35, 55, 113, 0.15);
}

.thermography-card-total .card-title {
    font-weight: 700;
}

.thermography-volume {
    margin-top: 15px;
    font-weight: 600;
}


/*informes*/

.thermographies-row{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.thermographies-row .thermography-card-column {
    width: calc(20% - 20px);
}

.card-graphs-inline {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: anchor-center;
    margin-top: 60px;

}
.card-graphs-inline > div {
    flex: 1;
    width: 48%;
}
@media (max-width: 1740px) {
    .thermographies-row .thermography-card-column {
        width: calc(30% - 20px);
    }
}
@media (max-width: 1280px) {
    .thermographies-row .thermography-card-column {
        width: calc(50% - 20px);
    }
}
@media (max-width: 768px) {
    .thermographies-row .thermography-card-column {
        width: calc(100% - 20px);
    }
    .card-graphs-inline {
        flex-direction: column;
    }
    .card-graphs-inline > div {
        max-width: 100%;
    }
}

/*detalle informe*/
.list-thermography-info{
    display: flex;
    flex-wrap: wrap;
}
.list-thermography-info li{
    width: 20%;
    font-size: 18px;
    margin: 10px 0;
}

.image-graph-row{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.image-graph-row .thermography-img, .image-graph-row .thermography-graph{
    width: 45%;
    margin: 15px auto 50px auto;
}

a.navigators{
    position: fixed;
    background: #233771;
    top: 50%;
    width: 50px;
    height: 50px;
    color: #fff;
    text-align: center;
    line-height: 51px;
    border-radius: 50%;
}
a.prev-thermography {    
    left: 270px;
}

a.next-thermography {
    right: 10px;
}
.informe-detalle #layersTable_info{display:none !important;}

/*subida archivos*/
.spinner {
   width: 40px;
   height: 40px;
   margin: 0 auto;
   border-radius: 50%;
   border: 6.4px solid #429cb6;
   animation: spinner-bulqg1 0.96s infinite linear alternate,
        spinner-oaa3wk 1.92s infinite linear;
}


@keyframes spinner-bulqg1 {
   0% {
      clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%);
   }

   12.5% {
      clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 0%, 100% 0%, 100% 0%);
   }

   25% {
      clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 100%);
   }

   50% {
      clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%);
   }

   62.5% {
      clip-path: polygon(50% 50%, 100% 0, 100% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%);
   }

   75% {
      clip-path: polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 50% 100%, 0% 100%);
   }

   100% {
      clip-path: polygon(50% 50%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 0% 100%);
   }
}

@keyframes spinner-oaa3wk {
   0% {
      transform: scaleY(1) rotate(0deg);
   }

   49.99% {
      transform: scaleY(1) rotate(135deg);
   }

   50% {
      transform: scaleY(-1) rotate(0deg);
   }

   100% {
      transform: scaleY(-1) rotate(-135deg);
   }
}

/*Alertas*/
.notificartion-uploads-process-container {
    width: 400px !important;
    left: calc(100% - 400px) !important;
    position: absolute;
    top: 70px;
    z-index: 1050;
}
.notificartion-uploads-process{
    position: static !important;
}

/*Utility classes para indentación*/
.padding-left-20 {
    padding-left: 20px;
}

.padding-left-40 {
    padding-left: 40px;
}

/*Collapsible sections*/
.collapsible-trigger {
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: background-color 0.3s ease;
}

.collapsible-trigger:hover {
    background-color: #1e2d5c;
}

.collapse-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.2s ease;
    font-size: 30px;
    font-weight: bold;
}

.collapsible-trigger.collapsed .collapse-icon::before {
    content: '+';
}

.collapsible-trigger:not(.collapsed) .collapse-icon::before {
    content: '−';
}

.collapsible-content {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    max-height: 5000px;
    opacity: 1;
}

.collapsible-content.collapsed {
    max-height: 0;
    opacity: 0;
    padding: 0 !important;
}

/*DataTable personalización para capas*/
#layersTable {
    font-size: 14px;
}

#layersTable thead th {
    background-color: #233771;
    color: #fff;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
}

#layersTable tbody td {
    text-align: center;
    vertical-align: middle;
}

#layersTable tbody td:first-child {
    font-weight: 600;
}

#layersTable_wrapper .dataTables_filter input {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px 10px;
}

#layersTable_wrapper .dataTables_length select {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px;
}

/*Selector de horas de termografías*/
#availables-thermograpies-times {
    min-height: 80px;
}

#availables-thermograpies-times .form-control {
    height: 40px;
    font-size: 16px;
}

#availables-thermograpies-times .text-center {
    padding: 20px 0;
    color: #666;
}

#availables-thermograpies-times .fa-spinner {
    font-size: 24px;
    color: #233771;
}

/*Modal de imagen de termografía*/

@media (min-width: 1280px) {
    .modal-lg {
        width: 1100px !important;
    }
}

.thermography-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.thermography-img-clickable {
    transition: transform 0.3s ease;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    width: 100%;
}

.thermography-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(35, 55, 113, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    color: #fff;
}

.thermography-img-container:hover .thermography-img-overlay {
    opacity: 1;
}

.thermography-img-overlay i {
    font-size: 48px;
    margin-bottom: 10px;
}

.thermography-img-overlay span {
    font-size: 16px;
    font-weight: 600;
}

.image-modal .modal-content {
    border-radius: 8px;
    overflow: hidden;
}

.image-modal .modal-header {
    background-color: #233771;
    color: #fff;
    border-bottom: none;
    display: flex;
}

.image-modal .modal-header .close {
    color: #fff;
    opacity: 0.8;
    text-shadow: none;
}

.image-modal .modal-header .close:hover {
    opacity: 1;
}
.modal-title {
    margin: 0;
    line-height: 1.42857143;
    color: #fff !important;
    width: calc(100% - 15px);
}
.image-modal .modal-body {
    padding: 20px;
    background-color: #f5f5f5;
}

.image-modal .modal-footer {
    border-top: 1px solid #ddd;
    padding: 15px;
}

.image-modal .modal-footer .btn-secondary {
    background-color: #e32213;
    border-color: #e32213;
    color: #fff !important;
}

.image-modal .modal-footer .btn-primary {
    background-color: #233771;
    border-color: #233771;
    color: #fff !important;
}

.image-modal .modal-footer .btn-primary:hover {
    background-color: #1e2d5c;
    border-color: #1e2d5c;
}

.modal img {
    max-width: 100%;
}