.buttons .wp-block-button.centered {
    text-align: center;
}

@media (max-width: 912px) {

    .container,
    .container-fluid,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        padding-right: 8px;
        padding-left: 8px;
    }

    .row {
        margin-right: -8px;
        margin-left: -8px;
    }

    .col,
    .col-1,
    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-7,
    .col-8,
    .col-9,
    .col-10,
    .col-11,
    .col-12,
    .col-auto,
    .col-lg,
    .col-lg-1,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12,
    .col-lg-auto,
    .col-md,
    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-md-auto,
    .col-sm,
    .col-sm-1,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-sm-auto,
    .col-xl,
    .col-xl-1,
    .col-xl-2,
    .col-xl-3,
    .col-xl-4,
    .col-xl-5,
    .col-xl-6,
    .col-xl-7,
    .col-xl-8,
    .col-xl-9,
    .col-xl-10,
    .col-xl-11,
    .col-xl-12,
    .col-xl-auto {
        padding-left: 8px;
        padding-right: 8px;
    }

    .column-box {
        padding: 12px 8px;
    }

    .container,
    .container-md,
    .container-sm {
        max-width: 900px;
    }

    .column-box img {
        width: 100%;
        max-width: 100%;
    }

    body article.box.small .image {
        height: auto;
    }

    body article.box img {
        height: auto;
    }
}


@media (max-width: 320px) {

    .container,
    .container-fluid,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        padding-right: 8px;
        padding-left: 8px;
    }

    .row {
        margin-right: -8px;
        margin-left: -8px;
    }

    .col,
    .col-1,
    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-7,
    .col-8,
    .col-9,
    .col-10,
    .col-11,
    .col-12,
    .col-auto,
    .col-lg,
    .col-lg-1,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12,
    .col-lg-auto,
    .col-md,
    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-md-auto,
    .col-sm,
    .col-sm-1,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-sm-auto,
    .col-xl,
    .col-xl-1,
    .col-xl-2,
    .col-xl-3,
    .col-xl-4,
    .col-xl-5,
    .col-xl-6,
    .col-xl-7,
    .col-xl-8,
    .col-xl-9,
    .col-xl-10,
    .col-xl-11,
    .col-xl-12,
    .col-xl-auto {
        padding-left: 8px;
        padding-right: 8px;
    }

    .column-box {
        padding: 12px 8px;
    }
}

#primary-menu .menu-item-has-children.dropdown ul {
    width: 230px;
}

@media (min-width: 992px) {
    .hero .hero-slider .container .hero-content {
        width: 600px;
    }
}
@media (max-width: 991.98px) {
    h2 {
        font-size: 36px;
    }
}

body.locale-fi .page-content > *:not(.floating-breadcrumb) a:not(.btn, .btn-primary, .wp-block-button__link) {
    color: var(--primary) !important;
    /* text-decoration: underline !important; */
}

body.locale-fi.site-6 .page-content > *:not(.floating-breadcrumb, .posts-columns, .slider-column-parent, .media-text ) a:not(.btn, .btn-primary, .wp-block-button__link) {
    color: #4D7893 !important;
    text-decoration: none !important;
}

body.locale-fi.site-6 .page-content>.container-md .download-files a, body.locale-fi.site-6 .container-md .download-files a{
    color: #000 !important;
    text-decoration: none !important;
}


body.locale-fi.site-6 .page-content > *:not(.floating-breadcrumb, .slider-column-parent) a:not(.btn, .btn-primary, .wp-block-button__link):hover,
body.locale-fi.site-6 article.basic div:not(.image) a:hover {
    text-decoration: underline !important;
}

body.postid-11537 .wp-block-media-text__content .download-files>ul li .download-single-file-thumbnail{
    width: 140px;
}
[data-wpr-lazyrender]{
    content-visibility:unset !important;
}

.current-language-sub-select select {
    visibility: hidden;
    opacity: 0;
    width: 100%;
    height: 48px !important;
    background-position: right 8px top 13px;
    margin-bottom: 16px;
    padding: 0 16px;
}

.current-language-sub-select select.open {
    visibility: visible;
    opacity: 1;
}






.language-switcher-sub-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
}

.language-switcher-sub-open {
    opacity: 1 !important;
    visibility: visible !important;
}

.language-flag-container .language-flag-wrapper {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
}


.language-flag-container .language-flag-wrapper > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.language-flag-container .language-flag-wrapper .language-flag-img-wrapper {
    overflow:hidden;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(29, 29, 27, 0.5);
    cursor: pointer;
}
.language-flag-container .language-flag-wrapper img{
    width: 100px;
    height: 100px;
    object-fit: cover;
    object-position: center;
}

.language-flag-container .language-flag-wrapper div[data-selected="true"] {
    border: 5px solid #FF4B55;
    width: 105px;
    height: 105px;
}

@media screen and (min-width: 992px) {
    .language-switcher-sub.cover-bg-modal .cover-modal {
        max-width: 800px !important;
        padding: 64px;
        position: relative;
    }
    .language-flag-container .language-flag-wrapper .language-flag-img-wrapper {
        width: 200px;
        height: 200px;
    }
    .language-flag-container .language-flag-wrapper img{
        width: 200px;
        height: 200px;
    }
    
    .language-flag-container .language-flag-wrapper div[data-selected="true"] {
        border: 8px solid #FF4B55;
        width: 208px;
        height: 208px;
    }
    .language-switcher-logo {
        width: auto;
        height: 32px;
        position: absolute;
        top: 16px;
        left: 16px;
    }
}

.language-flag-name {
    text-align: center;
    margin-top: 16px;
    font-weight: bold;
    font-size: 24px;
}

.cover-bg-modal {
    background: rgba(34, 34, 34, .8);
    backdrop-filter: blur(5px) !important;
}

@media screen and (max-width: 992px) {
    
    .language-switcher-sub .cover-modal {
        margin-top: unset !important;
        background: rgba(34, 34, 34, .8);
    }
    .language-switcher-sub .cover-modal > .container {
        margin-top: 34%;
        background: white;
        position: relative;
        padding: 32px;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .language-flag-container .language-flag-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: start;
        width: 380px;
    }

    .language-flag-container .language-flag-wrapper > div {
        width: 40%;
    }

    .language-switcher-title {
        font-size: 36px !important;
    }   
}

.ginput_container_select select{ color:#000;height: 40px;} 

/* body .wp-block-image .aligncenter,  */
body .wp-block-image .alignleft, 
body .wp-block-image .alignright, 
body .wp-block-image.aligncenter, 
body .wp-block-image.alignleft, 
body .wp-block-image.alignright{
    display: block;
}

.has-novotek-white-background-color{
    background-color: #ffffff !important;
}
.has-novotek-black-background-color{
    background-color: #000000 !important;
}
.has-novotek-red-background-color{
    background-color: #e70029 !important;
}
.has-novotek-dark-red-background-color{
    background-color: #ab192d !important;
}
.has-novotek-blue-background-color{
    background-color: #6f7c83 !important;
}
.has-novotek-dark-blue-background-color{
    background-color: #1e2f39 !important;
}

.has-novotek-white-color{
    color: #ffffff !important;
}
.has-novotek-black-color{
    color: #000000 !important;
}
.has-novotek-red-color{
    color: #e70029 !important;
}
.has-novotek-dark-red-color{
    color: #ab192d !important;
}
.has-novotek-blue-color{
    color: #6f7c83 !important;
}
.has-novotek-dark-blue-color{
    color: #1e2f39 !important;
}
.wp-block-button__link{
    width: auto !important;
}