/* SIA - ESTILO MODERNIZADO
   Mantiene compatibilidad con estructuras antiguas (floats) pero moderniza Cabecera, Menú y Pie.
*/

:root {
    --primary-judicial: #073590;
    --primary-dark: #052a75;
    --accent-blue: #0d47a1;
    --white: #ffffff;
    --gray-bg: #f4f7f6;
    --footer-dark: #1a1c1e;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --border-radius: 6px;
    --nav-height: 45px;
}

/* Reset de seguridad para evitar que los elementos se desborden */
* {
    box-sizing: border-box;
}
/*
@import url(http://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300ita‌​lic,400italic,500,500italic,700,700italic,900italic,900);
*/
/*
@import url(http://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300ita‌​lic,400italic,500,500italic,700,700italic,900italic,900);
*/
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 100;
  src: local('Roboto Thin Italic'), local('Roboto-ThinItalic'), url(fuentes/KFOiCnqEu92Fr1Mu51QrEz4dL_nz.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 100;
  src: local('Roboto Thin Italic'), local('Roboto-ThinItalic'), url(fuentes/KFOiCnqEu92Fr1Mu51QrEzAdLw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  src: local('Roboto Light Italic'), local('Roboto-LightItalic'), url(fuentes/KFOjCnqEu92Fr1Mu51TjASc0CsTKlA.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  src: local('Roboto Light Italic'), local('Roboto-LightItalic'), url(fuentes/KFOjCnqEu92Fr1Mu51TjASc6CsQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: local('Roboto Italic'), local('Roboto-Italic'), url(fuentes/KFOkCnqEu92Fr1Mu51xGIzIFKw.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: local('Roboto Italic'), local('Roboto-Italic'), url(fuentes/KFOkCnqEu92Fr1Mu51xIIzI.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 500;
  src: local('Roboto Medium Italic'), local('Roboto-MediumItalic'), url(fuentes/KFOjCnqEu92Fr1Mu51S7ACc0CsTKlA.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 500;
  src: local('Roboto Medium Italic'), local('Roboto-MediumItalic'), url(fuentes/KFOjCnqEu92Fr1Mu51S7ACc6CsQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 700;
  src: local('Roboto Bold Italic'), local('Roboto-BoldItalic'), url(fuentes/KFOjCnqEu92Fr1Mu51TzBic0CsTKlA.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 700;
  src: local('Roboto Bold Italic'), local('Roboto-BoldItalic'), url(fuentes/KFOjCnqEu92Fr1Mu51TzBic6CsQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 900;
  src: local('Roboto Black Italic'), local('Roboto-BlackItalic'), url(fuentes/KFOjCnqEu92Fr1Mu51TLBCc0CsTKlA.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 900;
  src: local('Roboto Black Italic'), local('Roboto-BlackItalic'), url(fuentes/KFOjCnqEu92Fr1Mu51TLBCc6CsQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100;
  src: local('Roboto Thin'), local('Roboto-Thin'), url(fuentes/KFOkCnqEu92Fr1MmgVxGIzIFKw.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100;
  src: local('Roboto Thin'), local('Roboto-Thin'), url(fuentes/KFOkCnqEu92Fr1MmgVxIIzI.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: local('Roboto Light'), local('Roboto-Light'), url(fuentes/KFOlCnqEu92Fr1MmSU5fChc4EsA.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: local('Roboto Light'), local('Roboto-Light'), url(fuentes/KFOlCnqEu92Fr1MmSU5fBBc4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(fuentes/KFOmCnqEu92Fr1Mu7GxKOzY.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(fuentes/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: local('Roboto Medium'), local('Roboto-Medium'), url(fuentes/KFOlCnqEu92Fr1MmEU9fChc4EsA.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: local('Roboto Medium'), local('Roboto-Medium'), url(fuentes/KFOlCnqEu92Fr1MmEU9fBBc4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: local('Roboto Bold'), local('Roboto-Bold'), url(fuentes/KFOlCnqEu92Fr1MmWUlfChc4EsA.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: local('Roboto Bold'), local('Roboto-Bold'), url(fuentes/KFOlCnqEu92Fr1MmWUlfBBc4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  src: local('Roboto Black'), local('Roboto-Black'), url(fuentes/KFOlCnqEu92Fr1MmYUtfChc4EsA.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  src: local('Roboto Black'), local('Roboto-Black'), url(fuentes/KFOlCnqEu92Fr1MmYUtfBBc4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html {
  min-height: 100%;
  position: relative;
}
body {
    background-color: #eee;
    font-family: 'Roboto';
    text-decoration: none;
    font-size: 11px;
    margin: 0px auto;
    text-align: center;
    min-height: 100%;
}

#cabecera {
    width: 100%;
    background-color: #073590;
    color: #ffffff;
    font-size: 12px;
    /*height: 84px;*/
    float: left;
}
#menu {
    /*margin-left: 10px;
    margin-top: 10px;*/
    padding: 10px;
}
#contenedor {
    width: 100%;
    background-color: #eee;
    margin: 0px auto;
    font-size: 12px;
}
#contenido {
    float: left;
    margin: 10px;
    width: 98%;
    min-height: 390px;
    background-color: #eee;
    margin-bottom: 6%;
    padding-bottom: 10px;
    text-align: center;
    border-radius: 5px 5px 5px 5px;
}

#pie {
    bottom: 0;
    clear: both;
    background-color: #073590;
    color: #ffffff;
    text-align: center;
    width: 100%;
    height: 10%;
    margin-bottom: 0px;
    position: fixed;
    font-size: 1.3em;
}

#logos_footer {
    margin-top: 1%;
    vertical-align: middle;
    width: 50%;    
}


#boton_configuracion{
    margin-left: 10px;
    float: left;    
}
#boton_configuracion img{
    font-family: 'Roboto';
    width: 40px;
}
.titulo {
    color: black;
    text-align: left;
    width:100%;
}
#opciones {
    margin: 60px;
}
#sin_efecto{
    color: #ffffff;
    cursor: pointer;
    outline: 0;
    text-decoration:none;
}
#sin_efecto:hover{
    color: #ffffff;
}

a {
    color: #ffffff;
    cursor: pointer;
    outline: 0;
}
a:active, a:active * { outline: none !important; -moz-outline-style: none !important; }
a:focus, a:focus * { outline: none !important; -moz-outline-style: none !important; }
#a_link {
    color: #000000;
    text-decoration: none;
}
.login_h2 {
    color: #000;
    font-size: 20px;
    font-family: 'Roboto';
    font-style: italic;   
}
.italic {
    font-style: italic;   
}

h3 {
    color: #073590;
    font-size: 20px;
    font-family: 'Roboto';
    text-align: left;
    width: 90%;
    margin: 20px 10px 20px 10px;
}
h3:before {
    background-color: #073590;
    content: " ";
    margin: 0 3px 0 0;
    display: inline-block;
    height: 3px;
    position: relative;
    vertical-align: middle;
    width: 25px;
}

.content-titulo h2 {
    color: #48484B;
    margin-top: 0;
    padding-bottom: 4px;
    line-height: 35px;
    border-radius: 4px 4px 4px 4px;
    font-size: 18px;
}

.content-titulo fieldset{
    border: solid gray 1px;
    padding-bottom: 10px;
    /*width: 90%;*/
    /*margin:10px auto;*/
    margin-bottom: 1%;
}
.content-titulo legend{
    width: 100%;
    float: left;
    background-color: #015CAD;
    color: white;
    margin-bottom: 1%;
    text-align: left;
    padding: 0.5%;
}

h4 {
    margin: 0px 0 10px 0;
    font-weight: normal;       
    font-size: 12px;
    line-height: 30px;
    background: #00B1D9;
    padding: 1px 1px 1px 15px; 
    color: white;   
    font-family: 'Roboto';
    float: left;
    text-align: left;
    width: 100%;
}
p {
    text-align: left;
    margin: 10px;
}
.escritorio{
    color: #fff;
    position: absolute;
    border-radius: 10px;
    border: #e9ebf2 1px solid;
    background-color: #16893D;
    padding: 6px;
    margin-top: -30px;
    font-size: 11px;
    line-height: 5px;
}

.bandejas_remitos{
    color: #fff;
    position: absolute;
    border-radius: 10px;
    border: #e9ebf2 1px solid;
    background-color: #16893D;
    padding: 6px;
    margin-top: -15px;
    font-size: 11px;
    line-height: 5px;
}

.p_reportes {
    font-size: 10px;
    margin: 10px;
}

table { width: 98%; text-align: center; border-collapse: collapse; border: #ffffff 2px solid; margin: 0 auto; }
th { font-size: 14px; padding: 10px; background-color: var(--primary-judicial); color: #FFFFFF; border: #ffffff 1px solid; }
td { border: #ffffff 1px solid; padding: 6px; }
tr:nth-child(even) { background-color: #f9f9f9; }
tr:hover { background-color: #f1f7ff; }


table.renglones {
    margin: 10px;
    text-align: center;
    border-collapse: collapse;
    border: #000000 1px solid;
}
.renglones tr, .renglones td {
    font-size: 12px;
    background-color: #FFFFFF;
    padding: 5px;
    border: #000000 1px solid;
}
.renglones th {
    border-spacing: 15px;
    padding: 3px;

    color: #FFFFFF;
    border: #000000 1px solid;
}
table.expediente {
    margin: 10px;
    text-align: left;
    border-collapse: collapse;
}
.expediente caption {
    font-size: 14px;
    border-spacing: 15px;
    padding: 3px;
    background-color: #015cad;
    color: #FFFFFF;
    font-weight: bold;
    border: #ffffff 1px solid;
}
.expediente tr, .expediente td {
    font-size: 14px;
    background-color: #e9ebf2;
    padding: 5px;
}

table.atencion {
    width: 50%;
    font-size: 11px;
    margin: 5px;
    text-align: left;
    border: none;

}
.p_anulado{
    color: #DC3545;
}
.anulado td{
    color: #DC3545;
}

.atencion tr, .atencion td {
    vertical-align: middle;
    background-color: #e9ebf2;
    padding: 5px;
    border: none;
}

td {
    border: #ffffff 1px solid;
    padding: 4px;
}
tr {
    font-size: 11px;
    background-color: #FFFFFF;
    border: #ffffff 1px solid;
}
.th_reportes {
    padding: 2px;
    font-size: 10px;
    font-family: 'Roboto';
    background-color: #000000;
}
tr:nth-child(even) {
    background-color: #eFeFeF;
}
tr:hover {
    background-color: #C9E1FF;
}
th {
    font-size: 14px;
    border-spacing: 15px;
    padding: 3px;
    background-color: #015cad;
    color: #FFFFFF;
    border: #ffffff 1px solid;
}
#th1 {
    background-color: #227d36;
    color: #FFFFFF;
}
#p_menu {
    text-decoration: none;
    padding: 10px;
    font-weight: 600;
    font-size: 12px;
    color: #ffffff;
    background-color: #227d36;
    border-radius: 6px;
    border: 2px solid #227d36;
    width: 50%;
}
#p_menu:hover {
    color: #000000;
    background-color: #4dc740;
}
#th2 {
    background-color: #d1320b;
    color: #FFFFFF;
}
#th3 {
    background-color: #08af72;
    color: #FFFFFF;
}
#th4 {
    background-color: #0877af;
    color: #FFFFFF;
}


#popup {
    left: 0;
    top: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
    z-index: 1;
}
.content-popup {
    margin: 0px auto;
    margin-top: 50px;
    margin-bottom: 50px;
    position: relative;
    padding: 10px;
    width: 90%;
    min-height: 250px;
    border-radius: 4px;
    background-color: #e9ebf2;
}
.content-popup_parte_diario {
    margin: 0px auto;
    margin-top: 250px;
    margin-bottom: 50px;
    position: relative;
    padding: 10px;
    width: 40%;
    min-height: 250px;
    border-radius: 4px;
    background-color: #e9ebf2;
}
.content-popup_parte_diario legend{
	width: 100%;
    float: left;
    background-color: #015CAD;
    color: white;
    margin-bottom: 1%;
    text-align: left;
    padding: 0.5%;
}
.content-popup legend{
	width: 100%;
    float: left;
    background-color: #015CAD;
    color: white;
    margin-bottom: 1%;
    text-align: left;
    padding: 0.5%;
}
.content-popup form fieldset{
	border: solid gray 1px;
    padding-bottom: 10px;
    /*width: 90%;*/
    /*margin:10px auto;*/
    margin-bottom: 1%;
}
.content-popup form label{
	font-weight: normal;
}

.titulo_ti legend{
    width: 100%;
    float: left;
    background-color: #285780;
    color: white;
    margin-bottom: 1%;
    text-align: left;
    padding: 0.5%;
}


.bandeja_ti legend{
    width: 100%;
    color: #073590;
    font-size: 21px;
    text-align: left;
    padding: 0 10px 40px 10px;
}

.bandeja_ti {
    width: 98%;
    background-color: #fff;
    padding-bottom: 10px;
    border-radius: 5px;
    border:none;
    padding: 0 10px 40px 10px;
}

.bandeja_expediente legend{
	width: 100%;
    color: #073590;
    font-size: 21px;
    text-align: left;
    padding: 0 10px 40px 10px;
}

.bandeja_expediente {
    width: 98%;
    background-color: #5378c2;
    padding-bottom: 10px;
    border-radius: 5px;
    border:none;
    padding: 0 10px 40px 10px;
}

.bandeja_asignados legend{
    width: 100%;
    color: #073590;
    font-size: 21px;
    text-align: left;
    padding: 0 10px 40px 10px;
}

.bandeja_asignados {
    width: 98%;
    background-color: #ccc;
    padding-bottom: 10px;
    border-radius: 5px;
    border:none;
    padding: 0 10px 40px 10px;
}

.content-popup h2 {
    background-color: #073590;
    color: #fff;
    margin-right: 40px;
    border-bottom: 1px solid #48484B;
    margin-top: 0;
    padding-bottom: 4px;
    line-height: 35px;
    border-radius: 4px 4px 4px 4px;
    font-size: 18px;
}
.content-popup_parte_diario h2 {
    background-color: #073590;
    color: #fff;
    margin-right: 40px;
    border-bottom: 1px solid #48484B;
    margin-top: 0;
    padding-bottom: 4px;
    line-height: 35px;
    border-radius: 4px 4px 4px 4px;
    font-size: 18px;
}
hr {
    border-style: solid;
    border-color: #48484B;
    border-width: 0 0 1px 0;
    margin-bottom: 10px;
}
a.popup-cerrar {
  position: absolute;
  right:10px;
  background-color: #DC3545;
  padding:10px 10px;
  font-size: 20px;
  text-decoration: none;
  line-height: 1;
  color:#fff;
  border-radius: 4px 4px 4px 4px;
  opacity: 1;
}

.borde {
    border:1px solid #828282;
    padding: 10px; 
    margin: 10px 0px 15px 0px;
    border-radius: 4px;

}

/* ==========================================================================
   MENÚ PRINCIPAL
   ========================================================================== */

.ulmenu {
    margin: 0;
    padding: 0 10px;
    background-color: var(--white);
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.ulmenu li {
    position: relative;
}

.ulmenu li a, .dropbtn {
    display: block;
    color: #555 !important;
    padding: 12px 18px;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.ulmenu li a:hover, .dropdown:hover .dropbtn {
    color: var(--primary-judicial) !important;
    background-color: #f0f4ff;
    border-bottom: 2px solid var(--primary-judicial);
}

/* Dropdown moderno */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 220px;
    z-index: 1001;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    border: 1px solid #eee;
    padding: 8px 0;
    text-align: left;
    top: 100%;
}

.dropdown-content a {
    color: #444 !important;
    padding: 10px 20px !important;
    font-size: 11.5px !important;
    font-weight: 400 !important;
    border-bottom: none !important;
    transition: background 0.2s;
}

.dropdown-content a:hover {
    background-color: #f5f7fa !important;
    color: var(--primary-judicial) !important;
    border-bottom: none !important;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeInMenu 0.2s ease;
}

@keyframes fadeInMenu {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   FIN MENÚ PRINCIPAL
   ========================================================================== */


.p_form {
    margin: 10px 0px 5px;
    line-height: 14px;
    margin-left: 10px;
    text-align: justify;
}
label {
    width: 180px;
    float: left;
}
.label_contenido {
    width: 190px;
    float: left;
    text-align: left;
}

.label {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}
.bg_red{
  background-color: red;
}
.bg_blue{
  background-color: #015cad;
}
.bg_orange{
  background-color: orange;
  color: black;
}

.bg_verde{
  background-color: #228C53;  
}

fieldset {
    border: solid #000000 0px;
    padding-bottom: 10px;
    /*width: 90%;*/
    margin:10px auto;
}
input, select {
    padding: 4px;
    border: 0px solid #aaa;
    box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;
    border-radius: 4px;
    height: 30px;
    -moz-transition: padding .25s;
    -webkit-transition: padding .25s;
    -o-transition: padding .25s;
    transition: padding .25s;
    font-size: 11px;
}
textarea {
    padding: 4px;
    border: 0px solid #aaa;
    box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;
    border-radius: 4px;
    -moz-transition: padding .25s;
    -webkit-transition: padding .25s;
    -o-transition: padding .25s;
    transition: padding .25s;
    font-size: 11px;
}

#buscar {
    padding: 4px;
    border: 1px solid #ccc;   
    border-radius: 5px;
    -moz-transition: padding .25s;
    -webkit-transition: padding .25s;
    -o-transition: padding .25s;
    transition: padding .25s;
}
#buscar:focus {
    background: #fff;
    border: 1px solid #555;
}
input:focus, textarea:focus {
    background: #fff;
    border: 1px solid #555;
}
#logo {
    font-weight: normal;
    position: relative;
    font-size: 28px;
    color: white;
    text-align: left;
}
#plogo {
    font-weight: normal;
    position: relative;
    color: white;
    text-align: left;
    line-height: 5px;
    font-size: 16px;
}

#mensaje, #mensaje_form {
    font-weight: bold;
    color: #008729;
    width: 100%;
    float: left;
}
/* ==========================================================================
   CSS BOTONES - VERSIÓN DELICADA
   ========================================================================== */

.btn, .btn-chico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    font-weight: 400; /* Peso más ligero para mayor elegancia */
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px; /* Bordes menos exagerados */
    transition: all 0.25s ease;
    user-select: none;
    text-decoration: none !important;
    
    /* Espaciado para evitar que se toquen */
    margin: 5px 4px; 
    gap: 10px; /* Espacio interno entre icono y texto */
}

/* Tamaños más estilizados */
.btn {
    padding: 7px 16px; /* Menos alto, más balanceado */
    font-size: 12px;
    /* Sombra mucho más sutil (casi imperceptible) */
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.btn-chico {
    padding: 4px 10px;
    font-size: 11px;
}

/* Ajuste específico para los iconos dentro del botón */
.btn img, .btn i {
    width: 14px; /* Forzamos a que el icono sea pequeño y delicado */
    height: auto;
    opacity: 0.9;
}

/* --- INTERACCIONES SUAVES --- */

.btn:hover, .btn-chico:hover {
    transform: translateY(-1px); /* Elevación sutil */
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
    filter: brightness(1.1);
}

.btn:active {
    transform: translateY(0);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

/* --- VARIANTES DE COLOR --- */

.btn-primary {
    color: var(--white) !important;
    background-color: var(--primary-judicial);
    border-color: rgba(255,255,255,0.1);
}

.btn-success {
    color: #fff !important;
    background-color: #28a745; /* Un verde más moderno y vibrante */
}

.btn-error {
    color: #fff !important;
    background-color: #e74c3c;
}

/* Variante Outline (Opcional, muy delicada para acciones secundarias) */
.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-judicial) !important;
    border: 1px solid var(--primary-judicial);
}
.btn-outline-primary:hover {
    background-color: var(--primary-judicial);
    color: #fff !important;
}
/* CSS para el listado de adjuntar */
/* Fixed sidenav, full height */


/* Style the sidenav links and the dropdown button */
.dropdown-btn {
   padding: 6px 8px 6px 16px;
   text-decoration: none;
   font-size: 18px;
   color: grey;
   display: block;
   border: none;
   background: none;
   width:100%;
   text-align: left;
   cursor: pointer;
   outline: none;
}

/* On mouse-over */
.sidenav a:hover, .dropdown-btn:hover {
   color: #f1f1f1;
}

/* Add an active class to the active dropdown button */
.active {
   background-color: gray;
   color: white;
}

/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container {
   display: none;
   background-color: gray;
   padding-left: 8px;
}

#loader {    
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
    z-index: 1;    
    top: 50%;
    left: 50%; 
    width:50px;
    height: 50px;
    
    background: url('../imagenes/loadericon.gif') 50% 50% no-repeat rgb(249,249,249);
    ;
}

.fadebox {
    display: none;
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: #eee;
    z-index:1001;
    -moz-opacity: 0.8;
    opacity:.80;
    filter: alpha(opacity=80);
}


.spinner{
    display: none;
    z-index:1002;
    overflow: auto;
    position: fixed;
    top: 50%;
    left: 50%; 
    width:50px;
    height:50px;
    border-radius:50%;
    border:1px solid black;
    background:transparent;
    border-top-color:#efef;
    border-bottom-color: #efef;
    border-left-color: black;
    animation:spin 2.0s linear infinite;
}

@keyframes spin{
  0%{
    background:transparent;
    transform: rotate(720deg); 
}

}
/*Alinear las img de los titulos historial expedientes*/
.content-popup h2 img{
	position: absolute;
	display: none;
}
/* Fuente de la tabla historial historial expedientes*/
table tr td{
	font-size: 1.3em;
}
/*Alinear img de opciones de la tabla historial expedientes*/
#myTable tr td:last-child{
	text-align: center;
}
/* Intercalar color de la cabecera del historial expedientes*/
.expediente td:nth-child(odd){
	background-color: #073590;
	color: white;
}
/* Intercalar color de la tabla historial expedientes*/ 
#myTable tr:nth-child(odd) td{
    background-color:#f2f2f2;
    color: black;
}
#myTable tr:nth-child(even) td {
    background-color:#fbfbfb;
    color: black;
}
#myTable tr:hover{
	background-color: black !important;
}
.subtitulo_tabla{
	background-color:#00B1D9;
}
/* Color de mensajes */
.letra_azul{
	color:#0D0082 !important;
}
.letra_roja{
    color:#DC3545 !important;
    font-weight: bold;
}
.breadcrums{
	text-align: left;
	float: left;
	width: 100%;
	padding: 0.3%;
	color:#898989;
}
/*CHATBOT*/
#chatbot {
	bottom:0px;
	margin-bottom: 5px;
	width:5%;
	/*height:72px;*/
	right:5px;
	position:fixed;
	text-align: center;
	border-radius: 200px;
	-moz-border-radius: 200px;
	-webkit-border-radius:200px;
	
	border: 1px soid #2F5771;
    box-shadow: 0 0 0 2px white;
    animation: 2s animateBorder infinite;
}

