@font-face {
    font-family:'Panton';
    src:url('../fonts/Panton-Regular.woff2') format('woff2'),
        url('../fonts/Panton-Regular.woff') format('woff');
    font-weight:normal;
    font-style:normal;
}
@font-face {
    font-family:'Panton';
    src:url('../fonts/Panton-Bold.woff2') format('woff2'),
        url('../fonts/Panton-Bold.woff') format('woff');
    font-weight:bold;
    font-style:normal;
}
@font-face {
    font-family:'Panton';
    src:url('../fonts/Panton-BoldItalic.woff2') format('woff2'),
        url('../fonts/Panton-BoldItalic.woff') format('woff');
    font-weight:bold;
    font-style:italic;
}
@font-face {
    font-family:'Panton';
    src:url('../fonts/Panton-Light.woff2') format('woff2'),
        url('../fonts/Panton-Light.woff') format('woff');
    font-weight:300;
    font-style:normal;
}
@font-face {
    font-family:'Panton';
    src:url('../fonts/Panton-LightItalic.woff2') format('woff2'),
        url('../fonts/Panton-LightItalic.woff') format('woff');
    font-weight:300;
    font-style:italic;
}
@font-face {
    font-family:'Panton';
    src:url('../fonts/Panton-ExtraBlack.woff2') format('woff2'),
        url('../fonts/Panton-ExtraBlack.woff') format('woff');
    font-weight:900;
    font-style:normal;
}
@font-face {
    font-family:'Panton';
    src:url('../fonts/Panton-ExtraBlackItalic.woff2') format('woff2'),
        url('../fonts/Panton-ExtraBlackItalic.woff') format('woff');
    font-weight:900;
    font-style:italic;
}
::-webkit-scrollbar {
    width:10px;
    height:10px;
}
::-webkit-scrollbar-track {
    -webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0.3);
    -webkit-border-radius:10px;
    border-radius:10px;
}
::-webkit-scrollbar-thumb {
    -webkit-border-radius:10px;
    border-radius:10px;
    background:rgba(136, 136, 136, 0.80);
}
::-webkit-scrollbar-thumb:window-inactive {
    background:rgba(102, 102, 102, 0.40);
}
body, html {
    font-family:'Panton';
}
body {
    font-size:16px;
    color:#666;
    font-weight: 400;
    line-height: 1.5;
}
.v-timer{
    float: right;
    margin-top: -25px;
}
@media (max-width: 992px) {
.navbar-light .navbar-nav .nav-link{
    border-bottom: none;
    border-left: 3px solid transparent;
    padding-left: 10px;
}
.navbar-light .navbar-nav .nav-link:hover, .navbar-light .nav-item.show .nav-link {
    border-bottom: none;
    border-right: 3px solid #0074c5;
}
.navbar-light .nav-item .nav-link {
    padding: 5px !important;
}
#mainNav .dropdown-menu {
    background-color: #f8f9fa;
    margin: 0 1rem 0 1rem;
    border-top: none !important;
    width: auto;
    font-size: 16px;
    box-shadow: none;
    }
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link {
        border-bottom: 3px solid transparent;
        padding: 1.5rem 1.5rem;
    }
    .navbar-light .navbar-nav .nav-link:hover {
        border-bottom: 3px solid #0074c5;
    }
    #mainNav {
        background-color: #fff;
    }
    #header-label {
        color: white !important;
    }
    /* #logo-header {
        filter: brightness(0) invert(1);
    } */
    #logo-header, #logo-footer {
        height: 70px;
    }
    #logo-fiba{
        height: 100px;
    }
    a.nav-link{
        padding-right: 1.5rem !important;
        padding-left: 1.5rem !important;
    }
}


@media (max-width:640px) {
    .boxWE{
    margin-left:5%!important;
    margin-right: 5%!important;
    }
}
/* Table */
@media (max-width:768px) {
     #div-footer .left {
        text-align: center;
        padding-bottom: 1rem;
    }
    #div-footer .right {
        justify-content: center;
    }
    .boxWE{
    margin-left:5%!important;
    margin-right: 5%!important;
    }
    .style-table thead {
        display:none;
    }
    .style-table th, .style-table td {
        display:block;
    }
    .style-table td {
        padding:0 5px;
        border-top:none;
    }
    .style-table tr td:first-child {
        padding-top:5px;
    }
    .style-table tr td:last-child {
        padding-bottom:5px;
    }
    .style-table .text-center {
        text-align:left;
    }
    .style-table td[data-th]:not(:empty):before {
        content:attr(data-th);
        font-weight:bold;
        width:30%;
        margin-right:10px;
        display:inline-block;
    }
}
@media (max-width:576px) {
    .style-table td[data-th]:not(:empty):before {
        width:100%;
        margin-right:0;
        display:block;
    }
    .boxWE{
    margin-left:5%!important;
    margin-right: 5%!important;
    }
}

