/*
Theme Name: Digitaali
Author: Digitaali Oy
*/
:root {
    --primary-color: #66CCBA;
    --dark-gray: #1F1F1F;
    --darkest-gray: #191919;
}
body, html {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "slnt" 0;
}

body.error404 {
    background-color: var(--dark-gray)
}

html {
    scroll-behavior: smooth;
}

a {
    color: var(--primary-color);
}
.lang-selector-wrapper-column { 
    width: 100%;
    text-align: right;
}
#dg-navi-toggler {
    background-color: var(--primary-color);
}
.dg-carousel-item-contents {
    padding-top: 50px;
}
.slide-image {
    width: auto;
}
@media (min-width: 768px) { 
    .slide-image {
        width: 600px;
    }
}


body.tax-dg_product_category .site-main .main-content, 
body.blog .site-main .main-content {
    background-color: var(--darkest-gray);
    color: #fff;
}

@media (min-width: 992px) {
    .carousel-item .darken-bg,
    .carousel-item .bg-graph {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }
}

.carousel-item.has-bg-image .darken-bg,
.top-hero__content.has-bg-image .darken-bg {
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-item .darken-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
}
.carousel-item .top-hero__content > 
.top-hero .darken-bg {
    /*
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    */
    /* padding-top: 100px; */
}
..top-hero .carousel-item {
    min-height: auto !important;
}

@media (min-width: 992px) {
    .top-hero__content .darken-bg{
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

.carousel-item .darken-bg .bg-graph,
.top-hero__content .darken-bg .bg-graph {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    /* background-image: url('images/bg-graph.svg'); */
    /*
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    */
}

.person-image {
    border-radius: 50%;
}

#personnel .person {
    color: #fff;
}

#personnel .person a[href^="tel:"], 
#personnel .person a[href^="mailto"] {
    color: #fff;
}

.person .person-role {
    font-weight: 700;
    margin-bottom: 15px;
}

.carousel-inner .top-hero__content { 
    position: absolute !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}


@media (min-width: 768px) {
    .top-hero .carousel-item {
        min-height: 700px;
    }
}
@media (min-width: 1450px) {
    .top-hero .carousel-item {
        height: 100vh;
        min-height: 600px;
    }
}

.map-col {
    position: relative;
    min-height: 600px;
}
.map-col .dg-iframe-wrapper,
.map-col .dg-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: 0;
}


@media (min-width: 992px) {
    .lang-selector-wrapper-column { 
        width: auto;
        text-align: left;
    }    
}

