/*
Theme Name:     AFHS-child
Description:    
Author:         admin
Template:       Divi

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/

@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap");

a {
  color: rgb(0, 0, 238);
}
/* Home V2 css for mobile view */
@media screen and (max-width: 980px) {
  .discover-image-box img,
  .learn-image-box img,
  .connect-image-box img,
  .engage-image-box img {
    max-width: 300px;
    position: relative;
  }

  .discover-image-box,
  .learn-image-box,
  .connect-image-box,
  .engage-image-box {
    padding: 30px 0;
    background: #64439a;
    position: relative;
  }

  div.et_pb_section.et_pb_section_2 .et_pb_row.et_pb_row_1,
  div.et_pb_section.et_pb_section_3 .et_pb_row.et_pb_row_2,
  div.et_pb_section.et_pb_section_6 .et_pb_row.et_pb_row_5 {
    padding-bottom: 0;
  }

  /* #et-boc div.et_pb_section.et_pb_section_2,
    #et-boc div.et_pb_section.et_pb_section_3,
    #et-boc div.et_pb_section.et_pb_section_4,
    #et-boc div.et_pb_section.et_pb_section_5,
    #et-boc div.et_pb_section.et_pb_section_6,
    #et-boc div.et_pb_section.et_pb_section_7,
    #et-boc div.et_pb_section.et_pb_section_8 {
        background-image: none !important;
    } */

  .discover-image-box:before,
  .learn-image-box:before,
  .connect-image-box:before,
  .engage-image-box:before {
    content: "";
    position: absolute;
    width: 100vw;
    top: 0;
    bottom: 0;
    background: #64439a;
    left: 50%;
    margin-left: -50vw;
    z-index: -2;
  }

  .learn-image-box,
  .learn-image-box:before {
    background: #7ececc;
  }

  .connect-image-box,
  .connect-image-box:before {
    background: #93a53b;
  }

  .engage-image-box,
  .engage-image-box:before {
    background: #f15b2a;
  }

  .discover-image-box *,
  .learn-image-box *,
  .connect-image-box * {
    position: relative;
  }
}

#post-5690 .et_pb_section_4 a.et_pb_button:hover {
  background: #64439a !important;
  border-color: #64439a !important;
}

#post-5690 .et_pb_section_6 a.et_pb_button:hover {
  background: #7ececc !important;
  border-color: #7ececc !important;
}

#post-5690 .et_pb_section_7 a.et_pb_button:hover {
  background: #93a53b !important;
  border-color: #93a53b !important;
}

#post-5690 .et_pb_section_9 a.et_pb_button:hover {
  background: #f15b2a !important;
  border-color: #f15b2a !important;
}

div#afhs-banner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  /*     align-items: center; */
  margin: auto !important;
}

div#event-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-item-align: center;
  align-self: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  position: relative;
  z-index: 99;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#afhs-banner .banner-blue-box {
  background: #fff;
  padding: 0;
  border-radius: 4px;
  -webkit-box-shadow: 0 0 12px 8px rgb(161 161 161 / 47%);
  box-shadow: 0 0 12px 8px rgb(161 161 161 / 47%);
  max-width: 300px;
  overflow: hidden;
}

#afhs-banner .banner-blue-box ul.ecs-event-list {
  padding: 20px;
  list-style: none;
}

#afhs-banner .banner-blue-box ul.ecs-event-list li {
  margin-bottom: 0;
  position: relative;
  padding-left: 0;
}

#afhs-banner .banner-blue-box ul.ecs-event-list li h4 {
  padding-bottom: 10px;
  font-family: "Lora";
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  line-height: 1.2;
}
#event-block p.ecs-excerpt {
  font-size: 14px;
}

header#main-header div#et-top-navigation {
  border-top: 0 !important;
}

#afhs-banner .banner-blue-box ul.ecs-event-list li:before {
  content: "";
  position: absolute;
  left: 0;
  height: 10px;
  width: 10px;
  background: #93a53b;
  top: 7px;
}

#afhs-banner .banner-blue-box ul.ecs-event-list li + li:before {
  top: 25px;
}

#afhs-banner .banner-blue-box ul.ecs-event-list li + li {
  margin-top: 20px;
  border-top: 1px solid #e9e9e9;
  padding-top: 20px;
}

.upoming-event-list-box .ecs-event-list > li:before {
  opacity: 0;
  display: none;
}

span.duration {
  font-size: 11px;
  margin-bottom: 20px;
}

span.month.focused.active.current,
span.month.focused.active {
  background: #3f7d3a !important;
}
span.month.current {
  background: #3f7d3a1f !important;
}
p.ecs-excerpt {
  margin-top: 10px;
}

.afhs-col {
  background: #fff;
  padding: 20px;
  border: 2px solid #bad04e;
  border-radius: 3px;
  /* color: #fff; */
  text-align: center;
  -webkit-box-shadow: 0px 0px 4px;
  box-shadow: 0px 0px 4px;
}

.mobile_menu_bar:before {
  color: #000 !important;
}

.mobmenul-container {
  top: 10px !important;
}

.slider-rev {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.slider-right-block {
  padding: 20px !important;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  border: 4px solid rgba(147, 165, 59, 0.68) !important;
  color: #000;
}

.afhs-col:nth-child(3) {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.slider-right-block h4 {
  padding-bottom: 6px !important;
  color: #000 !important;
  text-shadow: none;
}

.slider-right-block li + li {
  margin-top: 20px !important;
  border-top: 2px dotted #93a53b !important;
  padding-top: 20px !important;
}

header#main-header {
  padding: 0 20px;
}

.tribe-events-tooltip {
  padding: 15px !important;
  -webkit-box-shadow: 0px 0px 4px #ccc !important;
  box-shadow: 0px 0px 4px #ccc !important;
}

.tribe-events-tooltip h3 {
  font-size: 20px;
  margin-bottom: 10px;
  padding: 10px !important;
}

.tribe-event-duration {
  /* margin-bottom: 10px; */
  font-size: 14px;
  color: #000 !important;
}

.tribe-event-description {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #000 !important;
}

.tribe-events-schedule {
  margin-bottom: 5px;
  margin-top: 5px;
}

.tribe-events-schedule h2 {
  padding-bottom: 10px;
  font-size: 16px;
}

.single-tribe_events .tribe-events-event-meta {
  background-color: #f5f5f5 !important;
  border-radius: 4px;
  -webkit-box-shadow: 0px 0px 4px #ddd;
  box-shadow: 0px 0px 4px #ddd;
}

.tribe-events-meta-group h2 {
  margin-bottom: 20px !important;
  padding-bottom: 10px;
  border-bottom: 1px dotted;
}

address.tribe-events-address,
.tribe-organizer a,
.tribe-venue a,
.tribe-venue-url a,
.tribe-events-event-categories a,
.tribe-event-tags a {
  color: #3f7d3a;
  font-weight: 700;
}

.tribe-events-meta-group dl > dt {
  margin-bottom: 2px;
  margin-top: 20px;
}

.tribe-related-events li {
  background: #3f7d3a !important;
}

.tribe-related-event-info {
  padding: 15px !important;
}

.tribe-related-event-info h3 {
  color: #fff;
  padding-bottom: 0;
  font-size: 18px;
}

.tribe-related-event-info span {
  color: #fff;
}

div#tribe-events-footer {
  background: #3f7d3a;
  padding: 16px !important;
}

p.tribe-events-back {
  margin-top: 40px;
  background: #f5f5f5;
  padding: 10px !important;
}

p.tribe-events-back a {
  color: #3f7d3a;
}

h2.tribe-events-related-events-title {
  margin-top: 50px;
}

.tribe-events-cal-links a {
  margin-bottom: 10px;
  margin-top: 0;
}

.ol-img img {
  width: 100% !important;
}

.ol-img span {
  width: 100%;
}

ul.ol-link-list li a {
  color: #666;
}

ul.ol-link-list li a:hover {
  color: #3f7d3a;
}

h1.tribe-events-page-title {
  margin-top: 50px;
}

button.print-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  margin-left: auto;
  margin-bottom: 30px;
  padding: 12px 20px;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  background: #3f7d3a;
  border: 0;
  color: #fff;
  cursor: pointer;
}

h1.title-banner {
  position: relative;
}

h1.title-banner:after {
  content: "";
  position: absolute;
  height: 4px;
  background: #fff;
  width: 50px;
  bottom: 10px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.cat-sub-text a {
  color: #407d3b;
}

.glry-img {
  padding-top: 460px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.glry-inner-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.glry-col {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 33.33%;
  flex: 0 0 33.33%;
  max-width: 33.33%;
  padding: 0 15px;
  margin: 10px 0;
}

.prv-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  visibility: hidden;
  opacity: 0;
  z-index: 1;
}

.glry-img-wrap {
  position: relative;
}

.glry-inner-col {
  background: #eee;
  height: 100%;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  -webkit-box-shadow: 0px 0px 4px #ddd;
  box-shadow: 0px 0px 4px #ddd;
}

.prv-btn a {
  background: #fff;
  color: #000;
  padding: 10px 20px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  max-width: 270px;
  display: block;
  text-align: center;
  margin: 8px 0;
}

p.auth-title {
  margin-bottom: 0;
}

.prv-btn a:hover {
  background: #3f7d3a;
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear;
  color: #fff;
}

.glry-img-wrap:hover:after {
  content: "";
  position: absolute;
  height: 95%;
  border: 2px solid #fff;
  width: 90%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.glry-img-wrap:hover .prv-btn {
  display: block;
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear;
  visibility: visible;
  opacity: 1;
}

.glry-img-wrap:hover:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.49);
  -webkit-transition: all 0.1s linear;
  transition: all 0.1s linear;
}

.glry-details {
  padding: 15px;
}

.glry-title {
  padding-bottom: 2px;
}

p.auth-title {
  margin-bottom: 0px;
  margin-top: 5px;
  font-size: 14px;
}

.download-file {
  position: absolute;
  bottom: 8px;
  right: 0;
}

.download-file a {
  background: #000;
  padding: 10px 20px;
  text-transform: uppercase;
  font-weight: 500;
}

.download-file a:hover {
  background: #3f7d3a;
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

div#tab-wrap {
  border: 1px solid #ddd;
  border-radius: 2px;
}

#tab-wrap > ul {
  background: #3f7d3a;
}

#tab-wrap ul li {
  padding: 8px;
}

#tab-wrap ul:after {
  border: 0;
}

#tab-wrap #table_1 thead tr:nth-child(2) th {
  background-color: #fff !important;
  color: #333 !important;
  border-right: 2px solid #0c71c2;
}

#tab-wrap #table_1 thead tr:nth-child(2) th input::-webkit-input-placeholder {
  color: #999999b3 !important;
}

#tab-wrap #table_1 thead tr:nth-child(2) th input:-ms-input-placeholder {
  color: #999999b3 !important;
}

#tab-wrap #table_1 thead tr:nth-child(2) th input::-ms-input-placeholder {
  color: #999999b3 !important;
}

#tab-wrap #table_1 thead tr:nth-child(2) th input::placeholder {
  color: #999999b3 !important;
}

#tab-wrap #table_1 thead tr:nth-child(1) {
  border: 3px solid #0c71c2;
}

#tab-wrap #table_1 thead tr:nth-child(2) {
  border: 3px solid #0c71c2 !important;
}

#tab-wrap #table_1 thead tr:nth-child(2) th input {
  border-bottom: 1px solid #999;
}

#tab-wrap #table_1 thead tr:nth-child(2) th input::-webkit-input-placeholder {
  color: #00000094;
}

#tab-wrap #table_1 thead tr:nth-child(2) th input:-ms-input-placeholder {
  color: #00000094;
}

#tab-wrap #table_1 thead tr:nth-child(2) th input::-ms-input-placeholder {
  color: #00000094;
}

#tab-wrap #table_1 thead tr:nth-child(2) th input::placeholder {
  color: #00000094;
}

