.max-container {
  max-width: 1640px;
  margin: 0 auto;
}

.wp-block-group.alignfull > .is-layout-constrained {
  max-width: 1420px;
  margin: 0 auto;
  padding-right: 1rem;
  padding-left: 1rem;
}

@media screen and (min-width: 1600px) {
  .container {
    max-width: 1420px;
  }
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

.card {
  background: inherit;
}

/*SWIPER*/
.swiper-pagination-bullet-active {
  background: var(--orange) !important;
}


/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;
  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

.alignfull {
  width: 100%;
}

.alignwide {
  margin-left: auto;
  margin-right: auto;
  max-width: 1640px;
  width: 100%;
  padding-left: .75rem;
  padding-right: .75rem;
}

.entry-content > *:not(.alignfull):not(.alignwide):not(.alignleft):not(.alignright):not(ul) {
  margin-left: auto;
  margin-right: auto;
  max-width: 1320px;
  padding-right: .75rem;
  padding-left: .75rem;
}

.entry-content > div:first-child:not(.alignfull), .entry-content > p:first-child:not(.alignfull) {
  margin-top: 2rem;
}



@media screen and (min-width: 768px) {
  .row-md-reverse {
    flex-direction: row-reverse;
  }
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*MARGIN*/
.mr-1 {
  margin-right: 0.5rem;
}

.mr-2 {
  margin-right: 1rem;
}

.mr-6 {
  margin-right: 3rem;
}

.ml-1 {
  margin-left: 0.5rem;
}

.ml-2 {
  margin-left: 1rem;
}


/*HAMBURGER*/
/*!
 * Hamburgers
 * @description Tasty CSS-animated hamburgers
 * @author Jonathan Suh @jonsuh
 * @site https://jonsuh.com/hamburgers
 * @link https://github.com/jonsuh/hamburgers
 */
.hamburger {
  padding: .5rem 0 .5rem 1rem;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible;
}

.hamburger:hover {
  opacity: 0.7;
}

.hamburger.is-active {
  display: block !important;
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 11;
}

.hamburger.is-active:hover {
  opacity: 0.7;
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
  background-color: #000;
}

.hamburger-box {
  width: 40px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  width: 40px;
  height: 4px;
  background-color: #000;
  border-radius: 4px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.hamburger-inner::before, .hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -10px;
}

.hamburger-inner::after {
  bottom: -10px;
}

/*
   * Squeeze
   */
.hamburger--squeeze .hamburger-inner {
  transition-duration: 0.075s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--squeeze .hamburger-inner::before {
  transition: top 0.075s 0.12s ease, opacity 0.075s ease;
}

.hamburger--squeeze .hamburger-inner::after {
  transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--squeeze.is-active .hamburger-inner {
  transform: rotate(45deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger--squeeze.is-active .hamburger-inner::before {
  top: 0;
  opacity: 0;
  transition: top 0.075s ease, opacity 0.075s 0.12s ease;
}

.hamburger--squeeze.is-active .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
  transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/*PADDINGS*/
.p-6 {
  padding: 3rem;
}

.pl-2 {
  padding-left: 1rem;
}
.pr-2 {
  padding-right: 1rem;
}

.pt-2 {
  padding-top: 1rem;
}

.pt-4 {
  padding-top: 2rem;
}

.pt-6 {
  padding-top: 3rem;
}

.pb-2 {
  padding-bottom: 1rem;
}

.pb-4 {
  padding-bottom: 2rem;
}

.pb-6 {
  padding-bottom: 3rem;
}

.mt-6 {
  margin-top: 3rem;
}

.mb-6 {
  margin-bottom: 3rem;
}

@media screen and (min-width: 992px) {
  .pl-lg-4 {
    padding-left: 2rem;
  }
}



.wp-block-embed__wrapper {
  margin: auto;
  text-align: center;
}

.nav-links {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.page-header {
  background: #FAFAFA ;
}

.page-title {
  margin: 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.entry-header {
  background: var(--grey-light);
}

.dark-header .entry-header {
  background: var(--grey-dark);
  color: #FFFFFF;
}

.dark-header .entry-header--title {
  margin-bottom: 1rem;
}

.dark-header .entry-title {
  color: #FFFFFF;
}

.dark-header .entry-header a {
  color: #FFFFFF;
}

/*CARD NEWS*/
.card-news {
  background: var(--grey-light);
  height: calc(100% - 1.5rem);
}

.card-news--image img {
  object-fit: cover;
}

.card-news--cat ul {
  margin: 0;
  list-style: none;
}

.card-news--cat {
  height: 50px;
}

.card-news--cat ul {
  padding-left: 0;
  display: flex;
  align-items: center;
  height: 100%;
}

.card-bottom {
  border-top: solid 1px var(--grey-medium);
}

/*CHEVRON*/
.chevron::before {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\f106";
}

.chevron.bottom:before {
  content: "\f107";
}

.product-accordion {
  border-top: solid 1px #78777A;
  border-bottom: solid 1px #78777A;
}

.product-accordion--title {
  cursor: pointer;
}

.product-accordion.is-active .chevron {
  transform: rotate(180DEG);
}

.product-accordion .product-accordion--content {
  opacity: 0;
  display: none;
  border-bottom: solid 1px var(--grey-medium);
  height: 1px;
}

.product-accordion .product-accordion--content:last-child {
  border-bottom: none;
}

.product-accordion.is-active .product-accordion--content {
  display: block;
  opacity: 1;
  height: auto;
}

.product-accordion a {
  text-decoration: none;
}

/*PAGINATION*/
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
}
.pagination a, .pagination span{
  padding: .5rem;
  display: inline-block;
  text-decoration: none;
}

.search-el {
  border-bottom: solid 1px var(--grey-medium);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.search-el p {
  margin-bottom: 0;
}

.search-title a{
  text-decoration: none;
}

/*ARCHIVES PAGE*/
.archive .page-header {
  margin-bottom: 2rem;
}

/*NAV LINKS*/
.nav-links {
  display: flex;
  justify-content: space-between;
}

.nav-links a {
  padding: .5rem;
  color: var(--grey);
}

/*Tree menu*/
ul.menu {
  margin: 0;
  list-style: none;
  padding-left: .5rem;
}

/*ul.menu.tree-menu > li {
  font-weight: bold;
}

ul.menu.tree-menu > li label {
  padding: .4rem;
  display: block;
  font-size: 1rem;
  font-weight: 400;
  width: calc(100% - 30px);
  margin-right: 9px;
}
ul.menu.tree-menu > li input {
  width: 15px;
}

ul.menu.tree-menu > li ul li {
  font-weight: 400;
  font-size: .9rem;
}*/
/*OBJECT FIT*/
.object-fit-cover {
  object-fit: cover !important;
  height: inherit;
  max-width: inherit;
}

/*MODAL*/
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 10; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  max-width: 600px;
  text-align: center;
}

/* The Close Button */
.close {
  color: #2a2929;
  float: right;
  font-size: 40px;
  font-weight: bold;
  text-align: right;
}

.modal-content .close {
  position: absolute;
  right: 1rem;
  top: 0;
  display: none
}

.modal-content p {
  margin: .8rem 0;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#accept-button {
  margin-top: 2rem;
}
