.p-2rem{
  padding: 2rem;
}
.mb-3rem{
  margin-bottom: 3rem;
}
.card-podcast-carousel{
  padding-top: 3rem;
}
.podcast-carousel-list{
  min-height: 400px;
  position: relative;
  z-index: 1;
  padding: 0;
}
.podcast-rounded-edges {
  border-radius: 2rem;
  will-change: transform;
  overflow: hidden;
}
.podcast-image{
  background-size: cover !important;
}
.podcast-image:hover{
  opacity: .95;
}
.podcast-image-link{
  display: block;
  width:100%;
  height: 100%;
}
.podcast-carousel-item{
  opacity: 0;
  transition: opacity .2s ease-out,transform .2s ease-out;
  position:  absolute;
  width: 100%;

}


.podcast-carousel-item:first-child {
  opacity: 0;
  transform: scale(110%) translateY(0%);
  z-index: -1;
}
.podcast-carousel-item:nth-child(2) {
  opacity: 1;
  transform: scale(105%) translateX(0%);
  z-index: 9;
}
.podcast-carousel-item:nth-child(3) {
  opacity: 1;
  transform: scale(100%) translateX(5%);
  z-index: 8;
}
.podcast-carousel-item:nth-child(4) {
  opacity: 1;
  transform: scale(95%) translateX(10%);
  z-index: 7;
}
.podcast-color-inverse h3 a{
  color: #FFF;
}
.podcast-color-inverse .card-footer .name{
  color: #FFFFFF;
}
.podcast-color-inverse .card-footer .text-muted{
  color: rgba(255,255,255,.7) !important;
}
.podcast-carousel-item .card-footer{
  margin-top: 0;
  margin-bottom: 1rem;
}
.podcast-carousel-item .card-footer .author{
  line-height: normal;
  font-size: 14px;
}

.podcast-carousel-item .card-footer .author .avatar{
  height: auto;
}
.podcast-button-wrapper{
  position: absolute;
  bottom:  2rem;
  left: 0;
  width: calc(100% - 30px)
}
.podcast-carousel-controls{
  position: relative;
  z-index: 100;
}
.podcast-carousel-controls button{
  background: none;
  border: 0;
}
.podcast-carousel-controls button:hover{
  opacity: 0.7;
}
.podcast-carousel-controls button img{
  max-width: 70px;
  height: auto;
}

@media only screen and (max-width: 1080px) {
  .podcast-carousel-item article{
    min-height: 500px;
  }
  .podcast-carousel-list {
    min-height: 500px;
    position: relative;
    z-index: 1;
    padding: 0;
    width: 96%;
  }
  .podcast-carousel-controls{
    margin-top: 2rem;
  }
  .podcast-carousel-item h3 a{
    display: block;
    font-size: 1.6rem;
  }
  .podcast-button-wrapper{
    left:15px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1080px){
  .podcast-carousel-list{
    width: 80%;
    margin:  0 auto;
  }
}


@media only screen and (min-width: 1280px) {
  .podcast-carousel-controls .mk-next{
    position: absolute;
    top: -270px;
    right: -160px;
  }
  .podcast-carousel-controls .mk-prev{
    position: absolute;
    top: -270px;
    left: -120px;
  }
  .podcast-carousel-item article{
    min-height: 380px;
  }
}


/*
    DAY / NIGHT
==========================*/

body, header,
.fixed-bottom-box-player .card-audio{
  -webkit-transition: background-color 500ms linear;
  -ms-transition: background-color 500ms linear;
  transition: background-color 500ms linear;
}
.dark-mode,
.dark-mode #header-main-content{
  background: #121212;
  color: #cecece;
}
.dark-mode .navbar-fixed-bottom-in-view .container-fluid{
  background: #1b1b1b;
}
.dark-mode .article-content blockquote{
  color: #ffffff;
}
.dark-mode a{
  color: #BFBFBF !important;
}
.dark-mode .fixed-bottom-box-player .card-audio {
  background: #121212;
}
.dark-mode .fixed-bottom-box-player .card-audio .icon-close{
  color: #FFFFFF;
}
.dark-mode .card-audio .card-footer{
  color: #2d68ad;
}
.dark-mode .box-recommend .card-articles{
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1px solid #5f5f5f;
}
.dark-mode .box-article-newsletter{
  border-color:  #5f5f5f;
}
.dark-mode .path-white{
  fill: #FFFFFF;
}
.dark-mode .path-gray{
  fill: #FFFFFF;
}
.dark-mode .card-articles .card,
.dark-mode .card-articles > .box{
  border-bottom: 1px solid #303030;
}
.dark-mode .form-control,
.dark-mode .btn-secondary{
  background: #121212;
  border-color: #5f5f5f;
}
.dark-mode .nav-tabs .nav-link.active{
  background: #121212;
}
.dark-mode .nav-tabs{
  border-color: #5f5f5f;
}
.dark-mode .nav-tabs .nav-link.active,
.dark-mode .nav-tabs .nav-link.active:hover{
  border-color: #5f5f5f;
  border-bottom: 1px solid #121212;
}
.dark-mode .nav-tabs .nav-link:focus,
.dark-mode .nav-tabs .nav-link:hover {
  border-color: #6b6b6b #6b6b6b #5f5f5f;
}
.dark-mode .list-comments > li{
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.dark-mode .btn-link{
  color: #CCC;
}

.dark-mode .card-articles .card-blue-light,
.dark-mode .card-articles .card-pink-light,
.dark-mode .card-articles .card-green-light,
.dark-mode .site-content,
.dark-mode .chatbot .full-greeting{
  background: transparent !important;
}
.dark-mode .site-nav{
  border-bottom: 1px solid #303030;
  background: #121212 !important;
}
.dark-mode .card-podcast-carousel{
  background: #303030 !important;
}
.dark-mode .card-podcast-carousel a.name,
.dark-mode .card-podcast-carousel h3 a
{
  color: #333 !important;
}
 .dark-mode .podcast-color-inverse a.name,
 .dark-mode .podcast-color-inverse h3 a{
  color:#fff !important;
}
 .dark-mode .mk-prev,
 .dark-mode .mk-next{
    filter: invert(100%) sepia(0%) saturate(6234%) hue-rotate(246deg) brightness(50%) contrast(156%);
 }

.dark-mode .modal-backdrop{
  background: rgba(0,0,0,0.85);
}
.dark-mode .modal-content,
.dark-mode .dropdown-menu,
.dark-mode .fixed-bottom-box .container-fluid{
  background: #121212
}
.dark-mode .dropdown-menu{
  border-color: #303030;
}
.dark-mode .modal-content .close{
  color: #ffffff;
}
.dark-mode .chatbot .messages>ul>li.right .text,
.dark-mode .chatbot .messages>ul>li.left .text{
  border: 1px solid #303030;
  background: #121212 !important;
}


#d_n{
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1029;
}
#d_n input[type="checkbox"] {
  -webkit-appearance: none;
  visibility: hidden;
  display: none;
}
.d_n_check {
  display: block;
  height: 20px;
  width: 40px;
  background: #0a0a0a url(../imgs/night_2.svg) right center no-repeat;
  border-radius: 20px;
  cursor: pointer;
  transition: ease-in 0.3s;
  overflow: hidden;
  position: relative;
  transform: scale(1.5);
  box-shadow: 0px 0px 2px rgba(0,0,0,0.3);
}
#d_n input[type="checkbox"]:checked ~ .d_n_check {
  background: white url(../imgs/day_2.svg) left center no-repeat;
}
.d_n_check:before {
  content: "";
  display: block;
  position: absolute;
  height: 16px;
  width: 16px;
  background: #02a87c;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: 0.5s;
}
#d_n input[type="checkbox"]:checked ~ .d_n_check:before {
  background: #02a87c;
  position: absolute;
  transform: translateX(20px);
}



@media screen and (min-width: 850px) {
  #d_n{
    z-index: 1031;
  }
}
