/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         U7 Solutions
 Author URI:     https://www.u7solutions.com
 Template:       Divi
 Version:        1.0.0
*/
:root {
  --gold: #e4b32a;
  --blue: #1c1c42;
  --stc-blue: #151532;
  --red: #e1251b;
  --red-dark: #940012;
  --gray: #303030;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --teal: #0099b1;
  --orange: #e26309;
  --yellow: #f5b500;
  --green: #82ae1f;
  --pink: #d20043;
  --mid-gray: #b6b6b6;
}
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/*---------- GENERAL ----------*/
html {
  overflow-x: hidden;
}
.single-organization #main-content,
.page-template-page-members #main-content,
.page-template-page-admin-dashboard #main-content,
.single-post #main-content,
.page-template-page-member-resources #main-content {
  background: url("assets/img/stc-header.jpg") top left no-repeat;
  background-size: contain;
  padding-top: 4.25rem;
}
@media (max-width: 768px) {
  .single-organization #main-content {
    background-size: auto;
    background-position: top center;
  }
}
#main-content .container {
  padding-bottom: 4rem;
}
.et_pb_section {
  background-color: transparent;
}
.blue {
  color: var(--blue);
}
.red {
  color: var(--red);
  transition: color 0.3s ease-in-out;
}
.red:hover {
  color: var(--red-dark);
}
.grey {
  color: var(--gray);
}
.white {
  color: var(--white);
}
.teal {
  color: var(--teal);
}
.orange {
  color: var(--orange);
}
.yellow {
  color: var(--yellow);
}
.gold {
  color: var(--gold);
}
.green {
  color: var(--green);
}
.pink {
  color: var(--pink);
}
.smaller {
  font-size: 80%;
}
.size-1 {
  height: 16px;
  width: 16px;
}
.size-2 {
  height: 24px;
  width: 24px;
}
.size-6 {
  height: 1.25rem;
  width: 1.25rem;
}
.size-12 {
  height: 2.5rem;
  width: 2.5rem;
}
.upper {
  text-transform: uppercase;
}
.hidden-screen {
  position: absolute;
  height: 0 !important;
  width: 0 !important;
  top: -500rem;
}
.modal-overlay {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  z-index: 101;
  position: relative;
  padding: 20px;
  border-radius: 5px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  p {
    font-size: 90%;
  }
}
.modal-left {
  text-align: left;
}

.modal-title {
  font-size: 1.5em;
  margin-bottom: 1em;
}

.modal-link {
  color: var(--blue);
  text-decoration: underline;
}

.modal-close-button {
  margin-top: 2em;
  padding: 10px 20px;
  background: var(--red);
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.modal-close-button:hover {
  background: var(--gray);
}

.balance {
  text-wrap: balance;
}
.editable-field-wrapper {
  position: relative;
  width: 100%;
  .save-button,
  .delete-button {
    position: absolute;
    right: -0.75rem;
    top: 50%;
    line-height: 1;
    padding: 0;
    margin-top: -0.75rem;
    height: 1.5rem;
    width: 1.5rem;
    border-radius: 100%;
    background: var(--gray);
    color: var(--white);
    cursor: pointer;
  }
  .delete-button {
    margin-top: 1rem;
  }
  .save-button:hover {
    background-color: var(--green);
  }
  .delete-button:hover {
    background-color: var(--red);
  }
}
#add-new-image {
  border-radius: 1rem;
  border: none;
  background-color: var(--red);
  padding: 1rem 1.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: white;
  margin: 1rem auto 3rem;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
#add-new-image:hover,
#add-new-image:active {
  background-color: var(--red-dark);
}

