/*
Theme Name: Kruunupuisto 2021
Description: Kruunupuist simple teemasta jalostettu versio
Version: 1.0
Author: Digitaali Oy, antti@digitaali.fi
*/
body {
	font-family: 'Muli', Arial, sans-serif;
	font-weight: 400;
    font-size: 17px;
}
a {color: #92b333;}
a, .maddr { 
    text-decoration: none;
}
#main-navbar {
	position: static;
	width: 100%;
	top: 0;
	left:0;
	z-index: 1030;
	background-color: rgba(160,191,55,.95);
	transition: top 0.2s ease-in-out;

}
@media (min-width: 992px) {
	#main-navbar {
		position: static;
		background-color: transparent;
	}
}
.dg-close-form-wrapper {
    display: block;
    width: 30px;
    height: 30px;
    background: url('images/icon-arrow-down-white.svg') center/contain no-repeat;
}
body.home .dg-close-form-wrapper { display: none; }
.nav-up { top: -92px !important;}
#top-menu { color: #fff;}
#top-menu .wpdreams_asl_container { width: 250px; }
div.asl_w .probox .promagnifier .innericon svg { fill: #a4c047 !important; }
div.asl_m .probox .proclose svg { background: #a4c047 !important;  }
@media (min-width: 992px) {
	#top-menu {
		/* background-color: rgba(160,191,55,.9); */
        background-color: rgba(160,191,55);
	}
	.top-contant-info-box .texts {
		/* font-size: .9rem; */
		/* text-shadow: 1px 1px 1px rgba(99,98,98,1); */
	}
}
.dg-submenu {
    text-align: center;
    list-style-type: none;
    padding: 0;
    margin: 1rem 0 0 0;
    margin-top: -2rem;
}
.dg-submenu li {
    display: inline-block;
}
.dg-submenu li a {
    display: block;
    padding: 1rem;
    color: #000;
    font-weight: 700;
    font-size: 1.2rem;
}
@media (min-width: 992px) {
    #top-section { background-color: rgb(140 167 50); }
}    
#top-section a { color: #fff; }
#top-section .material-icons { font-size: 19px }
.navbar-brand img {
	width: 220px; 
	max-width: 100%;
}

@media (min-width: 400px) {
    .navbar-brand img { width: 250px; }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .site-header .navbar-brand img { width: 200px; }
}

/*
#dg-lang-selector { width: 100%; }
#dg-lang-selector a { text-decoration: none; font-size: 1rem; }
#dg-lang-selector a:hover { text-decoration: underline; }

@media (min-width: 992px) {
	#main-navbar { background: transparent; }
	#dg-lang-selector {
		width: 250px;
		height: 52px;
		padding-left: 4.5rem;
		padding-right: 2rem;
		background-image: url('images/top-nav-loota-2.png');
		background-size: 100%;
		background-repeat: no-repeat;
	}
}

*/


.color-white { color: #fff; }
.color-green { color: #a0bf38; }
.top {
	position: relative;
	height: 700px; /* height: 550px; */ 
	overflow: hidden;
	background-color: #E8E8E8;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}
body.home .top { height: 700px;}
.top.has-video { height: 700px; }

strong, .strong { font-weight: 700; }
.top .texts-wrapper {
	position: absolute;
	width: 100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	/* margin-top: 40px; */

	text-align: center;
	color: #fff;
}
/*
@media (min-width: 992px) {
	.top .texts-wrapper { 
        margin-top: 4rem;
    }
}
*/
body.single-dg_room .texts-wrapper { display: none; }
.nostobox { 
	height: 250px;
	background-size: cover;
    background-position: center;
	color: white;
}
@media (min-width: 992px) {
    .nostobox { height: 450px; }
    .dg-tiny-box-lg .nostobox { height: 350px; }
    .dg-tiny-box-lg .nostobox .caption-bordered {
        font-size: 1.5rem;
    }
}

@media (max-width: 991px) {
    body:not(.home) .top { display: none ;}
}    

.nostobox *,
.nostobox h2, 
.nostobox h3 {color: white; }
a .nostobox:hover .darken-layer { background: none; }
a.no-decoration, a.no-decoration:hover { text-decoration: none }
.gridbox {
	background: #fff;
}
a:hover { color: #d2d2d2; }

.gridbox a {
	color: #a0bf38;
	font-weight: 700;
	text-decoration: none;
}
.gridbox a:hover { text-decoration: none; }

.item.dg_conference_room .excerpt { display: none; }

.hover-cursor:hover { cursor: pointer;}

.verkkokauppa-palkki { 
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat;
    text-align: center;
}
.verkkokauppa-palkki .contents { 
    width: 600px;
    margin: auto;
    max-width: 100%;
}
.verkkokauppa-palkki .darken-layer {
    padding: 4rem 2rem;
}
.verkkokauppa-palkki .title,
.verkkokauppa-palkki .title a,
.verkkokauppa-palkki .content p { color: #fff; }

.verkkokauppa-palkki.bg-yellow .title,
.verkkokauppa-palkki.bg-yellow .title a,
.verkkokauppa-palkki.bg-yellow .content p,
.verkkokauppa-palkki.bg-yellow * {
    color: #000;    
}
.verkkokauppa-palkki.bg-yellow .title {
    display: inline-block;
    padding-right: 40px;
    background-image: url('images/shopping_cart_black_24dp.svg');
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: right;
}

.darken-layer { 
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+5,0.84+100 */
	background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0) 5%, rgba(0,0,0,0.84) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 5%,rgba(0,0,0,0.84) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 5%,rgba(0,0,0,0.84) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d6000000',GradientType=0 ); /* IE6-9 */
}
.darken-layer.blank {
    background: rgba(0,0,0,0.6);
}
.darken-layer.darker-gradient { 
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0.17+5,0.84+100 */
background: -moz-linear-gradient(top,  rgba(0,0,0,0.17) 0%, rgba(0,0,0,0.17) 5%, rgba(0,0,0,0.84) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(0,0,0,0.17) 0%,rgba(0,0,0,0.17) 5%,rgba(0,0,0,0.84) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(0,0,0,0.17) 0%,rgba(0,0,0,0.17) 5%,rgba(0,0,0,0.84) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2b000000', endColorstr='#d6000000',GradientType=0 ); /* IE6-9 */

}

.top-contant-info-box a,
.top-contant-info-box * { 
    color: #fff !important;
    font-size: .9rem;
}

.nostobox .caption-bordered::after,
 .verkkokauppa-palkki .caption-bordered::after {
	content: '';
	display: block;
	width: 120px;
	height: 3px;
	background: #fff; 
	margin: auto;
	margin-top: 1rem;
}

.bg-green { background: #a0bf38; }
.nostobox .caption-bordered { margin-bottom: 0;}

.no-hover-decoration {
    text-decoration: none !important;
}


#top-carousel, #top-carousel .carousel-inner, #top-carousel .carousel-item, #top-carousel .image { height: 100%; }
#top-carousel .image { background-size: cover;}

.carousel-indicators li {
	width: 15px;
	height: 15px;
	border-radius: 50%;
	margin-right: 4px;
	margin-left: 4px;
	background-color: #fff;
}
.carousel-indicators li.active { background-color: #909090;}
.cover {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top center;
}
.cover.center { background-position: center;}
.navbar-toggler { margin-left: auto; }
.navbar-toggler:focus .icon-bar,
.navbar-toggler:active .icon-bar {
	background-color: #e5b251;
}
.navbar-toggler .icon-bar {
	display: block;
	width: 2rem;
	height: 3px;
	margin: 5px 0;
	background-color: #fff;
}


h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	line-height: 1.2;
	margin-bottom: 1.5rem;
    /* word-break: break-word; */
}

h1, h2, h3, h4, .h1, .h2, .h3, .h4 { 
	color: #a0bf38;
	font-weight: 400;
	text-transform: uppercase;
}
h5, h6, .h5, .h6 { font-weight: 700;}

h1, .h1 { font-size: 4rem }
h2, .h2 { font-size: 3rem }
h3, .h3 { font-size: 2.2rem }
h4, .h4 { font-size: 1.8rem }
h5, .h5 { font-size: 1.4rem }
h6, .h6 { font-size: 1.1rem }

@media (max-width: 991px) {
	h1, .h1 { font-size: 2.5rem; }
	h2, .h2 { font-size: 2.2rem; }
	h3, .h3 { font-size: 1.8rem; }
	h4, .h4 { font-size: 1.4rem; }
	h5, .h5 { font-size: 1.2rem; }
	h6, .h6 { font-size: 1rem; }
}

@media (max-width: 395px){
    h1, .h1 { font-size:  1.6rem; }
    h2, .h2 { font-size: 1.4rem; }
    h3, .h3 { font-size: 1.2rem; }
    h4, .h4 { font-size: 1.1rem; }
}
.maddr { word-wrap: break-word;}



/*
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	line-height: 1.25;
	margin-bottom: 1.8rem;
}
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { 
	color: #a0bf38;
	font-weight: 500;
    letter-spacing: .05rem;
}

h5, h6, .h5, .h6 { font-weight: 700;}

h1, .h1 { 
    font-size: 3rem;
    font-weight: 400;
}
h2, .h2 { font-size: 2.2rem }
h3, .h3 { font-size: 1.8rem }
h4, .h4 { font-size: 1.5rem }
h5, .h5 { font-size: 1.2rem }
h6, .h6 { font-size: 1rem }


@media (max-width: 991px) {
	h1, .h1 { font-size: 2.3rem; }
	h2, .h2 { font-size: 2rem; }
	h3, .h3 { font-size: 1.6rem; }
	h4, .h4 { font-size: 1.3rem; }
	h5, .h5 { font-size: 1.1rem; }
	h6, .h6 { font-size: 1rem; }
}

*/
   

.caption-bordered::after {
	content: '';
	display: block;
	width: 150px;
	height: 4px;
	margin: 1.5rem auto 3rem; /* margin: 1.5rem auto 3rem; */
	background: #a0bf38;
}
h4.caption-bordered::after,
.h4.caption-bordered::after,
h5.caption-bordered::after,
.h5.caption-bordered::after{ 
    margin-top: .7rem;
}
h1.page-caption {
	text-transform: uppercase;
	text-align: center;
	color: #fff;
	text-shadow: 2px 0px 20px rgba(0, 0, 0, 1);
    /* word-wrap: break-word; */
}
h1.page-caption.bordered::after {
	content: '';
	display: block;
	width: 150px;
	height: 4px;
	margin: 1.5rem auto 0;
	background: #fff;
	box-shadow: 2px 0px 20px rgba(0, 0, 0, 1);
}
h1.page-caption small {
	display: block;
	font-size: 1.2rem;
	margin: 2rem auto;
	text-transform: none;
	max-width: 800px;
	line-height: 1.7rem;
}
.caption-bordered {
    text-transform: uppercase;
}
h2.caption-bordered { 
    max-width: 500px;
    margin: auto; 
    text-align: center;
}
@media (min-width: 992px) {
	h1.page-caption small {
		font-size: 1.5rem;
		line-height: 2rem;
	}
}

@media (max-width: 500px) {
    .nostobox .caption-bordered {
        font-size: 1rem !important
    }
}

@media (max-width: 359px) {
    .box-grid .col-6 {
        flex: none;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: auto;
    }
}


body:not(.error404):not(.blog):not(.single-post):not(.category):not(.archive) .dg-mobile-texts { display: none; }

@media (max-width: 991px) {
    .dg-mobile-texts h1.page-caption {
        text-shadow: none;
        color: #a0bf38;
        
    }
    .dg-mobile-texts h1.page-caption.bordered::after {
        box-shadow: none; 
        background: #a0bf37
    }
    
}

/* body.single-post h1.page-caption { font-size: 1.8rem; } */
ul.dg-filters {
    list-style-type: none;
}
ul.dg-filters, 
ul.dg-filters li {
    margin: 0;
    padding: 0;
}
ul.dg-filters { margin-bottom: 3rem;}
ul.dg-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
ul.dg-filters > li {
    padding: .3rem;
}
.dg-filter {
    display: inline-block;
    margin: .2rem;
    padding: .4rem 1.5rem;
    text-align: center;
    color: #9aba3e;
    background: transparent;
    border: 2px solid #9aba3e;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
}
.dg-filter:hover {
    text-decoration: none;
}
.dg-filter.active {
    background-color: #9aba3e; 
    color: #fff; 
}


a:hover, a:active {
	/* color: #000; */
	color: #d2d2d2;
	text-decoration: underline;
}
a.nav-link, a.dropdown-item { text-decoration: none; }
/* a, .main-color, .highlight, .brand-color { color: #000; } */

p { margin-bottom: 1.8rem }

.btn {
	padding: .3rem 2rem .4rem;
	text-align: center;
	color: #fff;
	border-radius: 0;
	background: #9aba3e;
	text-decoration: none;
	border-radius: 30px;
	font-weight: 700;
	cursor: pointer;
    white-space: normal;
}
.btn:hover, .btn:active {
	color: #fff;
	background: #e0e0e0;
}

.ff-btn {
    padding: .3rem 2rem .4rem !important;
	text-align: center !important;
	color: #fff !important;
	border-radius: 0 !important;
	background: #9aba3e !important;
	text-decoration: none !important;
	border-radius: 30px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
    text-transform: none !important;
}
.ff-stream { padding-bottom: 5rem !important; }

.btn-secondary {
	border: 0;
	background: #fff;
	color: #000;
}
.btn-white {
    background: #fff;
    color: #000; 
}
.btn-white:hover, .btn-white:active {
    background: #000;
    color: #fff;
}
body.home .box-grid-1 { padding-top: 2rem; }
.site-footer .btn { font-weight: 400; }
.main-menu .menu-item a { text-transform: uppercase;}

.main-menu .menu-item a.nav-link { 
	color: #fff;
	padding: .8rem;
}
.main-menu .menu-item a.nav-link:hover,
.main-menu .menu-item a.nav-link:active,
.main-menu .menu-item.current-page-ancestor a.nav-link,
.main-menu .menu-item.current_page_item a.nav-link {
	color: #536320;
}

.btn-huge {
    width: 100%;
}

@media (min-width: 992px) {
	.main-menu .menu-item a.nav-link:hover,
	.main-menu .menu-item a.nav-link:active,
	.main-menu .menu-item.current-page-ancestor a.nav-link,
	.main-menu .menu-item.current_page_item a.nav-link {
		color: #000;
		background-color: #f5f5f5;
    }
    
    html[lang="ru-RU"] .main-menu .menu-item a.nav-link:hover,
	html[lang="ru-RU"] .main-menu .menu-item a.nav-link:active,
	html[lang="ru-RU"] .main-menu .menu-item.current-page-ancestor a.nav-link,
	html[lang="ru-RU"] .main-menu .menu-item.current_page_item a.nav-link {
		color: #000;
		background-color: transparent;
        opacity: .5;
	}
}

@media (min-width: 992px) {
	.main-menu .menu-item a.nav-link {
        padding-left: .5rem;
		padding-right: .5rem;
        color: #000;
		font-size: .8rem;
	}
	#main-menu-wrapper {
		background-color: #fff;
	}
    
    html[lang="ru-RU"] .main-menu .menu-item a.nav-link { 
        width: 150px;
        max-width: 100%;
        padding-left: .3rem;
        padding-right: .3rem;
        font-size: .9rem;
        text-align: center;
        font-weight: 600;
        line-height: 1.3;
    }
    html[lang="ru-RU"] .main-menu {
        justify-content: space-around;
        align-items: center;
    }
}

@media (min-width: 1200px) { 
    .main-menu .menu-item a.nav-link {
        padding-left: .7rem;
		padding-right: .7rem;
	}
}

.top-logo-lg { 
    padding-top: .3rem;
    padding-bottom: .3rem;
}
@media (min-width: 1200px) {
    .main-menu .menu-item a.nav-link { font-size: 1rem; }
}

@media (min-width: 1250px) {
    html[lang="ru-RU"] .main-menu .menu-item a.nav-link { 
        width: 180px;
    }
}

ul.main-menu .dropdown-menu {
	border: 0;
	border-radius : 0;
}

button:focus { outline: 0;}
img { 
	max-width: 100%;
	height: auto;
}

.section-paddings { padding:4rem;}
.section-margins { margin:4rem;}

.pt-6, .py-6 { padding-top: 5rem;}
.pb-6, .py-6 { padding-bottom: 5rem;}

a[href^="mailto"],
a[href^="tel:"]{
	text-decoration: none;
    color: #000; 
}
a[href^="mailto"]:hover,
a[href^="tel:"]:hover, 
.maddr:hover { text-decoration: underline; }

ul.pagelist { line-height: 1.4rem; }
ul.pagelist, ul.pagelist .children { list-style-type: none;}
ul.pagelist .children { padding-left: 1.2rem;}
ul.pagelist .children a { font-size: .9rem;}
ul.pagelist { padding-left:0;}
ul.pagelist > li > a {
	display: block;
	margin-bottom: .6rem;
}
dl, ol, ul { margin-bottom: 1.5rem; }
ul.pagelist > li.current_page_item a { font-weight: 700; }
.section-subpages { padding-bottom: 0}
.lead {
    /*
	display: block;
	max-width: 700px;
	text-align: center;
	margin: 0 auto 2rem auto;
    font-weight: 700;
    font-size: 1.1rem;
    */
    display: block;
    max-width: 700px;
    margin: 0 auto 4rem auto;
    font-weight: 500; 
    text-align: center;
}
.content-thin {
	max-width: 800px;
	margin: auto;
}
.btn-square { border-radius: 0; }
/**
 * NAVI TOGGLER
 */
 @media(min-width: 992px) {
	#dg-navi-toggler { display: none }
}
#dg-navi-toggler { margin-left: auto;}
#dg-nav-icon {
  width: 35px;
  height: 30px;
	position: relative;
  margin: 10px auto 5px auto;

  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}
/* NAV ICON */
#dg-nav-icon span { background: #fff;}
#dg-nav-icon span { display: block; position: absolute; height: 4px; width: 100%;border-radius: 9px; opacity: 1; left: 0; -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); -o-transform: rotate(0deg);
  transform: rotate(0deg); -webkit-transition: .25s ease-in-out; -moz-transition: .25s ease-in-out; -o-transition: .25s ease-in-out; transition: .25s ease-in-out;
}
#dg-nav-icon span:nth-child(1) { top: 0px;}
#dg-nav-icon span:nth-child(2),#dg-nav-icon span:nth-child(3) { top: 10px; }
#dg-nav-icon span:nth-child(4) { top: 20px;}
#dg-nav-icon.open span:nth-child(1) { top: 18px; width: 0%; left: 50%; }
#dg-nav-icon.open span:nth-child(2) { -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg);}
#dg-nav-icon.open span:nth-child(3) { -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); }
#dg-nav-icon.open span:nth-child(4) { top: 18px; width: 0%; left: 50%; }

.no-gutters, 
.dg-box-grid {
  margin-right: 0;
  margin-left: 0;
}
.no-gutters > .col,
.no-gutters > [class*="col-"] {
	padding-right: 0;
	padding-left: 0;
}
.dg-box-grid > .col,
.dg-box-grid > [class*="col-"] {
	padding: .2rem;
}

.page-numbers { padding: .2rem .6rem;}
.page-numbers,
.page-numbers:hover {
	text-decoration: none;
}
.page-numbers:hover,
.page-numbers.current {
	background: #9aba3d;
	color: #fff;
}
.get-back-link { margin-bottom: 1rem; }
.thin-content {
	max-width: 800px;
	margin: auto;
}

#breadcrumbs {
    padding: 1rem 0;
    font-size: .9rem;
    border-bottom: 1px solid #000;
}
#breadcrumbs p { margin: 0; }
#breadcrumbs .breadcrumb_last { font-weight: 700; }
#breadcrumbs,
#breadcrumbs a { 
    text-decoration: none;
    color: #000; 
}
#breadcrumbs a:hover { text-decoration: underline; }

.dg-course-event { 
    margin-bottom: 2rem;
}
.dg-course-event > .row {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

@media (min-width: 992px) {
    .dg-course-event > .row {
        padding-top: .5rem;
        padding-bottom: .5rem;
    }
}

@media (max-width: 991px) {
    .dg-course-event > .row:not(:last-child) { 
        border-bottom: 1px solid #eee;
    }
}

.widget-title {
	font-size: 1rem;
	text-transform: uppercase;
}
.widget { margin-bottom: 3rem;}
.widget ul {
	list-style-type: none;
	padding-left: 0;
}
.widget_recent_entries > ul > li {
	margin-bottom: 1rem;
}

/**
 *	Big pagelist
 */
ul.pagelist-big {
	padding-left: 0;
}
@media (min-width: 992px) {
	ul.pagelist-big {
		padding-left: 40px;
	}
}
ul.pagelist-big,
ul.pagelist-big li {
	list-style-type: none;
}
ul.pagelist-big a {
	text-decoration: none;
	font-size: 1.2rem;
}
ul.pagelist-big > li > a {
	display: block;
	font-size: 1.6rem;
	margin-bottom: .5rem;
}
ul.pagelist-big > li { margin-bottom: 1rem;}
ul.pagelist-big ul.children {
	margin-left: 0;
	padding-left: 0;
}
ul.pagelist-big a:hover { text-decoration: underline; }
.no-margins { margin: 0; }
.post-date, .entry-date {
	font-size: .9rem;
	color: #777;
}

.aspect-ratio-box {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 65%;
}
.aspect-ratio-box-inside {
	position: absolute;
	top: 0;
  	left: 0;
  	width: 100%;
  	height: 100%;
}

/** NINJA FORMS */
.dg-consent .nf-field-element {
	width: auto !important;
}
.dg-consent .nf-field-description {
	width: 90% !important;
	margin-left: 1rem;
}
.site-footer a { color: #fff; }
.site-footer .btn-equalwidth {
	width: 250px;
	max-width: 100%;
}
html[lang="ru-RU"] .site-footer .btn-equalwidth {
    font-size: .9rem;
}

.some-icons { 
    display: flex;
    justify-content: center;
}

.some-icons a {
	display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    /*
    width: 34px;
    height: 34px;
    */
    padding: .2rem;
    
    font-size: 1.2rem;
	color: #fff !important;
    /* background-color: rgba(160,191,55,.9); */
    background-color: #8fab32;
    border-radius: 50%;
}
.some-icons a:hover,
.some-icons a:active {
    text-decoration: none;
}

#top-section { font-size: .9rem; }

@media (max-width: 991px) {
    #main-navbar .some-icons a {
        background-color: #8fab32;
    }
}    

.site-footer .some-icons a { background-color: #8fab32; }
.site-footer dl.times { color: #fff; }
.entry-title.bordered::after {
	content: '';
	display: block;
	width: 140px;
	height: 3px;
	margin: auto;
	margin-top: 1.5rem;
	background: #d2d2d2;
}
#featured-articles {
	/* margin-top: -3.5rem; */
	/* padding-top: 8rem; */
}
.bg-yellow { background-color: #ffed00 !important; }
.text-normal { text-transform: none; }
.top-search .search-bg {
	position: relative;
	width: 130px;
    height: 64px;
	background-image: url('images/search-loota.png');
}
.top-search .search-bg > i { 
	position: absolute;
	top: 6px;
	right: 20px;
	font-size: 2.5rem;
}
.top-search .search-bg > i:hover { opacity: .7; }
.top-search .search-input-wrapper {
	background: rgba(27,27,27,0.9);
	margin-right: -109px;
	padding-top: 18px;
    padding-left: 18px;
	padding-right: 120px;
}
.top-search .search-icon-over-input {
	position: absolute;
	z-index: 1;
	top: 10px;
	right: 5px;
	font-size: 1.8rem;
}
#top-search-icon:hover { cursor: pointer; }
.site-footer { background: #a0bf37; }
.bg-gray { background: #ececec; }
.site-info .gray-box { max-width: 372px; }
.site-info, .site-info a { color:  #141414;}
.site-info .bg-gray .material-icons { 
	color:  #a0bf38;
	font-size: 1.5rem;
	padding-top: .2rem;
	padding-right: .8rem;
}
.site-footer .logo { 
	width: 300px;
	max-width: 100%;
}
.fw-400 { font-weight: 400 !important }

section.alternating,
section.alternating div,
section	{	
	background: transparent;
	background-repeat: no-repeat;
	background-position: center; 
	background-size: cover;
}
section.alternating img {
	display: none; 
}

@media (min-width: 992px) {
	section.alternating .row:nth-child(even) .image-col { order: 2;}
	section.alternating .row:nth-child(even) .text-col { 
		order: 1;
		justify-content: flex-end;
	}
}

section.alternating .row > div {
	min-height: 300px;
}


.min-slick-height {
    min-height: 450px;    
}

@media (min-width: 992px) { 
    .min-slick-height {min-height: 535px;}
}
@media (min-width: 1200px) {
    .min-slick-height {min-height: 535px;}
}

.dg-reservation-form-terms {
    display: none;
    margin-top: 1rem;
    font-size: .9rem;
}

body.home .dg-reservation-form-terms > a { text-decoration: underline; }
body.home .dg-reservation-form-terms { display: block; }


/*
@media (min-width: 992px) {
	section.alternating:not('.dg-alternating-list') .row > div {
		min-height: 535px;
	}
}

@media (min-width: 1200px) {
	section.alternating:not('.dg-alternating-list') .row > div {
		min-height: 600px;
	}
}
*/

.font-small {font-size: .9rem; }
section.alternating.full-width-image .image-col,
section.alternating .row .row > div {
	min-height: auto;
}
.text-underline { text-decoration: underline; }
.color-white { color: #fff !important;}
.text-box {
	padding: 0 0 2rem 0; 
	margin: 25px;
	background: rgba(255, 255, 255, 0.73);	
	color: black;
}

@media (min-width: 992px) {
  .text-box {
	width: 75%;
	max-width: 700px;
	padding: 3rem;
	margin: 3rem;
  }
}

.widget-title { 
	color: #000;
	font-weight: 700;
}
.blog .site-main > .container > .row > [class*="col"] > article:first-of-type,
.archive .site-main > .container > .row > [class*="col"] > article:first-of-type,
body.page-template-template-page-ajankohtaista .article-list > article:first-of-type {
    padding-top: 0;
}
.article-list { margin-bottom: 3rem;}
.article-list article { border-bottom: 1px solid #ddd;}
.article-list article {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (min-width: 992px) {
    .article-list { 
        padding-right: 4rem;
        margin-bottom: 0;
    }
}    

.pagination { 
    display: block;
    margin-top: 2rem;
}
.dg-pricing-table-extra-info {  }




.dg-bounce {
  -moz-animation: bounce 2s 3;
  -webkit-animation: bounce 2s 3;
  animation: bounce 2s 3;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-15px);
  }
}

.dg-arrow {
    position: absolute;
    z-index: 3;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
}
.dg-arrow:hover {
    opacity: .5;
    cursor: pointer;
}
.dg-arrow-down {
    width: 45px;
    height: 45px;
}





	#dg-video-playbutton {
		position: absolute;
		z-index: 2;
		bottom: 5px;
		left: 5px;
		background-color: transparent;
		width: 35px;
		height: 35px;
		opacity: .5;
	}
	#dg-video-playbutton svg { fill: #fff; }
	#dg-video-playbutton:hover,
	#dg-video-playbutton:active{
		cursor: pointer;
		opacity: 1;
	}
	#dg-poster {
		position: absolute;
		z-index: 1;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		width: 100%;
		height: 100%;
		background-size: cover;
		background-position: top center;

		filter: blur(.5rem);
		-webkit-filter:blur(.5rem);
	}
	.top video, .top source {
		width: 100%;
		height: 100%;
	}
	.top video {
		object-fit: cover;
		font-family: 'object-fit: cover;';
	}

	#dg-video-preloader {
        position: absolute;
        width: 100%;
        z-index: 2;
        bottom: 10%;
        left: 0;
        width: 100%;
        text-align: center;
	}

    #dg-video-preloader-spinner {
        margin: 85px auto;
        font-size: 10px;
        text-indent: -9999em;
        border-top: 1.0em solid rgba(255, 255, 255, 0.2);
        border-right: 1.0em solid rgba(255, 255, 255, 0.2);
        border-bottom: 1.0em solid rgba(255, 255, 255, 0.2);
        border-left: 1.0em solid #ffffff;

        -webkit-transform: translateZ(0);
        -ms-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-animation: load8 1.1s infinite linear;
        animation: load8 1.1s infinite linear;
    }

	#dg-video-preloader-spinner,
	#dg-video-preloader-spinner:after {
		border-radius: 50%;
		width: 4em;
		height: 4em;
	}

	@media (min-width: 1200px) {
		#dg-video-preloader-spinner,
	    #dg-video-preloader-spinner:after {
			margin: 60px auto;
			width: 6em;
			height: 6em;
		}
	}


	@-webkit-keyframes load8 {
		0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
		}
		100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
		}
	}
	@keyframes load8 {
		0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
		}
		100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
		}
	}

