.container-custom {
  margin-top: 240px;
}

#major-tabs .filter-btn {
  width: 100%;
  margin-bottom: 15px;
  /* padding: 16px 16px; */
  text-align: left;
  cursor: pointer !important;
  margin: 0px;
  display: inline-block;
  float: left;
  /* border-bottom: 0.2px solid #919191; */
  background: var(--light-gray);
  font-family: "Roboto-Light";
  font-size: 16px;
  padding: 0 20px;
}

#realted-links .filter-btn {
  width: 100%;
  margin-bottom: 15px;
  padding: 16px 16px;
  text-align: left;
  cursor: pointer !important;
  margin: 0px;
  display: inline-block;
  float: left;
  border-bottom: 0.2px solid #919191;
  background: var(--light-gray);
  font-family: "Roboto-Light";
  font-size: 16px;
}

.filter-btn div {
  border-bottom: 0.2px solid #919191;
  padding: 1rem 0;
}

#major-tabs a,
#realted-links a {
  font-family: "Roboto-Light";
}

#major-tabs a:hover,
#realted-links a:hover {
  font-family: "Roboto-Medium";
  color: var(--site-color);
  text-decoration: none;
}

#major-tabs .active {
  font-family: "Roboto-Medium";
  color: var(--site-color);
}

#major-tabs a {
  display: block;
}

/* mixitup  */

.majors {
  margin-bottom: 15px;
  font-size: 0;
}

.majors li.mix-target {
  text-align: left;
  font-size: 14px;
  width: calc(50% - 40px);
  margin: 0 20px;
  margin-bottom: 40px;
  display: inline-block;
}

.majors a {
  display: block;
  text-decoration: none;
  color: #fff;

  display: -webkit-box;
  /* -webkit-line-clamp: 1; */ /*Sideways Removed line-clmp to remove ... from majors page */
  -webkit-box-orient: vertical;
  /* overflow: hidden; */ /*Sideways Removed line-clmp to remove overflow*/
}

.majors .tab-info a {
  color: var(--secondary-color);
}

.majors .tab-info a:hover {
  color: var(--site-color);
}

.major-unit-head {
  font-family: "Playfair-Regular";
  font-size: 20px;
  letter-spacing: 1px;
  padding: 6px 15px;
  margin-bottom: 0px;
  text-transform: uppercase;
  min-height: 86px;
}

.tagging {
  height: 65px;
}

.majors img {
  width: 100%;
}

.back {
  background: var(--light-gray);
}

.back .tab-info {
  padding: 15px;
}

.mix-target .section-para {
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mix-target .front {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.mix-target .front,
.mix-target .back {
   min-height:300px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.tab-info a {
  position: relative;
  display: initial;
}

.tab-info a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  display: block;
  margin-top: -4px;
  right: 0;
  background: var(--site-color);
  transition: width 0.2s ease;
  -webkit-transition: width 0.2s ease;
}

.tab-info a:hover:after {
  width: 100%;
  left: 0;
  background: var(--site-color);
}

@media (min-width: 1401px) and (max-width: 1600px) {
  .mix-target .section-para {
    -webkit-line-clamp: 2;
  }
}

@media (min-width: 1201px) and (max-width: 1400px) {
  .majors li {
    width: calc(50% - 20px);
    margin: 0 10px;
    margin-bottom: 20px;
  }
  .mix-target .section-para {
    -webkit-line-clamp: 2;
  }
  .mix-target .tab-info p {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 1200) {
  .tagging {
    height: 125px;
  }
  
}

@media (max-width: 1025px) {
  .majors li {
    width: calc(100%);
    margin: 0 auto;
    margin-bottom: 40px;
  }
}

@media (max-width: 1024px) {
  .container-custom {
    margin-top: 180px;
  }
  .mix-target .front, .mix-target .back {
      min-height: 130px;
  }
  .majors li.mix-target {
      width: 100%;
  }

  .tagging {
    height: initial;
  }
}

@media (max-width: 992px) {
  .container-custom {
    margin-top: 40px;
  }
  .majors img {
      height: 100%;
  }
}

@media (max-width: 768px) {
  .container-custom {
    margin-top: 30px;
  }
  .majors li {
    margin: 0 auto;
    margin-bottom: 40px;
    width: 100%;
  }
  .majors img {
      height: 100%;
  }
}

@media (max-width: 576px) {
  .majors li {
    margin-bottom: 20px;
  }
}

@media (max-width: 480.98px) {
  #major-tabs {
    margin-bottom: 30px;
  }
  .back .tab-info {
    padding: 10px;
    font-size: 13.5px;
  }
  .back .tag {
    font-size: 11.5px;
  }
  .major-unit-head {
    font-size: 14px;
  }

  .mix-target .section-para {
    -webkit-line-clamp: 2;
  }
}

.front img {
  /*padding-right: 1px;*/
}


/* THUMB HEIGHT FIX */

@media (min-width: 769px) {
    .majors{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: flex-start;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .majors li.mix-target{
        width: 100%!important;
        margin-left: 0!important;
        margin-right: 0px!important;
        margin-bottom: 30px;
    }
    .majors li.mix-target:last-child{
        margin-bottom: 0px;
    }
    .major-unit-head{
        min-height: auto;
    }
}

