/* -- Written with Mobile-First styles-- */

/* ----------------- Base Styles ----------------- */


/* ----------------- Content Containers ----------------- */
#building-details {
  display: inline-block;
}
@media (min-width: 768px) {
  #experience-details {
    margin-top: 40px;
  }
}
#experience-description {
  margin-bottom: 60px;
}
@media (min-width: 992px) {
  #experience-description {
    width: calc( 100% - 380px );
    float: left;
    margin-bottom: 60px;
  }
  #experience-data {
    width: 350px;
    margin-left: 30px;
    float: left;
  }
}
#experience-supplement {
  clear: left;
}

/* -----------------  #experience-description = Main Content Area ----------------- */

.field--name-field-media {
  margin-bottom: 45px;
}
.field--name-field-media img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
}

/* ----------------- #experience-data = Sidebar with Datapoints ----------------- */
#experience-data {
  border: solid 2px #fa4616;
  padding: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  margin-bottom: 60px;
}
#experience-data * {
  color: #024230;
}
#experience-data h2 {
  font-size: 38px;
  background-color: #e7ecc3;
  padding: 8px 0px 4px 0px;
}
#experience-data .detail-item {
  margin-bottom: 15px;
}
#experience-data .detail-item h3 {
  font-size: 25px;
  margin-bottom: 15px;
}
#experience-data .detail-item .detail-content {
  display: flex;
}
#experience-data .detail-item .detail-content .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #00694e;
  border-radius: 50%;
  width: 58px;
  height: 58px;
  margin-right: 15px;
  flex-basis: 58px;
}
#experience-data .detail-item .detail-content .icon.calendar {
  background-color: #a4d65e;
}
#experience-data .detail-item .detail-content .icon.times {
  background-color: #756e65;
}
#experience-data .detail-item .detail-content .icon.check {
  background-color: #024230;
}
#experience-data .detail-item .detail-content .icon.dollar {
  background-color: #C4AD4D;
}

#experience-data .detail-item .detail-content .icon.dollar i {
  color:#024230;
}

#experience-data .detail-item .detail-content .icon i{
  color: #ffffff;
  font-size: 30px;
}
#experience-data .detail-item .field--name-field-timing, #experience-data .detail-item .field--name-field-academic-credit, #experience-data .detail-item .field--name-field-cost, #experience-data .detail-item .field--name-field-contact, #experience-data .detail-item .field--name-field-link {
  flex-basis: calc(100% - 73px);
  text-align: left;
}
#experience-data .detail-item .detail-content p {
  margin-top: 0px;
}
#experience-data .detail-item .field--name-field-link a:after {
  content: "\f105 ";
  font-family: "Font Awesome 6 Sharp", "Font Awesome 6 Brands";
  font-weight: 700;
  padding-left: 6px;
  display: inline-block;
}

/* ----------------- #experience-supplement = Additional Information Section ----------------- */

/* ---- Testimonial ---- */
#experience-supplement .testimonial.row{
  clear: both;
  width: 100%;
  min-height: 300px;
  background: #00694e;
  align-items: center;
  margin: 0px;
}
@media (min-width: 992px) {
  #experience-supplement .testimonial.row{
    padding: 0px 45px;
  }
}
#experience-supplement .testimonial *, #experience-supplement .testimonial .testimonial-text a {
  color: #FFFFFF;
}
#experience-supplement .testimonial h3 {
  padding-top: 40px;
  padding-bottom: 10px;
  font-size: 38px;
  width: 100%;
  text-align: left;
  margin-bottom: 0px;
}
#experience-supplement .testimonial h3 * {
  font-size: 38px;
}
#experience-supplement .testimonial .testimonial-text {
  margin-bottom: 50px;
  overflow: hidden;
}
#experience-supplement .testimonial .testimonial-text a.button {
  margin-top: 30px;
}
#experience-supplement .testimonial .testimonial-text p {
  margin-top: 0;
}
#experience-supplement .testimonial .testimonial-text ul {
  padding-bottom: 0;
}