input.org_input {
  border-radius: 0.25rem;
  font-size: 1.1rem;
  color: black;
  padding: 0.5rem 0.3rem;
  width: 90%;
  margin: 0.25rem 0;
}
.gallery-upload-input {
  padding: 4px;
  margin: -4px;
  position: relative;
  outline: none;
  border: 1px solid #efefef;
}
/* File Selector Button Styles */
.gallery-upload-input::file-selector-button {
  border-radius: 4px;
  padding: 0 16px;
  height: 40px;
  cursor: pointer;
  background-color: white;
  border: 1px solid rgba(#000, 0.16);
  box-shadow: 0px 1px 0px rgba(#000, 0.05);
  margin-right: 16px;

  /*
      This is a hack to change the button label. 
      I'm hiding the default label and then 
      manually applying the width based on 
      updated icon and label.
    */
  width: 132px;
  color: transparent;

  /*
      Firefox doesn't support the pseudo ::before 
      or ::after elements on this input field so 
      we need to use the @supports rule to enable 
      default styles fallback for Firefox.
    */
}
.gallery-upload-input:hover {
  background-color: #f3f4f6;
}

.gallery-upload-input:active {
  background-color: #e5e7eb;
}

/* Faked label styles and icon */
.gallery-upload-input::before {
  position: absolute;
  pointer-events: none;
  top: 14px;
  left: 16px;
  height: 20px;
  width: 20px;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230964B0'%3E%3Cpath d='M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z'/%3E%3C/svg%3E");
}

.gallery-upload-input::after {
  position: absolute;
  pointer-events: none;
  top: 16px;
  left: 40px;
  color: var(--primary-color);
  content: "Upload File";
}

/* Handle Component Focus */
.gallery-upload-input:focus-within::file-selector-button,
.gallery-upload-input:focus::file-selector-button {
  outline: 1px solid var(--red-dark);
  outline-offset: 2px;
}

.editable-field[contenteditable="true"] {
  border: 1px dashed #eee;
  padding: 5px 1.5rem 5px 5px;
  background-color: #fafafa;
  cursor: text;
}
.editable-field[contenteditable="true"]:empty:before {
  content: attr(data-placeholder);
  color: #888;
  pointer-events: none;
  display: block; /* Make sure it takes up space when empty */
}

a {
  color: var(--red);
}
a,
a:before,
a:after,
input[type="submit"] {
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
a:hover {
  color: var(--red-dark);
}

#page-container {
  overflow-x: hidden;
}

/* Buttons */
.et_pb_button_module_wrapper,
.et_contact_bottom_container {
  position: relative;
  padding: 0 20px;
  transition: all 300ms ease 0ms;
}
a.sm-button,
.et_pb_button_module_wrapper .et_pb_button,
.et_contact_bottom_container .et_pb_button {
  position: relative;
  margin: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

a.sm-button {
  color: #fff;
}

.btn {
  background-color: var(--red);
  color: var(--white) !important;
  display: inline-flex;
  padding: 0.4rem 1rem;
  line-height: 1.25rem;
  text-transform: uppercase;
  font-weight: bold;
  white-space: balance;
  font-size: 1rem;
  border-radius: 0.25rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  display: flex;
  gap: 1rem;
  align-items: center;
  &:hover {
    background-color: var(--gray);
  }
}

.max-1280 {
  display: flex;
  width: 100%;
  max-width: 1280px;
}

/*---------- HEADER ----------*/
header .container {
  display: flex;
  align-items: stretch;
  width: 96%;
}
.top-header {
  width: 100%;
  padding: 0.5rem;
  background: hsla(240, 40%, 18%, 1);
  color: white;
  display: flex;
  justify-content: center;
  .lang-change {
    color: white;
    text-transform: uppercase;
    font-size: 0.9rem;
  }
  .stc-header-border {
    border: none;
    border-top: 3px solid #e4b32a;
    width: 185px;
    text-align: center;
    margin: 0 auto;
    display: flex;
    justify-self: center;
  }
  .lang-signup {
    display: flex;
    width: 100%;
    max-width: 1280px;
    justify-content: space-between;
    text-transform: uppercase;
    font-size: 0.9rem;
  }
  .lang-signup-switcher {
    line-height: 1;
    display: flex;
    align-items: center;
  }
  .lang-signup-signin {
    display: flex;
    align-items: center;
    gap: 1rem;
    .fa-solid {
      height: 1rem;
      width: 1rem;
      outline: var(--white);
    }
    a {
      transition: color 0.3s ease-in-out;
      align-items: center;
      display: flex;
      gap: 0.5rem;
      &:hover {
        color: var(--gold) !important;
      }
    }
  }
}
@media screen and (min-width: 1024px) {
  .top-header {
    background: linear-gradient(
      140deg,
      hsla(240, 40%, 18%, 1) 58%,
      hsla(359, 85%, 53%, 1) 58%
    ) !important;

    background: -moz-linear-gradient(
      140deg,
      hsla(240, 40%, 18%, 1) 58%,
      hsla(359, 85%, 53%, 1) 58%
    ) !important;

    background: -webkit-linear-gradient(
      140deg,
      hsla(240, 40%, 18%, 1) 58%,
      hsla(359, 85%, 53%, 1) 58%
    ) !important;

    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#ED2124", endColorstr="#1C1C42", GradientType=1 );
  }
  .pl-45 {
    padding-left: 45%;
  }
}
.logo_container {
  position: static !important;
  width: 30% !important;
  padding: 0.5rem 0;
  #logo {
    height: 85px !important;
    max-height: 100% !important;
    max-width: 100% !important;
  }
}
.et_menu_container {
  display: flex;
}
#et-top-navigation {
  padding: 0 !important;
  margin-left: auto;
  display: flex;
}
#top-menu li li a {
  min-width: 220px;
}
#top-menu-nav {
  position: relative;
  float: none;
  display: none;
  justify-content: stretch;
}
@media (min-width: 981px) {
  #top-menu-nav {
    display: flex;
  }
}

#et-top-navigation {
  display: flex;
}
@media (max-width: 980px) {
  #et-top-navigation {
    display: flex !important;
    align-items: center;
  }
}
#et-top-navigation nav > ul {
  display: flex;
  gap: 1.5rem;
  justify-items: stretch;
}
#top-menu > li {
  justify-content: stretch;
  display: flex;
  position: relative;
  padding: 0;
}
#top-menu > li > ul.sub-menu > .menu-item-has-children {
  position: relative;
}
.nav li li ul {
  position: absolute;
  top: 0;
  left: 100%;
  background-color: var(--red);
  border-radius: 5px;
  width: 240px;
}
#et-top-navigation nav > ul > li > a {
  opacity: 1 !important;
  text-transform: uppercase;
  padding: 0 !important;
  display: flex;
  gap: 0.25rem;
  align-items: center;
  white-space: nowrap;
}
#et-top-navigation nav > ul > li > a::after {
  position: relative !important;
}
#et-top-navigation nav > ul li.current_page_item > a {
  font-weight: bold;
}

#top-members {
  display: flex;
  align-self: stretch;
  margin-left: auto;
  color: #fff;
}

/* Sub menu */
.nav li > ul {
  background: var(--red);
  position: absolute;
  top: 100%;
  right: 0;
  padding: 0 0 5px;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  border: none;
  width: auto;
}
#top-menu li ul li a {
  -webkit-transition: none;
  transition: none;
  color: var(--white) !important;
}
#top-menu li li {
  padding: 0;
}
#top-menu li.mega-menu > ul > li > a {
  text-transform: uppercase;
}
#top-menu li.mega-menu ul ul li a {
  padding: 1px 20px;
}
/* Mega menu */
#top-menu li.mega-menu > ul {
  width: 960px;
  left: auto !important;
  right: -418px;
}
.is-member #top-menu li.mega-menu > ul {
  right: -130px;
  transform: inherit !important; /*Avoid being displayed to the right on click */
}
/* Mobile menu */
.et_header_style_left #et-top-navigation .mobile_menu_bar {
  padding-bottom: 0px !important;
}

/* icon box order */
.dtq-iconbox-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  .dtq-iconbox__icon-wrap {
    order: 2;
  }
  &:hover {
    .dtq-iconbox__title {
      color: var(--white);
    }
    img.dtq-icon-image {
      filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%)
        hue-rotate(0deg) brightness(100%) contrast(100%);
    }
  }
}

/*---------- FOOTER ----------*/
#main-footer {
  padding: 8rem 0;
  background-color: var(--blue);
  position: relative;
  margin: 0 auto;
}
.divider {
  background: url(assets/img/head_sep.svg) top center no-repeat;
  background-blend-mode: lighten;
  background-size: cover;
  height: 280px;
  position: absolute;
  z-index: 1;
  display: block;
}
.divider-top {
  top: 0;
  left: 0;
  width: 100%;
  margin-top: -30px;
  transform: rotateY(180deg);
}
.divider-bottom {
  bottom: 0;
  left: 0;
  width: 100%;
  margin-bottom: -30px;
  transform: rotateX(180deg);
}
#main-footer #footer-widgets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  position: relative;
  z-index: 2;
}

