/*!
Theme Name: t3mexico
Theme URI: http://underscores.me/
Author: Play.Interactive / Jorge Olvera
Author URI: https://playinteractive.mx / https://www.linkedin.com/in/jolverm/
Description: Tema para blog T3 Magazine México
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: t3mexico
*/


body {
  font-family: 'Montserrat', sans-serif;
  /*font-size: 1.1em;*/
  color: #32363F;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem !important;
}
a {
  color: #5E6167;
}
a:hover {
  text-decoration: none;
  color: #A71930;
}
.red-bg {
  background-color: #A71930;
}
.red {
  color: #A71930;
}
.gray1-bg {
  background-color: #32363F;
}
.gray1 {
  color: #32363F;
}
.gray2-bg {
  background-color: #5E6167;
}
.gray2 {
  color: #5E6167;
}
.gray3-bg {
  background-color: #948A85;
}
.gray3 {
  color: #948A85;
}
.gray4-bg {
  background-color: #D5D2CA;
}
.gray4 {
  color: #D5D2CA;
}
.white-bg {
  background-color: #FFFFFF;
}
.white {
  color: #FFFFFF;
}

header {
  height: 135px;
}
footer {
  color: #ffffff;
}
#navMenu ul li {
  /*float: right;
  list-style: none;*/
  color: white;
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-right: 15px;
}
#navMenu ul li a {
  color: white;
}
#navMenu ul li a:hover {
  color: #D5D2CA;
}
.navbar {
  z-index: 20;
}
/*.navbar-dark .navbar-nav .nav-link {
  color: white !important;
}*/
.navbar-dark .navbar-nav .nav-link {
  color:rgba(255,255,255,1) !important;
}
ul li a i.fab, ul li a i.fas {
  padding-top: 9px;
}
#bs4navbar ul li a {
  font-size: .8em !important;
}
#body {
  font-size: 1.2em;
}

/*newsletter*/

.float-newsletter{
      background-image:url('img/newsletter.png');
      background-size: cover;
      background-color: #666;
      width: 20%;
      height: auto;
      position: fixed;
     -webkit-border-top-left-radius: 50px;
      -webkit-border-bottom-left-radius: 50px;
      -moz-border-radius-topleft: 50px;
      -moz-border-radius-bottomleft: 50px;
      border-top-left-radius: 50px;
      border-bottom-left-radius: 50px;
      padding-left: 12px;
      top: 150px;
      right: -17%;;
      z-index: 1000;
        -webkit-transition: all 1s ease;
        -moz-transition: all 1s ease;
        -o-transition: all 1s ease;
        -ms-transition: all 1s ease;
        transition: all 1s ease;
    }

  .active{
    right: 0 !important;
  }


.categoria {
  color: white;
  background-color: #A71930;
  font-size: .6rem;
  position: absolute;
  top: 0px;
  padding: 5px;
  z-index: 1010;
}

.subcat li a{
  background: #A71930;
  color: #ffffff;
  padding: 5px;
}

.subcat li a:hover{
  color: #fff;
  background-color: #dc3545;
}


.autor {
  font-size: .7rem;
}

.featured-post {
    height: 615px;
    color: #fff;
}

.featured-post figure {
    position: relative;
    height: 550px;
    overflow: hidden;
    z-index: 1;
}

.featured-post img {
    left: 50%;
    top: 50%;
    position: relative;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}


.featured-post-meta {
 background: #212529bd;
    z-index: 1010;
    position: absolute;
    bottom: 0;
    width: 80%;
    margin: 0 auto;
    max-height: 400px;
    padding: 15px;
    color: #fff;
    overflow: hidden;
    left: 10%;
}

.featured-post-meta h1 a
{
  color: #fff;
  font-weight: 300;
  font-size: 24px;
}

.featured-post-meta h1 a:hover,
.featured-post-meta span a:hover
{
    color: #A71930;
}

.featured-post-meta span a{
  color: #fff;
}




/*.slider-mobile h3{
  color: white;
  text-align: center;
  background-color:rgba(50, 54, 63, 0.8);
  height: 130px;
  position: relative;
  top: -130px;
  padding: 20px;
  margin-bottom: -150px;
}*/
.carousel-caption {
  background-color:rgba(50, 54, 63, 0.5);
  padding: 10px;
  bottom: 50px !important;
}
.carousel-inner {
  height: 350px;
}
.img-crop {
  width: 100%;
  height: 197px;
  max-height: 197px;
  overflow: hidden;
  object-position: center;
  object-fit: cover;
}
/*.img-crop img {
   margin:0 -38.885%;
   width:177.777%;
}*/
.img-feat-crop {
  width: 100%;
  /*height: 720px;*/
  max-height: 720px;
  overflow: hidden;
  object-position: center;
  object-fit: cover;
}
.titulos-list {
  height: 6rem;
}
.btn-circle {
  width: 40px;
  height: 40px;
  padding: 0px 4px;
  font-size: 18px;
  line-height: 1.33;
  border-radius: 25px;
}
.socialshare li {
  font-size: 2rem;
}
.facebook a {
  color: #3C5A99;
}
.twitter a {
  color: #1DA1F2;
}
.pinterest a {
  color: #BD081C;
}
.linkedin a {
  color: #0077B5;
}

.contacto-card article{
  background: #e0e0e05e;
}

.btn-media {
    color: #fff;
    background-color: #A71930;
}

.btn-media:hover{
    background-color: #fff;
    color:#ff5157;
}


/* ==== PAGINATION ====*/
.page-numbers {
  display: inline-block;
  padding: 5px 10px;
  margin: 0 2px 0 0;
  border: 1px solid #eee;
  line-height: 1;
  text-decoration: none;
  border-radius: 2px;
  font-weight: 600;
}
.page-numbers.current,
a.page-numbers:hover {
  background: #A71930;
  color: #ffffff;
}
/* ==== PAGINATION ENDS ==== */

/* ==== SEARCH BAR ==== */
/*** STYLES ***/
.search {
  display: inline-block;
  position: relative;
  height: 33px;
  width: 32px;
  box-sizing: border-box;
  margin: 0px 8px 7px 0px;
  padding: 7px 9px 0px 9px;
  border: 3px solid #FFFFFF;
  border-radius: 25px;
  transition: all 200ms ease;
  cursor: text;
}
.search:after {
  content: "";
  position: absolute;
  width: 3px;
  height: 20px;
  right: -5px;
  top: 21px;
  background: #FFFFFF;
  border-radius: 3px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  transition: all 200ms ease;
}
.search.active,
.search:hover {
  width: 200px;
  margin-right: 0px;
}
.search.active:after,
.search:hover:after {
  height: 0px;
}
.search input {
  width: 100%;
  border: none;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 15px;
  color: #ffffff;
  background: transparent;
  outline-width: 0px;
}

/* ==== SEARCH BAR ENDS ==== */

/* ==== ACCORDION ==== */
.accordion {
  width: 100%;
  max-width: 1110px;
  height: 400px;
  overflow: hidden;
  margin: 50px auto;
}
.accordion ul {
  width: 100%;
  display: table;
  table-layout: fixed;
  margin: 0;
  padding: 0;
}
.accordion ul li {
  display: table-cell;
  vertical-align: bottom;
  position: relative;
  width: 16.666%;
  height: 400px;
  background-repeat: no-repeat;
  background-position: center center;
  transition: all 500ms ease;
}
.accordion ul li div {
  display: block;
  overflow: hidden;
  width: 100%;
}
.accordion ul li div a {
  display: block;
  height: 400px;
  width: 100%;
  position: relative;
  z-index: 3;
  padding: 15px 20px;
  box-sizing: border-box;
  color: #fff;
  text-decoration: none;
  transition: all 200ms ease;
}
.accordion ul li div a * {
  opacity: 0;
  margin: 0;
  width: 100%;
  text-overflow: ellipsis;
  position: relative;
  z-index: 5;
  /*white-space: nowrap;*/
  overflow: hidden;
  -webkit-transform: translateX(-20px);
  transform: translateX(-20px);
  -webkit-transition: all 400ms ease;
  transition: all 400ms ease;
}
.accordion ul li div a h2 {
  text-overflow: clip;
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 2px;
  top: 160px;
}
.accordion ul li div a p {
  top: 160px;
  font-size: 13.5px;
  display: block;
  max-width: 550px;
}
.accordion ul:hover li, .accordion ul:focus-within li {
  width: 8%;
}
.accordion ul li:focus {
  outline: none;
}
.accordion ul:hover li:hover,
.accordion ul li:focus, .accordion ul:focus-within li:focus {
  width: 60%;
}
.accordion ul:hover li:hover a,
.accordion ul li:focus a, .accordion ul:focus-within li:focus a {
  background: rgba(0, 0, 0, 0.4);
}
.accordion ul:hover li:hover a *,
.accordion ul li:focus a *, .accordion ul:focus-within li:focus a * {
  opacity: 1;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.accordion ul:hover li {
  width: 8% !important;
}
.accordion ul:hover li a * {
  opacity: 0 !important;
}
.accordion ul:hover li:hover {
  width: 60% !important;
}
.accordion ul:hover li:hover a {
  background: rgba(0, 0, 0, 0.4);
}
.accordion ul:hover li:hover a * {
  opacity: 1 !important;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

/* Slider Mobile */
.carousel-item {
   width:370px; /*container-width*/
   overflow: hidden; /*hide bounds of image */
   margin:0; /*reset margin of figure tag*/
}
.carousel-item img{
   display:block; /*remove inline-block spaces*/  
   margin:0 -38.885%;
   width:177.777%;
   height: 350px;
}

.searchmobile input{
  border: 1px solid #fff;
  border-radius: 5px;
  padding: 3px 20px;
}

.searchmobile{
  display: none;
}



/*Jorge Styles*/



/* Carrers*/
  
.carrers-form input[type=submit],
.carrers-form input[type=file] {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

/*Quienes somos*/

.crop-img-colaboradores figure {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.crop-img-colaboradores figure img {
    left: 50%;
    top: 50%;
    position: relative;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.gallery-post-meta h1{
  font-size: 30px;
  text-transform: uppercase;
}

.gallery-post-meta h1 a:hover{
  color: #818182;
}

.gallery-post-meta span{
  font-weight: 400;
  display: inline-block;
  text-transform: uppercase;
}


.category-post{
    color: #dc3545;
    font-size: 1rem;
}

.category-post a{
  color: #ff5252;
}

.category-post a:hover{
  color: #b23939;
}

.author-post{
color: #32363F;
font-size: 1.5rem;
}

.author-post a{
color: #32363F;
}

.author-post a:hover{
 color: #bdbebf;
}

.excerpt{
  color: #818182;
  font-weight:300;
  text-transform: initial;
  font-size: 1.1rem;
}

.no-gutter{
padding: 0;
margin: 0;
}

/*Pagination*/

.paged{
    margin: 30px auto;
}

.paged > .prev, .paged > .next{
    color: #000;
    background-color: #fff;
    border: 1px solid #000 !important;
  }

.paged > .prev:hover, .paged > .next:hover{
    font-weight: bold
}

.page-numbers{
    color: #dc3545 ;
    background-color: #fff;
    border: 1px solid #dc3545 !important;
    cursor: pointer;
    display: inline-block;
    font-size: 10px;
    line-height: 1;
    margin: 0px;
    outline: none;
    padding: 10px;
    position: relative;
    text-align: center;
    text-decoration: none !important;
    -webkit-transition: background-color 0.2s ease-in-out;
    -moz-transition: background-color 0.2s ease-in-out;
    -o-transition: background-color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out;
    word-spacing: 0.1em;
    letter-spacing: 0.01em;
}

.page-numbers:hover{
  color: #fff;
  background-color: #dc3545;
}


.current{
  color: #fff;
  background-color: #dc3545;
  font-weight: bold;
}

.current:hover{
  color: #fff;
  background-color: #dc3545;
}

.btn-susc {
    color: #dc3545;
    background-color: #fff;
    border-radius: 2px;
    border: 1px solid#dc3545;
    font-weight: 100;
}

.btn-susc:hover{
    color: #fff;
    background-color:#dc3545 ;
}

.imgContent{
  margin: 10px 0px;
}


/*Instagram*/

.instagram {
    list-style: none;
    text-align: center!important;
    width: 100%;
    overflow-x: scroll;
}

.instagram li > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 1800px;
    overflow: hidden;
    height: 150px;
}

.instagram li > ul li{
  display: inline-block;
}

/*MEDIA*/


@media (min-width:320px) and (max-width:767px){
.single h1{
  font-size: 26px;
  letter-spacing: -.5px;
  line-height: 30px;
}

.single h3 {
  font-size: 20px;
    font-weight: 400;
    line-height: 26px;
}

.single h2 {
  font-size: 18px;
}

.single .rounded-circle{
width: 45px;
height: 45px;
}

.single .content-single{
  font-size: 16px;
}

.btn-circle {
    width: 35px;
    height: 35px;
    padding: 0px 10px;
    font-size: 14px;
    line-height: 1.33;
    border-radius: 25px;
}

#socialmedia-footer{
  text-align: center !important;
}

.navbar-brand {
    /*padding-top: .3125rem;
    padding-bottom: .3125rem;*/
    margin-right: 0; 
}

header {
    height: 80px !important; 
}

.searchbutton span{
    color: #fff;
    font-size: 30px;
}

.featured-post {
    height: 300px;
    color: #fff;
}

.featured-post figure {
    position: relative;
    height: 250px;
    overflow: hidden;
    z-index: 1;
}

.featured-post-meta {
    bottom: 0;
     width: 100%;
    padding: 10px;
    left: 0;
}

.featured-post-author{
  font-size: 12px;
}

.featured-post-meta h1 a {
    font-size: 14px;
}

.featured-post-meta h1 {
    font-size: unset;
}

}


@media screen and (max-width: 600px) {
  body {
    margin: 0;
  }

  .accordion {
    height: auto;
  }
  .accordion ul li, .accordion ul li:hover, .accordion ul:hover li, .accordion ul:hover li:hover {
    position: relative;
    display: table;
    table-layout: fixed;
    width: 100%;
    -webkit-transition: none;
    transition: none;
  }
}
.about {
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  color: #666;
}
.about a {
  color: blue;
  text-decoration: none;
}
.about a:hover {
  text-decoration: underline;
}
/* ==== ACCORDION ENDS ==== */

/* ==== WORDPRESS ==== */
p.wp-caption-text {
  font-size: .6em;
}
/* ==== WORDPRESS ==== */

h4 {
  font-size: 1rem;
}


@include media-breakpoint-up(sm) {
  h4 {
    font-size: 1.2rem;
  }
}

@include media-breakpoint-up(md) {
  h4 {
    font-size: 1.4rem;
  }
}

@include media-breakpoint-up(lg) {
  h4 {
    font-size: 1.6rem;
  }
}

@media only screen and (max-width: 1200px) {
  .nav-link, .dropdown-item {
    font-size: small;
  }
  #bs4navbar ul li a {
  font-size: .8em !important;
  }
  .img-crop {
  height: 163px;
  max-height: 163px;
  }
  .img-feat-crop {
    height: 363px;
    max-height: 363px;
  }
}
@media only screen and (max-width: 992px) {
  #bs4navbar ul li a {
  font-size: .6em !important;
  }
  .img-crop {
  height: 118px;
  max-height: 118px;
  }
  .img-feat-crop {
  height: 270px;
  max-height: 270px;
  }
  header {
  height: 106px;
  }
}
@media only screen and (max-width: 768px) {
  .img-crop {
  height: 84px;
  max-height: 84px;
  }
  .img-feat-crop {
  height: 420px;
    max-height: 420px;
  }
  .titulos-list h4 {
  font-size: .9rem;
  }
  .autor {
  font-size: .5rem !important;
  margin: 0 !important;
  }
  header {
  height: 150px;
  }
}