/* ---- If Small Image is Included ---- */
#experience-supplement .testimonial .order-2 h3 {
  padding-top:0px;
}
@media (min-width:992px) {
  #experience-supplement .testimonial .order-2 h3{
    padding-top:40px;
  }
}
#experience-supplement .testimonial img {
  border-radius: 50%;
  border: solid #B5E3D8 17px;
  object-fit: cover;
  margin: 60px 0px 30px 0px;
}
@media (min-width:992px) {
  #experience-supplement .testimonial img {
    margin: 0px;
  }
}

/* ---- Tags ---- */
.tags {
  display: flex;
  flex-wrap: wrap;
  margin-top: 60px;
  padding: 22px 0px;
  border-top: solid 2px #A4D65E;
  border-bottom: solid 2px #A4D65E;
}
.tag-type {
  display: flex;
  flex-direction: column;
  width: 100%;
}
@media (min-width: 768px) {
  .tag-type {
  flex-basis: 50%;
  flex-direction: row;
}
}
.tag-type h3 {
  font-size: 20px;
  flex-basis: 35%;
}
.tag-type .field--type-entity-reference {
  display: flex;
  align-items: center;
  align-content: flex-start;
  flex-wrap: wrap;
  margin: 10px 0px 0px 10px;
  flex-basis: calc(65% - 10px);
}

.tag-type .field__item {
  color: #ffffff;
}
.tag-type .field__item a {
  display: block;
  background-color: #00694e;
  color: #ffffff;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  margin-right: 20px;
  margin-bottom: 15px;
}
.tag-type .field__item a:hover {
  background-color: #024230;
  text-decoration: underline;
  border-radius: 5px;
}

/* ----------------- #experience-fullwidth = Fullwidth Pre-footer Section ----------------- */
#experience-fullwidth {
  margin-top: 80px;
  padding: 45px 30px;
  background-color: #f9f7ed;
}

#related-experiences h2 {
  padding: 15px 0px 30px 15px;
}
#directory-link {
  border: solid 1px #C4AD4D;
  margin-top: 20px;
  margin-right: auto;
  margin-left: auto;
  padding: 14px;
  text-align: center;
  max-width: 600px;
}
#directory-link h3, #directory-link * {
  font-size: 18px;
  line-height: 22px;
  padding-top: 0px;
}
#directory-link a i:before {
  font-size: .7em;
}

/* --------- Related Experiences View Block --------- */

#related-experiences .view-content{
  flex-direction:column !important;
}
@media (min-width:768px){
  #related-experiences .view-content{
    flex-direction:row !important;
  } 
}
#related-experiences .col-md-4 {
  max-width: 100%;
  width: 100%;
  flex: none;
  margin-bottom:30px;
}
#related-experiences .col-md-4:nth-last-of-type(1) {
  display:none;
}
@media (min-width:768px){
  #related-experiences .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (min-width:992px){
  #related-experiences .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  #related-experiences .col-md-4:nth-last-of-type(1) {
    display:block;
  }
}
#related-experiences .col-md-4 a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  box-shadow: 0px 0px 5px #cccccc;
  min-height: 300px;
  background-color: #ffffff;
}
#middle #related-experiences .col-md-4 a:focus, #middle .news-row .col-md-4 a:focus span {
  background: #00694E;
}
#related-experiences .col-md-4 a:focus h3, .news-row .col-md-4 a:focus span, .news-row .col-md-4 a:focus p {
  color: #ffffff;
}
#related-experiences .col-md-4 a div img{
  width:100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-out;
}
@media (min-width:768px){
  #related-experiences .col-md-4 a div{
    height:200px;
    overflow: hidden;
  }
  #related-experiences .col-md-4 a:hover div img{
    transform: scale(1.1);
    transition: transform 0.4s ease-out;
  }
}
#related-experiences .col-md-4 a h3 {
  display: block;
  margin: 5px 15px 15px 15px;
  text-decoration: none;
  font-size: 18px;
  line-height: 26px;
  text-align: center;
}
#related-experiences .col-md-4 a:hover h3 {
  text-decoration:underline;
}