/*
Theme Name: Digitaali 2024
Author: Digitaali Oy
*/

.font-obvia,
.font-obvia-book,
.font-obvia-bold,
.font-obvia-medium {
	font-family: obvia, sans-serif;
	font-weight: 400;
	font-style: normal;
}
.font-obvia-book { font-weight: 400 !important;}
.font-obvia,
.font-obvia-medium { font-weight: 600 !important;}
.font-obvia-bold { font-weight: 800 !important;}



body, html {
	font-size: 17px;
 	color: #3F3E3E;
	line-height: 1.5;
	font-family: 'Roboto', sans-serif; 
}

#main-navbar {
	position: static;
	width: 100%;
	top: 0;
	left:0;
	z-index: 1030;
	background-color: rgba(255,255,255, .5);
	transition: top 0.2s ease-in-out;
	font-weight: 400;

}
@media (min-width: 992px) {
	#main-navbar {
		position: static;
	}
}

.nav-up { top: -92px !important;}
#top-menu {
	color: #fff;
}
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav.top-menu a.nav-link { 
        display: inline-block;
        padding-left: .1rem;
        padding-right: .1rem;
    }
    .top-menu li + li:before {
        content: " | ";
        margin-left: 4px;
    }
}
@media (min-width: 1200px) {
	.container { max-width: 1300px;}
}
strong, .strong, b { font-weight: 700; }
strong, .strong { font-weight: 700 !important }
.color-white { color: white !important; }
.color-black { color: #3F3E3E !important; }
.color-orange { color: #DF9B1B; }
.aligncenter {
    display: block;
    float: none;
    margin: auto;
}
.top {
	position: relative;
	overflow: hidden;
	background-color: #E8E8E8;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

@media (min-width: 992px) {
	.top .btn {
		padding: .8rem 3rem;
		font-size: 1.3rem;
	}
}

.article-list-item {
	display: flex;
	flex-wrap: nowrap;
	margin-bottom: 20px;
	font-size: .9rem;
	justify-content: flex-start;
	align-items: flex-start;
	font-family: obvia, sans-serif;
}
.article-list-item .article-list-item__thumbnail_wrapper {
	position: relative;
	flex-basis: 40%;
}
.article-list-item .article-list-item__thumbnail {
	position: relative;
	overflow: hidden;
    width: 100%;
    padding-bottom: 65%;
}
.article-list-item .article-list-item__thumbnail img {
	position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-list-item .article-list-item__content {
	flex-basis: 60%;
	padding-left: 1rem;
}
.article-list-item .article-list-item__excerpt {
	margin-bottom: 2px;
	line-height: 1.3;
}
.article-list-item .article-list-item__title {
	margin: 0 0 5px 0;
	font-size: 1rem;
	line-height: 1.2;
}
.article-list-item .article-list-item__link {
	font-weight: bold;
	text-decoration: none;
	color: #000;
}
.article-list-item .article-list-item__link:hover,
.article-list-item .article-list-item__link:active {
	text-decoration: underline;
}

.bordered-title {
    display: flex;
    align-items: center;
    justify-content: center;
	font-size: 1.4rem;
}

.bordered-title::before,
.bordered-title::after {
	content: '';
	border-top: 2px solid black;
	margin: 0 20px;
	flex-grow: 1;
}

.bordered-title::before {
margin-left: 0;
}

.bordered-title::after {
margin-right: 0;
}


body.dg-hide-top .top, 
body.single-dg_recipe .top { display: none; }
body.dg-hide-top .site-content { margin-top: 3rem;} 

/* .top .bg { background: rgba(0,0,0, .2)} */
.top .bg {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* .top, .top .bg, #dg-video-container { min-height: 100vw; } */
.top.has-carousel {
	height: 500px;
}





@media (min-width: 768px) {
	.top, .top .bg, #dg-video-container { min-height: 46vh; }
}

.top .texts-wrapper {
	/*
	position: absolute;
	width: 100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	margin-top: 20px;
	*/

	text-align: center;
	color: #fff;
}
/* .single .top { display: none; } */
/* body.single-dg_affiliate .top { display: block; } */

.top.has-carousel .bg,
.top.has-video .bg {
	display: block;
}
.top.has-carousel .texts-wrapper,
.top.has-video .texts-wrapper {
	position: absolute;
	width: 800px;
	max-width: 95%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
}

.hover-cursor:hover { cursor: pointer;}
.hover-opacity {
  -webkit-transition: .2s ease-in-out;
  -moz-transition: .2s ease-in-out;
  -o-transition: .2s ease-in-out;
  transition: .2s ease-in-out;
}
.hover-opacity:hover { opacity: .5;}
.hover-scale { transition: all .2s ease-in-out;}
.hover-scale:hover { transform: scale(.96); }
#top-carousel, #top-carousel .carousel-inner, #top-carousel .carousel-item, #top-carousel .image { height: 100%; }
#top-carousel .image { 
	background-size: cover;
	background-position: center;
}

.carousel-indicators li {
	width: 15px;
	height: 15px;
	border-radius: 50%;
	margin-right: 4px;
	margin-left: 4px;
	background-color: #fff;
	opacity: 1;
}
.carousel-indicators li.active { background-color: #DF9B1B;}
.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;
}
.site-header .navbar-brand img {
	width: 100px;
	height: 100px;
	max-width: 100%;
}
@media (min-width: 992px) {
	.site-header .navbar-brand img {
		width: 120px;
		height: 120px;
	}
}



h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: obvia, sans-serif;
	line-height: 1.3;
	margin-top: .5rem;
	margin-bottom: 2rem;
	font-weight: bold;
	color: #000;
	hyphens: auto;
}

@media (min-width: 400px) {
	h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { 
		hyphens: none;
	}
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, .h1 a, .h2 a, .h3 a, .h4 a, .h5 a, .h6 a {
	color: #000;
	text-decoration: none;
}

h1, .h1 { font-size: 2.2rem }
h2, .h2 { font-size: 1.8rem }
h3, .h3 { font-size: 1.6rem }
h4, .h4 { font-size: 1.4rem }
h5, .h5 { font-size: 1.2rem }
h6, .h6 { font-size: 1rem }
h5, .h5, 
h6, .h6 { font-weight: 500; }

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

.big-title {
	font-size: 2.2rem;
	line-height: 1;
}

@media (max-width: 575px) {
	.container.mobile-fullwidth {
		padding-left: 0;
		padding-right: 0;
	}
}

@media (min-width: 500px) {
	.big-title {
		font-size: 2.7rem;
	}
}

/*
@media (max-width: 991px) {
	h1, .h1 { font-size: 2.8rem; }
	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; }
}
*/

h1.page-caption {
	text-align: center;
	color: #fff;
	text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
}

.top h1.page-caption {
	font-size: 2rem;
}
@media (min-width: 992px) {
	.top h1.page-caption {
		font-size: 3.5rem;
	}
}

h1.page-caption small {
	display: block;
	font-size: 1.2rem;
	margin: .5rem auto;
	text-transform: none;
	max-width: 800px;
	line-height: 1.7rem;
}
@media (min-width: 992px) {
	h1.page-caption small {
		font-size: 1.5rem;
		line-height: 2rem;
	}
}

body.single .page-caption { text-transform: none; }

a { text-decoration: underline }
a:hover, a:active {
	color: #000;
	text-decoration: underline;
}
a.nav-link, a.dropdown-item { text-decoration: none; }
a, .main-color, .highlight, .brand-color { color: #DF9B1B; }
p { margin-bottom: 1.8rem }
.no-hover-decoration:hover { text-decoration: none !important; }

.btn, input[type="submit"] {
	padding: .4rem 2rem;
	text-align: center;
	color: white;
	background: #000;
	border-radius: 3px;
	border: 3px solid #000;
	text-decoration: none;
	
	font-family: obiva, sans-serif;
	font-weight: 600;
}

.btn:hover, .btn:active {
	color: #fff;
	background: #3b3b3b;
}

.btn-white {
	background: #fff;
	color: #000;
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
	color: #3b3b3b;
	background-color: #ffffff;
	border-color: black;
}

.btn-primary.focus, .btn-primary:focus, .btn-primary:hover{
	background-color: #000;
	outline: 0;
	box-shadow: 0 0 0 0.2rem rgba(0,0,0,.5);
	border-color: #000;
}
.show>.btn-primary.dropdown-toggle:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-primary.dropdown-toggle:focus {
	box-shadow: 0 0 0 0.2rem rgba(0,0,0,.5);
}
.btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-primary.dropdown-toggle:focus {
	box-shadow: 0;
}
.btn-secondary {
	color: #fff;
	background-color: #DF9B1C;
	border-color: #DF9B1C;
}


.ninja-forms-field.btn {
	padding: .6rem 2.5rem !important;
	text-align: center !important;
	color: white !important;
	background: #000 !important;
	border-radius: 3px !important;
	border: 3px solid #000 !important;
	text-decoration: none !important;
	font-family: obiva, sans-serif !important;
	font-weight: 600 !important;
}
.ninja-forms-field.btn:hover, .ninja-forms-field.btn:active {
	color: #fff !important;
	background: #3b3b3b !important;
}

#main-navbar {
	font-family: obvia, sans-serif;
}
.btn-white:hover, .btn-white:active {
	background: #000;
	color: #fff;
}

.main-menu .menu-item a.nav-link {
	color: #3F3E3E;
	font-weight: 700;
	font-size: 1.1rem;
}
.menu-item a.nav-link:hover,
.menu-item a.nav-link:active,
.menu-item.current-page-ancestor a.nav-link,
.menu-item.current_page_item a.nav-link {
	color: #DF9B1B;
}

@media (min-width: 992px) {
	.main-menu .menu-item a.nav-link {
		padding: 1rem;
	}

	.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 {

	}
}

ul.main-menu .dropdown-menu {
	border: 0;
	border-radius : 0;
    padding: 1rem 0;
}
ul.main-menu .dropdown-menu:focus,
ul.main-menu .dropdown-menu:hover {
	background-color: #fff;
}
ul.main-menu .dropdown-item:focus,
ul.main-menu .dropdown-item:active,
ul.main-menu .dropdown-item:hover {
	color: #DF9B1B;
	background-color: transparent;
}
.main-menu .dropdown-toggle::after {
    display: inline-block;
    width: .8rem !important;
    height: .8rem !important;
    margin-top: .4rem;
    background: url('images/icon-arrow-down.svg') center/contain no-repeat;
    border: none;
}
a.nav-link { color: #3F3E3E;}
a.nav-link:hover,
a.nav-link:active {
	color: #DF9B1B;
}

/**
 * Navwalker
 */
@media (min-width: 992px) {
	ul.main-menu > li:hover > ul { display:block; }
}
ul.main-menu > li > ul ul.dropdown-menu { display:block; }
ul.main-menu > li > ul ul.dropdown-menu { position: relative !important; margin-left: 1rem; }
ul.main-menu > li > ul .separate-dropdown-toggle { display: none; }
ul.main-menu .dropdown-menu {
	border: 0;
	border-radius : 0;
	margin-top: 0;
	overflow-y: visible;
}
@media (min-width: 992px) {
	ul.main-menu li.menu-item-has-children {
		position: relative;
		padding-right: 1rem;
	}
}
ul.main-menu .separate-dropdown-toggle {
	position: absolute;
	right: 0;
	top: 0;
}
ul.main-menu a.nav-link.separate-dropdown-toggle {
	padding-left: 0;
	padding-right: 0;
	width: 2rem;
	text-align: center;
  background: transparent !important;
}

button:focus { outline: 0;}
img, figure {
	max-width: 100%;
	height: auto;
}
.no-decoration { text-decoration: none;}
.hover-decoration:hover { text-decoration: underline;}
.section-paddings { padding:4rem;}
.section-margins { margin:4rem;}
.py-6 {
	padding-top: 4rem;
	padding-bottom: 4rem;
}
.my-6 {
	margin-top: 4rem;
	margin-bottom: 4rem;
}
.section-bottommargin { margin-bottom: 4rem;}
.section-bottompadding { padding-bottom: 4rem;}

article.article-list-nosto {
	border-bottom: 1px solid #ddd;
	max-width: 850px;
	padding-top: 2rem;
	padding-bottom: 2rem;
}
.articles-list article.article-list-nosto:first-child {
	padding-top: 0;
}

a[href^="mailto"],
a[href^="tel:"]{
	text-decoration: none;
}
ul.pagelist { 
	margin-bottom: 4rem;
	font-family: obvia, sans-serif;
}
ul.pagelist a { text-decoration: none; }
ul.pagelist a: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: .8rem;
	font-weight: 500;
	color: #3F3E3E;
}
ul.pagelist li.current_page_item a { text-decoration: underline; }
.section-subpages { padding-bottom: 0}
.lead {
	display: block;
	max-width: 700px;
	text-align: center;
	margin: 0 auto 2rem auto;
	font-family: obvia, sans-serif;
	font-weight: 400;
}
.content-thin {
	max-width: 800px;
	margin: auto;
}

/**
 * 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: #000;}
#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 {
  margin-right: 0;
  margin-left: 0;
}
.no-gutters > .col,
.no-gutters > [class*="col-"] {
	padding-right: 0;
	padding-left: 0;
}
.page-numbers { padding: .2rem .6rem;}
.page-numbers,
.page-numbers:hover {
	text-decoration: none;
}
.page-numbers:hover,
.page-numbers.current {
	background: #000;
	color: #fff;
}
.get-back-link { margin-bottom: 1rem; }
.thin-content {
	max-width: 800px;
	margin: auto;
}
#breadcrumbs { font-family: obvia, sans-serif; }
#breadcrumbs * { 
    color: #3F3E3E;
}
#breadcrumbs {
	padding: 1rem 0;
    margin-bottom: 0;
    font-size: 1rem;
}
#breadcrumbs .breadcrumb_last {
    font-weight: 600;
    color: #000;
    text-decoration: none;
}
.digitaali-breadcrumbs {
    /* background-color: #292929;  */
    
}
.digitaali-breadcrumbs,
.digitaali-breadcrumbs a {
    text-decoration: none;
}
.widget-title {
	font-size: 1rem;
	text-transform: uppercase;
}
.widget { margin-bottom: 3rem;}
.widget_recent_entries > ul > li {
	margin-bottom: 1rem;
}
.widget_recent_entries ul,
.widget_archive ul,
.widget_categories ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.widget_recent_entries > ul,
.widget_archive > ul,
.widget_categories > ul {
	margin: 0 0 3rem 1rem;
    padding: 0;
}
.widget_recent_entries > ul > li,
.widget_archive > ul > li,
.widget_categories > ul > li {
	margin-bottom: 1rem;
}
.widget_recent_entries .post-date {
    display: block;
}

/**
 *	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 {
	color: #3F3E3E;
}

.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;
}
.some-icons a {
	font-size: 1.4rem;
	color: #fff;
}
.menu-item-has-children.dropdown.nav-item:hover > .dropdown-menu { display: block !important;}
.max-80 {
	max-width: 80%;
	margin: auto;
}
figcaption.wp-caption-text {
    padding: .5rem 1rem;
    background: #eee;
    font-size: .9rem;
    font-style: italic;
    color: #3D3D3D;
}
.dg-some-icon {
	display: block;
	width: 30px;
	height: 30px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}
.dg-some-icon.facebook { background-image: url('images/icon-facebook.svg')}
.dg-some-icon.linkedin { background-image: url('images/icon-linkedin.svg')}
.dg-some-icon.instagram { background-image: url('images/icon-instagram.svg')}
.dg-some-icon.twitter { background-image: url('images/icon-twitter.svg')}
.dg-some-icon.youtube { background-image: url('images/icon-youtube.svg')}
.dg-some-icon.pinterest { background-image: url('images/icon-pinterest.svg')}

.skip-to-content-link {
    position: absolute;
    left: -99999px;
}
.skip-to-content-link:focus,
.skip-to-content-link:active {
    position: static;
}
.hidden {
	position:absolute;
	left:0;
	top:-500px;
	width:1px;
	height:1px;
	overflow:hidden;
}

#nostoboxes {
	position: relative;
}
.dg-nosto-box.dg_recipe .contents,
.dg-nosto-box.dg_recipe .contents > * {
	width: 100%;
}
.dg-recipe-header-box {
	text-align: center;
	border: 1px solid #707070; 
}

.dg-recipe-card-footer-box > .dg-data-box-wrapper:not(:last-child) {
	border-bottom: 1px solid #707070;
}
.dg-recipe-card-footer-box > .dg-data-box-wrapper { 
	padding-top: .5rem;
	padding-bottom: .5rem;
}
.dg-recipe-card-footer-box { 
	justify-content: center;
	text-align: center;
}

.dg-recipe-header-box, 
.dg-recipe-card-footer-box { 
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

.dg-recipe-header-box > .dg-data-box-wrapper:not(:last-child) {
	border-right: 1px solid #707070;
}
@media (max-width: 500px) {
	.dg-recipe-header-box > .dg-data-box-wrapper:nth-child(odd) {flex-basis: 35%;}
	.dg-recipe-header-box > .dg-data-box-wrapper:nth-child(even) {flex-basis: 65%;}
	.dg-recipe-header-box > .dg-data-box-wrapper:not(:last-child) {
		border-right: 0;
	}
}
	
.dg-recipe-card-footer-box > .dg-data-box-wrapper:nth-child(1) > div,
.dg-recipe-card-footer-box > .dg-data-box-wrapper:nth-child(3) > div {
	border-right: 1px solid #707070;
}
.dg-recipe-card-footer-box .dg-data-box-wrapper { border-bottom: 0; }
.dg-recipe-card-footer-box > .dg-data-box-wrapper:nth-child(3) { border-bottom: none; }
.dg-recipe-card-footer-box > .dg-data-box-wrapper:nth-child(4) { border-bottom: none }

.dg-recipe-card-footer-box > .dg-data-box-wrapper {
	flex-basis: 50%;
}

.dg-recipe-card-footer-box.overlay-box {
	background-color: #fff;
	margin: 2rem;
	
}

.dg-recipe-header-box > .dg-data-box-wrapper {
	padding: .5rem;
	flex-grow: 1;
}

.dg-recipe-header-box .title,
.dg-recipe-header-box .value, 
.dg-recipe-card-footer-box .title,
.dg-recipe-card-footer-box .value  { 
	display: block;
	width: 100%;
	font-family: obvia, sans-serif;
	font-size: .9rem;
}
.dg-recipe-header-box .value,
.dg-recipe-card-footer-box .value {
	color: #DF9B1B; 
	font-weight: 700;
}
.dg-recipe-header-box .value { font-size: 1.1rem;}
.dg-recipe-card-footer-box .value { font-size: 1.2rem;}
.dg-recipe-overlay-boxes .dg-recipe-card-footer-box .value { font-size: 1.1rem;}
@media (min-width: 360px) {
	.dg-recipe-header-box .title,
	.dg-recipe-card-footer-box .title {
		font-size: 1rem;
	}
	.dg-recipe-header-box .value { font-size: 1.2rem;}
	.dg-recipe-card-footer-box .value { font-size: 1.4rem;}
	.dg-recipe-overlay-boxes .dg-recipe-card-footer-box .value { font-size: 1.2rem;}
}
@media (min-width: 600px) {
	.dg-recipe-header-box .value { font-size: 1.4rem;}
}

.dg-recipe-header-box.dg-recipe-header-list-box {
	border: 0;
}

a[rel="tag"] {
	padding: 0 .5rem .5rem 0;
}
.dg-sidebar-list a[rel="tag"] { padding: 0; }


.dg-plain-list dd,
.dg-plain-list dt {
	font-weight: 400;
}
.dg-kategoriat .dg-plain-list a {
	color: #3E3F3F;
	text-decoration: none;
}
.dg-kategoriat .dg-plain-list a:hover,
.dg-kategoriat .dg-plain-list a:active {
	text-decoration: underline;
}
.dg-plain-list .title { 
	padding-bottom: .5rem;
	font-size: 1.1rem;
}
.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%;
}
.dg-nosto-box {
	background: #fff; 
	-webkit-box-shadow: 0px 2px 4px 1px rgba(0,0,0,0.12);
	-moz-box-shadow: 0px 2px 4px 1px rgba(0,0,0,0.12);
	box-shadow: 0px 2px 4px 1px rgba(0,0,0,0.12);
}
.dg-nosto-box figure { margin: 0 }
.dg-nosto-box .dg-nostobox-image { 
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.dg-nosto-box h2, .dg-nosto-box .h2, 
.dg-nosto-box h3, .dg-nosto-box .h3,
.dg-nosto-box h4, .dg-nosto-box .h4,
.dg-nosto-box h5, .dg-nosto-box .h5,
.dg-nosto-box h6, .dg-nosto-box .h6 {
	font-weight: 300;
}
.dg-nosto-box h4, .dg-nosto-box .h4,
.dg-nosto-box h5, .dg-nosto-box .h5,
.dg-nosto-box h6, .dg-nosto-box .h6 {
	font-weight: 600;
}
.dg-nosto-box h2, .dg-nosto-box .h2 { font-size: 1.6rem;}
.dg-nosto-box h3, .dg-nosto-box .h3 { font-size: 1.4rem;}
.dg-nosto-box h4, .dg-nosto-box .h4 { font-size: 1.2rem;}
.dg-nosto-box h5, .dg-nosto-box .h5 { font-size: 1.1rem;}
.dg-nosto-box h6, .dg-nosto-box .h6 { font-size: 1rem;}

.dg-nosto-box.dg-padded {
	padding: 3rem;
}
.dg-nosto-box.dg-list-box:hover,
.dg-nosto-box.dg-list-box:active {
	-webkit-box-shadow: 0px 2px 4px 1px rgba(0,0,0,0.5);
	-moz-box-shadow: 0px 2px 4px 1px rgba(0,0,0,0.5);
	box-shadow: 0px 2px 4px 1px rgba(0,0,0,0.5);
	cursor: pointer;
} 
.dg-nosto-box.dg-list-box a {
	display: block;
	color: #3F3E3E;
	text-decoration: none;
}
.dg-nosto-box.dg-list-box .dg-nostobox__title { 
	font-weight: 500;
}
.dg-nosto-box.dg-list-box .contents {
	padding: 1rem;
	/*
	display: -webkit-box;
  	-webkit-line-clamp: 3;
  	-webkit-box-orient: vertical;  
  	overflow: hidden;
	*/
}
@media (min-width: 360px) {
	.dg-nosto-box.dg-list-box .contents {
		padding: 1.5rem;
	}
}


.dg-no-tags .dg-nosto-box .dg-tags-container { display: none }
.dg-no-content .dg-nosto-box .dg-nostobox__content { display: none }
.dg-nosto-box .dg-tags-container {
	position: absolute;
	z-index: 1;
	top: -1rem;
	left: 1.5rem;
}
.dg-nosto-box .dg-sub-tags-container {
	position: absolute;
	z-index: 2;
	top: auto;
	bottom: .8rem;
	left: .8rem;
}
.dg-nosto-box .dg-tag,
.article-list-item .dg-tag {
	display: inline-block;
	padding: .3rem 1rem;
	border: 2px solid #DF9B1B;
	color: #3F3E3E;
	background: #fff;

	font-family: obvia, sans-serif;
	font-size: .9rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 2px;
}
.dg-nosto-box .dg-tag:hover,
.dg-nosto-box .dg-tag:active {
	background: #3F3E3E;
	color: #fff;
}
.article-list-item .dg-tag {
	position: absolute;
	top: -10px;
	left: 10px;
	z-index: 1;
	line-height: 1.2;
	font-size: .6rem;
	text-decoration: none;
	letter-spacing: 1.2px;
    padding: .2rem .4rem;
}
.dg-nosto-box figure .embed-responsive::before{
	padding-top: 65%;
}
.dg-big-boxes .dg-nosto-box figure .embed-responsive::before {
	padding-top: 60%;
}
.dg-sub-tags-container .dg-tag {
	border: 0;
	font-size: .8rem;
	font-weight: 600;
}
.dg-list-box-row { 
    margin-left: -0.7rem;
    margin-right: -0.7rem;
}
.dg-list-box-row > [class*="col-"] {
	padding: .7rem;
	margin-bottom: .7rem;
}
.dg-list-box-row.dg-big-boxes > [class*="col-"] { 
    padding: .8rem;
    margin-bottom: 0;
}
.articles-list .dg-list-box-row > [class*="col-"] {
    margin-bottom: 1rem;    
}
.search-results .dg-list-box-row > [class*="col-"] {
    margin-bottom: 2rem;    
}

.dg-notags .dg-tags-container { display: none; }
.dg-uutiset .dg-cat-link,
.dg-tuoteuutuudet .dg-cat-link { display: none; }
body.home .dg-uutiset .dg-cat-link { display: block; }
body.home .dg-tuoteuutuudet .dg-cat-link { display: block; }

.dg-list-box-row.dg-small-boxes { 
    margin-left: -0.3rem;
    margin-right: -0.3rem;
}
.dg-list-box-row.dg-small-boxes > [class*="col-"] {
	padding: .3rem;
	margin-bottom: .15rem;
}
.dg-list-box-row.dg-medium-grid-spacings > [class*="col-"] { 
	padding: .5rem;
	margin-bottom: .25rem;
}
.dg-list-box-row.dg-plain-boxes > [class*="col-"] {
	padding: .7rem;
	margin-bottom: 1.4rem;
}
.dg-list-box-row.dg-small-boxes .dg-nosto-box figure .embed-responsive::before { padding-top: 60%;}
.dg-list-box-row.dg-plain-boxes .dg-nosto-box figure .embed-responsive::before { padding-top: 65%;}

.dg-small-boxes .dg-nosto-box.dg-list-box .contents { padding: 1rem;}
.dg-small-boxes .dg-nosto-box.dg-list-box .dg-nostobox__title,
.dg-plain-boxes .dg-nosto-box.dg-list-box .dg-nostobox__title { 
	margin-bottom: 0 !important;
	font-weight: 400;
	font-size: 1.1rem;
}
.dg-plain-boxes .dg-nosto-box.dg-list-box .dg-nostobox__title,
.dg-big-boxes .dg-nosto-box.dg-list-box .dg-nostobox__title {
	font-weight: 500;
}



/*
.dg-big-boxes .dg-tags-container,
.dg-small-boxes .dg-nosto-box.dg-list-box .dg-nostobox__content { display: none; }

*/

.dg-small-boxes .dg-tags-container { margin-bottom: 1.5rem; }


/* Faktumit laatikon pohjalle */
.dg-nosto-box.dg-list-box.dg_recipe .dg-nostobox__title { margin-bottom: 0; }


footer .affiliate-teaser {
	padding-top: 2.5rem;
	padding-bottom: 2.5rem;
	border-top: 1px solid #DF9B1B;
	border-bottom: 3px solid #DF9B1B;
}

.navbar-nav.dg-bottom-menu { 
	font-family: obvia, sans-serif;
	text-align: center;
}

@media (min-width: 992px) {
	.navbar-nav.dg-bottom-menu {
		flex-direction: row; 
	}
    .navbar-nav.dg-bottom-menu li.menu-item a.nav-link { display: inline-block; }
    .navbar-nav.dg-bottom-menu > li + li.menu-item::before {
        content: '|';
        margin: 0 .4rem;
    } 
    /*
	.dg-bottom-menu .menu-item:not(:last-child) a::after {
		content: '|';
		display: inline-block;
		margin-left: .5rem;
		margin-right: .5rem;
	}
    */
}

ul#menu-alavalikko-pohja {
	padding-top: 0 !important;
}


ul.dg-sidebar-list {
	margin: 0 0 3rem 1rem;
	padding: 0;

}
ul.dg-sidebar-list li {
	list-style-type: none;
	margin-bottom: 1rem;
}
ul.dg-sidebar-list li a {
	color: #3F3E3E;
	text-decoration: none;
}
ul.dg-sidebar-list li a:hover { text-decoration: underline;	}
/*
ul.dg-sidebar-list .dg-post-date,
ul.dg-sidebar-list .dg-post-categories { font-size: .9rem; }
*/

.caption-bordered,
.widget_recent_entries .widget-title,
.widget_archive .widget-title,
.widget_categories .widget-title {
	padding-left: 1rem;
	font-weight: 500;
}
.caption-bordered::after,
.widget_recent_entries .widget-title::after,
.widget_archive .widget-title::after,
.widget_categories .widget-title::after
 {
	content: '';
	display: block;
	padding-top: .6rem;
	margin-left: -1rem;
	height: 2px;
	border-bottom: 3px solid #DF9B1B;
}

.widget_recent_entries a,
.widget_archive a,
.widget_categories a { 
	color: #3F3E3E;
	text-decoration: none;
} 
.widget_recent_entries a:hover,
.widget_archive a:hover,
.widget_categories a:hover {
	text-decoration: underline;
}


.dg-video-embed .rwmb-oembed-not-available { display: none; }
.dg-image-with-overlay-dg-box {
	background-size: cover; 
	background-position: center;
	min-height: 46vw;
	padding: 2rem;
}
.dg-image-with-overlay-dg-box .dg-excerpt {
	width: auto;
	max-width: 100%;
	padding: 2rem;
	background: #fff; 
}
@media (min-width: 768px) {
	.dg-image-with-overlay-dg-box {
		padding-bottom: 4rem;
		padding-right: 0;
		min-height: 600px;
	}
	.dg-image-with-overlay-dg-box .dg-excerpt { 
		
		max-width: 500px;
	}
}
.dg-image-with-overlay-dg-box .dg-excerpt {
	font-family: obvia, sans-serif;
}
.dg-image-with-overlay-dg-box .dg-excerpt .content {
	font-size: 1.1rem;
	font-weight: 500;
	text-transform: uppercase;
	color: #DF9B1B;
}
@media (min-width: 480px) {
	.dg-image-with-overlay-dg-box .dg-excerpt .content {
		font-size: 1.2rem;
	}
}

@media (min-width: 768px) {
	.dg-image-with-overlay-dg-box .dg-excerpt .content {
		font-size: 1.4rem;
	}
}
.dg-image-with-overlay-dg-box .dg-excerpt a {
	color: #3F3E3E;
	text-decoration: none; 
}
.dg-image-with-overlay-dg-box .dg-excerpt a:hover {
	text-decoration: underline;
}
body.single .post-date-wrapper { margin-top: -2rem; }
article.category-opi .dg-organization-info { margin-top: -1rem; }


ul.dg-terms-list, ul.dg-terms-list li  { 
	list-style-type: none;
	padding: 0;
	margin: 0;
}
ul.dg-terms-list {
	display: flex;
	flex-wrap: wrap;
}


ul.dg-terms-list a[rel="tag"] {
	display: block;
	margin: .05rem;
	padding: .4rem 1rem;
	color: #3F3E3E;
	text-decoration: none;
	font-size: .9rem;
	border: 2px solid transparent;
	border-radius: 30px; 
}
 
ul.dg-terms-list a[rel="tag"].selected {
	border-color: #DF9B1B;
}
ul.dg-terms-list a[rel="tag"]:not(.selected):hover,
ul.dg-terms-list a[rel="tag"]:not(.selected):active {
    color: #DF9B1B;
}
#dg-icon-close {
	display: block;
	position: absolute;
	right: 20px;
	top: 20px;
	z-index: 1;
	width: 40px;
	height: 40px;
	background: url('images/icon-close.svg') center/contain no-repeat;
	opacity: .8;
}
#dg-icon-close:hover, #dg-icon-close:active {
	opacity: .2;
}
#dg-searchfield-wrapper {
	position: relative;
	margin: 0 auto;
	width: 100%;
	
	text-align: center;
}
/*
@media (min-width: 768px) {
	#dg-searchfield-wrapper {
		margin-top: -4rem;
	}
}*/
#dg-searchfield {
	width: 100%;
	background-color: #fff;
	border: 0;
	padding: .8rem .8rem .8rem 3.5rem; 
}
#dg-searchfield-button {
	width: 30px;
	height: 30px;
	position: absolute;
	z-index: 1;
	left: .7rem;
	top: .7rem;
	background: url('images/icon-search.svg') center/contain no-repeat;
}
#dg-searchfield-button {
	border: 0;
}
#dg-searchfield-button:hover,
#dg-searchfield-button:active {
	opacity: .5;
}

