.timeline__item.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
	width:0px !important;
	padding:0;
}
.timeline__item.additionalfields.hidden, .timeline__item.additionalfields.is-hidden{
      opacity: 0;
    visibility: hidden;
    pointer-events: none;
		width:0px !important;
	padding:0 !important;
}
.timeline {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative
}

.timeline *,
.timeline :after,
.timeline :before {
    -webkit-box-sizing: inherit;
    box-sizing: inherit
}

.timeline:not(.timeline--horizontal):before {
    background-color: #ddd;
    bottom: 0;
    content: '';
    left: 50%;
    margin-left: -2px;
    position: absolute;
    top: 0;
    width: 4px;
    z-index: 1
}

.timeline__wrap {
    overflow: hidden;
    position: relative;
    z-index: 2
}
.timeline__item h6{
	margin: 20px 0 0 0;
}
.timeline__item {
    font-size: 16px;
    font-size: 1rem;
    padding: .625rem 2.5rem .625rem 0;
    position: relative;
    width: 50%;
    z-index: 2;
}
.timeline--horizontal .timeline__item{
	padding-left: 10px !important;
	padding-right: 10px !important;
}
.timeline__item:after {
    background-color: #fff;
    border: 4px solid #ddd;
    border-radius: 50%;
    content: '';
    height: 20px;
    position: absolute;
    right: -10px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 50%;
    width: 20px;
    z-index: 1
}

.timeline__item.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    opacity: 0
}

.timeline__item.fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn
}

.timeline__item--left {
    left: 0
}

.timeline__item--right {
    left: 50%;
    padding: .625rem 0 .625rem 2.5rem
}

.timeline__item--right:after {
    left: -10px
}

.timeline__item--right .timeline__content:before {
    border-bottom: 10px solid transparent;
    border-right: 12px solid #ccc;
    border-left: none;
    border-top: 10px solid transparent;
    left: -12px
}

.timeline__item--right .timeline__content:after {
    border-bottom: 9px solid transparent;
    border-right: 11px solid #fff;
    border-left: none;
    border-top: 9px solid transparent;
    left: -10px
}

.timeline__content {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    color: #333;
    display: block;
    padding: 5px 20px !important;
    position: relative
}

.timeline__content:after,
.timeline__content:before {
    content: '';
    height: 0;
    position: absolute;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 50%;
    width: 0
}

.timeline__content:before {
    border-bottom: 10px solid transparent;
    border-left: 12px solid #ccc;
    border-top: 10px solid transparent;
    right: -12px;
    z-index: 1
}

.timeline__content:after {
    border-bottom: 9px solid transparent;
    border-left: 11px solid #fff;
    border-top: 9px solid transparent;
    right: -10px;
    z-index: 2
}

.timeline__content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 .625rem
}

.timeline__content p {
    font-size: .9375rem;
    line-height: 1.5;
    margin-bottom: 10px
}

.timeline--horizontal {
    font-size: 0;
/*     padding: 0 3.125rem; */
    overflow: hidden;
    white-space: nowrap
}

.timeline--horizontal .timeline-divider {
    background-color: #000;
    display: block;
    height: 4px;
    left: 40px;
    position: absolute;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 40px;
    z-index: 1
}

.timeline--horizontal .timeline__items {
    -webkit-transition: all .8s;
    -o-transition: all .8s;
    transition: all .8s;
    will-change: transform
}

.timeline--horizontal .timeline__item {
    display: inline-block;
    left: 0;
    padding: 0 0 2.5rem;
    position: relative;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    vertical-align: top;
    white-space: normal
}

.timeline--horizontal .timeline__item:after {
    left: 50%;
    right: auto;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 100%
}

.timeline--horizontal .timeline__item .timeline__item__inner {
    display: table;
    height: 100%;
    width: 100%
}

.timeline--horizontal .timeline__item .timeline__content__wrap {
    display: table-cell;
    margin: 0;
    padding: 0;
    vertical-align: bottom
}

.timeline--horizontal .timeline__item .timeline__content:before {
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #ccc;
    left: 50%;
    right: auto;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    top: 100%
}

.timeline--horizontal .timeline__item .timeline__content:after {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
    left: 50%;
    right: auto;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    top: 100%
}

