/*
  Theme Name: 		Gutenix Child
  Theme URI: 		
  Description: 		Child Theme for the Gutenix
  Author: 			Gutenix
  Author URI: 		
  Version: 			1.1.12
  Template: 		gutenix
*/

/* Enter below your Customization CSS */

.material-symbols-outlined {
	color:#223843;
}

body h1, body h2, body h3, body h4, body h5, body h6 {
  margin: 0 0 1rem;
}
  body h2 + h4 {
    margin-top: -1rem;
  }

body h1.no-margin, body h2.no-margin, body h3.no-margin, body h4.no-margin, body h5.no-margin, body h6.no-margin {
  margin-bottom: 0.25rem;
}

body p {
  margin-bottom: 1.5em;

  font-size: 18px;
  line-height: 1.5em;
}

footer.entry-footer {
  position: absolute;
  z-index: 100;
  bottom: -7px;
}

.wp-person a:focus .gravatar, a:focus, a:focus .media-icon img, a:focus .plugin-icon {
  outline: none;
  box-shadow: none;
}

#toTop {
  border-radius: 30px !important;
  bottom: 100px !important;
}

.header-bar .eth-header-upper {
  display: flex;
  justify-content: flex-end;

  margin-bottom: 1rem;
}

.header-bar .eth-header-lower {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header-bar .main-navigation--default .menu { gap: 2rem; }
.header-bar .main-navigation--default .menu > .menu-item { margin-bottom: 0; }
.header-bar--mobile-breakpoint-lg .menu-toggle-wrapper, .header-bar--mobile-breakpoint-lg .header-bar__overlay { display: block !important; }

.header-bar .header-bar__sidebar { min-width: 600px; height: inherit !important; } /*  Edited by NEEnns, Oct 28, 2022 */
/*.header-bar .header-bar__sidebar { min-width: 600px; height: auto; }*/

.footer-bar .gutenix-container, .footer-bar .gutenix-container-fluid { padding-top: 0; }
.footer-bar .gutenix-container .site-info, .footer-bar .gutenix-container-fluid .site-info { margin: 0; padding: 2rem 0; background-color: #f3f3f4; }

.footer-bar .wp-block-columns { margin: 0 10%; }
.footer-bar .wp-block-column.ethnos-footer-25 { max-width: 25%; }
.footer-bar .ethnos-footer-connect > .ethnos-flex { justify-content: space-between; }
.footer-bar .ethnos-logo-footer img.footer-logo__img { max-width: 225px; }

.footer-bar .ethnos-footer-address {
  margin-bottom: 1em;
}

.footer-bar nav#footer-navigation > ul > li {
  display: block;
}

.footer-bar .ethnos-link-social {
  width: 40px;
  height: 40px;
  margin-left: 5px;

  text-align: center;

  color: #fff;
  background-color: #03354c;
  border-radius: 20px;
}
  .footer-bar .ethnos-link-social > a {
    color: #fff;
    text-align: center;
  }
    .footer-bar .ethnos-link-social > a::before {
      margin: 0 !important;
      padding: 0 !important;
      width: auto !important;
      height: auto !important;
      line-height: 30px !important;
    }


.wp-block-button {
  display: inline-block;
}


#sidebar-navigation > ul {
    margin: 0;
    padding: 0;
    display: block;
    list-style: none;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 1rem;

    margin: 0 1rem;
    text-align: left;
}
  #sidebar-navigation > ul .ethnos-nav-blank {
    visibility: hidden;
  }

  #sidebar-navigation > ul > li {
    margin-bottom: 1rem;
  }
	#sidebar-navigation .menu-item > a {
			color: #fff;
			font-weight: 400;
			font-size: 0.7rem;
			line-height: 1.4em;
	}
		#sidebar-navigation > ul > .menu-item > a,
		#sidebar-navigation > ul .ethnos-nav-inset > a {
				font-family: 'Roboto Condensed';
				font-weight: 600;
				text-transform: uppercase;
				font-size: 1rem;
		}

		#sidebar-navigation > ul .ethnos-nav-inset > a {
      display: block;
      margin-top: 2rem;
    }

		#sidebar-navigation .menu-item > .sub-menu {
				margin: 0 0 1rem;
				padding: 0;
				list-style: none;
		}
			#sidebar-navigation .sub-menu > li.menu-item {
        line-height: 1.25em;
			}