ul.top-image-menu {

}
ul.top-image-menu > li > a.nav-link {
	display: block;
	padding: 1rem;
	font-family: obvia, sans-serif;
	font-size: .9rem;
	font-weight: 500;
	color: #3F3E3E;
	background-color: #F2F2F2;
}
@media (min-width: 992px) {
    ul.top-image-menu > li > a.nav-link { margin-right: -2rem; }
}
ul.top-image-menu > li > a.nav-link:hover,
ul.top-image-menu > li > a.nav-link:active { 
	background: #fff;
}
ul.top-image-menu > li {
	margin-bottom: .3rem;
}




.dg-nosto-box .dg-author { 
	display: block; 
	margin: 2rem 0 0;
	text-transform: uppercase;
	letter-spacing: .08rem;
}
.dg-nosto-box .dg-overlay {
	display: none;
    position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	
	flex-direction: column;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.5);
}

@media (min-width: 992px) {
    .dg-recipe-overlay-boxes .dg-nosto-box:hover .dg-overlay {
        display: flex;
    }
}    
.dg-banner {
	margin: 3rem auto;
    text-align: center;
}

.dg-banner.banner-980x400 {
	max-width: 100%;
	width: 980px;
}
.dg-banner.banner-1200x400 {
	max-width: 100%;
	width: 1200px;
}
.banner-400x350 {
	max-width: 100%;
	width: 400px;
}

