/* base */

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin-bottom: 0 !important;
}

/* gravity forms overwrites */
.gform_wrapper.gravity-theme .gfield_required,
.gform_wrapper.gravity-theme .ginput_product_price,
.gform_wrapper.gravity-theme .ginput_shipping_price {
  color:#927a48 !important;
}

/* media queries breakpoints min */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {  }

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {  }

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {  }

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {  }

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {  }

/* media queries breakpoints max */

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {  }

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {  }

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {  }

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {  }

/* X-Large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {  }

/* utilities */

@media screen and (max-width: 767px){
  .reset-ps-pe {
    padding-right: 0 !important;
    padding-left: 0 !important; 
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {  }

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {  }

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {  }

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {  }

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {  }


/* navigation */

@media screen and (max-width: 991px){
  #site-navigation {
    position: absolute;
    z-index: 500;
    top: 10px;
    right: 12px;
    width: calc(100vw - 24px);
  }
  #footer-menu .nav-menu li {
    margin-bottom:5px;
  }
}

@media screen and (min-width: 992px) {
  #primary-menu {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .main-navigation ul {
    justify-content: space-between;
  }
  #footer-menu .nav-menu {
    display: flex !important;
    justify-content: space-between;
  }
}

.menu-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 0px;
  border: none;
  margin: 0 calc(100% - 40px);
  padding: 0 !important;
}

.menu-toggle span {
  display: block;
  position: absolute;
  left: 5px;
  width: 30px;
  height: 2px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}

.menu-toggle span:nth-child(1) {
  top: 8px;
}

.menu-toggle span:nth-child(2) {
  top: 50%;
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
  bottom: 8px;
}

/* header */

#page {
  min-height: 100vh;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: center top;
}

#masthead {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

.site-branding {
	display: block;
  position: relative;
  width: 100%;
  text-align: center;
}

.site-branding p {
	margin: 0;
}

.site-branding .site-title {
	margin: 0;
	padding-top: 25px;
	padding-bottom: 0px;
	padding-left: 15px;
	padding-right: 15px;
}

.site-branding .site-title a {
	color:  inherit;
	text-decoration: none;
}

/* menu */

.nav-menu li a,
.nav-menu li a:hover,
.nav-menu li a:visited,
.nav-menu li a:active {
  text-decoration: none;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 1em;
  padding-right: 1em;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -ms-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}

.nav-menu li a:hover {
  /*-moz-transform: translateY(-5px);
  -webkit-transform: translateY(-5px);
  -o-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  transform: translateY(-5px);*/
}

/* main holder */

#primary {
  min-height: 100vh;
}

/* sepearator */

.cms_separator {
  display: block;
  position: relative;
  width: 100%;
}