@keyframes animateBorder {
  to {
    border: white;
    box-shadow: 0 0 0 2px #2F5771;
    border-radius: 200px;
    -moz-border-radius: 200px;
    -webkit-border-radius:200px;
}
}
/*Ventana*/
#spopup{
    background:#f3f3f3;
    -moz-box-shadow:inset 0 0 3px #333;
    -webkit-box-shadow:inset 0 0 3px #333;
    box-shadow:inner 0 0 3px #333;
    padding:12px 14px 12px 14px;
    bottom:0px;
    margin-bottom: 5px;
    width:28%;
    height:400px;
    right:5px;
    position:fixed;
    text-align: center;
    display:none;
    z-index:90;
}
.square{
  height: 20px;
  width: 20px;
  border-radius: 4px 4px 4px 4px;
}
/*fin ventana*/	
/*FIN CHATBOT*/
.imagen_icono{
	width: 32px;
}
.p_form input, .p_form select, .p_form textarea{
	width: 250px;
}
.acciones img{
	margin: 2% 0;
}
table tr td img{
	margin: 2% 0;
}
table tr td hr{
	margin: 1% 0;
}
.titulo_tabla_firma{
	width: 70% !important;
	float: left !important;
}
.firmar_todos{
	border: none;
	background-image: url(../imagenes/firmar_todos_documento.png);
	width: 214px;
	height: 32px;
	background-color: none;
}
.div_vacio{
	width: 100%;
	float: left;
}

