*{
    box-sizing: border-box;
}
.timline-padding{
    padding-top: 7rem;
    padding-bottom: 2rem;
}
.gallery-box{
   overflow: hidden;
   margin-bottom: 100px;
}

.gallery{
    margin-top: 60px;
    margin-bottom: 100px;
}

.slick-slide{
    position: relative;
    transition: 0.3s ease-in-out;
    max-height: 300px;
    overflow: hidden;
    margin: 0 1px;
}
.slick-slide:hover{
    cursor: move;
}

.slick-slide:after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: rgba(0,0,0,0.6);
}
.slick-slide.slide-focus{
    margin: 0 15px;
}

.slick-slide img{
    display: block;
    min-height: 100%;
    min-width: 100%;
}
.slick-slide h2{
    position: absolute;
    left: 0;
    bottom: 10px;
    transition: 0.3s ease-in-out;
    z-index: 1;
}
.slick-slide.slick-current:after{
    
    background: rgba(0,0,0,0.5);
}
.slick-slide.slick-current.slide-focus{
    transform: translateY(0px) scale(1);
    box-shadow: 0 0 0px #333;
    position: relative;
    /* margin-left: 15px;
     margin-right: 15px;*/
}

.slick-slide.slick-current img{
    border: 0px solid !important;
}
.slick-slide.slick-current{
    transform: translateY(60px)   scale(1.2);
    box-shadow: 0 0 19px #333;
    z-index: 2;
    position: relative;
    transition: 0.3s ease-in-out;
    /* margin-left: -2%;
     margin-right: -2%;*/
}

.slick-list{
    overflow: visible;
}
.slick-slide .data-title,
.slick-slide .data-date{
    color: #fff;
    padding-left: 20px;
    font-size: 1.9rem;
}
.slick-slide .data-date{
    font-weight: bold;
}

/*     timeline overlay css */
.time-overlay-wrapper{
    overflow: auto;
    width: 100%;
    position: relative;
    height: 100%;
    margin-bottom: 50px;

}
.time-overlay-wrapper .img-box{
    background: #fff;
}
.time-overlay{
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1); 
    transition-delay 0.1s;
}
.time-overlay{
    display: block;
    position: fixed;
    overflow: hidden;
    left: 50%;
    top: 50%;
    width: 50%;
    height: 50%;
    margin-top: -25%;
    margin-left: -25%;
    opacity: 0;
    z-index: -5;
    background: rgba(0,0,0,0.7);    
}

.time-overlay.active{
    display: block;
    opacity: 1;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin-top: 0px;
    margin-left: 0px;
}
.time-overlay .time-box{
    position: relative;
}
.time-overlay .text-box-body{
    /*display: none;*/
}
.time-overlay .grid-container .img-box{
    margin-left: 0rem;
    overflow: hidden;
    min-height: 500px;
}
.time-overlay .grid-container .text-box{
    background: #fff;
    color: #222;
    padding: 20px;
    padding-left: 40px;
    margin-right: 0rem;
    position: relative;
}
.time-overlay .img-box img{
    display: block;
    width: 100%;
    transition: all 0.5s linear;   
}

.time-overlay .btnx.next-time-card{
    margin-left: 15px;
}
.time-overlay .btnx{
    box-sizing: border-box;
    padding: 4px 10px;
    color: #fff;
    background: #333;
    cursor: pointer;
    display: inline-block;
}

.time-overlay h2{
    font-size: 2rem;
    margin-bottom: 20px;
}
.time-overlay h5{
    font-weight: bold;
    margin-top: 40px;
    font-size: 1rem;
}
.time-overlay .grid-container{
    margin-top: 50px;
    margin-bottom: 50px;
}
.time-overlay .time-close-btn{
    position: absolute;
    top: 2px;
    left: 2px;
    cursor: pointer;
    padding: 2px 7px;
}
.time-overlay .text-footer{
    position: absolute;
    right: 20px;
    bottom: 10px;
}
/*           Slick Arrow         */
.slick-prev{
    left: 0px;
}

