html, body { margin: 0px; padding: 0px; font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif; background-color: #ffffff; overflow-x: hidden; box-sizing: border-box; }



.contentBack { width: 70%; height: 100%; position: relative; background-image: url('media/background.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; display: block; }

  .contentLogo { position: absolute; top: 40%; left: 0; width: 100%;  transform: translateY(-50%); z-index: 5; overflow: hidden; display: flex; justify-content: center; align-items: center; }
    .contentLogo img { width: 30%; min-width: 200px; }

  .contentBack .overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); z-index: 1; }
    .contentBack .carousel { position: absolute; top: 80%; left: 0; width: 100%; height: 15%; transform: translateY(-50%); gap: 20px; z-index: 2; overflow: hidden; background-color: #ffffff; padding: 15px 0px 15px 0px; }
      .carousel-track {height: 100%; display: flex; animation: slide 40s linear infinite; gap: 50px;  }
        .carousel-track img {height: 100%; }
          @keyframes slide {0% {transform: translateX(0); } 100% {transform: translateX(-200%); } }

          #carousel2 { display: none; }

.contentForm { width: 30%; height: 100%; background-color: #ecf7ff; font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif; color: #2F4F4F; }
 
    .contentLogoForm1 { width: 100%; overflow: hidden; justify-content: center; align-items: center; margin: 15px 0px 10px 0px; display: none; }
        .contentLogoForm1 img { width: 30%; min-width: 200px; }

    .contentLogoForm2 { width: 100%; overflow: hidden; justify-content: center; align-items: center; margin: 60px 0px 30px 0px; }
        .contentLogoForm2 img { width: 30%; min-width: 200px; }

    .formContainer { position: relative; width: 90%;  text-align: center; justify-content: center; align-items: center; padding: 20px; background-color: #ffffff; border: 1px solid #D3D3D3; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); }
    
    .labelFormIndex { width: 100%; font-size: 17px; text-align: center; padding: 3px; display: inline-block; margin-top: 15px; margin-bottom: 3px; }
    
    .inputFormIndex { width: 100%; height: 30px; border-radius: 7px; border: 1px solid #C0C0C0; font-size: 17px; text-align: center; padding: 3px; font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif; outline: none; }
        .inputFormIndex:focus { border-color: #C0C0C0; box-shadow: 0 0 7px rgba(192, 192, 192, 1); }
    
    .boton_ingresar { width: 100%; padding: 5px; border-radius: 7px; border: 1px solid #103673; font-size: 17px; font-weight: bold; color: #ffffff; background-color: #144490; transition: all 0.5s ease; cursor: pointer; font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif; }
        .boton_ingresar:hover { background: #103673; }

@media only screen and (max-width: 768px) {#contentBack {display: none; } #contentForm { width: 100%; } #logo {display: block; } #logo2 {display: none; } #carousel2 { display: block; } #hideButtons { display: none; } }

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {-webkit-appearance: none; margin: 0; }
input[type="number"] {-moz-appearance: textfield; }

.footer { width: 100%; height: 40px; background-color: #1E3A8A; position: fixed; z-index: 100; bottom: 0px; align-items: center; align-content: center; text-align: center; font-size: 14px; color: #ffffff; }
    .footer a { display: inline-block; align-items: center; vertical-align: middle; }

.iconWhatsApp { position: fixed; float: right; bottom: 45px; right: 5px; }



.headerPaciente { width: 100%; height: 50px; background-color: #1E3A8A; position: fixed; z-index: 5; top: 0px; }
    .headerPaciente1 { width: 100%; max-width: 1000px; margin-left: auto; margin-right: auto; position: relative; top: 0px; background-color: #040730; z-index: 6; }
        .logoDosimed { position: absolute; left: 20px; top: 6px; }
        .icono_password { position: absolute; right: 65px; top: 7px; cursor: pointer; z-index: 7; }
        .icono_volver { position: absolute; right: 65px; top: 10px; cursor: pointer; z-index: 7; } 
        .icono_salir { position: absolute; right: 20px; top: 9px; cursor: pointer; z-index: 7; }

.infoPaciente { width: 100%; position: fixed; z-index: 2; }
    .infoPacienteContent { width: 90%; max-width: 960px; margin-left: auto; margin-right: auto; position: relative; top: 50px; padding: 12px 20px 12px 20px; background-color: #e9ebf0; font-size: 17px;  }

.contenedor_global { width: 100%; position: absolute; }
    .bloque_content {width: 95%; max-width: 960px; margin-left: auto; margin-right: auto; position: relative; top: 100px; padding-top: 20px; box-sizing: border-box; }
        .bloque_content > * {max-width: 100%; box-sizing: border-box; }

.tablaGenerica2 { border-collapse: collapse; }
.tablaGenerica2 th { border: none; border-bottom: 1px solid #dfe1e6; padding: 4px 6px; background-color: #e9ebf0; font-size: 15px; }
.tablaGenerica2 td { border: none; border-bottom: 1px solid #dfe1e6; padding: 2px 4px; font-size: 15px; color: #000000; }
.tablaGenerica2 tr:nth-child(even) { background-color: #ffffff; }
.tablaGenerica2 tr:hover { background-color: #f3f5fa; }



.labelCambioPass { width: 100%; max-width: 300px; font-size: 15px; text-align: center; padding: 3px; display: inline-block; margin-top: 15px; margin-bottom: 3px; }
.inputCambioPass { width: 100%; max-width: 300px; height: 25px; border-radius: 7px; border: 1px solid #C0C0C0; font-size: 15px; text-align: center; padding: 3px; font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif; outline: none; }
    .inputCambioPass:focus { border-color: #C0C0C0; box-shadow: 0 0 7px rgba(192, 192, 192, 1); }
.boton_cambioPass { width: 100%; max-width: 300px; padding: 5px; border-radius: 7px; border: 1px solid #103673; font-size: 15px; font-weight: bold; color: #ffffff; background-color: #144490; transition: all 0.5s ease; cursor: pointer; font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif; }
        .boton_cambioPass:hover { background: #103673; }
.boton_02 { display: inline-flex; align-items: center; justify-content: center; width: 150px; padding: 3px 3px 4px 3px; background-color: #2E6CB4; border: 1px solid #144490; color: #ffffff; text-decoration: none; font-size: 15px; border-radius: 6px; margin-left: 20px; transition: all 0.5s ease; cursor: pointer; font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif; }
  .boton_02 i { margin-right: 8px; }
  .boton_02 a { color: #ffffff; }
  .boton_02:hover { background-color: #235a9f; }

.boton_04 { display: inline-flex; align-items: center; justify-content: center; width: 120px; padding: 3px; background-color: #B8D2E6; border: 1px solid grey; text-decoration: none; font-size: 15px; border-radius: 6px; margin-left: 20px; transition: all 0.5s ease; cursor: pointer; font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif; }
  .boton_04 i { margin-right: 8px; }
  .boton_04:hover { background-color: #A3BDD1; }
  
.modalAlert01-background { display: none; left: 0; position: fixed; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); align-items: center; justify-content: center; z-index: 1000; }
.modalAlert01-backgroundDesenfoque { backdrop-filter: blur(5px); display: none; height: 100%; left: 0; position: fixed; top: 0; width: 100%; background: rgba(255, 255, 255, 0.3); align-items: center; justify-content: center; z-index: 1000; }
.modalAlert01-close-button { background-color: #2469ff; border: 1px solid #3268d9; border-radius: 5px; color: white; cursor: pointer; margin-top: 15px; padding: 8px 30px; }
.modalAlert01-close-button:hover { background-color: #3268d9; }
.modalAlert01-content { background-color: white; border-radius: 8px; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.6); padding: 20px; text-align: center; width: 300px; }


.visorTitulo { width: 100%; text-align: center; margin: 10px 0px 10px 0px; color: #144490; display: inline-block; font-weight: bold;  }
    .icono_salirVisor { position: fixed; right: 20px; top: 10px; cursor: pointer; background-color: #000000; padding: 5px; z-index: 100; border-radius: 10px; }
    .icono_irAtras { position: fixed; left: 20px; top: 10px; cursor: pointer; background-color: #000000; padding: 5px; z-index: 100; border-radius: 10px; }

.visorMensajeAdv { padding: 15px 0px 15px 0px; color: #ffffff; font-size: 11px; text-decoration: none; width: 94%; max-width: 1000px; margin: 0 auto; text-align: center;  }

.botonBar { width: 94%; max-width: 1280px; margin: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 6px; margin-bottom: 30px; }
       .botonTool { height: 40px; aspect-ratio: 1 / 1; background-color: #000000; border-radius: 5px; justify-content: center; align-items: center; align-content: center; }
            .botonTool button { border: none; background-color: #000000; }
            .botonTool img { width: 90%; }
            .tooltip1 { position: relative; display: inline-block; }
            .tooltip1 .tooltiptext1 { visibility: hidden; width: 150px; background-color: #555; color: #fff; font-size: 14px; text-align: center; padding: 3px; border-radius: 8px; 
                border: 1px solid #D3D3D3; position: absolute; z-index: 1; left: -130%; bottom: 100%; opacity: 0; transition: opacity 0.3s; }            
            .tooltip1:hover .tooltiptext1 { visibility: visible; opacity: 1; }

.metadataInfo { width: 94%; position: relative; color: #ffffff; font-size: 15px; text-decoration: none; width: 94%; max-width: 1280px; margin: 0 auto; margin-bottom: 5px; text-align: center; }
.viewerContainer { display: grid; gap: 5px; width: 94%; height: 67%; position: relative; color: #ffffff; font-size: 15px; text-decoration: none; width: 94%; max-width: 1280px; margin: 0 auto; margin-bottom: 25px; text-align: center; }
    .viewerWindow {background-color: #000; position: relative; border: 1px solid transparent; border-radius: 10px; overflow: hidden;  }
        .viewerWindow.active { border-color: #ffffff; border-radius: 10px; overflow: hidden; }

.contenedorThumbs { position: relative; color: #ffffff; font-size: 15px; text-decoration: none; width: 94%; max-width: 1280px; margin: 0 auto; text-align: center;   }
    .thumbnailsContainer { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; border: 1px solid #808080; gap: 5px; padding: 0px 3px 0px 3px; }
            .thumbnail  { --size: min(16vw, 100px); width: var(--size); height: var(--size); display: inline-block; margin: 4px 0px 0px 8px; }
                .arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background-color: rgba(0, 0, 0, 0.5); color: #fff; border: none; cursor: pointer; }
                .arrow.left { left: 8px; }
                .arrow.right { right: 0px; }


#loader-wrapper {position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.8); z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; }
    #loader {border: 12px solid rgba(255, 255, 255, 0.2); border-top: 12px solid #ffffff; border-radius: 50%; width: 80px; height: 80px; animation: spin 1s linear infinite; }
        #loader-text {margin-top: 20px; color: #fff; font-size: 20px; }
            @keyframes spin {0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }


