/* Typography */
:root {
    --font-family-united: 'United Sans', 'acumin-pro', sans-serif;
    --font-family-united-condensed: 'United Sans Condensed', 'acumin-pro-condensed', sans-serif;
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-regular: 500;
    --font-weight-bold: 700;

    /* Font Sizes */
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    
    /* Line Heights */
    --line-height-base: 1.5;
    
    /* Letter Spacing */
    --letter-spacing-wide: 0.5px;
}

/* Colors */
:root {
    /* Brand Colors */
    --color-euro-gold: #cfb991;
    --color-black: #000000;
    --color-white: #ffffff;
    
    /* Box Shadows */
    --shadow-button: 0 1px 2px 0 rgba(142,111,62,.3);
    
    /* Spacing */
    --spacing-button: 0.5rem 1.5rem;
    --spacing-icon-margin: 8px;
    
    /* Transitions */
    --transition-default: all 0.3s ease;
    --transition-transform: transform 0.3s ease;
    
    /* Border Radius */
    --border-radius-base: 4px;
} 
/* Program Card Container */
.program-card-container {
    -webkit-column-count: 2;
    -webkit-column-fill: balance;
    -webkit-column-gap: 1rem;
    column-count: 2;
    column-fill: balance;
    column-gap: 1rem;
    width: 100%;
}

