/*
 * Theme Name: Sopitas
 * Description: The theme for Sopitas.com
 * Author: Carlos Adrián Morales
 * Author URI: https://carlosadrian.com.mx
 * Version: 0.9.6
 */

/*
Anchor, link, url, hipertext color
*/
a {
  color: #e8058c;
}
a:hover {
  color: #c91781;
  text-decoration: none !important;
}

#banner {
  height: 99px;
  background-color: #ff008a; /* #E8058C */
  content: "";
  background-size: auto 100%;
}

#top {
  background: #fff300;
}
body {
  font-family: "Muli", "Futura", sans-serif;
  font-size: 1rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Merriweather Sans", "Futura", sans-serif;
  text-transform: uppercase;
  line-height: 1.42em;
}
h1 {
  font-size: 1.78em;
  font-weight: 900;
}
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}
.font-muli {
  font-family: "Muli", "Futura", sans-serif;
}
.font-ms {
  font-family: "Merriweather Sans", "Futura", sans-serif;
}
.font-mon {
  font-family: "Montserrat", "Impact", sans-serif;
}
iframe.instagram-media,
.twitter-tweet {
  margin: 12px auto !important;
}

/* Post Cards Styling */
.post.sp-card.card-sd .wp-post-featured-image,
.post.sp-card.card-sd-inner .wp-post-featured-image {
  min-height: 175px;
  display: block;
}
aside.related .sp-card .wp-post-featured-image {
  min-height: 120px !important;
}
.post h1,
.post h3,
.post h1 a,
.post h3 a {
  color: #333;
}
.post h1 a:hover,
.post h3 a:hover,
.post:hover h3 a,
.post:hover h1 a {
  text-decoration: none;
  background-image: linear-gradient(180deg, #fff300, #fff300);
  background-repeat: no-repeat;
  background-position: 2px 0.9em;
  background-size: 100% 6px;
}
.post .wp-post-thumbnail {
  background: #e3e3e3;
  min-height: 120px;
  display: block;
}

.post.sp-card .post-title {
  font-size: 0.9em;
  overflow: hidden;
}
.post.card-sd-inner {
  position: relative;
}
.post.card-sd-inner .meta {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}
.row.tight-gutters {
  margin-left: 0;
  margin-right: 0;
}
.row.tight-gutters > [class*="col-"] {
  padding-left: 2px;
  padding-right: 2px;
}

section .subtitle,
aside .subtitle {
  background: #fff300;
  padding: 0.2em 0.5em;
}
section .subtitle-hl,
aside .subtitle-hl {
  color: #e8058c;
}

.single article aside {
  margin: 2em 0;
}
.single .post .post-content {
  line-height: 1.65em;
}
.post.sp-card,
.post .wp-post-featured-image {
  position: relative;
}
.post.sp-card .badge,
.single .wp-post-featured-image .badge {
  position: absolute;
  top: 0;
  right: 0;
  text-transform: uppercase;
  border-radius: 0;
  line-height: inherit;
  overflow: hidden;
}
.single .wp-post-featured-image {
  position: relative;
  height: 0;
  overflow: hidden;
  width: 100%;
  padding-bottom: 51.875%;
}
.single .wp-post-featured-image .wp-post-image {
  position: absolute;
  width: 100%;
  height: auto;
  top: 0;
  left: 0;
  overflow: hidden;
}

.r-15 {
  right: 15px !important;
}
.wp-post-featured-image .badge a {
  padding: 0.48em 0.96em;
  line-height: 2em;
}
.wp-post-featured-image .wp-post-image {
  width: 100%;
  height: auto;
}
.badge:hover,
.badge a:hover {
  text-decoration: none;
}

.wp-avatar {
  display: inline-block;
  width: 2em;
  height: 2em;
  background: #e3e3e3;
}
.wp-post-featured-image {
  background: #e3e3e3;
}
.bg-grad {
  position: relative;
  margin: 0;
  z-index: 100;
  color: #fff;
}
.bg-grad-content {
  position: relative;
  padding: 0.5em;
  z-index: 102;
}
.bg-grad a {
  color: #fff;
}
.bg-grad::before {
  display: block;
  position: absolute;
  bottom: 0;
  left: 10;
  display: block;
  background: rgb(255, 255, 255);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(0, 0, 0, 1) 100%
  );
  width: 100%;
  height: 100%;
  content: " ";
  z-index: 100;
}

