/*!
Theme Name: Scholomance
Theme URI: #
Author: Radu
Author URI: #
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
*/


img{
    max-width: 100%;
}

a{
    text-decoration: none;
}

/* Global Colors */
:root {
  --albertan :  "albertan-pro", sans-serif;
  --connemara :  "connemara-old-style", sans-serif;
  --gray: #7a7a7a;
  --dark_gray: #212121;
  --red:#eb1e00;
  --orange: #FEF8E4;
  --white: #FAFAFA;
  --l_black: #31312D;
  --black: #03010E;
  --accent:#420807;
}

html {
  margin:0;
  padding:0;
  font-family: var(--albertan);
  background: var(--orange);
}


body {
  margin: 0;
}

*:focus {
    outline: none;
}


::-webkit-input-placeholder { /* WebKit, Blink, Edge */
  font-weight: 400;
  font-size: 20px;
  line-height: 22px;
  color: #C6C3B6;
  font-family: var(--albertan);
}

:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  font-weight: 400;
  font-size: 20px;
  line-height: 22px;
  color: #C6C3B6;
  font-family: var(--albertan);
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
  font-weight: 400;
  font-size: 20px;
  line-height: 22px;
  color: #C6C3B6;
  font-family: var(--albertan);
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
  font-weight: 400;
  font-size: 20px;
  line-height: 22px;
  color: #C6C3B6;
  font-family: var(--albertan);
}
::-ms-input-placeholder { /* Microsoft Edge */
  font-weight: 400;
  font-size: 20px;
  line-height: 22px;
  color: #C6C3B6;
  font-family: var(--albertan);
}

::placeholder { /* Most modern browsers support this now. */
  font-weight: 400;
  font-size: 20px;
  line-height: 22px;
  color: #C6C3B6;
  font-family: var(--albertan);
}


textarea,
input.text,
input[type="text"],
input[type="button"],
input[type="submit"] {
    -webkit-appearance: none;
    border-radius: 0;
}

h1 {
  font-style: normal;
  font-weight: 700;
  font-size:  60px;
  line-height: 120%;
  color:var(--accent);
  font-family: var(--connemara);
  margin-top: 25px;
  margin-bottom: 30px;
}

h2{
    margin-top:0;
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 41px;
    color:var(--accent);
    font-family: var(--connemara);
    margin-bottom: 30px;
}


h3{
    margin-top:0;
    font-weight: 300;
    font-size: 34px;
    line-height: 41px;
    color: var(--black);
    font-family: var(--HaasGrotText);
}

h4{
    font-family: var(--albertan);
    color: var(--black);
    font-weight: 400;
    font-size: 28px;
    line-height: 155%;
    letter-spacing: 0%;
    margin-top: 10px;
    margin-bottom: 10px;
}



hr{
  float:left;
  width: 100%;
  background: url(images/hr.svg) no-repeat;
  height: 42px;
  border:0;
  margin-bottom: 48px;
  margin-top: 48px;
}

.hr_line hr{
  background-position: center;
}

p{
    font-size: 20px;
    font-weight: 300;
    margin-top: 0;
    font-size: 20px;
    color: var(--l_black);
    line-height: 27px;
    font-family: var(--albertan);
}

p strong{
  font-weight: 700;
  color: var(--black);
}

p a{
  font-weight: 700;
  color: var(--black);
  text-decoration: underline;
}



select{
    -webkit-appearance:none;
}





ul#mobile_menu {
    position: relative;
    top: 20px;
    transform: translate(-50%,-50%);
    width: 40px;
    height: 40px;
    cursor: pointer;
    right: -20px;
    margin: 0;
    float: right;
    margin-left: 50px;
    display:none;
}
ul#mobile_menu li {
    list-style: none;
    position: absolute;
    right: 0;
    transform: translateY(-50%);
    width: 90%;
    height: 2px;
    background: var(--accent);
    border-radius: 20px;
    transition: .5s;
    opacity: 1;
    width: 40px;
}
ul#mobile_menu li:nth-of-type(1){
    top: 20%;
}
ul#mobile_menu li:nth-of-type(2),ul#mobile_menu li:nth-of-type(3){
    top: 50%;
}
ul#mobile_menu li:nth-of-type(4){
    top: 80%;
}

ul#mobile_menu.active li:nth-of-type(1){
    top: -20%;
    opacity: 0;
}
ul#mobile_menu.active li:nth-of-type(2){
    transform: translateY(-50%) rotate(45deg);
}
ul#mobile_menu.active li:nth-of-type(3){
    transform: translateY(-50%) rotate(-45deg);
}
ul#mobile_menu.active li:nth-of-type(4){
    top: 120%;
    opacity: 0;
}


/* ==== GRID SYSTEM ==== */

.container {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .row {
    position: relative;
    width: 100%;
  }
  
  .row [class^="col"] {
    float: left;
    margin: 0.5rem 2%;
    min-height: 0.125rem;
  }
  
  .col-1,
  .col-2,
  .col-3,
  .col-4,
  .col-5,
  .col-6,
  .col-7,
  .col-8,
  .col-9,
  .col-10,
  .col-11,
  .col-12 {
    width: 96%;
  }
  
  .col-1-sm {
    width: 4.33%;
  }
  
  .col-2-sm {
    width: 12.66%;
  }
  
  .col-3-sm {
    width: 21%;
  }
  
  .col-4-sm {
    width: 29.33%;
  }
  
  .col-5-sm {
    width: 37.66%;
  }
  
  .col-6-sm {
    width: 46%;
  }
  
  .col-7-sm {
    width: 54.33%;
  }
  
  .col-8-sm {
    width: 62.66%;
  }
  
  .col-9-sm {
    width: 71%;
  }
  
  .col-10-sm {
    width: 79.33%;
  }
  
  .col-11-sm {
    width: 87.66%;
  }
  
  .col-12-sm {
    width: 96%;
  }
  
  .row::after {
      content: "";
      display: table;
      clear: both;
  }
  
  .hidden-sm {
    display: none;
  }
  
  @media only screen and (min-width: 33.75em) {  /* 540px */
    .container {
      width: 1570px;
    }
  }
  
  @media only screen and (min-width: 45em) {  /* 720px */
    .col-1 {
      width: 4.33%;
    }
  
    .col-2 {
      width: 12.66%;
    }
  
    .col-3 {
      width: 21%;
    }
  
    .col-4 {
      width: 29.33%;
    }
  
    .col-5 {
      width: 37.66%;
    }
  
    .col-6 {
      width: 46%;
    }
  
    .col-7 {
      width: 54.33%;
    }
  
    .col-8 {
      width: 62.66%;
    }
  
    .col-9 {
      width: 71%;
    }
  
    .col-10 {
      width: 79.33%;
    }
  
    .col-11 {
      width: 87.66%;
    }
  
    .col-12 {
      width: 96%;
    }
  
    .hidden-sm {
      display: block;
    }
  }


    .flex_it{
        display: flex;
    }
    
    .center_it{
        align-items: center;
    }
    
    .wrap_it{
        flex-wrap: wrap;
    }
    
    .flex_center{
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
    }

    .space_between{
      justify-content: space-between;
    }


/* 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;
}









.overline {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  margin-bottom: 6px;
}


.button_container{
  float: left;
  width: 100%;
  display: flex;
  margin-top: 40px;
}

.center_buttons.button_container{
  justify-content: center;  
}


.wpcf7-submit,
.button {
    font-weight: 700;
    font-size: 20px;
    line-height: 155%;
    letter-spacing: 12%;
    text-transform: uppercase;
    color: var(--accent);
    padding: 0px 10px;
    background: url(images/button.svg) no-repeat;
    background-size: 100%;
    height: 90px;
    min-width: 335px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:all 0.3s;
}

.wpcf7-submit,
.button:hover{
  background: url(images/button_hover.svg) no-repeat;
  background-size: 100%;
  color: var(--white);
  transition:all 0.3s;
}

.contact input.wpcf7-submit{
    border: 0;
    height: 90px;
    color: var(--white);
    width: 365px;
    cursor: pointer;
    transition:all 0.3s;
}

.wpcf7-response-output {
    float: left;
    width: calc(100% - 48px);
    padding: 24px !important;
    margin: 0 !important;
    font-size: 20px;
}

.wpcf7-spinner{
  position: absolute;
}

/* HEADER */
.site-header {
  position: relative;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.brand-text {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
  color: #3b2a20;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6c2e22;
}

.main-nav a:hover {
  color: #8b3d2d;
}

.lang-switch {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lang-switch a {
  text-decoration: none;
  color: #6c2e22;
}

.lang-switch a.active {
  font-weight: 700;
}

/* HERO */
.hero {
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-lead {
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.hero-aside {
  display: flex;
  justify-content: flex-end;
}

.illustration-placeholder {
  width: 100%;
  max-width: 320px;
  height: 220px;
  border: 1px dashed #c3b39b;
  border-radius: 12px;
  background-color: #efe2cf;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #a18665;
}

.illustration-placeholder.tall {
  max-width: 280px;
  height: 320px;
}

/* Sections generic */
.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-header p {
  max-width: 520px;
  margin: 0.5rem auto 0;
}

/* Grid helpers */
.cards-grid {
  display: grid;
  gap: 24px;
}

.cards-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Cards */
.card {
  border: 1px solid #c3b39b;
  background-color: #fbf6ee;
  padding: 20px 22px;
  position: relative;
}

.course-card {
  text-align: left;
}

.course-card-featured {
  border-color: #6c2e22;
}

.card-subtitle {
  font-size: 0.85rem;
  color: #7d6b58;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  font-size: 0.85rem;
}

.card-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #6c2e22;
}

.card-cta {
  display: inline-block;
  margin-top: 10px;
}

/* Two columns layout */
.two-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.two-cols .text-col h2 {
  text-align: left;
}

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

.checklist li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #6c2e22;
  font-size: 0.9rem;
}

/* Trainers */
.trainer-card h3 {
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Benefits */
.benefits-row {
  margin-bottom: 32px;
}

.benefit-thumb {
  width: 60px;
  height: 60px;
  background-color: #e4d4bf;
  border-radius: 8px;
  margin-bottom: 14px;
}

/* Final CTA */
.final-cta h2 {
  text-align: center;
}

.final-cta p {
  text-align: center;
  max-width: 520px;
  margin: 0.5rem auto 0;
}



#primary-menu-mobile,
#primary-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    gap: 40px;
    margin-bottom: 60px;
}

#primary-menu-mobile li,
#primary-menu li{
  list-style-type: none;
  margin:0;
  padding:0;
}

  #primary-menu-mobile li.current-menu-item a,
  #primary-menu-mobile li:hover a,
  #primary-menu li.current-menu-item a,
  #primary-menu li:hover a{
    color: var(--accent);
    text-decoration: underline;
  }

  #primary-menu-mobile li a,
  #primary-menu li a{
    font-family: var(--albertan);
    font-weight: 700;
    font-style: Bold;
    font-size: 20px;
    line-height: 155%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: var(--black);


  }