.bd-callout+.bd-callout {
    margin-top: -0.25rem;
}

.bd-callout-success {
    border-left-color: #28a745;
}

/* Header y Footer */
#mainNav {
    padding: 0 !important;
    align-items: center;
    flex-direction: row;
    box-sizing: border-box;
    display: flex;
    font-size: 17px;
    background-color: #fff;
    color: #000;
    z-index: 1055;
    font-weight: 700;
    position: fixed;
    top: 0;
    width: 100%;
    -webkit-transition: .5s;
    transition: .5s;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-bottom: 1px solid #e9ecef;
}
#mainNav.scrolled {
    background-color: #fff;
}
#mainNav > .container-fluid, #div-footer > .container-fluid, #main-content > .container-fluid {
    max-width: 1200px;
}
#logo-header, #logo-footer {
    height: 90px;
}
#mainNav.scrolled #logo-header, #mainNav.scrolled .navbar-toggler-icon {
    filter: brightness(1) invert(0);
}
#mainNav.scrolled #header-label, #mainNav.scrolled a.nav-link {
    color: #0074c5 !important;

}
.navbar-brand {
    margin: 0.5rem 1rem;
}
#mainNav .dropdown-menu{
    margin-top: -3px;
    border-top: 3px solid #8a001c !important;
    max-width: 100%;
    width: 100%;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    font-size: 16px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}
.dropdown-item {
    white-space: inherit;
}
a.dropdown-item{
    color: #2d2829 !important;
    font-weight: normal;
}
a.nav-link {
    color: #2d2829 !important;
}

.navbar-light .nav-item .nav-link {
    padding: 20px !important;
}
.navbar-light .nav-item.show .nav-link {
    border-bottom: 3px solid #2d2829;
}


#div-footer {
    color: #fff;
    background-color: #242f62;
}
#div-footer .right {
    display: flex;
    justify-content: flex-end;
}
#up {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 1000;
    cursor: pointer;
}
#up .ico {
    width: 50px;
    height: 50px;
    font-size: 32px;
    line-height: 50px;
    color: white;
    background: rgba(0, 0, 0, 0.28);
    font-weight: bolder;
    border-radius: 50px;
}

footer{
  bottom: 0;
  width: 100%;
}
footer .social {
    display: inline-block;
    width: 40px;
    height: 40px;
    font-size: 22px;
    text-align: center;
    text-decoration: none;
    color: #363636;
    /* border-style: solid; */
    border-width: 1px #fff solid;
    margin: 0 1px;
    border-radius: 40px;
    background-color: #fff;
}
footer .social:hover {
    color: #363636 !important;
}
footer hr {
    border-bottom: 1px solid #fff;
    max-width: 960px;
    margin: 10px auto;

}
footer .emergencias {
    font-size: 16px;
}
footer .num-emergencias {
    font-size: 22px;
    font-weight: bold;
}
#div-footer-gob {
    color: #fff;
    background-color: #1d264f;
}

