@view-transition {
    navigation: auto;
}

@media (min-width: 0px) {
    body {
        display: block;
    }
}

@media print {
    a[href]:after {
        content: none; /* Que no pinte el url en los enlaces */
    }
}

html,
body {
    height: 100%;
}

a {
    text-decoration: underline;
}

a.btn,
nav a,
.nav a,
.dropdown-menu li a {
    text-decoration: none;
}

body {
    min-height: 90vh;
}

#wrap {
    min-height: 100%;
    position: relative;
}

#main {
    padding-bottom: 200px; /* tiene que ser más grande que el footer */
    min-height: 80vh;
}

h3 {
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.3em;
    margin-top: 1em;
    margin-bottom: 1em;
}

/* inicio estilos de la sede para el footer */

.logo-subtel {
    background-image: url("/subtel/assets/meta/zb6bbdc90/subtel/layout/images/subtel-logo.svg");
    background-repeat: no-repeat;
    background-size: 150px;
    background-position: center bottom;
    height: 100px;
    width: 150px;
}

.logoDipuFooter {
    background-image: url("/subtel/assets/meta/zf721f178/subtel/layout/images/logodipu-iv.svg");
    background-repeat: no-repeat;
    background-size: 130px;
    display: block;
    min-height: 60px;
}

.site-footer {
    background-color: #272b2f;
}

ul.footer-enlaces {
    list-style: none;
    padding: 0;
    margin: 0.625rem 0 0 0;
}

ul.footer-enlaces li {
    padding-left: 1.3em;
    color: #acb8c1;
    line-height: 1.3rem;
    font-size: 0.9rem;
}

ul.footer-enlaces li a {
    color: #acb8c1;
    text-decoration: none;
}

ul.footer-enlaces li a:hover {
    color: white;
    text-decoration: none;
}

ul.footer-enlaces li:before {
    color: #acb8c1;
    content: "\f105";
    font-family: FontAwesome;
    display: inline-block;
    margin-left: -1rem;
    width: 1rem;
}

.footer-area-wrap {
    background-color: #30353a;
    padding: 2.5rem 0;
}