html[lang="ru-RU"] .nostobox h3 {
    font-size: 1.5rem;
}

body.single-dg_room .top,
body.single-dg_offer .top{ background-position: center; }

.dg-room-info a {
    color: #000;
    text-decoration: none; 
}
.dg-room-info a:hover {
    text-decoration: underline;
}
.dg-offer-info {
    padding: 2rem 2rem .5rem 2rem;
    background: #f7f6f6;     
}
.dg-offer-info dl.dg-key-value-list dt,
.dg-offer-info dl.dg-key-value-list dd {
    margin-bottom: 1.2rem;
}
.dg-pricing {
    margin-bottom: 2rem;
}

@media (max-width: 991px) {
    .dg-fullwidth-nostobox {
        width: 500px;
        max-width: 100%;
        margin: auto;
    }
}    
.dg-pricing .dg-price, 
.dg-fullwidth-nostobox .dg-price {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}
.dg-fullwidth-nostobox .dg-price { font-size: 1.5rem;}
.dg-pricing .dg-price-description,
.dg-fullwidth-nostobox .dg-price-description {
    display: block;
    font-size: .9rem;
    font-style: italic;
    margin-top: -.2rem;
}
.dg-fullwidth-nostobox .dg-price-description { padding-bottom: .3rem;}

.dg-article-list > div, 
.dg-article-list > article { padding-bottom: 2rem; }
.dg-article-list > article:not(:first-child),
.dg-article-list > div:not(:first-child) { 
    padding-top: 2rem;
}
.dg-article-list > article:not(:last-child),
.dg-article-list > div:not(:last-child){
    border-bottom: 1px solid #eee; 
}
.dg-text-normal { text-transform: none !important; }
a.dg-box {
    display: flex;
    width: auto;
    min-height: 200px;
    padding: 2rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.4;
    background-color: #a1c139;
    text-decoration: none;
    word-break: break-word;
}
a.dg-box:hover {
    text-decoration: underline; 
    color: #fff;   
}
a.dg-box.bg-yellow { color: #000; }
.scale-shrink { transition: all .2s ease-in-out; }
.scale-shrink:hover { transform: scale(.95); }
.list-article { 
    padding: 1.3rem 0;
    border-bottom: 1px solid #000;
}
.list-article-caption > a {
    font-weight: 700;
    color: #000;
}
.dg-list-table td, 
.dg-list-table th {
    vertical-align: middle;
    border: 0;
    padding: 1.1rem;
    padding-left: 0;
}
.dg-list-table tr {
    border-bottom: 1px solid #000;
}
@media (max-width: 991px) {
    .dg-list-table tr,
    .dg-list-table td, 
    .dg-list-table th {
        display: block;
    }
    .dg-list-table tr {
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
    }
    .dg-list-table .no-content {
        padding: 0; 
    }
}
.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: load7 1.8s infinite ease-in-out;
  animation: load7 1.8s infinite ease-in-out;
}
.loader {
  color: #9aba3e;
  font-size: 10px;
  margin: 80px auto;
  position: relative;
  text-indent: -9999em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.loader:before,
.loader:after {
  content: '';
  position: absolute;
  top: 0;
}
.loader:before {
  left: -3.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loader:after {
  left: 3.5em;
}
@-webkit-keyframes load7 {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
    box-shadow: 0 2.5em 0 0;
  }
}
@keyframes load7 {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
    box-shadow: 0 2.5em 0 0;
  }
}