/* Cuerpo de las páginas secundarias */
#main-content {
    padding-top: 76px;
    padding-bottom: 0px;
    min-height: calc(100vh - 352px);
}
#popup-content {
    padding: 15px;
    max-width: 960px;
}
/* *** */
.card h3 {
    color: #2d2829 !important;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}
.card-text {
    color: #7a7a7a;
}
.card-footer {
    padding-bottom: 1.25rem;
    background-color: #fff;
    border-top: none;
}
.card .btn-outline-info {
    border-radius: 25px;
    padding-left: 2em;
    padding-right: 2em;
    border-width: 2px !important;
    font-size: 1.25rem;
}
.embed-responsive .embed-responsive-item {
    object-fit: cover;
}
.foto-ppal {
    width: auto !important;
    max-height: 520px;
}
.video-slide, .audio-slide, .pdf-slide {
    display:none;
}
.video-slide {
    padding:0 !important;
    width: 640px;
}
.video-slide video {
    width:100%;
    position:absolute;
    left:0;
    bottom:0;
    z-index:1;
    object-fit:fill;
}

.audio-slide {
    width:100%;
    max-width:320px;
    padding:0 !important;
}
.audio-slide audio {
    height:32px;
    width:100%;
    position:absolute;
    left:0;
    bottom:0;
    z-index:1;
    background-color:#eee;
}
.pdf-slide {
    width:100%;
    max-width:640px;
    height:100%;
    position:relative;
    padding:0 !important;
    margin:0 !important;
    overflow:hidden !important;
}
.card-img-overlay .ico {
    color: #0074c5;
}
#owl-carouselnoticias {
    text-align: center;
}
.fancybox-button:focus {
    outline: none;
}
pre {
    margin-bottom: 0;
}
.titulo {
    color: var(--dark);
    font-size:24px;
    font-weight: bold;
    text-transform: uppercase;
}
.titulo.secundario {
    color: var(--dark);
    font-weight: bold;
    text-transform: none;
}
.subtitulo {
    color: var(--gray);
    font-size:20px;
    font-weight: bold;
    text-transform: uppercase;
}
.list-inline li {
    display: inline-block;
}
.list-inline li:not(:last-child) {
    margin-right: 0.5rem;
}
.valid-feedback, .invalid-feedback {
    font-weight:bold;
}
input[type=checkbox], input[type=radio] {
    width:20px;
    height:20px;
    position:relative;
    top:4px;
    margin-left: 1px;
}
select.w-auto {
    width:auto !important;
    display:inline-block;
}
label {
    color: var(--dark);
}
label.required:after {
    content: "*";
    display: inline-block;
    color: var(--orange);
    padding-left: 3px;
    vertical-align: middle;
    font-weight: 900;
    font-size: 20px;
}
.mw-xs {
    max-width:360px;
}
.mw-sm {
    max-width:540px;
}
.mw-md {
    max-width:720px;
}
.mw-lg {
    max-width:960px;
}
.mw-xl {
    max-width:1200px;
}
div.spacer {
    height:20px;
}
div.clear {
    clear:both;
}
.no-display {
    display:none;
}
.btn-pag {
    padding: 0;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 50%;
}



/* Select */
.style-select select {
    display:none;
}
.style-select .dropdown-toggle {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 1rem 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #666666;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.2rem;
}
.style-select .dropdown-toggle:focus {
    border-color: #fde1af;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(249, 178, 51, 0.25);
}
.dropdown-toggle::after {
    margin-left: 1em;
}
.dropdown-item:active {
    color: #0074C5;
    background-color: #f8f9fa;
}
.navbar .dropdown-toggle::after {
    border:0px !important;
    content: none;
}
.navbar button:focus {
    outline: none;
    color: #7e7e7e;
}
.navbar-light .navbar-toggler {
    color: rgba(0, 0, 0, 0.5);
    border-color:transparent;
}
/* Impresión */
@media print {
    @page {
        size:letter;
    }
    a[href]:after {
        content:none !important;
    }
}

.btnAzul{
    padding: 10px 45px;
    background-color:#4ca6e0;
    color: #fff;
    border-radius: 30px;
    font-size: 1rem;
    margin-top: 10px;
}
.btnNaranja{
    padding: 10px 45px;
    background-color:#C49B65;
    color: #fff;
    border-radius: 30px;
    font-size: 1rem;
    margin-top: 10px;
}

.banner-section{
    padding: 50px 0 120px 0;
}

.azul{
    border: 1px #242f5d solid;
    margin-bottom: 30px;
    min-height: 600px;
}
@media (max-width: 768px) {
    .azul{
        min-height: 300px;
    }
}
.boxW img{
    width: 100%;
}




.blueSpan span{
    color:#0074C5;
    font-weight: bold;
}
.alert-primary{
    background-color: #DEF1F9;
    border-color: #DEF1F9;
    color: #0074C5;
    font-weight: bold;
    width: 90%;
    margin: 0 auto;
}
.alert-primary p{
    width: 80%;
    margin: 15px auto;
    text-align: center;
}
.alert-primary span{
    font-weight: 900;
}
.linea{
    background-color: #0074C5;
}

input:focus {
    box-shadow: none !important;
    outline: 0 !important;
    border-color: #0074C5 !important;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
label.error {
    color: #FF8400 ;
}
label.error::before {
    content: '';
}



  @media (max-width: 768px) {
    .float {
        opacity: .850;
    }

  }
  .shadowNorm{
    box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.150);
}
a.text-secondary:hover, a.text-secondary:focus {
    color: #00a8e4 !important;
}
.btn-warning {
    background-color: #ffffff;
    border-color: #FFA545;
    color: #FFA545;
}