.slick-prev, 
.slick-next{
    color: #f1f1f1;
    font-size: 40px;
    width: auto;
    height: auto;
    z-index: 10;
}
.slick-prev{
    left: 5px;
}   
.slick-next{
    right: 5px;
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus
{
    color: #fff;
    outline: none;
    background: transparent;
}

/*  Timeline slider  */
.timeline-box{
    position: relative;
    margin-top: 50px;
    height: 120px;
    overflow: hidden;
}

.slider-knob.auto{
    display: none;
}
.timeline-box:hover .slider-knob.auto{
    display: block;
}

.timeline-box .date-item span{
    padding: 0px 5px;
    background: #fff;
}
.timeline-box .date-item{

    display: inline-block;
    text-align: center;
    /* background: #888;*/
    /*float: left;*/
    height: 100%;
}
.timeline-wrapper .date-box-hide{
    overflow-x: scroll;
    height: 160px;
    transition: all 0.5s;
}
.timeline-wrapper .date-box{
    position: relative;
    top: 50%;
    margin-top: -24px;
}
.timeline-box .date-box:after{
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    height: 1px;
    width: 100%;
    background-image: linear-gradient(to right, black 33%, rgba(255,255,255,0) 0%);
    background-position: bottom;
    background-size: 3px 1px;
    background-repeat: repeat-x;
    z-index: -1;
}

/*   timeline wrapper */
.timeline-wrapper{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 120px;
    z-index: 0;
}
.timeline-wrapper .slider{
    height: 1px;
    background-image: linear-gradient(to right, black 33%, rgba(255,255,255,0) 0%);
    background-position: bottom;
    background-size: 3px 1px;
    background-repeat: repeat-x;
}z
/* mht-slider-box*/
.mht-slider-box{
    position: relative;
    top: 50%;
    margin-top: -12px;
}
.mht-slider-box input{
    -webkit-appearance: none;  /* Override default CSS styles */
    appearance: none;
    margin: auto;
    width: 100%; /* Full-width */
    display: block;
    height: 25px; /* Specified height */
    background: transparent; /* Grey background */
    outline: none; /* Remove outline */
    opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
    -webkit-transition: .2s; /* 0.2 seconds transition on hover */
    cursor: move;
    position: relative;
    transition: all 0.5s;
}
input#mht-slider:focus {
    outline: none;
}
input#mht-slider::-ms-track{
    width: 100%;
    cursor: move;

    background: transparent;
    border-color: transparent;
    color: transparent;
}
input#mht-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 0;
    height: 0;
    cursor: move;
    background: #222;
    padding: 5px;
    border: 7px solid #fff;
    border-radius: 0;
    display: block;
    box-shadow: 0 0 0px 1px #444;
}

input#mht-slider::-moz-range-thumb {
    width: 0;
    height: 0;
    background: #222;
    cursor: move;
    border-radius: 0;
    padding: 5px;
    border: 7px solid #fff;
    display: block;
    box-shadow: 0 0 0px 1px #444;
}
input#mht-slider::-ms-thumb {
    width: 0;
    height: 0;
    cursor: move;
    background: #222;
    padding: 5px;
    border: 7px solid #fff;
    border-radius: 0;
    display: block;
    box-shadow: 0 0 0px 1px #444;
}

input#mht-slider:focus::-webkit-slider-runnable-track{
    background: transparent;
}
input#mht-slider::-webkit-slider-runnable-track{
    background: transparent ;
    width: 100%;
    height: 26px;
    cursor: move;;
    border: 0 solid #fff;
}
input#mht-slider::-moz-range-track{
    background: transparent ;
    width: 100%;
    height: 26px;
    cursor: move;;
    border: 0 solid #fff;
}


input#mht-slider:after{
    content: "click & drag";
    position: absolute;
    font-size: 12px;
    bottom: -29px;
    left: 50%;
    width: 64px;
    text-align: center;
    margin-left: -32px;
    color: #000;
}
.swipe-icon {
    overflow:visible;
    width:30px;
    height:24px;
    margin: 0 auto;
    display: block;
    position: relative;
    left: -12px;
}


.swipe-icon {
  animation: hand-move 2s ease-out infinite;
}

/*.swipe-icon .swipe-left-arrow {
    animation: pulse-arrow-left 2s ease-out infinite;    
}

.swipe-icon .swipe-right-arrow {
    animation: pulse-arrow 2s ease-out infinite;
}*/

@media screen and (max-width: 639px){
    .time-overlay .grid-container .img-box{
        margin-left: .625rem;
    }
    .time-overlay .grid-container .text-box{
        /*margin-right: .625rem;*/
        padding-left: 20px;
    }
    .timeline-box {
        display: none;
    }

    .slick-slide{
        max-height: 400px;
    }
    .timline-padding{
        padding-bottom: 0px;
    }
    .time-overlay .text-footer{
        right: 2px;
        top: 2px;
        bottom: auto;
    }
    .gallery-box{
        margin-bottom: 0;
    }
}

@media screen and (max-width: 838px){
   .slick-prev,
   .slick-next{
        display: none !important;
   } 
}

@media screen and (max-width: 837px) {
    .slick-slide{
        max-height: 200px;
    }
}

@media screen and (max-width: 1087px) AND (min-width: 838px){
    .slick-slide{
        max-height: 160px;
    }
}

@media screen and (max-width: 1240px) AND (min-width: 1088px) {
    .slick-slide{
        max-height: 200px;
    }
}
@media screen and (max-width: 1466px) AND (min-width: 1239px){
    .slick-slide{
        max-height: 250px;
    }
}
@media screen and (min-width: 2560px){
    .slick-slide{
        max-height: 400px;
    }
}
@keyframes pulse-arrow {
  0%   {transform: translateX(0); opacity:1;}
  50%  {transform: translateX(0.25em);opacity:1;}
  75% {transform: translateX(0.25em);opacity:0;}
  100% {transform: translateX(0);opacity:0;}
}
@keyframes pulse-arrow-left {
  0%   {transform: translateX(0.25em); opacity:0;}
  50%  {transform: translateX(0);opacity:0;}
  75% {transform: translateX(0);opacity:1;}
  100% {transform: translateX(0.25em);opacity:1;}
}

@keyframes hand-move {
  0%   {transform: translateX(0);}
  50%  {transform: translateX(0.5em);}
  100% {transform: translateX(0);}
}
