/**

Theme Name: ziur
Author: Netaphora
Author URI: http://wpastra.com/about/
Description: Child Theme de Astra.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ziur
Template: astra

*/

.margen-lateral {margin: 0 3%;} 

.facetwp-selections ul {
    margin: 10px 0 0 0 !important;
}

/*********************************************************************/
/**********               Estilos generales               ************/
/*********************************************************************/
#content {
    margin-left: 3%;
    margin-right: 3%;
}
#primary{
    width: 100% !important;
}

/* Títulos de páginas */
.titulo-pagina{
    text-align: center;
    margin-top: 40px;
}
/*********************************************************************/
/********** Estilos para el listado de contactos objetivo ************/
/*********************************************************************/

/* Tamaño de los logotipos en el listado */
.logotipo-listado{
    max-width: 120px;
}

#elementos-contadores {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#tabla_info {
    padding: 0;
    color: #004a91;
}
.botonera {
    margin-bottom: 20px;
}
.botonera>span {
    display: none !important;
}
.botonera > .btn-group {
    margin-right: 2rem;
}
.botonera > .btn-group, .botonera > .btn {
    border: 3px solid #004a91 !important;
    border-radius: 7px;
}
.btn-group, .btn-group-vertical {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
}
button.btn.btn-secondary.buttons-collection.dropdown-toggle.buttons-colvis, .boton-popup-paneles {
    background-color: #fff !important;
    color: #004a91 !important;
    border-color: #fff !important;
    padding-top: 10px !important;
    padding-right: 40px !important;
    padding-bottom: 10px !important;
    padding-left: 40px !important;
    font-size: 1.2rem;
}
.boton-popup-paneles span {
    flex: 0 0 auto !important;
    font-size: 1.3rem;
}
#tabla_filter label {
    font-size: 1.3rem;
}
div.dataTables_wrapper div.dataTables_filter label {
    font-weight: normal;
    white-space: nowrap;
    text-align: left;
}
#contadores-derecha:before {
    content: "Exportar" !important;
    margin-right: 20px;
    font-size: 1.3rem;
}
/* Botones exportar */
.buttons-excel {
    background-color: darkgreen !important;
    border-color: darkgreen !important;
}
.buttons-pdf {
    background-color: darkred !important;
    border-color: darkred !important;
}
.buttons-csv {
    background-color: seagreen !important;
    border-color: seagreen !important;
}
.buttons-html5, .buttons-print {
    max-width: 40px;
    max-height: 40px;
    margin-right: 20px;
    border-radius: 0 !important;
}

/* Paginación inferior listados */
.dataTables_wrapper .dataTables_paginate {
    text-align: left !important;
    float: left !important;
    display: flex;
}
div.dataTables_wrapper div.dataTables_paginate {
    margin: 0;
    white-space: nowrap;
    text-align: right;
}
#paginacion-inferior{
    display: flex;
    align-items: center;
}

.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
}
#tabla_length {
    margin-left: 20px;
}
.dataTables_length select {
    padding: 0.375rem 2.25rem 0.375rem 0.75rem !important;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
#paginacion-inferior .pagination li:hover{
    background: none;
    border: none;
}

/* Paneles de filtros - ocultar nombre y logo */

.dropdown-item.active, .dropdown-item:active{
    background-color: #004a91 !important;
}

/* Traducir el texto u opción "No data" */
tbody tr span.dtsp-name em {
    display: none;
}
tbody tr span.dtsp-name[title="No data"]:after {
    content: "Sin datos";
}

/*********************************************************************/
/**********            Estilos para los singles           ************/
/*********************************************************************/

/* barra lateral derecha - activar - 2/2/23 - oabadfol */
.single #primary, .page-template-editar-seguimiento #primary{
    width: 75% !important;
}
.single #secondary, .page-template-editar-seguimiento #secondary{
    width: 25% !important;
}
/* En los singles de evento quitamos la barra lateral de momento */
.single-evento #primary{
    width: 100% !important;
}
.single-evento footer{
    margin-top: 40px;
} 
/* tamaños mas pequeños de 800 px de ancho */

@media only screen and (max-width: 800px) {
    /* barra lateral derecha - activar - 2/2/23 - oabadfol */
    .single #primary, .page-template-editar-seguimiento #primary{
        width: 100% !important;
    }
    .single #secondary, .page-template-editar-seguimiento #secondary{
        width: 100% !important;
    }
}