html,
body {
    width: 100%;
    overflow-x: hidden;
}

/**SK: 11.1. elementskit plugariongelman väliaikainen ratkaisu, duplikaatti kurssisivulla**/
.ekit-template-content-header > .learndash-wrapper > .ld-item-list.ld-lesson-list,
.ld-alert.ld-alert-success.ld-alert-certificate,
.elementskit-dropdown-open > .learndash-wrapper > .ld-item-list.ld-lesson-list,
.elementskit-megamenu-panel.ekit-dropdown-open-onclick .learndash-wrapper.lds-template- {
    display: none !important;
}

body .ast-hb-account-login{
        max-height: 800px !important;
    width: 600px !important;
    margin: 0px 0 0 -270px;
}

/* Yhdistyksen nostojen tyylit etusivulla */

.elementor-element-33e36ad2 {
    background-color: #ffebf5;
}

.elementor-element-33e36ad2 .col-6 {
    background-color: #ffebf5;
}

/*.elementor-element-33e36ad2 .hentry__inner.clearfix {
  background-color: #fff;
  padding: 0 10px 20px 10px;
  margin-top: 4em;
	height:26rem;
}

.ast-page-builder-template .elementor-element-33e36ad2 .entry-header {
  margin-top: 0;
  padding: 20px 10px 0 10px;
}*/

/* ota meihin yhteytta MODAL*/

.gform_wrapper.gravity-theme .modal-lomake .ginput_complex label {
    font-size: 16px;
}

.gform_wrapper.gravity-theme .gfield input.large {
    border-color: #000;
}

.gform_wrapper.gravity-theme .modal-lomake .gfield_label {
    font-weight: 600 !important;
    font-size: 16px !important;
    margin-bottom: 2px;
}

.gform_wrapper.gravity-theme .modal-lomake .ginput_complex input,
.gform_wrapper.gravity-theme .modal-lomake .ginput_complex select {
    padding: 5px;
    border-color: #dddddd;
}

.gform_wrapper.gravity-theme .gfield.modal-lomake input.large,
.gform_wrapper.gravity-theme .gfield.modal-lomake select.large {
    padding: 5px;
    border-color: #dddddd;
}

.gform_wrapper.gravity-theme .gfield.modal-lomake textarea.large {
    max-height: 120px;
    padding: 5px;
    border-color: #dddddd;
}

/* elementor listan Ikonin tasaus */

.elementor-icon-list-item {
    display: flex !important;
}

/*postituksen hinta oikealle*/
.woocommerce-cart .woocommerce ul#shipping_method .amount {
    float: right;
}

.th-link-decoration a:not(.elementor-tab-title a) {
    text-decoration: underline;
}

@media (max-width: 544px) {
    body.e-wc-message-notice .woocommerce-message {
        font-size: 14px;
        display: flex;
    }
}

form.cart.cart_group.bundle_form.layout_grid.group_mode_parent.grouped_form.initialized {
    display: flex;
    flex-wrap: wrap;
}

ul.products.bundled_products.columns-4 {
    order: 2;
    margin-top: 40px;
}

.woocommerce-variation-price .woocommerce-Price-amount {
    font-weight: 400;
    color: #4be1d2;
}

.woocommerce-variation-price .woocommerce-price-suffix {
    font-weight: 400;
    color: #000;
}

.woocommerce-MyAccount-content h3.entry-title {
    line-height: 0.8;
}

.elementor-add-to-cart .awdr_discount_bar {
    background-color: #f0fafb !important;
    padding: 20px;
}

.omast_tab_hide{
        display: none !important;
    }

/*Tuotesivujen hinta tyylitys*/
/*.elementor-wc-products ul.products li.product .price del{
	display: block;
}

.elementor-wc-products ul.products li.product .price del .amount{
	font-size: 16px;
}

.woocommerce-price-suffix{
	color: #000;
}

.elementor-wc-products ul.products li.product .price ins {
	    font-weight: 400;
    margin-left: -5px;
}

.elementor-wc-products ul.products li.product .price br + ins {
	    font-weight: 400;
    margin-left: 0px;
}*/

/*Tuotesivujen hinta tyylitys loppu*/

/* rajaton-tuotesivun tyylitys*/

.rajaton-tuote #sort_customizable_table {
    color: #fff;
}

.rajaton-tuote .license-product-custom-fields label {
    color: #fff;
}

.rajaton-tuote .license-product-custom-fields #online-licence-users {
    margin-top: 20px;
}

.rajaton-tuote .sta-custom-field.licence-product-license-type {
    display: none !important;
    visibility: hidden;
}

.rajaton-tuote .awdr-bulk-customizable-table {
    display: none;
}

/* rajaton-tuotesivun tyylitys loppu*/

/* ESG-Akatemia tuosivun tyylitys*/

.esg-akatemia-koulutukset .dce-item.dce-item_image + .dce-item.dce-item_custommeta .dce-meta-item {
    top: 30%;
}

/* ESG-Akatemia tuosivun tyylitys loppuu */

#th-ip-login-button:hover {
    color: #000;
}

.esg-akatemia-hero .license-product-custom-fields {
    display: none;
}

/*@media (max-width: 544px){
.mobile-rel-up-columns-1 ul.products.bundled_products.columns-4 {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}
}*/

@media (min-width: 1024px) {

    .ekit-wid-con .elementskit-navbar-nav-default.elementskit-menu-container,
    .elementskit-navbar-nav-default.elementskit-menu-container,
    .elementskit-menu-container {
        z-index: auto;
    }
}

/*@media (max-width: 544px){
	.woocommerce-store-notice, p.demo_store{
		font-size:14px;
	}
}*/

/*omat tiedot alasvetovalikon korkeus*/
.gform_wrapper.gravity-theme .gfield select.large {
    height: 2.4rem;
}

/*rekisteröi uusi käyttäjä painikkeen tyylit*/
.card-header .accordion-block__title a,
.card-header .accordion-block__title a:active {
    display: block;
    padding-right: 1rem !important;
    position: relative;
    font-size: 1rem;
    color: #000;
}

 div.rekisteroi-kayttaja-accordion > details > summary:first-of-type{
    list-style: none !important;
}

.omast-content summary.wp-block-themeisle-blocks-accordion-item__title:before{
  content: "▼"; 
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
  margin-right: 0.5em;
	color: #000;
}

details[open] summary.wp-block-themeisle-blocks-accordion-item__title::before {
  transform: rotate(-180deg); 
}

.omast-content .wp-block-themeisle-blocks-accordion-item .wp-block-themeisle-blocks-accordion-item__title > div {
	display: inline-block;
	color:#000;
}

/* lähetä -painike, rekisteröi uusi käyttäjä -lomakkeeseen*/
.omast-content .gform_wrapper.gravity-theme .gform_footer input {
    background-color: #ff9bc8;
    font-size: 0.8rem;
}

.omast-content .gform_wrapper.gravity-theme .gform_footer input:hover {
    background-color: #ffb4d6;
}

/*Piilotetaan tuotesivulta  bundle_error joka näkyy Omakirja-tuotteilla*/

.cart.bundle_data .bundle_error {
    display: none;
}

/*Tilaus vastaanotettu-sivulta piilotetaan metat */
.page-id-8 .wc-item-meta li {
    display: none;
}

.page-id-8 .woocommerce ul.order_details li strong {
    line-height: 3.5;
}

.page-id-8 .woocommerce ul.order_details li {
    border-right: 1px solid white;
}

/*Tämä piilottaa billing info elementin thank you sivulta table.woocommerce-table.woocommerce-table--custom-fields.shop_table.custom-fields{
	display: none;
}*/

/*.awdr-bulk-customizable-table{
	font-size:16px;
}*/

#th-ip-login-button {
    font-size: 14px;
    background-color: #9cdcd9;
    padding: 10px;
    text-transform: uppercase;
    font-weight: 600;
}
#th-ip-login-button:active, #th-ip-login-button:focus{
    color: var(--e-global-color-1c1a1da);
}

.woocommerce-cart .woocommerce ul#shipping_method .amount {
    margin-right: 20px;
}

/*.elementor-element-e893a9f  .woocommerce button.button:hover{
	background-color:#4BE1D2;
	color: black;
}*/

/*p.woocommerce-LostPassword.lost_password{
	font-size: 16px;
}*/