#primary-menu-mobile li.menu-logo ,
#primary-menu li.menu-logo {
    margin: 0 20px;
}

#primary-menu-mobile li.menu-logo{
  display: none;
}
#primary-menu li.menu-logo img {
  display: block;
  max-height: 240px;
  width: auto;
}

/*...*/
.page-wrapper {
    position: relative;
    overflow: hidden;
}

.bg-stack {
    position: absolute;
    top: -400px;
    left: 0;
    width: 100%;
    z-index: -1;

    display: flex;
    flex-direction: column;
}

.bg {
    width: 100%;
    height: 1200px; /* image height */
    background-image: url('images/background.jpg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.bg.rotated {
    transform: rotate(180deg);
}

.gap { 
    height: 600px;
}

.bg-stack {
    display: grid;
    grid-auto-rows: auto;
}

.bg-stack {
    background: none;
}


.images,
.contact,
.repeater_items,
.hr_line,
.full_image,
.full_text_cont,
.multirow,
.left_right{
  float:left;
  width: 100%;
  margin-bottom: 80px;
}

  .left_right .row{
    display: flex;
    align-items: center;
  }

  .left_right.switch .row{
    flex-direction: row-reverse;
  }


.images .repeater_items a{
  display: flex;
  align-items: center;
  width: calc(33.3% - 32px);
  padding: 0;
  border:0;
  /*filter: grayscale(100%);*/
  transition:all 0.3s;
}

.images .repeater_items a:hover{
  border:0;  
  filter: grayscale(0%);
  transition:all 0.3s;
}
.images .repeater_items .single_item:before,
.images .repeater_items .single_item:after{
  display: none;
}

    .full_text ul,
    .full_text ul li{
      margin:0;
      padding:0;
      text-align: left;
      list-style-type: none;
    }

    .full_text ul li,
    .full_text p{
      font-size: 20px;
      color: var(--black);
    }


    .full_text ul li{
      background: url("images/check_circle.svg") no-repeat;
      background-size: 30px;
      padding-left: 40px;
      min-height: 30px;
      margin-bottom: 12px;
      padding-top: 3px;
    } 

.repeater_items {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  width: 100%;
  margin-top: 40px;
}

.repeater_items .button_container{
  justify-content: center;
}

.repeater_items .single_item {
  width: calc(33.3% - 115px);
  padding: 40px;
  position: relative;
  transition: all 0.3s;
}



.repeater_items .single_item svg{
  position: absolute;
}

.repeater_items .single_item .svg_hover{
  opacity: 0;
  transition: all 0.3s;
}

.repeater_items .single_item:hover .svg_hover{
  opacity: 1;
  transition: all 0.3s;
}

/* BORDER LAYER */
.repeater_items .single_item::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 8px solid #42080726;
  pointer-events: none;
  z-index: 0;
  transition: all 0.3s;

  /* 🔥 MASK OUT THE CORNERS */
  -webkit-mask:
    linear-gradient(#000 0 0) center/100% 100% no-repeat,
    url(images/left_small_OFF.svg) top left no-repeat,
    url(images/right_small_OFF.svg) bottom right no-repeat;

  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

.repeater_items .single_item::before {
  /*border-color: var(--accent);*/

  -webkit-mask: linear-gradient(#000 0 0) center / 100% 100% no-repeat, url(images/left_small_ON.svg) -11px -6px no-repeat, url(images/right_small_ON.svg) calc(100% + 11px) calc(100% + 6px) no-repeat;

  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

.repeater_items .single_item:hover:before {
  border-color: var(--accent);
  transition: all 0.3s;

}


/* CONTENT */
.repeater_items .single_item .inner_container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.repeater_items .single_item .corner {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}


/* TOP LEFT */
.repeater_items .single_item .corner_left {
    top: -6px;
    left: -11px;
}

/* BOTTOM RIGHT */
.repeater_items .single_item .corner_right {
    bottom: 135px;
    right: 105px;
}



.full_text_cont .button_container{
  justify-content: center;
}



.site-footer{
  float:left;
  width: 100%;
  background: var(--black);
  padding-top: 60px;
  padding-bottom: 60px;
} 

  .site-footer .row{
    display: flex;
    align-items: center;
  }

  .site-footer h4{
    color: var(--white);
    margin: 0;
    line-height: 100%;
  }

#menu-footer{
  display: flex;
  color: var(--white);
  justify-content: end;
    align-items: center;
    gap: 20px;
}

  #menu-footer,
  #menu-footer li{
    margin: 0;
    padding:0;
    list-style-type: none;
  }

  #menu-footer a{
    color: var(--white);

  }



.wpcf7 .half{
  display: flex;
  gap: 24px;
  width: 100%;
}

  .wpcf7 p{
    float:left;
    width: 100%;
  }

.wpcf7 label {
    font-family: var(--albertan);
    color: var(--black);
    font-size: 20px;
    float: left;
    margin-bottom: 5px;
    width: 100%;
}

.wpcf7 textarea,
.wpcf7 input{
  border:1px solid #C6C3B6;
  height: 50px;
  width: calc(100% - 48px);
  padding-left: 24px;
  padding-right: 24px;
  font-size: 20px;
  color: var(--black);
}

.wpcf7 textarea{
  height: 250px;
  max-height: 250px;
  min-height: 250px;
  padding:24px;
  width: calc(100% - 48px);
}











/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
}

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden;
}

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box;
}