/* Program Card */
.program-card {
    -webkit-column-break-inside: avoid;
    -webkit-flex-direction: column;
    -webkit-transition: -webkit-transform 0.2s ease, box-shadow 0.2s ease;
    background-color: var(--color-white);
    border-radius: var(--border-radius-base);
    border: 1px solid var(--color-euro-gold);
    break-inside: avoid;
    cursor: pointer;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
    height: 100%;
    min-height: 200px;
    padding: 1.5rem;
    page-break-inside: avoid;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.program-card:hover {
    -webkit-transform: translateY(-2px);
    box-shadow: var(--shadow-button);
    transform: translateY(-2px);
}

/* Program Name */
.program-name {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

/* Program Acronym Pill */
.program-acronym-pill {
    align-items: center;
    background-color: var(--color-euro-gold);
    border-radius: 999px;
    display: flex;
    height: 24px;
    justify-content: center;
    padding: 0.25rem 0.75rem;
}

.program-acronym-pill p {
    color: var(--color-black);
    font-family: var(--font-family-united);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    margin: 0;
}

/* Program Full Form */
.program-fullform {
    flex: 1;
    padding-right: 1rem;
}

.program-fullform h3 {
    color: var(--color-black);
    font-family: var(--font-family-united);
    font-size: calc(var(--font-size-lg) * 1.2);
    font-weight: var(--font-weight-bold);
    margin: 0;
}

/* Program Description */
.program-description {
    color: var(--color-black);
    display: block;
    flex-grow: 1;
    font-family: var(--font-family-united);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-base);
    margin: 0;
    text-align: justify;
}

.program-description strong {
    display: inline;
    font-weight: var(--font-weight-bold);
}

/* Status Pill Container */
.statusPillContainer {
    -webkit-align-items: flex-start;
    -webkit-flex-wrap: wrap;
    align-items: flex-start;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Program Status Pill */
.programStatusPill {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-family: var(--font-family-united);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    justify-content: flex-start;
    margin-right: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.25rem 0.75rem;
    width: fit-content;
}

.programStatusPill.closed {
    background-color: var(--danger);
    color: var(--color-white);
}

.programStatusPill.open {
    background-color: var(--teal);
    color: var(--color-white);
}

.programStatusPill.other {
    background-color: var(--warning);
    color: var(--color-black);
}

.program-footer {
    align-items: center;
    border-top: 1px solid var(--color-euro-gold);
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
}

.program-footer p {
    color: var(--color-black);
    font-family: var(--font-family-united);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-light);
    margin: 0;
}

/* Media Query */
@media (max-width: 768px) {
    .program-card-container {
        -webkit-column-count: 1;
        column-count: 1;
        margin-left: auto;
        margin-right: auto;
        max-width: 400px;
        min-width: 300px;
    }
}
/* ************************************************  */


.title {
  color: #000;
  font-weight: 900;
}

.leftfloat {
   float: left;
   margin-right: 10px;
   margin-top: 5px !important;
}

.break-point {
  display: inline-block;
  width: 0px;
  overflow: hidden;
}

/* Tweaks for mobile */

@media only screen and (max-width: 575px) {

  .timeline:before {
    width: 0px !important;
    left: 0px !important;
  }
  
  .timeline > li > .timeline-badge {
    left: 85% !important;
    top: -5% !important;
    margin-left: 0px !important;
    margin: 3px;
  }
  
  .timeline > li > .timeline-panel {
    width: 100% !important;
  }
   
  .timeline-heading {
    margin-right: 50px;
  }
   
  .timeline > li > .timeline-panel {
    float: right !important;
  }
  
  .timeline > li > .timeline-panel:before {
    border-left-width: 0 !important;
    border-right-width: 0 !important;
    left: auto !important;
    right: auto !important;
  }
  
  .timeline > li > .timeline-panel:after {
    border-left-width: 0 !important;
    border-right-width: 0 !important;
    left: auto !important;
    right: auto !important;
  }
  
}


/* https://codepen.io/bsngr/pen/Ifvbi */

.timeline {
  list-style: none;
  padding: 20px 0 0 0;
  position: relative;
}

.timeline:before {
  top: 50px;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 3px;
  background-color: #eeeeee;
  left: 50%;
}

.timeline > li {
  margin-bottom: 20px;
  position: relative;
  width: 100%;
}

.timeline > li:before,
.timeline > li:after {
  content: " ";
  display: table;
}

.timeline > li:after {
  clear: both;
}

.timeline > li > .timeline-panel {
  width: 46%;
  float: left;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  padding: 20px;
  position: relative;
  -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.timeline > li > .timeline-panel:before {
  position: absolute;
  top: 26px;
  right: -15px;
  display: inline-block;
  border-top: 15px solid transparent;
  border-left: 15px solid #ccc;
  border-right: 0 solid #ccc;
  border-bottom: 15px solid transparent;
  content: " ";
}

.timeline > li > .timeline-panel:after {
  position: absolute;
  top: 27px;
  right: -14px;
  display: inline-block;
  border-top: 14px solid transparent;
  border-left: 14px solid #fff;
  border-right: 0 solid #fff;
  border-bottom: 14px solid transparent;
  content: " ";
}

.timeline > li > .timeline-badge {  
  color: #fff;
  width: 80px;
  height: 80px;
  line-height: 17px;
  font-size: 1em;
  text-align: center;
  position: absolute;
  top: 2px;
  left: 48%;
  margin-left: -25px;
  background-color: #999999;
  z-index: 100;
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
  padding: 15px;
}

.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
}

.timeline-badge.primary {
  background-color: #2e6da4 !important;
}

.timeline-badge.success {
  background-color: #3f903f !important;
}

.timeline-badge.warning {
  background-color: #f0ad4e !important;
}

.timeline-badge.danger {
  background-color: #d9534f !important;
}

.timeline-badge.info {
  background-color: #5bc0de !important;
}

.timeline-title {
  margin-top: 0;
  color: inherit;
}

.timeline-body > p,
.timeline-body > ul {
  margin-bottom: 0;
}

.timeline-body > p + p {
  margin-top: 5px;
}

.item {
  margin-bottom: 2em;
}

.item .year {
  font-size: 1.25em;
  font-weight: bold;
  color: #999;
}

.item .title {
  font-size: 1.25em;
  font-weight: bold; 
}

.item .image,
.item .description {
  margin-top: 1em;
}
