/*   
Theme Name: Sitio UV 2020
Theme URI: http://www.uv.mx/
Description: Tema para los sitios del portal UV 2020
Version: 2.0
Author: Universidad Veracruzana
Author URI: http://www.uv.mx/personal/gvera/
Tags: azul, verde, gris, blanco, ancho fijo, dos columnas, widgets, foto de sitio.

*/


/* ---------------------------------------------------
    FONT FACE
----------------------------------------------------- */

@font-face {
    font-family: SegoeUI;
    src:
        local("Segoe UI Semilight"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/semilight/latest.woff2) format("woff2"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/semilight/latest.woff) format("woff"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/semilight/latest.ttf) format("truetype");
    font-weight: 200;
}
  
@font-face {
    font-family: SegoeUI;
    src:
        local("Segoe UI"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.woff2) format("woff2"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.woff) format("woff"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.ttf) format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: SegoeUI;
    src:
        local("Segoe UI Bold"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/bold/latest.woff2) format("woff2"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/bold/latest.woff) format("woff"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/bold/latest.ttf) format("truetype");
    font-weight: 600;
}
  
/* ---------------------------------------------------
    BODY
----------------------------------------------------- */
body, html, .modal-menu .list-group {
    font-family: Segoe UI, SegoeUI, 'Open Sans', Arial, sans-serif;
}
.navbar-idioma, .navbar-brand {
    font-family: 'Roboto', Arial, sans-serif;
}

/* ---------------------------------------------------
    WRAPPER SIDEBAR Y CONTENIDO
----------------------------------------------------- */
.wrapper {
    display: flex;
    align-items: stretch;  
}

/* ---------------------------------------------------
    SMART CROLL NAV BAR
----------------------------------------------------- */
.smart-scroll{
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}
.scrolled-down{
    transform:translateY(-100%); transition: all 0.5s ease-in-out;
}
.scrolled-up{
    transform:translateY(0); transition: all 0.3s ease-in-out;
}


/* ---------------------------------------------------
    MENU MODAL SUPERIOR UV
----------------------------------------------------- */

.bodymodal {
    left: 0px;
    right: 0px;
    top: 0px;
    position: fixed;
}
.modal-menu, .modal-background {  
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    position: absolute;
}
.modal-menu.is-active {
    display: flex;
}
.modal-menu {
    align-items: center;
    display: none;
    justify-content: flex-start;
    overflow: hidden;
    position: fixed;
    z-index: 1024;
}
.modal-background {
    background-color: rgba(0,0,0,.5);
    outline-color: hsla(0,0%,9%,1);
    outline-color: var(--text);
}
.modal-content {
    margin: 0 20px;
    overflow-y: auto;
    position: relative;
    max-height: 100%;
    border: none;
    border-radius: 0;
}
.modal-content.is-docked-right {
    right: 0!important;
}
.modal-content.is-docked-left {
    left: 0!important;
}
.modal-content.is-docked-left, .modal-content.is-docked-right {
    position: fixed;
    max-width: 100%!important;
    max-height: 100vh!important;
    width: 320px!important;
    top: 0!important;
    bottom: 0!important;
    margin: 0!important;
    background-color: hsla(0,0%,100%,.998);
    background-color: var(--body-background);
    outline-color: hsla(0,0%,9%,1);
    outline-color: var(--text);
}
/*.modal-header {
padding: 0.9rem 1rem;
}
.modal-header .close {
    padding: 1.2rem 1rem;
}*/
.modal-content .list-group-item {
    border: none;
    padding-top: .6rem;
    padding-bottom: .6rem;
}
.modal-content .list-group-item i {
    width: 30px;
}


/* ---------------------------------------------------
    OVERRIDES GLOBAL.CSS UV
----------------------------------------------------- */