.word-break-word {
    word-break: break-word;
}
#testimonials { background-color: #f3f3f3; }
.testimonial {
    /* max-width: 450px; */
}
.testimonial-alias { 
    margin-top: 1rem;
    font-weight: 700;
}
.digitaali-article-slider-alias { font-weight: 700; }
.testimonials > .testimonial { padding-bottom: 3rem; }
.testimonials > .testimonial:not(:first-child) { padding-top: 3rem;}
.testimonials > .testimonial:not(:last-child) { border-bottom: 1px solid #000; }

.col-minheight {
    min-height: 400px; 
}
.text-normal-case { text-transform: none !important; }
.dg-reserve-room-form-wrapper {
    background: #a0bf38;
}
.dg-reserve-room-form-wrapper, 
.dg-reserve-room-form-wrapper .title { color: #fff; }
.dg-reserve-room-horizontal-form { padding: .5rem 0 .8rem 0;}
.dg-reserve-room-horizontal-form .item { max-width: 50%; }
.dg-reserve-room-horizontal-form .item:last-child {
    align-self: flex-end;
}

.dg-reserve-room-horizontal-form .item { padding: .2rem; }
.dg-reserve-room-horizontal-form .item { 
    width: 50%;
    max-width: 50%;
}
.dg-reserve-room-horizontal-form .item:first-child,
.dg-reserve-room-horizontal-form .item:last-child{ 
    width: 100%; 
    max-width: 100%;
}
.dg-reserve-room-horizontal-form .title { margin-bottom: 0; }
body.home .dg-reserve-room-horizontal-form .dg-reservation-form-terms > a { color: #fff; }
.dg-reserve-room-horizontal-form .dg-reservation-form-terms.upper { display: none; }

@media (min-width: 992px) {
    .dg-reserve-room-horizontal-form .dg-reserve-room-form-wrapper .title,
    .dg-reserve-room-horizontal-form label, 
    .dg-reserve-room-horizontal-form .form-group { margin-bottom: 0; }
    .dg-reserve-room-horizontal-form .item:first-child,
    .dg-reserve-room-horizontal-form .item:last-child,
    .dg-reserve-room-horizontal-form .item { 
        width: 20%;
        max-width: 20%;
    }
    

}

@media (min-width: 1200px) {
    body.home .dg-reserve-room-horizontal-form .dg-reservation-form-terms.upper { display: block; }
    body.home .dg-reserve-room-horizontal-form .dg-reservation-form-terms.bottom { display: none; }
    body.home .dg-reserve-room-horizontal-form .item {
        width: 22%;
        max-width: 22%;
    }
    body.home .dg-reserve-room-horizontal-form .item:first-child { 
        width: 34%;
        max-width: 34%;
    }
    body.home .dg-reserve-room-horizontal-form input[type="submit"] {
        height: 2.75rem;
    }
    
}
.dg-reserve-room-horizontal-form .dg-reserve-room-form-wrapper form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.form-control.hasDatepicker { border: 0 !important; }

body.home .dg-reserve-room-horizontal-form { padding: 1.5rem; }


@media (max-width: 991px) {
    .dg-reserve-room-horizontal-form .item.firstrow { 
        width: 100%;
        max-width: 100%; 
    }
}


.dg-video-embed {
	position: relative;
  	padding-bottom: 56.25%; /* 16:9 */
  	height: 0;
}
.dg-video-embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}



.person {
	margin-bottom: 1.5rem;
}
.hide { display: none; }




body.search article {
margin-top: 2rem;
margin-bottom: 2rem;
}


.cli-tab-header a.cli-nav-link {
text-transform: none !important;
}

.dg-table .row-caption {
    border-top: 10px solid transparent;
}