#bottom {
  padding: 2em 0;
  background: #fff300;
}

.tags-inline a {
  display: inline-block;
  padding: 1em 0 0.5em 0;
  margin: 0 0.96em;
  border-bottom: 3px solid #007bff;
}
.tags-inline a {
  margin-left: 0;
}
.tags-inline a:hover {
  color: #e8058c;
  text-decoration: none;
  border-bottom: 3px solid #e8058c !important;
}
.entry-meta {
  text-transform: uppercase;
  color: #999;
}
article.post a:hover {
  border-bottom: 2px solid #e8058c;
}

/*navegacion*/
/* SUBMENU */

.sub-menu {
  background: #f8f9fa !important;
  display: none;
  /* text-align: center; */
}

.sub-menu li {
  list-style: none;
  /* padding-left: 20px; */
}
ul.sub-menu {
  position: absolute;
  margin-top: 30px;
  padding: 0.4em 0;
  justify-content: center !important;
  z-index: 3000;
}
#top-menu {
  display: none;
}
@media only screen and (min-width: 768px) {
  .sub-menu li {
    display: table-cell;
  }
  #menu-enlaces-sociales-busqueda,
  .sociales {
    display: flex !important;
  }
  #top-menu {
    display: flex !important;
  }
}
@media only screen and (max-width: 1199px) {
  .nav-link {
    padding: 0.5rem 0.5rem;
  }

  .menu-enlaces-sociales-busqueda-container a {
    font-size: 0.9rem;
    margin-top: 8px;
    /* line-height: 2.3rem; */
  }
}
@media screen and (max-width: 991px) and (min-width: 768px) {
  .nav-link {
    padding: 0.5rem 0.5rem;
    font-size: 0.8rem;
  }
  .menu-enlaces-sociales-busqueda-container a {
    margin-top: 0;
  }
  ul.sub-menu {
    margin-top: 44px;
    width: 100%;
    justify-content: center !important;
    margin-left: -45px;
  }
}

.navbar > .container,
.navbar > .container-fluid {
  display: block;
  /* display: flex; */
}

@media only screen and (max-width: 767px) {
  ul.sub-menu {
    position: relative;
    display: none;
    left: 0 !important;
    margin-top: 0;
    width: 100%;
    padding-left: 20px;
  }

  #submenu {
    height: 0px !important;
  }
  #top-menu {
    display: none;
  }
  .sociales {
    display: none;
  }
  #menu-enlaces-sociales-busqueda {
    display: flex !important;
  }

  .buscar {
    display: none;
  }
  .legales {
    display: none;
  }
  .get-search {
    display: none;
  }
}

/* This Uppercased Nav is a base for block when hover an item */
.nav-uppercased {
  font-size: 0.8em;
}
.nav-uppercased a {
  text-transform: uppercase;
  font-weight: 900;
  font-family: "Merriweather Sans", "Futura", sans-serif;
}
.nav-uppercased a:hover {
  background: #e8058c;
  color: #fff;
}
.nav a {
  color: #333;
}
.nav-icons a:hover {
  color: #e8058c;
}

.form-only-controls label,
.form-only-controls button[type="submit"] {
  display: none;
}
.mf {
  margin-top: -0.7em;
}