.navbar-idioma, .menu-idioma {
position: relative;  
}
.admin-bar .navbar-idioma {
top: inherit;
}
.site-header {
position: sticky;
top: 0;
z-index: 1021;
border-bottom: solid 1px #E5E5E5;
box-shadow: 0px 5px 10px -10px rgba(0, 0, 0, 0.3);  
}
.wpv2 .navbar-logo {
padding-top: 0;
padding-bottom: 2px !important;
display: block!important;
}
.wpv2 .navbar-logo .navbar-brand {
padding-bottom: 0 !important;
margin-right: 0;
margin-bottom: -6px;
}
.wpv2  .navbar-idioma {
padding-left: 0 !important;
padding-right: 0 !important;
padding-top: 5px;
padding-bottom: 5px;
}
.navbar-idioma .nav-link {
padding-right: .5rem;
padding-left: .5rem;
}
.navbar-logo .navbar-brand .small, .navbar-top .navbar-brand .small {
    opacity: unset;
}
.breadcrumb {
    padding: 0;
    margin-top: -10px;
    background-color: transparent;
}

@media (max-width: 991px) {
    .wpv2 .navbar-idioma {
        display: block!important;    
    }
}
@media (max-width: 767px) {  
    .navbar-collapse, .navbar-collapse .nav {
        opacity: 0;
    }
    .navbar-collapse.show .nav {
        opacity: 1;
        transition: all 0.7s;
    }
    .navbar-collapse.show i {
        display: inline-block;
        margin-left: 4px;  
        color: #0288D1;
    }
    .navbar-collapse.show {
        margin-top: 6px;
        padding-top: 4px;
        padding-right: 1rem;  
        right: 5px;
        text-align: right;
        box-shadow: inset 0px 0px 15px 0px rgba(0, 0, 0, 0.3);
        opacity: 1;
        transition: all 0.3s;
    }
}
.nav-redes-sociales img {
    height: 35px;
}
.nav-redes-sociales a:first-child {
    padding-left: 0;
    margin-left: -10px;
}

/* ---------------------------------------------------
OTROSITIOS
----------------------------------------------------- */

.otrossitios {
box-shadow: 0px -5px 5px -2px rgba(0, 0, 0, 0.3)
}
.otrossitios.bg-azul {
background-color: #003466 !important;
}
.otrossitios.bg-verde {
background-color: #225f25 !important;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

#sidebar {
    max-width: 250px;
    min-width: 250px;
    color: #fff;
    transition: all 0.3s;  
    border-bottom-right-radius: 8px;
    word-wrap: break-word;
    overflow: hidden;
}

#sidebar.active {
    max-width: 100px;
    min-width: 100px;
    text-align: center;
}

#sidebar a,
#sidebar a:hover,
#sidebar a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

#sidebar ul li a {
text-align: left;
}

#sidebar.active ul li a {
padding: 10px 4px 10px 2px;
text-align: center;
font-size: 0.7em!important;  
overflow: hidden;
text-indent: 0rem;  
}

#sidebar.active .dropdown-toggle {
padding-bottom: 15px;
white-space: normal;
}

#sidebar.active ul li a i {
margin-right: 0;
display: block;
font-size: 1.6em !important;
margin-bottom: 5px;
}

#sidebar.active ul ul a {
padding: 10px !important;
padding-bottom: 15px !important;
}

#sidebar .dropdown-toggle::after {
display: block;
position: absolute;
top: 50%;
right: 20px;
transform: translateY(-50%) rotate(180deg);
font-size: initial;
transition: transform .15s ease-in-out;
}
#sidebar .dropdown-toggle.collapsed::after {
transform: rotate(0deg);
}
#sidebar.active .dropdown-toggle.collapsed::after {
transform: translateX(50%) rotate(0deg);
}

#sidebar.active .dropdown-toggle::after {
top: auto;
bottom: 6px;
right: 50%;
-webkit-transform: translateX(50%);
-ms-transform: translateX(50%);
transform: translateX(50%) rotate(180deg);
font-size: 2em;
}

#sidebar .sidebar-header {
padding: 20px;  
}