#table_1 td {
  white-space: unset;
}

#table_1_wrapper
  .dt-buttons
  .dt-button.wdt-clear-filters-button.DTTT_button.DTTT_button_clear_filters {
  position: absolute;
  left: 0;
  background-color: #0c71c2;
  border-radius: 5px;
  opacity: 1;
  border: 0;
  padding: 8px 15px;
}

#table_1_wrapper
  .dt-buttons
  .dt-button.wdt-clear-filters-button.DTTT_button.DTTT_button_clear_filters::before,
#table_1_wrapper
  .dt-buttons
  .dt-button.wdt-clear-filters-button.DTTT_button.DTTT_button_clear_filters
  span {
  color: #fff;
  font-size: 15px;
}

#table_1_wrapper
  .dt-buttons
  .dt-button.buttons-pdf.buttons-html5.DTTT_button.DTTT_button_pdf {
  background-color: #0c71c2;
  border-radius: 5px;
  opacity: 1;
  border: 0;
  padding: 8px 15px;
  margin-right: 10px;
}

#table_1_wrapper
  .dt-buttons
  .dt-button.buttons-pdf.buttons-html5.DTTT_button.DTTT_button_pdf:before,
#table_1_wrapper
  .dt-buttons
  .dt-button.buttons-pdf.buttons-html5.DTTT_button.DTTT_button_pdf
  span {
  color: #fff;
  padding-top: 2px;
  font-size: 15px;
}

#tab-wrap .gallery-cat ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  list-style-type: none;
  padding: 0 0 14px 0;
  line-height: 10px;
  background: none !important;
}

#tab-wrap .gallery-cat ul li {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background: #202f39;
  padding: 12px !important;
  margin: 0px 5px;
  font-size: 15px;
  text-transform: capitalize;
  line-height: 24px;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#tab-wrap .gallery-cat ul li:hover {
  background: #0c71c2;
}

#tab-wrap .gallery-cat ul li:first-child {
  background: #0c71c2 !important;
}

/* #tab-wrap .gallery-cat ul:first-child li {
    background: #0c71c2;
} */

#tab-wrap .gallery-cat {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#table_1_filter input::-webkit-search-cancel-button {
  position: relative;
  right: 0px;
  -webkit-appearance: searchfield-cancel-button;
  -moz-appearance: searchfield-cancel-button;
}

#table_1_filter input {
  min-width: 350px;
  height: 40px;
  border: 4px solid #0c71c2;
  border-radius: 17px;
  background-repeat: no-repeat;
  background-position: center;
  font-size: 14px;
}

@media only screen and (max-width: 768px) {
  #tab-wrap .gallery-cat ul {
    display: inline-block;
    padding: 0;
  }

  #tab-wrap .gallery-cat ul li {
    width: auto;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 5px;
  }

  #tribe-events-content .tribe-events-calendar td {
    height: 100px;
  }

  #tribe-events-content h3.tribe-events-month-event-title {
    display: block;
  }

  #tribe-events-content
    .tribe-events-calendar
    .mobile-trigger
    .tribe-events-tooltip {
    display: block !important;
  }
}

.x-pagination ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  list-style: none;
  padding: 0;
  border-radius: 4px;
  background: transparent !important;
}

.x-pagination {
  display: table;
  margin: auto;
  margin-top: 30px;
}

li.x-p-current {
  color: #fff;
  background: #3f7d3a !important;
}

.x-pagination li {
  width: 38px;
  text-align: center;
  background: #000;
  border-radius: 4px;
  margin: 0 2px;
  height: 38px;
  line-height: 1.4;
  padding: 0 !important;
}

.x-pagination li a,
.x-pagination li span {
  padding: 8px !important;
  display: block;
}

/* Single post */
.single-post ul.heateor_sss_sharing_ul {
  padding-top: 50px !important;
  padding-bottom: 0px !important;
}

.single-post ul.heateor_sss_sharing_ul {
  padding-top: 50px !important;
  padding-bottom: 0px !important;
}

.single-post h1.entry-title {
  font-size: 30px;
  padding-bottom: 0px;
}

.single-post #reply-title span {
  font-size: 22px;
}

.single-post #comment-wrap input#submit {
  padding: 2px 20px !important;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0px;
  font-size: 14px !important;
  letter-spacing: 0px;
}

.single-post #comment-wrap p.logged-in-as {
  display: none;
}

.single-post #comment-wrap p.form-submit {
  float: left;
}

.single-post #comment-wrap input#author,
.single-post #comment-wrap input#email,
.single-post #comment-wrap input#url {
  width: 100% !important;
}

.single-post #comment-wrap textarea#comment,
.single-post #comment-wrap input#author,
.single-post #comment-wrap input#email,
.single-post #comment-wrap input#url {
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 5px;
}

.single-wrap-img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  background: #fff;
  margin: 50px 0px;
  -webkit-box-shadow: 0px 0px 16px 3px rgba(12, 113, 195, 0.13);
  box-shadow: 0px 0px 16px 3px rgba(12, 113, 195, 0.13);
}

.detail-book {
  padding: 30px 20px;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.single-wrap-img .glry-img {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 320px;
  flex: 0 0 320px;
  max-width: 320px;
  margin-right: 20px;
}

ul.auth-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-bottom: 15px;
}

ul.auth-list li {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /* align-items: center; */
  margin: 4px 0px;
}

ul.auth-list li span {
  font-weight: 700;
  margin-right: 10px;
  font-size: 18px;
  /* align-items: center; */
  /* display: flex; */
  -webkit-box-flex: 0;
  -ms-flex: 0 0 102px;
  flex: 0 0 102px;
}

/* h3.tribe-events-month-event-title {
    font-size: 18px !important;
} */
.type-tribe_events {
  margin: 0 !important;
}

.tribe-events-tooltip {
  opacity: 1 !important;
  -webkit-transition: all 0.1s linear !important;
  transition: all 0.1s linear !important;
}

#blog-ct article {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-shadow: 0px 0px 16px 3px rgba(12, 113, 195, 0.13);
  box-shadow: 0px 0px 16px 3px rgba(12, 113, 195, 0.13);
  border-radius: 5px;
}

#blog-ct article .article-image {
  width: 50%;
  padding-right: 10px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#blog-ct article .article-image a.entry-featured-image-url {
  margin-bottom: 0px !important;
  width: 100%;
}
#blog-ct article .article-image a.entry-featured-image-url > img {
  width: 100%;
}
#blog-ct article .article-desc {
  width: 50%;
  padding: 20px;
}

#blog-ct article .article-desc p.post-meta,
#blog-ct article .article-desc span.author.vcard a,
#blog-ct article .article-desc .published {
  font-size: 13px !important;
  color: #f15b2a !important;
  text-transform: capitalize !important;
}

#blog-ct article .article-desc p.post-meta {
  text-transform: capitalize !important;
}

#blog-ct .pagination a {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 8px 20px;
  border: 0 !important;
  border-radius: 5px;
  font-size: 15px !important;
  background: #f3882c;
  color: #fff !important;
}

#blog-ct article .article-desc a.more-link {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 8px 20px;
  margin: 10px 0px;
  border: 0 !important;
  border-radius: 5px;
  font-size: 14px !important;
}

#blog-ct .article-desc h3.entry-title a {
  font-size: 22px !important;
}

#blog-ct .article-desc .post-content .post-content-inner p {
  line-height: 30px !important;
}

#blog-ct .article-desc h3.entry-title {
  line-height: 22px !important;
  padding-bottom: 0px;
}

#blog-ct .article-desc .post-meta a[rel="tag"],
.author .post-meta a[rel="category"],
.single-post .post-meta a[rel="category"] {
  display: none;
}

.author h2.entry-title a {
  font-size: 22px !important;
}

.author h2.entry-title {
  line-height: 22px !important;
  padding-bottom: 0px;
}

.author p.post-meta {
  text-transform: capitalize !important;
}

.author p.post-meta,
.author p.post-meta > span.author.vcard a,
.author .published,
.single-post p.post-meta,
.single-post p.post-meta > span.author.vcard a,
.single-post .published,
.single-post span.comments-number a {
  font-size: 13px !important;
  color: #f15b2a !important;
  text-transform: capitalize !important;
}

.author .post-content .post-content-inner p {
  line-height: 30px !important;
}

.author p.post-meta {
  padding-bottom: 0px !important;
}

.author article {
  margin-bottom: 30px !important;
}

/* @page {
    size: A4;
    margin: 10px;
    -webkit-print-color-adjust: exact !important;    
    color-adjust: exact !important;
}

@media print {

    body * {
        visibility: hidden;
    }

    html,
    body {
        border: 1px solid white;
        height: 100%;
        page-break-after: avoid !important;
        page-break-before: avoid !important;
        overflow: hidden;
    }

    #tribe-events-content-wrapper,
    #tribe-events-content-wrapper * {
        visibility: visible;
        -webkit-print-color-adjust: exact !important;        
        caption-sideolor-adjust: exact !important;
        
    }

    #tribe-events-content-wrapper {
        position: absolute;
        left: 0px;
        top: -10px;
    }

    #tribe-events-bar {
        display: none;
    }

    button.print-btn {
        display: none;
    }
} */

@media screen and (min-width: 1280px) {
  header#main-header {
    padding: 0 80px;
  }
}

@media screen and (max-width: 1199px) {
  #afhs-banner .banner-blue-box {
    margin: 0 15px !important;
  }

  #top-menu li {
    padding-right: 8px;
  }

  nav#top-menu-nav ul li.menu-item a {
    font-size: 10px;
  }
}

@media screen and (max-width: 1100px) {
  ul.auth-list li {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 991px) {
  #blog-ct article {
    width: 100%;
    display: block;
  }

  #blog-ct article .article-image {
    width: 100%;
    padding-right: 0px;
  }

  #blog-ct article .article-desc {
    width: 100%;
  }

  .single-wrap-img .glry-img {
    background-size: contain;
    background-position: top;
  }
}

@media screen and (max-width: 767px) {
  #afhs-banner .banner-blue-box {
    max-width: 500px;
    padding: 0px;
    margin: 0 15px !important;
  }

  div.et_pb_section.et_pb_section_4.sec-bg {
    background-image: -webkit-gradient(
      linear,
      left top,
      right top,
      color-stop(100%, #ffffff),
      color-stop(0%, #64439a)
    ) !important;
    background-image: linear-gradient(
      90deg,
      #ffffff 100%,
      #64439a 0%
    ) !important;
  }

  div.et_pb_section.et_pb_section_7.sec-bg {
    background-image: -webkit-gradient(
      linear,
      left top,
      right top,
      color-stop(100%, #ffffff),
      color-stop(0%, #93a53b)
    ) !important;
    background-image: linear-gradient(
      90deg,
      #ffffff 100%,
      #93a53b 0%
    ) !important;
  }

  div.et_pb_section.et_pb_section_8.sec-bg {
    background-image: -webkit-gradient(
      linear,
      left top,
      right top,
      color-stop(100%, #ffffff),
      color-stop(0%, #f15b2a)
    ) !important;
    background-image: linear-gradient(
      90deg,
      #ffffff 100%,
      #f15b2a 0%
    ) !important;
  }

  .sec-bg h2 {
    padding-bottom: 0;
  }

  /* 	.slider-rev{
		display:none;
	} */
  #afhs-banner .banner-blue-box ul.ecs-event-list li {
    font-size: 12px;
  }

  #afhs-banner .banner-blue-box ul.ecs-event-list li + li {
    margin-top: 10px;
    border-top: 3px dotted #93a53b;
    padding-top: 10px;
  }

  #afhs-banner .banner-blue-box ul.ecs-event-list li h4 {
    font-size: 16px;
  }

  #afhs-banner .banner-blue-box ul.ecs-event-list li:before {
    top: 4px;
  }

  #afhs-banner .banner-blue-box ul.ecs-event-list li + li:before {
    top: 14px;
  }

  .bg-banner {
    position: relative;
    z-index: 1;
  }

  .glry-col {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .single-wrap-img .glry-img {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  h1.single-title {
    font-size: 30px;
  }
}

@media screen and (max-width: 520px) {
  .af-banner-logo {
    max-width: 300px;
    margin-bottom: -60px !important;
  }

  .glry-col {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.single-post #content-area,
.search #content-area {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.single-post #content-area #left-area,
.search #content-area #left-area {
  width: 70%;
  padding: 0px 25px !important;
}

.single-post #content-area #sidebar {
  width: 30%;
  display: block;
  padding: 0px 25px !important;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  background: rgb(255, 255, 255);
  border-left: 1px solid #adadad;
  margin-top: 80px;
}

.search #content-area #sidebar {
  width: 30%;
  display: block;
  padding: 0px 25px !important;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  background: rgb(255, 255, 255);
  border-left: 1px solid #adadad;
}

.single-post #content-area #sidebar #searchform,
.search #content-area #sidebar #searchform {
  border: 2px solid #3f7d3a;
}