/*.elementor-element-e893a9f .woocommerce button.button{
	margin-top: 20px;
	padding: 30px 15px;
}*/

/*.elementor-element-52b3f68 .elementor-form-fields-wrapper{
	margin-bottom: 20px !important;
}*/

.woocommerce-cart .elementor-widget-woocommerce-cart .woocommerce #shipping_method li label {
    font-family: "Poppins", sans-serif;
    color: black;
    font-size: 18px;
}

.th-tuotesivupohja-alv .woocommerce-price-suffix,
.postid-65651 #th-omavalinta-alv-text {
    display: none;
}

/* OLETUKSENA PIILOTETTAVAT
 * ELEMENTIT */
.hidden,
.bundled_item_cart_content table.variations,
.woocommerce div.product div.images .woocommerce-product-gallery__trigger,
.yith-wcan-active-filters h4,
.yith-wcan-active-filters .active-filter b,
.gform_required_legend,
.tgwc-user-info,
.tgwc-user-avatar,
.yith-wcan-filters h3,
.wp-block-st-news-list tag,
.cart_item .variation,
.elementor-menu-cart__product.bundled_table_item .product-price,
.elementor-menu-cart__product.bundled_table_item .product-remove,
ul.wc_payment_methods {
    display: none;
}

/* OLETUKSENA PIILOTETTAVAT
 * ELEMENTIT PÄÄTTYY */

label.bundled_product_optional_checkbox {
    display: block;
    width: 100%;
}

/*ostoskori css tyylittely*/
@media (min-width: 800px) {
    .e-cart-totals.e-cart-section {
        width: 50%;
        float: right;
        border-top: 1px solid white;
    }
}

/*.cart_totals h2{
	border-bottom: 1px solid #818a91;
}*/

/*Tuote-sivupohjien lajittelu-dropdownin piilotus*/
.woocommerce-ordering {
    display: none;
}

/*omavalintahylly 3-10 tuotekortin tyylitys*/
.bundled_product .details {
    height: 250px;
}

@media (max-width: 544px) {
    .bundled_product .details {
        height: 150px;
    }

    .bundled_product_excerpt.product_excerpt {
        padding: 10px;
    }
}

/*@media (max-width: 544px){
	ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details, .page-id-8 .elementor-widget-woocommerce-checkout-page table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details, section.woocommerce-customer-details{
		font-size: 14px;
	}
}
 .bundled_product_excerpt.product_excerpt p{
	margin-bottom: auto !important;
}



/*omavalintahylly 3-10 tuotekortin tyylitys päättyy*/

.woocommerce-lost-password .elementor-34728 .elementor-element.elementor-element-1242274,
.woocommerce-lost-password #th-omatTuotteetSearchInput {
    display: none;
}

/*@media (min-width: 700px){
.uael-post__content-wrap{
    height: 440px;
}
}*/

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
}

.woocommerce-page ul.products li.product .ast-woo-product-category {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
}

.entry-content ul a {
    border-bottom: none;
    border-top: none;
}

@media (min-width: 700px) {
    .elementor-widget-wc-archive-products .attachment-woocommerce_thumbnail {
        height: 200px !important;
        object-fit: contain;
        padding-top: 10px;
    }
}

@media only screen and (max-width: 700px) {
    .elementor-widget-wc-archive-products .attachment-woocommerce_thumbnail {
        height: 200px !important;
        object-fit: contain;
    }
}

@media (min-width: 700px) {
    .post-32650 .attachment-woocommerce_thumbnail {
        height: 200px !important;
        object-fit: contain;
        padding-top: 25px;
    }
}

.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.active > label > a {
    color: #000 !important;
    font-weight: 600;
}

.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item > label > a:hover {
    color: #967d96 !important;
}

input[type="checkbox"]:checked {
    accent-color: #4be1d2;
}

.elementor-menu-cart__product-image .attachment-woocommerce_thumbnail {
    max-height: 80px !important;
}

.uael-post__content-wrap {
    margin-top: -70px;
    position: relative;
    /*height: 100%;*/
    height: auto;
}

/*blogit-lätkän sijainti*/
@media (max-width: 900px) {
    .uael-post__content-wrap {
        margin-top: -62px;
    }
}

.uael-post__terms {
    padding: 10px;
}

.uael-post__terms-wrap {
    margin-left: -15px;
    margin-top: 6px;
}

/*selector .uael-post__terms-meta{

    display: inline-block;
    color: #967D96;
    padding-top: 10px;
    text-transform: uppercase;
    font-weight: 400 !important;
    font-family: 'Poppins' !important;
    line-height: 1.7 !important;
    margin-top: 10px;
    
}*/

/*.uael-post__terms-meta-tag a{
    font-size: 12px !important;
		font-family: "Poppins";
    display: inline-block;
    border: solid 1px #967D96;
    color: #967D96;
    padding: 0 0.5rem;
    text-transform: uppercase;
    font-weight: 400;
    margin-right: 0.5em;
    margin-bottom: 0.5rem;
}*/

@media (max-width: 500px) {
    .uael-post__excerpt {
        display: none;
    }
}

/*SK:Etusivun STY uutisnosto alkaa*/
.latest-posts.row {
    display: flex;
    flex-wrap: wrap;
}

.col-6 {
    position: relative;
    width: 100%;
}

.home .wp-block-st-news-list .hentry {
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
    max-width: 33.333333%;

}