#sidebar .sidebar-header .img-thumbnail {
max-height: 107px;
margin: initial;
}
#sidebar.active .sidebar-header .img-thumbnail,
#sidebar.active .img-thumbnail {
    padding: 0.1rem;
}

#sidebar ul.components {
padding: 0;
padding-left: 2px;
margin: 0;
margin-bottom: 0.5rem;
border-top: 1px solid rgba(255, 255, 255, 0.2);
}
#sidebar.active ul.components {
    padding-left: 0;
}
#sidebar ul li a {
padding: 6px 10px;
font-size: 0.8em;
display: block;
padding-left: 1.5em;
text-indent: -0.5em;
}

#sidebar .menu-item-has-children > a:not(.collapsed),
#sidebar ul ul .menu-item-has-children > a.collapsed,
#sidebar a[aria-expanded="true"] {
color: #fff;
background: #003466;
}

#sidebar ul li.active a {
color: #fff !important;
background: #0288D1 !important;
}

#sidebar ul li a:hover {
color: #003466;
background: #fff;
}

#sidebar ul li a i {
margin-right: 5px;
}

#sidebar a[data-toggle="collapse"] {
position: relative;
}

#sidebar ul ul a {
font-size: 0.8em !important;
padding-left: 30px !important;
background: #143d64;
}

#sidebar ul ul {
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#sidebar ul ul ul a {
padding-left: 40px !important;
}
#sidebar ul ul ul ul a {
padding-left: 50px !important;  
}
#sidebar ul ul ul ul ul a {
padding-left: 60px !important;  
}



/* ---------------------------------------------------
WIDGETS SIDEBAR
----------------------------------------------------- */
.widget {
    margin-bottom: 0.5rem;
}

.widget h5 {
margin-top: 5px;
text-align: center;
font-size: 0.8em;
text-transform: uppercase;
}
#sidebar.active .widget h5 {
margin-top: 10px;
font-size: 0.9em;
}

/* ---------------------------------------------------
    WIDGET IMAGE SIDEBAR
----------------------------------------------------- */

#sidebar .widget img {  
max-width: 75%!important;
width: auto!important;
margin-top: 10px;
}

/* ---------------------------------------------------
    WIDGET TEXT WIDGET
----------------------------------------------------- */

#sidebar .textwidget {  
    padding-left: 8px;
    overflow: hidden;
}
#sidebar .textwidget p {  
    margin-bottom: 0;
}

/* ---------------------------------------------------
    WIDGET GALLEY
----------------------------------------------------- */

#sidebar .gallery {
    padding-top: 0;
}

/* ---------------------------------------------------
COLORES OPCIONALES TEMA
----------------------------------------------------- */

/* VERDE */

#sidebar.bg-verde .menu-item-has-children > a:not(.collapsed),
#sidebar.bg-verde ul ul .menu-item-has-children > a.collapsed,
#sidebar.bg-verde a[aria-expanded="true"],
#sidebar.bg-verde ul ul a {
    background: #498d4c;
}
#sidebar.bg-verde ul li.active a { 
    background: #498d4c !important;
}
#sidebar.bg-verde ul li a:hover {
    color: #2E7D32 !important;
    background: #fff !important;
}
#sidebar.bg-verde ul ul a {
    background: #336135;
}

/* GRIS */

.bg-gris {
    background-color: #EFFAF4;
}
#sidebar.bg-gris {
    margin-left: 8px;
    margin-top: 20px;
    border-radius: 8px;
    color: #666;
    border: 1px solid #999;
}
#sidebar.bg-gris a {
    color: #666;
}
#sidebar.bg-gris .widget h5 {
    color: #333;
}
#sidebar.bg-gris .menu-item-has-children > a:not(.collapsed),
#sidebar.bg-gris ul ul .menu-item-has-children > a.collapsed,
#sidebar.bg-gris a[aria-expanded="true"],
#sidebar.bg-gris ul ul a {
    background: #696E72;
}
#sidebar.bg-gris ul li.active a {
    color: #333 !important;
    background: #C8EBED !important;
}
#sidebar.bg-gris ul li a:hover {
    color: #2E7D32 !important;
    background: #fff !important;
}
/*#sidebar.bg-gris ul.components {   
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}*/
#sidebar.bg-gris ul ul a {
    background: #d8d8d8;
}
/*#sidebar.bg-gris ul li a i {
color: #fff;  
}
/*#sidebar.bg-gris ul li.active a i {
color: #fff;
}*/
#sidebar.bg-gris ul ul {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