.single-post #content-area #sidebar #search-2 #searchsubmit,
.search #content-area #sidebar #search-2 #searchsubmit {
  background-color: #3f7d3a !important;
  border: 0;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  color: #fff;
  text-transform: uppercase;
}

.single-post #content-area #sidebar #recent-posts-2 h4.widgettitle,
.search #content-area #sidebar #recent-posts-2 h4.widgettitle {
  color: #3f7d3a;
  text-transform: uppercase;
  border-bottom: 2px solid #7aa776;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding-bottom: 5px;
  margin-bottom: 20px;
}

/* .search #content-area #left-area .entry-featured-image-url {
    padding-top: 77px;
} */

.single-post #content-area #sidebar #recent-posts-2 a:hover,
.search #content-area #sidebar #recent-posts-2 a:hover {
  color: #3f7d3a;
}

@media screen and (max-width: 980px) {
  .single-post #content-area,
  .search #content-area {
    width: 100%;
    display: block;
  }

  .single-post #content-area #left-area,
  .search #content-area #left-area {
    width: 100%;
    padding: 0px !important;
  }

  .single-post #content-area #sidebar,
  .search #content-area #sidebar {
    width: -webkit-fit-content !important;
    width: -moz-fit-content !important;
    width: fit-content !important;
    display: block;
    padding: 0px !important;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    background: rgb(255, 255, 255);
    border-left: unset;
    margin: 0;
  }
}

.sp-tbl-index {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
  -webkit-box-shadow: 0px 0px 16px 3px rgba(12, 113, 195, 0.13);
  box-shadow: 0px 0px 16px 3px rgba(12, 113, 195, 0.13);
  margin-bottom: 50px;
  border: 1px solid #222;
}

.sp-tbl-index .sti-single .sti-image {
  -webkit-box-shadow: 0px 0px 16px 3px rgba(12, 113, 195, 0.13);
  box-shadow: 0px 0px 16px 3px rgba(12, 113, 195, 0.13);
  max-width: 400px;
}

.sp-tbl-index .sti-single {
  width: 100%;
  text-align: center;
  padding: 50px 0px;
  display: grid;
}

.sp-tbl-index .sti-single span {
  font-size: 25px;
  color: #333;
  text-transform: capitalize;
  padding-bottom: 20px;
  font-weight: bold;
  font-family: "Poppins", Helvetica, Arial, Lucida, sans-serif;
}

@media screen and (max-width: 1024px) {
  .sp-tbl-index {
    display: block;
  }

  .sp-tbl-index .sti-single {
    padding: 20px 0px;
  }

  .sp-tbl-index .sti-single .sti-image {
    max-width: 100%;
    width: 80%;
  }
}

@media screen and (max-width: 778px) {
  .single-wrap-img {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}

#table_1_length ul.dropdown-menu.inner li {
  background: #fff;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
}

#table_1_length ul.dropdown-menu.inner li a {
  background: #fff;
}

#table_1_length ul.dropdown-menu.inner li:hover a {
  background: #fff;
}

#table_1_length span.glyphicon.glyphicon-ok.check-mark {
  padding-top: 9px;
}

#table_1_length button.btn.dropdown-toggle.btn-default {
  border: 3px solid #0c71c2 !important;
  border-radius: 5px;
}

/* Main Gallery CSS Request#2 */

.glry-col-cr {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  max-width: 25%;
  /* padding: 0 15px; */
  margin: 30px 0;
}

#tab-wrap-cr .glry-row-title h2 span {
  color: #3f7d3a;
}

#tab-wrap-cr .glry-row-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

/* #tab-wrap-cr .gallery-cat ul li:first-child a {
    color: #000;
    font-weight: bold;
} */

#tab-wrap-cr .gallery-cat ul li a.active-cat {
  color: #000;
  font-weight: bold;
}

#tab-wrap-cr .glry-row-title h4 {
  text-align: center;
  letter-spacing: 0px;
  padding: 20px 0px;
  font-size: 22px;
  border-bottom: 2px solid #3f7d3a;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  text-transform: capitalize;
}

#tab-wrap-cr .glry-nodata-found {
  text-align: center;
  padding: 50px;
}

#tab-wrap-cr .glry-nodata-found h4 {
  color: #3f7d3a;
}

#tab-wrap-cr .glry-inner-row {
  margin-left: 0px;
  margin-right: 0px;
}

#tab-wrap-cr {
  border: 1px solid #ddd;
  border-radius: 2px;
}

#tab-wrap-cr > ul {
  background: #3f7d3a;
}

#tab-wrap-cr ul.et_pb_tabs_controls {
  background: none !important;
}

#tab-wrap-cr ul li {
  padding: 8px;
}

#tab-wrap-cr ul:after {
  border: 0;
}

#tab-wrap-cr #table_1 thead tr:nth-child(2) th {
  background-color: #ddd !important;
}

#tab-wrap-cr #table_1 thead tr:nth-child(2) th input {
  border-bottom: 1px solid #9996;
}

#tab-wrap-cr
  #table_1
  thead
  tr:nth-child(2)
  th
  input::-webkit-input-placeholder {
  color: #00000094;
}

#tab-wrap-cr #table_1 thead tr:nth-child(2) th input:-ms-input-placeholder {
  color: #00000094;
}

#tab-wrap-cr #table_1 thead tr:nth-child(2) th input::-ms-input-placeholder {
  color: #00000094;
}

#tab-wrap-cr #table_1 thead tr:nth-child(2) th input::placeholder {
  color: #00000094;
}

#tab-wrap-cr .gallery-cat ul {
  width: 100%;
  list-style-type: none;
  padding: 0 30px 0 0;
  line-height: 10px;
  background: none !important;
}

#tab-wrap-cr .gallery-cat ul li {
  background: #3f7d3a;
  padding: 0 25px;
  font-size: 16px;
  text-transform: capitalize;
  line-height: 24px;
  text-align: left;
}

#tab-wrap-cr .gallery-cat ul li a {
  padding: 16px 0px;
  display: block;
  color: #fff;
}

#tab-wrap-cr .gallery-cat ul li + li a {
  border-top: 1px solid #ffffff61;
}

#tab-wrap-cr h3 {
  background: #5f935b;
  text-transform: uppercase;
  text-align: left;
  padding: 25px;
  margin-right: 30px;
  letter-spacing: 2px;
}

#tab-wrap-cr .gcat-white {
  color: #fff;
}

#tab-wrap-cr .gallery-cat {
  width: 18%;
  min-width: 260px !important;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  position: relative;
}

#tab-wrap-cr.gallery-mainsection-cr {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

#tab-wrap-cr .glry-row {
  width: 82%;
}

#tab-wrap-cr li.et_pb_tab_0,
#tab-wrap-cr li.et_pb_tab_1 {
  width: 50%;
  text-align: center;
  text-transform: uppercase;
}

#tab-wrap-cr .glry-inner-col-cr {
  height: 100%;
  position: relative;
  overflow: hidden;
}

#tab-wrap-cr .glry-title-cr {
  padding-bottom: 2px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.glry-img-cr {
  padding-top: 300px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 9;
  position: relative;
}

.glry-back-img::before {
  content: "";
  background-image: url("images/bookpad-new.jpg");
  height: 110px;
  width: 100%;
  position: absolute;
  bottom: 0;
  z-index: 1;
  background-repeat: no-repeat;
  background-size: cover;
}

.prv-btn-cr a {
  background: #fff;
  color: #000;
  padding: 10px 20px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  display: block;
  text-align: center;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: auto;
}

.prv-btn-cr a:hover {
  background: #3f7d3a;
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear;
  color: #fff;
}

.glry-img-wrap-cr {
  position: relative;
}

.glry-img-wrap-cr:hover:after {
  content: "";
  position: absolute;
  height: 95%;
  border: 2px solid #fff;
  width: 90%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.glry-img-wrap-cr:hover .prv-btn-cr {
  display: block;
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear;
  visibility: visible;
  opacity: 1;
}

.glry-img-wrap-cr:hover:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  -webkit-transition: all 0.1s linear;
  transition: all 0.1s linear;
}

.prv-btn-cr {
  position: relative;
  visibility: hidden;
  opacity: 0;
  z-index: 9;
  bottom: 100px;
}

.cr-border-none {
  border: 0 !important;
}

.cr-border-tb {
  border-left: 0px !important;
  border-right: 0px !important;
  border-radius: 0px !important;
  border-bottom: 0px !important;
}

.colorgreee {
  color: #008000;
  font-weight: 500;
}

#set-resource-box {
  min-height: 150px;
  padding: 20px !important;
  margin: 0 !important;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.mobmenul-container .mobmenu-left-bt span.left-menu-icon-text {
  padding-top: 3px;
  font-family: "Poppins", Helvetica, Arial, Lucida, sans-serif;
}

.mob-menu-logo-holder .headertext span {
  font-family: "Poppins", Helvetica, Arial, Lucida, sans-serif !important;
}

div#resources-img-gradient {
  background: url(https://proto.afhs.ab.ca/wp-content/uploads/2020/05/newCalendar-2016-1-3_cr16by9_1080.jpg)
      no-repeat top,
    -webkit-gradient(linear, left top, left bottom, from(#27415d), color-stop(80%), to(#ffffff));
  background: url(https://proto.afhs.ab.ca/wp-content/uploads/2020/05/newCalendar-2016-1-3_cr16by9_1080.jpg)
      no-repeat top,
    linear-gradient(#27415d, 80%, #ffffff);
  background-size: 100%;
  background-blend-mode: overlay;
}

/* Import CSV File Button CSS */

.afhs-importcsv {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 10px 0px;
}

#afhsimportcsv {
  background-color: #0c71c2;
  color: #fff;
  border-radius: 5px;
  padding: 6px 25px;
  font-size: 15px;
}

#afhsimportcsv-btn {
  border: 1px solid #0c71c2;
  padding: 8px 30px;
  border-radius: 5px;
  color: #fff;
  background-color: #0c71c2;
  font-size: 15px;
}

/* Library v3b page css start */

.library-v3b-alo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

/* Library v3b page css end */

@media screen and (max-width: 1440px) and (min-width: 768px) {
  .glry-img-cr {
    padding-top: 240px;
  }
}

@media screen and (max-width: 1199px) and (min-width: 1000px) {
  .glry-col-cr {
    -ms-flex: 0 0 33.33%;
    -webkit-box-flex: 0;
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }
}

@media screen and (max-width: 999px) and (min-width: 768px) {
  .glry-col-cr {
    -ms-flex: 0 0 50%;
    -webkit-box-flex: 0;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media screen and (max-width: 767px) {
  .glry-col-cr {
    -ms-flex: 0 0 100%;
    -webkit-box-flex: 0;
    flex: 0 0 100%;
    max-width: 100%;
  }

  #tab-wrap-cr li.et_pb_tab_0,
  #tab-wrap-cr li.et_pb_tab_1 {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  #tab-wrap-cr.gallery-mainsection-cr {
    display: block;
  }

  #tab-wrap-cr .gallery-cat {
    width: 100%;
  }

  #tab-wrap-cr .glry-row {
    width: 100%;
  }

  #tab-wrap-cr .glry-row-title {
    padding-top: 25px;
  }

  #tab-wrap-cr h3 {
    margin-right: 0px;
  }

  #tab-wrap-cr .gallery-cat ul {
    padding: 0;
  }

  #tab-wrap-cr .gallery-cat {
    max-width: 500px !important;
    min-width: unset !important;
    margin: auto;
  }
}