.mfp-container:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.mfp-align-top .mfp-container:before {
  display: none;
}

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}

.mfp-ajax-cur {
  cursor: progress;
}

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content {
  cursor: auto;
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.mfp-loading.mfp-figure {
  display: none;
}

.mfp-hide {
  display: none !important;
}

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044;
}
.mfp-preloader a {
  color: #CCC;
}
.mfp-preloader a:hover {
  color: #FFF;
}

.mfp-s-ready .mfp-preloader {
  display: none;
}

.mfp-s-error .mfp-content {
  display: none;
}

button.mfp-close, button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
}
.mfp-close:hover, .mfp-close:focus {
  opacity: 1;
}
.mfp-close:active {
  top: 1px;
}

.mfp-close-btn-in .mfp-close {
  color: #333;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%;
}

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.mfp-arrow:active {
  margin-top: -54px;
}
.mfp-arrow:hover, .mfp-arrow:focus {
  opacity: 1;
}
.mfp-arrow:before, .mfp-arrow:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 35px;
  margin-left: 35px;
  border: medium inset transparent;
}
.mfp-arrow:after {
  border-top-width: 13px;
  border-bottom-width: 13px;
  top: 8px;
}
.mfp-arrow:before {
  border-top-width: 21px;
  border-bottom-width: 21px;
  opacity: 0.7;
}