.dg-banner.banner-1200x400-frontpage {
	margin-top: 3rem;
	margin-bottom: 3rem;
}
.dg-banner.banner-980x400-frontpage {
    margin-top: 5rem;
}
.dg-banner.banner-980x400.banner-980x400-footer { 
    margin-top: 1rem;
    margin-bottom: 3rem;
}
.dg-recipe-link-box,
.dg-video-box {
    width: 600px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.mt-6, .my-6 { margin-top: 4rem; }
.mb-6, .my-6 { margin-bottom: 4rem;}

.dg-footer-menus {
    padding-bottom: 3rem;
    font-family: obvia, sans-serif;
}
.dg-footer-menus > div { margin-bottom: 2rem; }

.dg-footer-menus {
	display: flex;
	flex-flow: row wrap;
}
.dg-footer-menus > div {
	flex: 100%;
}
@media (min-width: 480px) {
	.dg-footer-menus > div {
		flex: 50%;
	}
}
@media(min-width: 992px) { 
	.dg-footer-menus > div {
		flex: 25%;
	}
   
}
.max-width-1200 {
	width: 1200px;
	max-width: 100%;
	margin: auto;
}

.dg-footer-menus .dg-footer-col-menu-title { margin-bottom: 1.2rem}
.dg-footer-menus a.nav-link { 
    padding: .35rem 0;
}

.site-footer a {
cursor: pointer; 
}	




/*
.nf-form-content .list-select-wrap .nf-field-element>div, .nf-form-content input:not([type=button]), .nf-form-content input:not([type=submit]), .nf-form-content textarea {
    color: #3F3E3E !important;
}
*/

.nf-response-msg {
    color: #33ba49 !important;
}
.nf-form-fields-required { 
    margin-bottom: 1rem;
    font-size: .9rem;
    font-style: italic;
}
#dg-design-by, #dg-design-by a {
    font-family: obvia, sans-serif;
    font-style: italic;
    font-weight: 400;
    text-transform: uppercase;
    color: #3F3E3E;
    letter-spacing: .08rem;
}
.site-footer {
    -webkit-box-shadow: 0px 6px 5px -2px rgba(0,0,0,0.14);
    -moz-box-shadow: 0px 6px 5px -2px rgba(0,0,0,0.14);
    box-shadow: 0px 6px 5px -2px rgba(0,0,0,0.14);
}
.dg-author-filter {
    display: flex;
    margin-bottom: 3rem;
    justify-content: flex-end;
    font-family: obvia, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}