#main-footer .footer-widget {
  width: 100% !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  address {
    font-style: normal;
    margin-bottom: 1rem;
    div {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      .icon-text {
        display: flex;
        font-size: 0.85rem;
        align-items: center;
        gap: 0.25rem;
      }
    }
  }
}
.textwidget {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.self-end {
  align-self: flex-end;
}
#main-footer .footer-widget > div {
  width: 100%;
  margin: 0 !important;
}
#main-footer .footer-widget h4 {
  font-size: 18px !important;
  font-weight: bold !important;
}
.widget_nav_menu {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  font-weight: bold;
  margin: 0 !important;
  text-transform: uppercase;
  line-height: 1.7;
  .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 1.8 !important;
  }
  .title {
    font-size: 1rem !important;
    margin: 0 !important;
  }
  .menu-item {
    margin: 0 !important;
    padding: 0 !important;
  }
  .menu-item::before {
    display: none !important;
  }
  .menu-item a {
    font-size: 1rem !important;
    color: var(--gold) !important;
  }
}
#main-footer .footer-widget .et_pb_button_module_wrapper,
.et_contact_bottom_container {
  padding: 0;
  margin-bottom: 25px;
}
#main-footer .footer-widget a.et_pb_button,
body #page-container .et_pb_section .et_contact_bottom_container .et_pb_button {
  font-size: 15px;
  padding: 1px 20px 0px !important;
  color: #fff;
}
body #page-container .et_pb_section .et_contact_bottom_container .et_pb_button {
  color: #d60812 !important;
}

#main-footer #footer-widgets {
  display: flex;
  justify-content: space-between;
}
#main-footer #footer-widgets.clearfix:after {
  display: none;
}
#main-footer .footer-widget .widget_media_image:first-child {
  margin-bottom: 0;
}

#footer-widgets .et-social-icons,
#main-footer .footer-widget .widget_text {
  float: none;
}
#footer-widgets .et-social-icons {
  margin-top: 20px;
}
#footer-widgets .et-social-icons li {
  padding-left: 0px;
  margin-left: 15px;
}
#footer-widgets .et-social-icons li:first-child {
  margin-left: 0px;
}
#footer-widgets .et-social-icons li a {
  font-size: 18px;
}
#footer-widgets .et-social-icons li a:hover {
  opacity: 1;
}

.et_pb_widget a {
  color: #fff;
}

#footer-white {
  max-width: 1280px;
  gap: 1.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  font-size: 0.9rem;
  padding: 3rem 0;
  margin: 0 auto;
  text-align: center;
}
button.back-to-top {
  background-color: var(--red);
  color: var(--white);
  border: none;
  border-radius: 0px;
  height: 3rem;
  width: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  span {
    visibility: hidden;
    position: absolute;
  }
}
button.back-to-top:hover {
  background-color: var(--blue);
}
.footer-info,
.footer-social {
  width: 20rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  line-height: 1.5;
  text-wrap: balance;
}
.footer-social-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.footer-grad {
  width: 100%;
  padding: 0.5rem;
  background: var(--blue);
  color: #8e8e8e;
  display: flex;
  font-size: 0.8rem;
  a {
    color: #8e8e8e;
  }
}
@media (min-width: 768px) {
  #footer-white {
    flex-direction: row;
    text-align: left;
  }
  .footer-social-icons {
    justify-content: start;
  }
  .footer-info {
    text-align: right;
  }
}

@media screen and (min-width: 1024px) {
  .footer-grad {
    background: linear-gradient(
      140deg,
      var(--blue) 48%,
      var(--red) 48%
    ) !important;

    background: -moz-linear-gradient(
      140deg,
      var(--blue) 48%,
      var(--red) 48%
    ) !important;

    background: -webkit-linear-gradient(
      140deg,
      var(--blue) 48%,
      var(--red) 48%
    ) !important;

    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#ED2124", endColorstr="#1C1C42", GradientType=1 );
  }
  .pl-55 {
    padding-left: 55%;
  }
}

.et_pb_scroll_top {
  display: none !important;
}

.mc-field-group {
  width: 50%;
  float: left;
}
.mc-field-group input {
  border: none;
  padding: 15px 12px 13px 12px;
  width: 100%;
  font-style: italic;
}
.mc-field-group .select-container select {
  padding: 12px 40px 12px 20px;
  color: #fff;
  background: #151642;
  border-radius: 0px;
  height: 46px;
}
.mc-field-group .select-container:after {
  border-top-color: #fff;
}
#mce-responses {
  float: left;
  width: 100%;
  height: 15px;
  margin-top: 10px;
  font-weight: bold;
  font-size: 12px;
}

/*---------- HOME ----------*/
/* Common */
#home-slider {
  z-index: 2;
}
#home-slider .et_pb_slider_container_inner {
  display: flex;
  width: 100%;
  align-items: center;
  height: 100%;
}
#home-slider .et_pb_slide_description {
  padding: 0% 8% 4%;
  text-shadow: none;
}
#home-slider .et-pb-controllers {
  bottom: -10px !important;
}
#home-slider .et-pb-controllers a {
  border-radius: 20px;
  width: 20px;
  height: 20px;
}
#home-news .et_pb_salvattore_content {
  display: flex;
  justify-content: space-between;
}
#home-news .et_pb_salvattore_content .column {
  width: 32% !important;
}
#home-news .et_pb_salvattore_content .column .et_pb_post {
  padding: 0;
}
#home-news .et_pb_image_container,
.et_pb_post .entry-featured-image-url {
  margin: 0 0 15px 0;
}
#home-news .et_pb_salvattore_content .column .et_pb_post a:hover {
  color: #e26309 !important;
}
#home-video.left-triangle:before {
  top: -30%;
}
#home-video .et_pb_video_overlay_hover {
  background-color: rgba(214, 8, 18, 0.6);
}
#home-video .et_pb_video_overlay_hover:hover {
  background-color: rgba(214, 8, 18, 0.75);
}
#home-services .et_pb_blurb {
  height: 100%;
}
#home-services_boxes .et_pb_blurb img {
  max-height: 140px;
}
#home-services_boxes .et_pb_column:first-child:before,
#home-services_boxes .et_pb_column:last-child:before {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: -1000px;
  width: 1000px;
  height: 100%;
  background: #f5b500;
}
#home-services_boxes .et_pb_column:last-child:before {
  left: auto;
  right: -1000px;
  background: #82ae1f;
}
#home-events .et_pb_blurb_content {
  margin: 0;
}
#home-events .blurb-right .et_pb_blurb_content {
  margin: 0 0 0 auto;
}
#home-events h3 {
  max-width: 300px;
}
#home-testimonials h3,
#home-testimonials .testimonial-right h3 {
  margin-bottom: 7px !important;
}