/* BLANCO */

.bg-blanco {
    background-color: #fff;
}
#sidebar.bg-blanco {
    color: #333;
    position: absolute;
    overflow-x: hidden;
    overflow-y: auto;
    top: 90px;
    margin-left: 5px;
    border-radius: 0;
    transition: none;
    /*border-right: 1px solid rgba(0, 0, 0, 0.1);*/
}
.modal-menu #sidebar.bg-blanco {
    position: unset;
    overflow: unset;
    min-width: 100%;
}
body.admin-bar #sidebar.bg-blanco {
    top: 120px !important;
}
.content-bg-blanco {
    margin-left: 260px;
    transition: none !important;
}
.content-bg-blanco.active {
    margin-left: 110px;
}
@media (max-width: 767px) {
    .content-bg-blanco, .content-bg-blanco.active {
        margin-left: 0;
    }
}
#sidebar.bg-blanco a {
    color: #333;
}
#sidebar.bg-blanco .widget h5 {
color: #333;
}
#sidebar.bg-blanco .menu-item-has-children > a:not(.collapsed),
#sidebar.bg-blanco ul ul .menu-item-has-children > a.collapsed,
#sidebar.bg-blanco a[aria-expanded="true"],
#sidebar.bg-blanco ul ul a {
    background: #fff;
    color: #333;
}
#sidebar.bg-blanco ul li.active a {
    color: #333 !important;
    background: #f1f1f1 !important;
    font-weight: 600;
}
#sidebar.bg-blanco ul li a:hover {
    color: #333 !important;
    text-decoration: underline;
}
#sidebar.bg-blanco ul.components {   
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
/*#sidebar.bg-blanco ul ul a {
background: #f1f1f1;
}
#sidebar.bg-blanco ul ul {
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}*/


/* ---------------------------------------------------
MEDIAQUERIES SIDEBAR
----------------------------------------------------- */

@media (max-width: 767px) {
#sidebar {
    margin-left: -250px !important;
    max-height: 300px;
}
#sidebar.active {
    margin-left: -100px !important;
}
.modal-sidebar #sidebar {
    margin-left: 0 !important;
    max-height: initial;
}
/*#sidebar {
    min-width: 80px;
    max-width: 120px !important;
    text-align: center;
    margin-left: -120px !important;
    max-height: 400px;
    overflow: hidden;
}
#sidebar .dropdown-toggle::after {
    top: auto;
    bottom: 10px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}
#sidebar.active {
    margin-left: 0 !important;
    max-height: initial !important;
} 
#sidebar ul li a {
    padding: 20px 10px;
}
#sidebar ul li a span {
    font-size: 0.85em;
}
#sidebar ul li a i {
    margin-right: 0;
    display: block;
}
#sidebar ul ul a {
    padding: 10px !important;
}
#sidebar ul li a i {
    font-size: 1.3em;
}
.sidebarCollapse span {
    display: none;
}*/
}

/* ---------------------------------------------------
FORMATO DE SECCIONES Y BOTONES QUE ENGLOBAN EL CONTENIDO
----------------------------------------------------- */

#content {  
min-width: 0; /* por el flex */
width: 100%;
transition: all 0.3s;
letter-spacing: normal;
}
@media (min-width: 767px) {
    #content {
        min-height: 400px;
    }
}
/* Botón menu superior global */
.btn-menu-idioma {  
padding: 0 .3rem;
box-shadow: none!important;
border: none;
}
.btn-menu-idioma:hover i {  
opacity: 0.7;
}