body .wp-block-st-news-list img.attachment-carousel-large.size-carousel-large.wp-post-image {
    height: 220px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.wp-block-st-news-list .wp-block-button {
    padding-top: 0.4rem;
    padding-bottom: 1rem;
}

body .wp-block-st-news-list .hentry {
    background-color: white;
    margin: 1rem;
    padding: 0;
    max-width: 30%;
}

body .wp-block-st-news-list .excerpt {
    --max-lines: 3;
    max-height: 76px;
    overflow: hidden;
}



.wp-block-st-news-list .hentry__inner.clearfix {
    background-color: #fff;
    font-size: 0.8rem;
}

body .wp-block-st-news-list .latest-posts header.entry-header {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

body .hentry__inner header.entry-header > *:not(:last-child) {
    margin-bottom: 0;
}

.wp-block-st-news-list h3.entry-title {
    line-height: 1rem;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    .ast-single-post .entry-title a {
        font-size: 15px !important;
        line-height: 1.2 !important;
    }

    .ast-page-builder-template .entry-header {
        padding: 0;
    }

    .entry-meta.clearfix {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .ast-page-builder-template .entry-header {
        margin-top: 2em;
    }

    .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .wp-block-st-news-list .hentry {
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0;
    }

    .wp-block-st-news-list .wp-block-button .wp-block-button__link {
        margin-left: 0;
    }

    body .wp-block-st-news-list .hentry,
    .wp-block-st-news-list .hentry:first-child {
        max-width: 45%;
        margin: 0.6rem;
    }
}

@media (max-width: 700px) {
    .ast-single-post .entry-title a {
        font-size: 15px !important;
        line-height: 1.2 !important;
    }

    .ast-page-builder-template .entry-header {
        padding: 0;
    }

    .entry-meta.clearfix {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .ast-page-builder-template .entry-header {
        margin-top: 2em;
    }

    .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .wp-block-st-news-list .hentry {
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0;
    }

    .wp-block-st-news-list .wp-block-button .wp-block-button__link {
        margin-left: 0;
    }

    .wp-block-st-news-list .hentry:first-child {
        margin: 0;
    }

    body .wp-block-st-news-list .hentry,
    .wp-block-st-news-list .hentry:first-child {
        max-width: 100%;
        margin: 1rem 0;
    }
}

.ast-single-post .entry-title a {
    font-size: 1rem;
    font-weight: 600;
}

.entry-meta.clearfix {
    font-size: 16px;
    margin-bottom: 10px;
}

.wp-block-st-news-list time {
    padding-top: 1rem;
    color: #967d96;
}

.wp-block-st-news-list .wp-block-button .wp-block-button__link {
    padding: 10px 15px 10px 15px;
    background-color: #ffd8ec;
}

.wp-block-st-news-list .wp-block-button .wp-block-button__link:hover {
    background-color: #ffd8ec !important;
    filter: brightness(1.1);
}

#st-news-list-block_5f43d841be086 .wp-block-st-news-list .hentry .entry-meta > *,
body .wp-block-st-news-list .hentry .entry-meta > * > *,
.wp-block-st-news-list .hentry .entry-meta .date {
    font-family: "poppins", sans-serif;
    color: #000;
}

body .elementor-35180 .elementor-element.elementor-element-9573f36 > .elementor-widget-container {
    background-color: transparent;
}

.home .wp-block-st-news-list .hentry .category {
    background-color: #ff9bc8;
    padding: 16px 60px;
    float: left;
}

.home .wp-block-st-news-list .hentry__inner.clearfix {
    background-color: transparent;
}

.home .wp-block-st-news-list .hentry__inner.clearfix time.date {
    padding-left: 1rem;
    float: right;
    margin-top: -295px;
    padding-right: 1rem;
}

.home .wp-block-st-news-list h3.entry-title,
.home .wp-block-st-news-list .excerpt,
.home .wp-block-st-news-list .wp-block-button {
    padding-left: 1rem;
    padding-right: 1rem;
}


.wp-block-st-news-list .hentry .entry-meta .date {
    padding: 16px 34px;
}

/*.wp-block-st-news-list .wp-block-button__link:hover{
	background-color: #4BE1D2;
	color: #000;
}*/

/*SK:Etusivun STY uutisnosto loppu*/

input[type="submit"] {
    background-color: #4be1d2;
    font-size: 18px;
}

input[type="submit"]:hover {
    background-color: #9cdcd9;
}

.gfield_checkbox label {
    font-size: 18px !important;
    font-weight: 600;
}

.gfield_label {
    font-size: 18px !important;
    font-weight: 400 !important;
}

.gform_wrapper.gravity-theme input[type="text"],
input[type="email"],
input[type="tel"],
.gform_wrapper.gravity-theme textarea {
    border-radius: 0 !important;
    border-color: black;
    background-color: white;
}

.gform_wrapper.gravity-theme input:focus {
    border-color: #4be1d2 !important;
}

.gform_wrapper.gravity-theme .gsection {
    border-bottom: 2px solid black;
}

.publication {
    font-weight: 600;
    font-size: 18px;
    padding-top: 16px !important;
}

.entry-content ul {
    padding-left: 0 !important;
}

/*
.woocommerce form .form-row label{
	font-weight: 400;
	font-size:18px;
}*/

.woocommerce-account .woocommerce-MyAccount-content fieldset legend {
    font-size: 24px;
    padding-top: 50px;
}

.user-licenses .th_prodHeaderCollapse {
    z-index: auto;
}

.woocommerce form em {
    font-size: 14px;
}

.woocommerce button.button,
.gform_wrapper.gravity-theme .gform_footer input {
    background-color: #4be1d2;
    font-size: 16px;
    color: #000;
    padding: 10px 15px;
    font-weight: 600;
    border-radius: 0;
}

.gform_wrapper.gravity-theme h2 {
    margin-top: 50px;
    font-size: 20px;
}

.woocommerce-page {
    opacity: 1;
}

/*.woocommerce-cart td.product-name {
    font-weight: 400 !important;
}*/

/*.checkout-button{
    color: black !important;
}*/

/*.elementor-widget-wc-archive-products.elementor-wc-products .added_to_cart {
    font-size: 18px;
    font-family: 'Poppins' !important;
}*/

.gform_description,
.gfield_label {
    font-size: 18px;
}

@media (max-width: 400px) {

    .gform_description,
    .gfield_label {
        font-size: 14px;
    }
}

.gform_body {
    margin-top: 2em;
}

.term-label {
    font-size: 16px;
}

.yith-wcan-reset-filters {
    font-size: 16px;
    text-transform: uppercase;
    background-color: #9cdcd9;
    padding: 12px 18px 12px 18px;
}

.yith-wcan-reset-filters:hover {
    background-color: #4be1d2;
}

.woocommerce-result-count {
    font-size: 18px;
}

@media (max-width: 400px) {
    .woocommerce-result-count {
        font-size: 14px;
        padding-top: 20px;
    }
}

.yith-wcan-filter .filter-title {
    font-size: 22px;
}

@media (max-width: 400px) {
    .yith-wcan-filter .filter-title {
        font-size: 18px;
    }
}

/*Hakusivun margin pois - marginia käytetään artikkelit kategoriatagien nostamiseksi kuvan päälle*/
.elementor-33253 .uael-post__content-wrap {
    margin-top: 0;
}

.tgwc-account_content_jasensivu .entry-title a {
    font-size: 16px;
}

.tgwc-account_content_jasensivu .entry-meta.clearfix {
    font-size: 12px;
}

@media (max-width: 567px) {
    .elementor-widget-wc-archive-products .products {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

.th-productdate {
    font-size: 16px;
    margin-left: 28px;
}

.ast-woo-shop-product-description p {
    font-family: "Poppins";
    font-size: 13px;
}

.dce-acf-repeater-item .repeater-item {
    display: block;
    padding: 0 !important;
    text-align: center;
}

.dce-acf-repeater-item {
    padding: 10px 10px 10px 10px !important;
    text-align: center;
}

.repeater-item img {
    height: 180px;
    width: 180px;
    object-fit: cover;
}

@media (max-width: 500px) {
    .repeater-item {
        text-align: center !important;
    }
}

@media (max-width: 500px) {
    .repeater-item img {
        text-align: center !important;
    }
}

/*piilotetaan tägeistä pilkut*/
.th-tag-container .elementor-post-info__terms-list {
    color: #fff;
}

/*Ostettavien tuotteiden listaus ostoskorinäkymässä*/
body.woocommerce-page.woocommerce-checkout form #order_review td.product-name {
    display: table-cell;
}

.elementor-189 .elementor-element.elementor-element-6c33673c a:hover {
    text-decoration: underline !important;
}

/*tuotekortin päivämäärätietojen tyylitys samanlaiseksi kuin kategoria*/
.ast-woo-shop-product-description {
    margin-bottom: 10px;
    opacity: 0.6;
}

/*tuotekortin taustan maxkoko venymisen estämiseksi*/
.elementor-32974 .elementor-element.elementor-element-83502e8:not(.elementor-motion-effects-element-type-background) > .elementor-column-wrap,
.elementor-38308 .elementor-element.elementor-element-f9ad19b:not(.elementor-motion-effects-element-type-background) > .elementor-column-wrap {
    max-height: 26rem;
}

/*Tuotekortin radiobuttonit*/
.woovr-variations.woovr-variations-default {
    display: flex;
    flex-wrap: wrap;
}

.woovr-variation.woovr-variation-radio {
    margin-left: 0px;
    margin-right: 0px;
    padding-right: 15px;
}

.woovr-variation-radio.woovr-variation-selector {
    padding: 10px;
}

.woovr-variation-name {
    margin-left: -12px;
    line-height: 1;
}

/*Tuotekortin radiobuttonit end*/

/*+alv tekstin tyylit*/
.woocommerce-price-suffix {
    color: #a3a3a3;
    font-size: 12px;
}

/*alennushintojen tyylit*/
.uael-woocommerce .products li.product .price del,
.uael-woocommerce ul.products li.product .price del {
    color: #6e6e6e;
    opacity: 1;
    display: inline-block;
    font-size: 14px;
}

.woocommerce div.product p.price ins {
    font-weight: 400;
}

.woocommerce div.product p.price del {
    font-size: 14px;
}

/*alennushintojen tyylit end*/

/*jäsenalennus teksti*/
.awdr_discount_bar_content {
    font-size: 16px;
}

.awdr_discount_bar {
    padding: 0px;
}

/*jäsenalennus teksti end*/

.uael-woocommerce .products li.product .price ins,
.uael-woocommerce ul.products li.product .price ins {
    background: 0 0;
    font-weight: 400;
    display: inline-block;
    margin-left: 0px;
}

/* Onlinehakutuloksen tyylitykset*/
#th-productsearchresults {
    width: 100% !important;
    color: #212529;
    font-size: 18px;
}

.th-prodsearchItemContent {
    margin: 20px;
}

.th-prodsearchItemImage {
    margin: auto;
}

.relevanssi-query-term, .hl {
  color: #000;
    font-weight: 800;
}

.entry-content .th-prodsearchItemContent h4{
     font-weight: 800;
}

.th-prodsearchItemContent{
    width: 70%;
}

#th-productsearchresults .th-julkaisutColumn li, #th-julkaisutTab .th-julkaisutColumn li{
    margin-bottom: 0;
    border-bottom: 3px solid var(--ast-global-color-3);
    padding: 2rem;
}

.entry-content #th-julkaisutTab .th-prodsearchItem a{
    text-decoration: none;
border-bottom: none;
}

/*omavalintahyllyn tyylitys*/
.details {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    flex-wrap: wrap;
    text-align: center;
}

:is(.elementor-widget-woocommerce-product-add-to-cart,
    .woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,
    .elementor-widget-wc-add-to-cart,
    .woocommerce div.product .elementor-widget-wc-add-to-cart) form.cart .button:where(:not(:first-child)),
:is(.elementor-widget-woocommerce-product-add-to-cart,
    .woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,
    .elementor-widget-wc-add-to-cart,
    .woocommerce div.product .elementor-widget-wc-add-to-cart) form.cart button:where(:not(:first-child)) {
    margin-left: 0px;
}

.button.th-add-to-bundle-optional.selected {
    background-color: #a0b4b4 !important;
}

/*kassalomakkeen lisäkentät saman levyisiksi kuun muu lomake*/
.e-checkout__container .col-1 .woocommerce-additional-fields {
    padding: 0;
}

/*kassan ja ostoskorin tyylitykset*/
div.shipping_address,
#ship-to-different-address {
    padding-left: 0px !important;
}

.woocommerce ul#shipping_method .amount {
    font-weight: 400;
}