.dg-author-filter > h3 { 
    margin-top: .75rem;
    padding-right: 2.2rem;
    font-size: .9rem;
}

.search-results .search-title {
    display: block;
    padding-bottom: 2rem;

	font-family: obvia, sans-serif;
	font-size: 1.1rem;
}


@media (min-width: 992px) {
    .affiliate-teaser > .row > div:first-child {
        border-right: 2px solid #000;
    }
}

.dg-categories-big { 
	font-size: 1.1rem;
	font-style: italic;
}
a[href^="mailto"], a[href^="tel:"] {
	color: #3F3E3E;
}


/* Hakuboksi yläpalkissa */

#search-box-top-wrapper {
	position: absolute;
	z-index: 100;
	top: -4px;
	right: -.1rem;
}
#search-box-top {
	position: absolute;
	top: 0;
	right: 0;
}

@media (min-width: 992px) {
	#search-box-top-wrapper { 
		top: -.7rem;
	}
}


.site-header .search-form {
	display: flex;
	position: relative;
	justify-content: flex-end;
}
.site-header .search-form .screen-reader-text {
	display: none;
}
.site-header .search-form input[type="search"] {
	width: 160px;
	max-width: 100%;
	padding: 10px 15px 10px 15px;
	border: 0;
	background-color: #f1f1f1;
	/*
	padding: .3rem 0;
	border-bottom: 2px solid #909090;
	background-color: transparent;
	*/
}