.cms_separator img,
.cms_separator .cms_separator_svg_icon {
  display: block;
  position: absolute;
  z-index: 10;
  left:50%;
  top:50%;
  width:40px;
  height:40px;
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.cms_separator .cms_separator_svg_icon {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 50%;
}

.cms_separator_line_icon_left {

}

.cms_separator_line_icon_centered:before,
.cms_separator_line_icon_centered:after {
  content:'';
  display: block;
  position: absolute;
  height: 0px;
  top:0;
}

.cms_separator_line_icon_centered:before {
  width: calc(50% - 40px);
  left:0;
}

.cms_separator_line_icon_centered:after {
  width: calc(50% - 40px);
  right:0;
}

.cms_separator_line_icon_right {
  
}

.cms_separator_line_solid:before,
.cms_separator_line_solid:after {
  border-bottom:1px solid #000000;
}

.cms_separator_line_dotted:before,
.cms_separator_line_dotted:after {
  border-bottom:1px dotted #000000;
}

.cms_separator_line_dashed:before,
.cms_separator_line_dashed:after {
  border-bottom:1px dashed #000000;
}

.cms_separator_line_double:before,
.cms_separator_line_double:after {
  border-bottom:1px double #000000;
}

.cms_separator_line_gradient:before,
.cms_separator_line_gradient:after {
  height:10px;
}

.cms_separator_line_gradient:before {
  background-image: linear-gradient(to right, rgba(0,0,0,0.01), rgba(0,0,0,1));
}

.cms_separator_line_gradient:after {
  background-image: linear-gradient(to right, rgba(0,0,0,1), rgba(0,0,0,0.01));
}

.cms_separator_line_none:before,
.cms_separator_line_none:after {
  border-bottom:0px solid transparent;
}

.cms_separator img,
.cms_separator .cms_separator_svg_icon {
  display: block;
  position: absolute;
  z-index: 10;
  left:50%;
  top:50%;
  width:40px;
  height:40px;
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.cms_separator.cms_separator_line_icon_width_extrasmall img, 
.cms_separator.cms_separator_line_icon_width_extrasmall .cms_separator_svg_icon {
  width:20px;
  height:20px;
}
.cms_separator.cms_separator_line_icon_width_extrasmall.cms_separator_line_icon_centered:before {
  width: calc(50% - 20px);
  left:0;
}
.cms_separator.cms_separator_line_icon_width_extrasmall.cms_separator_line_icon_centered:after {
  width: calc(50% - 20px);
  right:0;
}

.cms_separator.cms_separator_line_icon_width_small img,
.cms_separator.cms_separator_line_icon_width_small .cms_separator_svg_icon {
  width:40px;
  height:40px;
}
.cms_separator.cms_separator_line_icon_width_small.cms_separator_line_icon_centered:before {
  width: calc(50% - 40px);
  left:0;
}
.cms_separator.cms_separator_line_icon_width_small.cms_separator_line_icon_centered:after {
  width: calc(50% - 40px);
  right:0;
}

.cms_separator.cms_separator_line_icon_width_medium img,
.cms_separator.cms_separator_line_icon_width_medium .cms_separator_svg_icon {
  width:70px;
  height:70px;
}
.cms_separator.cms_separator_line_icon_width_medium.cms_separator_line_icon_centered:before {
  width: calc(50% - 70px);
  left:0;
}
.cms_separator.cms_separator_line_icon_width_medium.cms_separator_line_icon_centered:after {
  width: calc(50% - 70px);
  right:0;
}

.cms_separator.cms_separator_line_icon_width_large img,
.cms_separator.cms_separator_line_icon_width_large .cms_separator_svg_icon {
  width:110px;
  height:110px;
}
.cms_separator.cms_separator_line_icon_width_large.cms_separator_line_icon_centered:before {
  width: calc(50% - 110px);
  left:0;
}
.cms_separator.cms_separator_line_icon_width_large.cms_separator_line_icon_centered:after {
  width: calc(50% - 110px);
  right:0;
}

.cms_separator.cms_separator_line_icon_width_extralarge img,
.cms_separator.cms_separator_line_icon_width_extralarge .cms_separator_svg_icon {
  width:160px;
  height:160px;
}
.cms_separator.cms_separator_line_icon_width_extralarge.cms_separator_line_icon_centered:before {
  width: calc(50% - 160px);
  left:0;
}
.cms_separator.cms_separator_line_icon_width_extralarge.cms_separator_line_icon_centered:after {
  width: calc(50% - 160px);
  right:0;
}

/* programma */

.programma-container {
  background: linear-gradient(to right, 
        transparent calc(50% - 0px),  /* Transparent until just before the center */
        #000 50%,                      /* 1px black line exactly at the center */
        transparent calc(50% + 1px)); /* Transparent right after the 1px line */
}

/* gallery */

#galleryImageHolder {
  display: block;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 5vw;
}

#galleryImageHolder:before {
  content: '';
  display: block;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background-color: #FFFFFF;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}

#galleryImageHolder:after {
  content: '';
  display: block;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEyOCAxMjgiIGhlaWdodD0iMTI4cHgiIGlkPSJMYXllcl8xIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAxMjggMTI4IiB3aWR0aD0iMTI4cHgiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxnPjxnPjxwYXRoIGQ9Ik04NC44MTUsNDMuMzk5Yy0wLjc4MS0wLjc4Mi0yLjA0Ny0wLjc4Mi0yLjgyOCwwTDY0LjAzMiw2MS4zNTZMNDYuMDc3LDQzLjM5OWMtMC43ODEtMC43ODItMi4wNDctMC43ODItMi44MjgsMCAgICBjLTAuNzgxLDAuNzgxLTAuNzgxLDIuMDQ3LDAsMi44MjhsMTcuOTU1LDE3Ljk1N0w0My4yNDksODIuMTQxYy0wLjc4MSwwLjc4LTAuNzgxLDIuMDQ3LDAsMi44MjggICAgYzAuMzkxLDAuMzksMC45MDIsMC41ODUsMS40MTQsMC41ODVzMS4wMjMtMC4xOTUsMS40MTQtMC41ODVsMTcuOTU1LTE3Ljk1NmwxNy45NTUsMTcuOTU2YzAuMzkxLDAuMzksMC45MDIsMC41ODUsMS40MTQsMC41ODUgICAgczEuMDIzLTAuMTk1LDEuNDE0LTAuNTg1YzAuNzgxLTAuNzgxLDAuNzgxLTIuMDQ4LDAtMi44MjhMNjYuODYsNjQuMTg0bDE3Ljk1NS0xNy45NTdDODUuNTk3LDQ1LjQ0Nyw4NS41OTcsNDQuMTgsODQuODE1LDQzLjM5OXogICAgIE02NC4wMzIsMTQuMDU0Yy0yNy42NDIsMC01MC4xMjksMjIuNDg3LTUwLjEyOSw1MC4xMjdjMC4wMDIsMjcuNjQzLDIyLjQ5MSw1MC4xMzEsNTAuMTMzLDUwLjEzMSAgICBjMjcuNjM5LDAsNTAuMTI1LTIyLjQ4OSw1MC4xMjUtNTAuMTMxQzExNC4xNjEsMzYuNTQxLDkxLjY3NCwxNC4wNTQsNjQuMDMyLDE0LjA1NHogTTY0LjAzNiwxMTAuMzEzaC0wLjAwMiAgICBjLTI1LjQzNSwwLTQ2LjEyOS0yMC42OTUtNDYuMTMxLTQ2LjEzMWMwLTI1LjQzNSwyMC42OTMtNDYuMTI3LDQ2LjEyOS00Ni4xMjdzNDYuMTI5LDIwLjY5Myw0Ni4xMjksNDYuMTI3ICAgIEMxMTAuMTYxLDg5LjYxNyw4OS40NywxMTAuMzEzLDY0LjAzNiwxMTAuMzEzeiIvPjwvZz48L2c+PC9zdmc+");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#galleryImageHolder img {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.gallerytype-grid {
  width: 100%;
  display:grid;
  grid-gap: 0px;
}