.footer-area-wrap-certificaciones {
    overflow: hidden;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.footer-area-wrap .container .row div h5 {
    margin-top: 24px;
}

.txtfooter {
    color: #acb8c1;
    font-size: 0.9rem;
}

.txtfooter a {
    color: white;
    font-size: 1rem;
    text-decoration: none;
}

.txtfooter a:hover {
    text-decoration: underline;
}

.site-footer .footer-copyright {
    margin-top: 0;
    display: block;
    color: #acb8c1;
}

ul.footlink li {
    color: #acb8c1;
    line-height: 1.1rem;
}

ul.footlink > li:first-child:before {
    content: "";
}

ul.footlink > li:before {
    content: "-";
}

ul.footlink li a {
    color: #acb8c1;
    text-decoration: none;
}

ul.footlink li a:hover {
    color: white;
    text-decoration: none;
}

ul.footlink li.pieConResaltado a {
    border-radius: 4px;
    color: white;
    background-color: #001f63;
    padding-left: 2px;
    padding-right: 2px;
    text-decoration: none;
}

ul.footlink li.pieConResaltado a:hover {
    font-weight: bold;
}

footer h5 {
    font-size: 1.1em;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
}

.inline-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.inline-list li {
    display: inline-block;
    vertical-align: top;
}

.logo-ens {
    background-image: url("/subtel/assets/meta/be0bab04/subtel/layout/images/distintivo_ens_certificacion_MEDIA_RD311-2022-165x200.png");
    background-repeat: no-repeat;
    display: inline-block;
    height: 201px;
    width: 165px;
}

/* fin estilos de la sede para el footer */

div.header {
    background-color: #001f63;
}

.header .logo {
    background-image: url("/subtel/assets/meta/zf721f178/subtel/layout/images/logodipu-iv.svg");
    background-repeat: no-repeat;
    background-repeat: no-repeat;
    background-size: 150px;
    background-position: center;
    display: block;
    min-height: 80px;
}

@media (min-width: 576px) {
    .header .logo {
        background-position: 50px 15px;
        min-height: 100px;
    }
}

.enhorabuena {
    margin-top: 100px;
}

.enhorabuena-ok {
    background-image: url("/subtel/assets/meta/512f0dab/subtel/layout/images/ok-grande.png");
    position: absolute;
    top: -75px;
    right: -75px;
    width: 190px;
    height: 190px;
    cursor: pointer;
    z-index: 8040;
}

label.checkbox {
    cursor: pointer;
}

/* Modificaciones sobre los estilos de Tapestry */
/* inicio a eliminar por no traerse la clase exception-container */
DIV.exception-container {
    background: white;
    border: 1px solid black;
    position: fixed;
    padding: 0 5px 40px 2px;
    top: 5%;
    left: 5%;
    bottom: 5%;
    right: 5%;
    z-index: 2000;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
}
DIV.exception-container IFRAME {
    width: 100%;
    height: 100%;
}
/* fin a eliminar */
.t-exception-container {
    z-index: 4; /* Para quedar por encima de los forms de bootstrap */
}

DIV.t-alert-container DIV.t-error {
    background: #f2dede;
    color: #a94442;
}

DIV.t-error {
    border: 1px solid #ebccd1;
}

img.t-error-icon {
    display: none !important;
}

.t-error-popup {
    font-size: 75%;
}

LABEL.t-error,
INPUT.t-error,
TEXTAREA.t-error,
SELECT.t-error,
.tjq-error-popup {
    border-color: #b94a48 !important;
    color: #b94a48;
}

.tjq-error-popup {
    font-size: 80%;
}

.datePicker button {
    font-size: 0.8em;
}

@keyframes flash-alert {
    0%,
    to {
        transform: translateZ(0);
    }

    20%,
    60% {
        transform: translate3d(-10px, 0, 0);
    }

    40%,
    80% {
        transform: translate3d(10px, 0, 0);
    }
}

.alert-fixed {
    position: fixed;
    z-index: 99999;
    max-width: 50vh;
    top: 15px;
    margin: 15px auto;
    left: 0;
    right: 0;
}

.alert-fixed .alert {
    animation: flash-alert 0.75s;
    animation-timing-function: ease-in-out;
}

.animate-flash {
    animation: flash-alert 0.75s;
    animation-timing-function: ease-in-out;
}

.alert h4 {
    font-size: 1em;
}

.form-actions {
    background-color: #f5f5f5;
    border-top: 1px solid #e3e3e3;
    padding-left: 5px;
    padding-top: 1em;
    padding-bottom: 1em;
    margin-top: 2em;
}

/* Nuevos estilos */

table.table tbody tr.highlight > td {
    background-color: #ccc;
}

/* Los autocompletar por encima de los dialogos */
.ui-autocomplete {
    z-index: 100000;
}

/* Marca de color de los estados de tramitación */
.marca-estado {
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    vertical-align: middle;
}

span.fmt-neg {
    color: red;
}

/* Paddings */
.no-padding {
    padding: 0;
}

.no-padding-l {
    padding-left: 0px;
}

.no-padding-r {
    padding-right: 0px;
}

tr.total:hover {
    background-color: #f5f5f5;
    color: black;
}

/* Labels */

/* Para nombres de campos en formularios */
.label-rotulo-6em {
    width: 6em;
    text-align: left;
}
.label-rotulo-7em {
    width: 7em;
    text-align: left;
}
.label-rotulo-9em {
    width: 9em;
    text-align: left;
}
.label-rotulo-11em {
    width: 11em;
    text-align: left;
}

/* Para evitar malas alineaciones en los campos de formulario */
.form-group {
    min-height: 4.3em;
    margin-bottom: 1rem;
}

/* Gira iconos FontAwesome en botones colapsables */
a[data-toggle="collapse"] > .fa {
    transition: 0.3s transform ease-in-out;
}

a[data-toggle="collapse"].collapsed > .fa {
    transform: rotate(-90deg);
}

/* Tablesorter */
.tablesorter {
    display: none; /* Por defecto ocultar hasta que en JS se hace visible */
}

.text-pre-wrap {
    white-space: pre-wrap;
    overflow-wrap: break-word;

    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;

    hyphens: auto;
}

.panel-title a:before {
    font-family: Fontawesome;
    float: left;
    font-size: 10px;
    font-weight: 300;
    margin-right: 0.5em;
    line-height: 2em;
    content: "\f077";
}

.panel-title a.collapsed:before {
    font-family: Fontawesome;
    content: "\f078";
}

.fs-7 {
    font-size: 0.75rem !important;
}

main#main {
    padding-bottom: 200px;
}

.nombre-modo-ejecucion {
    position: fixed;
    top: 400px;
    left: 0;
    font-size: 6rem;
    color: #fcc;
    transform-origin: 0 50%;
    transform: rotate(-90deg) translate(-50%, 50%);
    z-index: -1;
    pointer-events: none;
}

.admin-block {
    position: relative;
}
.admin-block:after {
    content: "\f132";
    font-family: FontAwesome;
    position: absolute;
    font-size: 5em;
    color: #7e1e1b;
    opacity: 0.2;
    top: 0.6em;
    left: 0.2em;
    line-height: 0;
}

/* Utilidades */

.dropdown-menu-border-between li + li {
    border-top: 1px solid #eee;
}

/* fin Utilidades */

/* cm6 */
.cm-focused .cm-selectionBackground,
.cm-selectionBackground,
.cm-line ::selection {
    background-color: #feffb3 !important;
}

.dac-disabled:disabled {
    pointer-events: initial;
    cursor: not-allowed !important;
}

.min-vh-50 {
    min-height: 50vh !important;
}
.min-vh-75 {
    min-height: 75vh !important;
}