/* Botón encabezado flotante */
.btn-menu-sidebar {
bottom: 10px;
position: absolute;
right: 75px;
z-index: 1100;
}
.btn-menu-sidebar:hover {
color: #000;
}
.btn-menu-sidebar:focus {
box-shadow: unset;
}

/*.btn-menu-sidebar {
background-color: #111111;
background-image: -moz-linear-gradient(center top, #222222, #111111);
border: 1px solid #333;
border-radius: 4px;
top: 48px;
box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
cursor: pointer;
height: 30px;
opacity: 0.3;
overflow: hidden;
position: fixed;
right: 140px;
transition: all 0.2s ease 0s;  
z-index: 1100;
color: #FFF!important;
text-align: center;
}
.btn-menu-sidebar:hover {
box-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
opacity: 1;
transition: all 0.2s ease 0s;
}*/

.metadata .dropdown-item:hover {  
background: #f8f9fa !important; 
}
.metadata .dropdown-item i {  
width: 20px;
}
.metadata-dot > li.list-inline-item {
margin-left: 0;
margin-right: 0;
}
.metadata-dot > li:not(:last-of-type):not(:only-of-type)::after {
padding-left: 5px;
padding-right: 5px;  
content: "•";
}
.metadata-space > li:not(:last-of-type):not(:only-of-type)::after {
padding-left: 5px;
padding-right: 5px;
content: " ";
}
.metadata .author-vcard img {
    border-radius: 100%;
    height: 16px;
    overflow: hidden;
    width: 16px;
    margin-bottom: 3px;
    padding: 0;
}
.wp-loop .metadata .comments-link i {
display: none;
}
.entry-content.media img {
max-width: 128px !important;
}
.post-nav-links {
margin-top: 1rem;
text-align: center;
}
.wp-loop article:last-of-type .entry-footer {
border-bottom: none !important;
}

/* ---------------------------------------------------
FORMATO NUEVO DE MAIN CONTENT (.wp-user-content) QUE ESCRIBEN EN EL EDITOR DE WP
----------------------------------------------------- */
.entry-title {
    font-weight: 600;
}
.wp-user-content {
word-wrap: break-word;
}

.wp-user-content .h1,
.wp-user-content .h2,
.wp-user-content .h3,
.wp-user-content .h4, 
.wp-user-content .h5,
.wp-user-content .h6,
.wp-user-content h1,
.wp-user-content h2,
.wp-user-content h3,
.wp-user-content h4,
.wp-user-content h5,
.wp-user-content h6,
.wp-user-content .entry-title a {
color: #171717;

}
.wp-user-content h1, .wp-user-content .h1 {
    font-size: clamp(1.875rem,22.1052631579px + 1.6447368421vw,2.5rem);
}

.wp-user-content h2, .wp-user-content .h2 {
    font-size: clamp(1.59375rem,18.7894736842px + 1.3980263158vw,2.125rem);
}

.wp-user-content h3, .wp-user-content .h3 {
    font-size: clamp(1.3125rem,15.4736842105px + 1.1513157895vw,1.75rem);
}

.wp-user-content h4, .wp-user-content .h4 {
    font-size: clamp(1.03125rem,15.4736842105px + 0.9046052632vw,1.375rem);
}

.wp-user-content h4, .wp-user-content .h5 {
    font-size: clamp(0.75rem,15.4736842105px + 0.6578947369vw,1rem);
}

.wp-user-content h6, .wp-user-content .h6 {
    font-size: clamp(0.46875rem,15.4736842105px + 0.4111842106vw,0.625rem);
}

.wp-user-content img {
max-width: 100%!important;
height: auto;
border-radius: .25rem;
padding: .25rem;
background-color: #fff;
border: 1px solid #dee2e6;
}

.wp-user-content .wp-caption img {
border: none;
background-color: transparent;
}

