/*

Theme Name: Plantilla RD VIAL

Description: Plantilla Portal de Transparencia

Author: RD VIAL

Version: 1.0.32

*/


:root {
    --bg-blanco: #fff;
    --bg-azul: #002952;
    --bg-azul-claro: #EFF6FF;
    --bg-rojo: #EE2A24;
    --fg-blanco: #fff;
    --fg-azul: #002952;
    --fg-negro: #000;
    
}

html {
  box-sizing: border-box;
  font-size: 16px;
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
}
*, 
*::before, 
*::after {
  box-sizing: inherit;
}
body {
  overflow-x: hidden; /* evita scroll horizontal */
  overflow-y: auto;   /* habilita scroll vertical */
}
/* body{
    font-family: "Roboto", sans-serif !important;
} */

.hamburger{
    display: none !important;
}

#btn-submit{
    cursor: pointer;
}

.breadcrumb ul li span, .breadcrumb ul li a{
    color: black;
}

.layout {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    width: 91.666667%;
}
/*Breadcrumb*/

#breadcrumbs{
    list-style:none;
    margin:10px 0;
    overflow:hidden;
}

#breadcrumbs li{
    display:inline-block;
    vertical-align:middle;
}

#breadcrumbs li a{
    color: var(--azul);
}

#breadcrumbs li a:hover{
    color: #E21817;
}

#breadcrumbs .separator{
    font-size:18px;
    font-weight:100;
    color:rgb(129, 129, 129)
}

#breadcrumbs li strong{
    color: var(--azul);
}

/*Ocultar*/
.hide{
    display: none;
}

/*Formulario Cabecera*/

#sg-formulario{
    display: flex;
}

#sg-formulario img{
    margin-top: .6rem;
}

#sg-formulario input{
    display: inline-block;
    position: relative;
    margin-bottom: 1rem;

}



#sg-formulario button{
    display: flex;
    align-items: center;
    position: relative;
    margin-left: -20px;
    padding: 0 10px;
    cursor: pointer;
    background-color: white;
    color: var(--azul);
    border-style: none !important;
    border-radius: .2rem;
    margin-bottom: 1rem;

}
#sg-formulario input[type="text"]{
    border-style: none !important;
}

#sg-formulario button:hover i{
    color: red;
    transition: all .2s ease;
}

/*Scroll*/

.scroll{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 50px;
    height: 50px;
    margin-top: -35px;
    margin-right: 60px;
    right: 0;
    border-radius: 4px;
    background-color: rgba(0,0,0, 0.80);
}

.scroll a i{
    color: white;
    font-size: 20px;
}
.scroll:hover{
    background-color: rgba(0, 41, 81, 0.80);
}

.scroll:hover a i{
    color: red;
}

/*Button subir*/
.subir{    
    z-index: 999;
    display: block;
    width: 200px;
    height: 200px;
    position: fixed;
}

/*Pagination*/

.paginacion{
    display: flex;
    margin: 1rem 0;
}

.paginacion > .current{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 .2rem;
    padding: 8px;
    background-color: #3B82F6;
    color: white;
    border-radius: .2rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: 600;
    width: 2.5rem;
    height: 2.5rem;
    cursor: not-allowed;
}

.paginacion > .page-numbers:not(.current){
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 .2rem;
    padding: 8px;
    background-color: white;
    color: #3B82F6;
    border: thin solid #3B82F6;
    border-style: outset;
    border-radius: .2rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
}

.paginacion > .page-numbers:not(.current):hover{
    background-color: #3B82F6;
    color: white;
    border: thin solid white;
    transition: all .2s ease-in;
}

/* Btn subir */
.desktop-btn-subir{
    background-color: red;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 999;
    border-style: none;
    width: 3.5rem;
    height: 3.5rem;
    margin-top: -1rem;
    color: var(--blanco);
    font-weight: bold;
    transition: all .3s ease-out;
  }

  .desktop-btn-subir:hover{
    background-color: rgba(0, 0, 0, 0.8);
  }

  .desktop-btn-subir > i{
   color: white !important;
  }

  .desktop-btn-subir:hover > i{
    font-size: 1.5rem;
    transition: all .3s ease-in-out;
  }

  /* Mobile button */
.mobile-subir{
    width: 6rem;
    padding: .6rem;
    border-style: none;
    border-radius: .2rem;
    background-color: transparent;
    border: thin solid red;
    color: red;
}


/* Estilos a los iconos */

.breadcrumb > .icons-container > li > a > i {
    font-size: 1.5rem;
    color: var(--fg-azul);
}

/*Estilos al apartado de enlaces de interes*/
 .accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.2s ease;
    opacity: 0;
}

.accordion-panel.active {
    max-height: 1000px;
    opacity: 1;
}

.accordion-chevron {
    transition: transform 0.2s;
}

.accordion-chevron.rotated {
    transform: rotate(180deg);
}