@media (min-width: 800px) {
    .elementor-widget-woocommerce-checkout-page #ship-to-different-address span {
        font-size: 36px;
    }
}

/*Woocommerce message tyylitys*/
/*
.elementor-widget-woocommerce-cart .cart-empty.woocommerce-info, .woocommerce-info{
	border-top-color: #f7f6f7;
	border-left: 6px solid #9CDCD9;
	font-family: "poppins", sans-serif;	
	background-color: #F0FAFB;
}
.elementor-widget-woocommerce-cart .cart-empty.woocommerce-info::before, .woocommerce-info::before {
	color: #9CDCD9;
}*/

a.button.wc-backward.wp-element-button {
    background-color: #9cdcd9;
    color: #212529;
    font-family: "poppins", sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

/*Huom. ei tarvita kun elemenstkit poistuu*/
/*Kirjaudu sisään - kapean menun tyylitys*/
#menu-item-33062 .elementskit-megamenu-panel.ekit-dropdown-open-onclick {
    top: 80px;
    width: 30vw !important;
    right: -3px;
    left: auto;
    padding-left: 1px;
    padding-right: 1px;
}

/* Tilaus vastaanotettu - sivun tyylitykset*/
.elementor-33028 .elementor-element.elementor-element-38b9974 {
    font-family: "poppins", sans-serif;
    color: #212529;
    font-size: 18px;
}

.elementor-33028 .woocommerce-order-details,
.woocommerce-customer-details {
    border: 1px solid #212529;
}

.woocommerce-thankyou-order-details {
    font-size: 18px;
}

.elementor-33028 .woocommerce table.shop_table .woocommerce-Price-amount,
.woocommerce-page table.shop_table .woocommerce-Price-amount {
    font-weight: 600;
    color: #212529;
}

.elementor-33028 tbody .woocommerce-Price-amount bdi {
    font-weight: 400;
}

.elementor-widget-woocommerce-checkout-page .woocommerce .shop_table tfoot th {
    font-weight: 600;
    color: #212529;
}

.elementor-widget-woocommerce-checkout-page table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details {
    font-size: 16px;
}

a.added_to_cart.wc-forward {
    font-size: 18px;
    padding-left: 10px;
}

a.checkout-button.button.alt.wc-forward {
    color: #000;
}

/*Ostoskorin poista-rastin muotoilu*/
.elementor-widget-woocommerce-cart .woocommerce a.remove {
    height: 23px;
    margin-right: 10px;
    width: auto;
    border: none;
}

*/ .sta-custom-field {
    align-items: center;
}

/*slide-ostoskorin kappalemäärä painikkeen pienennys*/
.quantity.buttons_added input[type="number"] {
    width: 50px;
    padding: 0.2em;
}

/*Kassalomakkeen uusien fieldien paddingit pois*/
.woocommerce-additional-fields {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.woocommerce form .form-row label {
    font-weight: 400;
    font-size: 18px;
}

/*Tuotteiden sisällysluettelo-välilehden multilevel-listojen numerointi*/
.elementor-tab-content ol {
    list-style-type: none;
    counter-reset: item;
    margin: 0;
    padding: 0;
    display: table;
}

.elementor-tab-content ol > li {
    display: table-row;
    counter-increment: item;
    margin-bottom: 0.6em;
}

.elementor-tab-content ol > li:before {
    content: counters(item, ".") ". ";
    display: table-cell;
    padding-right: 0.6em;
}

/*ostoskorin mobiilinäkymän tyylitys*/
@media (max-width: 767px) {
    .elementor-32969 .elementor-widget-woocommerce-cart .woocommerce table.cart tr {
        padding: 6px 20px;
    }
}

@media (max-width: 767px) {
    .elementor-widget-woocommerce-cart .woocommerce table.cart img {
        display: none;
    }
}

/*Hyllytuotteiden sivupohjan tyylitys*/

li.bundled_product.bundled_product_summary.product.bundled_item_optional {
    padding: 20px;
}

.bundled_product_title_inner {
    font-size: 18px;
}

.bundled_product_optional_checkbox {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 20px;
}

body .bundled_product_excerpt.product_excerpt {
    font-size: 14px;
}

h4.bundled_product_title.product_title {
    line-height: 1;
}

select#th_ovhselect {
    padding: 10px;
    width: 50px;
}

input#th_online-licence-type_single,
input#th_online-licence-type_ip {
    margin-right: 10px;
}

.cart .bundle_data {
    font-size: 20px;
}

body .cart.bundled_item_cart_content.variations_form.bundled_item_cart_content--populated {
    display: none !important;
}

.bundle_data .bundled_product.disabled {
    opacity: 0.5;
}

/*Hyllytuotteiden sivupohjan tyylitys päättyy*/

/*IP tai hlökoht käyttöoikeus -addtocart elementti*/
:is(.elementor-widget-woocommerce-product-add-to-cart,
    .woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,
    .elementor-widget-wc-add-to-cart,
    .woocommerce div.product .elementor-widget-wc-add-to-cart) form.cart.variations_form .woocommerce-variation-add-to-cart,
:is(.elementor-widget-woocommerce-product-add-to-cart,
    .woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,
    .elementor-widget-wc-add-to-cart,
    .woocommerce div.product .elementor-widget-wc-add-to-cart) form.cart:not(.grouped_form):not(.variations_form) {
    flex-wrap: wrap;
    font-size: 16px;
}

/*Onlinehylly tuotekortin tyylitys*/
.bundled_product_images img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail.wp-post-image {
    height: 150px;
    width: auto;
    margin: auto;
}

form.cart.cart_group.bundle_form.layout_default.group_mode_parent.grouped_form.initialized {
    padding-top: 50px;
}

/*Huom. voi poistaa kun elkit on korvattu*/
/*megamenun tyylitys pienellä näytöllä ennen tabletin breakpointia*/
@media only screen and (max-width: 1240px) and (min-width: 1021px) {
    ul#menu-st_valikko a.ekit-menu-nav-link.menu-link {
        padding: 0px 10px 0px 10px;
        font-size: 13px;
    }
}

/* LD-tyylit*/

.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation-heading h3 {
    font-weight: 600;
}

.learndash-wrapper .ld-course-navigation .ld-lesson-item.ld-is-current-lesson .ld-lesson-title {
    color: #00a2e8;
    font-weight: 600;
}

.learndash-wrapper .ld-course-navigation .ld-status-icon.ld-status-incomplete {
    border: 2px solid #aaa;
}

.learndash-wrapper .ld-table-list .ld-table-list-header {
    background-color: #9cdcd9;
}

.learndash-wrapper .ld-button {
    font-weight: 600;
}

.learndash-wrapper .ld-button:hover,
.learndash-wrapper .ld-button:focus {
    opacity: 0.75;
}

