/*
 Theme Name:  Divi Child Theme
 Description:  Child Theme for Divi
 Author:       Holly Czuba
 Template:     Divi
 Version:      1.0.0
*/

/*****Add any custom CSS below this line*****/

.ds-timeline .timeline-item {
display: flex;
flex-wrap: wrap;
align-items: center;
margin-bottom: 0;
padding: 0 0 50px;
position: relative;
}

.ds-timeline .timeline-item:after {
content: '';
position: absolute;
width: 3px;
height: 100%;
visibility: visible;
top: 0;
left: 0;
margin-left: -1.5px;
background-color: #e76b21;
}

.ds-timeline .timeline-item .col-date {
position: relative;
padding-left: 40px;
}

.ds-timeline .timeline-item .col-date:before {
content: '';
position: absolute;
left: -18px;
top: 50%;
background-color: #e76b21;
width: 26px;
height: 26px;
margin-top: -35px;
border: 5px solid #f4f4f4;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
border-radius: 50%;
}

.ds-timeline .timeline-item .col-details {
padding-left: 40px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.12) 0.5em 0px 0px #000000;
-moz-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.12) 0.5em 0px 0px #000000;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.12) 0.5em 0px 0px #000000;
}

.ds-timeline .tm-date {
font-size: 18px;
}

.ds-timeline .tm-date h4 {
font-weight: 600;
font-size: 23px;
margin: 8px 0;
}

.ds-timeline .tm-video .et_pb_video_play {
font-size: 50px;
line-height: 56px;
margin: -28px auto auto -28px;
}

.ds-timeline .tm-video .et_pb_video_play:before {
content: '\45';
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
border-radius: 50%;
-webkit-transition: all 0.3s ease-in;
-moz-transition: all 0.3s ease-in;
-o-transition: all 0.3s ease-in;
transition: all 0.3s ease-in;
-webkit-transition-delay: 0;
-moz-transition-delay: 0;
-ms-transition-delay: 0;
-o-transition-delay: 0;
transition-delay: 0;
display: inline-block;
width: 56px;
height: 56px;
top: 50%;
left: 50%;
border: 2px solid #fff;
background-color: rgba(255, 255, 255, 0);
color: #fff;
text-align: center;
}

.ds-timeline .tm-video:hover .et_pb_video_play:before {
background: #00a99d;
border-color: #00a99d;
-webkit-transform: scale(1.25);
-moz-transform: scale(1.25);
-ms-transform: scale(1.25);
-o-transform: scale(1.25);
transform: scale(1.25);
}

.ds-timeline .tm-desc {
padding: 30px;
background-color: #fff;
}

.ds-timeline .tm-title {
border-bottom: 2px solid #f4f4f4;
border-left: 3px solid #00a99d;
background-color: #fff;
padding: 15px 30px;
}

.ds-timeline .tm-title h3 {
padding: 0;
line-height: 1.1;
font-weight: 600;
}

.ds-timeline .tm-countdown {
background-color: transparent !important;
padding: 0;
margin-bottom: 10px !important;
}

.ds-timeline .tm-countdown .et_pb_countdown_timer_container {
text-align: left;
display: flex;
}

.ds-timeline .tm-countdown .section.values {
width: auto;
max-width: 95px;
flex-grow: 1;
background-color: #fff;
color: #1d1c21;
padding: 12px 8px;
border-top: 3px solid #00a99d;
margin-right: 10px;
}

.ds-timeline .tm-countdown .section.values:last-child {
margin-right: 0;
}

.ds-timeline .tm-countdown .section.values .value {
font-weight: 800;
font-size: 27px !important;
line-height: 1 !important;
}

.ds-timeline .tm-countdown .section.values .label {
text-transform: uppercase;
}

.ds-timeline .tm-countdown .section.sep {
display: none;
}

@media (min-width: 980px) {
.ds-timeline .timeline-item:after {
left: 50% !important;
}

.ds-timeline .timeline-item:first-child:after {
height: 50%;
top: 50%;
}

.ds-timeline .timeline-item:last-child:after {
height: 50%;
}

.ds-timeline .timeline-item.even {
flex-direction: row-reverse;
}

.ds-timeline .timeline-item.even .col-details {
padding-right: 40px;
padding-left: 0 !important;
}

.ds-timeline .timeline-item.odd .col-date {
padding-right: 40px;
padding-left: 0 !important;
}

.ds-timeline .timeline-item.odd .col-date:before {
left: auto;
right: -18px;
}

.ds-timeline .timeline-item.odd .et_pb_button_module_wrapper {
    text-align: right;
}

.ds-timeline .timeline-item.odd .tm-date  {
text-align: right;
}

.ds-timeline .timeline-item.odd .tm-countdown .et_pb_countdown_timer_container {
justify-content: flex-end;
}
}