/* Theme style customization starts here
-------------------------------------------------------------- */

html {
  margin-top: 0 !important;
}

.tm-logo-ghost {
  margin: 15px 0 0 40px;
}

.tb-logo-ghost {
  margin: 25px 0 0 40px;
}

.bombver.bombnav a:hover {
  color: #ccc !important;
}

.sb-slidebar.main-menu-tog {
  width: 500px;
}

.stitle {
  text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.widget_reedwanwidgets__imagecode img {
  border: 1px solid #999;
}

.widget_reedwanwidgets__imagecode a::before {
  content: "PUBLICIDADE";
  display: block;
  text-align: right;
  font-size: 8px;
  line-height: 1.5;
  font-family: sans-serif;
  color: #999;
  letter-spacing: 1px;
}

.widget_reedwanwidgets__imagecode a {
  text-decoration: none;
}

.quote-box-avatar .user-lists .user-name {
  margin-top: 5px;
}

@media screen and (min-width: 960px) and (max-width: 1199px) {
  .sb-slidebar.main-menu-tog {
    width: 350px;
  }
  .bombver.bombnav > li > a {
    /*font-size: 19px;*/
    padding-top: 7px;
    padding-bottom: 7px;
  }
}

@media screen and (max-width: 767px) {
  .sb-slidebar.main-menu-tog {
    width: 350px;
  }
  .bombver.bombnav > li > a {
    /*font-size: 18px;*/
    line-height: 1.3;
    letter-spacing: -1px;
    padding-top: 7px;
    padding-bottom: 7px;
  }
  .tm-logo-ghost,
  .tb-logo-ghost {
    display: none !important;
  }
  .bomb_res .block-page .meta-date {
    display: block !important;
  }
}

.entry-author-box {
  /* Author box was moved from below the
       post to above the featured image.
       So we gotta change the spacing and
       border styles from top to bottom. */

  border-top: 0;
  margin-top: 0;
  padding-top: 0;

  border-bottom-width: 2px;
  border-bottom-style: solid;
  margin-bottom: 30px;
  padding-bottom: 20px;

  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 15px;
}

/* Ads boxes styles */
[id^="div-gpt-ad"]::before {
  position: absolute;
  font-family: arial, sans-serif;
  top: -22px;
  right: 0;
  font-size: 8px;
  letter-spacing: 1px;
  text-align: right;
  color: #999;
}

[lang^="pt"] [id^="div-gpt-ad"]::before {
  content: "PUBLICIDADE";
}

[lang^="es"] [id^="div-gpt-ad"]::before {
  content: "PUBLICIDAD";
}

[lang^="pt"] .ads-es {
  display: none;
}

[lang^="es"] .ads-pt {
  display: none;
}

[id^="div-gpt-ad"] {
  position: relative;
  border: 1px solid #ccc;
  text-align: center;
  background: repeating-linear-gradient(
    45deg,
    #fff,
    #fff 2px,
    #eee 2px,
    #eee 3px
  );
}

[id^="div-gpt-ad"] > * {
  margin: 0 auto;
  text-align: center;
}

#div-gpt-ad-1469728895277-5 {
  display: none;
}
@media screen and (min-width: 800px) {
  #div-gpt-ad-1469728895277-4 {
    display: none;
  }
}
@media screen and (min-width: 1000px) {
  #div-gpt-ad-1469728895277-5 {
    display: block;
  }
}

/**
   * search menu style
   */

.menu-search button,
.menu-reg-log.menu-search button i,
.menu-form button,
.menu-form button i,
.menu-form .close-search {
  padding: 0;
  margin: 0;
  font-size: 12px;
  font-weight: bold;
  line-height: 91px;
}

.big-post .entry-image {
  overflow: hidden;
}

/* Fix mobile sub-menu */

.indicator i:before {
  content: " ";
}

.bombver.bombnav .indicator {
  width: 100%;
}

/**
   * Fix alignment for sub-menus in menu.
   */