.mfp-arrow-left {
  left: 0;
}
.mfp-arrow-left:after {
  border-right: 17px solid #FFF;
  margin-left: 31px;
}
.mfp-arrow-left:before {
  margin-left: 25px;
  border-right: 27px solid #3F3F3F;
}

.mfp-arrow-right {
  right: 0;
}
.mfp-arrow-right:after {
  border-left: 17px solid #FFF;
  margin-left: 39px;
}
.mfp-arrow-right:before {
  border-left: 27px solid #3F3F3F;
}

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px;
}
.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 900px;
}
.mfp-iframe-holder .mfp-close {
  top: -40px;
}

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
}
.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #000;
}

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto;
}

/* The shadow behind the image */
.mfp-figure {
  line-height: 0;
}
.mfp-figure:after {
  content: "";
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #444;
}
.mfp-figure small {
  color: #BDBDBD;
  display: block;
  font-size: 12px;
  line-height: 14px;
}
.mfp-figure figure {
  margin: 0;
}

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto;
}

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px;
}

.mfp-image-holder .mfp-content {
  max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer;
}


.polylang_langswitcher{
      position: absolute;
    right: 30px;
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
}

  .polylang_langswitcher li{
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family:var(--albertan);
    font-weight: 700;
    font-size: 20px;
    line-height: 155%;
    text-transform: uppercase;
    z-index: 999;

  }
  .polylang_langswitcher li{
    border: 2px dashed var(--black);
  }
    
      .polylang_langswitcher li a{
        color: var(--black);
      }

  .polylang_langswitcher li.current-lang{
    border: 2px solid var(--accent);
    background: var(--accent);
  }

    .polylang_langswitcher li.current-lang a{
      color: var(--white);
    }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
   * Remove all paddings around the image on small screen
   */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0;
  }
  .mfp-img-mobile img.mfp-img {
    padding: 0;
  }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0;
  }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px;
  }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box;
  }
  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0;
  }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px;
  }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0;
  }
}
@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }

  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0;
  }

  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%;
  }

  .mfp-container {
    padding-left: 6px;
    padding-right: 6px;
  }
}

.social_media{
  display: flex;
  justify-content: start;
}


 #masthead #main_menu_mobile{
  display: none;
 }





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

  .wpcf7-submit, .button{
        height: 80px;
    min-width: 300px;
  }

}