/*---------- CONTACT ----------*/
#contact-right a {
  color: #fff;
  font-weight: bold;
}
#contact-right a:hover {
  color: #161642;
}
#contact-right .et_pb_social_media_follow li a.icon:hover::before {
  color: #161642 !important;
}
.et_contact_bottom_container .et_pb_button:before {
  content: "$";
  color: #161642;
}

/*---------- GENERAL PORTAL STYLING ----------*/
.portal {
  padding-bottom: 70px;
}

.filters,
.filters .filter-field {
  width: 50%;
  float: left;
  padding: 0 1%;
  margin-bottom: 15px;
  box-sizing: border-box;
}
.filters .filter-field_full {
  width: 100%;
}
.filters .filter-field_third {
  width: 33.333%;
}
.filters .filter-field_date {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.filters .filter-field_date label {
  flex-basis: 100%;
}
.filters .filter-field_date input {
  flex: 0 1 48%;
}
.filters label,
.filters input[type="text"],
.filters input[type="password"],
.filters input[type="email"] {
  width: 100%;
  padding: 15px 40px 15px 20px;
  background: #efefef;
  border: none;
  border-radius: 3px;
  font-size: 16px;
}
.resources-count {
  display: block;
  margin-top: 15px;
  font-size: 14px;
  font-style: italic;
  padding: 0 1%;
}
.resources-count .num {
  font-weight: bold;
}

.list ul {
  margin: 0;
  padding-left: 0px;
}
.list ul li {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0 15px;
  background: #eee;
}
.list ul li.post-headers {
  color: #eee;
  text-transform: uppercase;
  border-radius: 10px 10px 0 0;
  background: var(--red) !important;
}
.list ul li.post-headers span {
  cursor: pointer;
}
.list ul li:nth-child(even) {
  background: #dcdcdc;
}
.list ul li span {
  flex: 1;
  box-sizing: border-box;
  padding: 20px 25px 20px 0;
  font-size: 15px;
}
.list ul li.resource span {
  font-size: 14px;
}
.list ul li span i {
  margin-left: 8px;
}
.list ul li span i.fa-caret-down {
  display: inline-block;
}
.list ul li span.ASC i.fa-caret-down {
  display: none;
}
.list ul li span i.fa-caret-up {
  display: none;
}
.list ul li span.ASC i.fa-caret-up {
  display: inline-block;
}

.dashboard-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.dashboard-boxes .dashboard-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-basis: 48.5%;
  padding: 3.5% 4%;
  text-align: center;
  border: 1px solid #161642;
  border-radius: 5px 5px 0 0;
}
.dashboard-boxes .dashboard-box span.label {
  display: block;
  margin: 0 0 18px 0;
  font-size: 21px;
  line-height: 120%;
  color: #161642;
}
.dashboard-boxes .dashboard-box span.number {
  display: block;
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}
.dashboard-boxes .dashboard-box span.title {
  display: block;
  margin: 10px 0 0 0;
  font-size: 15px;
  font-weight: bold;
  line-height: 160%;
  color: #d60812;
}
.dashboard-boxes .dashboard-box select {
  margin-top: 10px;
}
.dashboard-boxes .dashboard-box a:not(.button) {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 180%;
}
.dashboard-boxes .dashboard-box a.button {
  margin-top: 20px;
}
.dashboard-boxes .select-container #member-select {
  margin-bottom: 12px;
  font-size: 14px;
}
.dashboard-boxes .select-container:after {
  margin-top: -9px;
}

#dashboard-boxes {
  justify-content: space-between;
}
#dashboard-boxes .dashboard-box {
  flex-basis: 31%;
  margin: 0 0 3% 0;
}

.list ul li.pagination {
  display: list-item;
  list-style: none;
  padding: 20px 0;
  background: none !important;
  text-align: center;
}
.list ul li.pagination ul li {
  display: inline-block;
  width: auto;
  min-width: auto;
  margin: 3px;
  padding: 4px 8px;
  background: #fff;
  color: #06262d;
  text-transform: none !important;
}
.list ul li.pagination ul li.active:hover {
  cursor: pointer;
  background: #161642;
  color: white;
}
.list ul li.pagination ul li.inactive {
  color: #c2c2c2;
}
.list ul li.pagination ul li.selected {
  background: #161642;
  color: white;
}
.list ul li.pagination ul li.total {
  font-size: 15px;
  display: block;
  margin: 5px 0 0 0;
  padding: 0;
  text-transform: uppercase !important;
}

.loader {
  display: block;
  margin: 50px auto;
  max-width: 35px;
}

/*---------- MANAGE MEMBER ----------*/
#members {
  display: flex;
  flex-wrap: wrap;
  margin: 30px 0;
}
#members .member {
  position: relative;
  width: 33.33%;
  padding: 0 4%;
  margin-bottom: 40px;
  text-align: center;
  color: #161642;
}
#members .member .remove-member {
  position: absolute;
  top: 0;
  right: calc(4% + 20px);
  border: none;
  background: #d60812;
  color: #fff;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
}
#members .member .remove-member:hover {
  background: #161642;
  color: #fff;
}

/*---------- SINGLE MEMBER RESOURCE ----------*/
.file-attachments h5 {
  margin: 40px 0 0 0;
  font-size: 20px;
}
.file-attachments h5 a {
  text-decoration: underline;
}
.file-attachments > a {
  float: left;
  margin: 10px 12px 0 0;
  border: 1px solid #ccc;
  background-color: #eee;
  padding: 10px 15px;
  border-radius: 5px;
}
.file-attachments i {
  margin-right: 7px;
}
.file-attachments > a:hover {
  background-color: #161642;
  border-color: #161642;
  color: #fff;
}

/*---------- OUR MEMBERS ----------*/
#member-categories {
  margin-top: 30px;
  background: #eee;
  border-radius: 5px;
  padding: 3rem;
  column-count: 3;
  row-gap: 0.25rem;
}
#member-categories li.member {
  padding-bottom: 15px;
  font-size: 18px;
  font-weight: 400;
  line-height: 120%;
}

/*---------- ORGANIZATION ----------*/
.org_header {
  position: relative;
  padding-top: 6rem;
  .btn {
    position: absolute;
    top: 0;
    right: 0;
  }
}

.size-6 {
  height: 1.5rem;
  width: 1.5rem;
  display: flex;
}