#s + .input-group-append {
  right: 0;
  position: absolute;
  z-index: 99;
  padding: 0.75em;
}
.search-form {
  position: sticky;
  top: calc(97px - 1px);
  /* left: auto; */
  width: 100%;
  background: #fff;
  z-index: 500;
  padding: 2px 0 1px 0;
}
.search-form .input-group-append {
  padding: 0.5em 1em;
  font-size: 1.6em;
}
#s {
  border-radius: 0;
  text-align: center;
  transition: width 0.25s ease-in-out;
  background: transparent;
  font-family: "Muli", "Futura", sans-serif;
  cursor: pointer;
  width: 100%;
  outline: none;
  box-shadow: none;
  cursor: text;
  padding-right: 2em;
  border: 2px solid #000;
}
.search-form #s {
  font-size: 1.48em;
  padding-top: 1em !important;
  padding-bottom: 1em !important;
  border: 2px solid #000;
}
#s::before {
  display: block;
  width: 2em;
  height: 2em;
  content: "\f300";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
}

/* @media only screen and (max-width: 1199px){
	.search-form {
		top: calc(39% - 12px);
	}
} */
@media screen and (max-width: 992px) and (min-width: 768px) {
  .search-form {
    top: calc(110px - 1px);
  }
}
@media only screen and (max-width: 768px) {
  .search-form {
    display: none;
  }
}
.logo-sopitas {
  background: url("images/logo-sopitas.png") center center no-repeat;
  width: 160px;
  height: 55px;
  -webkit-background-size: 100% auto;
  background-size: 100% auto;
  display: inline-block;
}
.f1 {
  font-size: 1em;
}
.clearfix {
  clear: both;
}
.post.card-sd-thumb .post-title {
  font-size: 0.78em;
}
.post.card-sd time,
.post.card-sd-inner time,
.post.card-mn time {
  font-size: 0.8em;
}
.post.card-sd-thumb time {
  font-size: 0.7em;
}
.post .meta a:empty {
  display: block;
  height: 1.8em;
  background: #e9e9e9;
}
.label-line-under {
  position: relative;
  font-size: 1em;
  margin: 1.5em 0;
}
.label-line-under a {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 0.24em 0.48em;
  position: relative;
  z-index: 20;
}
.label-line-under:before {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -2px;
  height: 4px;
  width: 100%;
  background: #000;
  z-index: 10;
}
.card-sd-thumb {
  margin-bottom: 15px;
}

/*
 * Sopitas.com
 * Main category colors, their children categories, should have the same colors. They stand for:
 * ored: noticias
 * magenta: música,
 * dull: deportes
 * irisblue: entretenimiento
 * cream yellow: Geek
 * purple: Mientras tanto
 */
.label-line-under a:hover {
  text-decoration: none;
}
span.bg-ored,
.bg-ored a,
.label-line-under.bg-ored::before,
.on-bg-ored a:hover,
.on-bg-ored.current-menu-item a {
  background: #f24732;
  color: #fff;
}
span.bg-magenta,
.bg-magenta a,
.label-line-under.bg-magenta::before,
.on-bg-magenta a:hover,
.on-bg-magenta.current-menu-item a {
  background: #f263a3;
  color: #fff;
}
span.bg-dull,
.bg-dull a,
.label-line-under.bg-dull::before,
.on-bg-dull a:hover,
.on-bg-dull.current-menu-item a {
  background: #44c846;
  color: #fff;
}
span.bg-irisblue,
.bg-irisblue a,
.label-line-under.bg-irisblue::before,
.on-bg-irisblue a:hover,
.on-bg-irisblue.current-menu-item a {
  background: #0abbb7;
  color: #fff;
}
span.bg-mgnt,
.bg-mgnt a,
.label-line-under.bg-mgnt::before,
.on-bg-mgnt a:hover,
.on-bg-mgnt.current-menu-item a {
  background: #e8058c;
  color: #fff;
}
span.bg-dark-magenta,
.bg-dark-magenta a,
.label-line-under.bg-dark-magenta::before,
.on-bg-dark-magenta a:hover,
.on-bg-dark-magenta.current-menu-item a {
  background: #b200b2;
  color: #fff;
}
/*submenu*/
ul.sub-menu li.on-bg-ored a:hover {
  background-color: #f24732 !important;
  color: #fff !important;
}
ul.sub-menu li.on-bg-magenta a:hover {
  background-color: #f263a3 !important;
  color: #fff !important;
}
ul.sub-menu li.on-bg-dull a:hover {
  background-color: #44c846 !important;
  color: #fff !important;
}
ul.sub-menu li.on-bg-irisblue a:hover {
  background-color: #0abbb7 !important;
  color: #fff !important;
}
ul.sub-menu li.on-bg-ored a {
  display: flex !important;
}

