/*
Theme Name: Uzès
Author: Stijn D'Hollander
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@font-face {
    font-family: BebasNeue;
    src: url("assets/fonts/BebasNeue-Regular.woff") format("woff"), url("assets/fonts/BebasNeue-Regular.ttf")  format("truetype");
}

@font-face {
    font-family: NK_Mono;
    src: url("assets/fonts/NK_MonotypeCorsiva.woff") format("woff"), url("assets/fonts/NK_MonotypeCorsiva.ttf")  format("truetype");
}

.rij1_home .n2-padding > .n2-ss-slider, 
.rij1_home div#n2-ss-2 .n2-ss-slide,
.rij1_home .n2-section-smartslider
{
  height: 100vh !important;
  overflow: hidden;
}

header 
{
  position: absolute;
  top: 0px;
  width: 100%;
  z-index: 1;
  height: 90px;
  -webkit-box-shadow: 0 -2px 15px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 -2px 15px 0 rgba(0, 0, 0, 0.1);
  background-color: white;
}

.homepage header 
{
  box-shadow: none;
  background-color: transparent;
}

header .logo 
{
  position: absolute;
  width: 300px;
  left: calc(50% - 150px);
  text-align: center;
}

header .logo a 
{
  color: #A4CA94;
  font-size: 35px;
  font-weight: bold;
  font-family: 'Tangerine', cursive;
  text-decoration: none;
  line-height: 90px;
}

.homepage header .logo a 
{
  color: white;
}

.rij1
{
  margin-top: 90px;
  padding-top: 50px;
  padding-bottom: 50px;
  /*background-color: #eef3ec;*/
}

.rij1 h1
{
  text-align: center;
  font-family: 'Montserrat';
  font-size: 300%;
  line-height: 1.3;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: #A4CA94;
  margin-bottom: 10px;
  margin-top: 0;
}

.rij1 p 
{
  text-align: center;
  font-family: 'Montserrat';
  color: #333;
  font-size: 100%;
  line-height: 1.4;
  max-width: 790px;
  margin-left: auto;
  margin-right: auto;
  color: #a1a1a1;
  letter-spacing: 0.5px;
}

.rij1 p:last-child 
{
  margin-bottom: 0;
}

.rij2_slider 
{
  background-color: #eef3ec;
  padding: 100px;
}

.fancybox-button.fancybox-button--share
{
  display: none !important;
}

.rij_icons 
{
  background-color: #EEF3EC;
  font-family: 'Montserrat';
  color: #333;
  font-size: 100%;
  line-height: 1.4;
  padding-bottom: 100px;
}

.rij_icons .textwidget 
{
  background-color: white;
  padding: 40px;
}

.rij_icons ul 
{
  display: grid;
  grid-template-columns: 50% 50%;
  grid-gap: 20px;
}

.rij_icons li
{
  display: flex;
  align-items: center;
	color: #a1a1a1;
}

.rij_icons li img 
{
  width: 30px;
  height: 40px;
  object-fit: contain;
  object-position: center;
  margin-right: 10px;
opacity: 0.5;
}

.rij_icons a,
header > .container > a,
.wpcf7 form input[type=submit]
{
  background-color: #A4CA94;
  color: white;
  display: inline-block;
  padding: 10px 20PX;
  margin-top: 40px;
  font-family: 'Montserrat';
  font-size: 18px;
  text-decoration: none;
  transition: all 300ms;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -ms-transition: all 300ms;
  -o-transition: all 300ms;
}

.rij_icons a:hover,
header > .container > a:hover,
.wpcf7 form input[type=submit]:hover
{
  opacity: 0.8;
}

.wpcf7 form input[type=submit]
{
  cursor: pointer;
  margin-top: 0;
  border: none;
}

.wpcf7 form > p:nth-child(3)
{
  text-align: center;
  position: relative;
}

.wpcf7 form > p:nth-child(3) .wpcf7-spinner
{
  position: absolute;
  right: 0;
  bottom: 7px;
  margin-right: 0;
}

.wpcf7-not-valid-tip
{
  margin-top: -10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px !important;
}

.wpcf7-response-output
{
  background-color: #A4CA94;
  border: none !important;
  padding: 10px !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: white;
  text-align: center;
  line-height: 1.4;
}

.wpcf7 form.invalid .wpcf7-response-output, 
.wpcf7 form.unaccepted .wpcf7-response-output, 
.wpcf7 form.payment-required .wpcf7-response-output
{
  background-color: #dc3232;
}


header > .container > a
{
  margin-top: 28px;
  font-size: 14px;
  float: right;
}

.homepage header > .container > a 
{
  background-color: white;
  color: #A4CA94;
  display: none;
}

div.n2-ss-layer-with-background
{
  padding: 20px !important;
}

div.n2-ss-layer-with-background > div > div.n2-ss-layer
{
  margin: 0 !important;
}

div.n2-ss-layer-with-background .n2-ss-item-content > div > p
{
  position: relative;
  padding-left: 40px;
  margin-bottom: 15px;
}

div.n2-ss-layer-with-background .n2-ss-item-content > div > p:last-child 
{
  margin-bottom: 0;
}