.timeline--horizontal .timeline__item--bottom {
    padding: 2.5rem 0 0
}

.timeline--horizontal .timeline__item--bottom:after {
    top: 0
}

.timeline--horizontal .timeline__item--bottom .timeline__content__wrap {
    vertical-align: top
}

.timeline--horizontal .timeline__item--bottom .timeline__content:before {
    border-bottom: 12px solid #ccc;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: none;
    bottom: 100%;
    top: auto
}

.timeline--horizontal .timeline__item--bottom .timeline__content:after {
    border-bottom: 10px solid #fff;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: none;
    bottom: 100%;
    top: auto
}

.timeline-nav-button {
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 50px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
    cursor: pointer;
    display: block;
    height: 40px;
    outline: 0;
    position: absolute;
    text-indent: -9999px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 50%;
    width: 40px;
    z-index: 10
}

.timeline-nav-button:disabled {
    opacity: .5;
/*     pointer-events: none */
}

.timeline-nav-button:before {
    background-position: center center;
    background-repeat: no-repeat;
    content: '';
    display: block;
    height: 14px;
    left: 50%;
    position: absolute;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    top: 50%;
    width: 8px
}
.timeline-nav-button.timeline-nav-button--prev:before{
	   transform: rotate(180deg) !important;
}
.timeline-nav-button--prev {
    left: 0
}

.timeline-nav-button--prev:before {
/*     background-image: url(https://cofam-mcgill.ca/wp-content/uploads/2026/01/cofam-arrow.svg) */
}

.timeline-nav-button--next {
    right: 0
}

.timeline-nav-button--next:before {
/*     background-image: url(https://cofam-mcgill.ca/wp-content/uploads/2026/01/cofam-arrow.svg) */
}

.timeline--mobile {
    padding: 0
}

.timeline--mobile:before {
    left: 8px !important;
    margin: 0 !important
}

.timeline--mobile .timeline__item {
    left: 0;
    padding-left: 40px;
    padding-right: 0;
    width: 100%
}

.timeline--mobile .timeline__item:after {
    left: 2px;
    margin: 0
}

.timeline--mobile .timeline__item .timeline__content:before {
    left: -12px;
    border-bottom: 12px solid transparent;
    border-right: 12px solid #ccc;
    border-left: none;
    border-top: 12px solid transparent
}

.timeline--mobile .timeline__item .timeline__content:after {
    left: -8px;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #fff;
    border-left: none;
    border-top: 10px solid transparent
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
        top: 70px
    }
    100% {
        opacity: 1;
        top: 0
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        top: 70px
    }
    100% {
        opacity: 1;
        top: 0
    }
}

@-webkit-keyframes liftUp {
    0% {
        top: 0
    }
    100% {
        top: -15px
    }
}

@keyframes liftUp {
    0% {
        top: 0
    }
    100% {
        top: -15px
    }
}
.timeline--horizontal .timeline-divider{
    height: 3px;
    background-color:#000;
}
.timeline__content{
    padding: 0;
}
.timeline__content h2{
    font-size: 55px;
/*     font-family: 'Poppins'; */
/*     font-weight: 500; */
/*     color:#FF5757; */
}
.timeline__content p{
    font-size: 14px;
/*     font-family: 'Poppins'; */
    font-weight: 400;
/*     color:#20134A; */
}
.timeline--mobile .timeline__item::after {
    top: 50px;}
 .timeline__item::after{
    background-color: #000;
    border:0px solid #000;
    width:15px;
    height:15px;
}
.timeline__content{
    border:0px solid black;
    border-radius:0;
}
.timeline__content:before, .timeline__content:after{
    display: none;
}
.timeline:not(.timeline--horizontal)::before{
    width: 3px;
    background-color:#000;
}

.timeline {
    position: relative !important;
}
.timeline p:empty{
    display: none !important;
    margin-bottom: 0 !important;
}
.timeline h3{
    margin:0 0 15px 0 !important;
}
.timeline h6{
    color:#ED1B2F !important;
    margin-bottom: 10px !important;
}
.timeline__item.cofam .timeline__content{
    background-color:#ED1B2F !important;
    color:white !important;
}
.timeline__item.efforts .timeline__content{
    background-color:#000 !important;
    color:white !important;
}
.timeline__item.cofam .timeline__content h3, .timeline__item.efforts .timeline__content h3{
    color:white;
}
.timeline-divider {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
}

