/* -------------------------------- 

Primary style

-------------------------------- */

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

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: "Roboto", sans-serif;
  color: #3d3536;
  background-color: white;
    width: 100%;s
}

a {
  color: rgba(44, 38, 39, 1);
  text-decoration: none;
}

.front-page-title {
    font-size: 220px;
}

/* -------------------------------- 

Alternate Fixed & Scroll Backgrounds - by CodyHouse.co

-------------------------------- */
.cd-main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
/* menu background
    background: rgba(255, 255, 255, 0.45);
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
*/    
    z-index: 3;
}

.cd-main-header:after {
  /* clearfix */
  content: "";
  display: table;
  clear: both;
}


/*-- CHANGE NAV BAR (MENU) AND ADD A CSS CLASS WHEN SCROLL */
.scrolled{
    background: rgba(255, 255, 255, 1);
        /*-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);*/
    transition: 0.3s;
} /*-- CHANGE NAV BAR (MENU) AND ADD A CSS CLASS WHEN SCROLL */

.cd-main-header__logo {
  float: left;
  margin: 13px;
}

.cd-main-header__logo img {
  height: 35px;
  margin: 7px 0 0 20px;
  display: block;
}

@media only screen and (min-width: 768px) {
  .cd-main-header {
    height: 70px;
  }
  .cd-main-header__logo img{
      margin: 13px 0 0 20px;
      height: 45px;
  }
}

/* NAV BAR (MENU) */
.cd-main-nav {
  float: right;
  margin-right: 5%;
  width: 44px;
  height: 100%;
  background: url("../img/cd-icon-menu.svg") no-repeat center center;
  background-size: 44px 44px;
  cursor: pointer;
}
.cd-main-nav__list {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-transform: translateY(-100%);
      -ms-transform: translateY(-100%);
          transform: translateY(-100%);
}
.cd-main-nav__list.cd-main-nav__list--is-visible {
  -webkit-transform: translateY(50px);
      -ms-transform: translateY(50px);
          transform: translateY(50px);
}
.cd-main-nav__list a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding-left: 5%;
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(44, 38, 39, .9);
  color: rgba(44, 38, 39, 1);
    text-shadow: #faaa29 0px 0px 15px;
}
@media only screen and (min-width: 1100px) {
  .cd-main-nav {
    /* reset style */
    width: auto;
    height: auto;
    background: none;
    cursor: auto;
  }
  .cd-main-nav__list {
    /* reset style */
    position: static;
    width: auto;
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
    line-height: 70px;
  }
  .cd-main-nav__list.cd-main-nav__list--is-visible {
    /* reset style */
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
  }
  .cd-main-nav__list li, .icons-center li {
    display: inline-block;
    margin-left: 1em;
  } 
  .cd-main-nav__list a {
    display: inline-block;
    height: auto;
    line-height: normal;
    background: transparent;
    padding: .6em 1em;
    border-top: none;
    color: rgb(181, 181, 181);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.4rem;
  }
    .color-m01 a {
        color: #898989;
    }
    .color-m02 a {
        color: #939393;
    }
    .color-m03 a {
        color: #6E675A;
    }
    
    .cd-main-nav__list a:hover {
        color: #cda402;
        /* background-color: #ffffff; */
        /* border-radius: 7px; */
    }
    
    /*  Drop down  */
    nav ul ul {
        display: none;
    }
    nav ul li:hover > ul {
        display: block;
        /* width: 200px; */
        /*margin-left: -1em;  Due to the main margin-left (1em) for all UL, LI nav elements we put value (-1em) to eliminate margin 
        only for drop down elements*/
        background-color: rgba(244,244,243, 0.8);
    }
    nav ul li:hover {
        background-color: rgba(244,244,243, 0.8);
    }
    nav ul ul li:hover {
        background-color: rgba(244,244,243, 0.1); /* This line put the backgound color wen mouse hover the LI only on droped down UL with opacity 0.1*/
    }
    nav ul ul {
        position: absolute;
    }
    .dropdown-adjustment {
        width: 170px;
        text-align: center;
    }
    .dropdown-margine li {
        margin: .47em;
    }   /*  Drop down  */
    
} /* NAV BAR (MENU) */

