/*
Theme Name: JNews - Child Theme
Version: 1.0.0
Theme URI: http://themeforest.net/?ref=jegtheme
Description: A basic starter child theme for customization purpose of JNews theme.
Author: Jegtheme
Author URI: http://themeforest.net/user/jegtheme?ref=jegtheme
Template: jnews
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

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

/* GLOBALS */
html,
body {
  font-family: Open Sans, sans-serif !important;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
a {
  font-family: Open Sans, sans-serif !important;
  font-weight: bolder;
}

.jeg_main_menu > li > a {
  padding: 2px 0;
}

.white_menu .jeg_main_menu > li > a .fa-home,
.white_menu .jeg_main_menu > li > a {
  color: #ffffff !important;
}

.jeg_main_menu > li > a .fa-home {
  font-size: 20px !important;
  margin: 0 !important;
}

.white_menu .socials_widget > a > i.fa {
  background-color: #ffffff !important;
}

.white_menu .socials_widget > a > i.fa::before {
  color: #000000 !important;
}

.custom_sticky_menu {
  background: #232222 !important;
}

.custom_sticky_menu .jeg_menu_style_1 > li > a {
  color: #ffffff !important;
}

.footer_white .copyright,
.footer_white .socials_widget.nobg .fa,
.footer_white .jeg_menu_footer li a {
  color: #ffffff !important;
}

.misha_loadmore {
  width: 300px;
  margin: 20px auto;
  border: 1px solid #e52317;
  color: #e52317;
  border-radius: 2px;
  display: block;
  text-align: center;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  text-transform: uppercase;
  padding: 10px 0;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out,
    color 0.3s ease-in-out;
}
.misha_loadmore:hover {
  background-color: #e52317;
  color: #fff;
}

/* footer */

.jeg_footer .jeg_footer_heading_2 h3 {
  font-size: 18px !important;
  color: #8e8e8e !important;
  border-bottom: 2px solid #8e8e8e;
}

.jeg_footer .copyright,
.jeg_footer .socials_widget.nobg .fa,
.jeg_footer_sidecontent .jeg_menu_footer li a {
  font-size: 16px;
  color: #e52317;
}

.jeg_footer .socials_widget.nobg .fa {
  font-size: 20px;
}
.jeg_footer .copyright {
  font-size: 12px;
}

.jeg_mobile_wrapper .socials_widget.circle a .fa {
  background-color: #000000 !important;
  color: #fff;
}

/* HOME */

/* Globals */
.jeg_block_heading_6 h3.jeg_block_title span {
  font-size: 40px !important;
  color: #232222 !important;
  margin-bottom: 7px !important;
}

.hide-image {
  display: none;
}

.whiteHeader {
  margin-bottom: 0;
  font-size: 40px !important;
}

.jeg_readmore {
  font-size: 15px !important;
  border-radius: 25px !important;
  border-color: #e52317 !important;
  color: #e52317 !important;
}

.jeg_readmore:hover {
  color: #ffffff !important;
}

.jeg_midbar {
  border-bottom: 4px solid #8e8e8e !important;
}

.footer-holder {
  border-top: 4px solid #8e8e8e !important;
}

.footer_logo {
  margin-bottom: 0;
}

/* header home */
.jeg_header .container {
  display: flex !important;
  justify-content: center !important;
}

.revistazo-custom-hero .jeg_heroblock_wrapper {
  height: 800px !important;
}

.revistazo-custom-hero .jeg_heroblock_wrapper .jeg_post_meta {
  display: none;
}

.revistazo-custom-hero .jeg_block_container .jeg_postblock_content {
  bottom: 50%;
  left: 0;
  transform: translateY(50%);
  text-align: center;
  width: 100%;
  padding: 0 80px 25px;
}

.revistazo-custom-hero-title .jeg_block_container {
  display: flex;
  flex-direction: column;
}

.revistazo-custom-hero-title .jeg_block_container .jeg_postblock_content,
.revistazo-custom-hero-title .jeg_block_container .jeg_thumb {
  position: relative;
  margin: 0 auto;
  bottom: 0;
}

.revistazo-custom-hero-title .jeg_block_container .jeg_postblock_content {
  margin-top: 20px;
}

.revistazo-custom-hero .thumbnail-background > div {
  background-position: top !important;
}

.revistazo-custom-hero
  .jeg_block_container
  .jeg_postblock_content
  .jeg_post_title
  a {
  color: #ffffff !important;
  font-size: 55px !important;
  line-height: 50px;
}

.revistazo-custom-hero
  .jeg_block_container
  .jeg_postblock_content
  .jeg_post_category,
.revistazo-custom-hero
  .jeg_block_container
  .jeg_postblock_content
  .jeg_post_title {
  transform: translate3d(0, 0, 0) !important;
}

/* Slider */

.jeg_overlay_slider_bg {
  background-position: initial !important;
  background-attachment: inherit !important;
}

/* Investigaciones */

#investigaciones .jeg_thumb {
  width: 50% !important;
}