.ti_fieldet{
    width: 100%;
    float: left;
    background-color: #073590;
    color: white;
    margin-bottom: 1%;
    text-align: left;
    padding: 0.5%;
}

.ti_button{
    background-color: #fff;
    border-width: 1px;
    border-color: #073590;   
    color: var(--primary-judicial) !important;
}

table.ti {
    margin: 10px;
    text-align: left;
    border-collapse: collapse;
}

.tramite_interno caption {
    border-spacing: 15px;
    padding: 3px;
    background-color: #073590;
    color: #FFFFFF;
    font-weight: bold;
    border: #ffffff 1px solid;
}
.tramite_interno tr,.tramite_interno th, .tramite_interno td {
    font-size: 11px;
    background-color: #073590;
    padding: 5px;
}

table.header_ti {
    margin: 10px;
    text-align: left;
    border-collapse: collapse;
}
.header_ti caption {
    border-spacing: 15px;
    padding: 3px;
    background-color: #073590;
    color: #FFFFFF;
    font-weight: bold;
    border: #ffffff 1px solid;
}
.header_ti tr, .header_ti td {
    font-size: 11px;
    background-color: #e9ebf2;
    padding: 5px;
}

.header_ti td:nth-child(odd){
    background-color: #073590;
    color: white;
}

