/* Timeline events haiti redesign page */

.timeline-posts .timeline-content {
    display: flex;
    padding: 20px 0;
}

.timeline-posts .timeline-content .yr-column {
    width: 20%;
    position: relative;
}
.timeline-posts .content-column p {
    margin: 0;
}
.timeline-content .content-column {
   width:80%
}
.timeline-content .yr-column h3.year {
  color:#0061ac;
  font-size:35px;
  font-weight:bold;
}
.timeline-content.repeated .yr-column h3.year {
  color:#a0cfeb;
}

.timeline-content .yr-column::after {
   position:absolute;
   content:'';
   width:2px;
   height:200%;
   right:30%;
   top:0;
   background-color:#0061ac;
}
.timeline-posts .ctl-timeline:last-child .timeline-content .yr-column::after {
   display:none;
}
.timeline-content .yr-column::before {
   position:absolute;
   content:'';
   width:10px;
   height:10px;
   right:28.2%;
   top:0;
   background-color:#0061ac;
   border-radius:100%
}
.timeline-content.repeated .yr-column::before {
    background-color: #fff;
    border: 1px solid #0061ac;
    z-index: 1;
}
.timeline-posts .hidden {
  display: none;
}
#timeline-section .actions {
    text-align: center;
    margin-top: 20px;
}
#timeline-section .ctl-timeline:nth-child(4) {
    margin-bottom: 40px;
}
#timeline-section .ctl-timeline.space {
    margin-bottom: 0px;
}
#timeline-section .actions .button {
    padding: 10px 50px;
    color: #ffffff;
    background: #285fa6;
    border-color: #285fa6;
}
#timeline-section .actions a {
    font-family: Montserrat;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 18px;
}

.haiti-icon .col-icon {
    position: relative;
    text-align: center;
    padding: 20px 10px;
    display: inline-block;
    width: 100%;
    margin-bottom: 0;
}
.haiti-icon .col-icon .kt-inside-inner-col {
  position: relative;
}
.haiti-icon .col-icon .kt-inside-inner-col:hover .overlay {
  opacity: 1;
}
.haiti-icon .col-icon .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    display: table;
    opacity: 0;
    transition: .5s ease;
    background-color: #f2f2f2;
    padding: 20px;
}
.haiti-icon .col-icon .overlay p {
    margin-bottom: 0;
    font-size: 16px;
}

@media (min-width: 768px) and (max-width: 1160px) {
    .haiti-icon .col-icon {
        margin-right: 0px !important;
    }
    .haiti-icon {
        margin-bottom: 20px !important;
    }
    .haiti-icon .col-icon .overlay {
        padding: 20px 10px !important;
    }
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
    .timeline-content .yr-column::before {
       right:27.2% !important;
    }
}

@media screen and (max-width: 767px) { 
    /* Timeline events haiti redesign page */
    .timeline-posts .timeline-content .yr-column {
        width: 40% !important;
    }
    .timeline-content .content-column {
       width: 60% !important;
    }
    .timeline-content .yr-column h3.year {
        margin-top: -10px;
        font-size: 30px !important;
        font-weight: 600 !important;
    }
    .timeline-posts .content-column p {
        font-size: 14px;
        line-height: 18px;
    }
    #timeline-section .actions {
        margin-top: 80px !important;
    }
    #timeline-section .collapsed {
        padding-bottom: 30px;
    }
    #timeline-section .collapsed .timeline-content .yr-column::after {
        height: 180%;
    }   
}

@media screen and (max-width:486px){
    .timeline-content .yr-column::before {
       right:27.2% !important;
    }
}

@media screen and (max-width: 375px){
    .timeline-content .yr-column::before {
       right:27.2% !important;
    }
}