/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans', sans-serif;
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v27-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/open-sans-v27-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v27-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v27-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v27-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v27-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}

.video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.centered-img {
    width: 100%; /* Make sure the image takes full width */
    max-height: 660px; /* Limit the maximum height as needed */
    object-fit: cover; /* This ensures the image covers the container */
    object-position: center; /* This centers the image within the container */
}

.bg-dark {
    background-color: #dbcfc1 !important;
    color:#F2EDE9;
}

.bg-light {
    background-color: #e5dacd !important;
}

.text-white {
    color:#F2EDE9!important;
}

.text-gray {
    color:#ccc;
}

section {
    padding:3rem 0;
}

@media (min-width:768px) {
    section {
        padding:5rem 0;
    }
    
    .d-md-flex {
        display: -webkit-box !important;      /* OLD - iOS 6-, Safari 3.1-6 */
        display: -moz-box !important;         /* OLD - Firefox 19- (buggy but mostly works) */
        display: -ms-flexbox !important;      /* TWEENER - IE 10 */
        display: -webkit-flex !important;     /* NEW - Chrome */
        display: flex !important; 
    }
}

@media (min-width:1024px) {
    section {
        padding:7rem 0;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        max-width: 400px;
    }
    .footer {
        text-align: center;
    }

}

@media (min-width: 576px) {
    .gallery-grid {
        max-width: 540px;
    }
    .logo {
    position: relative;
    top: 0px; 
    font-size:80px; 
    }
}

@media (min-width: 768px) {
    .gallery-grid {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .gallery-grid {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .gallery-grid {
        max-width: 1140px;
    }
}


@media (min-width:768px) {

    footer {
        padding:4rem 0;
    }
}

/* TYPOGRAPHY */ 

body {
    /* font-family: 'Open Sans', sans-serif; */
	font-family: "Grandiflora One", cursive;
    /*
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	*/
    background-color: #F2EDE9;
    /*background:#268574;*/
    font-size:1.1rem;
    line-height:1.45;
    color:#000000;
	font-weight:normal;
}

.logo { 
  /* font-family: "Arizonia", cursive; */
  font-family: "Grandiflora One", cursive;
  letter-spacing: 0em;
}

a {
    color:#484848;
}
a:hover, .btn-link:hover {
    color: #7e766a;
    text-decoration: underline;
}

.footer p {
    color:#555 !important
}

.footer a {
    color:#555 !important
}
.footer a:hover {
    color:#555;
    text-decoration: underline;
}

.somelinkki:hover {
    background:rgba(0,0,0,.05);
    transition: all 0.5s ease;
}

.et_pb_blurb_description {
    font-size: 0.85em;
    line-height: 1.2;
    letter-spacing: -0.015em;
  }
  

p {
    margin-bottom: 1.3em;
    font-size: 1.2em; 
	font-weight: normal;
    letter-spacing: -0.015em;
	color: #000000;
}

h1 {
  font-family: "Grandiflora One", cursive;
  margin: 1.414em 0 0.5em;
  font-weight: normal;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color:#222;
  /* color:#268574; */
}

h2, h3, h4 {
  font-family: "Grandiflora One", cursive;
  margin: 1.414em 0 0.5em;
  font-weight: normal;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color:#222;
  /* color:#268574; */
}

  h1 {
    margin-top: 0;
    font-size: 1.557em;
    line-height: 1;
    /* font-family: 'Open Sans', sans-serif; */
  }
  
  h2 {
    font-size: 1.369em;
    /* font-family: 'Open Sans', sans-serif; */
  }
  
  h3 {
    font-size: 1.377em;
    /* font-family: 'Open Sans', sans-serif; */
  }
  
  h4 {
    font-size: 1.2em;
    /* font-family: 'Open Sans', sans-serif; */
  }

@media (min-width:768px) {

  h1 {
    margin-top: 0;
    font-size: 2.957em;
    line-height: 1;
    /* font-family: 'Open Sans', sans-serif; */
  }
  
  h2 {
    font-size: 1.569em;
    /* font-family: 'Open Sans', sans-serif; */
  }
  
  h3 {
    font-size: 1.377em;
    /* font-family: 'Open Sans', sans-serif; */
  }
  
  h4 {
    font-size: 1.2em;
    /* font-family: 'Open Sans', sans-serif; */
  }
  
  small, .font_small {
  font-size: 0.75em;    
  }
}

/*
    FORM
*/

.btn {
    font-weight: bold;
}

.btn-primary.green {
    background:#1D7868;
    transition: all 0.35s ease-in;
    border:1px solid transparent;
}
.btn-primary.green:hover {
    color:#F2EDE9;
    background:#268574;
    border:1px solid rgba(255,255,255,.2);
}

.btn-primary.brown {
    background-color: #ba9486 !important;
    transition: all 0.35s ease-in;
    border:1px solid transparent; 
}

.btn-primary.brown:hover {
    background:#444;
    background-color: #ba9486 !important;
    border:1px solid #C2946B;
}

.btn-primary.red {
    background:#dc143c;
    transition: all 0.35s ease-in;
    border:1px solid transparent;
}

.btn-primary.red:hover {
    background:#b22222;
    color:#fff;
    border:1px solid transparent;
}



label, .btn-primary {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom:0.25rem;
}

.btn-primary {
    padding: .75rem 1.75rem;
    position:relative;
    font-family: inherit;
}

.btn-outline-primary {
    padding: .5rem 1.25rem;
    border: 1px solid #1D7868;
}

.btn-link {
    color:#1D7868;
}

.btn-sm {
    font-size: 0.5em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn-outline-light {
    font-family: inherit;
}

.btn .material-icons {
    position: absolute;
    top:.75rem;
    right:4px;
    font-size:18px;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: .05rem solid #fff;
}

/*
 * Custom translucent site header
 */

.logo {
    opacity:1;
    max-width:80px;
    font-size:100px; 
}

.logo2 {
    max-width:80px;
    opacity:1;
}

.scrolled .logo, .scrolled .logo2 {
    max-width:60px;
    opacity:1;
}

#header {
    transition: top 0.2s ease-in-out;
}

.nav-up {
    top: -180px;
}

header a {
    color:#F2EDE9;
    /* font-family: 'Open Sans', sans-serif; */
	font-family: "Grandiflora One", cursive;
    border-bottom: 1px solid transparent;
	font-weight: bold;
    text-decoration: none;
    transition: all 0.5s ease-in-out;
}

nav a:hover {
  border-bottom: 1px solid #F2EDE9;
  text-decoration: none;
    color:#F2EDE9;
}

nav .active a {
  border-bottom: 1px solid #F2EDE9;
  text-decoration: none;
    color:#F2EDE9;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
	color: #000;
	font-weight: bold;
    /* color: #212529 !important; */
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
        border-bottom-color: #2bb8c2;
        border-bottom-style: none;
        border-bottom-width: 0px;
        font-size: 0.97em; 
}

.nav-link {
	color: #495057;
	background-color: #f6f6f6;
	border: 1px solid #ddd !important;
	border-top-left-radius: .25rem;
	border-top-right-radius: .25rem;
	display: block;
}

#header {
    width:100%;
    display:block;
    padding: 0;
    transition: all 0.5s ease-in-out;
    font-size:1.05em;
    background: linear-gradient(to bottom, rgba(198, 126, 62, 0.5) 0px,rgba(0,0,0,0.1) 100px)
} 

@media (min-width: 768px) {
    #header {
        padding: 0.5rem;
    }
}