.wpDataTablesFilter
  .wpDataTableFilterSection#wdt-pf-search-filters-button-block {
  padding-top: 15px !important;
}

.wpDataTablesFilter .wpDataTableFilterSection#wdt-clear-filters-button-block {
  padding-top: 15px !important;
}

.wpDataTables.wpDataTablesFilter.wpDataTablesWrapper.data-t.wdt-search-filters-button-container {
  border: 1px solid;
}

#wdt-clear-filters-button-block {
  width: 50%;
  display: block;
  text-align: right;
}

#tab-wrap-cr .gallery-cat .edit_category_libadm {
  visibility: hidden;
  width: 50px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 50%;
  position: absolute;
  z-index: 1;
  bottom: 83%;
  height: 50px;
  margin-right: 40px;
  right: 0;
  opacity: 0;
  -webkit-transition: opacity 1s;
  transition: opacity 1s;
}

#tab-wrap-cr .gallery-cat:hover .edit_category_libadm {
  visibility: visible;
  opacity: 1;
}

#tab-wrap-cr .gallery-cat .edit_category_libadm i.fa.fa-edit {
  padding-top: 13px;
  font-size: 25px;
  padding-left: 4px;
}

@media screen and (max-width: 640px) {
  #table_1_wrapper
    .dt-buttons
    .dt-button.wdt-clear-filters-button.DTTT_button.DTTT_button_clear_filters {
    position: relative;
  }

  #table_1_wrapper .dt-buttons {
    padding-bottom: 50px;
    margin: 0;
  }

  .afhs-importcsv {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
}

@media screen and (max-width: 599px) {
  #afhsimportcsv-btn {
    margin-top: 10px;
  }

  #lib-v3b-diffsec-main .lib-v3b-diffsec-img {
    min-height: 300px !important;
  }
}

#post-20239 #table_1_wrapper .dt-buttons,
#post-19604 #table_1_wrapper .dt-buttons {
  margin-bottom: 50px;
}

div#lib-v3b-slider .et-pb-slider-arrows > a {
  height: 50px;
  width: 30px;
}

#lib-v3b-diffsec-main .lib-v3b-diffsec-img {
  width: 100%;
  height: 100%;
  min-height: 600px;
}

#lib-v3b-diffsec-main .lib-v3b-diffsec-text {
  padding: 0px 80px;
}

a.button-library {
  border: 4px solid #3f7d3a;
  padding: 8px 20px;
  display: inline-block;
  margin-top: 10px;
  border-radius: 18px;
  color: #3f7d3a;
  font-weight: 700;
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

a.button-library:hover {
  color: #fff;
  border-color: #666;
  background: #666;
}

@media screen and (max-width: 1199px) {
  #lib-v3b-diffsec-main .lib-v3b-diffsec-img {
    min-height: 700px;
  }

  #lib-v3b-diffsec-main .lib-v3b-diffsec-text {
    padding: 0px 50px;
  }
}

@media screen and (max-width: 991px) {
  #lib-v3b-diffsec-main .library-v3b-alo .et_pb_column.et_pb_column_1_2 {
    width: 100% !important;
  }

  #lib-v3b-diffsec-main .library-v3b-alo {
    display: block;
  }

  #lib-v3b-diffsec-main .lib-v3b-diffsec-img {
    min-height: 500px;
  }

  #lib-v3b-diffsec-main .lib-v3b-diffsec-text {
    padding: 30px 50px;
  }
}

@media screen and (max-width: 980px) {
  .library-v3b-alo,
  .library-v3b-alo {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .img-order-first {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
  }
}

@media screen and (max-width: 767px) {
  div#lib-v3b-slider .et-pb-slider-arrows > a {
    height: 35px !important;
    width: 30px !important;
  }

  #lib-v3b-slider .et_pb_container.clearfix.et_pb_empty_slide {
    height: 300px !important;
  }
}

/* Custom Catalogue Library Module CSS Start */
.table-afhs .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: #fff !important;
  border: unset;
  background-color: white;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#3f7d3a),
    to(#3e7c3a)
  );
  background: linear-gradient(to bottom, #3f7d3a 0%, #3e7c3a 100%);
  border-radius: 25px;
}

.table-afhs .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.table-afhs .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.table-afhs
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button.current:hover {
  border: 1px solid #3f7c3a;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#3f7c3a),
    to(#3f7c3a)
  );
  background: linear-gradient(to bottom, #3f7c3a 0%, #3f7c3a 100%);
}

div#dtBasicExample_info,
div#dtBasicExample_paginate {
  margin-top: 20px;
}

#dtBasicExample th.th-sm a {
  color: #555;
}

.total_no_results_header p {
  font-size: 18px;
}

.total_no_results_header ul {
  font-size: 16px;
  line-height: 35px;
  text-transform: capitalize;
  /* border-left: 4px solid #0c71c2; */
  padding-bottom: 0;
  /* background: #eee; */
  padding: 20px 0px;
  margin-left: 60px;
}

span#current_search_term {
  color: #3f7d3a;
}

input#search_entry {
  margin-right: 20px;
}

#dtBasicExample thead tr th {
  color: #fff;
  border-bottom: 1px solid #0c71c2;
}

#dtBasicExample thead tr {
  background: #0c71c2;
}

.table-afhs .dataTables_scrollHeadInner table thead tr th {
  max-width: 300px;
}

.table-afhs .dataTables_scrollHeadInner table thead tr th:first-child,
#dtBasicExample tbody tr td:first-child {
  max-width: 200px;
}

#dtBasicExample tbody tr td {
  border: 0px !important;
  padding: 10px 18px;
  max-width: 300px;
}

#dtBasicExample tbody tr:hover {
  background-color: #b6d9f5;
  cursor: pointer;
}

#search_bar {
  background: #0c71c3;
  padding: 40px 15px;
}

#search_bar .container {
  padding-top: 0 !important;
}

.sForm-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.search-form-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.sForm-title {
  margin-right: 20px;
}

form#search_form {
  width: 100%;
}

.search-box-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.lib-search-btn {
  background: #094373;
  color: #fff;
  padding: 10px 15px;
  border: 0;
  font-size: 16px;
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: 0;
  cursor: pointer;
  border-radius: 0px 5px 5px 0px;
}

.dropdown-catalogue {
  max-width: 140px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 140px;
  flex: 0 0 140px;
}

select#lib-catalogue {
  height: 100%;
  border: 0;
}

.dropdown-catalogue .select2 {
  width: 140px !important;
  height: 100%;
  position: relative;
  display: block;
}

.dropdown-catalogue span#select2-lib-catalogue-container {
  padding: 10px 18px !important;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.dropdown-catalogue span.select2-selection.select2-selection--single {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: 0px;
  background-color: #eee;
  border-radius: 5px 0px 0px 5px;
  height: 100%;
  -webkit-box-sizing: unset;
  box-sizing: unset;
}

.dropdown-catalogue span.select2-selection__arrow {
  top: 14px !important;
}

span.select2-search.select2-search--dropdown {
  display: none;
}

.select2-results__option.select2-results__option--selectable {
  padding: 10px 18px !important;
}

input.search-box-cat {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 16px 25px;
  font-size: 18px;
  border: 0;
  background: #fff;
  border-radius: 5px;
}

input.search-box-cat::-webkit-input-placeholder {
  font-size: 14px;
  color: #afafaf;
}

input.search-box-cat:-ms-input-placeholder {
  font-size: 14px;
  color: #afafaf;
}

input.search-box-cat::-ms-input-placeholder {
  font-size: 14px;
  color: #afafaf;
}

input.search-box-cat::placeholder {
  font-size: 14px;
  color: #afafaf;
}

h3.search-title {
  padding-bottom: 0;
  color: #fff;
}

.search-filter-select {
  /*  -webkit-box-flex: 0;
        -ms-flex: 0 0 185px;
            flex: 0 0 185px;
    display: -webkit-box;
    display: -ms-flexbox; */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /* max-width: 185px; */
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

@media (max-width: 980px) and (min-width: 768px) {
  .search-filter-select {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
}

@media (max-width: 767px) {
  .sForm-title {
    margin-right: 0px;
    -webkit-box-flex: 100%;
    -ms-flex: 100%;
    flex: 100%;
    text-align: center;
    margin-bottom: 12px;
  }

  .search-box-wrap {
    background: transparent;
    border-radius: 0;
  }

  #search_bar {
    padding: 20px 0;
  }

  input.search-box-cat {
    background: #fff;
    margin-bottom: 10px;
    width: 100%;
    margin-right: 0 !important;
  }

  .search-filter-select {
    -webkit-box-flex: 100%;
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .total_no_results_header {
    width: 100% !important;
  }
}

.total_no_results_header {
  margin: 25px auto;
  float: none;
  display: block;
  min-width: 320px;
  width: 500px;
  padding: 25px 0;
}

.table-afhs .inner-table {
  position: relative;
  display: none;
}

/*.loader {
    position: absolute;
    height: 100%;
    width: 100%;
    display: none;
    top: 0;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
}*/
/* .loader {
    position: absolute;
    display: none;
    top: 50%;
    background: rgba(255, 255, 255, 0.7);
    transform: translate(50%, 50%);
    right: 50%;
} */
.loader-library {
  position: absolute;
  display: none;
  top: 0;
  background: rgba(255, 255, 255, 0.48);
  z-index: 9;
  left: 0;
  height: 102%;
  width: 100%;
}

.loader-library img {
  text-align: center;
  top: 50%;
  left: 50%;
  position: absolute;
}

.loader {
  position: fixed;
  display: none;
  background: #fff;
  z-index: 99999;
  width: 100%;
  height: 100%;
  top: 0;
  opacity: 0.7;
  text-align: center;
}

.loader img {
  top: 50%;
  position: absolute;
  width: 100%;
  max-width: 100px;
  left: 50%;
  -webkit-transform: translate(-50%);
  transform: translate(-50%);
}

.table-afhs div#dtBasicExample_length {
  padding-bottom: 30px;
  font-size: 16px;
}

.table-afhs div#dtBasicExample_length select {
  padding: 5px 10px;
  margin: 0 2px;
}

.table-afhs .buttons-pdf span {
  border: 1px solid #0c71c2;
  padding: 8px 30px;
  border-radius: 5px;
  color: #fff;
  background-color: #0c71c2;
  font-size: 15px;
}

.table-afhs .dt-buttons {
  float: right;
}

.table-afhs .buttons-pdf {
  border: 0 !important;
  background: #fff !important;
  margin-bottom: 20px !important;
  margin-top: -5px !important;
  padding-right: 0;
}

.table-afhs
  button.dt-button.buttons-pdf:active:not(.disabled):hover:not(.disabled) {
  -webkit-box-shadow: unset;
  box-shadow: unset;
}

#search_bar .search-lc-cancel {
  width: 122px;
  height: auto;
  margin-left: 20px;
  cursor: pointer;
  background: #094374;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0 15px;
  border-radius: 5px;
}

span.pdf-icon {
  padding: 0 5px !important;
}

/* Custom Catalogue Library Module CSS End */

.single.single-post article a {
  color: #3f7d3a;
}

/* Login Popup CSS Start */

div#pum-5055 {
  background-color: rgba(0, 0, 0, 0);
}