.org_title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: "Montserrat", Helvetica, Arial, Lucida, sans-serif;
  text-transform: uppercase;

  .main-title {
    text-align: center;
    align-self: center;
  }
  hr {
    margin: 0.5rem 0;
    background: var(--gold);
    height: 3px;
    width: 100%;
    max-width: 35%;
    min-width: 150px;
    border: none;
  }
  hr.center {
    margin: 1rem auto 2rem;
  }
}
@media (min-width: 768px) {
  .org_left_marg {
    margin-left: 20rem;
  }
}

.org_body {
  display: flex;
}
@media (max-width: 768px) {
  .org_body {
    flex-direction: column;
  }
}

.org_content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  h3 {
    font-size: 1.7rem;
    color: var(--red);
    text-transform: uppercase;
    margin: 2rem 0 0;
  }
}
.org_facilities {
  margin-top: 1rem;
}
.org_facilities ul,
.org_facilities ol {
  margin-left: 1rem !important;
  list-style: initial !important;
}
.org_facilities ul {
  list-style: disc !important;
}

.org_video {
  padding-bottom: 5rem;
}
.org_header_img {
  max-height: 17.5rem;
  border-radius: 1.56rem;
  overflow: hidden;
  object-fit: cover;
  object-position: center;
  margin-bottom: 2rem;
}

.org_sidebar {
  min-width: 20rem;
  padding: 0 2rem 0 0;
  display: flex;
  gap: 2rem;
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  .org_sidebar {
    width: 20rem;
    position: relative;
    z-index: 20;
  }
}
.org_address {
  font-style: normal;
  dl {
    margin: 0;
  }
  dd {
    margin: 0;
  }
}
.org_social {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
}
.org_digital {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.full-w {
  width: 100%;
}
.org_gallery {
  display: flex;
  position: relative;
  transition: transform 0.5s ease-in-out;
  list-style: none;
  margin: 5rem auto;
  padding: 0;
  li {
    flex: 0 0 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    img {
      border-radius: 2rem;
      overflow: hidden;
      object-fit: cover;
    }
    p {
      font-size: 0.9rem;
      margin: 0;
      text-align: center;
    }
  }
}
.org_gallery.editing {
  flex-wrap: wrap;
}
.org_gallery_wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.org_gallery_container {
  margin: 0 auto;
  width: 80%;
  overflow: hidden;
}

.org_gallery_buttons {
  position: absolute;
  z-index: 10000;
  top: 0;
  display: none;
  justify-content: space-between;
  width: 100%;
  height: 20rem;
  button {
    background: var(--white);
    border: none;
    width: 5rem;
    height: 100%;
    color: var(--red);
    cursor: pointer;
    transition: color 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  button:nth-child(2) {
    justify-self: end;
  }
  button:hover {
    color: var(--red-dark);
  }
}
.indicators {
  display: none;
  justify-content: center;
  margin-top: 10px;
  position: absolute;
  bottom: 2rem;
  left: 50%;
}
@media (min-width: 1024px) {
  .org_gallery {
    gap: 3%;
    li {
      flex: 0 0 31.33%;
    }
  }
  .org_gallery_buttons {
    display: flex;
  }

  .indicators {
    display: flex;
  }
}
.indicators span {
  width: 10px;
  height: 10px;
  background: var(--mid-gray);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

.indicators .active {
  background: var(--red);
}

@media (max-width: 768px) {
  .org_gallery {
    display: flex;
    flex-direction: column;
    li {
      flex: 0 0 100%;
    }
  }
}

.org_video {
  width: 100%;
  max-width: 80%;
  margin: 0 auto;
  iframe {
    border-radius: 2rem;
    overflow: hidden !important;
  }
}

@media only screen and (min-width: 960px) {
  .org_header {
    padding-left: 20rem;
  }
}

.organization-img {
  float: left;
  padding: 14px 20px 10px 0;
}
#organization-users {
  display: flex;
  flex-wrap: wrap;
}
#organization-users .user {
  flex: 0 0 19.5%;
  background: #eee;
  padding: 2%;
  margin: 0 2% 2% 0;
}
#organization-users .user:nth-of-type(4n) {
  margin-right: 0;
}

/*---------- MEMBERSHIP SIGNUP ----------*/
#membership-error {
  color: #d60812;
  font-weight: bold;
  font-size: 16px;
}
#membership-error a {
  color: #161642;
}
#membership-signup .et_pb_button_module_wrapper,
.filters .et_pb_button_module_wrapper {
  margin: 10px 0 0 -32px;
}
#membership-signup .et_pb_button_module_wrapper .et_pb_button,
.filters .et_pb_button_module_wrapper .et_pb_button {
  color: var(--white);
  cursor: pointer;
}
#membership-signup .company {
  display: none;
}

/* homepage accordion toggler */
.et_pb_accordion_0 .et_pb_toggle_title:before {
  right: 0 !important;
}
.et_pb_toggle_open {
  background-color: var(--light-gray) !important;
}
.et_pb_accordion_item {
  border-bottom: 1px solid var(--mid-gray) !important;
}
.et_pb_accordion .et_pb_toggle {
  margin-bottom: 0 !important;
}

/* logo slider */
.ba_image_carousel_1 .dtq-carousel .slick-track,
.ba_logo_carousel_0 .dtq-carousel .slick-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 !important;
}

/* LOGIN FORM */
.login-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 350px;
  min-height: 450px;
  align-items: center;
  justify-content: center;
  form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 350px;
    width: 100%;
    max-width: 500px;
  }
  div {
    display: flex;
    gap: 1rem;
    align-items: center;
    label {
      width: 0;
      visibility: hidden;
    }
    input[type="password"],
    input[type="text"] {
      width: 100%;
      border-radius: 10px;
      border: var(--mid-gray) 1px solid;
      background-color: var(--white);
      font-size: 110%;
      padding: 0.75rem;
    }
    .btn {
    }
  }
}

