/*
Theme Name: Seoptometria
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: Astra is fast, fully customizable &amp; beautiful WordPress theme suitable for blog, personal portfolio, business website and WooCommerce storefront. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with Schema.org code integrated and is Native AMP ready so search engines will love your site. It offers special features and templates so it works perfectly with all page builders like Elementor, Beaver Builder, Visual Composer, SiteOrigin, Divi, etc. Some of the other features: # WooCommerce Ready # Responsive # RTL &amp; Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained &amp; Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and WooCommerce ready theme that you can use for building any kind of website!
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 3.9.3.1667941990
Updated: 2022-11-08 21:13:10

*/

p > a {
  color: #af1440 !important;
}

.ast-page-builder-template .site-content > .ast-container {
  max-width: 1200px !important;
  padding: 0;
}

.ast-single-post.ast-page-builder-template .site-main > article, 
.woocommerce.ast-page-builder-template .site-main {
  padding-top: 0 !important;
}


/*Estilos del h1 de las paginas, barra gris con cuadrado rojo*/
h1.entry-title,
h2.decorado-encabezado,
h3.decorado-encabezado {
  position: relative;
}

h1.entry-title::after,
h2.decorado-encabezado::after,
h3.decorado-encabezado::after {
  content: "";
  height: 8px;
  width: 8px;
  background-color: #af1440;
  display: inline-block;
  position: absolute;
  bottom: -4px;
  left: 10px;
}

h1.entry-title::before,
h2.decorado-encabezado::before,
h3.decorado-encabezado::before {
  content: "";
  height: 1px;
  width: 250px;
  background-color: #e4e4e4;
  display: inline-block;
  position: absolute;
  bottom: 0;
  left: 0;
  margin-left: 0;
}

/* Bloque descargas */

.nf-iframe-container iframe {
  width: 100%;
}

.bloque__procedimientos__procedimiento a,
.bloque__descargas a {
    background-color: #af1440;
}

.bloque__descargas a {
  background-color: #af1440;
}

.bloque__descargas__descarga .texto__documento__boton__descargas {
  margin-bottom:0 !important;
}

a.enlace__descarga__bloque__descargas {
  background:#af1440 !important;
}

a.enlace__descarga__bloque__descargas:hover {
  background:#333333 !important;
}

/* Formularios de filtro */

li.sf-field-search {
  display: inline-flex !important;
  align-items: center;
  /* gap: 3rem; */
  width: 100%;
}

input.sf-input-text {
  width: 100% !important;
}

li.sf-field-sort_order {
  float: right;
}

.searchandfilter ul li {
  padding: 0px 0 !important;
}

ul.sf_date_field label,
li.sf-field-search label {
  width: 100%;
  margin: 0;
  font-size: 0.75rem;
  line-height: 1rem;
  border-radius: 0.5rem;
  border-width: 2px;
  border-style: solid;
  cursor: text;
}

ul.sf_date_field {
  display: grid !important;
  grid-gap: 3rem;
  margin: 0;
  grid-template-columns: 1fr 1fr;
}

ul.sf_date_field li {
  display: grid;
  grid-template-columns: 2fr 4fr;
  align-items: center;
  margin: 0 !important;
}

form.searchandfilter {
  border-radius: 0.5rem;
  border-width: 2px;
  border-style: solid;
  padding: 1rem;
  margin-bottom: 3rem;
}

form.searchandfilter ul {
  padding: 0;
}

form.searchandfilter ul li:before {
  content: "";
  display: none;
}

li.sf-field-reset {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-end;
}

li.sf-field-submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-end;
  margin-right: 1rem !important;
}

li.sf-field-submit input[type="submit"] {
  display: flex;
  float: right;
}

li.sf-field-reset a.search-filter-reset {
  display: flex;
  float: right;
  border-style: solid;
  border-top-width: 0;
  border-right-width: 0;
  border-left-width: 0;
  border-bottom-width: 0;
  color: #ffffff;
  border-color: var(--ast-global-color-0);
  background-color: var(--ast-global-color-0);
  border-radius: 6px;
  padding-top: 10px;
  padding-right: 20px;
  padding-bottom: 10px;
  padding-left: 20px;
  font-family: inherit;
  font-weight: inherit;
  line-height: 1em;
}

li.sf-field-reset a.search-filter-reset:hover {
  background-color: #333333;
}

li.sf-field-submit input {
  text-transform: uppercase;
}

a.search-filter-reset {
  text-transform: uppercase;
  text-decoration: none !important;
}

form.searchandfilter input[type="submit"] {
  border-radius: 6px;
  padding: 10px 1rem;
}

form.searchandfilter input[type="submit"]:hover {
  background-color: #333333;
  color: white;
}

li.sf-field-search label {
  width: 100% !important;
}

select.sf-input-select {
  padding: 10px 0;
  border: 2px solid #f2f5f7;
  border-color: #e5e7eb !important;
  border-radius: 7px;
  background: #ffffff;
}

input.sf-input-text {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 7px;
}