.header-wrapper[data-emergence=hidden] header {
    padding-top: inherit;
    padding-bottom: inherit;
}

section[data-emergence=hidden], div[data-emergence=hidden] {
    opacity: 0;
    transition: opacity 1.5s ease;
}

section[data-emergence=visible], div[data-emergence=visible] {
    opacity: 1;
}

.scrolled #header {
    padding: 0.5rem;
    font-size: 1.2em;
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
}

.navbar-toggler {
    padding: .25rem;
    border-radius:0;
    position: absolute;
    top:0;
    right:0;
    z-index:9999;
}

@media (max-width: 768px) {

    #header {
        background: transparent;
    }
    
    .logo {
        opacity:1;
        max-width:80px;
        font-size:80px; 
    }
    .logo_addon {
        width:50px; 
    }

    .scrolled #header {
        padding: 0;
    }

    .navbar-collapse {
        position: absolute;
        top:0;
        left:0;
        width:100%;
      	background: #ba9486;
        padding-bottom:15px;
    }

    .navbar-collapse a {
        color: #fff;
    }
    .navbar-collapse a:hover {
        color: #fff;
    }
    
    .navbar-collapse .active a {
        color: #fff;
    }
   
    .nav-item {
    padding-top: .5rem!important;
    padding-bottom: .5rem!important;
    }
}

.dropdown-item.active, .dropdown-item:active {
	color: #212529;
	text-decoration: none;
	background-color: #F2EDE9;
}   

/* logo without underline */
.navbar-nav .navbar-brand:hover, .navbar-nav .navbar-brand:active {
border-bottom: 1px solid transparent;
} 

/*
 * Extra utilities
 */