.bombnav li:nth-last-child(-n + 2) ul.sub-menu {
  right: 0;
}

/**
   * Increase big post title size.
   */
.big-post .entry-title {
  font-size: 38px;
  line-height: 1.125;
}

/*
   * Reduce weight of the widget title.
   */

.widgettitle {
  font-size: 18px;
}

/**
   * Fix menu links position in small desktop breakpoint.
   */

@media only screen and (max-width: 1199px) and (min-width: 960px) {
  .main-header .main-row > .el-right {
    float: none;
    clear: both;
  }
}

/**
   * Fix menu links font-size and spacing.
   */

.main-header .bombnav > li > a {
  font-size: 12px;
  padding: 0 12px;
}

/**
   * Remove extra space from the menu.
  */

.bombnav {
  margin-right: 0;
}

/**
   * Remove triangle/arrow below links on hover.
   */

.main-menu .bombnav > li:not(.menu-item-has-children):hover > a::after,
.main-menu .bombnav > li.current-menu-item > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  margin-left: -12px;
  border-width: 0 12px 12px;
  border-style: solid;
  border-color: transparent;
  border-bottom-color: white !important;
  display: block;
  width: 0;
  z-index: 999;
}

/**
   * Hide images from all entries except the first line in a block with 3 columns.
   */

#block-ajax-query-contentseven3 .entry-image {
  display: none;
}

#block-ajax-query-contentseven3 :nth-child(-n + 3) .entry-image {
  display: block;
}

/**
   * Change category (now kicker) style.
   */

.meta-cat {
  font-style: normal;
  font-size: 12px;
}

/**
   * Increase line-height of post titles.
   */

.block-four-five .big-post .entry-title,
.block-seven .big-post .entry-title,
.block-eleven .big-post .entry-title {
  line-height: 1.25;
}

/**
   * Fix thumbnail proportions in blocks.
   */

.big-post .entry-image a {
  overflow: hidden;
}

.home .block .entry-image a {
  padding-bottom: 63.33%;
}

.home .block .entry-image img {
  height: 100%;
  object-fit: cover;
}

/**
   * Fix gallery block title font-size.
   */

.owl-theme .scaption h3 {
  font-size: 18px;
  line-height: 1.25;
}

/**
   */

.sidebar .widget .meta-cat {
  margin-bottom: 4px;
  font-size: 0.75em;
}

/**
   */

.block-ajax-query-content .entry-content {
  font-size: 16px;
  line-height: 1.5;
}

/**
   */

.block-eleven .big-post,
.block-eight .big-post,
.block-seven .big-post {
  margin-bottom: 30px;
}

/* Homepage Newsletter Block
  -------------------------------------------------------------- */

.newsletter {
  border-radius: 0.25rem;
}

.newsletter.row-inner h2 {
  color: #fff;
}

.newsletter.row-inner .newsletter__image {
  margin: auto;
  max-width: 15rem;
}

.newsletter.row-inner .newsletter__image,
.newsletter.row-inner .newsletter__image .vc_single_image-wrapper {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .newsletter.row-inner {
    display: flex;
    align-items: flex-end;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .newsletter.row-inner > :first-child {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

/* Overrides the default style of the RD Station Newsletter form.
  -------------------------------------------------------------- */

.newsletter #rd-section-l01d8ig4 {
  background: none;
}

.newsletter #rd-form-l01d8igb .bricks-form__input {
  font-family: "Istok Web", sans-serif;
  font-size: 1rem;
  height: auto;
  min-height: auto;
  padding: 0.625em 0.75em;
}

.newsletter #rd-form-l01d8igb .bricks-form__submit {
  display: block;
}

.newsletter #rd-form-l01d8igb .bricks-form__submit > button {
  font-family: "Istok Web", sans-serif;
  height: auto;
  margin-left: -5px;
  min-width: auto;
  padding: 0.75em 1.25em;
  width: auto;
}

.newsletter #rd-form-l01d8igb .bricks-form__privacy .bricks-form__label {
  color: white;
}