.learndash-wrapper .wp-block-button .wp-block-button__link {
    border-color: var(--ast-global-color-0);
    background-color: #4be1d2 !important;
    color: #000000;
    font-size: 18px;
    font-weight: 600;
    border-radius: 0px;
    margin-bottom: 1.75em;
}

.learndash-wrapper .wp-block-button__link.wp-element-button:hover,
.learndash-wrapper .wp-block-button .wp-block-button__link:focus {
    filter: brightness(1);
    opacity: 0.75;
}

.learndash-wrapper .wp-block-group {
    padding-top: 0;
    padding-bottom: 1em;
}

.note-header .nt-close-icon {
    padding: 3px;
}

.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-title .ld-item-components {
    font-weight: 600;
}

.learndash-wrapper .ld-expand-button.ld-button-alternate .ld-icon {
    height: 24px;
    line-height: 14px;
    padding: 6px 8px 8px 4px;
    text-align: center;
    width: 24px;
}

.learndash-wrapper .ld-expand-button .ld-text {
    font-weight: 600;
}

.learndash-wrapper .ld-icon-arrow-down.ld-icon.ld-primary-background {
    line-height: 1;
}

::marker{
    rotate: 90deg;
    transform: rotate(90deg);
}

.learndash-wrapper #sfwd-mark-complete::after,
.learndash-wrapper .sfwd-mark-complete::after {
    color: #000;
}

.learndash-wrapper .ld-focus .ld-focus-sidebar a.ld-table-list-item-preview .ld-topic-title:hover,
.learndash-wrapper .ld-focus .ld-focus-sidebar a.ld-table-list-item-preview .ld-status-icon:hover {
    color: #000000 !important;
}

.learndash-wrapper .ld-course-navigation .ld-lesson-item-preview .ld-lesson-title:hover,
.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-lesson-item-preview .ld-status-icon:hover {
    color: #000000 !important;
}

.learndash-wrapper .ld-status-icon .ld-icon {
    font-size: 18px !important;
}

.learndash-wrapper figure {
    margin: 0 0 2em;
}

body .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu {
    display: none;
}

.ld-item-list-item-preview .ld-item-details .ld-expand-button.ld-button-alternate .ld-text.ld-primary-color {
    display: none;
}

.learndash-wrapper .ld-course-navigation .ld-table-list.ld-topic-list .ld-table-list-item .ld-table-list-item-preview.ld-is-current-item .ld-topic-title {
    font-weight: 600;
}

.elementor-kit-11 .elementor-widget-wrap input[type="submit"] {
    border-radius: 2px;
    padding: 15px 30px;
}

.elementor-kit-11 .elementor-widget-wrap input[type="submit"]:hover {
    background-color: #4be1d2;
    filter: brightness(1.1);
    transition: all 0.3s linear;
}

.learndash-wrapper .ld-content-action .ld-button:hover:not(.learndash-link-previous-incomplete):not(.ld-button-transparent),
.learndash-wrapper .ld-content-action .ld-button:not(.ld-button-reverse):not(.learndash-link-previous-incomplete):not(.ld-button-transparent) {
    background-color: #fff !important;
    font-size: 14px;
}

.ld-lesson-list-progress {
    display: none;
}

/* piilotetaan LD-tehtavien kommenteista palikoita*/

.ld-comment-wrapper .avatar {
    display: none;
}

body .learndash-wrapper .ld-focus-comment.bypostauthor.ptype-sfwd-assignment > .ld-comment-wrapper {
    padding: 20px;
}

.learndash-wrapper .ld-comment-reply {
    display: none;
}

.learndash-wrapper #ld-comments-form {
    display: none;
}

/* Piilotetaan Learndashista merkitse-suoritetuksi-painikkeet, muistiinpanot, jatka-mihin-jait linkkikirjautuneilta, organisaatiokayttajilta*/

.organization-user .ld-status-icon.ld-status-incomplete,
.link-login-user .ld-status-icon.ld-status-incomplete {
    display: none !important;
    visibility: hidden;
}

.organization-user .ld-status-icon.ld-status-complete,
.link-login-user .ld-status-icon.ld-status-complete {
    display: none !important;
    visibility: hidden;
}

.organization-user .ld-course-resume.ld-button,
.link-login-user .ld-course-resume.ld-button {
    display: none !important;
    visibility: hidden;
}

.organization-user .learndash-resume-button,
.link-login-user .learndash-resume-button {
    display: none !important;
    visibility: hidden;
}

.organization-user .th-course-completed-button,
.link-login-user .th-course-completed-button {
    display: none !important;
    visibility: hidden;
}

.organization-user .sfwd-mark-complete,
.link-login-user .sfwd-mark-complete {
    display: none !important;
    visibility: hidden;
}

.organization-user .nt-note-tab.bottom.ldnt-style-tab.ldnt-new-note,
.link-login-user .nt-note-tab.bottom.ldnt-style-tab.ldnt-new-note {
    display: none !important;
    visibility: hidden;
}

/* Learndash koulutuksen etusivu - Suoritusilmoitusten asetukset */

.ld-suoritukset .elementor-shortcode:empty {
    display: none;
}

.ld-suoritukset .elementor-shortcode {
    background-color: var(--e-global-color-21764fb);
    padding: 30px;
    margin: 0 0 40px 0;
    text-align: center;
}

.ld-suoritukset .elementor-widget-shortcode:first-child {
    margin: 0 0 -30px 0;
}

.ld-suoritukset .elementor-widget-shortcode:last-child {
    margin: -30px 0 0 0;
    font-weight: 600;
}

/* Learndash koulutuksen etusivu - Suoritusilmoitusten asetukset ei-todistusta -sivupohjalle */

.ld-suoritukset-ei-todistusta .elementor-shortcode:empty {
    display: none;
}

.ld-suoritukset-ei-todistusta .elementor-shortcode {
    background-color: var(--e-global-color-21764fb);
    padding: 30px;
    margin: 0 0 40px 0;
    text-align: center;
}

.ld-suoritukset-ei-todistusta .elementor-widget-shortcode {
    margin: 0 0 -30px 0;
}

/* Learndash kokeen todistus-painikkeen piilotus*/

.wpProQuiz_certificate {
    display: none !important;
}

/* Learndash koulutuksen etusivu - Jatka-painike */

.ld-etusivu-jatka-painike .ld-course-resume.ld-button {
    margin-left: 0;
    max-width: 85%;
}

.pohja2024 .ld-etusivu-jatka-painike .ld-course-resume.ld-button {
    margin-bottom: 2em;
}

/* Learndash koulutuksen etusivu - Sisalto */

.learndash-wrapper .ld-item-list.ld-lesson-list .ld-lesson-progression .ld-topic-list .ld-table-list-header {
    padding: 20px;
}

.learndash-wrapper .ld-item-list.ld-lesson-list .ld-lesson-progression .ld-topic-list .ld-table-list-item {
    margin: 0;
}

.learndash-wrapper .ld-lesson-progression .ld-topic-list.ld-table-list .ld-table-list-lesson-details {
    display: none;
}

/* Learndash koulutuksen etusivu */

.koulutus-hero .elementor-shortcode {
    color: #fff;
}

.ld-icon.ld-icon-download {
    margin-right: 8px;
}

@media (max-width: 640px) {
    .learndash-wrapper .ld-topic-list.ld-table-list .ld-table-list-lesson-details {
        margin: 1em 0em;
    }

    .learndash-wrapper .ld-topic-list.ld-table-list .ld-table-list-lesson-details .ld-lesson-list-progress {
        width: 65%;
    }
}

/* Piilotetaan linkkikirjautuneilta ja IP-kirjautuneilta muistilaput learndash jaksoista */

.link-login-user .nt-note-tab.bottom,
.organization-user .nt-note-tab.bottom {
    display: none !important;
}

/* Rajaton-sivu koulutuksen kesto*/

.has-post-thumbnail .dce-post-block {
    position: relative;
}

.dce-item.dce-item_image + .dce-item.dce-item_custommeta .dce-meta-item {
    position: absolute;
    top: 25%;
    right: 0;
    padding: 5px 10px;
}

/*403 sivun shortcoden tyylitys*/
.th-display-error {
    font-size: 3rem;
    text-align: center;
    line-height: 1;
    padding-top: 2rem;
}