.investigacion_menu {
  border-top: #e52317 solid 2px;
}

.investigacion_menu ul {
  display: flex;
  justify-content: space-between;
}

.investigacion_menu ul li a {
  font-size: 18px;
  color: #e52317;
  font-weight: bold;
}
.investigacion_menu ul li {
  border: none !important;
  padding: 10px !important;
}

.investigacion_subtitulo {
  text-align: center !important;
  color: #ffffff;
  padding: 30px;
  font-size: 40px;
}

.invstigacion_hero_6 article {
  padding: 2px !important;
}

.full-image-note h2 {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1000000;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 50px;
  margin: 0;
}

.investigacion_container {
  color: #ffffff;
}

.investigacion_container h3 a {
  color: #e52317 !important;
}

.investigacion_grid_section .box_wrap {
  background-color: #e52317 !important;
}

.investigacion_grid_section .box_wrap .jeg_post_category {
  display: none;
}

.investigacion_grid_section .box_wrap a,
.investigacion_grid_section .box_wrap a {
  color: #ffffff !important;
}

.investigaciones-grid .jeg_heroblock_scroller > div,
.investigaciones-grid article {
  border: 1px solid #000000 !important;
}

/* Nota interna */

.jeg_post_title,
.entry-header .jeg_post_title,
.jeg_post_excerpt p,
.content-inner p {
  font-family: Open Sans, sans-serif !important;
}

.jeg_post_excerpt p,
.content-inner p {
  font-size: 18px;
}

.revistazo-custom-hero,
.full-image-note,
.full-image-note img {
  max-width: 100vw !important;
  width: 100vw !important;
  position: relative !important;
  left: calc(-50vw + 50%) !important;
  height: 70vh !important;
  margin: 25px 0 !important;
}

.revistazo-custom-hero {
  height: 35vw !important;
}

.has-background-dim {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  max-width: 100vw !important;
  width: 100vw !important;
  position: relative !important;
  left: calc(-10vw + 50%) !important;
}

.has-background-dim2 {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  max-width: 100vw !important;
  width: 100vw !important;
  position: relative !important;
  left: calc(-10vw + 10%) !important;
}


/* REPORTAJES - DATOS GLOBALS */

.datos-reportaje-title {
  font-size: 50px !important;
  font-family: Open Sans, sans-serif !important;
  font-weight: bold !important;
  padding-bottom: 10px !important;
  border-bottom: 4px solid #e52317;
}

.reportajes-multimedia,
.reportajes-multimedia .jeg_post_title a {
  color: #ffffff !important;
}

/* datos plugin */

.datos-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.dato {
  height: 600px;
  border: 1px solid #000000;
  overflow: hidden;
  width: 25%;
}

.dato a:hover .dato-title {
  bottom: 35px;
}

.dato:first-child {
  width: 50%;
}

.dato img {
  width: 100%;
  height: 100%;
}