div.n2-ss-layer-with-background .n2-ss-item-content > div > p:before
{
  content: '\f3d6';
  font-family: 'Ionicons';
  display: block;
  background-color: #EEF3EC;
  width: 30px;
  height: 30px;
  border-radius: 50px;
  text-align: center;
  line-height: 30px;
  font-size: 23px;
  position: absolute;
  left: 0;
  top: 0;
}

.textwidget, 
.n2-section-smartslider
{
  opacity: 0;
  transform: translate3d(0,100px,0);
  -webkit-transform: translate3d(0,100px,0);
  -moz-transform: translate3d(0,100px,0);
  -ms-transform: translate3d(0,100px,0);
  -o-transform: translate3d(0,100px,0);
}

.nav_toggle 
{
  background: transparent;
  border: none;
  padding: 0;
  float: left;
  line-height: 90px;
  padding: 0 10px;
position: relative;
z-index: 999;
}

.nav_toggle > i 
{
  font-size: 33px;
  color: #A4CA94;
  cursor: pointer;
}

.homepage .nav_toggle > i 
{
  color: white;
}

*:focus 
{
  outline: none !important;
}

nav 
{
  position: fixed;
  top: 0;
  left: 0;
  background-color: #eef3ec;
  width: 100%;
  height: 100vh;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
}

@media only screen and (min-width: 600px) {
nav 
{
  transition: opacity 500ms;
  -webkit-transition: opacity 500ms;
  -moz-transition: opacity 500ms;
  -ms-transition: opacity 500ms;
  -o-transition: opacity 500ms;
}
}

nav.onscreen 
{
  visibility: visible;
  opacity: 1;
}

nav a 
{
  font-family: 'Montserrat';
  font-size: 300%;
  line-height: 1.3;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: #A4CA94;
  margin-bottom: 40px;
  display: inline-block;
  transition: all 300ms;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -ms-transition: all 300ms;
  -o-transition: all 300ms;
}

nav li:last-child a 
{
  margin-bottom: 0;
}

nav a:hover 
{
  opacity: 0.8;
  color: #A4CA94;
  text-decoration: none;
}

nav li 
{
  opacity: 0;
  transform: translate3d(0,100px,0);
  -webkit-transform: translate3d(0,100px,0);
  -moz-transform: translate3d(0,100px,0);
  -ms-transform: translate3d(0,100px,0);
  -o-transform: translate3d(0,100px,0);
}

@media only screen and (min-width: 600px) {

nav.onscreen li
{
  animation: fadein 1000ms forwards;
  -moz-animation: fadein 1000ms forwards;
  -webkit-animation: fadein 1000ms forwards;
  -o-animation: fadein 1000ms forwards;
}

nav.onscreen li:nth-child(1) {
  animation-delay: 500ms;
}

nav.onscreen li:nth-child(2) {
  animation-delay: 750ms;
}

nav.onscreen li:nth-child(3) {
  animation-delay: 1000ms;
}

nav.onscreen li:nth-child(4) {
  animation-delay: 1250ms;
}
}

@keyframes fadein {
  from {
      opacity:0;
  }
  to {
      opacity:1;
      transform: translate3d(0,0px,0);
      -webkit-transform: translate3d(0,0px,0);
      -moz-transform: translate3d(0,0px,0);
      -ms-transform: translate3d(0,0px,0);
      -o-transform: translate3d(0,0px,0);
}
}
@-moz-keyframes fadein { /* Firefox */
  from {
      opacity:0;
  }
  to {
      opacity:1;
  }
}
@-webkit-keyframes fadein { /* Safari and Chrome */
  from {
      opacity:0;
  }
  to {
      opacity:1;
  }
}
@-o-keyframes fadein { /* Opera */
  from {
      opacity:0;
  }
  to {
      opacity: 1;
  }
}

.close-nav 
{
  position: absolute;
  right: 50px;
  top: 20px;
  font-size: 80px;
  color: #A4CA94;
  cursor: pointer;
}

.wpcf7 form input[type=text],
.wpcf7 form input[type=email],
.wpcf7 form textarea
{
  padding: 10px;
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  border: 1px solid #A4CA94;
  margin-bottom: 15px;
}

.rij2_slider iframe 
{
  width: 100%;
  height: 350px;
}

div.n2-ss-layer-with-background div.n2-ss-text span
{
  color: rgba(161,161,161,1);
  font-weight: normal;
  font-size: 16px;
  display: inline-block;
}

@media only screen and (max-width: 900px) {
	header > .container 
    {
   		max-width: 100%;
    }
}

@media only screen and (max-width: 600px) {
	header > .container > a
    {
   		display: none;
    }

    .rij_icons ul
    {
    	grid-template-columns: 100%;
    }

  nav a
  {
      font-size: 25px;
      margin-bottom: 20px;
  }

nav li 
{
opacity: 1 !important;
transform: none !important;
animation: none !important;
}

.close-nav {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 60px;
    color: #A4CA94;
    cursor: pointer;
}

nav 
{
    align-items: flex-start;
    padding-top: 120px;
}
}