.gallerytype-grid .gallery-img {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-color: rgba(255,255,255,0.4);
  padding: 15px;
  margin: 15px;
}

.gallerytype-grid.gallerycolumns-2col {
  grid-template-columns: 50% 50%;
}

.gallerytype-grid.gallerycolumns-3col {
  grid-template-columns: 33% 34% 33%;
}

.gallerytype-grid.gallerycolumns-4col {
  grid-template-columns: 25% 25% 25% 25%;
}

.gallerytype-grid.gallerycolumns-5col {
  grid-template-columns: 20% 20% 20% 20% 20%;
}

.gallerytype-horizontal img {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.gallerytype-horizontal .gallery-img {
  background-color: rgba(255,255,255,0.4);
  padding: 15px;
}

.slider-indicators button {
  padding: 0 !important;
  border-color: transparent;
}

/* faq */

.faq-tabs {
  -webkit-border-radius: 6px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
}

.faq-tab {
  width: 100%;
  color: #FFFFFF;
  overflow: hidden;
}
.faq-tab-label {
  display: flex;
  justify-content: space-between;
  padding: 1em;
  background: #656565;
  font-weight: bold;
  cursor: pointer;
}
.faq-tab-label:hover {
  background: #000000;
}
.faq-tab-label::after {
  content: "❯";
  width: 1em;
  height: 1em;
  text-align: center;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -ms-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}
.faq-tab-content {
  max-height: 0;
  padding: 0 1em;
  color: #656565;
  background: #FFFFFF;
  transition: all 0.35s;
}
.faq-tab-close {
  display: flex;
  justify-content: flex-end;
  padding: 1em;
  font-size: 0.75em;
  background: #656565;
  cursor: pointer;
}
.faq-tab-close:hover {
  background: #000000;
}

input.faq-tab-question {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

input.faq-tab-question:checked + .faq-tab-label {
  background: #000000;
}
input.faq-tab-question:checked + .faq-tab-label::after {
  transform: rotate(90deg);
}
input.faq-tab-question:checked ~ .faq-tab-content {
  max-height: 100vh;
  padding: 1em;
}

/* block quote */
blockquote {
  font-size: 1.4em;
  width:100%;
  margin:50px auto;
  font-style:italic;
  padding:1.2em 30px 1.2em 75px;
  border-left:8px solid #CCCCCC;
  line-height:1.6;
  position: relative;
  background-color: rgba(255,255,255,0.3);
}

blockquote::before{
  content: "\201C";
  color:#CCCCCC;
  font-size:4em;
  position: absolute;
  left: 10px;
  top:-10px;
}

blockquote::after{
  content: '';
}

blockquote span{
  display:block;
  font-style: normal;
  font-weight: bold;
  margin-top:1em;
}

/*  images */

img.fullwidth {
	display: block;
	position: relative;
	width: 100%;
	height: auto;
}

img.boxwidth {
	display: block;
	position: relative;
	width: 100%;
	height: auto;
}

/* person card */

.person-image {
  display: inline-block;
  width: 70%;
  height: 0;
  padding-bottom: 70%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
}
.person-name {
  font-weight: bold;
  font-size: 1.2em;
}

.person-role {

}

/* form */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  -webkit-border-radius: 5px;
  border-radius: 5px;
  padding: 1em !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-border-radius: 5px;
  border-radius: 5px;
  padding: 1em !important;
  line-height: 1.5em;
}

.validation_message {
  padding-top: 16px !important;
}

/* footer */

footer {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  padding-top: 50px;
  padding-bottom: 50px;
}

.site-info {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 767.98px){
  .site-info {
    flex-direction: column;
  }
}

.site-info a {
  display: inline-block;
  width: 100px;
  height: 36px;
  background-image: url(/wp-content/themes/the-great-day/img/thegreatday-logo-footer.png);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: contain;
  text-indent: -999999px;
  margin-left: 8px;
}

#footer-menu .nav-menu {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}

#footer-menu .nav-menu li {

}