/* rajaton-sivun tyylit */

.dce-post-block li.dce-term-item {
    display: inline-block;
}

.rajaton-list .elementor-button-text.elementor-inline-editing::before {
    content: ">";
    margin: 0 5px 0 0;
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
}

/*Merkitse kurssi suoritetuksi -nappi*/
button.th-course-completed-button {
    background-color: #000;
    color: #fff;
}

button.th-course-completed-button:hover {
    background-color: #808080;
}

button.th-course-completed-button.th-course-completed-button-error:after {
    content: "Virhe";
}

/*
	Tilat:
	button.th-course-completed-button.th-course-completed-button-processing,
	button.th-course-completed-button.th-course-completed-button-completed,
	button.th-course-completed-button.th-course-completed-button-error
*/

/*piilotetaan muistiinpanot ip-käyttäjiltä
.ip-user a[href="/muistiinpanot/"] {
  display:none !important;
}
*/

/*piilotetaan muistiinpanot kaikilta käyttäjiltä*/
a[href="/muistiinpanot/"] {
    display: none !important;
}

/*vimeo-videon katsottu-teksti videon alle - yliajetaan astra-teeman tyyli*/
.vimeo-watched {
    position: relative !important;
}

/*kirjaudu-sivun ip-kirjautumisnappi*/
.entry-content #th-ip-login-button {
    margin-top: 20px;
    display: inline-block;
}

/* Piilotetaan "Hallinnoi Käyttöoikeuksia menusta ip-käyttäjiltä*/

.ip-user .hide-from-ip-user {
    display: none !important;
}

body.organization-user .hide-from-organization-users {
    display: none !important;
}

/*PW: Composite Products alkaa */

.product-type-composite .component_data {
    float: none !important;
    padding: 0px !important;
    margin-top: 15px !important;
}

.product-type-composite .composited_product_details_wrapper {
    display: flex !important;
    flex-direction: column !important;
}

.product-type-composite .variations {
    width: 300px !important;
}

.product-type-composite .composited_product_details_wrapper .details.component_data {
    text-align: start !important;
    align-items: start !important;
    justify-content: flex-start !important;
}

.product-type-composite #pa_producttype,
#huonetyyppi {
    border-radius: 0px;
    font-size: 15px;
    border: 1px solid #ddd;
}

/*
 * RÖ: piilotetaan hinta ja lukumäärä composite products -tuotteista
 */
.composite_data .license-product-custom-fields {
    display: none;
}

.composite_data .composite_wrap .quantity {
    display: none;
}

.product-type-composite.product .th-tuotesivupohja-alv + div {
    display: none;
}

.product-type-composite.product .th-bundle-info .th-tuotesivupohja-alv + div {
    display: flex !important;
}

.product-type-composite.product .th-tuotesivupohja-alv .amount {
    text-decoration: line-through;
}

.th-bundle-price .price {
    display: none !important;
}

/*PW: Kesäpäivä fonttikoot / Media kyselyissä mukana myös composite productsin alasvetovalikot */
.product-type-composite .elementor-section-wrap {
    font-size: 18px;
}

@media (min-width: 320px) and (max-width: 768px) {

    .product-type-composite .elementor-section-wrap,
    .product-type-composite .component .component_options_select {
        font-size: 14px;
    }
}

@media (min-width: 768px) and (max-width: 1020px) {

    .product-type-composite .elementor-section-wrap,
    .product-type-composite .component .component_options_select {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .elementskit-parallax-multi-container.elementor-section.elementor-section-boxed > .elementor-container {
        max-width: 767px;
        display: grid !important;
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .elementor-column.elementor-col-33.elementor-inner-column.elementor-element.elementor-element-23c680bb,
    .elementor-column.elementor-col-33.elementor-inner-column.elementor-element.elementor-element-2f078c75,
    .elementor-column.elementor-col-33.elementor-inner-column.elementor-element.elementor-element-767a4934,
    .elementor-column.elementor-col-33.elementor-inner-column.elementor-element.elementor-element-4e488d7f,
    .elementor-column.elementor-col-33.elementor-inner-column.elementor-element.elementor-element-764a6c4c,
    .elementor-column.elementor-col-33.elementor-inner-column.elementor-element.elementor-element-5125870c {
        width: 100%;
    }

    [data-id="4b2ede7a"] ul.products.ekit-woo-product-list-widget {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
}

.product_tag-hyllytuote .elementor-element-19f3bf5 .up-sells .price span,
.product_tag-hyllytuote .up-sells .woocommerce-price-suffix {
    display: none;
}

/*SK: vaihda salasana-sivun buttontyyli*/
.elementor-element-e893a9f .woocommerce button.button {
    padding: 13px 18px;
}

/* dokumenttityökalun tyylit */

body.single-documents {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
}

.single-documents #th-input-container,
.single-documents #th-document-action-buttons {
    font-size: 1em;
}

.single-documents button,
.single-documents input,
.single-documents select,
.single-documents textarea,
.single-documents .ast-button,
.single-documents .ast-custom-button {
    font-family: "Poppins", sans-serif;
    font-size: 1em;
    line-height: 1.5;
}

.single-documents .site-main {
    max-width: 940px;
    margin: 4em auto;
}

.single-documents .site-content {
    background-image: linear-gradient(to right,
            #22323f,
            #273846,
            #2b3e4e,
            #304555,
            #354b5d,
            #354b5d,
            #354b5d,
            #354b5d,
            #304555,
            #2b3e4e,
            #273846,
            #22323f);
}

.single-documents h1,
.single-documents .entry-content h1,
.single-documents h2,
.single-documents .entry-content h2,
.single-documents h3,
.single-documents .entry-content h3,
.single-documents h4,
.single-documents .entry-content h4,
.single-documents h5,
.single-documents .entry-content h5,
.single-documents h6,
.single-documents .entry-content h6 {
    margin-bottom: 1em;
}

.single-documents .entry-header h1 {
    color: #fff;
    font-size: 2rem;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 0 0;
}

.single-documents .entry-meta {
    display: none;
}

#th-input-container h1 {
    text-align: right;
    display: block;
    background: none;
    text-transform: uppercase;
    font-size: 1em;
    color: #999;
    letter-spacing: 2px;
    padding: 20px 0 0 0;
}

.single-documents #th-input-container {
    background-color: #fcfcfc;
    padding: 0 30px 30px 30px;
    border: 1px solid #fff;
    margin: 0 0 20px 0;
    box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.85);
    border-radius: 10px;
}

.single-documents #th-input-container fieldset {
    padding: 0px 20px 10px 20px;
    margin: 20px 0 0;
    border-radius: 10px;
}

#th-input-container fieldset legend {
    font-weight: 600;
    font-size: 1em;
    padding: 0 10px;
}

.single-documents #th-input-container .th-page div > div {
    margin-bottom: 0.5rem;
}

#th-input-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

#th-input-container input[type="radio"] {
    width: 18px;
    height: 18px;
}

#th-input-container input[type="checkbox"] + label {
    padding-left: 0;
    display: block;
    margin-left: 30px;
    margin-top: -25px;
}

#th-input-container input[type="radio"] + label {
    padding-left: 0;
    display: block;
    margin-left: 30px;
    margin-top: -25px;
}

#th-download-btn {
    float: right;
}

/* dokumenttityökalu dokumentti */
#th-document-container h1 {
    font-size: 2rem;
    font-weight: 600;
}

#th-document-container h1 {
    font-size: 2rem;
    font-weight: 600;
}

#th-document-container h2 {
    font-size: 1.5em;
    font-weight: 600;
}

#th-document-container h3 {
    font-size: 1em;
    font-weight: 600;
}

#th-document-container .data-type {
    color: red;
    font-weight: 600;
    margin-top: -1.5em;
    margin-left: 20px;
}

#th-document-container h2 {
    margin-top: 2em;
}

.th-hidden {
    display: none !important;
}

/* Suoritemerkit */

.ld-achievements {
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
}

.thld-achievement {
    border: 1px solid #9cdcd9;
    padding: 30px 20px 0;
    width: 32%;
    background: linear-gradient(353deg, rgb(255, 255, 255) 0%, rgb(247, 252, 251) 100%);
    box-shadow: 0px 10px 30px #eee;
}