@media (min-width: 400px) {
	.site-header .search-form input[type="search"] {
		width: 200px;
	}
}

@media (min-width: 992px) {
	.site-header .search-form input[type="search"] {
		width: 250px;
		padding: 10px 15px 10px 15px;
		border: 0;
	}
}

.site-header .search-form .search-submit {
	position: absolute;
	padding: 0;
	top: 4px;
	right: 0;
	width: 2rem;
	height: 2rem;

	border-color: transparent !important;
	background-color: transparent !important;
	color: transparent !important;
	background: url('./images/icon-search.svg') center/contain no-repeat;
}

@media (min-width: 992px) {
	.site-header .search-form .search-submit {
		top: .59rem;
	}
}

#top-search-icon img { width: 35px; }

@media (min-width: 992px) { 
	#top-search-icon img { 
		width: auto;
		max-width: 1.8rem;
	}	
}


#top-search-icon:hover,
#top-search-icon:active,
.site-header .search-form .search-submit:hover,
.site-header .search-form .search-submit:active {
	opacity: .5;
}
#search-box-top label {
	margin-bottom: 0;
}
.site-header .search-form .search-submit {
	margin: auto !important;
	top: 0;
	height: 100%;
}

/* clears the ‘X’ from Internet Explorer */
input[type=search]::-ms-clear { display: none; width : 0; height: 0; }
input[type=search]::-ms-reveal { display: none; width : 0; height: 0; }
/* clears the ‘X’ from Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }


#dg-filters-dialog .btn-group {
	margin-bottom: 0.5rem;
	position: unset;
}

.dg-filter-cancel {
	cursor: pointer;
}
.dg-filter-cancel:hover {
	text-decoration:  line-through;
}



/* WP classic editorin kuva-asemointihommat */
.aligncenter,
.alignleft,
.alignright {
        display: block;
	float: none;
	margin: 1.8rem auto;;
	width: 100%;
}
/*.entry-content h2, .entry-content h3 {
	clear: both;
}*/