.on-bg-ored.current-menu-item ul.sub-menu,
.on-bg-ored.current-menu-item ul.sub-menu a,
.on-bg-ored.current-menu-parent ul.sub-menu {
  display: table-cell;
  background-color: #f8f9fa !important;
  color: #333333;
  left: 15%;
}

.on-bg-magenta.current-menu-item ul.sub-menu,
.on-bg-magenta.current-menu-item ul.sub-menu a,
.on-bg-magenta.current-menu-parent ul.sub-menu {
  display: table-cell;
  background-color: #f8f9fa !important;
  color: #333333;
  left: 17%;
}
.on-bg-dull.current-menu-item ul.sub-menu,
.on-bg-dull.current-menu-item ul.sub-menu a,
.on-bg-dull.current-menu-parent ul.sub-menu {
  display: table-cell;
  background-color: #f8f9fa !important;
  color: #333333;
  left: 14%;
}
.on-bg-irisblue.current-menu-item ul.sub-menu,
.on-bg-irisblue.current-menu-item ul.sub-menu a,
.on-bg-irisblue.current-menu-parent ul.sub-menu {
  display: table-cell;
  background-color: #f8f9fa !important;
  color: #333333;
  left: 37%;
}

@media only screen and (max-width: 767px) {
  .on-bg-ored.current-menu-item ul.sub-menu,
  .on-bg-ored.current-menu-item ul.sub-menu a,
  .on-bg-ored.current-menu-parent ul.sub-menu {
    display: block;
    background-color: #f8f9fa !important;
    color: #333333;
  }

  .on-bg-magenta.current-menu-item ul.sub-menu,
  .on-bg-magenta.current-menu-item ul.sub-menu a,
  .on-bg-magenta.current-menu-parent ul.sub-menu {
    display: block;
    background-color: #f8f9fa !important;
    color: #333333;
  }
  .on-bg-dull.current-menu-item ul.sub-menu,
  .on-bg-dull.current-menu-item ul.sub-menu a,
  .on-bg-dull.current-menu-parent ul.sub-menu {
    display: block;
    background-color: #f8f9fa !important;
    color: #333333;
  }
  .on-bg-irisblue.current-menu-item ul.sub-menu,
  .on-bg-irisblue.current-menu-item ul.sub-menu a,
  .on-bg-irisblue.current-menu-parent ul.sub-menu {
    display: block;
    background-color: #f8f9fa !important;
    color: #333333;
  }
}

/* Text colors */
.on-txt-ored.current-menu-item a,
.on-txt-magenta.current-menu-item a,
.on-txt-dull.current-menu-item a,
.on-txt-irisblue.current-menu-item a,
.on-txt-mgnt.current-menu-item a,
.on-txt-dark-magenta.current-menu-item a {
  background: transparent;
}
.on-txt-ored.current-menu-item a {
  color: #f24732;
}
.on-txt-magenta.current-menu-item a {
  color: #f263a3;
}
.on-txt-dull.current-menu-item a {
  color: #44c846;
}
.on-txt-irisblue.current-menu-item a {
  color: #0abbb7;
}
.on-txt-mgnt.current-menu-item a {
  color: #e8058c;
}
.on-txt-dark-magenta.current-menu-item a {
  color: #b200b2;
}

.bg-highlight {
  background: #fff100;
  padding: 0.15em;
}