.wp-user-content img, .wp-caption {
max-width: 100%!important;
height: auto;  
}
.wp-user-content .wp-caption {
    background: #f8f8f8;
    text-align: center;
    border: 1px solid #ccc; 
margin: 1% auto;    
}
.wp-user-content figcaption {
    font-size: 0.8em;
    margin-bottom: 5px;
}

.wp-user-content table{ width: 100% !important; margin-bottom: 1rem; color: #212529; }
.wp-user-content table, .wp-user-content th, .wp-user-content td { border: 1px solid #ccc; padding: 0.8%; }
.wp-user-content th, .wp-user-content thead th { font-weight: 700; color: #333; background:#E6E6E6; }
.wp-user-content td, .wp-user-content tbody td { background: #f8f9fa; }
.wp-user-content tbody td p { padding: 0 2%; }

.wp-user-content pre {
    background: #fafafa;
    border: 1px solid #e3e3e3;
    padding: 1rem;
}
pre code {
    color: revert;
}

/* Estilos para alineación que pide WordPress */
/*.wp-user-content .alignnone { float: none !important; margin: 0;	}
.wp-user-content .alignright { float: right; margin: 4px 0 12px 1.5em !important; }
.wp-user-content .alignleft { float: left; margin: 4px 1.5em 12px 0 !important; }
.wp-user-content .aligncenter { display: block; margin: 1em auto !important; }
.wp-user-content img.alignright { float: right; margin: 0 0 1em 1em; }
.wp-user-content img.alignleft { float: left; margin: 0 1em 1em 0; }
.wp-user-content img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
*/
.wp-user-content blockquote {
font-weight: 300;
margin: 0 0 1rem;
}
.wp-user-content p.attachment {
text-align: center;
}

/* ---------------------------------------------------
FORMATO DE COMENTARIOS
----------------------------------------------------- */
ul.children li {
    border-top: none!important;
}
ul.children {
    padding-left: 1em;
}
.comment-date {
    font-size: 90%;
}
.comment.bypostauthor {
    background-color: #e1f1ff;
}

/* ---------------------------------------------------
FORMATO DE GALLERY DE WP
----------------------------------------------------- */

.gallery { margin: 0 auto 18px; padding-top: 20px; }
.gallery:after {content:"";display:table;clear:both;}
.gallery .gallery-item {
    margin-top: 0;
    text-align: center;
    width: 33%;
}
.gallery figure img {max-width:100%; height:auto; margin:0 auto; display:block;}
.gallery figure {float:left; margin:0 2% 1em 0;}

.gallery.gallery-columns-1 figure {width:100%; margin:0 0 1em 0; float:none;}

.gallery.gallery-columns-3 figure {width:32%;}
.gallery.gallery-columns-3 figure:nth-of-type(3n+3) {margin-right:0;}
.gallery.gallery-columns-3 figure:nth-of-type(3n+4) {clear:left;}

.gallery.gallery-columns-2 figure {width:49%;}
.gallery.gallery-columns-2 figure:nth-of-type(even) {margin-right:0;}
.gallery.gallery-columns-2 figure:nth-of-type(odd) {clear:left;}

.gallery.gallery-columns-4 figure {width:23.25%;}
.gallery.gallery-columns-4 figure:nth-of-type(4n+4) {margin-right:0;}
.gallery.gallery-columns-4 figure:nth-of-type(4n+5) {clear:left;}

.gallery.gallery-columns-5 figure {width:18%;}
.gallery.gallery-columns-5 figure:nth-of-type(5n+5) {margin-right:0;}
.gallery.gallery-columns-5 figure:nth-of-type(5n+6) {clear:left;}

.gallery.gallery-columns-6 figure {width:14.2%;}
.gallery.gallery-columns-6 figure:nth-of-type(6n+6) {margin-right:0;}
.gallery.gallery-columns-6 figure:nth-of-type(6n+7) {clear:left;}

.gallery.gallery-columns-7 figure {width:12%;}
.gallery.gallery-columns-7 figure:nth-of-type(7n+7) {margin-right:0;}
.gallery.gallery-columns-7 figure:nth-of-type(7n+8) {clear:left;}

.gallery.gallery-columns-8 figure {width:10.2%;}
.gallery.gallery-columns-8 figure:nth-of-type(8n+8) {margin-right:0;}
.gallery.gallery-columns-8 figure:nth-of-type(8n+9) {clear:left;}

.gallery.gallery-columns-9 figure {width:8.85%;}
.gallery.gallery-columns-9 figure:nth-of-type(9n+9) {margin-right:0;}
.gallery.gallery-columns-9 figure:nth-of-type(9n+10) {clear:left;}

@media (max-width:767px) {	
    .gallery.gallery-columns-4 figure, .gallery.gallery-columns-5 figure, .gallery.gallery-columns-6 figure, .gallery.gallery-columns-7 figure, .gallery.gallery-columns-8 figure, .gallery.gallery-columns-9 figure {width:100%; margin:0 0 1em 0; float:none;}
}

/* ---------------------------------------------------
PAGINACIÓN
----------------------------------------------------- */

ul.pagination {
    justify-content: center!important;
}


/* ---------------------------------------------------
CALLOUTS
----------------------------------------------------- */

.bd-callout{
    padding: 0.6rem 1.25rem;
    margin-top:1.25rem;
    margin-bottom:1.25rem;
    border:1px solid #eee;
    border-left-width:.25rem;
    border-radius:.25rem
}
.bd-callout h4{
    margin-top:0;
    margin-bottom:.25rem
}
.bd-callout p:last-child{margin-bottom:0}
.bd-callout code{border-radius:.25rem}
.bd-callout+.bd-callout{margin-top:-.25rem}
.bd-callout-info{border-left-color:#5bc0de}
.bd-callout-info h4{color:#5bc0de}
.bd-callout-warning{border-left-color:#f0ad4e}
.bd-callout-warning h4{color:#f0ad4e}
.bd-callout-danger{border-left-color:#d9534f}
.bd-callout-danger h4{color:#d9534f}
.bd-callout-default {
    border-left-color: #777;
}
.bd-callout-default h4 {
color: #777;
}
.bd-callout-primary {
border-left-color: #428bca;
}
.bd-callout-primary h4 {
color: #428bca;
}
.bd-callout-success {
border-left-color: #5cb85c;
}
.bd-callout-success h4 {
color: #5cb85c;
}

/* ---------------------------------------------------
BUSQUEDA DE GOOGLE
----------------------------------------------------- */

.searchform-flotante {
bottom: 10px;
position: absolute;
overflow: hidden;  
right: 10px;  
z-index: 1021;  
}
.searchform i {
margin-left: 5px;
}
.searchform-flotante .search-input {
width: 250px;
}

.gsib_b {
display: none;
}
.gsc-search-button {
padding: 8px 6px !important;
border: none !important;
margin: 0!important;
}
.gsc-input input[type=text] {
background: none !important;
padding: 0 2px 0 4px!important;
font-size: 13px;  
}
.gsc-input-box {  
border-radius: unset !important;
}
table.gsc-search-box td {
padding: 0 !important;
}
.gsc-control-searchbox-only {
padding-top: 0;
}
.gsc-search-box {
margin: 0 !important;
}
.gsc-search-button-v2 svg {
fill: #000 !important;
}
.gsc-search-button-v2, .gsc-search-button-v2:hover, .gsc-search-button-v2:focus {
border-color: initial !important;
background-color: initial !important;
margin-left: -28px !important;
}
.gsc-selected-option-container {
max-width: unset !important;
}

/* ---------------------------------------------------
FACEBOOK COMMENTS
----------------------------------------------------- */

/*Fb Comments Width Fix*/
.comments-area .fb_iframe_widget_fluid_desktop, 
.comments-area .fb_iframe_widget_fluid_desktop span, 
.comments-area .fb_iframe_widget_fluid_desktop iframe {
    max-width: 100% !important;
    width: 100% !important;
}