div#popmake-5055 {
  border-radius: 25px;
  border: 1px none #000000;
  -webkit-box-shadow: 20px 21px 22px 4px rgba(2, 2, 2, 0.6);
  box-shadow: 20px 21px 22px 4px rgba(2, 2, 2, 0.6);
}

@media only screen and (min-width: 1400px) {
  div#popmake-5055 {
    margin-bottom: 0;
    max-width: 25% !important;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  div#popmake-5055 {
    max-width: 35% !important;
    margin-left: -20%;
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 1000px) and (max-width: 1199px) {
  div#popmake-5055 {
    max-width: 40% !important;
    margin-bottom: 0;
    margin-left: 20%;
  }
}

@media only screen and (min-width: 700px) and (max-width: 999px) {
  div#popmake-5055 {
    max-width: 50% !important;
    margin-bottom: 0;
    margin-left: 10%;
  }
}

@media only screen and (min-width: 500px) and (max-width: 699px) {
  div#popmake-5055 {
    max-width: 70% !important;
    margin-bottom: 0;
    margin-left: -5%;
  }
}

@media only screen and (max-width: 499px) {
  div#popmake-5055 {
    max-width: 80% !important;
    margin-bottom: 0;
    margin-left: -15%;
  }
}

#popmake-5055 #pum_popup_title_5055 {
  font-family: sans-serif;
  padding-bottom: 20px;
  text-transform: capitalize;
}

#popmake-5055 .mp-form-label {
  font-family: sans-serif;
}

#popmake-5055 input#wp-submit {
  background: #008000;
  color: #fff;
  padding: 15px 35px;
  border: 0;
}

#popmake-5055 .rokchecks.rokrememberme {
  padding-top: 0px;
}

#popmake-5055 form#mepr_loginform label {
  color: #000;
  font-family: sans-serif;
}

#popmake-5055 .mepr-login-actions a,
.mp_login_form .mepr-login-actions a {
  color: #c35d1b;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
  font-family: sans-serif;
  font-weight: bold;
}

/* Login Popup CSS End */

.blog-pagination-ajax {
  display: table;
  margin: auto;
  margin-top: 20px;
}

.blog-pagination-ajax .page-numbers {
  text-align: center;
  background: #000;
  border-radius: 4px;
  margin: 0 2px;
  line-height: 1.4;
  color: #fff !important;
  padding: 10px 15px;
}

.blog-pagination-ajax .page-numbers.current {
  color: #fff;
  background: #3f7d3a !important;
}

#mepr_forgot_password_form input#wp-submit,
#mepr_loginform input#wp-submit {
  background: #008000;
  color: #fff;
  padding: 15px 35px;
  border: 0;
  cursor: pointer;
  font-size: 15px;
}

.article-desc p.post-meta {
  display: none;
}

article .post-content {
  padding-top: 10px;
}

/* Libary catalogue styles */

/* Import csv/Choose file button, Import csv button, library catalogue search box */
#afhsimportcsv,
#afhsimportcsv-btn,
#search_bar {
  background-color: #ba6636;
}

/* Customer: The magnifying glass should be green  
   because it is a clickable thing like a button.*/
.lib-search-btn {
  background-color: #008000;
}

/*  Customer: make background behind Keyword / Author / Title be white? */
/* Roy: No, I've kept it grey. If you want white, let me know */
.dropdown-catalogue span.select2-selection.select2-selection--single {
  background-color: #eeeeee;
}

/*  Customer: make clear search button be green */
#search_bar .search-lc-cancel {
  background-color: #008000;
}

/*Customer: make download pdf button green */
.table-afhs .buttons-pdf span {
  background-color: #008000;
}

/* Customer: make blog post titles open sans */
.et_pb_blog_0 .et_pb_post .entry-title a,
.et_pb_blog_0 .not-found-title {
  font-family: "Open Sans";
}

/* Customer: Blog Post titles Open Sans*/
#blog-ct .article-desc h3.entry-title a {
  font-family: "Open Sans" !important;
}

#blog-ct .pagination a {
  background-color: #008000;
}

@media screen and (max-width: 981px) {
  #et-boc .dsp-flx .et-last-child {
    margin-right: 3.5% !important;
  }
}

div#mepr-account-nav span a {
  font-size: 17px;
  padding: 8px 25px;
  color: #222;
  background-color: #d3704e;
  min-width: 100px;
}

#mepr_account_form input.mepr-submit.mepr-share-button,
.mp-form-submit .mepr-submit,
.mp_payment_form_wrapper .mepr-submit {
  background: #008000;
  color: #fff;
  padding: 10px 20px;
  border: 0;
  cursor: pointer;
  font-size: 16px;
}
#mepr_account_form input.mepr-submit.mepr-share-button:hover,
.mp-form-submit .mepr-submit:hover,
.mp_payment_form_wrapper .mepr-submit:hover {
  background: #7cda24;
}

#member-account-home h3 {
  text-align: center;
  color: #d3704e;
  padding: 13px 0px 50px;
}

#member-account-home h3 {
  text-align: center;
  color: #d3704e;
  padding: 13px 0px 50px;
}

div#mepr-account-nav span.mepr-active-nav-tab a {
  color: #ffffff;
}

div#mepr-account-nav span {
  padding-right: 0px;
  /* margin-right: -4px; */
  border-right: 1px solid #fff;
  margin-top: 10px !important;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}

div#mepr-account-nav {
  padding-bottom: 10px;
  display: table-cell;
}

form#mepr_account_form {
  border: 1px solid #222;
  padding: 30px;
}

/*  New Homepage CSS */
.white-tree-before,
.orange-tree-before,
.green-tree-before {
  background-size: 100% !important;
  background-position: top center;
  background-color: transparent;
  margin-top: -6%;
  padding-top: 7% !important;
}

.library-image-col {
  margin: 15px 0 30px;
  background: #fff;
  -webkit-box-shadow: 0px 0px 17px 18px rgba(49, 49, 49, 0.14);
  box-shadow: 0px 0px 17px 18px rgba(49, 49, 49, 0.14);
}

.white-tree-after,
.tree-after {
  padding-bottom: 7% !important;
}

.dlce-section,
.welcome-section {
  padding-bottom: 6% !important;
  background-color: transparent;
}

.box-column {
  margin: -50px 6px 60px !important;
  background: #fff;
  border-radius: 6px;
  text-align: center;
  overflow: hidden;
}

h4.box-title {
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Lora";
  font-size: 22px;
  margin: 20px 0;
  text-align: center;
  padding-bottom: 10px;
  position: relative;
}

h4.box-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #000;
  max-width: 38px;
  margin: auto;
}

.box-column .et_pb_text_inner {
  padding: 0 15px 26px !important;
}

.box-content {
  text-align: center;
}

.welcome-title {
  font-family: "Open Sans";
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 30px;
  font-weight: 600;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-bottom: 10px;
}

.welcome-title:after,
.welcome-title:before {
  content: "";
  width: 40px;
  height: 1px;
  background: #000;
}

.welcome-title:after {
  margin-left: 10px;
}

.welcome-title:before {
  margin-right: 10px;
}

h2.section-title {
  text-transform: uppercase;
  font-family: "Lora";
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 6px;
}

small {
  font-size: 80%;
}

.intro-text-wrap {
  margin-bottom: 20px !important;
}

.box-icon-column {
  margin: 40px 6px 30px !important;
  background: #fafafa;
  -webkit-box-shadow: 0px 0px 10px 10px rgb(163 163 163 / 0.05);
  box-shadow: 0px 0px 10px 10px rgb(163 163 163 / 0.05);
  text-align: center;
  padding: 15px 15px 74px;
  border: 1px solid #f1f1f1;
}

.box-icon-column .et_pb_button_module_wrapper {
  position: absolute;
  bottom: 35px;
  left: 0;
  right: 0;
}

.box-icon-image {
  max-width: 130px;
  display: block;
  margin: -54px auto 0 !important;
}

.box-icon-column .box-content {
  margin-bottom: 24px !important;
}

.intro-text-details-col {
  padding-bottom: 50px;
}

.green-tree-before {
  position: relative;
  /* background: #96ad4f; */
  background-repeat: no-repeat;
}

/* 
.green-tree-before:before {
    content: "";
    background-image: url(https://proto.afhs.ab.ca/wp-content/uploads/2020/09/green-tree-wave.png) !important;
    position: absolute;
    top: -17%;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: top center;
} */
.et_pb_row_3.et_pb_row.box-icon-row {
  padding-bottom: 40px !important;
}

ul.featured_book li a {
  display: inline-block;
}

ul.featured_book li {
  list-style: none;
  display: inline-block;
  min-width: 180px;
}

.library-books-details-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 14px;
}

.library-books-details {
  border: 1px solid #f1f1f1;
  background: #fcfcfc;
  padding: 25px;
  width: 100%;
}

ul.featured_book {
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  max-width: 400px;
  margin: 10px auto;
}

ul.featured_book > li {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 33.3334%;
  flex: 0 0 33.3334%;
  max-width: 33.3334%;
  padding: 5px;
  min-width: 1px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

ul.featured_book > li > a {
  display: block;
}

ul.featured_book > li img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border: 1px solid #f1ebeb;
}

.library-books-details h4.box-title {
  margin-top: 0;
  font-size: 34px;
}

hr.title-seperator {
  width: 50px;
  margin: auto;
  border-color: #000;
  border-bottom: 0;
}

.section-title ~ .title-seperator {
  position: relative;
  top: -15px;
}

.testimonial-quote {
  background: transparent !important;
  max-width: 550px;
  padding: 50px 0 20px !important;
  margin: 20px auto 10px !important;
}

span.et_pb_testimonial_author {
  font-weight: 400;
  margin-top: 20px;
}

.et_pb_testimonial:before {
  content: "\201c" !important;
  background: transparent;
  font-family: "Lora" !important;
  font-weight: 700;
  font-size: 90px;
  line-height: 1;
}

ul.event-cat-filter li {
  background-color: rgba(0, 0, 0, 0);
  border-color: #1a1b1b;
  display: inline-block;
  border: 1px solid;
}

ul.event-cat-filter li a {
  color: #1a1b1b;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 20px;
}

ul.event-cat-filter li:hover {
  background: #3e7c3b;
  border: #3e7c3b;
}

ul.event-cat-filter li a:hover {
  color: #fff;
}

ul.event-cat-filter li.active a {
  color: #fff;
}

ul.event-cat-filter li.active {
  background: #3e7c3b;
  border: #3e7c3b;
}

.tribe-events-title-bar button.print-btn {
  display: none;
}

@media screen and (max-width: 720px) {
  ul.event-cat-filter li {
    background-color: rgba(0, 0, 0, 0);
    border-color: #1a1b1b;
    display: block;
    border: 1px solid;
    margin: 10px 0;
  }
}

/* Footer Css */
#et-footer-nav {
  background-color: #1f2021;
  border-bottom: 1px solid #2e2e2e;
}

.bottom-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-left: -10px;
  margin-right: -10px;
}

.bottom-nav > li {
  padding: 10px;
}

.bottom-nav > li > a {
  font-weight: 500;
  font-family: "Lora";
  text-transform: uppercase;
}

footer#main-footer #footer-widgets .footer-widget .fwidget {
  font-size: 14px;
}

#footer-widgets {
  padding: 40px 0 10px;
  margin-left: -15px;
  margin-right: -15px;
}

footer#main-footer #footer-widgets > .footer-widget {
  margin-bottom: 20px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 15px;
}

footer#main-footer #footer-widgets > .footer-widget:first-child {
  width: 35%;
}

footer#main-footer #footer-widgets > .footer-widget:nth-child(even) {
  width: 20%;
}

footer#main-footer #footer-widgets > .footer-widget:nth-child(3n) {
  width: 25%;
}

.footer-social-links {
  margin-left: -4px;
  margin-right: -4px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 18px;
}