.dato-bg-container {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  position: relative;
  box-shadow: inset 0px -84px 56px 0px rgba(0, 0, 0, 0.65);
  -webkit-box-shadow: inset 0px -84px 56px 0px rgba(0, 0, 0, 0.65);
  -moz-box-shadow: inset 0px -84px 56px 0px rgba(0, 0, 0, 0.65);
  -o-box-shadow: inset 0px -84px 56px 0px rgba(0, 0, 0, 0.65);
}
.dato-title {
  position: absolute;
  bottom: 30px;
  left: 20px;
  color: #ffffff;
  font-family: Open Sans, sans-serif;
  font-size: 18px;
  transition: all 0.2s ease;
}

/* Especiales flip-cards */
.cards-container {
  display: flex;
  justify-content: space-between;
  max-width: 900px;
  flex-wrap: wrap;
  margin: 0 auto;
}

.card {
  perspective: 1500px;
  -moz-perspective: 1500px;
  position: relative;
  height: 273px;
  width: 48%;
  margin-top: 28px;
  transition: all 0.2s ease;
}

.flip-card-inner {
  position: relative;
  height: 100%;
  width: 100%;
  transition: all 0.7s ease;
  transform-style: preserve-3d;
}

.card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.card-side {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.card-side--front {
  background-color: #fff;
  border: 1px solid #232222;
}

.card-side--front .special-photo,
.card-side--back .special-photo {
  width: 100%;
  height: 100%;
}

.card-side--back {
  transform: rotateY(180deg);
}

.card-side--overlay {
  position: absolute;
  display: flex;
  align-items: center;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.8;
}

.special-description {
  display: flex;
  align-items: center;
  padding: 20px;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
}

.special-description p {
  color: #fff;
}

@media screen and (max-width: 2000px) {
  .revistazo-custom-hero {
    height: 46vw !important;
  }
}

@media screen and (max-width: 1023px) {
  .revistazo-custom-hero {
    height: 99vw !important;
  }
}
@media screen and (max-width: 767px) {
  .revistazo-custom-hero
    .jeg_block_container
    .jeg_postblock_content
    .jeg_post_title
    a,
  .jeg_block_heading_6 h3.jeg_block_title span,
  .whiteHeader {
    font-size: 34px !important;
    line-height: 30px;
  }

  .revistazo-custom-hero .jeg_block_container {
    display: flex;
    flex-direction: column;
  }

  /* Take the header title below image in mobile */
  /* .revistazo-custom-hero .jeg_block_container .jeg_thumb,
  .revistazo-custom-hero .jeg_block_container {
    position: relative !important;
  }
  .revistazo-custom-hero .jeg_block_container .jeg_postblock_content {
    position: relative;
    right: 0;
    bottom: 0;
    transform: none;
    text-align: left;
  }

  .revistazo-custom-hero
    .jeg_block_container
    .jeg_postblock_content
    .jeg_post_title
    a {
    color: #000000 !important;
  } */

  .revistazo-custom-hero .jeg_heroblock_wrapper {
    height: 630px !important;
  }

  .revistazo-custom-hero {
    height: 160vw !important;
  }

  .card {
    width: 100%;
  }

  .jeg_footer_primary {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .jeg_footer_primary > :nth-child(1) {
    order: 3;
  }

  .jeg_menu_footer {
    display: flex;
    flex-direction: column;
  }

  .jeg_menu_footer li:not(:last-child):after {
    content: "";
  }

  .footer_logo {
    width: 50%;
    margin: 20px auto;
  }

  .dato:first-child,
  .dato {
    width: 100%;
    height: 200px;
    margin-top: 5px;
  }

  .dato-title {
    bottom: 10px;
    font-size: 16px;
  }

  /* .revistazo-custom-hero,
  .full-image-note,
  .full-image-note img {
    height: 40vh !important;
  } */
}

@media screen and (max-width: 320px) {
  .revistazo-custom-hero .jeg_heroblock_wrapper {
    height: 531px !important;
  }
}
/* Portrait IPAD PRO*/
@media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: portrait) {
  .revistazo-custom-hero {
    height: 75vw !important;
  }
}