.btn-warning:disabled,
.btn-warning:hover {
    background-color: #FFA545;
    color: #ffffff;
}

.btn-warning:active,
.btn-warning:visited {
    background-color: #FFA545;
    border-color: #ff8400!important;
    color: #ffffff;
    outline: none;
    border: none;
}

.btn-warning:focus,
.btn-warning:target {
    background-color: #ff8400!important;
    color: #ffffff;
    outline: none;
    border: none;
}



.underline{
    text-decoration: underline;
}
.tabspreguntas .nav-item:hover, .tabs .nav-item.active {
    border-bottom: 5px solid #005CB9;
    border-top: none;
    border-left: none;
    border-right: none;
}
.mtabs .nav-item.active {
    font-size: 20px;
    font-weight: bold;
    border-bottom: 5px solid #005CB9;
    border-top: none;
    border-left: none;
    border-right: none;
}
.mtabs .nav-tabs{
   border-bottom: 0px solid #dee2e6;
}
.mtabs .nav-tabs a:not(.active){
    font-size: 20px;
    font-weight: bold;
    color: gray !important;
}
.msgbien{
    width: 80%;
    font-size: 15px !important;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fff;
    padding-top: 20px;
    margin: 0 auto;
}
.pText{
    color: rgba(0,0,0,.9);
    font-size: 11pt;
    word-wrap: break-word;
}

/*NUEVO*/
p {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    line-height: 25px;
}
.upper{
    text-transform: uppercase;
}
.boxW{
    margin: -100px auto 20px auto;
    max-height: auto;
    max-width: 1400px;
    background-color: #fff;
    z-index: 100;
}
.boxI{
    margin: -100px auto 20px auto;
    max-height: auto;
    background-color: #fff;
    z-index: 100;
    margin-left:5%!important;
    margin-right: 5%!important;
}
.p-5{
    padding: 3rem 3rem 1rem 3rem !important;
}
.btnNaranja:hover {
    background-color: #876941 !important;
    border-color: #876941 !important;
    color: #fff !important;
}
.btnNaranja:active {
    color: #fff !important;
}
@media (min-width:150px) and (max-width:480px) {
    .p-5{
        padding: 1rem !important;
    }
    .pText a{
        word-wrap: break-word;
    }
    .banner-section h5{
        word-wrap: break-word;
    }
    .btnNaranja{
        padding: 10px 25px;
    }
    .boxW {
        margin-left: 3%;
        margin-right: 3%;
    }
    .boxI {
        margin-left: 3%;
        margin-right: 3%;
    }
    .v-timer{
        float: right;
        margin-top:-18px;
    }
}
@media (min-width:481px) and (max-width:650px) {
    .p-5{
        padding: 1rem !important;
    }
    .v-timer{
        float: right;
        margin-top:-18px;
    }
}
@media (min-width:481px) and (max-width:510px) {
    .boxW {
        margin-left: 3%;
        margin-right: 3%;
    }
    .boxI {
        margin-left: 3%;
        margin-right: 3%;
    }
}
.v-label{
    color: rgba(0,0,0,.9);
    font-size: 12pt;
    word-wrap: break-word;
}
.v-input-text{
    border-bottom: 1px solid  rgba(0,0,0,.6);
}
.v-label-tit{
    font-family:'Panton Regular';
    color: black;
    font-size: 13pt;
    word-break: break-word;
    font-weight: bold;
}
.v-pasos{
    margin-left: 10px;
}
.logo{
    display:block;
    margin:auto;
}
.text-aviso {
    font-family:'Panton Regular';
    font-weight: bold;
    font-size: 2rem!important;
    line-height: 2.5rem;
    letter-spacing: .0073529412em!important;
    color: rgba(0,0,0,.6);
}
.text-h1{
   font-family:'Panton Regular';
   font-size: 35pt;
   line-height: 2.5rem;
   letter-spacing: .0073529412em!important;
   text-align: center;
}
.pCalma{
    color: black;
    font-size: 18pt;
    font-style: italic;
    word-break: break-word;
    text-align: center;
    line-height: 200%;
}
.v-label-exa{
    color: black;
    font-size: 15pt;
    word-break: break-word;
}
.form-check-label{
    color: black;
}
.v-text{
    color: black;
    font-size: 13pt;
    word-break: break-word;
}
.btn-secondary.disabled, .btn-secondary:disabled {
    color: #000 !important;
    background-color: #ddd !important;
    border-color: #ddd !important;
}