.footer-social-links > a {
  display: block;
  margin: 4px;
  font-size: 20px !important;
}

.icon-links {
  margin-bottom: 16px;
}

a.icon-before,
.address-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  line-height: 1;
}

a.icon-before > i,
.address-block > i {
  margin-right: 8px;
  display: block;
  margin-top: 0;
  line-height: 1;
}

.address-block {
  line-height: 1.5;
}

.address-block > i {
  margin-top: 2px;
}

/* Notice Board Section Design */
.notice-box {
  text-align: center;
  padding-top: 32px;
  position: relative;
}

.notice-board-column {
  margin: 0 10px 15px !important;
  background: #fff;
  border-radius: 4px;
  padding: 15px;
  max-width: 450px;
}

.notice-content-details {
  margin-top: 20px;
}

.d-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.notice-image {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 40%;
  flex: 0 0 40%;
}

.dtails-wrap {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding-right: 15px;
  text-align: left;
}

span.notice-box-sub-title {
  display: block;
  font-size: 22px;
  font-family: "Lora";
  font-weight: 700;
  text-transform: uppercase;
}

h3.notice-box-title {
  font-family: "Lora";
  text-transform: uppercase;
  margin: 0;
  padding: 0 0 6px;
}

.notice-box:before {
  content: "";
  position: absolute;
  display: block;
  border-top: 10px dotted #000;
  width: 100%;
  top: 0;
  left: 0;
}

.notice-box br {
  display: none;
}

span.seperator-line {
  display: block;
  width: 44px;
  height: 1px;
  background: #000;
  margin: 8px auto 16px;
}

span.notice-meta {
  display: block;
  font-weight: 600;
}

.notice-board-column-row {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.notice-title h2.section-title {
  color: #fff;
  position: relative;
}

.notice-title h2.section-title:after {
  content: "";
  position: absolute;
  width: 54px;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  height: 1px;
  background: #fff;
}

.notice-board-row {
  padding-bottom: 0;
}

.text-red {
  color: #e10d2b !important;
}

.green-tree-before:after {
  content: "";
  position: absolute;
  top: 13%;
  bottom: 0;
  left: 0;
  right: 0;
  background: #96ad4f;
}

.orange-tree-before:after {
  content: "";
  position: absolute;
  top: 13%;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ba6636;
}

.library-image-col,
.lb-image,
.lb-image .et_pb_image_wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

.lb-image .et_pb_image_wrap img {
  -o-object-fit: cover;
  object-fit: cover;
}

@media screen and (max-width: 980px) {
  .box-column,
  .box-icon-column {
    max-width: 250px;
  }

  h2.section-title {
    font-size: 40px;
  }

  h4.welcome-title {
    font-size: 26px;
  }

  .intro-text-wrap {
    padding: 0 20px;
  }

  .et_pb_row.et_pb_equal_columns {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .et_pb_row.et_pb_equal_columns .library-image-col {
    max-width: 470px;
    margin: 0 auto !important;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    float: none;
  }

  .intro-text-details-col {
    padding-bottom: 0;
  }

  .et_pb_row .et_pb_column.notice-board-column {
    float: none;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 15px !important;
  }

  .et_pb_gutters1 .et_pb_column,
  .et_pb_gutters1.et_pb_row .et_pb_column.box-icon-column {
    margin-top: 40px !important;
    margin-bottom: 30px !important;
  }

  a.icon-before,
  .address-block,
  .footer-social-links {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: left;
    max-width: 300px;
    margin: auto;
  }

  .et_pb_section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .notice-board-column > .et_pb_module {
    margin: 15px 0;
  }

  .et_pb_section .et_pb_column.box-column {
    margin-bottom: 15px !important;
  }
}

@media screen and (max-width: 767px) {
  a.icon-before,
  .address-block,
  .footer-social-links {
    text-align: center;
  }
}

/*  New Header Csss */
li#menu-item-28018 > a {
  font-size: 0 !important;
}

#main-header {
  background: transparent !important;
  border: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

#page-container {
  padding-top: 0 !important;
}

.logo_container {
  display: none;
}

#main-header #et-top-navigation {
  padding: 0 !important;
  /* background: #fff !important; */
  width: 100%;
  border-radius: 6px;
  margin: 40px 0 20px !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

header#main-header div#et-top-navigation #top-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  float: none;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: #fff;
  border-radius: 4px;
  /* -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1; */
  max-width: 1165px;
  -webkit-box-shadow: 0px 2px 10px rgba(49, 49, 49, 0.3);
  box-shadow: 0px 2px 10px rgba(49, 49, 49, 0.3);
  width: 100%;
}

header#main-header div#et-top-navigation #top-menu li > a {
  padding: 20px 0;
  line-height: 1;
  display: block;
  font-family: "Lora";
  font-weight: 700;
  font-size: 16px;
}

header#main-header div#et-top-navigation #top-menu li {
  padding: 0;
  display: block;
  float: none;
  margin: 0 10px;
}

header#main-header div#et-top-navigation #top-menu li {
  z-index: 1;
  position: relative;
}

header#main-header div#et-top-navigation #top-menu li.Custom-logo-spacer {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 90px;
  flex: 0 0 90px;
  max-width: 90px;
  font-size: 0 !important;
  position: relative;
  z-index: 0;
}

nav#top-menu-nav {
  float: none;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

header#main-header
  div#et-top-navigation
  #top-menu
  li.menu-item-has-children
  > a {
  padding-right: 20px;
}

header#main-header
  div#et-top-navigation
  #top-menu
  li.Custom-logo-spacer
  > a:before {
  content: "";
  display: block;
  background-image: url("https://afhs.ab.ca/wp-content/uploads/2020/04/tree-logo.png");
  background-size: 94px;
  background-repeat: no-repeat;
  position: absolute;
  top: -12px;
  bottom: 0;
  left: 0;
  right: 0;
  background-position: top center;
  opacity: 0;
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

header#main-header.et-fixed-header
  div#et-top-navigation
  #top-menu
  li.Custom-logo-spacer
  > a:before {
  bottom: -120px;
}

header#main-header
  div#et-top-navigation
  #top-menu
  li.Custom-logo-spacer
  > a:after {
  content: "";
  display: block;
  background-image: url("images/afhs-logo-big.png");
  background-repeat: no-repeat;
  position: absolute;
  top: -12px;
  bottom: -110px;
  width: 400px;
  background-position: top center;
  background-size: 400px;
  left: -155px;
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

body:not(.page-id-27759)
  header#main-header
  div#et-top-navigation
  #top-menu
  li.Custom-logo-spacer
  > a:after,
header#main-header.et-fixed-header
  div#et-top-navigation
  #top-menu
  li.Custom-logo-spacer
  > a:after {
  opacity: 0;
}

body:not(.page-id-27759)
  header#main-header
  div#et-top-navigation
  #top-menu
  li.Custom-logo-spacer
  > a:before,
header#main-header.et-fixed-header
  div#et-top-navigation
  #top-menu
  li.Custom-logo-spacer
  > a:before {
  opacity: 1;
  background-size: 76px;
}

body:not(.home)
  header#main-header
  div#et-top-navigation
  #top-menu
  li.Custom-logo-spacer
  > a:before {
  bottom: -30px;
}

body:not(.home)
  header#main-header
  div#et-top-navigation
  #top-menu
  li.Custom-logo-spacer
  > a:after {
  display: none;
}

body:not(.home)
  header#main-header.et-fixed-header
  div#et-top-navigation
  #top-menu
  li.Custom-logo-spacer
  > a:before {
  top: -16px;
}

header#main-header
  div#et-top-navigation
  #top-menu
  li.Custom-logo-spacer:before {
  content: "";
  position: absolute;
  top: -24px;
  width: 140px;
  left: -25px;
  height: 130px;
  border-radius: 50%;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+45,ffffff+100&1+0,1+45,0+100 */
  /* FF3.6-15 */
  /* Chrome10-25,Safari5.1-6 */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(255, 255, 255, 1)),
    color-stop(45%, rgba(255, 255, 255, 1)),
    color-stop(46%, rgba(255, 255, 255, 0)),
    to(rgba(255, 255, 255, 0))
  );
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 45%,
    rgba(255, 255, 255, 0) 46%,
    rgba(255, 255, 255, 0) 100%
  );
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#00ffffff', GradientType=0);
  /* IE6-9 */
}

header#main-header #top-menu .menu-item-has-children > a:first-child:after {
  top: 20px;
}

#main-header.et-fixed-header {
  -webkit-box-shadow: 0px 1px 3px #ddd !important;
  box-shadow: 0px 1px 3px #ddd !important;
  background: #fff !important;
  border: 1px solid #eee;
}

#main-header.et-fixed-header div#et-top-navigation #top-menu {
  -webkit-box-shadow: none;
  box-shadow: none;
  background: transparent;
}

.logged-in #menu-item-28004:before {
  content: "Log Out";
  padding: 17px 0;
  line-height: 1;
  display: block;
  font-family: "Lora";
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
}

.et_pb_section.et_pb_section_0.et_pb_with_background.et_section_regular {
  padding-top: 150px !important;
  background-position: 50% 30%;
}

.event-button a {
  background: #3e7c3b;
  text-align: center;
  padding: 10px;
  font-family: "Lora";
  text-transform: uppercase;
  font-weight: 700;
  font-size: 18px;
  display: block;
}

#et-main-area {
  overflow-x: hidden;
}

/* .tribe-common.tribe-events {
    padding-top: 130px !important;
} */
.entry-content .tribe-events-calendar thead th,
.entry-content .tribe-events-calendar tr th {
  color: #fff;
}

.sblog-title {
  color: #fff;
}

#news-row #blog-ct .column {
  width: 31.667%;
  margin-right: 2.5% !important;
  padding: 0;
  border: 0;
}

#news-row #blog-ct .column:last-child {
  margin-right: 0 !important;
}

#news-row #blog-ct article {
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  overflow: hidden;
  margin-bottom: 20px;
}

#news-row #blog-ct article .article-image {
  width: 100%;
  padding-right: 0;
}

#news-row #blog-ct article .article-desc {
  width: 100%;
  padding: 20px;
}

#news-row #blog-ct article .article-image .et_pb_image_container {
  margin: 0;
}

#news-row #blog-ct article .article-desc a.more-link {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 2px 20px;
  margin: 20px 0px 0;
  border: 0 !important;
  border-radius: 5px;
  font-size: 14px !important;
  max-width: 300px;
  width: 100%;
}

#blog-ct .pagination a {
  display: block;
}

.post-search {
  background: #ddf1dc;
  padding: 15px;
  border-radius: 4px;
}

.post-search form.is-search-form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border: 2px solid;
  color: #3f7d3a;
  border-radius: 4px;
}

.post-search .is-form-style .is-search-submit path {
  fill: #fff;
}

.post-search .is-form-style button.is-search-submit {
  height: 50px;
  background: #3f7d3a;
  border: 0 !important;
}

.post-search .is-form-style.is-form-style-3 input.is-search-input {
  height: 50px;
  border: 0 !important;
  padding: 14px;
  outline: 0;
}

.post-search div.is-ajax-search-details,
.post-search div.is-ajax-search-result {
  background: #3f7d3a;
}

.post-search .is-form-style input.is-search-submit,
.post-search .is-search-icon {
  background: transparent;
  outline: 0;
  border: 0;
}

.post-search .is-form-style .is-search-submit path {
  fill: #fff;
}

.post-search .is-ajax-search-categories-details > div:hover,
.post-search .is-ajax-search-result .is-ajax-search-post:hover,
.post-search .is-ajax-search-result .is-show-more-results:hover,
.post-search .is-ajax-search-tags-details > div:hover {
  background: #3f7d3a;
}

.post-search div.is-ajax-search-details,
.post-search div.is-ajax-search-result {
  background: #3f7d3a;
}

.is-ajax-search-details a,
.is-ajax-search-result a {
  color: #3f7d3a;
}