.top-hero .texts-wrapper {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (min-width: 2000px) {
    .top-hero .texts-wrapper {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

.businessID {
    white-space:nowrap;
}

.row.dg-card-grid { margin: 0;}
.row.dg-card-grid > [class*='col-'] {
    padding: 20px 0;
    margin: 0;
}

@media (min-width: 768px) {
    .row.dg-card-grid > [class*='col-'] {
        padding: 20px 40px 20px 0;
        margin: 0;
    }    
}

.dg-card {
    /* padding: 2rem; */
}
.dg-card .title-sub {
    margin-top: -1rem;
    font-size: 1.1rem;
}
.dg-card .excerpt {
    padding-bottom: 1.5rem;
}

/*
body:not(.home) .dg-card.type-dg_external_article .excerpt {
    display: none;
}
*/

.publisher-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.dg-card .title {
    text-transform: none;
}
.dg-card .published-date {
    font-family: 'urw-din-condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}
.dg-card {
    color: #fff;
}
/*
.row.dg-card-grid.dg-alternating-bgcolors > [class*='col-'] { background-color: #fff; }
.row.dg-card-grid.dg-alternating-bgcolors > [class*='col-']:nth-child(6n-4),
.row.dg-card-grid.dg-alternating-bgcolors > [class*='col-']:nth-child(6n-2) { 
    background-color: #c2d251;
}
.row.dg-card-grid.dg-alternating-bgcolors > [class*='col-']:nth-child(6n-3),
.row.dg-card-grid.dg-alternating-bgcolors > [class*='col-']:nth-child(6n-1) { 
    background-color: #f8f8f8;
}
*/

.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: #66ccba;
  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;
  }
}

.btn.btn-link-with-arrow {
    display: inline-block;
    padding: .2rem 0 .2rem 3rem !important;
    font-weight: 700;
    color: #E9B535;
    text-decoration: none;
    text-align: left;

    background-image: url('images/icon-arrow-right-yellow.svg');
    background-position: left center;
    background-size: 2rem;
    background-repeat: no-repeat;
}
.btn.btn-link-with-arrow:hover,
.btn.btn-link-with-arrow:active {
    color: #000;
}

.dg-horizontal-card {
    background-color: #FAFAFA;
}

.dg-horizontal-card .img-col {
    padding-bottom: 56%;
    min-height: 200px;
    background-size: cover;
    background-position: center;
}
@media (min-width: 576px) {
    .dg-horizontal-card .img-col {
        padding-bottom: 0;    
    }
}
.dg-horizontal-card .title,
.dg-horizontal-card .dates,
.dg-horizontal-card .info {
    margin-bottom: .5rem;
}
.dg-horizontal-card .contents {
    padding: 2rem;
}
.dg-horizontal-card .dates {
    font-size: .9rem;
    font-weight: 700;
}
.dg-horizontal-card .info {
    font-size: .8rem;
}

.color-primary { color: #E9B535; }
.color-black { color: #000; }

.media-artikkelit {
    background-color: #F8F8F8;
}
.cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.dg-certificates .dg-certificates-list {
    padding-top: 2rem;
}
.dg-certificates .dg-certificates-list > li {
    margin: 5px;
}
.dg-certificates .dg-certificates-list > li a {
    display: block;
    text-decoration: none;
}
.dg-certificates .dg-certificates-list > li a:hover {
    transform: scale(.95);
}
.dg-certificates .dg-certificates-list > li a span.dg-image-link {
    display: block;
    margin-top: 10px;
    text-align: center;
}
.dg-certificates .dg-certificates-list > li a img {
    max-width: 100%;
    width: 250px;
    margin: auto;
}
.tapahtumat-nosto {
    background-color: #C2D051;
}

body.single-dg_product .top-hero .product-info .product-title {
    display: none;
}

body.single-dg_product .top-hero ul.arrow-list li {
    background-image: url('images/arrow-right-black.svg');
    background-size: 9px;
}
.dg-dl-list {
    box-sizing: border-box;
    margin-bottom: 0;
}    
.dg-dl-list dt,
.dg-dl-list dd {
    padding: 15px;
    flex: 0 0 100% !important;
    width: calc(100%) !important;
    max-width: 100%;
    margin: 5px 0;
    background-color: #FAFAFA;
}

.dg-dl-list dt,
.dg-dl-list dd { 
    margin: 5px 0;
}

ul.properties {
    list-style-type: none;
    padding: 0;
    margin: 0
}
ul.properties li, 
ul.properties li a {
    font-family: 'urw-din-condensed', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}
ul.properties li a:hover,
ul.properties li a:active {
    color: var(--primary-color);
}

ul.properties li a::after {
    display: inline-block;
    content: '';
    margin-left: 10px;
    width: 12px;
    height: 12px;
    background-image: url('images/icon-arrow-right-black.svg');
    background-size: contain;
    background-repeat: no-repeat;
}
ul.properties li a:hover::after,
ul.properties li a:active::after {
    background-image: url('images/icon-arrow-right-green.svg');
}

@media (min-width: 576px) {
    .dg-dl-list dt, .dg-dl-list dd {
        margin: 5px;
    }

    .dg-dl-list dt {
        flex: 0 0 40% !important;
        max-width: 40% !important;
        width: calc(40% - 10px) !important;
        max-width: calc(40% - 10px) !important;
    }

    .dg-dl-list dd {
        flex: 0 0 60% !important;
        max-width: 60% !important;
        width: calc(60% - 10px) !important;
        max-width: calc(60% - 10px) !important;
    }
}

@media (min-width: 768px) {
    
}

.dg-product-image {
    padding-bottom: 75%;
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
}

.dg-card { position: relative;}
.dg-card .dg-logo-small {
    height: 80px;
    width: 100%;
    background-position: bottom -15px right;
    margin: 0;
}

.dg-card.dg_product {
    padding: 2rem;
    color: #fff;
}
.dg-card.dg_product a.btn-primary,
.dg-card.dg_bus a.btn-primary { color: #fff; }
.dg-card.dg_product .product-title {
    margin-bottom: .5rem;
    font-size: 1.5rem;
}
.dg-card.dg_product .arrow-list {
    font-weight: 500;
}
.dg-card.dg_product .dg-product-image {
    padding-bottom: 100%;
    background-position: center;
}
.dg-product-grid > [class*='col-'] {
    margin-bottom: 2rem;
}


.tuotekategoriat > .tuotekategoria:nth-child(even) {
    background-color: var(--darkest-gray);
}
/*
.tuotekategoriat > .tuotekategoria:nth-child(even) .dg-card.dg_product { color: #000;}
.tuotekategoriat > .tuotekategoria:nth-child(even) .dg-card.dg_product a.btn-primary { color: #000;}
*/

.section-Y-paddings-small {
    padding-top: 50px;
}

@media (min-width: 992px) {
    .section-Y-paddings {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

@media (min-width: 992px) {
    .dg-properties-columns-row > [class*='col-'] {
        padding-right: 2rem;
        padding-left: 2rem;
    }
}

ul.dg-attachments-list li.dg-attachment .dg-attachment__text {
    font-size: 1.1rem;
}

ul.dg-date-filters {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
ul.dg-date-filters li { 
    margin: .5rem;
}


.btn.btn-primary {
    color: #000;
    background: transparent;
}
.btn.btn-primary,
.btn.btn-secondary {
    padding-left: 0;
    border: 0;
    border-radius: 0;
}
.btn.btn-primary:hover,
.btn.btn-primary:active {
    color: var(--primary-color);
}

.btn.btn-secondary {
    background-color: transparent;
    color: #fff;
}
.nf-form-cont .nf-form-content button, .nf-form-cont .nf-form-content input[type=button], .nf-form-cont .nf-form-content input[type=submit] {
    background-color: transparent;
    color: #fff;
    border-radius: 0;
    padding-left: 0;
    border: 0;
}
.btn.btn-secondary:hover,
.btn.btn-secondary:active {
    color: var(--primary-color);
}

.btn-primary.btn-bordered {
    background-color: transparent;
    color: #E9B535;
}
.btn-primary.btn-bordered:hover, .btn-primary.btn-bordered.active {
    background-color: transparent;
    color: #000 !important;
}
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    background-color: transparent;

}

.btn-readmore-plain {
    font-family: 'urw-din-condensed', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    text-decoration: none;
}
.btn-readmore-plain:hover,
.btn-readmore-plain:active {
    text-decoration: underline;
}

a:hover {
    color: var(--primary-color);
}

.dg-theme-dark .site-main .main-content {
    background-color: var(--darkest-gray);
    color: #fff;
}


/*
ul.main-menu a.nav-link.separate-dropdown-toggle {
    display:none; 
}
body.logged-in ul.main-menu a.nav-link.separate-dropdown-toggle {
    display: block;
    border-left: 0;
}
*/

ul.main-menu .separate-dropdown-toggle {
    top: 12px;
}

ul.main-menu a.nav-link.separate-dropdown-toggle:after {
    margin-left: .5rem;
    background-image: url('images/arrow-right-green-2.svg');
    background-position: 0;
    background-size: 8px;
}
.carousel-indicators .active {
    background-color: var(--primary-color);
}

ul.main-menu .dropdown-menu {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

ul.main-menu .dropdown-item {
    padding: .4rem 0.9rem;
}

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

.site-footer .dropdown-toggle.nav-link { display: none; }

ul.footer-menu>li>a.nav-link, ul.main-menu>li>a.nav-link {
    border-left: 0;
}

ul.main-menu a.nav-link {
    color: #fff;
    text-transform: uppercase;
    font-family: 'urw-din-condensed', sans-serif;
    font-weight: 500;
    letter-spacing: 1.2px;
    font-style: normal;
}
ul.main-menu a.nav-link:hover,
ul.main-menu a.nav-link:active {
    color: var(--primary-color)
}

ul.main-menu > li > a.nav-link:not(.separate-dropdown-toggle)::before,
.btn.btn-primary::before,
.btn.btn-secondary::before,
ul.dg-slider-menu li a.dg-slider-menu-item::before,
ul.dg-footer-menu > li > a::before,
.nf-form-cont .nf-form-content button::before, 
.nf-form-cont .nf-form-content input[type=button]::before, 
.nf-form-cont .nf-form-content input[type=submit]::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 28px;
    margin-right: 20px;
    margin-top: -4px;
    vertical-align: middle;
    transform: rotate(25deg);
    background-color: var(--primary-color);
}
.nf-form-cont .nf-form-content button:hover, .nf-form-cont .nf-form-content input[type=button]:hover, .nf-form-cont .nf-form-content input[type=submit]:hover {
    background-color: transparent;
}
ul.dg-footer-menu > li > a {
    font-family: 'urw-din-condensed', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn.btn-secondary.white::before {
    background-color: #fff;
}

@media (min-width: 992px) {
    .dropdown-toggle.separate-dropdown-toggle {
        display: none;
    }
}
.lead { font-weight: 700; }
@media (min-width: 768px) {
    .lead { font-size: 1rem;}
}

ul.main-menu > li {
    margin-bottom: .5rem;    
}
@media (min-width: 992px) {     
    ul.main-menu > li { 
        margin-top: .25rem; 
        margin-bottom: .25rem; 
    }    
    ul.main-menu > li {
        
    }
}

@media (min-width: 992px) {
    ul.main-menu>li {
        padding: 0.7rem 0.2rem;
    }
}

@media (min-width: 2000px) { 
    ul.main-menu {
        margin-right: 2rem;
    }
    ul.main-menu>li {
        padding-left: .5rem;
        padding-right: .5rem;
    }
}

.dropdown-item:focus, .dropdown-item:hover {
    color: var(--primary-color);
}
ul.main-menu .dropdown-menu { 
    background-color: transparent;
    font-family: 'urw-din-condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}
@media (min-width: 992px) {
    ul.main-menu .dropdown-menu { 
        /* padding: 1rem 0 1rem .8rem; */
        padding: 1rem;
        background-color: var(--primary-color);
    }
    /*
    ul.main-menu .dropdown-menu a.dropdown-item {
        padding-left: 1.5rem;
        padding-right: 2rem;
        background-image: url('images/arrow-right-green.svg');
        background-repeat: no-repeat;
        background-size: 8px;
        background-position: 10px center;
    }
    */

    ul.main-menu .dropdown-menu a.dropdown-item:hover,
    ul.main-menu .dropdown-menu a.dropdown-item:active {
        color: #fff;
        background-color: transparent;
        text-decoration: none;
    }
}
.dropdown-menu a {
    font-family: 'urw-din-condensed', sans-serif;
    font-weight: 700;
}
.dg-ajax-filters {
    margin-bottom: 2rem;
}
.dg-ajax-filters input[type="search"],
.dg-ajax-filters input[type="text"] {
    padding: .8rem 1.5rem;
    border-radius: 50px;
    border: 0;
    background-color: #F5F5F5;
    font-size: .9rem;
}

.white-tel a[href^="tel:"] {
    color: #fff;
}
.white-email a[href^="mailto:"] {
    color: #fff;
}

.dg-ajax-filters input::-webkit-input-placeholder { color: black; }
.dg-ajax-filters input::-moz-placeholder { color: black; }
.dg-ajax-filters input:-ms-input-placeholder { color: black; }
.dg-ajax-filters input:-moz-placeholder { color: black; }
.dg-ajax-filters .items .item { margin: .5rem;}

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

ul.dg-ajax-filter-group li {
    padding: 0 .5rem;
}
ul.dg-ajax-filter-group li:not(:last-child) {
    border-right: 1px solid black;
}
ul.dg-ajax-filter-group li a {
    color: black;
    text-decoration: none;
}
.dg-theme-dark ul.dg-ajax-filter-group li a {
    color: #fff;
}
ul.dg-ajax-filter-group li a.active {
    font-weight: 700;
}
ul.dg-ajax-filter-group li a:hover,
ul.dg-ajax-filter-group li a:active {
    text-decoration: underline;
}
.texts-white a[href^="tel:"],
.texts-white a[href^="mailto:"] {
    color: #fff;
}
.site-header .lang-selector {
    display: inline-flex;
    position: static;
    background-image: none;
    background-color: var(--primary-color);
    color: #fff;
}
.site-header .lang-selector .nav-link {
    font-family: 'urw-din-condensed', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #000;
}


@media (max-width: 991px) {
    #main-navbar {
        background-color: var(--dark-gray);
    }
    #main-navbar .dropdown-item {
        color: #fff;
    }
    #main-navbar .dropdown-item:hover,
    #main-navbar .dropdown-item:active {
        color: var(--primary-color);
    }
}
@media (min-width: 992px) {
    .site-header .lang-selector {
        position: static;
    }
    #navbar-contents {
        padding: 0;
    }
    #main-navbar {
        position: absolute;
        width: 100%;
        z-index: 2;
        padding: 0;    
    }
}

@media (max-width: 400px) {
    .row.dg-card-footer-custom-contents > [class*=col-] {
        display: block;
        max-width: 100%;
    }
    .row.dg-card-footer-custom-contents {
        display: block;
    }
    .row.dg-card-footer-custom-contents .dg-logo-small {
        background-position: center;
    }
}

.dg-ajax-filters select {
    max-width: 100%;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 0;
    background-color: #F5F5F5;
    font-size: .9rem;
    color: #000;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    word-wrap: break-word;
}

.dg-some-icon {
	color:transparent;
	overflow: hidden;
}
.dg-some-icon.linkedin {
    background-image: url("images/icon-linkedin.svg");
}
.dg-some-icon.sttinfo {
	background-image: url('images/icon-stt.svg');
	width: 50px;
}

.icon-big.write { background-image: url('images/icon-write-white-2024.svg');}
.icon-big.charge { background-image: url('images/icon-charge-white-2024.svg');}
.icon-big.electricity { background-image: url('images/icon-electricity-white-2024.svg');}
.icon-big.setup { background-image: url('images/icon-setup-white-2024.svg');}
.icon-big.maintenance { background-image: url('images/icon-maintenance-white-2024.svg');}
.steps [class*=col]:not(:last-child)>.item>.icon-big:after {
 display: none;
}


.so-widget-digitaali-kuva-teksti-widget .dg_image_text_row > .bg-img-col {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.so-widget-digitaali-kuva-teksti-widget .dg_image_text_row > .bg-img-col.has-background-image {
    background-size: cover;
}

.dg_image_text_row > .bg-img-col.has-background-image.has-overlay-text .dim-layer,
.dg_image_text_row > .bg-img-col.has-background-image.has-icon .dim-layer {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
}
.dg_image_text_row > .bg-img-col .image-overlay-text {
    padding: 1.5rem;
    width: 300px;
    max-width: 100%;
    margin: auto;

    font-family: "urw-din-condensed", sans-serif;
    font-weight: 700;
    font-style: normal;
    line-height: 1.2;
    text-transform: uppercase;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: left;
}

@media (min-width: 768px) {
    .dg_image_text_row > .bg-img-col .image-overlay-text { 
        font-size: 2.5rem;
    }
}

.so-widget-digitaali-kuva-teksti-widget .larger-image-text-ratio .dg_image_text_row > .bg-img-col img.image { 
    width: 100%;
    max-width: 95%;
}


.texts-white {
    color: #fff;
}
.texts-black {
    color: #000;
}
.caption-black h2, .caption-black h3, .caption-black h4, .caption-black h5, .caption-black h6 {
    color: #000;
}
.so-widget-digitaali-kuva-teksti-widget .texts-white .content-wrapper {
    color: #fff;
}
.so-widget-digitaali-kuva-teksti-widget .dg_image_text_row_wrapper {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.so-widget-digitaali-kuva-teksti-widget .texts-white a.btn:not(:hover) {
    color: #fff;
}

.bg-darkgray {
    background-color: #242424;
}
.bg-darkgray .texts-white {
    color: #fff;
}
.bg-darker-gray { background-color:#1e1e1e; }
.bg-darkest-gray {
    background-color: #191919;
}
.bg-turqoise {
    background-color: #66CCBA;
}

@media (min-width: 992px) {
    .dg_image_text_row .content-wrapper {
        padding: 6rem 4rem 6rem 4rem !important;
    }
}

.dg-modal-wrapper .dg-modal-content {
    padding: 2rem;
}

@media (min-width: 768px) {
    .dg-modal-wrapper .dg-modal-content { 
        padding: 2rem 4rem 4rem 4rem;    
    }
}
.dg-modal-wrapper .modal-header {
    border-bottom: none;
}

.dg-modal-wrapper input::-webkit-input-placeholder { font-weight: 500; opacity: 1 }
.dg-modal-wrapper textarea::-webkit-input-placeholder { font-weight: 500; opacity: 1 }
.dg-modal-wrapper input::-moz-placeholder { font-weight: 500; opacity: 1 }
.dg-modal-wrapper textarea::-moz-placeholder { font-weight: 500; opacity: 1 }
.dg-modal-wrapper input:-ms-input-placeholder { font-weight: 500; opacity: 1 }
.dg-modal-wrapper textarea:-ms-input-placeholder { font-weight: 500; opacity: 1 }
.dg-modal-wrapper input:-moz-placeholder { font-weight: 500; opacity: 1}
.dg-modal-wrapper textarea:-moz-placeholder { font-weight: 500; opacity: 1}
.dg-modal-wrapper a {
    color: #E9B535;
}

.dg-ul-horizontal-list-wrapper ul {
    display: flex;
    flex-wrap: wrap;
}
.dg-ul-horizontal-list-wrapper ul li {
    margin: 0 .5rem .5rem 0;
}

.nf-form-content .four-col-list ul li {
    float: none;
    width: 100%;
}
@media (min-width: 1200px) {
    .nf-form-content .four-col-list ul li {
        float: left;
        /* width: 25%; */
        width: 50%;
    
    }
}
.ninja-forms-req-symbol {
    color: #fff !important;
}

.nf-form-content .label-above .nf-field-label, .nf-form-content .label-below .nf-field-label, .nf-form-content .label-hidden .nf-field-label {
    margin-bottom: 15px !important;
}


.top-hero .product-info-wrapper .arrow-list {
    margin-bottom: 1.5rem;
}


.top-hero .top-hero__content .content,
.top-hero .top-hero__content .dg-attachments { margin-bottom: 2rem; }
.top-hero .top-hero__content ul.properties { font-weight: 700; }
.top-hero .top-hero__content .content { padding-top: 1rem;}


body.single-dg_product .site-main .main-content {
    padding: 0;
}
body.single-dg_bus .site-main .main-content {
    padding-bottom: 0;
}

/*
.dg-product-form-wrapper {
    background-color: #2F3B83;
}

.dg-product-form-wrapper .nf-form-cont .nf-form-content .list-select-wrap .nf-field-element>div, 
.dg-product-form-wrapper .nf-form-cont .nf-form-content input:not([type=button]), 
.dg-product-form-wrapper .nf-form-cont .nf-form-content textarea {
    border-color: #fff;
    color: #fff;
}
.dg-product-form-wrapper,
.dg-product-form-wrapper h2 {
    color: #fff;
}
.dg-product-form-wrapper .nf-form-cont .nf-form-content a { color: #E9B535; }
.dg-product-form-wrapper input::-webkit-input-placeholder { font-weight: 500; opacity: 1; color: #fff !important; }
.dg-product-form-wrapper textarea::-webkit-input-placeholder { font-weight: 500; opacity: 1; color: #fff !important; }
.dg-product-form-wrapper input::-moz-placeholder { font-weight: 500; opacity: 1; color: #fff !important; }
.dg-product-form-wrapper textarea::-moz-placeholder { font-weight: 500; opacity: 1; color: #fff !important; }
.dg-product-form-wrapper input:-ms-input-placeholder { font-weight: 500; opacity: 1; color: #fff !important; }
.dg-product-form-wrapper textarea:-ms-input-placeholder { font-weight: 500; opacity: 1; color: #fff !important; }
.dg-product-form-wrapper input:-moz-placeholder { font-weight: 500; opacity: 1; color: #fff !important;}
.dg-product-form-wrapper textarea:-moz-placeholder { font-weight: 500; opacity: 1; color: #fff !important;}
.dg-product-form-wrapper .nf-error .nf-error-msg {
    color: #ff5252
}
.dg-product-form-wrapper .nf-error .ninja-forms-field {
    border-color: #ff5252 !important;
}
.dg-product-form-wrapper .nf-error.field-wrap .nf-field-element:after {
    background: #ff5252 !important;
}
.dg-product-form-wrapper .nf-error-msg, 
.dg-product-form-wrapper .ninja-forms-req-symbol {
    color: #ff5252 !important;
}
*/

ul.arrow-list.dg-arrow-list-bold { font-weight: 500;}
ul.arrow-list.dg-arrow-list-bold a { 
    text-decoration: none;
    color: #000;
}
ul.arrow-list.dg-arrow-list-bold a:hover,
ul.arrow-list.dg-arrow-list-bold a:active {
    color: #E9B535;
}

.digitaali-category-slider-wrapper .digitaali-article-slider-content-col {
    min-height: 1000px;
}
@media(min-width: 390px){
    .digitaali-category-slider-wrapper .digitaali-article-slider-content-col {
        min-height: 900px;
    }
}

@media(min-width: 768px){
    .digitaali-category-slider-wrapper .digitaali-article-slider-content-col {
        min-height: 800px;
    }
}


ul.main-menu > li > ul ul.dropdown-menu { 
    display: none;
}

ul.dropdown-menu li.current_page_item a.dropdown-item {
    text-decoration: none;
}
ul.dropdown-menu li.current_page_item a.dropdown-item:hover {
    text-decoration: underline;
}
ul.dropdown-menu li.current_page_item > a.dropdown-item {
    text-decoration: underline;
}

ul.dropdown-menu .dropdown-item:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {

    ul.main-menu > li > ul.dropdown-menu {
        padding-top: 1rem;
    }
    ul.main-menu > li a.nav-link { 
        font-size: 1.2rem; 
    }
    
    ul.dropdown-menu li.current_page_item a.dropdown-item { color: #000; }
    ul.dropdown-menu li.current_page_item > a.dropdown-item {
        color: var(--primary-color);
    }

    ul.main-menu > li > ul a.dropdown-item { font-size: 1rem; }
    

    ul.main-menu > li > a.separate-dropdown-toggle {
        right: 5px;
    }
    ul.main-menu>li>ul .separate-dropdown-toggle {
        display: block;
    }
    ul.main-menu>li>ul .separate-dropdown-toggle {
        top: 10px;
    }
}

@media(min-width: 992px) {
    ul.main-menu > li > ul ul.dropdown-menu {
        display: none;
        position: absolute !important;
        top:-7px;
        left: calc(100% - 17px); 
        /* background-color: #13193B; */
    }

    ul.main-menu a.nav-link.separate-dropdown-toggle:after { margin-left: 0;}
}

#top-carousel .carousel-item {
    position: relative;
    background-color: var(--dark-gray);
    background-repeat: no-repeat;
    background-size: cover;
}
#top-carousel .carousel-item .dg-carousel-item-contents {
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

ul.dg-footer-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

ul.dg-footer-menu > li {
    width: 250px;
    max-width: 100%;
    padding: 0 1rem 1rem 0;
}
ul.dg-footer-menu li a { 
    display: block;
    margin-bottom: .2rem;
    text-decoration: none;

}
ul.dg-footer-menu li a:hover,
ul.dg-footer-menu li a:active {
    text-decoration: underline;
}
ul.dg-footer-menu > li > a {
    display: block;
    margin-bottom: 1rem;
    padding-left: .8rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.1;
}
ul.dg-footer-menu > li > ul.sub-menu {
    margin-left: .8rem;
}
ul.dg-footer-menu > li > a:hover,
ul.dg-footer-menu > li > a:active {
    text-decoration: underline;
}
ul.dg-footer-menu ul.sub-menu {
    list-style-type: none;
    padding: 0;
    margin: 0 0 1rem 0;
}



.nf-form-content .dg-checkbox-list .listcheckbox-wrap li, .nf-form-content .listradio-wrap li {
    margin-bottom: 15px !important;
}

.dg-top-buttons {
    display: flex;
    flex-wrap: wrap;
}
.dg-top-buttons .dg-attachments {
    margin-bottom: 0 !important;
}
.dg-top-buttons .dg-attachments ul.dg-attachments-list {
    display: flex;
    flex-wrap: wrap;
    width: auto;
}
.dg-top-buttons .dg-attachments ul.dg-attachments-list li.dg-attachment {
    margin: 0;
}
.dg-top-buttons .btn {
    display: block;
    margin: 0 .5rem .5rem 0;
}


.site-footer .navbar-brand img {
    min-width: auto;
    max-width: 250px;
}

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

@media (min-width: 768px) {
    .no-lg-hyphens {
        hyphens: none;
    }
}

.footer-nosto {
    padding: 35px 0 60px 0;
    background-color: #242424;
    color: #fff;
}
.footer-nosto a { color: #fff; }

/* Saavutettavuusjuttuja 8.11.2023 */
ul.properties a {
    padding-top: 4px;
    padding-bottom: 4px;
    display: block;
}
ul.dg-footer-menu li a { 
    padding-bottom: .5rem;
}
.btn.btn-primary,
ul.dg-slider-menu li a.dg-slider-menu-item.active, 
ul.dg-slider-menu li a.dg-slider-menu-item:active, 
ul.dg-slider-menu li a.dg-slider-menu-item:hover {
	color: black;
}
ul.dg-slider-menu li a.dg-slider-menu-item {
    font-family: 'urw-din-condensed', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    border: 0;
    border-radius: 0;
}
ul.dg-slider-menu li a.dg-slider-menu-item.active, ul.dg-slider-menu li a.dg-slider-menu-item:active, ul.dg-slider-menu li a.dg-slider-menu-item:hover {
    background-color: transparent;
    color: var(--primary-color);
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: "urw-din-condensed", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: var(--primary-color);
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
    text-transform: uppercase;
}

/*
.dg-product-form-wrapper .nf-form-cont .nf-form-content .list-select-wrap .nf-field-element>div, 
.dg-product-form-wrapper .nf-form-cont .nf-form-content input:not([type=button]), 
.dg-product-form-wrapper .nf-form-cont .nf-form-content textarea {
	color: black;
}
.dg-product-form-wrapper .nf-form-cont .nf-form-content input[type=submit] {
	border-color: transparent;
}
*/

.h1.page-caption,
h1.page-caption {
    color: var(--primary-color);
    word-break: break-word;
    margin: 1rem 0;
    -webkit-hyphens: manual;
    -ms-hyphens: manual;
    hyphens: manual;
}

.dg-icon {
    display: inline-block;
    width: 90px;
    height: 80px;
    object-fit: contain;
}
.dg-icon.big {
    width: 150px;
    height: 120px;
}

.bg-dark-section {
    color: #fff;
}
.bg-graph,
.bg-graph-left,
.bg-graph-right,
.dg_image_text_row > .bg-img-col.has-background-image.has-overlay-text .dim-layer,
.dg-flex-row-reverse .dg_image_text_row > .bg-img-col.has-background-image.has-overlay-text .dim-layer,
.dg-flex-row-reverse .dg_image_text_row > .bg-img-col.has-background-image.has-icon .dim-layer {
    background-size: 800px;
    background-position: calc(0% - 350px) calc(100% + 200px);
    background-image: url('images/graph-new.svg');
    background-repeat: no-repeat;
}

@media (min-width: 992px) {
    .bg-graph,
    .bg-graph-left,
    .bg-graph-right,
    .dg_image_text_row > .bg-img-col.has-background-image.has-overlay-text .dim-layer,
    .dg-flex-row-reverse .dg_image_text_row > .bg-img-col.has-background-image.has-overlay-text .dim-layer,
    .dg-flex-row-reverse .dg_image_text_row > .bg-img-col.has-background-image.has-icon .dim-layer {
        background-size: 1000px;
        background-position: calc(0% - 350px) calc(100% + 100px);
    }
}


.bg-graph.bottomright,
.bg-graph-right,
.dg_image_text_row > .bg-img-col.has-background-image.has-overlay-text .dim-layer,
.dg_image_text_row > .bg-img-col.has-background-image.has-icon .dim-layer {
    background-image: url('images/graph-new.svg');
    background-position: calc(100% + 300px) calc(100% + 200px);
}

@media (min-width: 992px) { 
    .bg-graph.bottomright,
    .bg-graph-right,
    .dg_image_text_row > .bg-img-col.has-background-image.has-overlay-text .dim-layer,
    .dg_image_text_row > .bg-img-col.has-background-image.has-icon .dim-layer {
        background-position: calc(100% + 300px) calc(100% + 100px);
    }
    .bg-graph-pull-down {
        background-position: calc(100% + 300px) calc(100% + 400px) !important;
    }
}


@media (min-width: 2000px) {
    .top-hero .bg-graph {
        background-size: 1500px;
        background-position: calc(100% + 550px) calc(100% + 300px);
    }
}


.bg-graph.graph2.bottomright {
    background-image: url('images/graph-new.svg');
    /* 
    background-image: url('images/arrow-bottomright-2.svg'); 
    */
    
}
.dg_image_text_row_wrapper.is-fullwidth > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
.dg_image_text_row_wrapper .content-wrapper { 
    padding-top: 50px;
    padding-bottom: 50px;
}
@media (min-width: 768px) {
    .dg_image_text_row_wrapper.is-fullwidth .content-wrapper {
        margin-left: auto;
        margin-right: auto;
    }
}

/*
.top-hero .bg-graph {
    background-image: url('images/bg-graph-arrow-right-dark-turqoise.svg')
}
*/

.bg-graph.bg-dark-turqoise {
    /* background-image: url('images/bg-graph-arrow-right-dark-turqoise.svg') */
    background-image: url('images/graph-new-black.svg')
}
.bg-graph.bg-graph-brighter {
    background-image: url('images/graph-new-brighter.svg');
}

/* .h1 puuttu karusellist */
.h1.page-caption small {
    display: block;
    max-width: 800px;
    margin: 2rem auto;
    text-transform: none;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6rem;
}

@media (min-width: 992px) {
.h1.page-caption small {
    line-height: 1.6rem;
}
}

.dg_image_text_row_thin_content {
    max-width: 1100px;
    margin: auto;
}

.footer-some-icons {
    padding: 5px;
    border-radius: 5px;
}

.dg-some-feed {
    padding: 100px 50px;
    background-color: #ececec;
}
.some-icons a {
    text-decoration: none;
}

.main-menu .dropdown-item {
    white-space: normal;
}
@media (min-width: 992px) {
    .main-menu .dropdown-item {
        white-space: nowrap;
    }
}

.single-dg_maintenance .info-contents {
    padding: 25px;
}

.single-dg_maintenance .dg-gallery {
    padding: 100px 0;
}

@media (min-width: 500px) {
    .single-dg_maintenance .info-contents {
        padding: 100px;
    }    
}

.single-dg_maintenance .info-contents .address-info {
    font-size: 1.2rem;
    color: #fff;
}

.single-dg_maintenance .info-contents .address-info .address {
    display: block;
}

.single-dg_maintenance .info-contents *:not(.info-subtitle):not(.info-title) {
    color: #fff;
}

.single-dg_maintenance .main-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.dg-logo img {
	height: 100%;
	width: 100%;
	object-fit: contain;
}

.site-footer {
    background-color: #191919;
}
.text-transform-none {
    text-transform: none;
}

.footer-bottom-contents {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #000000;
    color: #fff;
}
.footer-bottom-contents a {
    color: #66CCBA;
}

.top-hero .top-hero__content {
    position: relative;
    background-color: var(--dark-gray);
    color: #fff;
    background-size: cover;
    background-position: center;
}

.urw-din-cond {
    font-family: 'urw-din-condensed', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.urw-din-cond.uppercase {
    text-transform: uppercase;
}

.bg-darkgray .nf-form-cont .nf-form-content .list-select-wrap .nf-field-element>div, 
.bg-darkgray .nf-form-cont .nf-form-content input:not([type=button]), 
.bg-darkgray .nf-form-cont .nf-form-content textarea {
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.bg-darkgray .nf-form-cont .nf-form-content input:not([type=button])::placeholder, 
.bg-darkgray .nf-form-cont .nf-form-content textarea::placeholder {
    color: #fff !important;
}
.bg-darkgray .nf-form-cont .nf-form-content input:not([type=button])::-webkit-input-placeholder, 
.bg-darkgray .nf-form-cont .nf-form-content textarea::-webkit-input-placeholder {
    color: #fff !important;
}
.bg-darkgray .nf-form-cont .nf-form-content input:not([type=button])::-moz-placeholder, 
.bg-darkgray .nf-form-cont .nf-form-content textarea::-moz-placeholder {
    color: #fff !important;
}
.bg-darkgray .nf-form-cont .nf-form-content input:not([type=button]):-moz-placeholder, 
.bg-darkgray .nf-form-cont .nf-form-content textarea:-moz-placeholder {
    color: #fff !important;
}
#lomake,
#lomake a {
    color: #fff;
}

.col-dividers > .panel-grid-cell {
    position: relative;
}
@media (min-width: 768px) {
    .col-dividers > .panel-grid-cell:not(:last-child)::before {
        content: '';
        display: inline-block;
        position: absolute;
        top: 0px;
        right: 0;
        width: 9px;
        height: 100px;
        background-color: var(--primary-color);
        transform: rotate(25deg);
    }
}

.dg-properties-list dt {
    font-family: 'urw-din-condensed', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.dg-card .dg-properties-list dt {
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    text-transform: none;
}

.digitaali_gallery {
    margin-bottom: 50px;
}
.digitaali_gallery .row.thumbs > [class*='col-'] { padding: 0 0 30px 0;}

@media (min-width: 576px) {
    .digitaali_gallery .row.thumbs > [class*='col-'] { padding: 0 30px 30px 0;}
    .digitaali_gallery.has-gallery .dg-videos {
        margin-right: 30px;
    }
}
  
.dg-videos > ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.dg-videos > ul > li {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
}
.dg-videos > ul > li::before {
    content: '';
    display: block;
    padding-top: 56.25%;
}
.dg-videos > ul > li .video-placeholder-youtube {
	position: absolute;
	top: 0;
}
.dg-videos > ul > li > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.dg-categories.alternating-bg .dg-category {
    background-color: var(--dark-gray);
    background-position: bottom left;
    background-image: url('images/bg-graph-arrow-left.svg');
}
.dg-categories.alternating-bg .dg-category:nth-child(even) {
    background-color: var(--darkest-gray);
    background-position: bottom right;
    background-image: url('images/bg-graph-arrow-right.svg');
}

.container .container {
    padding: 0;
}

.dg_image_text_row_wrapper.is-fullwidth .container .container { 
    padding-left: 30px;
    padding-right: 30px;
}

.dg_text_text_row.white-texts * { color: #fff; }
.dg_text_text_row.white-texts .btn {
    border-color: #fff;
    color: #fff;
}
.dg_text_text_row > .bg-img-col {
    background-size: cover;
    background-position: top center;
}
.dg_text_text_row > .bg-img-col > .content { 
    /* padding-bottom: 56%; */
    padding-bottom: 70%;
}

.dg_text_text_row .content-wrapper {
    padding: 3rem 0 3rem 0;
    max-width: 700px;    
}

@media (max-width: 991px) {
    .dg_text_text_row .main-cols-row > [class*="col-"]:first-child .content-wrapper {
        padding-bottom: 0;
    }
    .dg_text_text_row .main-cols-row > [class*="col-"]:last-child .content-wrapper {
        padding-top: 1rem;
    }
}

@media (min-width: 992px) {
    .dg_text_text_row .content-wrapper {
        padding: 6rem 2rem 6rem 0;
    }       
}

.dg_text_text_row .bg-img-col img.image {
    width: 600px;
    max-width: 95%;
    margin: auto;
    float: none;
}

@media (min-width: 2000px) { 
    .dg_text_text_row .content-wrapper { 
        max-width: 900px;
    }
}

/** Responsive Video */
.dg_text_text_row .dg-video-embed,
.dg_text_text_row .video-embed-wrapper,
.dg_text_text_row .dg-video-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 0;
    height: 100%;
    /* padding-bottom: 70%; */
}
.dg_text_text_row .dg-video-embed iframe,
.dg_text_text_row .video-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dg_text_text_row .dg-video-wrapper {
    background-color: #fcfcfc;
}
.dg_text_text_row .dg-video-wrapper video {
    width: 100%;
}

.dg_image_text_row_wrapper.is-fullwidth {

}

.bg-img-col.has-background-image {
    min-height: 500px;
}

.dg_image_text_row.white-texts * { color: #fff; }
.dg_image_text_row.white-texts .btn {
    border-color: #fff;
    color: #fff;
}
.dg_image_text_row > .bg-img-col {
    background-size: cover;
    background-position: top center;
}
.dg_image_text_row > .bg-img-col .content { 
    /* padding-bottom: 56%; */
    padding-bottom: 70%;
}

.dg_image_text_row .bg-img-col img.image {
    margin: auto;
    padding: 2rem;
    width: 600px;
    max-width: 95%;
    float: none;
}
@media (min-width: 992px) { 
    .dg_image_text_row .bg-img-col img.image { margin: 0; }
}

.dg_image_text_row .content-wrapper {
    width: 100%;
    /*
    padding: 1rem 0;
    max-width: 700px;
    */
}

@media (min-width: 992px) {
    .dg_image_text_row .content-wrapper { padding: 6rem; }
}
@media (min-width: 2000px) { 
    .dg_image_text_row .content-wrapper { 
        max-width: 900px;
    }
}

.scroll-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-image: url('images/icon-arrow-up.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    z-index: 1000;
}

.dg-50-50-custom-image .dg_image_text_row .bg-img-col img.image {
    width: 100%;
    max-width: 100%;
    padding: 0 !important;
}

.dg-50-50-custom-image .dim-layer {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    align-items: flex-end;
    justify-content: center;
}
.dg-50-50-custom-image .dg_image_text_row .bg-img-col {
    align-items: flex-end;
}

body.single-dg_bus .site-main .main-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;;
}

body.single-dg_bus .dg-gallery {
    padding-top: 80px;
    padding-bottom: 50px;
}

figure.dg-person-image {
    display: block;
    position: relative;
    width: 280px;
    max-width: 98%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
    overflow: hidden;
    background-image: url('images/person-bg.jpg');
    background-size: cover;
    background-position: center;
}
figure.dg-person-image::after {
    content: '';
    display: block;
    padding-top: 100%;
}
figure.dg-person-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.is-image-icon-size .dg_image_text_row img.image {
    width: 500px;
    max-width: 100%;
}

.siteorigin-panels-stretch .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

@media (min-width: 300px) {
    .siteorigin-panels-stretch .container {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

.dg-modal-wrapper .nf-form-cont .nf-form-content button, 
.dg-modal-wrapper .nf-form-cont .nf-form-content input[type=button], 
.dg-modal-wrapper .nf-form-cont .nf-form-content input[type=submit] {
    color: #000 !important;
}
.nf-form-cont .nf-form-content input[type=submit],
.nf-form-cont .nf-form-content input[type=submit]:hover {
    padding-left: 30px;
    background-image: url('images/graph-line.svg');
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 15px;
}

.single-dg_maintenance .main-content {
    background-color: var(--darkest-gray);
}


ul.dg-custom-list {
    margin: 0 0 25px 0;
    padding: 0;
    list-style: none;
}
ul.dg-custom-list li {
    position: relative;
    margin-bottom: 15px;
    padding-left: 30px;
}
ul.dg-custom-list li::before {
    content: '';
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 28px;
    margin-right: 20px;
    margin-top: -4px;
    vertical-align: middle;
    transform: rotate(25deg);
    background-color: var(--primary-color);
}

.btn-huge {
    padding: 20px 40px;
    border-radius: 0;
    background-color: #252525;
    font-size: 2rem;
    font-family: "urw-din-condensed", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: var(--primary-color);
}

.btn-highlight {
    background-color: var(--primary-color);
    color: #fff !important;
    border: 0;
    border-radius: 0;
    padding: 15px 25px;
    font-style: normal;
}

.btn-highlight::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    vertical-align: initial;

    background-image: url('images/icon-arrows-right-white.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 10px;
}
.dg-buttons > span.btn,
.dg-buttons > span.btn:hover {
    cursor: default;
    color: var(--primary-color);
}

.dg-grid-item { 
    color: #fff;
}

.dg-grid-container > .row {
    gap: 0;
}
.dg-grid-container > .row > [class*="col-"] {
    padding: 25px;
}

.dg-bg-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}
.dg-bg-card::before {
    content: '';
    display: block;
    padding-bottom: 140%;
}

.dg-bg-card .dg-card__image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.dg-bg-card .dg-card__link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.dg-bg-card .dg-card__content {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    z-index: 2;
    padding: 40px;
   
}

.dg-bg-card .dg-card__title {
    font-family: "urw-din-condensed", sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 20px;
}

.dg-bg-card .dg-card__dim-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0.8) 100%);
}

.dg-bg-card .btn.btn-primary {
    color: #fff;
}

body.single-dg_campaign .site-main .main-content {
    padding-bottom: 0;
}

body.single-dg_campaign .darken-bg {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    background-image: none !important;
}

body.single-dg_campaign .top-hero .texts-wrapper .contents {
    width: 800px;
    max-width: 95%;
}

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

.btn.btn-primary {
    padding-right: 0;
}

.buttons .btn-primary {
    margin-right: 30px !important;
}

ul.main-menu > li.menu-item-type-custom > a.nav-link[href="#"],
ul.dg-footer-menu > li.menu-item-type-custom > a[href="#"] {
    cursor: default;
    text-decoration: none;
}
ul.main-menu > li.menu-item-type-custom > a.nav-link[href="#"]:hover,
ul.dg-footer-menu > li.menu-item-type-custom > a[href="#"]:hover {
    color: #fff;
    text-decoration: none;
}

.dg-details-table {
    table-layout: fixed;
    width: 100%;
}
.dg-details-table.table th,
.dg-details-table.table td {
    padding: 20px;
    border: 0;
}

.dg-details-table.table thead th {
    font-family: "urw-din-condensed", sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    background-color: var(--primary-color);
    color: #000;
}
.dg-details-table.table tbody tr.job-entry:not(:first-child) {
    border-top: 1px solid #d5d5d5;
}

.dg-details-table .job-entry:hover {
    cursor: pointer;
}

.dg-icon-arrow {
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: url('images/icon-arrow-right-black-new.svg');
    background-size: contain;
    background-repeat: no-repeat;
}


.dg-details-table .job-entry.open .dg-icon-arrow {
    transform: rotate(90deg);
}
.dg-details-table td.icon-column {
    text-align: right;
}

.dg-details-table .dg-hidden {
    display: block;
    height: 1px;
    max-height: 1px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

@media (min-width: 992px) {
    .dg-details-table .title {
        font-weight: bold;
    }
}

@media (max-width: 991px) {
    .dg-details-table, 
    .dg-details-table.table th,
    .dg-details-table.table td {
        padding: 10px 0;
        width: 100%;
        display: block;
    }
    .dg-details-table.table th, .dg-details-table.table td
    .dg-details-table thead {
        display: none;
    }
    .dg-details-table .job-entry {
        display: block;
        padding-top: 10px;
        margin-top: 10px;
    }
    .dg-details-table .job-mobile-heading {
        font-weight: bold;
    }
    .dg-details-table .job-mobile-heading::after {
        display: inline-block;
        content: ':';
        margin-right: 5px;
    }
    .dg-icon-arrow {
        width: 40px;
        height: 40px;
        background-size: 15px;
        background-position: center;
        background-color: var(--primary-color);
    }
}

body.single-post .top-hero.has-featured-image .darken-bg,
body.single-dg_customer_story .top-hero.has-featured-image .darken-bg {
    position: relative;
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.dg-card .post-thumbnail-wrapper {
    position: relative;
    padding-bottom: 60%;
    margin-bottom: 25px;
}
.dg-card .post-thumbnail-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tablepress>:where(thead)+tbody>:where(:not(.child))>*, .tablepress>tbody>*~:where(:not(.child))>*, .tablepress>tfoot>:where(:first-child)>* {
    border-top: 0 !important;
}

.tablepress>:where(tbody.row-striping)>:nth-child(even of :where(:not(.child,.dtrg-group)))+:where(.child)>*, .tablepress>:where(tbody.row-striping)>:nth-child(even of :where(:not(.child,.dtrg-group)))>* {
    background-color: #f3f3f3 !important;
}

.container.thin-content {
    max-width: 800px;
}

body.single-dg_customer_story .site-main .main-content {
    padding-bottom: 0 !important;
}

blockquote {
    display: block;
    width: 95%;
    max-width: 600px;
    margin: 75px auto;
    
    text-align: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.d-logged-in-only {
    display: none !important;
}
body.logged-in .d-logged-in-only {
    display: block !important;
}

body.post-type-archive-dg_customer_story .main-content {
    background-color: var(--darkest-gray);
}