.cd-fixed-bg {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: 1;
}
.cd-fixed-bg-v2 {
    position: relative;
    padding: 4em 0;
    min-height: 100%;
    line-height: 1.6;
    background: url("../img/cd-background-10.jpg") no-repeat center center;
    max-height: 70vh;
    background-size: cover;
}

.cd-fixed-bg-v3 {
    position: relative;
    padding: 4em 0;
    height: 100%;
    line-height: 1.6;
    background-color: white;
    background-size: cover;
}

.cd-fixed-bg__content, .cd-fixed-bg h2, .icons-center {
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
      -ms-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
  width: 90%;
  max-width: 1170px;
  margin: 0 auto;
  text-align: center;
  font-size: 3rem;
}

.cd-fixed-bg__content-2 {
  position: absolute;
  left: 20%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
      -ms-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
  width: 90%;
  max-width: 1170px;
  margin: 0 auto;
  text-align: center;
  font-size: 3rem;
}

/* Nav */
/* This set position of all LI elements on one line in case of resolution less then 768px */
.icons-center li {
    display: inline-block;
    margin-left: .5em;
    margin-right: .5em;
}

.cd-fixed-bg h1, .cd-fixed-bg h2 {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  color: white;
}

/* Special Font Size - very large */
.font-large-s1, .font-large-s2 {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: rgba(54, 54, 54, 0.5);
  color: white;
}
.font-large-s1 {
  font-size: 60px;
}
.font-large-s2 {
  font-size: 180px;
}
.font-large-s3 {
    line-height: 77px;
    color: #FFFFFF;
    text-transform: uppercase;
    font-size: 54px;
}
.font-s4 {
    line-height: 57px;
    font-size: 40px;
    color: #FFFFFF;
    text-transform: uppercase;
}

@media only screen and (min-width: 768px) {
   .font-large-s1 {
        font-size: 70px;
  }
    .font-large-s2 {
        font-size: 200px;
  }
    .font-large-s3 {
        font-size: 74px;
        text-transform: uppercase;
        top: 40%;
        font-weight: 400;
    }
    .font-s4 {
        line-height: 87px;
        font-size: 74px;
        text-transform: uppercase;
        top: 40%;
        font-weight: 400;
    }
}
@media only screen and (min-width: 1170px) {
   .font-large-s1 {
        font-size: 100px;
  }
    .font-large-s2 {
        font-size: 300px;
  }
}

/* Special Font Size - very large */


@media screen and (min-width: 768px) {
    /* .cd-fixed-bg.cd-fixed-bg--1 {
      background-image: url("https://images.pexels.com/photos/1128797/pexels-photo-1128797.jpeg");
    } */
    .cd-fixed-bg.cd-fixed-bg--1-christmas {
      background-image: url("../img/cd-background-1-christmas.jpg");
    }

    .cd-fixed-bg.cd-fixed-bg--2 {
      background-image: url("../img/cd-background-2.jpg");
    }

    .cd-fixed-bg.cd-fixed-bg--3 {
      background-image: url("../img/cd-background-3.jpg");
    }

    /* .cd-fixed-bg.cd-fixed-bg--4 {
      background-image: url("../img/cd-background-1.3.02.jpg");
    } */
    .cd-fixed-bg.cd-fixed-bg--4-1 {
      background-image: url("../img/cd-background-10.jpg");
    }

    .cd-fixed-bg.cd-fixed-bg--5 {
      background-image: url("../img/cd-background-5.jpg");
    }
    .cd-fixed-bg.cd-fixed-bg--6 {
      background-image: url("../img/cd-background-6.jpg");
    }
    .cd-fixed-bg.cd-fixed-bg--7 {
      background-image: url("../img/cd-background-7.jpg");
    }
    .cd-fixed-bg.cd-fixed-bg--8 {
      background-image: url("../img/cd-background-8.jpg");
    }
    .cd-fixed-bg.cd-fixed-bg--9 {
      background-image: url("../img/cd-background-9.jpg");
    }
    .cd-fixed-bg.cd-fixed-bg--11 {
      background-image: url("../img/cd-background-11.jpg");
    }
    .cd-fixed-bg.cd-fixed-bg--12 {
      background-image: url("../img/cd-background-12.jpg");
    }
}