.has-ethnos-red-color,.has-background .has-ethnos-red-color { color: #ac2b37; }
.has-ethnos-blue-color, .has-background .has-ethnos-blue-color { color: #223843; }
.has-ethnos-lt-blue-color, .has-background .has-ethnos-lt-blue-color { color: #6eb1d3; }
.has-ethnos-lt-gray-color, .has-background .has-ethnos-lt-gray-color { color: #f3f3f4; }

.has-ethnos-red-background-color { color: #fff; background-color: #ac2b37; } 
.has-ethnos-blue-background-color { color: #fff; background-color: #223843; } 
.has-ethnos-lt-blue-background-color { background-color: #6eb1d3; }
.has-ethnos-lt-gray-background-color { background-color: #f3f3f4; }

.has-ethnos-red-background-color input, .has-ethnos-red-background-color select, .has-ethnos-red-background-color textarea,
.has-ethnos-blue-background-color input, .has-ethnos-blue-background-color select, .has-ethnos-blue-background-color textarea {
  color: #fff;
  border-color: #fff;
}
.has-ethnos-red-background-color h1, .has-ethnos-red-background-color h2, .has-ethnos-red-background-color h3, .has-ethnos-red-background-color h4, .has-ethnos-red-background-color h5 { color: #fff; }
.has-ethnos-blue-background-color h1, .has-ethnos-blue-background-color h2, .has-ethnos-blue-background-color h3, .has-ethnos-blue-background-color h4, .has-ethnos-blue-background-color h5 { color: #fff; }
.has-ethnos-red-background-color .wp-block-button > a,
.has-ethnos-blue-background-color .wp-block-button > a {
  color: #fff !important;
  border-color: #fff !important;
}
  .has-ethnos-red-background-color .wp-block-button.is-style-outline > a:hover, 
  .has-ethnos-red-background-color .wp-block-button.is-style-outline > a:not(.has-background):hover, 
  .has-ethnos-red-background-color .wp-block-button.is-style-outline > a:focus, 
  .has-ethnos-red-background-color .wp-block-button.is-style-outline > a:active {
    color: #ac2b37 !important;
    background-color: #fff;
    border-color: #fff !important;
  }
  .has-ethnos-blue-background-color .wp-block-button.is-style-outline > a:hover, 
  .has-ethnos-blue-background-color .wp-block-button.is-style-outline > a:not(.has-background):hover, 
  .has-ethnos-blue-background-color.is-style-outline .wp-block-button > a:focus, 
  .has-ethnos-blue-background-color.is-style-outline .wp-block-button > a:active {
    color: #223843 !important;
    background-color: #fff !important;
    border-color: #fff !important;
  }

.ethnos-line-header {
  padding: 2rem 0 1rem;
  border-top: 8px solid #223843;
}
  .ethnos-line-header h1 {
    color: #ac2b37;
  }

.ethnos-condensed {
  font-family: 'ROBOTO CONDENSED';
  font-weight: normal;
  text-transform: uppercase;
}

.ethnos-bg-padded { padding: 2rem 6rem; }
  .single-post .ethnos-bg-padded { padding: 2rem; }
  .ethnos-bg-connected { margin-bottom: 0 !important; }
    .ethnos-bg-connected + .ethnos-bg-padded { padding-top: 0; }

.ethnos-narrow { margin: 0 auto; min-width: 350px; max-width: 80%; }


.ethnos-flex {
  display: flex;
}

.ethnos-bg-network {
  position: relative;
}
.ethnos-footer-block {
  position: relative;
  padding: 2rem;
  margin-bottom: 0;
}
  .ethnos-bg-network:before,
  .ethnos-footer-block:before {
    content: '';

    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;

    width: 100%;
    height: 100%;

    background-size: 130%;
    background-position: center;
    background-image: url(https://ethnos.ca/wp-content/uploads/2022/06/ethnos-connected-dots.svg);

    opacity: 0.2;
  }
  .ethnos-bg-network:before {
    background-size: 230%;
    opacity: 0.1;
  }
  .ethnos-footer-block > div {
    position: relative;
    z-index: 1;
  }

  .ethnos-footer-block .wp-block-column > *,
  .ethnos-footer-block .wp-block-column .wp-block-button > a {
    margin-bottom: 0;
  }
  .ethnos-footer-block .wp-block-column h4 {
    font-weight: 400;
  }
  .ethnos-footer-block .ethnos-flex {
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }

.wp-block-query.ethnos-post-list > ul > li .wp-block-post-excerpt .wp-block-post-excerpt__more-link {
  display: inline-block;
  max-width: 100%;
  padding: 13px 30px;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: normal;
  cursor: pointer;
  border: 0;
  -webkit-transition: .2s;
  -o-transition: .2s;
  transition: .2s;
}


.ethnos-btn.btn,
button[type="submit"],
.wp-block-button > a,
.wp-block-query.ethnos-post-list > ul > li .wp-block-post-excerpt .wp-block-post-excerpt__more-link {
  margin-bottom: 8px;

  font-family: 'ROBOTO CONDENSED';
  font-weight: 600;
  text-decoration: none !important;
  text-transform: uppercase;

  border-radius: 0;

  overflow: hidden;
  white-space: nowrap;

  flex-shrink: 0;
}
  .ethnos-btn.btn.is-style-outline,
  .wp-block-buttons .wp-block-button.is-style-outline a,
  button[type="submit"].is-style-outline,
  .wp-block-query.ethnos-post-list > ul > li .wp-block-post-excerpt .wp-block-post-excerpt__more-link {
    color: #ac2b37;
    background-color: transparent;
    border: 2px solid #ac2b37;
  }
  .ethnos-btn.btn.is-style-outline:hover,
  button[type="submit"].is-style-outline:hover,
  .wp-block-button.is-style-outline > a:hover,
  .wp-block-button.is-style-outline > a:not(.has-background):hover,
  .wp-block-query.ethnos-post-list > ul > li .wp-block-post-excerpt .wp-block-post-excerpt__more-link:hover {
    color: #fff !important;
    background-color: #ac2b37;
    border-color: #ac2b37;
  }

.ethnos-btn.btn.ethnos-btn-blue:not(.is-style-outline),
.wp-block-button.ethnos-btn-blue:not(.is-style-outline) > a {
  color: #fff !important;
  background-color: #03354c;
  border-color: #03354c;
}
  .ethnos-btn.btn.ethnos-btn-blue:not(.is-style-outline):hover,
  .ethnos-btn.btn.ethnos-btn-blue:not(.is-style-outline):focus,
  .ethnos-btn.btn.ethnos-btn-blue:not(.is-style-outline):active,
  .wp-block-button.ethnos-btn-blue:not(.is-style-outline) > a:hover,
  .wp-block-button.ethnos-btn-blue:not(.is-style-outline) > a:focus,
  .wp-block-button.ethnos-btn-blue:not(.is-style-outline) > a:active {
    background-color: #00253c;
    border-color: #00253c;
  }

.ethnos-btn.btn.ethnos-btn-blue.is-style-outline,
.wp-block-button.ethnos-btn-blue.is-style-outline > a {
  color: #03354c !important;
  background-color: transparent;
  border-color: #03354c;
}
  .ethnos-btn.btn.ethnos-btn-blue.is-style-outline:hover,
  .ethnos-btn.btn.ethnos-btn-blue.is-style-outline:focus,
  .ethnos-btn.btn.ethnos-btn-blue.is-style-outline:active,
  .wp-block-button.ethnos-btn-blue.is-style-outline > a:hover,
  .wp-block-button.ethnos-btn-blue.is-style-outline > a:focus,
  .wp-block-button.ethnos-btn-blue.is-style-outline > a:active {
    color: #fff !important;
    background-color: #00253c;
    border-color: #00253c;
  }

.ethnos-btn.btn.ethnos-buttons-sm,
.wp-block-buttons.ethnos-buttons-sm .wp-block-button a {
  font-size: 18px;
}


.ethnos-image-stretch { height: 100%; }
.ethnos-image-fixed-sm { height: 150px; }
.ethnos-image-fixed-md { height: 250px; }
.ethnos-image-fixed-lg { height: 350px; }
  .ethnos-image-fixed-sm img,
  .ethnos-image-fixed-md img,
  .ethnos-image-fixed-lg img,
  .ethnos-image-stretch img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
  }



.form-row.wp-block-columns {
  margin-bottom: 1.5rem;
}
  .form-row input, .form-row select, .form-row textarea {
    width: 100%;
  }

  #page input, #page select, #page optgroup, #page textarea {
    background-color: #eee;
    border-color: #eee;
    border-radius: 0;

    transition: background-color 0.25s;
  }

  input[type=checkbox]:hover, input[type=color]:hover, input[type=date]:hover, input[type=datetime-local]:hover, input[type=datetime]:hover, input[type=email]:hover, input[type=month]:hover, input[type=number]:hover, input[type=password]:hover, input[type=radio]:hover, input[type=search]:hover, input[type=tel]:hover, input[type=text]:hover, input[type=time]:hover, input[type=url]:hover, input[type=week]:hover, select:hover, textarea:hover {
    background-color: #e4e4e4 !important;
  }
  input[type=checkbox]:focus, input[type=color]:focus, input[type=date]:focus, input[type=datetime-local]:focus, input[type=datetime]:focus, input[type=email]:focus, input[type=month]:focus, input[type=number]:focus, input[type=password]:focus, input[type=radio]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, input[type=time]:focus, input[type=url]:focus, input[type=week]:focus, select:focus, textarea:focus {
    border-color: #777 !important;
    box-shadow: none;
    outline: none;
  }

.ethnos-quick-search {
  display: flex;
  border: 2px solid #fff;
}
  .ethnos-quick-search input {
    background-color: transparent !important;
    border: 0 !important;
  }
  .ethnos-quick-search input:hover {
    background-color: transparent !important;
  }
  .ethnos-quick-search button[type="submit"] {
    margin: -1px;
  }
  .has-ethnos-red-background-color .ethnos-quick-search button[type="submit"] {
    color: #ac2b37;
    background-color: #fff;
  }
  .has-ethnos-blue-background-color .ethnos-quick-search button[type="submit"] {
    color: #223843;
    background-color: #fff;
  }

.ethnos-quick-give {
  display: flex;
  border: 2px solid #ac2b37;
}
  .has-ethnos-blue-background-color .ethnos-quick-give {
    border-color: #fff;
  }

  .ethnos-quick-give > div {
    flex-grow: 1;
  }
  .ethnos-quick-give input {
    background-color: transparent !important;
    border: 0 !important;
  }
    .ethnos-quick-give input:hover { background-color: transparent !important; }
    .ethnos-quick-give input[type="text"] {
      width: 100%;
      padding-top: 7px;
      padding-bottom: 7px;
    }

  .ethnos-quick-give .bfc-donate-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    margin: -1px;
    padding-top: 11px;
    padding-bottom: 11px;
  }
  .has-ethnos-red-background-color .ethnos-quick-give .bfc-donate-btn {
    color: #ac2b37;
    background-color: #fff;
  }
  .has-ethnos-blue-background-color .ethnos-quick-give .bfc-donate-btn {
    color: #223843;
    background-color: #fff;
  }

  .bfc-donate-field-results-ctr .result-content .ethnos-btn {
    padding: 0.25rem;
    margin-top: 0.5rem;
  }


.footer-bar ul.ethnos-footer-logos {
  display: flex;
  flex-direction: row;

  padding: 0;
  margin: 0;

  list-style: none;
}
.footer-bar .ethnos-footer-newsletter {
  margin-top: 0;
}
  .footer-bar .ethnos-footer-newsletter h4 {
    font-size: 1rem;
    font-weight: normal;
  }

.footer-bar .ethnos-quick-search {
  justify-content: space-between;

  border-color: #03354c;
  background-color: #fff;
}
  .footer-bar .ethnos-quick-search > input { flex-grow: 1; }
  .footer-bar .ethnos-quick-search > button[type="submit"] { background-color: #03354c; }


.wp-block-columns.ethnos-big-gap {
  gap: 2rem;
}

.ethnos-align-buttons .wp-block-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ethnos-align-buttons.wp-block-group { 
  min-height: 100%;
}
  .ethnos-align-buttons.wp-block-group > div.wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }

  .ethnos-image-feature.ethnos-align-buttons .wp-block-button ,
  .ethnos-image-feature .ethnos-align-buttons .wp-block-button {
    display: flex;
  }
    .ethnos-image-feature.ethnos-align-buttons .wp-block-button a,
    .ethnos-image-feature .ethnos-align-buttons .wp-block-button a {
      margin-bottom: 0;
    }

.ethnos-header {
  justify-content: flex-start;
  padding-left: 3rem;
}
  .ethnos-header > .wp-block-cover__inner-container { max-width: 40%; }
  .ethnos-header h5.ethnos-header-pre-title {
    margin-bottom: 0;

    font-family: 'Roboto Condensed';
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
  }

  h1.ethnos-header-title,
  .ethnos-header h1.ethnos-header-title {
    font-family: 'Roboto Slab';
    font-size: 3.2rem !important;
    line-height: 1.1em;
    font-weight: 400;
  }
    h1.ethnos-header-simple.ethnos-header-title {
      font-size: 2.5rem !important;
    }

  .wp-block-button.ethnos-header-button > a {
    font-size: 1rem;
  }

hr.wp-block-separator {
  width: 50%;
  margin: 4rem auto;

  border-top: 3px solid #03354c;
  border-bottom: 0;
}

  hr.wp-block-separator.ethnos-sep-slight {
    margin: 2rem auto;
    border-top: 1px solid rgba(0,0,0,0.1);
  }

.ethnos-statement {
  max-width: 75%;
  margin: 2rem auto;

  font-size: 1.6rem;
  font-weight: 300;
  font-family: 'Roboto Slab', serif;
}
  .ethnos-statement strong { font-weight: 700; }
  .ethnos-statement strong, .ethnos-statement em, .ethnos-statement u { color: #ac2b37; }
  .single-post .ethnos-statement { max-width: 100%; }
  .ethnos-sideby .ethnos-statement { max-width: 100%; }

  .has-ethnos-blue-background-color .ethnos-statement { color: #fff; }
  .has-ethnos-blue-background-color .ethnos-statement strong { color: #6eb1d3; }



.ethnos-image-feature {}
  .ethnos-image-feature .ethnos-if-image,
  .ethnos-image-feature .ethnos-if-image.wp-block-image {
    margin-bottom: 32px;
  }
  .ethnos-image-feature h3.ethnos-if-heading { margin-bottom: 0; }
  .ethnos-image-feature h3.ethnos-if-heading:after {
    content: '';
    display: block;

    width: 33%;
    height: 3px;
    margin: 1rem auto;

    background-color: #ac2b37;
  }

  .ethnos-image-feature p {
    margin: 0 1rem;

    font-size: 18px;
    line-height: 1.4em;
  }

  .ethnos-image-feature .wp-block-buttons {
    margin-top: 1em;
    font-size: 16px;
  }



.ethnos-hs {
  margin-bottom: 2rem;
}
  .ethnos-hs .ethnos-hs-title {
    margin-bottom: 0.5rem;
  }
  .ethnos-hs .ethnos-hs-subtitle {
    font-size: 28px;
    font-weight: 400;
    font-family: 'Roboto Condensed';
    text-transform: uppercase;

    color: #ac2b37;
  }

.ethnos-group-bg-block {
  margin: 2rem 0;
  padding: 2rem;
}

.ethnos-sideby {
  gap: 0 !important;
}
  .ethnos-sideby .wp-block-column {
    min-height: 100%;
  }
  .ethnos-sideby .wp-block-cover {
    height: 100%;
    min-height: 30vh
  }
  .ethnos-sideby .ethnos-sideby-title {
    margin-bottom: 0.5rem;
  }
    .ethnos-sideby .ethnos-sideby-title:after {
      content: '';
      display: block;

      width: 15%;
      height: 3px;
      margin: 1rem 0;

      background-color: #ac2b37;
    }
      .ethnos-sideby .has-ethnos-blue-background-color .ethnos-sideby-title:after {
        background-color: #6eb1d3;
      }
  .ethnos-sideby .ethnos-sideby-subtitle {
    margin-bottom: 0;

    font-weight: 400;
    font-family: 'Roboto Condensed';
    text-transform: uppercase;
  }

  .ethnos-sideby .has-background {
    padding: 2rem;
  }

  .ethnos-sideby .has-background .wp-block-buttons {
    font-size: 14px;
  }

  .ethnos-sideby p {
    font-size: 16px;
    line-height: 1.4em;
  }

.ethnos-cover-top { align-items: flex-start; }
.ethnos-cover-left { justify-content: flex-start; }
.ethnos-cover-right { justify-content: flex-end; }
.ethnos-cover-bottom { align-items: flex-end; }
  .ethnos-cover-left .wp-block-cover__inner-container,
  .ethnos-cover-right .wp-block-cover__inner-container {
        width: 40%;
  }
  .ethnos-cover-top .wp-block-cover__inner-container > .has-background,
  .ethnos-cover-left .wp-block-cover__inner-container > .has-background,
  .ethnos-cover-right .wp-block-cover__inner-container > .has-background,
  .ethnos-cover-bottom .wp-block-cover__inner-container > .has-background {
    padding: 1rem;
  }



.ethnos-hs {
  margin-bottom: 2rem;
}
  .ethnos-hs .ethnos-hs-title {
    margin-bottom: 0.5rem;
  }


#page .pagination,
#page .wp-block-query-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;

  margin-bottom: 3rem;

  border-top: 0;
}
  #page .wp-block-query-pagination {
    margin-top: 3rem;
  }
  #page .wp-block-query-pagination-numbers {
    display: flex;
  }
  #page .pagination .page-numbers:not(.prev):not(.next),
  #page .wp-block-query-pagination .page-numbers {
    background-color: #eee;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    margin: 0;

    font-size: 1rem;
    text-align: center;
    line-height: 2.5rem;
    text-decoration: none;
  }
  #page .pagination .page-numbers.current,
  #page .pagination .page-numbers:not(.prev):not(.next):hover,
  #page .wp-block-query-pagination .page-numbers.current,
  #page .wp-block-query-pagination .page-numbers:hover {
    color: #fff;
    background-color: #ac2b37 !important;
  }

  #page .pagination .page-numbers.next,
  #page .pagination .page-numbers.prev,
  #page .wp-block-query-pagination .wp-block-query-pagination-next,
  #page .wp-block-query-pagination .wp-block-query-pagination-previous {
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
  }

  #page .wp-block-query-pagination .wp-block-query-pagination-next,
  #page .wp-block-query-pagination .wp-block-query-pagination-previous {
    margin: 0;
  }

  #page .pagination .page-numbers:last-child:not(.next), #page .page-numbers.prev { margin-right: 1rem; }
  #page .pagination .page-numbers:first-child:not(.prev), #page .page-numbers.next { margin-left: 1rem; }
  #page .wp-block-query-pagination .page-numbers:last-child:not(.next), #page .wp-block-query-pagination-previous { margin-right: 1rem; }
  #page .wp-block-query-pagination .page-numbers:first-child:not(.prev), #page .wp-block-query-pagination-next { margin-left: 1rem; }


.wp-block-cb-carousel.ethnos-slideshow-sm {
  margin-bottom: 0;
}
  .wp-block-cb-carousel.ethnos-slideshow-sm .slick-dots {
    bottom: 25px;
  }
    .wp-block-cb-carousel .slick-dots li button {
      border-radius: 10px;
    }
      .wp-block-cb-carousel .slick-dots li button:before {
        content: '';
      }
    .wp-block-cb-carousel.ethnos-slideshow-sm .slick-dots li button:not(:hover):not(:active) {
      background-color: #fff;
    }
    .wp-block-cb-carousel .slick-dots li button:not(:hover):not(:active) {
      background-color: #aaa;
    }
    .wp-block-cb-carousel .slick-dots li.slick-active button,
    .wp-block-cb-carousel .slick-dots li button:hover,
    .wp-block-cb-carousel .slick-dots li button:active {
      background-color: #ac2b37 !important;
    }

  .wp-block-cb-carousel.ethnos-slideshow-sm .slick-list .slick-slide {
    padding-left: 0;
    padding-right: 0;
  }
  .wp-block-cb-carousel.ethnos-slideshow-sm .slick-list .slick-slide .wp-block-image img {
    height: 500px;

    object-fit: cover;
    object-position: center;
  }



blockquote.wp-block-quote {
  position: relative;

  margin-top: 0;
  margin-left: 0;
  border-left: 0;

  font-family: 'Roboto Slab';
  font-weight: 300;
  font-style: italic;
}
  blockquote.wp-block-quote.has-background::after {
    content: '';

    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;

    background-image: url(https://ethnos.ca/wp-content/uploads/2022/06/ethnos-connected-dots.svg);
    background-size: 150%;
    background-position: center;
    
    opacity: 0.1;
  }

  blockquote.wp-block-quote cite {
    font-size: 0.8rem;
    font-family: 'Roboto Condensed';
    text-transform: uppercase;

    color: inherit;
  }
    blockquote.wp-block-quote cite::before {
      content: '';
      display: block;
      width: 120px;
      margin: 0 auto 1.5rem;

      border-top: 2px solid #fff;
    }
      blockquote.wp-block-quote.has-ethnos-lt-gray-background-color cite::before {
        border-color: #ac2b37;
      }

    blockquote.wp-block-quote p {
      font-size: 1.3rem;
    }
      blockquote.wp-block-quote.has-medium-font-size p {
        font-size: 1.1rem;
      }
      blockquote.wp-block-quote.has-small-font-size p {
        font-size: 0.9rem;
        font-style: normal;
      }

  .ethnos-sideby blockquote.wp-block-quote {
    padding-left: 0;
  }


.wp-block-image figcaption {
  font-family: 'Roboto Condensed';
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;

  color: #888;
}
  .wp-block-image figcaption em {
    font-style: normal;
    color: #ac2b37;
  }



body.single-post #content.site-content > .site-content__container {
  padding-top: 3rem;
  border-top: 8px solid #03354c;
}
  body.single-post #content.site-content #primary {
    margin: 0 auto;
  }
  body.single-post article.post > .post-thumbnail {
    max-height: 50vh;
    overflow: hidden;
  }
    body.single-post article.post > .post-thumbnail img {
      min-width: 100%;
    }

  body.single-post article.post .entry-header .cat-links {
    display: none;
  }
  body.single-post article.post .entry-header h1 {
    color: #ac2b37;
  }



.wp-block-query.ethnos-post-list > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.wp-block-latest-posts__list.ethnos-post-list > li a.wp-block-latest-posts__post-title,
.wp-block-query.ethnos-post-list > ul > li .wp-block-post-title {
  font-family: 'Roboto Slab';
  text-decoration: none;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.2em;
}
.wp-block-query.ethnos-post-list > ul > li .wp-block-post-date {
  display: none;
}
.wp-block-latest-posts__list.ethnos-post-list > li div.wp-block-latest-posts__post-excerpt,
.wp-block-query.ethnos-post-list > ul > li .wp-block-post-excerpt {
  padding-bottom: 0;

  font-size: 0.9rem;
  line-height: 1.2em;

}
  .wp-block-latest-posts__list.ethnos-post-list > li div.wp-block-latest-posts__post-excerpt {
    position: relative;

    height: 120px;
    overflow: hidden;
  }

  .wp-block-query.ethnos-post-list > ul > li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

  }

  .wp-block-latest-posts__list.ethnos-post-list > li div.wp-block-latest-posts__post-excerpt:after,
  .wp-block-query.ethnos-post-list > ul > li .wp-block-post-excerpt:after {
    content: '';

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50px;

    background: linear-gradient(180deg , rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
  }

  .ethnos-project-list .posts-list > article.project .ethnos-project-content,
  .wp-block-query.ethnos-post-list > ul > li p.wp-block-post-excerpt__excerpt {
    position: relative;
    height: 8rem;
    overflow: hidden;
  }
    .ethnos-project-list .posts-list > article.project .ethnos-project-content {
      height: 9rem;
      margin-bottom: 1rem;
    }

    .ethnos-project-list .posts-list > article.project .ethnos-project-content:after,
    .wp-block-query.ethnos-post-list > ul > li p.wp-block-post-excerpt__excerpt:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;

      height: 3rem;

      background: linear-gradient(180deg , rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    }
      .ethnos-project-list .posts-list > article.project .ethnos-project-content:after {
        height: 5rem;
      }

.ethnos-project-search .ethnos-btn.btn {
  font-size: inherit;
  line-height: inherit;
}

.ethnos-project-list .posts-list > article.project {
  margin-bottom: 1rem;
}

.wp-block-latest-posts__list.ethnos-post-list .wp-block-latest-posts__featured-image,
.ethnos-project-list .posts-list > article.project figure.post-thumbnail,
.wp-block-query.ethnos-post-list > ul > li .wp-block-post-featured-image {
  height: 250px;
  margin: 0 0 1rem;

  overflow: hidden;
}
.wp-block-latest-posts__list.ethnos-post-list .wp-block-latest-posts__featured-image a,
.ethnos-project-list .posts-list > article.project figure.post-thumbnail a,
.wp-block-query.ethnos-post-list > ul > li .wp-block-post-featured-image a {
  display: block;
  width: 100%;
  height: 100%;
}
  .wp-block-latest-posts__list.ethnos-post-list .wp-block-latest-posts__featured-image img,
  .ethnos-project-list .posts-list > article.project figure.post-thumbnail img,
  .wp-block-query.ethnos-post-list > ul > li .wp-block-post-featured-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
  }



.df-container.df-lite {
  background-color: #fff !important;
}
  .df-container.df-lite .df-ui-btn,
  .df-container.df-lite .df-ui-wrapper {
    color: #fff;
    background-color: #223843 !important;
  }
    .df-container.df-lite .df-ui-btn:hover {
      color: #6eb1d3;
    }
  .df-container.df-lite .df-ui-page label {
    color: #fff;
  }

  .df-container.df-floating>.df-ui-next, .df-container.df-floating>.df-ui-prev {
    font-size: 60px;

    color: #000;
    background-color: transparent !important;

    opacity: 1;
  }
    .df-container.df-floating>.df-ui-next:before, .df-container.df-floating>.df-ui-prev:before {
      font-weight: bold;
    }
    .df-container.df-floating>.df-ui-prev { left: -8px !important; }
    .df-container.df-floating>.df-ui-next { right: 14px !important; }


.single .ethnos-project figure.post-thumbnail {
  width: 100%;
  height: 350px;
  margin-bottom: 0;
}
  .single .ethnos-project figure.post-thumbnail img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
  }

.single .ethnos-project .entry-header {
  margin-bottom: 1rem;

  text-align: left;
}

  .single .ethnos-project .entry-header-give,
  .single .ethnos-project .entry-footer-give {
    max-width: 350px;
    margin: 1rem auto 0;
  }
    .single .ethnos-project .entry-footer-give { margin-top: 0; }

.single .ethnos-project .entry-footer {
  position: static;
  text-align: center;

  flex-direction: column !important;
  justify-content: center !important;

  margin-bottom: 4rem;
}

.ethnos-project-meta {
  margin-bottom: 2rem;

  font-family: 'Roboto Condensed';
  text-transform: uppercase;
  font-weight: 700;

  color: #777;
}
  .ethnos-project-meta > div {
  }

  .ethnos-project-meta label {
    color: #ac2b37;

    white-space: nowrap;
    vertical-align: top;
  }


.ethnos-project-list .posts-list {
  display: grid;
  grid-template-columns: 32% 32% 32%;
  gap: 2%;

  margin-bottom: 3rem;
}
  .ethnos-project-list .posts-list.posts-list--default > article.hentry {
    padding-top: 0;
  }
  .ethnos-project-list .posts-list.posts-list--default > article .post-thumbnail {
    margin-bottom: 1rem;
  }
  .ethnos-project-list .posts-list.posts-list--default > article .entry-content {
    margin-top: 1rem;
  }
  .ethnos-project-list .posts-list.posts-list--default > article .entry-footer {
    position: static;
  }



  .ethnos-faq > .wp-block-group__inner-container > h4 {
    font-weight: 300;
    cursor: pointer;
  }
    .ethnos-faq > .wp-block-group__inner-container > h4:before {
      content: '+';
      margin-right: 0.5rem;

      font-weight: bold;

      color: #000;
    }

  .ethnos-faq > .wp-block-group__inner-container > .wp-block-group {
    display: none;
    margin-bottom: 4rem;
  }


.posts-list.posts-list--search-result article {
  align-items: stretch !important;
}
  .posts-list.posts-list--search-result .entry-title {
    font-size: 24px !important;
  }
  .posts-list.posts-list--search-result .post-thumbnail__link {
    width: 100%;
    height: 100%;
  }
    .posts-list.posts-list--search-result .post-thumbnail__link img {
      width: 100%;
      height: 100%;
    }


body:not(.logged-in) .ethnos-menu-logout {
  display: none;
}


.send-a-note .response {
  margin: 0 0 1rem;
  padding: 0.5rem;

  font-size: 0.9rem;
  text-align: center;

  background: #cceecc;
  border-radius: 0.25rem;
}
  .send-a-note .response.error {
    background: #eecccc;
  }

/* added by NEEnns on Dec 17, 2024 to fix ugly single project pages at tablet sizing */
@media screen and (max-width: 1024px) and (min-width: 780px) {
  .wp-block-column{
    margin-left: 15px !important;
    margin-right: 15px !important;
  }  
}


@media screen and (max-width: 1024px) {

  .wp-block-column{
    margin-left: 0;
    margin-right: 0;
  }   
  

  .form-row.wp-block-columns {
    margin-bottom: 0;
  }
    .form-row.wp-block-columns .wp-block-column {
      margin-bottom: 1rem;
    }

  .ethnos-header {
    flex-direction: column;
    padding: 0;
  }
    .ethnos-header img.wp-block-cover__image-background {
      position: static;
      width: 100%;
      height: 50vh;

      object-position: center right !important;
    }

    .ethnos-header .wp-block-cover__inner-container {
      width: 100%;
      max-width: 100%;
      padding: 1rem 0;

      background-color: #223843;
    }
      .ethnos-header .wp-block-cover__inner-container > * {
        text-align: center !important;
      }

      .ethnos-header h5.ethnos-header-pre-title {
        font-size: 1rem !important;
      }
      h1.ethnos-header-title,
      .ethnos-header h1.ethnos-header-title {
        margin-bottom: 0;
        font-size: 2.2rem !important;
      }

      .ethnos-header .wp-block-buttons {
        margin-top: 1rem;

        justify-content: center;
      }
        .ethnos-header .ethnos-header-button > a {
          font-size: 0.8rem; 

          color: #fff !important;
          background-color: transparent !important;
          border: 1px solid #fff !important;
        }
        .ethnos-header .ethnos-header-button > a:hover,
        .ethnos-header .ethnos-header-button > a:focus,
        .ethnos-header .ethnos-header-button > a:active {
          color: #223843 !important;
          background-color: #fff !important;
        }

  .ethnos-flex {
    flex-direction: column;
  }

  .ethnos-bg-padded {
    padding: 2rem 1rem;
  }

  blockquote.wp-block-quote p {
    font-size: 1.1rem;
  }

  .footer-bar .wp-block-columns {
    flex-direction: columns;
  }
    .footer-bar .wp-block-columns > .wp-block-column {
      max-width: none !important;

      text-align: center;
    }

    .footer-bar .ethnos-logo-footer img.footer-logo__img { max-width: 150px; }
    .footer-bar .social-list { margin: 2rem 0; }
    .footer-bar .ethnos-footer-newsletter { margin-top: 2rem; }
    .footer-bar .ethnos-footer-newsletter .wp-block-buttons { justify-content: center; }

  .footer-bar ul.ethnos-footer-logos {
    justify-content: center;
  }
}

@media screen and (max-width: 600px) {
  body,
  body p,
  .post .entry-content,
  .ethnos-image-feature p,
  .ethnos-btn.btn.ethnos-buttons-sm, .wp-block-buttons.ethnos-buttons-sm .wp-block-button a  {
    font-size: 16px;
  }

  .ethnos-btn.btn.ethnos-buttons-sm, .wp-block-buttons.ethnos-buttons-sm .wp-block-button a  {
    display: block;
    text-align: center;
  }

  .header-bar .header-bar__sidebar {
    min-width: 100%;
    height: 100vh;

    overflow-y: scroll;
  }
    .header-bar .header-bar__sidebar nav#site-navigation {
      display: none !important;
    }

    .header-bar .header-bar__sidebar nav#sidebar-navigation > ul {
      grid-template-columns: 50% 50%;

      column-count: 2;
    }

  .header-bar.is-sticky .site-logo.site-logo--image a {
    width: 75px;
  }

  .header-bar .eth-header {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-direction: row;
  }
    .header-bar .eth-header .eth-header-upper {
      margin-bottom: 0;
    }

  h1.ethnos-header-title, .ethnos-header h1.ethnos-header-title,
  h1.ethnos-header-simple.ethnos-header-title {
    font-size: 1.8rem !important;
  }

  h1.ethnos-header-simple.ethnos-header-title {
    padding: 2rem;
  }

  h2, .h2-style {
    font-size: 30px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 20px;
  }

  h5 {
    font-size: 18px;
  }

  .ethnos-hs .ethnos-hs-subtitle {
    font-size: 20px;
  }

  .ethnos-narrow {
    min-width: auto;
    max-width: none;
  }


  .ethnos-statement {
    font-size: 1.3rem;
  }

  .wp-block-latest-posts__list.is-grid li {
    width: 100% !important;
    margin-bottom: 3rem;
  }
}


@media screen and (max-width: 400px) {
  .ethnos-footer-block {
    padding: 2rem;
  }
    .ethnos-footer-block .wp-block-buttons {
      justify-content: center !important;
    }
}

@media (min-width: 782px) {
  .wp-block-buttons {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;

    margin-bottom: 1rem;
  }
    .wp-block-buttons a {
      display: block;
    }
    .wp-block-columns {
        display: flex;
        flex-wrap: nowrap;
        gap: 2em; /* Adjusts space between columns */
    }
    .wp-block-column {
        flex-grow: 1;
        flex-basis: 0;
        min-width: 0;
    }
}