.newsletter #rd-form-l01d8igb .bricks-form__terms p {
  color: white;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Overrides the default slider style.
  -------------------------------------------------------------- */

/* Fix slider text color */
.block-slider .owl-slider {
  color: initial;
}

/* Remove compensate padding */
.block-slider .owl-slider.owl-right .item {
  padding-bottom: 0;
}

/* Fix slider image proportions */
.block-slider .owl-slider .item img {
  aspect-ratio: 848/478;
  margin-bottom: 1.875rem;
  object-fit: cover;
  position: relative;
}

/* Update category style */
.block-slider .owl-slider .gcat {
  background: none;
  color: #333333 !important;
  display: block;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 9px;
  padding: 0;
  text-transform: uppercase;
}

/* Fix content position */
.block-slider .owl-slider .scaption {
  left: 0;
  bottom: 0;
  z-index: 0;
  padding: 0;
  position: relative;
  width: 100%;
}

/* Fix title size */
.block-slider .owl-slider .scaption h3 {
  font-size: 2.375rem;
  line-height: 1.125;
}

/* Fix title color */
.block-slider .owl-slider .scaption h3 a {
  color: #002e6e;
}

/* Remove text shadow */
.block-slider .owl-slider .stitle {
  text-shadow: none;
}

/* Remove content gradient */
.block-slider .owl-slider .sitem > a:before {
  display: none;
}

/* Remove pagination above the content */
.block-slider .owl-slider .owl-controls .owl-pagination {
  margin-top: 1rem;
  position: relative;
}

/* Update pagination style */
.block-slider .owl-slider .owl-controls .owl-pagination .owl-page span {
  background: #002e6e;
  opacity: 0.5;
}
.block-slider .owl-slider .owl-controls .owl-pagination .owl-page.active span {
  opacity: 1;
}

/* Position buttons navigation above the image */
.block-slider .owl-slider .owl-controls .owl-buttons {
  aspect-ratio: 848 / 478;
  position: absolute;
  width: 100%;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.owl-theme .owl-controls .owl-buttons div {
  position: relative;
}

.owl-theme .owl-controls .owl-buttons .owl-prev {
  left: 0;
  margin-left: 0.5rem;
}

.owl-theme .owl-controls .owl-buttons .owl-next {
  right: 0;
  margin-right: 0.5rem;
}

.owl-theme .owl-controls .owl-buttons .owl-prev:hover,
.owl-theme .owl-controls .owl-buttons .owl-next:hover {
  background: #eee;
}

.owl-theme .owl-controls .owl-buttons .owl-prev,
.owl-theme .owl-controls .owl-buttons .owl-next {
  background: #ffffff;
  color: #002e6e;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

  position: absolute;
  transform: translateY(-50%);
  z-index: 1;
}

/*
New styles authors
*/
.author-section {
  background-color: #f2f2f2;
  padding: 2.5rem 0 2rem;
  border-bottom: 2px #dbdbdb solid;
  margin-bottom: 2rem;
  border-radius: 10px;
}
.author-info {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  padding: 0 28px;
  margin: auto;
}

.author-position {
  font-style: italic;
  font-size: 0.9rem;
  color: #333333;
  display: block;
}

.author-position i {
  display: inline !important;
}

.author-details {
  flex: 1.2;
}

.author-name {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  text-transform: uppercase;
  display: flex;
  line-height: 2rem;
}

.author-name i {
  font-size: 1.2rem;
  margin-top: 5px;
}

.author-bio {
  font-size: 16px;
  color: #666;
  margin-top: 5px;
}

@media only screen and (max-width: 767px) {
  /* Remove extra padding and fix alignment */
  .block-slider .owl-slider .scaption {
    padding: 0 !important;
    text-align: left;
  }

  /* Update font size */
  .block-slider .owl-slider .scaption h3 {
    font-size: 1.5rem;
    line-height: 1.125;
  }

  /* Show description  */
  .block-slider .owl-slider .sdesc {
    display: block;
  }
}