.ld-achievement-image.ld-achievement-tooltip {
    display: flex;
    margin: 0 0 30px 0;
}

.ld-achievements .ld-achievement-image img {
    border-radius: 50%;
    margin: 0 auto;
    width: 128px;
}

h2.thld-achievement-title {
    font-size: 1em;
}

h2.thld-achievement-title {
    font-size: 1em;
    text-align: center;
    margin-bottom: 30px;
}

.thld-achievement-date {
    text-align: center;
    margin-bottom: 30px;
}

.thld-achievement-date a {
    padding: 10px 20px;
    background-color: #4be1d2;
    display: inline-block;
    margin: 0 0;
}

.thld-achievement-date a:hover {
    color: #000000;
    background-color: #9cdcd9;
}

/* Suosikit */

.thgrid-wrapper-grid .thgrid-post-block {
    height: auto !important;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
}

.thgrid-item.thgrid-item_title .thgrid-post-title {
    padding: 20px 20px 0 20px;
    font-family: "Poppins", Sans-serif;
    font-size: 18px;
    font-weight: 600;
    display: inline-block;
}

.thgrid-item.thgrid-item_content {
    display: none;
}

.thgrid-post-content {
    padding: 0px 20px 0 20px;
    font-size: 18px;
}

.thgrid-item.thgrid-item_readmore .thgrid-post-button a {
    background-color: #9cdcd9;
    display: inline-block;
    padding: 18px 18px 19px 18px;
    margin: 0 20px 20px 20px;
}

.thgrid-item.thgrid-item_readmore .thgrid-post-button a:hover {
    background-color: #4be1d2;
    color: #000;
}

.thgrid-item.thgrid-item_removefav .th-removefav-button {
    background-color: transparent;
    font-size: 16px;
    font-weight: 400;
    color: #999;
    padding: 0px;
    margin: 0 20px 20px 20px;
    text-transform: initial;
}

.thgrid-item.thgrid-item_removefav .th-removefav-button:hover {
    color: #4be1d2;
}

/* suosikit järjestys */

.thgrid-item.thgrid-item_courseprogress {
    padding: 5px 20px 5px 20px;
    order: 2;
    background-color: #9cdcd9;
    font-size: 16px;
    color: #fff;
}

.thgrid-item_image {
    order: 1;
}

.thgrid-item.thgrid-item_title {
    order: 3;
    display: flex;
    margin: 0 0 auto 0;
}

.thgrid-item.thgrid-item_readmore {
    order: 4;
}

.thgrid-item.thgrid-item_removefav {
    order: 5;
}

li.th-single-license:before {
    margin-left: 18px;
    background: var(--ast-global-color-0);
    padding: 5px;
    font-size: 11px;
    content: "Henkilökohtainen lisenssi";
}

.link-login-user li.th-single-license:before {
    margin-left: 18px;
    background: var(--ast-global-color-0);
    padding: 5px;
    font-size: 11px;
    content: "Organisaatiolisenssi";
}

li.th-ip-license:before {
    content: "Organisaatiolisenssi";
    margin-left: 18px;
    background: var(--ast-global-color-0);
    padding: 5px;
    font-size: 11px;
}

@media (max-width: 500px) {

    li.th-ip-license:before,
    li.th-single-license:before {
        padding: 6px;
        font-size: 6px;
    }
}

.omast-content summary.wp-block-themeisle-blocks-accordion-item__title{
    cursor: pointer;
}

/*piilota hallinnoi käyttöoikeuksia -sivulla Rekisteröi käyttäjä -lomake*/
.tgwc-account_content_hallinnoi-kayttoikeuksia .collapse {
    display: none;
}


.omast-content .th-jasentiedote-nosto .category {
    display: none;
}

.omast-content{
    margin-top: 2rem;
}

#suorituksetth-raportHeaderDiv > div > p {
    margin-right: 1rem !important;
}


.omast-content .gform_wrapper.gravity-theme h1 {
    border-top: 0;
}

.omast-content summary.wp-block-themeisle-blocks-accordion-item__title {
    width: 30%;
    background-color: #9CDCD9;
    padding: 20px;
}

.omast-content .gform-body h1:first-of-type {
    margin-top: 0;
    padding-top: 0;
}



.omast-content .accordion-block__content {
    padding: 0;
}
    

h2.licensesBlock {
    margin-top: 3rem !important;
}

div.rekisteroi-kayttaja-accordion {
    margin-bottom: 6rem;
    margin-top: 2rem;
}

/*details > summary.wp-block-themeisle-blocks-accordion-item__title:after {
    content: "";
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #000;
    position: absolute;
    left: 280px;
    margin-top: -20px;
}

details open > summary.wp-block-themeisle-blocks-accordion-item__title:after {
    content: "";
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #000;
    position: absolute;
    left: 280px;
    margin-top: -20px;
}*/

details > summary:first-of-type{
    list-style: inside disclosure-closed !important;
}



details[open] > summary:first-of-type{
    list-style: inside disclosure-open !important;
}

.wp-block-themeisle-blocks-accordion-item__title > div{
    margin-left: 2rem;
    margin-top: -27px;
}
select#license-sort-order{
    padding:0.4rem 1rem 0.7rem;
}

.th-prodsearchItemContent p:last-child:after{
    content: "»";
    font-weight: 600;
    color: var(--ast-global-color-1);
    font-size: 1.2rem;
}

 
.site-id-3 .omast-content h2,
.site-id-3 .omast-content h3,
#th-raportHeader h3 {
    font-weight: 700;
    font-size: 1.4rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.site-id-3 .omast-content .tuotetiedot h2{
    font-size: 18px;
}

#educationTable a {
    padding: 10px;
    background-color: #9cdcd9;
    text-transform: uppercase;
    font-size: 0.8rem;
    white-space: nowrap;
}



#educationTable a:hover,
#educationTable a:active, #educationTable a:focus, button a:focus {
    color: #212529;
}

#educationTable a:before {
    font-family: "Font Awesome 5 Free";
    content: "\f019  ";
}

button#raportFilterBtn {
    padding: 22px 23px;
}

button#suorituksetraportFilterBtn,
button#ilmoittautumisetraportFilterBtn {
    padding: 22px;
}

.omast-content button.th-raportPrintBtn {
    padding: 22px 23px;
}

.ld-achievements {
    display: flex;
}

body .omast-content .wp-block-st-news-list .hentry:nth-of-type(1),
body .omast-content .wp-block-st-news-list .hentry:nth-of-type(2) {
    max-width: 46%;
    width: 46%;
}

body .elementor-widget-th_list_favorites .omast-content .wp-block-st-news-list .hentry,
body .elementor-widget-th_list_licenses .omast-content .wp-block-st-news-list .hentry {
    flex: 1 0 33.333333%;
}

.elementor-widget-th_list_favorites .thgrid-posts-wrapper.thgrid-wrapper-grid,
.elementor-widget-th_list_licenses .thgrid-posts-wrapper.thgrid-wrapper-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px 30px;
        list-style: none;
        padding: 0;
        margin: 0;
        flex-grow: 1;
}

@media (max-width: 768px) {
    .elementor-widget-th_list_favorites .thgrid-posts-wrapper.thgrid-wrapper-grid,
    .elementor-widget-th_list_licenses .thgrid-posts-wrapper.thgrid-wrapper-grid {
        grid-template-columns: 1fr;
    }
}


.th-hasaccess.ast-article-single.thgrid-post.thgrid-post-item.thgrid-item-grid.animate {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex: 0 0 33.333333%;
}

.omast-content .latest-posts.row.st {
    margin: -1rem;
}

.th-lnkd-suoritemerkki .elementor-widget-container {
    text-align: center;
}

.th-lnkd-suoritemerkki img {
    width: 200px;
    height: auto;
}

.ld-achievements .ld-achievement-image img {
    height: 128px;
    object-fit: cover;
}

.omast-content .gform_wrapper.gravity-theme h1 {
    font-weight: 700;
    font-size: 1.4rem;
    padding-top: 3rem;
    margin-bottom: 10px;
}

.omast-content .gform_wrapper.gravity-theme h3 {
    font-weight: 500;
    font-size: 1rem;
}

.omast-content .gform_wrapper.gravity-theme .gsection {
    border: none;
}