@media (min-width: 600px) {
	.aligncenter,
	.alignleft,
	.alignright {
		width: auto;
	}
	.alignleft {
		display: inline-block;
		float: left;
		margin: 0 1rem 0.9rem 0;
	}
	.alignright {
		display: inline-block;
		float: right;
		margin: 0 0 0.9rem 1rem;
	}
}

.dg-kuva-teksti-5050-blokki__kuva__overlay-text {
	padding: 50px;
	text-align: center;
	color: #fff;
}
.dg-kuva-teksti-5050-blokki__kuva__overlay-text .text {
	color: #fff;	
	text-shadow: 2px 2px 10px rgba(0,0,0,0.14);
}

figure.dg-list-box-image {
	position: relative;
	width: 100%;
	padding-bottom: 65%;
	overflow: hidden;
}
figure.dg-list-box-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dg-grid > [class*="col-"] {
	padding: 0 .8rem 1.6rem;
    margin-bottom: .4rem;
}


/*
.dg-slide .dg-video {
	position: relative;
	padding: 10px;
	width: 100%;
	max-width: 100%;
}


.dg-slide .dg-video iframe {
	width: 100%;
}
*/

.dg-slide .dg-video {

}
.dg-slide .dg-video .potrait-video {
	position: relative;
	overflow: hidden;
	max-height: 75vh;
	width: 180px;
	margin: 0 auto;
}
.dg-slide .dg-video .potrait-video:before {
	content: "";
	display: block;
	padding-top: 177.67%; /* Height / Width * 100 */

}
.dg-slide .dg-video {
	padding: 20px;
}
.dg-slide .dg-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.landscape-video {
	position: relative;
	overflow: hidden;
	max-width: 100%;
}
.landscape-video:before {
	content: "";
	display: block;
	padding-top: 56.25%;
}