@media only screen and (max-width: 1350px) {
  .container{
    width: 1000px;
  }    

  .wpcf7-submit, .button{
        height: 80px;
    min-width: 300px;
  }


  #primary-menu{
    gap: 20px;
  }

  #primary-menu li.menu-logo img{
    max-height: 150px;
  }

  .repeater_items{
    justify-content: center;
  } 

  .repeater_items .single_item {
    width: calc(50% - 115px);
  }

  .left_right .col-4{
    width: 50%;
  }


}


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

  .container{
    width: 90%;
  }  

    /* hide menu items by default */
    #primary-menu li {
        display: none;
    }

    #primary-menu li.menu-logo {
        display: block;
        order: -1;
        text-align: center;
        padding: 0;
        position: absolute;
        left: 0;
        margin: 0;
        margin-left: 20px;
    }

    ul#mobile_menu{
      display: block;
    }

    .site-header {
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #primary-menu li.menu-logo img {
        max-height: 100px;
    }

      #primary-menu {
        gap: 0px;
        margin: 0;
        padding: 0;
    }

    #masthead #main_menu_mobile {
        position: absolute;
        top: 0;
        height: calc(100vh - 100px);
        left: 0;
        width: 100vw;
        padding-top: 150px;
        background: var(--orange);
    }

    #primary-menu-mobile{
      flex-wrap: wrap;
    }

    #primary-menu-mobile li{
      float:left;
      width: 100%;
    }

    ul#mobile_menu, .menu_container{
      z-index: 10;
    }


    .left_right .row{
      flex-wrap: wrap;
      gap: 48px;
    }

    .left_right .col-4,
    .col-4,
    .col-8,
    .col-6{
      width: 96%;
    }

    .left_right .col-4 .img_cont img,
    .col-4 .img_cont img,
    .col-8 .img_cont img,
    .col-6 .img_cont img{
      max-width: 50%;
      margin: 0 auto;
      display: table;
    }

    .repeater_items .single_item{
      width: calc(100% - 115px);
    }


    h1 {
      font-style: normal;
      font-weight: 700;
      font-size:  40px;
      line-height: 120%;
    }

    h2{
        font-weight: 700;
        font-size: 28px;
        line-height: 41px;
        margin-bottom: 20px;
    }

    h4{
        font-size: 24px;
    }



    p{
        font-size: 16px;
        font-weight: 300;
        color: var(--l_black);
        line-height: 27px;
        font-family: var(--albertan);
    }

    .full_text ul li, .full_text p{
      font-size: 16px;
    }

    p strong{
      font-weight: 700;
      color: var(--black);
    }

    p a{
      font-weight: 700;
      color: var(--black);
      text-decoration: underline;
    }

    br{
      display: none;
    }

    hr{
      background-size: 100%;
    }


    .images, .contact, .repeater_items, .hr_line, .full_image, .full_text_cont, .multirow, .left_right {
        float: left;
        width: 100%;
        margin-bottom: 30px;
    }


    .contact input.wpcf7-submit{
       font-size: 16px;
        height: 60px;
        width: 240px;
    }
    .wpcf7-submit, .button{
      font-size: 16px;
        height: 60px;
        min-width: 240px;
    }

    .button_container{
      margin-top: 20px;
    }

    .site-footer .row{
      flex-wrap: wrap;
              text-align: center;
    }

    #menu-footer{
      justify-content: center;
    }

    .social_media{
      display: flex;
      justify-content: center;
    }

    .contact .row{
       position: relative; 
      width: 100%;
      display: flex;
      flex-direction: column-reverse;
      gap: 40px;
    }

    .images .repeater_items{
      gap: 20px}
    .images .repeater_items a{
      width: calc(50% - 32px);;
    }

    .polylang_langswitcher{
          right:  100px;
          top:22px;
    }
}


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


}
 
@media only screen and (max-width: 768px) {
  .left_right .col-4 .img_cont img,
    .col-4 .img_cont img,
    .col-8 .img_cont img,
    .col-6 .img_cont img{
      max-width: 80%;
      margin: 0 auto;
      display: table;
    }
}


.error-404{
  text-align: center;
  min-height: calc(100vh - 300px);
}