/* Cassiopeia changes */
.container-header {
 background-color: #926d5a;
 background-image: linear-gradient(to bottom, #926d5a, #ffffff);
}
.container-header .mod-menu {
 color: #000000;
 font-size: 1.2rem;
 flex: unset;
}
.container-header .navbar-toggler {
 color: #000000;
 border: 1px solid #926d5a;
}

/* Top Menu */
@media (max-width: 767px) {
    li.active a.menu_home {
    border-bottom: 6px solid #926d5a;
  }
    li.active a.menu_farm {
    border-bottom: 6px solid #659d4c;
  }
  li.active a.menu_livestock {
    border-bottom: 6px solid #af545c;
  }
  li.active a.menu_events {
    border-bottom: 6px solid #f68a4d;
  }
  li.active a.menu_education {
    border-bottom: 6px solid #2aadce;
  }
}
@media (min-width: 768px) {
  .container-header .mod-menu a {
    border-top: 6px solid transparent;
    display: flex;
    padding: .5em 1em;
  }
  .container-header .mod-menu li {
    padding: 0;
  }
  a.menu_home:hover,
    li.active a.menu_home {
    border-top: 6px solid #926d5a;
  }
  a.menu_farm:hover,
    li.active a.menu_farm {
    border-top: 6px solid #659d4c;
  }
  a.menu_livestock:hover,
    li.active a.menu_livestock {
    border-top: 6px solid #af545c;
  }
  a.menu_events:hover,
    li.active a.menu_events {
    border-top: 6px solid #f68a4d;
  }
  a.menu_education:hover,
    li.active a.menu_education {
    border-top: 6px solid #2aadce;
  }
}

.icons {
            color: #ffffff;
        }

/* Page */
.farm h2 {
 color: #659d4c;
}
.livestock h2 {
 color: #af545c;
}
.events h2 {
 color: #f68a4d;
}
.education h2 {
 color: #2aadce;
}

/* Call Module */
.call {
 color: #fff;
 padding: 1em;
 text-align: center;
 border-start-start-radius: 50px;
 border-start-end-radius: 30px;
 border-end-start-radius: 20px;
 border-end-end-radius: 50px;
 font-size: 1.2em;
}
.farm .call {
 background-color: #659d4c;
}
.livestock .call {
 background-color: #af545c;
}
.events .call{
 background-color: #f68a4d;
}
.education .call{
 background-color: #2aadce;
}

/* Side Menus */
.side {
border-radius: 50px 30px 50px 20px; padding: 25px 40px; background: rgb(255, 255, 255); text-align: center;
}

.farm .side {
 border: 4px solid #659d4c;
}
.livestock .side {
 border: 4px solid #af545c;
}
.events .side {
 border: 4px solid #f68a4d;
}
.education .side {
 border: 4px solid #2aadce;
}


/* Icons */
li.active a.menu_home span {
  color: #926d5a;
}
li.active a.menu_farm span {
  color: #659d4c;
}
li.active a.menu_livestock span {
   color: #af545c;
}
li.active a.menu_events span {
   color: #f68a4d;
}
li.active a.menu_education span {
   color: #2aadce;
}

/* Timeline */
#timeline {
  position: relative;
  width: 100%;
  padding-inline: .5rem;
  margin: 30px auto;
}
#timeline:before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  content: "";
  background-color: #659d4c;
}
#timeline:after {
  display: table;
  width: 100%;
  clear: both;
  content: "";
}
.timeline-item:after,
.timeline-item:before {
  display: block;
  width: 100%;
  clear: both;
  content: "";
}
.timeline-item {
  position: relative;
  margin-bottom: 50px;
}
.timeline-item .timeline-icon {
  position: absolute;
  top: 0;
  left: 50%;
  width: 26px;
  height: 26px;
  margin-left: -23px;
  overflow: hidden;
  background-color: #659d4c;
  border-radius: 50%;
  border: 12px solid #fff;
  padding: 12px;
}
.timeline-item .timeline-content {
  width: 45%;
  padding: .5rem;
  background: #f4f4f4;
  border-radius: var(--border-radius);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
}
.timeline-item .timeline-content h2 {
  padding: .5rem;
  margin: -.5rem -.5rem .5rem -.5rem;
  font-size: 1.5rem;
  color: #fff;
  background-color: #659d4c;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}
.timeline-item .timeline-content p {
  margin-top: 1rem;
}
.timeline-item .timeline-content:before {
  position: absolute;
  top: 20px;
  left: 45%;
  width: 0;
  height: 0;
  content: "";
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 7px solid #659d4c;
}
.timeline-item:nth-child(even) .timeline-content {
  float: right;
}
.timeline-item:nth-child(even) .timeline-content:before {
  right: 45%;
  left: inherit;
  content: "";
  border-right: 7px solid #659d4c;
  border-left: 0;
}

@media (max-width: 768px) {
  #timeline {
    width: 90%;
    padding: 0;
    margin: 30px;
  }
  #timeline:before {
    left: 0;
  }
  .timeline-item .timeline-content {
    float: right;
    width: 90%;
  }
  .timeline-item .timeline-content:before,
  .timeline-item:nth-child(even) .timeline-content:before {
    left: 10%;
    margin-left: -6px;
    border-right: 7px solid #659d4c;
    border-left: 0;
  }
  .timeline-item .timeline-icon {
    left: 0;
  }
}