.border-top { border-top: 1px solid #e5e5e5; }
.border-bottom { border-bottom: 1px solid #e5e5e5; }

.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }

.flex-equal > * {
  -ms-flex: 1;
  -webkit-box-flex: 1;
  flex: 1;
}
@media (min-width: 768px) {
  .flex-md-equal > * {
    -ms-flex: 1;
    -webkit-box-flex: 1;
    flex: 1;
  }
}

.overflow-hidden { overflow: hidden; }

/*==========================================================*/
/* Tileview
/*==========================================================*/

.tileview-block{
	margin-top: .5rem;
	margin-bottom: .5rem;
	margin-left: auto;
	margin-right: auto;
	max-width: var(--width-l);
}


.tileview {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	max-width: calc(var(--width-l) + 2 * var(--spacing-m));
	padding-left: var(--spacing-m);
	padding-right: var(--spacing-m);
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	padding-top: .5rem;
	padding-bottom: .5rem;
	z-index: 1;
	padding-left: 0;
	padding-right: 0;
}


.tileview-media {
	-ms-grid-row-align: stretch;
	align-self: stretch;
	margin: 0;
	padding: 0;
	position: relative;
	display: flex;
	align-items: stretch;
	justify-content: stretch;
	width: 100%;
}

@media (min-width: 720px) {
  .tileview-media {
  	width: 50%;
  	flex-shrink: 0;
  }
}

@media (max-width: 720px) {
  .first {
    order: 1;
  }
  .second {
    order: 2;
  }
}

.tileview-media img {
	display: block;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	width: 100%;
}

.tileview-content {
	max-width: calc(var(--width-l) + 2 * var(--spacing-m));
	padding-left: var(--spacing-m);
	padding-right: var(--spacing-m);
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	z-index: 1;
	display: flex;
	padding: 2rem var(--spacing-m) 0;
  word-break: break-word;
  text-align: center;
}

@media (min-width: 1400px) {
  .tileview-content {
  	padding-left: 3.5rem;
  	padding-right: 3.5rem;
  }
}

@media (min-width: 1200px) {
  .tileview-content {
  	padding-top: 2.5rem;
  	padding-bottom: 2.5rem;
  }
}

@media (min-width: 720px) {
  .tileview-content {
  	justify-content: center;
  	padding-left: 2.5rem;
  	padding-right: 2.5rem;
  	padding-bottom: 2rem;
  	width: 50%;
  }
}

.tileview-text {
  max-width: 100%;
  width:100%;
  word-break: break-word;
  text-align: center;
  padding-top: .5rem;
  padding-bottom: .5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.tileview-image {
	width: 100%;
	line-height: 0;
}

/*==========================================================*/
/* block-background
/*==========================================================*/

.background-block {
  overflow: hidden;
  max-width: none;
}

@media (min-width: 720px) {
  .background-container {
    min-height: 31.25rem;
  }
}

media (min-width: 560px) {
  .background-block {
    margin-top: 3rem;
    margin-bottom: 3rem;
  }
}

.background-container {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.background-image {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  overflow: hidden;
}

.background-image img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.background-dimming {
  background: var(--color-black);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.background-content {
  position: relative;
  max-width: calc(var(--width-l) + 2 * var(--spacing-m));
  padding-left: var(--spacing-m);
  padding-right: var(--spacing-m);
  margin-left: auto;
  margin-right: auto;
  max-width: 60%;
}

@media (min-width: 720px) {
  .background-content > p {
    max-width: calc(var(--width-content-l-narrow) + 2 * var(--spacing-m));
  }
}




/*==========================================================*/
/* Slick Carousel
/*==========================================================*/

.slick-slider {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.slick-list {
  position: relative;
  display: block;
  overflow-x: hidden;
  margin: 0;
  padding: 0 0 0px;
}

.slick-track:before, .slick-track:after {
  display: table;
  content: '';
}

.slick-slide {
  position: relative;
  float: left;
  height: 100%;
  min-height: 1px;
}

.feature-blurb-slider .slick-arrow, .feature-blurb-slider .slick-arrow:hover, .feature-blurb-slider .slick-arrow:focus {
position: absolute;
font-size: 0;
line-height: 0;
padding: 0;
color: transparent;
outline: none;
background: transparent;
border: none;
cursor: pointer;
top: 50%;
transform: translateY(-50%);
z-index: 100;
height: 50px;
vertical-align: middle;
border-radius: 50%;
width: 50px;
}

.feature-blurb-slider .slick-prev { left: -50px; }

.feature-blurb-slider .slick-next { right: -50px; }

.feature-blurb-slider .slick-arrow:before {
position: relative;
background: transparent;
opacity: 1;
font-size: 46px;
vertical-align: middle;
color: #888;
text-align: center;
top: -5px;
}

.feature-blurb-slider .slick-arrow:hover:before { opacity: 0.8; }

.feature-blurb-slider .slick-prev:before { content: '\2039'; }

.feature-blurb-slider .slick-next:before { content: '\203A'; } 

.et_pb_blurb_1.et_pb_blurb, .et_pb_blurb_6.et_pb_blurb, .et_pb_blurb_0.et_pb_blurb, .et_pb_blurb_2.et_pb_blurb, .et_pb_blurb_3.et_pb_blurb, .et_pb_blurb_4.et_pb_blurb, .et_pb_blurb_5.et_pb_blurb, .et_pb_blurb_7.et_pb_blurb {
	line-height: 1.8em;
	background-color: #ffffff;
	border-radius: 10px 10px 10px 10px;
	overflow: hidden;
	padding-top: 30px !important;
	padding-right: 20px !important;
	padding-bottom: 20px !important;
	padding-left: 20px !important;
	margin-top: 50px !important;
	margin-right: 25px !important;
	margin-bottom: 20px !important;
	margin-left: 25px !important;
}

ul.slick-dots {
  position: absolute;
  bottom: -20px;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 auto;
  list-style: none;
  text-align: center;
}

.slick-dots li {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
}

.slick-dots li button {
	font-size: 0;
	line-height: 0;
	display: block;
	width: 10px;
	height: 10px;
	padding: 0;
	cursor: pointer;
	color: transparent;
	border: 0;
	outline: none;
	background-color: #ddd;
  border-radius: 10px;

}

.slick-dots li.slick-active button { background-color: #888; }

@media(max-width: 980px) {
	.feature-blurb-slider .slick-prev { left: -32px; }
	.feature-blurb-slider .slick-next { right: -30px; }
}

@media(max-width: 499px) {
	.feature-blurb-slider .slick-prev { left: -14px; }
	.feature-blurb-slider .slick-next { right: -14px; }
}


/*==========================================================*/
/* Slider
/*==========================================================*/


.carousel-indicators {
    bottom: 0px;
}

.carousel-indicators .active {
    background-color: #2980b9;
}

.carousel-control.left,
.carousel-control.right {
	opacity: 1;
	filter: alpha(opacity=100);
	background-image: none;
	background-repeat: no-repeat;
	text-shadow: none;
	position: absolute;
	top: 45%;
	z-index: 5;
	display: inline-block;
}

.carousel-control.left {
	left: 0px;
}

.carousel-control.right {
	right: 0px;
}

/* Carousel Header Styles */
.header-text {
    position: absolute;
    top: 20%;
    width: 96.66666666666666%;  
}
  
.header-text h1 {
    font-size: 44px;
    color: #fff;
    margin-bottom:20px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

.header-text p  {
  font-size: 18px;
	color: #fff;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.5); 
}


.carousel-indicators-thumbs {
position: absolute;
left:0px;
bottom: 0px;
width:100%;
padding: 0px;
text-align: center;
list-style: none;
z-index: 15;
}

.carousel-indicators-thumbs li {
display: inline-block;
border: 1px solid #ddd;
max-width: 80px;
margin:2px;
}

.carousel-indicators-thumbs li:hover {
display: inline-block;
opacity: 0.5;
}



#bs-gdpr-cookies-modal-advanced-types  li {
list-style-type: none;
}



/*==================================================
=            CKEditor                             =
==================================================*/
.cke_button__source_label {
    display: none !important;
}

.cke_editable {
    background: #fff !important;
}

.cke_editable p {
	font-family: "Grandiflora One", cursive;
    font-size: 1em;
}

.cke_editable a {
    text-decoration: none;
}

.cke_editable h1, .cke_editable h2 {
    margin: 0em 0 0.5em;
    font-weight: inherit;
    line-height: 1.2;
    font-family: "Grandiflora One", cursive;
    letter-spacing: -0.03em;
    color: #000;
}


 .cke_editable h3, .cke_editable h4 {
    margin: 1.414em 0 0.5em;
    font-weight: inherit;
    line-height: 1.2;
    font-family: "Grandiflora One", cursive;
    letter-spacing: -0.03em;
    color: #000;
}


/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/

/* Large desktops and laptops */
@media (min-width: 1200px) {

  .toplink {
    text-shadow: 1px 1px 2px #000000, 0 0 25px #000000, 0 0 5px black;
  } 

}

/* Landscape tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {

  .toplink {
    text-shadow: 1px 1px 2px #000000, 0 0 25px #000000, 0 0 5px black;
  }   
  
    
}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
    .toplink {
    text-shadow: 1px 1px 2px #000000, 0 0 25px #000000, 0 0 5px black;
  }
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {

  .toplink {
    text-shadow: 1px 1px 2px #000000, 0 0 25px #000000, 0 0 5px black;
  }
}

/* Portrait phones and smaller */
@media (max-width: 480px) {
    
  .nav-item  {
      padding-bottom: .5rem !important;
      padding-top: .5rem !important;
  }
   
}