@media screen and (max-width: 767px) {
    /* .cd-fixed-bg.cd-fixed-bg--1 {
      background-image: url("https://images.pexels.com/photos/1128797/pexels-photo-1128797.jpeg");
    } */
    .cd-fixed-bg.cd-fixed-bg--1-christmas {
      background-image: url("../img/cd-background-1-christmas.jpg");
    }

    .cd-fixed-bg.cd-fixed-bg--2 {
      background-image: url("../img/cd-background-2-min.jpg");
    }

    .cd-fixed-bg.cd-fixed-bg--3 {
      background-image: url("../img/cd-background-3-min.jpg");
    }

    /* .cd-fixed-bg.cd-fixed-bg--4 {
      background-image: url("../img/cd-background-1.3.02.jpg");
    } */
    .cd-fixed-bg.cd-fixed-bg--4-1 {
      background-image: url("../img/cd-background-10.jpg");
    }

    .cd-fixed-bg.cd-fixed-bg--5 {
      background-image: url("../img/cd-background-5.jpg");
    }
    .cd-fixed-bg.cd-fixed-bg--6 {
      background-image: url("../img/cd-background-6.jpg");
    }
    .cd-fixed-bg.cd-fixed-bg--7 {
      background-image: url("../img/cd-background-7.jpg");
    }
    .cd-fixed-bg.cd-fixed-bg--8 {
      background-image: url("../img/cd-background-8.jpg");
    }
    .cd-fixed-bg.cd-fixed-bg--9 {
      background-image: url("../img/cd-background-9.jpg");
    }
    .cd-fixed-bg.cd-fixed-bg--11 {
      background-image: url("../img/cd-background-11.jpg");
    }
    .cd-fixed-bg.cd-fixed-bg--12 {
      background-image: url("../img/cd-background-12.jpg");
    }
}

@media only screen and (min-width: 768px) {
  .cd-fixed-bg h1, .cd-fixed-bg h2 {
    font-size: 3.6rem;
  }
}

@media only screen and (min-width: 1170px) {
  .cd-fixed-bg h1, .cd-fixed-bg h2 {
    font-size: 4.8rem;
    font-weight: 300;
  }

  @supports (background-attachment: fixed) {
    /* fix bug on IE11 and below */
    .cd-fixed-bg {
      background-attachment: fixed;
    }
  }
}