.post-meta span.author.vcard a {
  pointer-events: none;
  display: inline-block;
}

p.post-meta > a {
  display: none;
}

h1#comments {
  font-size: 24px;
}

#comment-wrap {
  padding-top: 25px;
}

.comment-body {
  margin-bottom: 15px;
}

a.comment-reply-link.et_pb_button {
  color: #fff !important;
}

.comment_avatar img {
  border-radius: 50%;
}

.single-post h1.entry-title {
  margin-bottom: 20px;
}

.single-post #content-area #sidebar {
  margin-top: 0 !important;
}

.mobile-title {
  display: none;
}

@media screen and (min-width: 981px) and (max-width: 1140px) {
  header#main-header div#et-top-navigation #top-menu li > a {
    font-size: 13px;
  }

  header#main-header div#et-top-navigation #top-menu li {
    margin: 0 10px;
  }
}

@media screen and (max-width: 980px) {
  body {
    overflow-x: hidden;
  }

  header#main-header div#et-top-navigation #top-menu li.Custom-logo-spacer {
    display: none;
  }

  .mobile-title {
    display: block;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    text-align: center;
    padding: 0 20px;
  }

  .mobile-title h1 {
    font-size: 20px;
    text-transform: uppercase;
    font-family: "Lora";
    font-weight: 700;
    padding-bottom: 0px;
    line-height: 1.4;
  }

  .home ul.ecs-event-list li:first-child {
    display: block;
  }

  .home ul.ecs-event-list li {
    display: none;
  }

  .logo_container {
    display: block;
  }

  .site-header-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
  }

  header#main-header div#et-top-navigation #top-menu {
    display: none;
  }

  header#main-header div#et-top-navigation {
    -webkit-box-shadow: none;
    box-shadow: none;
    margin: 0 0 0 0 !important;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .site-header-wrap .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  #main-header .logo_container,
  #main-header.et-fixed-header .logo_container {
    height: auto !important;
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100px;
    flex: 0 0 100px;
    max-width: 100px;
  }

  #main-header .logo_container img,
  #main-header.et-fixed-header .logo_container img {
    max-width: 60px;
    display: block;
  }

  header#main-header.et-fixed-header {
    position: fixed !important;
  }

  .admin-bar header#main-header {
    top: 32px !important;
  }

  .admin-bar header#main-header.et-fixed-header {
    top: 0px !important;
  }

  span.logo_helper {
    display: none;
  }

  nav#top-menu-nav {
    display: none;
  }

  #main-header #et-top-navigation {
    width: auto;
    margin-left: auto !important;
  }

  .et_header_style_left #et-top-navigation .mobile_menu_bar,
  .et_header_style_split #et-top-navigation .mobile_menu_bar {
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-family: "Lora";
    font-size: 16px;
    line-height: 1;
    text-transform: uppercase;
  }

  .et_header_style_left #et-top-navigation .mobile_menu_bar > span {
    margin-top: -3px;
  }

  .et_pb_section.et_pb_section_0.et_pb_with_background.et_section_regular {
    padding-top: 150px !important;
  }

  .et_mobile_menu {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 280px;
    padding: 0;
    background: #fff;
    left: 0;
    display: block !important;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: all 0.2s linear;
    transition: all 0.2s linear;
    z-index: 99999;
    max-height: 100%;
    overflow-y: auto;
    right: 0;
    margin-left: auto;
  }

  .mobile_nav {
    position: relative;
    z-index: 1000000;
  }

  #mobile-menu-close button {
    width: 36px;
    height: 36px;
    border-radius: 25px;
    background: rgb(0 0 0 / 90%);
    color: #ffffff;
    text-align: center;
    cursor: pointer;
    z-index: 10;
    display: block;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    display: block;
    line-height: 36px;
    padding: 0;
    border: 0;
    right: 290px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    position: absolute;
    top: 18px;
    outline: none;
    cursor: pointer;
    font-size: 24px;
    min-width: 1px;
    font-weight: 400;
  }

  .admin-bar #mobile-menu-close button {
    top: 39px;
  }

  .mobile_nav.opened .et_mobile_menu,
  .et_mobile_menu.active_menu {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }

  .admin-bar .et_mobile_menu {
    padding-top: 46px;
  }

  .et_mobile_menu > li + li,
  .et_mobile_menu ul > li + li {
    border-top: 1px solid #e2e2e2;
  }

  #main-header .et_mobile_menu li ul.sub-menu {
    padding: 0;
    border-left: 5px solid#ddd;
    display: none;
  }

  .et_mobile_menu li a {
    display: block;
    font-family: "Lora";
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500 !important;
  }

  .et_mobile_menu li.Custom-logo-spacer {
    display: none;
  }

  .logged-in #menu-item-28004:before {
    display: block;
    font-family: "Lora";
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500 !important;
    padding: 14px;
  }

  .drop-arrow {
    cursor: pointer;
    padding: 12px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-width: 46px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-left: 1px solid rgba(189, 189, 189, 0.3);
  }

  .down-arrow {
    width: 12px;
    height: 12px;
    background: 0 0;
    display: block;
    border-bottom: 2px solid;
    border-right: 2px solid;
    border-color: #666;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    position: relative;
    top: -2px;
    -webkit-transition: all 0.25s linear;
    transition: all 0.25s linear;
  }

  span.drop-arrow.active span.down-arrow {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .et_mobile_menu li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  
  }

  

  #main-header .et_mobile_menu li ul.sub-menu {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    border-top: 1px solid #e2e2e2;
    display: none !important;
  }
  #main-header .et_mobile_menu li ul.sub-menu.sub-menu-toggle{
    display: block !important;
  }

  

  .et_mobile_menu li > a {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }

  .et_mobile_menu li a {
    border: 0 !important;
  }

  .mobile-menu-overlay {
    background: rgba(255, 255, 255, 0.45);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    cursor: pointer;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.2s linear;
    transition: all 0.2s linear;
  }

  .has-mobile-menu .mobile-menu-overlay {
    visibility: visible;
    opacity: 1;
  }

  #rprl,
  #ovon {
    background-image: url(https://proto.afhs.ab.ca/wp-content/uploads/2020/09/white-tree-bg.png) !important;
    padding-top: 60px !important;
  }

  #dlce {
    background-image: url(https://proto.afhs.ab.ca/wp-content/uploads/2020/09/box-section-bg-mob.png) !important;
    background-size: contain !important;
    padding-top: 60px;
  }

  #dlce:before {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #e4e4e4;
    height: 95%;
    width: 100%;
    right: 0;
    content: "";
  }

  div#afhs-banner {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .welcome-section {
    padding-top: 60px !important;
  }

  .green-tree-before {
    padding-top: 60px !important;
  }

  .orange-tree-before {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  #rprl {
    padding-bottom: 50px !important;
  }

  #news-row #blog-ct .column {
    width: 48.667%;
  }

  .single-post ul.heateor_sss_sharing_ul {
    padding-top: 10px !important;
  }

  div#event-block {
    -ms-flex-item-align: end;
    align-self: flex-end;
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 767px) {
  #news-row #blog-ct .column {
    width: 100%;
  }

  #news-row #blog-ct article {
    padding: 0;
  }

  #news-row #blog-ct article .article-image .et_pb_image_container {
    margin: 0;
    width: 100%;
  }

  #news-row #blog-ct article .article-desc a.more-link {
    margin: 20px auto 0 !important;
    text-align: center;
    display: block;
    max-width: 100%;
  }
}

@media screen and (max-width: 520px) {
  .box-column,
  .box-icon-column {
    max-width: 300px;
  }

  .box-column .box-image .et_pb_image_wrap,
  .box-column .box-image .et_pb_image_wrap img {
    width: 100%;
  }

  #main-header .logo_container,
  #main-header.et-fixed-header .logo_container {
    height: auto !important;
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 60px;
    flex: 0 0 60px;
    max-width: 60px;
  }

  .mobile-title h1 {
    font-size: 12px;
  }

  .notice-image {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 32%;
    flex: 0 0 32%;
    max-width: 32%;
  }
}

/*
* Add to cart buttons
*/
.wp_cart_button_wrapper .wspsc_add_cart_submit {
  font-size: 16px;
  padding: 0.5em 1em !important;
  margin: 10px 0;
  background-color: rgba(0, 0, 0, 0);
  color: rgb(26, 27, 27) !important;
  font-family: Lora, Georgia, "Times New Roman", serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  border-color: rgb(26, 27, 27);
  border-width: 1px !important;
  cursor: pointer;
  border-radius: 3px;
  -webkit-transition: all 300ms ease 0ms;
  transition: all 300ms ease 0ms;
}

.wp_cart_button_wrapper .wspsc_add_cart_submit:hover,
.wp_cart_button_wrapper .wspsc_add_cart_submit:focus {
  color: rgb(255, 255, 255) !important;
  background-image: initial !important;
  background-color: rgb(62, 124, 59) !important;
  border-color: rgb(62, 124, 59) !important;
}

.shopping_cart .wp_cart_item_name a {
  color: #3d3a3a;
  font-weight: 800;
}

.shopping_cart table tbody th,
.shopping_cart table tbody td {
  padding: 5px !important;
}
#mepr_reset_password_form input#wp-submit {
  background: green;
  color: #fff;
  padding: 15px 35px;
  border: 0;
  cursor: pointer;
  font-size: 15px;
}

#main-content .container::before {
  width: 0px;
}
.tribe-common--breakpoint-medium.tribe-common .tribe-common-h4 {
  font-size: 14px !important;
  padding: 5px 8px !important;
  background: #b2b2b2;
}
.tribe-events .tribe-events-calendar-month__calendar-event {
  padding: 0 !important;
}
.tribe-events-calendar-month__calendar-event-datetime time {
  margin: 5px;
  display: inline-block;
}

.tribe-common .tribe-common-anchor-thin {
  font-size: 12px;
  padding: 8px 6px 4px 6px;
  display: inline-block;
  line-height: 1.3;
  border-bottom: 0 !important;
  font-weight: 600;
}
.tribe-common .tribe-common-anchor-thin:active,
.tribe-common .tribe-common-anchor-thin:focus,
.tribe-common .tribe-common-anchor-thin:hover {
  border-bottom: 0 !important;
}
.tribe-common--breakpoint-medium.tribe-events
  .tribe-events-calendar-month__day:hover:after,
.tribe-common--breakpoint-medium.tribe-events
  .tribe-events-calendar-month__day:after {
  display: none;
}
/* .tribe-events .tribe-events-c-ical__link:before{
    content: '+' !important;
    height: auto !important;
    width: auto;
    font-size: 18px !important;
    background-image:none !important;
} */
.tribe-related-events-thumbnail {
  width: 100px;
  display: block;
  float: left;
  margin: 10px;
}
nav.tribe-events-nav-pagination a {
  color: white !important;
}
.tribe-events .tribe-events-c-ical__link {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #fff !important;
  border: 1px solid #3f7d3a !important;
  border-radius: 4px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  font-weight: 700;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: #3f7d3a !important;
  padding: 5px 10px !important;
}
.tribe-events-c-ical__link:hover,
.tribe-events-c-ical__link:focus,
.tribe-events-c-ical__link:active {
  color: #fff;
  background-color: #788a3f !important;
}