/*---------- NEWS / SINGLE POST ----------*/
#dbfm-container {
  margin-bottom: 50px;
}
.et_pb_blog_filters.nav ul {
  padding: 0;
  list-style-type: none;
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.et_pb_blog_filters.nav ul li {
  font-size: 14px;
  line-height: 1em;
}
.et_pb_blog_filters.nav a {
  display: block;
  padding: 15px 20px !important;
  border: none !important;
  background: var(--blue) !important;
  color: var(--white);
}
.et_pb_blog_filters a:hover,
.et_pb_blog_filters a.active {
  background: var(--red) !important;
  color: var(--white) !important;
  opacity: 1 !important;
}
/*.et_pb_dfbm_blog_0.et_pb_bg_layout_light .et_pb_post .post-meta a:hover, .et_pb_dfbm_blog_0 .dfbm_blog_pagination a:hover { color: #161642 !important; }*/

#left-area .post-meta {
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px;
  text-transform: uppercase;
}
#left-area .post-meta a {
  color: var(--red);
}
hr#share-ruler {
  display: none;
  margin: 30px 0;
}
.single-post .et_pb_post hr#share-ruler {
  display: block;
}
h3#share-heading {
  display: none;
  margin-right: 30px;
  font-size: 20px;
  line-height: 150%;
  float: left;
}
.single-post .et_pb_post h3#share-heading {
  display: inline;
}
.at-below-post {
  clear: none !important;
  float: left;
}
.at-below-post .at-resp-share-element .at-share-btn {
  border-radius: 100%;
}
.at-below-post .at-resp-share-element .at-share-btn .at-icon-wrapper {
  line-height: 25px !important;
  height: 25px !important;
  width: 25px !important;
}
.at-below-post .at-resp-share-element .at-share-btn .at-icon-wrapper svg {
  width: 25px !important;
  height: 25px !important;
}
.at-below-post .at-resp-share-element .at-share-btn .at-label {
  display: none;
}
/*.addthis-smartlayers .at-custom-sidebar { box-shadow: none; background: transparent !important; }
.addthis-smartlayers .at-custom-sidebar .at-icon-wrapper { line-height: 36px !important; height: 36px !important; width: 36px !important; margin-bottom: 5px; border-radius: 100% !important; }
.addthis-smartlayers .at-custom-sidebar .at-icon-wrapper svg { width: 28px !important; height: 28px !important; margin: 4px 5px 4px 4.5px; }*/
.at-custom-side-wrapper {
  display: none;
}
.single-post .at-custom-side-wrapper {
  display: block;
}

/*---------- EVENTS ----------*/
/* Upcoming */
#tribe-events-pg-template {
  padding: 58px 0 40px 0;
  max-width: 1240px;
  width: 80%;
}
#tribe-events-pg-template h1 {
  margin-bottom: 20px;
  font-size: 44px;
  text-align: left;
}
.events-list .tribe-events-loop,
.tribe-events-day .tribe-events-loop {
  max-width: none !important;
}
.tribe-events-day .tribe-events-day-time-slot .type-tribe_events {
  margin-left: 0px;
}
#tribe-bar-form .tribe-bar-submit input[type="submit"] {
  background: #161642;
}
#tribe-bar-form .tribe-bar-submit input[type="submit"]:hover {
  background: #d60812;
}
#tribe-bar-views-toggle {
  color: #303030;
}
.tribe-events-list .type-tribe_events {
  background: #f5f5f5;
  border-radius: 5px;
  padding: 30px 2%;
}
.tribe-events-list .type-tribe_events h3 a:hover {
  color: #d60812;
}
.datepicker {
  z-index: 99999 !important;
}

/* Calender */
.tribe-events-calendar thead th,
.tribe-events-calendar td.tribe-events-present div[id*="tribe-events-daynum-"] {
  background: #161642 !important;
}
.tribe-events-calendar .tribe-events-tooltip {
  padding: 20px;
}
.tribe-events-calendar .tribe-events-tooltip h3 {
  font-size: 20px;
}

/* Previous */
ul.ecs-event-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none !important;
  margin: 0;
  padding: 0 !important;
}
ul.ecs-event-list li {
  flex: 0 0 23.5%;
  background: #eee;
  padding: 2%;
  margin: 0 2% 2% 0;
}
ul.ecs-event-list li:nth-of-type(4n) {
  margin-right: 0;
}
ul.ecs-event-list h4 {
  margin-bottom: 10px;
  font-size: 1.6em;
  font-weight: 300;
  color: #161642;
}
ul.ecs-event-list .duration {
  font-weight: bold;
}
ul.ecs-event-list .duration.venue em {
  font-weight: normal;
}

/* Single */
.tribe-events-schedule h2 {
  font-size: 1.2em !important;
}
.tribe-events-meta-group .tribe-events-single-section-title {
  font-size: 1.4em !important;
  text-transform: none !important;
}
.single-tribe_events .tribe-events-event-meta {
  border-color: #d60812;
  border-radius: 5px;
}
.tribe-events-event-meta .tribe-events-meta-group {
  padding: 0 2%;
}
.single-tribe_events #tribe-events-content .tribe-events-event-meta dt {
  font-size: 15px;
  margin-bottom: 6px;
}
.single-tribe_events #tribe-events-content .tribe-events-event-meta dd {
  margin-bottom: 17px;
}

/*---------- CF7 ----------*/
.wpcf7-form {
  margin-left: -3%;
}
.wpcf7-form .et_pb_contact {
  display: inline-block;
  width: 100%;
}
.wpcf7-form .wpcf7-form-control {
  background: #fff;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(71, 74, 182, 0.12) !important;
  font-size: 16px;
  color: #6b6b6b;
}
.wpcf7-form .wpcf7-form-control:focus {
  color: #303030;
  background-color: rgba(22, 22, 66, 0.2);
}
.wpcf7-form textarea {
  margin-bottom: -8px;
}
.wpcf7-form .et_contact_bottom_container {
  margin-top: 0px;
}
.wpcf7-submit {
  cursor: pointer;
}
div.wpcf7 .ajax-loader {
  position: absolute;
  top: 10px;
}
span.wpcf7-not-valid-tip {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 13px;
}
.wpcf7-response-output {
  margin-left: 3% !important;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
}

/*---------- DROPDOWNS ----------*/
.select-container {
  position: relative;
}
.select-container:after {
  content: "";
  position: absolute;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  top: 50%;
  right: 20px;
  margin-top: -3px;
  border-top: 8px solid black;
  opacity: 0.5;
  pointer-events: none;
}
.select-container select {
  width: 100%;
  padding: 15px 40px 15px 20px;
  line-height: 22px;
  font-size: 16px;
  color: #06262d;
  background: #efefef;
  border: none;
  border-radius: 3px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.select-container select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}
.select-container select::-ms-expand {
  display: none;
}

/* SELECT2 */
.select-container .select2-container--default {
  width: 100% !important;
}
.select-container .select2-container--default .select2-selection--single {
  padding: 15px 40px 15px 20px;
  height: 52px !important;
  border: none !important;
  font-size: 16px;
  background-color: #efefef !important;
}
.select-container
  .select2-container
  .select2-selection--single
  .select2-selection__rendered {
  padding: 0px !important;
  line-height: 22px !important;
}
.select-container
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  display: none;
}
.select2-results__option {
  font-size: 14px;
  line-height: 17px;
}