.cd-scrolling-bg {
  position: relative;
  min-height: 100%;
  padding: 4em 0;
  line-height: 1.6;
  -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
          box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.cd-scrolling-bg-2 {
  position: relative;
  height: 100%;
  -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
          box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.cd-scrolling-bg.cd-scrolling-bg--color-1 {
  background-color: #3d3536;
  color: #a6989a;
}
.cd-scrolling-bg {
  background-color: #3d3536;
}

/* Preaches Section*/
.cd-scrolling-bg--color-1-1 {
    color: #ffffff;
    text-align: center;
    text-shadow: 0px 2px 3px rgba(0,0,0,0.7),
                0px 8px 13px rgba(0,0,0,0.7),
                0px 18px 23px rgba(0,0,0,0.7);
}
.preaches-home-title {
    font-size: 45px;
    font-weight: bold;
    text-transform: uppercase;
}
.preaches-home-contain {
    padding: 8em 0;
    font-size: 2rem;
    line-height: 1.5;
    font-weight: 300;
}
@media only screen and (min-width: 768px) {
  .preaches-home-contain {
    font-size: 24px;
    font-weight: 400;
  }
}
.cd-scrolling-bg.cd-scrolling-bg--color-2 {
  background-color: #FFFFFF;
  color: #3d3536;
}

/* Christmas Tree - 1 */
.cd-scrolling-bg-2.cd-scrolling-bg--color-2-1 {
    background: url("../img/christmas/stars.png") 0 0 repeat-x;
  background-color: #FFFFFF;
  color: #3d3536;
}
.cd-scrolling-bg--color-2-1-1 {
    background: url("../img/christmas/christmas_tree-1.png") 0 100% no-repeat;
}
/* Christmas Tree - 2 */
.cd-scrolling-bg-2.cd-scrolling-bg--color-3-1 {
    background: url("../img/christmas/christmas_balls.png") 0 0 no-repeat;
    background-color: #3d3536;
    color: #a6989a;
}
.cd-scrolling-bg--color-3-1-1 {
    background: url("../img/christmas/christmas-tree-2.png") 100% 100% no-repeat;
}

.cd-scrolling-bg.cd-scrolling-bg--color-4-1 {
    background: url("../img/christmas/snow.jpg") repeat;
  background-color: #FFFFFF;
  color: #3d3536;
}

.cd-scrolling-bg.cd-scrolling-bg--color-3 {
  background-color: #b4d7a8;
  color: #3d3536;
}

.cd-scrolling-bg__content {
  width: 90%;
  max-width: 968px;
  margin: 0 auto;
    overflow: hidden;
}

@media only screen and (min-width: 768px) {
  .cd-scrolling-bg, .cd-fixed-bg-v2 {
    padding: 8em 0;
    font-size: 2rem;
    line-height: 2;
    font-weight: 300;
  }
}
@media only screen and (min-width: 768px) {
.cd-fixed-bg-v2 {
    /*text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;*/
  }
}

.cd-scrolling-bg__content div {
   padding: 10px;
}
/*  Index page  */
.one {
  float:none;
  width: 100%;
}
.one_1-1 {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width:250px;
}
.one_1-2 {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width:250px;
}
.one_1-3 img {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width:85%;
    }
.two { 
    overflow:hidden;
    width: 100%;
    margin:10px;
    min-height:170px;
    text-align: justify;
    background: url("../img/background-tekst.png") no-repeat center center;
    background-size: contain;
    z-index: -1;
}

@media screen and (min-width: 768px) {
   .one, .one_1-1, .one_1-2 { 
    float: left;
    margin-right:0;
    border:0;   
  }
    .one {
        margin-right:20px;
        width:42%;
    }
    .one_1-1, .one_1-2, .one_1-3 {
        width: auto;
    }
    .one_1-3 img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width:100%;
    }
    .two { 
        width: 55%;
        margin:10px;
        min-height:170px;
    }
} /*  Index page  */

/*  Outer & Inner boxes  */
.cp-contain-out {
    display: block;
    width: 100%;
}
.cp-contain-inner {
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    text-align: center;
    margin-bottom: 30px;
    }
.cp-contain-inner-s {
    margin-left: auto;
    margin-right: auto;
    width: 70px;
    text-align: center;
    margin-top: 10px;
}
.cp-contain-inner-w {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 30px;
    }
.cp-contain-inner-w img {
    display: block;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 15px;
}
.cp-contain-inner img, .cp-contain-inner-s img {
    display: block;
    width: 50px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 15px;
}

@media screen and (min-width: 768px){
    .cp-contain-inner {
        float: left;
        width: 33%;
        text-align: center;
        margin-bottom: 100px;
    }
    .cp-contain-inner-s {
        width: 33%;
        text-align: center;
    }
    .cp-contain-inner-w {
        float: left;
        width: 45%;
        text-align: center;
        margin: 20px;
    }
    .cp-contain-inner img, .cp-contain-inner-s img {
        display: block;
        width: 70px;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 30px;
    }
    .content {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
} /*  Outer & Inner boxes */

/*  YouTube Embed Video   */

.videoWrapper {
	position: relative;
    display: block;
    width: 100%;
    min-height: 250px;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
}
.videoWrapper iframe, .videoWrapper object, .videoWrapper embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
@media only screen and (min-width: 768px) {
    .videoWrapper {
        width: 100%;
        min-height: 300px;
    }
}
/*  YouTube Embed Video   */

.preach-box {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
@media only screen and (min-width: 768px) {
    .preach-box {
        margin-left: 90px;
    }
}

.title-text-preaches {
    font-size: 45px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0px 2px 3px rgba(0,0,0,0.7), 0px 8px 13px rgba(0,0,0,0.7), 0px 18px 23px rgba(0,0,0,0.7);
}

.title-text-preaches-2 {
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
    text-shadow: 0px 2px 3px rgba(0,0,0,0.7), 0px 8px 13px rgba(0,0,0,0.7), 0px 18px 23px rgba(0,0,0,0.7);
}


/* this point has function to apeir elements with fade in effect. This is only for connection with jquery */
.hide {
    margin-top: 50px;
    margin-bottom: 50px;
    opacity:0;
}
/* Button aligment */
.button-alignment {
    display: block;
    text-align: center;
    width: 100%;
}

.social-icon-style {
    font-size:32px;
    color: #ffffff;
}
.list-icon {
    font-size: 16px;
    color: #8E8E8E;
}
@media only screen and (min-width: 768px) {
    .list-icon {
        font-size: 22px;
    }
}

.div-front-page-50-out {
    display: block;
    text-align: center;
}
.div-front-page-50 {
    margin: 10px;
    margin-left: 10px;
    display: block;
    /*padding: 10px;*/
    float: left;
    /*width: 45%;*/
    text-align: center;
}
/*
.div-front-page-50-v2 {
    content: "";
    margin: 10px;
    display: block;
    padding: 10px;
    float: right;
    width: 600px;
    text-align: justify;
    background: url("../img/background-tekst.png") no-repeat center center;
    background-size: contain;
    z-index: -1;
}
*/
.div-contakt-buttons {
    height: 230px;
    width: 230px;
    background-color:#f9cc1a;
}

/* ------------------------------------ */
/*             Hover Effect             */
/* ------------------------------------ */

.grid {
    float: left;
	position: relative;
	margin: 5px;
	padding: 1em 0 2em;
	max-width: 150px;
	list-style: none;
	text-align: center;
}

/* Common style */
.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin-left: 10px;
	min-width: 150px;
	max-width: 150px;
	max-height: 150px;
	background: #ffffff;
	text-align: center;
	cursor: pointer;
}

.grid figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.8;
}

.grid figure figcaption {
	padding: 1em;
	color: #2b2a2a; /* color of the text which appears with mouse hover */
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	       backface-visibility: hidden;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 30px;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h2 {
	word-spacing: -0.15em;
	font-weight: 300;
}

.grid figure h2 span {
	font-weight: 800;
}

.grid figure h2,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 40%;
}

/*---------------*/
/***** Sadie *****/
/*---------------*/

figure.effect-sadie figcaption::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: -webkit-linear-gradient(top, rgba(72,76,97,0) 0%, rgba(72,76,97,0.1) 75%);
	background: linear-gradient(to bottom, rgba(72,76,97,0) 0%, rgba(72,76,97,0.1) 75%);
	content: '';
	opacity: 0;
	-webkit-transform: translate3d(0,50%,0);
	transform: translate3d(0,50%,0);
    border-radius: 27px;
}

figure.effect-sadie h2 {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	color: #484c61;
	-webkit-transition: -webkit-transform 0.35s, color 0.35s;
	transition: transform 0.35s, color 0.35s;
	-webkit-transform: translate3d(0,-50%,0);
	transform: translate3d(0,-50%,0);
}

figure.effect-sadie figcaption::before,
figure.effect-sadie p {
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

figure.effect-sadie p {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: .5em; /* distance from the border for the text which appears with mouse hover */
	width: 100%;
	opacity: 0;
	-webkit-transform: translate3d(0,10px,0);
	transform: translate3d(0,10px,0);
}

figure.effect-sadie:hover h2 {
	color: #fff;
	-webkit-transform: translate3d(0,-50%,0) translate3d(0,-40px,0);
	transform: translate3d(0,-50%,0) translate3d(0,-40px,0);
}

figure.effect-sadie:hover figcaption::before ,
figure.effect-sadie:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}
/* Hover effect */