.timeline-nav-button {
    position: absolute !important;
    transform: translateY(-50%) !important;
}

.timeline-divider {
    top: var(--timeline-mid) !important;
}

.timeline-nav-button {
    top: var(--timeline-mid) !important;
}

.timeline__item {
    flex: 0 0 auto !important;
}

.timeline__item.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    width:0 !important;
    padding:0 !important;
/*     display: none !important; */
}
.timeline--horizontal .timeline__item::before{
    content:" " !important;
    height:50px;
    position: absolute;
    top:0;
    left:50%;
    transform: translatex(-50%);
    width:2.5px;
    display: inline-block !important;
    background-color:#000 !important;
}
.timeline--horizontal .timeline__item.timeline__item--top::before{
     top:auto;
    bottom:0;
    left:50%;
}
.timeline-nav-button:disabled {
  opacity: 1 !important;
}
.timeline-filters label{
    display: block;  
}

.timeline-filters label input{
    margin-bottom: 8px;
}
.timeline-filters label input{
    accent-color: #ED1B2F;
    color:#ED1B2F!important;
}

.fusion-button.filter-btn{
    margin-top: 10px;
    margin-bottom: 10px;

}
.timeline__item.ampl h6{
    color:#000 !important;
}
.timeline__item.cofam h6{
    color:#fff !important;
}
/* Styles to make then all aligned to bottom etc */
@media only screen and (max-width: 800px){
.timeline__item.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
	width:0px !important;
	padding:0;
	display:none !important;
}
.timeline__item.additionalfields.hidden, .timeline__item.additionalfields.is-hidden{
      opacity: 0;
    visibility: hidden;
    pointer-events: none;
		width:00px !important;
	padding:0 !important;
		display:none !important;
}
}


@media only screen and (min-width: 800px) {
	    .timeline__item--top{
        /* transform: translateY(221px); */
/*         padding: 2.5rem 0 0 !important; */
    }
    .timeline__item--top.timeline__item::after{
/*         top:0; */
    }

    .timeline--horizontal .timeline__item::after{
/*         left:25px !important; */
 
    }
    .timeline-nav-button{
        border:0px solid black;
        background-color:transparent !important; 
    }
    .timeline-nav-button--prev{
/*         left:23px; */
		left:0;
    }
    .timeline-nav-button--next{
/*         right:23px; */
		right:0px;
    }
/* 	.timeline.timeline--loaded.timeline--horizontal{
		opacity:1 !important;
	} */
    
    /* .timeline__item, .timeline__content{
        height: 400px !important;
    } */
	.timeline-filters label{
    display: inline-block;  
    margin-right:25px;
}
  .timeline-nav-button--prev {
    content: " " !important;
    background-image: url('https://cofam-mcgill.ca/wp-content/uploads/2026/06/arrow-white-prev-01.svg');
    background-repeat: no-repeat;
/*     height: 35px !important;
    width: 35px !important; */
    position: absolute;
    transform: rotate(180deg);
    z-index: 1000;
    background-color: #ED1B2F !important;
    border-radius: 35px;
    text-align: left;
    line-height: 6px;
    background-position: center center;
    background-position-x: center;
    padding: 5px;
    border: 2.5px solid black;
    background-position-x: 13px;
	  background-size: 10px;
  }
	.timeline-nav-button.timeline-nav-button--next {
    content: " " !important;
    background-image: url('https://cofam-mcgill.ca/wp-content/uploads/2026/06/arrow-white.svg');
    background-repeat: no-repeat;
/*     height: 35px;
    width: 35px; */
    position: absolute;
    z-index: 1000;
    background-color: #ED1B2F !important;
    padding: 0px 2px;
    border-radius: 35px;
    text-align: left;
    line-height: 6px;
    background-position: center center;
    background-position-x: center;
    padding: 5px;
    border: 2.5px solid black;
    background-position-x: 14px;
  }
	.timeline-nav-button--prev:hover, .timeline-nav-button--next:hover{
    background-color: #000 !important;
}
/* 	 .timeline__items {
    max-height: 330px !important;
  } */
}