/* Text color white */
.bg-ored,
.bg-ored a,
.bg-magenta,
.bg-magenta a,
.bg-dull,
.bg-dull a,
.bg-irisblue,
.bg-irisblue a {
  color: #ffffff;
}
.sp-card .badge {
  padding: 0.25em 1em !important;
}
.card-sd-thumb .badge {
  width: 1em;
  height: 1em;
  text-indent: 1em;
  padding: 1em !important;
}

.nav-inline .page-numbers {
  display: inline-block;
  padding: 1em;
}
.nav-inline .page-numbers.current,
.nav-inline .page-numbers.dots {
  cursor: default;
}

article.post iframe {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.nav-mini a {
  font-size: 0.8em;
}
.nav-mini a {
  padding: 0.25em 0.65em;
  color: #999;
}

.nav-icons a {
  padding-right: 0.4em;
  padding-left: 0.4em;
}

/* Article headings */
.single article.type-post h1,
.single article.type-post h2,
.single article.type-post h3,
.single article.type-post h4 {
  text-transform: unset;
  font-weight: 400;
}
.single article.type-post h1 {
  font-size: 1.64rem;
}
.single article.type-post h2 {
  font-size: 1.48rem;
}
.single article.type-post h3 {
  font-size: 1.36rem;
}
.single article.type-post h4 {
  font-size: 1.23rem;
}

.single article.type-post h1:not(.single-title) {
  color: #e8058c;
}
.single article.type-post h2 {
  color: #000;
}
.single article.type-post h3 {
  color: #ff6600;
}
.single article.type-post h4 {
  color: #ff3c3c;
}

.single .post-title {
  overflow: hidden;
}
.submenu {
  background: #fff300;
}
.googletag-gpt {
  text-align: center;
  margin: 1.25em 0;
}
/* FB Instant meta data */
.op-modified,
.op-published {
  display: none;
}
article .post-title a:hover {
  text-decoration: none !important;
  border-bottom: 0;
}
@media all and (max-width: 420px) {
  .single h1 {
    font-size: 1.2em;
  }
}

/*
Iframe in article styling */

blockquote.twitter-tweet {
  border: 1px solid #e1e8ed;
  padding: 10px 20px;
  border-radius: 5px;
}

.size-full {
  width: 100%;
  height: 100%;
  margin: auto;
}

article.post iframe[src*="youtube"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: 416px;
}

article.post iframe[src*="giphy"],
article.post iframe[src*="player"],
article.post iframe[src*="nyt"],
article.post iframe[src*="facebook"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

article.post iframe[src*="bbc"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.fb-like-box iframe span[style],
.fb-comments span,
.fb-like-box span,
.fb-comments iframe span[style],
.fb-comments span,
.fb-like-box iframe[style],
.fb-like-box,
.fb-comments iframe[style],
.fb-comments,
.fb_iframe_widget_fluid span,
iframe.fb_ltr,
.fb-comments span,
.fb_iframe_widget_fluid_desktop,
.fb_iframe_widget_fluid_desktop span,
.fb_iframe_widget * {
  width: 100% !important;
}

.yt-front-page {
  height: 441px !important;
  width: 100%;
  margin-bottom: 10px;
}

@media only screen and (min-width: 300px) and (max-width: 767px) {
  .yt-front-page {
    height: 191px !important;
    width: 100%;
    margin-bottom: 10px;
  }

  article.post iframe[src*="bbc"] {
    width: 100%;
  }

  article.post iframe[src*="open"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  article.post iframe[src*="facebook"] {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    max-height: 100%;
  }
}

@media all and (min-width: 768px) {
  .desk-to-square .post.sp-card .wp-post-featured-image {
    min-height: 322px;
  }
}

.badge-updated {
  bottom: 1em;
  left: 50%;
}

.logo-sopitas.partnership {
  background: url("https://i1.wp.com/www.sopitas.com/wp-content/uploads/2019/11/logo-sopitas_cd.png")
    center center no-repeat;
  background-size: 100% auto;
  width: 157px;
  height: 108px;
}

.full-width {
  width: 100%;
}