.omast-content div#gform_fields_7 {
    margin-top: -3rem;
}

.omast-content .gform_wrapper.gravity-theme .gfield_description {
    color: #808285;
    font-style: italic;
}

.thld-achievement-date a {
    background-color: #9CDCD9;
    font-family: "Poppins", Sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
}

button a:hover,
.thld-achievement-date a:hover,
.card-header .accordion-block__title a:hover {
    color: #212529 !important;
    background-color: #4BE1D2;
}
.licenses-header{
    margin-bottom: 1rem;
}

div.th-prodsearchItem{
display: flex; 
flex-wrap: nowrap;
}

@media (min-width: 1021px) and (max-width: 1180px){
    #licensegroupsdesktop .tuotteet-listaus a{
        font-size: 13px;
    }
    #licensegroupsdesktop .tuotteet-listaus li{
        padding-left: 1rem;
    }
    ul.tuotteet-listaus.rajaton-listaus{
        width: 240px;
    }
}


@media (max-width: 1020px){
    .elementor-widget-container nav ul.tuotecontainer{
        grid-template-columns: 1fr 1fr 1fr;
    }
        #licensegroupsdesktop {
        display: none;
    }
    #licensegroupsmobile + .select2, #licensegroupsmobile + .select2 + .rajaton-listaus {
    display: block !important;
}
    #licensegroupsmobile + .select2,ul.tuotteet-listaus.rajaton-listaus{
        width: 100% !important;
    border-color: #212529;
    border-width: 1px 1px 1px 1px;
    border-radius: 0px;
    }
      h3.valittu-tuotekategoria {
        display: block !important;
        border-bottom: 2px solid #4be1d2 !important;
        font-size: 1.8rem !important;
        text-align: center !important;
            margin-bottom: 3rem;
            margin-top: 3rem;
    }
.licenses-header > h3 {
    float: none !important;
}
    span.select2-selection.select2-selection--single{
    border-color: #212529 !important;
    border-width: 2px !important;
    border-radius: 0 !important;
    }
    span#select2-licensegroupsmobile-container{
        font-size: 0.8rem;
    font-weight: 600;
    text-align: left;
        color: #212529;
        padding: 0.5rem;
    }
    span.select2.select2-container.select2-container--default:before{
        content: "Valitse";
        text-align: left;
        margin-bottom: 0.6rem;
        display: block;
        font-size: 0.9rem;
    }
    #select2-licensegroupsmobile-results > .select2-container--default .select2-results__option--highlighted[data-selected]{
        background-color: var(--ast-global-color-1);
    }
    .th-prodsearchItemContent{
    width: 100%;
}
    .th-prodsearchItemImage{
        text-align: center;
    }
    input.hasDatepicker{
        width: 20%;
    }
  
    
}

@media (max-width: 768px) {
    h3.valittu-tuotekategoria{
        float: none;
    }
    .th-prodsearchItemContent{
        margin: 0.6rem 0;
    }
    .omast-content summary.wp-block-themeisle-blocks-accordion-item__title{
        padding: 10px;
        font-size: 0.9rem;
    }

  body .wp-block-st-news-list .hentry, .wp-block-st-news-list .hentry:first-child{
        max-width: 100%;
        margin: 1rem 0;
    }
    div.th-prodsearchItem{
        display: block;
    }
    .omast-tabs {
        flex-wrap: wrap;
        border-bottom: 0;
    }
    .elementor-widget-container nav ul.tuotecontainer{
        grid-template-columns: 1fr;
    }

    body .site .site-content #primary .ast-article-single.omast-tabs-container .wp-block-st-news-list .th-jasentiedote-nosto .hentry {
        padding: 0.4rem;
    }
    
    .wp-block-st-news-list .latest-posts.row.st{
        display: grid;
        grid-template-columns: 1fr 1fr;
         column-gap: 10px;
        row-gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    body .wp-block-st-news-list img.attachment-carousel-large.size-carousel-large.wp-post-image{
        height: 150px;
    }


    .wp-block-st-news-list .hentry {
        flex: 0 0 100%;
        padding: 0.4rem;
    }
    .omast-content summary.wp-block-themeisle-blocks-accordion-item__title {
    width: 85%;
}


    body .omast-content .wp-block-st-news-list .hentry:nth-of-type(1),
    body .omast-content .wp-block-st-news-list .hentry:nth-of-type(2) {
        width: 100%;
        max-width: 100%;
    }

    .omast-tabs li {
        flex-grow: 1;
        width: 100%;
        border-bottom: 2px solid #000;
        border-bottom: 2px solid #000;
    }

    #educationTable th:nth-child(3),
    #educationTable td:nth-child(3) {
        display: none;
    }

    input#datepickerStart,
    input#datepickerEnd {
        width: 38%;
        display: flex;
        flex-wrap: nowrap;
    }

    body #th-raportHeaderDiv p:nth-child(2) {
        width: 0 !important;
    }

    .th-raportPrintBtn {
        display: none;
    }

    .omast-tabs .raportTable thead {
        font-size: 0.7rem;
    }

    #educationTable a:before {
        font-family: "Font Awesome 5 Free";
        content: "\f019 ";
        font-size: 0.7rem;
        margin-right: 0.2rem;
    }

    button#raportFilterBtn {
        padding: 20px 23px;
    }
    .th_licenseCard{
        font-size: 10px;
    }

    #th-raportHeader {
        padding-bottom: 0.4rem;
    }

    body .wp-block-st-news-list img.attachment-carousel-large.size-carousel-large.wp-post-image {
        margin-bottom: 0;
    }

    .thld-achievement {
        width: 100%;
    }

    .elementor-column.elementor-col-100.elementor-top-column.elementor-element.elementor-element-94c0849 {
        display: block;
        padding-left: 0.4rem;
        padding-right: 0.4rem;
    }

    .th-hasaccess.ast-article-single.thgrid-post.thgrid-post-item.thgrid-item-grid.animate {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        flex: 1 0 33.333333%;
    }

    div#suorituksetth-raportHeaderDiv,
    div#ilmoittautumisetth-raportHeaderDiv {
        flex-wrap: wrap;
    }

    #suorituksetth-raportHeaderDiv p,
    #ilmoittautumisetth-raportHeaderDiv p {
        width: 100%;
    }

    #suorituksetth-raportHeaderDiv p:nth-of-type(2),
    #ilmoittautumisetth-raportHeaderDiv p:nth-of-type(2) {
        display: none;
    }

    input#suorituksetdatepickerStart,
    input#suorituksetdatepickerEnd,
    input#ilmoittautumisetdatepickerStart,
    input#ilmoittautumisetdatepickerEnd {
        width: 40%;
    }

    .elementor-widget-th_omast_tabs .wp-block-st-news-list .excerpt {
        display: none;
    }
    
    

    .omast-content .gform_wrapper.gravity-theme h1 {
        padding-top: 2rem;
    }
    #licensegroupsmobile + .select2, ul.tuotteet-listaus.rajaton-listaus{
    width: 100% !important;
    border-color: #212529;
    border-width: 1px 1px 1px 1px;
    border-radius: 0;
    }
    
    span.select2-selection.select2-selection--single{
    border-color: #212529 !important;
    border-width: 2px !important;
    border-radius: 0 !important;
    }
    
    span#select2-licensegroupsmobile-container{
        font-size: 0.8rem;
    font-weight: 600;
    text-align: left;
        color: #212529;
        padding: 0.5rem;
    }
        h3.valittu-tuotekategoria {
        display: block !important;
        border-bottom: 2px solid #4be1d2 !important;
        font-size: 1.2rem !important;
        text-align: center !important;
            margin-bottom: 3rem;
            margin-top: 3rem;
    }
    #suorituksetth-raportHeaderDiv > div{
        display: block !important;
    }
    button#suorituksetraportFilterBtn{
        margin-right: 0 !important;
    }
    
    #educationTable td, #educationTable th {
        padding: 0.6rem 0.4rem;
        font-size: 0.6rem;
    }
    #th-productsearchresults .th-julkaisutColumn li, #th-julkaisutTab .th-julkaisutColumn li{
    padding: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
}

}


@media (max-width: 410px){
    .wp-block-st-news-list .latest-posts.row.st{
        grid-template-columns: 1fr ;
        
    }
}