ul.sf_date_field label,
li.sf-field-search label {
  border-width: 0;
  border-style: solid;
  cursor: text;
}

/* Informaciones */

.bloque__descargas__descarga a#enlace__descarga__bloque__descargas {
  color: white !important;
}

img.imagen__cuerpo__informacion {
  float: left;
  max-width: 50%;
  margin: 0px 1rem 0 0;
}

@media (max-width: 900px) {
  img.imagen__cuerpo__informacion {
    float: left;
    max-width: 100%;
    margin: 0;
  }
}

/*Menú lateral*/

ul.sub-menu li:before {
  content: "» ";
}

.menu__lateral li {
  text-align: left;
  line-height: 1.3em !important;
  border-bottom: solid 1px #fff;
  font-size: 1em;
  color: #666;
  padding: 10px 0;
}

.menu__lateral li a {
  font-weight: 500;
  font-size: 0.9em;
}

.menu__lateral li.current-menu-item a {
  color: #af1440 !important;
}

.menu__lateral li.current-menu-item {
  border-radius: 5px;
}

.menu__lateral {
  margin-top: 1em;
  background: #f2f2f2;
  padding: 1em;
  border-radius: 1em;
}

.menu__lateral .current-page-ancestor a {
  font-weight: 700;
}

.main-header-menu .current-page-ancestor {
  background: #af1443 !important;
  border-radius: 1em;
  color: white;
}

ul#menu-menu-capitulos-y-secciones a.menu-link {
  font-weight: 700 !important;
}


ul#menu-menu-capitulos-y-secciones ul.sub-menu a {
  font-weight: 400 !important;
}

/* Breadcrumbs */

.ast-breadcrumbs ul li a {
  color: #af1440;
  margin-right: 7px;
}

.ast-breadcrumbs ul li a:hover {
  color: #4b4f58;
}

.ast-breadcrumbs {
  padding: 7px 1em;
  border-radius: 20px !important;
}

.ast-breadcrumbs-wrapper {
  border-radius: 1em;
  margin-bottom: 10px;
}

/*Prefijo de las migas de pan*/
.ast-breadcrumbs::before {
  content: "Estas en: ";
}

.ast-breadcrumbs {
  padding: 7px 1em;
  border-radius: 20px !important;
  background: #F2F2F9;
}

/*Estilos menu principal*/
#ast-hf-menu-1 li a {
  border-radius: 1em;
  flex-direction: column;
  padding-top: 1.6em;
  padding-bottom: 1.6em;
}

#ast-hf-menu-1 li::after {
  content: "";
  display: block;
  border-right: dotted 1px #ccc;
  height: 55%;
  right: 0;
  position: absolute;
}

#ast-hf-menu-1 li {
  margin-right: 5px;
}

#ast-hf-menu-1 li a:hover img,
#ast-hf-menu-1 .current-menu-item img {
  filter: sepia(100%);
  -webkit-filter: invert(99%);
}

/* Estilos del Menú */

span.menu-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

svg.ast-arrow-svg {
  margin: 0 !important;
  padding: 0;
  display: none;
}

span.menu-text img {
  margin: 0 !important;
}

ul.sub-menu li {
  align-items: flex-start !important;
}

#ast-hf-menu-1 li a:hover img {
  filter: sepia(100%);
  -webkit-filter: invert(99%);
}

.sub-menu li a:hover #ast-hf-menu-1 img {
  filter: sepia(100%);
  -webkit-filter: invert(99%);
}

span.menu-text {
  line-height: 1.3em;
}

ul#ast-hf-menu-1 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.main-navigation.ast-inline-flex {
  width: 100%;
}

.ast-builder-menu-1 {
  width: 100%;
}

#ast-hf-menu-1 li a:hover img,
#ast-hf-menu-1 .current-page-ancestor img,
#ast-hf-menu-1 .current-menu-item img {
  filter: sepia(100%) !important;
  -webkit-filter: invert(99%) !important;
}

.main-header-menu .current-page-ancestor a {
  color:white !important;
}

/* Formulario Login */

div#wpforms-17231-field_61-container fieldset {
  display:flex;
  align-items: center;
  gap:10px;
}

h2.wppb-form-title {
  display: none;
}

#wppb-form-style-1-wrapper {
  width: unset !important;
  max-width: 470px;
  margin-right: 1rem;
}

p.wppb-form-field.login-password.wppb-form-text-field.label-outside,
p.wppb-form-field.login-username.wppb-form-text-field.label-outside {
  margin-bottom: 1rem !important;
}

p.login-submit input#wppb-submit {
  background-color:#af1440 !important;
  width:100%;
}

p.login-submit input#wppb-submit:hover {
  border-color:#af1440eb !important;
  background-color:#af1440eb !important;
  width:100% !important;
}

p.login-submit {
  width: 100%;
}


/* Enlaces de revistas dinámicas */

.bloque__revistas__dinamicas p {
    display:flex;
    gap: 1rem;
    flex-wrap: wrap;
}