/*
.dg-slide .dg-video .landscape-video {
	position: relative;
	overflow: hidden;
	max-width: 100%;
}
.dg-slide .dg-video .landscape-video:before {
	content: "";
	display: block;
	padding-top: 56.25%;
}
*/ 


@media (min-width: 992px) {
	.dg-slide .dg-video {
		width: 400px;
	}
	.dg-video.is-vertical-video {
		width: 240px;
	}
}








.dg-big-slider .slick-arrow {
	width: 80px;
	height: 80px;
	right: -90px;
}
.dg-big-slider .slick-arrow::before {
	display: block;
	content: '';
	opacity: 1;
	width: 80px;
	height: 80px;
	background-image: url('images/icon-scroll-right.svg');
	background-size: contain;
	background-repeat: no-repeat;
}
.dg-big-slider .slick-arrow.slick-prev {
	right: auto;
	left: -80px;
	top: 50%;
	transform: translateY(-50%) rotate(180deg);
}

.site-footer h1, 
.site-footer h2, 
.site-footer h3, 
.site-footer h4, 
.site-footer h5, 
.site-footer h6, 
.site-footer .h1, 
.site-footer .h2, 
.site-footer .h3, 
.site-footer .h4, 
.site-footer .h5, 
.site-footer .h6 {
	color: #3F3E3E;
}