.tribe-common--breakpoint-medium.tribe-events
  .tribe-events-c-view-selector--labels
  .tribe-events-c-view-selector__button {
  background: #eee;
}
.tribe-events .tribe-events-calendar-month__header-column {
  padding: 10px !important;
  background: #3d3a3a;
}
.tribe-common--breakpoint-medium.tribe-events
  .tribe-events-calendar-month__header-column-title {
  font-family: "Roboto", Helvetica, Arial, Lucida, sans-serif;
  font-size: 12px !important;
}
.tribe-events .tribe-events-calendar-month__header-column-title {
  color: #fff !important;
  text-align: center !important;
  font-size: 14px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700 !important;
}
.tribe-events
  .tribe-events-calendar-month__day--past
  .tribe-events-calendar-month__day-date {
  opacity: 0.3 !important;
  font-family: "Roboto", Helvetica, Arial, Lucida, sans-serif !important;
  color: #000 !important;
}
.tribe-events
  .tribe-events-calendar-month__day--past
  .tribe-events-calendar-month__day-date
  a.tribe-events-calendar-month__day-date-link {
  color: #000 !important;
}
.tribe-events-calendar-month__day h3.tribe-events-calendar-month__day-date {
  font-family: "Roboto", Helvetica, Arial, Lucida, sans-serif !important;
  /* color: #fff !important; */
}
.tribe-events-calendar-month__day
  h3
  a.tribe-events-calendar-month__day-date-link {
  color: #fff !important;
}
.tribe-events
  .tribe-events-calendar-month__day--past
  .tribe-events-calendar-month__calendar-event-datetime {
  display: none;
}
.tribe-events-calendar-month__calendar-event-datetime {
  display: none;
}
h3.tribe-events-calendar-month__calendar-event-tooltip-title.tribe-common-h7 {
  background-color: #3d3a3a;
  border-left: 5px solid #000;
  color: #fff !important;
  margin: 12px 0;
}

h3.tribe-events-calendar-month__calendar-event-tooltip-title.tribe-common-h7 a {
  color: #fff;
  font-size: 16px !important;
  padding: 8px 12px;
  font-family: sans-serif;
}
.tribe-events-calendar-month__calendar-event-tooltip-description.tribe-common-b3
  p {
  font-size: 14px !important;
  font-weight: 400 !important;
}
.tooltipster-sidetip.tooltipster-top .tooltipster-arrow {
  bottom: -10px !important;
}
.tooltipster-base.tribe-events-tooltip-theme .tooltipster-arrow {
  display: block !important;
}
.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-border {
  border-top-color: #fff !important;
}
.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-background {
  border-top-color: #ffffff !important;
}
.tooltipster-base.tribe-events-tooltip-theme {
  padding: 14px !important;
}
div#tribe-events-search-container {
  background: #f5f5f5;
  padding: 10px;
}
.tribe-common .tribe-common-c-btn,
.tribe-common a.tribe-common-c-btn {
  background-color: #008000 !important;
}
.tribe-common--breakpoint-medium.tribe-events
  .tribe-events-c-search__input-control {
  border-right: 0 !important;
  margin-right: 3px !important;
}
.tribe-common--breakpoint-medium.tribe-common
  .tribe-common-form-control-text__input {
  padding: 10px 10px 10px 40px !important;
  border: 2px solid #eee !important;
}
.tribe-events
  .tribe-events-calendar-month__day--current
  .tribe-events-calendar-month__day-date,
.tribe-events-calendar-month__day--current
  .tribe-events-calendar-month__day-date-link {
  color: #ffffff !important;
  font-weight: 700;
  background: #008000;
}
button.tribe-events-calendar-month__day-cell.tribe-events-calendar-month__day-cell--mobile.tribe-events-calendar-month__day-cell--selected {
  background: #008000;
}

.tribe-events-calendar-month__multiday-event-bar {
  border-radius: 0 !important;
}

article.tribe-events-calendar-month__multiday-event.tribe_events_cat-holiday
  .tribe-events-calendar-month__multiday-event-bar-inner {
  padding: 6px;
}
.tribe-common .tribe-common-h7,
.tribe-common .tribe-common-h8 {
  font-family: sans-serif !important;
}
button.tribe-common-c-btn.tribe-events-c-search__button {
  background-color: #3d3a3a !important;
  border-radius: 0;
}
.tribe-common--breakpoint-medium.tribe-events
  .tribe-events-calendar-month__day-cell--desktop:hover {
  background: #f7f7f7;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
#photo-gallery .et_pb_gallery_item {
  background: #f7f7f7;
  -webkit-box-shadow: 0 0 4px #ddd;
  box-shadow: 0 0 4px #ddd;
}

#photo-gallery .et_pb_gallery_item .et_pb_gallery_caption {
  display: none;
}

#photo-gallery .et_pb_gallery_item h3.et_pb_gallery_title {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  padding: 10px;
  margin: 0;
  min-height: 80px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

@media (min-width: 981px) {
  #photo-gallery .et_pb_grid_item {
    width: 22.875%;
    margin-right: 2.5%;
  }
  #photo-gallery .et_pb_grid_item.last_in_row {
    margin-right: 0;
  }
}
.text-black {
  color: #000;
}
a.text-black {
  text-decoration: underline;
}
td.directors-name {
  width: 30%;
  background: #f9f9f9;
  border-right: 1px solid #eee;
}
body:not(.et-tb) #main-content .container,
body:not(.et-tb-has-header) #main-content .container {
  padding-top: 50px;
  padding-bottom: 40px;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
  padding-bottom: 0 !important;
  padding-top: 50px !important;
}
p.tribe-events-back {
  margin-top: 0;
}
@media (min-width: 981px) {
  .et-animated-content#page-container {
    -webkit-transition: none !important;
    transition: none !important;
    margin-top: 0 !important;
  }
}
@media screen and (max-width: 420px) {
  td.directors-name,
  td.directors-mail {
    display: block;
    width: 100%;
  }
}
/*************************************************
************ styles_AFHS_roy.css *****************
**************************************************/
/* Use in Appearance > Menus to specify that a link is not clickable */
.unclickable > a:hover {
  cursor: default;
}

/*Slider style */
.et_pb_slider {
  border-radius: 5px;
}

/* Styling the Register buttons */
#rtec .rtec-register-button {
  background-color: #f5f5f5;
  border-radius: 5px;
  margin-top: 10px;
  font-size: 14px;
  font-family: "Poppins", Helvetica, Arial, Lucida, sans-serif;
}

#rtec .rtec-form-buttons input {
  border-radius: 5px;
}

/*styling for references to the calendar page */
.calendar {
  text-decoration: underline;
  color: #000000;
}

/*styling for references to the events page */
.events {
  text-decoration: underline;
  color: #000000;
}

/* TEC Calendar view, font for start/end times */
.tribe-events .tribe-events-calendar-month__calendar-event-datetime {
  font-size: 18px;
}

/* TEC Calendar view, font for event titles */
.tribe-common .tribe-common-anchor-thin {
  font-size: 18px;
}

/* TEC Events view, larger font for start/end times */
.tribe-common--breakpoint-medium.tribe-common .tribe-common-b2 {
  font-size: 18px;
}

/* TEC Events view, larger font for event titles */
.tribe-common--breakpoint-medium.tribe-common .tribe-common-h4--min-medium {
  font-size: 18px;
}

/* TEC Calendar View, button on top right, background color */
.tribe-common .tribe-common-c-btn,
.tribe-common a.tribe-common-c-btn {
  background-color: #008000;
}

/* TEC Calendar View, button on top right, hover color */
.tribe-common .tribe-common-c-btn:focus,
.tribe-common .tribe-common-c-btn:hover,
.tribe-common a.tribe-common-c-btn:focus,
.tribe-common a.tribe-common-c-btn:hover {
  background-color: #4c1b16;
}

.tribe-events .datepicker .day.active,
.tribe-events .datepicker .day.active.focused,
.tribe-events .datepicker .day.active:focus,
.tribe-events .datepicker .day.active:hover,
.tribe-events .datepicker .month.active,
.tribe-events .datepicker .month.active.focused,
.tribe-events .datepicker .month.active:focus,
.tribe-events .datepicker .month.active:hover,
.tribe-events .datepicker .year.active,
.tribe-events .datepicker .year.active.focused,
.tribe-events .datepicker .year.active:focus,
.tribe-events .datepicker .year.active:hover {
  background: #008000;
}

.tribe-events-calendar td.tribe-events-present div[id*="tribe-events-daynum-"],
.tribe-events-calendar
  td.tribe-events-present
  div[id*="tribe-events-daynum-"]
  > a {
  background-color: #008000;
}

#tribe-events .tribe-events-button,
.tribe-events-button {
  background-color: #008000;
}

/*Divi Testimonials module styling */
.et_pb_testimonial_0.et_pb_testimonial {
  border-radius: 10px;
}

/*styling for all mailto: links */
.email {
  text-decoration: underline;
  color: #0000ff;
}

.text-blue {
  color: #0000ff !important;
}

/*styling for all hyperlinks */
.link {
  text-decoration: underline;
  color: #0000ff;
}

/*styling for references to the calendar page */
.calendar {
  text-decoration: underline;
  color: #0000ff;
}

/*styling for references to the events page */
.events {
  text-decoration: underline;
  color: #0000ff;
}

/* styling the h2 tags where appropriate */
.h2style {
  font-size: 1.17em;
}

.h2style2 {
  font-size: 1.4em;
}

/* making testimonials quote background circular */
.et_pb_testimonial:before {
  background-color: #ffffff;
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 70px;
}

/* Removing uneven blurb divider lines on SIG page, mobile portrait view */
@media screen and (max-width: 767px) {
  .active_group_cls .et_pb_main_blurb_image {
    min-width: 200px;
    width: 200px !important;
  }
}
@media screen and (max-width: 567px) {
  .active_group_cls .et_pb_main_blurb_image {
    min-width: 100px;
    width: 100px !important;
  }
}

/* Blog Post titles */
#blog-ct .article-desc h3.entry-title a {
  font-family: "Open Sans" !important;
}

/* Foogallery caption color */
.fg-simple_portfolio.fg-dark .fg-caption,
.fg-simple_portfolio.fg-light .fg-caption {
  color: #3d3a3a;
}

/* Libary catalogue styles: did not work in this stylesheet.
 moved to /wp-content/themes/afhs-child/style.css */

/* Import csv/Choose file button
#afhsimportcsv {
  background-color: #ba6636;
}*/

/* Import csv button 
#afhsimportcsv-btn {
  background-color: #ba6636;
}*/

/* Customer: On the library page at the bottom, there is blue used as a background colour
   where the library catalogue search box is. Please change that to the dark red-brown 
#search_bar{
  background-color: #ba6636;
}*/

/* Customer: The magnifying glass should be green  
   because it is a clickable thing like a button.
   .lib-search-btn {background-color:#008000;
  }*/

/*  Customer: make background behind Keyword / Author / Title be white 
  .dropdown-catalogue span.select2-selection.select2-selection--single{
    background-color: #ffffff;
  }*/

/*  Customer: make clear search button be green
  #search_bar .search-lc-cancel {
    background-color: #008000;
    }
    
  /*Customer: make download pdf button green
    .table-afhs .buttons-pdf span {
    background-color: #008000;
    } */
.tribe-common .tribe-common-c-loader__dot {
  background-color: rgba(63, 125, 58, 0.07);
}

.category-afhs-news {
  margin-bottom: 60px;
}
.et_pb_widget a {
  text-decoration: none;
  color: #fff !important;
}
.tribe-related-event-info a {
  color: #fff !important;
}
.tribe-related-event-info .event-is-recurring {
  color: #fff !important;
}
.calender-loader {
  text-align: center;
  padding: 100px 0;
}
.event-is-recurring a {
  color: blue !important;
}
.single-tribe_events .tribe_events .tribe-events-cal-links a {
  background-color: unset !important;
}
/* .page-id-21638 #wpadminbar{
    display: none;
} */

li.tribe-events-nav-previous,
li.tribe-events-nav-next {
  list-style: none;
}

#recent-posts-2 a {
  text-decoration: none;
  color: #666 !important;
}
.tribe-common .tribe-common-c-svgicon {
  color: white;
}
.tribe-events .tribe-events-calendar-month__mobile-events-icon--event {
  background-color: #008000;
}
.tribe-events-header__messages.tribe-events-c-messages.tribe-common-b2.tribe-common-c-loader__dot.tribe-common-c-loader__dot--third {
  width: 100%;
}