.ti_tabla{
    background-color: #073590;
}

.ti_tabla th{
    background-color: #073590;
}

.bandeja{
    text-align: right;
    margin-right: 5%;
}

.btn_bandeja_ti {
    margin: 2px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    padding: 6px 12px;
    font-size: 12px;
    background-color: #fff;
    color: #073590;
    border: 1px solid;
    border-radius: 5px;
}

.btn_bandeja_expediente {
    margin: 2px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    padding: 6px 12px;
    font-size: 12px;
    background-color: #5378c2;
    color: #fff;
    border: 1px solid;
    border-radius: 5px;
}

.btn_bandeja_firmar {
    margin: 2px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    padding: 6px 12px;
    font-size: 12px;
    background-color: #228C53;
    color: #fff;
    border: 1px solid;
    border-radius: 5px;
}


.scroll-to-top{
  text-decoration: none;
  position: fixed; 
  top: 20px;
  right: 20px;
  display: none;
  font-size: 36px;
  color: #555;
}

.scroll-to-top:hover{
  text-decoration:none;
  color: #000;
}

.descripciones{
  font-size: 16px;
  font-style: italic;
  font-weight: bold;

}

.popup_ancho{
  width: 98%;
}

.scroll_top {    
    overflow-x: scroll;
    float: left;
    width: 100%;
}
.letra_blanca{
    color:#FFFFFF !important;
}