@media (max-width: 991px) {
	.dg-big-slider {
		padding: 40px 10px;
		background-color: black;
	}
	.dg-big-slider .slick-dots li button:before {
		color: #fff;
		opacity: 1;
	}
	.dg-big-slider .slick-dots li.slick-active button:before {
		color: #DF9B1C;
	}
	.dg-big-slider h2.bordered-title {
		color: #fff;
	}
	.dg-big-slider h2.bordered-title:before,
	.dg-big-slider h2.bordered-title:after {
		border-color: #fff;
	}
}

ul.dg-terms-list {
	display: flex;
	flex-wrap: wrap;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

ul.dg-terms-list li {
	margin: 0 5px 5px 0;
}
a.dg-term-link {
	display: inline-block;
	padding: 5px 10px;
	background-color: #DF9B1B;
	border-radius: 3px;
	color: #fff;
	text-decoration: none;
	font-size: .8rem;
	font-weight: bold;
}

a.dg-term-link:hover,
a.dg-term-link:active {
	background-color: #000;
}

 .potrait-video {
    position: relative;
    overflow: hidden;
    max-height: 75vh; 
}
.potrait-video::before {
	content: "";
	display: block;
	padding-top: 177.67%; /* Height / Width * 100 */
  }

.potrait-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media (min-width: 768px) {
    .potrait-video {
        width: 50%;
        /* margin: 0 auto; */
    }
}
@media (max-width: 767px) {
    .potrait-video {
        width: 100%; 
        max-height: none; 
    }
}


.dg-videos .slick-track {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: stretch;
}
.dg-videos .slick-track .slick-slide {
	position: relative;
	height: auto;
}
.dg-videos .slick-track .slick-slide .dg-video,
.dg-videos .slick-track .slick-slide .dg-video .landscape-video,
.dg-videos .slick-track .slick-slide .dg-video .potrait-video {
	height: 100%;
}

.btn.focus, .btn:focus {
	outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(255,158,17,.54);
}