/*---------- MISC ----------*/
.wpcf7-recaptcha {
  margin-bottom: 17px;
}

.mc_registration_link {
  margin-top: 220px;
}
.mc_registration_link .et_pb_module .et_pb_button_1,
body #page-container .et_pb_section .mc_registration_link .et_pb_button_1,
body
  #page-container
  .et_pb_section
  .mc_registration_link
  .et_pb_button_1:before,
.mc_registration_link .et_pb_button_module_wrapper:before,
.mc_registration_link .et_pb_button_module_wrapper:after {
  color: #161642 !important;
}
#footer-newsletter .mc_registration_link a.privacy {
  color: #161642 !important;
  position: inherit;
}
#footer-newsletter .mc_registration_link a.privacy:hover {
  color: #d60812 !important;
}

/*---------- HELPERS ----------*/
.twocol {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 30px;
  -moz-column-gap: 30px;
  column-gap: 30px;
}
.no-margin {
  margin: 0px !important;
}
.no-margin-top {
  margin-top: 0px !important;
}
.no-margin-right {
  margin-right: 0px !important;
}
.no-margin-bottom {
  margin-bottom: 0px !important;
}
.no-margin-left {
  margin-left: 0px !important;
}

.left * {
  text-align: left !important;
}
.right * {
  text-align: right !important;
}
.center,
.center * {
  text-align: center !important;
}
.uppercase * {
  text-transform: uppercase !important;
}
.light * {
  font-weight: 300 !important;
}

.float-right {
  float: right;
}
.float-left {
  float: left;
}

#top-menu li a {
  font-size: 1rem !important;
}

.org_menu {
  background: var(--stc-blue);
  position: relative;
  padding: 0 0.5rem;
  .container {
    display: flex;
    width: 100%;
    align-items: center;
    position: relative;
    justify-content: space-between;
    h4 {
      margin: 0;
      padding: 0;
      font-size: 1.2rem;
      text-transform: uppercase;
      white-space: nowrap;
      color: var(--white);
    }
  }
  .navbar-toggler {
    border: none;
    text-transform: uppercase;
    font-weight: bold;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem 0;
    color: var(--white);
    display: flex;
    gap: 1rem;
    align-items: center;
  }

  .navbar-collapse {
    background-color: var(--stc-blue);
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 0;
    left: 0;
    top: 100%;
  }

  .navbar-nav {
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
    text-transform: uppercase;
    font-weight: bold;
    li a {
      display: flex;
      font-size: 1rem;
      width: 100%;
      padding: 9px 15px;
      color: var(--white);
    }
    .dropdown-menu {
      display: none;
      flex-direction: column;
      list-style: none;
      padding: 1px;
      margin: 0;
      background: var(--red);
      border-radius: 0 0 5px 5px;
      box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
      > li {
        > a {
          display: flex;
          width: 100%;
          font-size: 1rem;
          border-radius: 5px;
          background: var(--red);
          transition: background 0.3s ease-in-out;
          color: var(--white);
          padding: 4px 7px;
        }
        > a:hover {
          background: var(--red-dark);
        }
      }
    }
  }

  .navbar-nav .dropdown:hover .dropdown-menu {
    display: flex;
  }

  .hidden {
    display: none;
  }

  .block {
    display: flex;
  }

  @media (min-width: 768px) {
    .navbar-collapse {
      flex-direction: row;
      display: flex;
      position: relative;
      justify-content: end;
      font-size: 0.75rem;
    }
    .dropdown-menu {
      display: none;
    }
    .dropdown:hover .dropdown-menu {
      position: absolute;
      top: 100%;
      left: 0;
      padding: 1px;
      border-radius: 0 0 6px 6px;
      display: flex;
    }

    .navbar-toggler {
      display: none;
    }

    .navbar-nav {
      display: flex;
      flex-direction: row;
    }
  }
}

/* resource filters */
#resources-filter {
  background-color: var(--blue);
  border-radius: 1rem;
  width: 100%;
  padding: 2rem 1rem 1rem;
  #resource-search {
    width: 100%;
    display: flex;
    flex: 0 0 30%;
    gap: 1%;
  }
  label {
    background: transparent;
    color: var(--white);
    padding: 0 0 1rem;
  }
  .resources-count {
    color: var(--white);
  }
}

/*---------- MEDIA QUERIES ----------*/
@media all and (max-width: 1200px) {
  #top-menu li {
    padding-right: 15px;
  }
  #et-top-navigation nav > ul > li > a {
    font-size: 12px !important;
  }
  #top-members span {
    font-size: 17px;
  }
  #top-members_right:after {
    content: none;
  }
  .left-triangle:before {
    left: -10%;
  }
  .right-triangle:before {
    right: -10%;
  }
}