.item{
    max-width: 33%;
    padding-top: 20px;
}
.btn-outline-info{
    border-color: #C49B65 !important;
    color: #C49B65 !important;
}
.btn-outline-info:hover{
    background-color: #876941  !important;
    color: #fff !important;
}
.card {
    border-color: #A11E39 !important;
}
.card-header {
    background-color: #A11E39 !important;
    border-color: #A11E39 !important;
    color: #fff;
}
.btn-primary {
    background-color: #C49B65 !important;
    border-color: #C49B65 !important;
    color:#FFF !important;
}
.btn-primary:hover {
    background-color: #876941 !important;
    border-color: #876941 !important;
    color:#FFF !important;
}
.footer{
    left:0 !important;
    text-align:center;
}
li.dragstyle{
    cursor: move;
    display: inline-grid;
    list-style: none;
    margin-left: 10px;
    margin-right: auto;
    width: 275px;
    padding: 5px;
    top: 0px;
    background-color: #C49B65 !important;
    border-radius: 30px;
    color: #fff;
    font-weight: bold;
    height: 35px;
    text-align: center;
    margin-bottom:10px;
}
ul#clavepresupuestal{
    background: none;
    margin: 5px;
    padding: 5px;
    border: 10px;
    width: 100% !important;
}
.row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;
    flex-wrap: wrap;
}
.row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}
.card{
    height: 100%;
    margin-bottom: 10px;
}
.flex-container {
    display: flex; /* Enable flexbox on the container */
    flex-wrap: wrap; /* Allow items to wrap to new lines */
    justify-content: left; /* Align items horizontally */
}
.flex-container li {
    flex-basis: 24%; /* Set the initial size of the flex item */
    margin-bottom: 10px;
}
.ui-draggable, .ui-droppable {
    background-position: top;
}
#clavepresupuestal { float: left;}
.gallery.custom-state-active { background: #eee; }
.gallery li { float: left; width: 275px; padding: 0.4em; margin: 5px 0.4em 0.4em 5px; text-align: center;cursor: move; }
.gallery li a { float: right; }
.ui-state-highlight{
    background-color: #fffa90 !important;
}
.ui-state-default{
    border: 1px solid #c5c5c5 ;
    background: #f6f6f6 ;
    font-weight: normal ;
    color: #454545 ;
}
.ui-widget-header {
    border: 1px solid #dddddd;
    background: #e9e9e9;
    color: #333333;
    font-weight: bold;
}
.ui-widget-header {
    border: 1px solid #dddddd !important;
    background: #e9e9e9;
    color: #333333;
    font-weight: bold;
}
#clavepresupuestal LI{
    z-index: 1050;
}
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove {
    border: 0px;
    background: transparent;
    color: red;
}
.select2-results__options[aria-multiselectable=true] .select2-results__option--selected {
   display: none;
}
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected, .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted) {
    background-color: transparent;
    color:#333333;
}
.select2-results__option--highlighted{
    background-color: #A11E39 ;
    background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #A11E39 ), color-stop(90%, #A11E39 ));
    background-image: -webkit-linear-gradient(#A11E39  20%, #A11E39  90%);
    background-image: -moz-linear-gradient(#A11E39  20%, #A11E39  90%);
    background-image: -o-linear-gradient(#A11E39  20%, #A11E39  90%);
    background-image: linear-gradient(#A11E39  20%, #A11E39  90%);
    color: #fff !important;
}
.bs-callout {
    padding: 15px 30px 15px 15px;
    border-left: 5px solid #eee;
}
.bs-callout h4 {
    margin-top: 0;
}
.bs-callout p:last-child {
    margin-bottom: 0;
}
.bs-callout code,
.bs-callout .highlight {
    background-color: #fff;
}
.bs-callout-danger {
    background-color: #d2eef7;
    border-color: #b8daff;
}
.btn-secondary {
    color: #fff;
    background-color: #C49B65;
    border-color: #C49B65;
}
.btn-secondary:hover{
    color: #fff;
    background-color: #876941 ;
    border-color: #876941 ;
}
.login{
    margin: -100px auto 20px auto;
    max-height: auto;
    max-width: 500px !important;
    background-color: #fff;
    z-index: 100;
}
.error, .error:focus, .error:hover {
    border: 1px solid #A11E39 !important;
}
.tablaDocumentos thead th{
    background-color: #f5f5f6;
}