@media all and (max-width: 980px) {
  .et_header_style_left .logo_container {
    padding: 1rem 0;
    width: auto !important;
  }
  .et_header_style_left .logo_container #logo {
    /* max-width: 120px !important; */
  }
  #top-members span {
    display: none;
  }
  #top-members a.sm-button {
    font-size: 13px;
  }
  #member-bar_wrap,
  #member-notice_wrap {
    flex-wrap: wrap;
    text-align: center;
  }
  #member-bar_right,
  #member-bar_left {
    flex-basis: 100%;
  }
  #member-bar_right > ul > li {
    display: inline-block;
    float: none;
  }
  #main-footer #footer-widgets {
    display: flex;
    flex-direction: column;
  }

  #main-footer .footer-widget .fwidget {
    margin: 0 !important;
  }
  #main-footer .footer-widget .fwidget.widget_media_image {
    margin-bottom: 25px !important;
  }
  #main-footer .footer-widget .fwidget.widget_media_image:first-child {
    margin-bottom: 40px !important;
  }
  .left-triangle:before,
  .right-triangle:before {
    content: none;
  }
  #home-services_boxes .et_pb_column:first-child:before,
  #home-services_boxes .et_pb_column:last-child:before {
    content: none;
  }
  #home-events .et_pb_blurb_content h3,
  #home-spotlight_first h3,
  #home-testimonials h3,
  #home-testimonials h4 {
    padding: 0 !important;
    margin: 0 0 15px 0 !important;
    background: none;
  }
  #home-events .blurb-right .et_pb_blurb_content h3,
  #home-testimonials .testimonial-right h3,
  #home-testimonials .testimonial-right h4 {
    padding: 0 !important;
    margin: 0 0 15px 0 !important;
  }
  #home-events .et_pb_row_7,
  #home-testimonials .et_pb_row_15 {
    display: flex;
    flex-direction: column-reverse;
  }
  #home-events .et_pb_row_7 .et_pb_column {
    margin-bottom: 0px;
  }
  #home-events .et_pb_row_7 .et_pb_column.et-last-child {
    margin-bottom: 30px;
  }
  #home-news .et_pb_salvattore_content {
    display: block;
  }
  #home-news .et_pb_salvattore_content .column {
    width: 100% !important;
  }
  #home-news .et_pb_salvattore_content .column .et_pb_post {
    padding: 2%;
  }
  #customer_details {
    float: left;
    width: 55%;
    padding-right: 5%;
  }
  #order_review {
    float: left;
    width: 40%;
  }
  #footer-newsletter {
    background-size: contain;
    height: 38.7vw;
  }
  .mc_registration_link {
    margin-top: 16vw;
    margin-left: 26vw;
  }
  .mc_registration_link .lg-button a {
    font-size: 2.5vw;
  }
  .mc_registration_link .lg-button:before,
  .mc_registration_link .lg-button:after {
    font-size: 3vw;
    top: 0.1vw;
  }
  .mc_registration_link .lg-button .et_pb_custom_button_icon,
  body
    #page-container
    .et_pb_section
    .mc_registration_link
    .lg-button
    .et_pb_custom_button_icon:hover,
  body
    #page-container
    .mc_registration_link
    .et_pb_button_module_wrapper
    .et_pb_button {
    padding: 1px 3vw 0px !important;
  }
}

@media all and (max-width: 767px) {
  .et_header_style_left .logo_container #logo {
    /* max-width: 100px !important; */
  }
  .filters .filter-field {
    width: 100%;
    float: none;
  }
  #home-rankings .et_pb_text_4 h2 {
    font-size: 26px !important;
  }
  #member-categories {
    column-count: 2;
  }
  #members .member {
    width: 50%;
  }
  .dashboard-boxes .dashboard-box {
    flex-basis: 100%;
    margin: 20px 0;
  }
  .et_pb_blog_filters .dfbm-active-cat,
  .et_pb_blog_filters ul {
    width: 100%;
    flex-direction: column;
  }
  .et_pb_blog_filters li {
    display: block;
    text-align: center;
  }
  .et_pb_blog_filters.nav a {
    margin: -1px 0 0;
  }
}

@media all and (max-width: 479px) {
  .lg-button:before,
  .lg-button:after {
    top: 7px;
    font-size: 34px;
  }
  .lg-button a {
    font-size: 24px;
  }
  .et_mobile_menu {
    top: 90%;
  }
  #top-members_left,
  #top-members_right {
    padding: 10px;
    flex-basis: 50%;
  }
  #home-slider .et_pb_slide_description {
    padding-top: 16%;
  }
  #home-slider .et-pb-controllers {
    bottom: 13% !important;
  }
  #home-signup .et_pb_row {
    text-align: center;
  }
  #home-signup .et_pb_button_module_wrapper.et_pb_button_alignment_right {
    float: none !important;
  }
  #main-footer .footer-widget .widget_media_image:first-child img {
    max-width: 200px !important;
  }
  #member-categories {
    column-count: 1;
  }
}

.grecaptcha-badge {
  visibility: collapse !important;
}

/* Newsletter En */
#footer-newsletter:lang(en-US) {
  height: 450px;
}
#footer-newsletter:lang(en-US) .et_pb_code_inner {
  position: relative;
  height: 370px;
}
#footer-newsletter:lang(en-US) .mc_registration_link {
  margin: 0;
  bottom: 0;
  left: 0;
  position: absolute;
  padding: 0;
}
@media (min-width: 1920px) and (max-width: 3000px) {
  #footer-newsletter:lang(en-US) {
    height: 500px;
  }
  #footer-newsletter:lang(en-US) .et_pb_code_inner {
    position: relative;
    height: 450px;
  }
}
@media (min-width: 1240px) and (max-width: 1360px) {
  #footer-newsletter:lang(en-US) .mc_registration_link {
    bottom: 100px;
  }
}
@media (min-width: 981px) and (max-width: 1239px) {
  #footer-newsletter:lang(en-US) .mc_registration_link {
    bottom: 90px;
  }
  #footer-newsletter:lang(en-US)
    .mc_registration_link
    .et_pb_module
    .et_pb_button_1,
  #footer-newsletter:lang(en-US) .mc_registration_link .et_pb_button_1 {
    font-size: 22px;
    line-height: 60px !important;
  }
  #footer-newsletter:lang(en-US) .et_pb_button:before {
    font-size: 30px !important;
  }
}

@media (max-width: 980px) {
  #footer-newsletter:lang(en-US) .mc_registration_link {
    position: relative;
    bottom: 0;
    margin-top: 12vw;
    margin-left: 26vw;
  }
  #page-container #footer-newsletter:lang(en-US) .et_pb_button_1:hover:after {
    opacity: 0;
  }
}

/* Newsletter french */
#footer-newsletter:lang(fr-FR) {
  height: 620px;
}
#footer-newsletter:lang(fr-FR) .et_pb_row {
  flex-direction: column;
  position: relative;
  top: 55%;
  left: 20%;
}
#footer-newsletter:lang(fr-FR) a.privacy {
  position: relative;
  right: 0;
  bottom: 0;
  color: #fff;
  font-size: 11px;
}
#footer-newsletter:lang(fr-FR) h2 {
  white-space: nowrap;
  margin-bottom: 10px;
}
@media (min-width: 1920px) and (max-width: 3000px) {
  #footer-newsletter:lang(fr-FR) {
    height: 700px;
  }
  #footer-newsletter:lang(fr-FR) .et_pb_row {
    left: 15%;
  }
}
@media (min-width: 981px) and (max-width: 1239px) {
  #footer-newsletter:lang(fr-FR) .et_pb_row_11.et_pb_row {
    top: 50%;
    left: 30%;
  }
}
@media (max-width: 980px) {
  #footer-newsletter:lang(fr-FR) .et_pb_row_11.et_pb_row {
    top: 50%;
    left: 0;
  }
  body #page-container .et_pb_section .et_pb_button_1.fs-sub {
    color: #06262d !important;
  }
}
