/**
Theme Name: Astra STA
Author: Brainstorm Force
Author URI: https://www.timehouse.fi/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/
/* space-mono-regular - latin-ext_latin */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('/wp-content/uploads/fonts/space-mono-v11-latin-ext_latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/wp-content/uploads/fonts/space-mono-v11-latin-ext_latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* poppins-300 - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display:swap;
  src: local(''),
       url('/wp-content/uploads/fonts/poppins-v20-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/wp-content/uploads/fonts/poppins-v20-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* poppins-regular - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display:swap;
  src: local(''),
       url('/wp-content/uploads/fonts/poppins-v20-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/wp-content/uploads/fonts/poppins-v20-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* poppins-600 - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display:swap;
  src: local(''),
       url('/wp-content/uploads/fonts/poppins-v20-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/wp-content/uploads/fonts/poppins-v20-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* poppins-800 - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display:swap;
  src: local(''),
       url('/wp-content/uploads/fonts/poppins-v20-latin-800.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/wp-content/uploads/fonts/poppins-v20-latin-800.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}



html
{
	font-size:18px;
}

body
{
	color: #212529;
	/*font-family: "Poppins",sans-serif;*/
	line-height: 1.65;
}

a
{
	color: inherit;
}

.entry-content p a, .entry-content ul a, .entry-content label a, .footer p a, .footer ul a {
    text-decoration: none !important;
    border-bottom: solid 1px rgba(0,0,0,0.2);
}

/*blockstyles*/
.wp-block-button.is-style-text input.button:hover:after
{
	margin-left:.75rem
}

.has-black-color{
	color:#000
}

.has-white-color{
	color:#fff
}

.has-purple-color
{
	color:#967D96
}

.has-pink-color
{	
	color:#FF9BC8
}

.has-pink-light-color
{
	color:#FFD8EC
}

.has-green-color
{
	color:#4BE1D2
}
.has-green-light-color
{
	color:#9CDCD9
}
.has-grey-color
{
	color:#C9BDC9
}
.has-dark-grey-color
{
	color:#a9a9a9
}
.has-bg-pink-light-color
{
	color:#FFEBF5
}
.has-bg-pink-dark-color
{
	color:#D8AAB3
}
.has-bg-green-light-color
{
	color:#F0FAFB
}
.has-bg-green-dark-color
{
	color:#96D2CD
}
.has-black-background-color
{
	background-color:#000 !important
}
.has-white-background-color
{
	background-color:#fff !important
}
.has-purple-background-color
{
	background-color:#967D96 !important
}
.has-pink-background-color
{
	background-color:#FF9BC8 !important
}
.has-pink-light-background-color
{
	background-color:#FFD8EC !important
}
.has-green-background-color
{
	background-color:#4BE1D2 !important
}
.has-green-light-background-color
{
	background-color:#9CDCD9 !important
}
.has-grey-background-color
{
	background-color:#C9BDC9 !important
}
.has-dark-grey-background-color
{
	background-color:#a9a9a9 !important
}
.has-bg-pink-light-background-color
{
	background-color:#FFEBF5 !important
}
.has-bg-pink-dark-background-color
{
	background-color:#D8AAB3 !important
}
.has-bg-green-light-background-color
{
	background-color:#F0FAFB !important
}
.has-bg-green-dark-background-color
{
	background-color:#96D2CD !important
}
/*
body:not(.page-template-template-empty) .entry-content>.alignfull:last-child
{
	margin-bottom:-2rem
}

.wp-block-group.alignfull .alignwide
{
	margin-left:0;margin-right:0;width:100%
}
.wp-block-columns.alignfull{padding-left:30px;padding-right:30px}.wp-block-columns.home-first-cols h3,.wp-block-columns.home-first-cols h4,.wp-block-columns.home-first-cols h5,.wp-block-columns.home-first-cols h6{white-space:nowrap}.wp-block-columns.home-first-cols .wp-block-cover{padding-top:4rem;padding-bottom:2rem;min-height:calc(100% - 1rem);margin-bottom:1rem}.wp-block-columns.home-first-cols .wp-block-cover .wp-block-cover__inner-container{width:calc(100% - 30px)}.wp-block-columns.home-first-cols .wp-block-cover .wp-block-cover__inner-container .wp-block-button__link,.wp-block-columns.home-first-cols .wp-block-cover .wp-block-cover__inner-container .woocommerce #respond input#submit,.woocommerce #respond .wp-block-columns.home-first-cols .wp-block-cover .wp-block-cover__inner-container input#submit,.wp-block-columns.home-first-cols .wp-block-cover .wp-block-cover__inner-container .woocommerce a.button,.woocommerce .wp-block-columns.home-first-cols .wp-block-cover .wp-block-cover__inner-container a.button,.wp-block-columns.home-first-cols .wp-block-cover .wp-block-cover__inner-container .woocommerce button.button,.woocommerce .wp-block-columns.home-first-cols .wp-block-cover .wp-block-cover__inner-container button.button,.wp-block-columns.home-first-cols .wp-block-cover .wp-block-cover__inner-container .woocommerce input.button,.woocommerce .wp-block-columns.home-first-cols .wp-block-cover .wp-block-cover__inner-container input.button,.wp-block-columns.home-first-cols .wp-block-cover .wp-block-cover__inner-container .woocommerce-page #respond input#submit,.woocommerce-page #respond .wp-block-columns.home-first-cols .wp-block-cover .wp-block-cover__inner-container input#submit,.wp-block-columns.home-first-cols .wp-block-cover .wp-block-cover__inner-container .woocommerce-page a.button,.woocommerce-page .wp-block-columns.home-first-cols .wp-block-cover .wp-block-cover__inner-container a.button,.wp-block-columns.home-first-cols .wp-block-cover .wp-block-cover__inner-container .woocommerce-page button.button,.woocommerce-page .wp-block-columns.home-first-cols .wp-block-cover .wp-block-cover__inner-container button.button,.wp-block-columns.home-first-cols .wp-block-cover .wp-block-cover__inner-container .woocommerce-page input.button,.woocommerce-page .wp-block-columns.home-first-cols .wp-block-cover .wp-block-cover__inner-container input.button{-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.wp-block-cover{padding:4rem 0}.wp-block-cover .wp-block-cover__inner-container,.wp-block-cover .block-editor-block-list__block{color:#000}.wp-block-cover p.has-white-color{color:#fff}.wp-block-cover h2{max-width:none}.wp-block-group__inner-container,.wp-block-cover__inner-container{max-width:768px}.wp-block-group__inner-container{margin:0 auto}.alignwide .wp-block-group__inner-container,.wp-block-group__inner-container .alignwide .wp-block-group__inner-container{max-width:none}.wp-block-columns .wp-block-cover{height:auto}.wp-block-accordion .accordion-block__title{margin-top:0}.hentry a,.product a{color:inherit;text-decoration:none}.hentry .entry-header,.product .entry-header{border-top:solid 1px #967D96;padding-top:1rem}.hentry .entry-meta,.product .entry-meta{font-family:"Space Mono",monospace;color:#967D96;margin-bottom:1rem}.hentry .entry-meta a:hover,.product .entry-meta a:hover{text-decoration:underline}.hentry .entry-meta .date,.product .entry-meta .date{float:left}.hentry .entry-meta .category,.product .entry-meta .category{float:right}.hentry .post-thumbnail,.product .post-thumbnail{float:none;margin-right:0;margin-bottom:1rem;display:block}.hentry .post-thumbnail img,.product .post-thumbnail img{width:100%}.hentry .excerpt,.product .excerpt{word-break:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.hentry .entry-title,.product .entry-title{font-size:1.1rem;font-weight:600;margin-top:1rem;margin-bottom:1rem;word-break:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.hentry .entry-title:hover,.product .entry-title:hover{text-decoration:underline}.hentry .wp-block-button,.product .wp-block-button{margin-top:1rem;margin-bottom:1rem}.hentry .view-article,.product .view-article{display:none}.hentry .entry-footer,.product .entry-footer{font-size:.9rem}.post-tags a,.menu .tag{font-size:.8rem;display:inline-block;border:solid 1px #967D96;color:#967D96;padding:0 .5rem;text-transform:uppercase;font-weight:500;margin-right:.5rem;margin-bottom:.5rem}.post-tags a:hover,.post-tags a:focus,.menu .tag:hover,.menu .tag:focus{text-decoration:none;background:#967D96;color:#fff}.menu .tag{margin-bottom:0;word-break:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.entry-content .alignwide{margin-left:0;margin-right:0;width:auto;max-width:none}.alert{border-radius:0;padding:1.5rem 1rem;background:#FFD8EC}.has-small-font-size{font-size:.9rem}.has-regular-font-size,.has-normal-font-size{font-size:inherit}.some-menu{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.some-menu .nav-item+.nav-item{margin-left:1rem}.some-menu .menu-item .nav-link{display:block;width:24px;height:24px;padding:0;margin:0;overflow:hidden;text-indent:-9999px;background-size:contain;background-position:center;background-repeat:no-repeat;border-bottom:0}.some-menu .menu-item .nav-link[href*="facebook"]{background-image:url("../img/icon-facebook.svg")}.some-menu .menu-item .nav-link[href*="twitter"]{background-image:url("../img/icon-twitter.svg")}.some-menu .menu-item .nav-link[href*="linkedin"]{background-image:url("../img/icon-linkedin.svg")}.some-menu .menu-item .nav-link[href*="instagram"]{background-image:url("../img/icon-instagram.svg")}.wp-block-st-some-menu .some-menu{margin-top:0}.wp-block-st-some-menu.is-admin .some-menu{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;padding-left:0;margin-bottom:0;list-style:none}.wp-block-st-some-menu.alignleft{margin:0}.wp-block-st-some-menu.aligncenter .some-menu{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.wp-block-st-some-menu.alignright{margin:0}.wp-block-st-some-menu.alignright .some-menu{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.card{border-radius:0;border:0;background:none;font-size:.9rem}.card .card-title{margin-top:0}.card p{margin-top:0;margin-bottom:.75rem}.wp-block-quote{position:relative;padding-left:6rem;border-left:0;min-height:80px}.wp-block-quote:before{content:"â€";color:#FF9BC8;font-size:16rem;font-weight:200;line-height:1;position:absolute;top:-8px;left:0}.wp-block-quote p{font-size:1.5rem;font-weight:200;line-height:1.4}.wp-block-quote cite{color:#000;font-size:1rem}.wp-block-separator{border:none;border-bottom:1px solid #000;margin-left:auto;margin-right:auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){width:33.33%;min-width:100px;max-width:none}.wp-block-separator.is-style-wide{border-bottom-width:1px}.lead,.has-lead-font-size,.has-large-font-size{font-size:1.2rem}@media (min-width: 576px){.wp-block-group.alignfull .alignwide{margin-left:0;margin-right:0;width:100%}}@media (min-width: 768px){.wp-block-group.alignfull .alignwide{margin-left:calc((100% - 100vw) / 4);margin-right:calc((100% - 100vw) / 4);width:calc(100% + ((100vw - 100%) / 2))}}@media (min-width: 992px){.entry-content .alignwide{width:960px;margin-left:calc((100% - 960px) / 2);margin-right:calc((100% - 960px) / 2)}.page .has-sidebar .entry-content{max-width:none}.has-sidebar .entry-content>.alignwide{width:calc(30px + (100% / 8) * 10);margin-left:calc(-15px + (-100% / 8) * 2)}.has-sidebar .entry-content .alignfull{margin-left:calc(0px - ((960px / 12) * 3) - 15px - ((100vw - 960px) / 2))}}@media (min-width: 1200px){.entry-content .alignwide{width:1130px;margin-left:calc((100% - 1130px) / 2);margin-right:calc((100% - 1130px) / 2)}.wp-block-group.alignfull .alignwide{margin-left:calc((768px - 1220px + 30px) / 2);margin-right:calc((768px - 1220px + 30px) / 2);width:1190px}.has-sidebar .entry-content .alignfull{margin-left:calc(0px - ((1130px / 12) * 3) - 15px - ((100vw - 1130px) / 2))}}@media (max-width: 600px){.wp-block-media-text.is-stacked-on-mobile figure{margin-bottom:1.5rem}.entry-content .wp-block-group.alignfull{padding-left:15px;padding-right:15px}.entry-content .wp-block-group.alignfull .alignwide{margin-left:0;margin-right:0;width:100%}}@media (max-width: 575px){.wp-block-quote{-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;min-height:60px;padding-left:4rem}.wp-block-quote p{font-size:1.3rem}.wp-block-quote:before{font-size:10rem;top:-4px}}
*/
h1
{
    color: #212529
  /*  font-family: "Poppins", Sans-serif;
    font-size: 63px;
    font-weight: 300;*/
}

.ast-separate-container {
    background-color: #fff !important;
}



h1.tt-page-title
{
	padding: 4rem 2rem;
	background-color: #FFD8EC;
	text-align:center;
}

h1.tt-page-title.tt-right-sidebar
{
	color:#41646e;
	background-color:#faeb41;
}

@media (min-width: 768px)
{
h1.tt-page-title
{
    padding: 120px 2rem;

}
}

.wp-block-group.has-background {
    padding: 20px 30px;
    margin-top: 0;
    margin-bottom: 0;
}



.page.ast-left-sidebar .entry-header
{
	display:none !important;
}

.page.ast-left-sidebar .site-content
{
	background-color:#fff !important;
}

.page.ast-left-sidebar.ast-separate-container .ast-article-post, .page.ast-left-sidebar.ast-separate-container .ast-article-single {
	padding: 0em 0.5em 1em 0.5em !important;
}

.ast-left-sidebar #content > .ast-container {
	flex-direction: column !important;
}

.page.ast-left-sidebar h4.widget-title
{
	font-size:1rem;
	font-weight: 700;
	padding-left:0.5rem;
	padding-right:0.5rem;
	padding-bottom:0.5rem;
	border-bottom:1px solid rgba(0,0,0,0.2);
}

.page.ast-left-sidebar h4.widget-title:hover
{
	border-color:#000;
}


.page.ast-left-sidebar ul.menu ul.children
{
	margin-bottom:0 !important;
}


@media (max-width: 921px)
{
	.hide-next + *
	{
		display:none;
	}
	.page.ast-left-sidebar h4.widget-title
	{
		cursor:pointer;
		position:relative;
	}
	.page.ast-left-sidebar h4.widget-title:after  {
    display: inline-block;
    content: '';
    height: 8px;
    width: 8px;
    margin-left: 1rem;
    vertical-align: middle;
    border-right: solid 2px #967D96;
    border-bottom: solid 2px #967D96;

    transform: translateY(0px) rotate(225deg);
    -webkit-transition: all 400ms ease-out;

    transition: all 400ms ease-out;
    background-image: none;
}
	

.page.ast-left-sidebar h4.widget-title.hide-next:after  {
    
    transform: translateY(-3px) rotate(45deg);

}

.page.ast-left-sidebar ul.menu
{
	margin-top:0 !important;
}
	
}

@media (min-width: 922px)
{
	.page.ast-left-sidebar h4.widget-title
	{
		display:none !important
	}
	.ast-left-sidebar #content > .ast-container {
		flex-direction: initial !important;
	}

}

*/

/*tämä tarvitaan, jotta side-bar ja content top-margin saman korkuinen*/
.secondary, .primary
{
	font-size:1rem !important;
}

/* LUE LISÄÄ -nappi */
.page.ast-left-sidebar .wp-block-button__link
{
    border: 0;
    border-bottom: 0;
    color: #000;
    background-color: #FFD8EC;
    font-size: 1rem;
    line-height: 1;
    padding: 0.75rem 1rem 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.page.ast-left-sidebar h1:not(.elementor-heading-title), .page.ast-left-sidebar h2:not(.elementor-heading-title), .page.ast-left-sidebar h3:not(.elementor-heading-title), .page.ast-left-sidebar h4:not(.elementor-heading-title), .page.ast-left-sidebar h5:not(.elementor-heading-title), .page.ast-left-sidebar h6:not(.elementor-heading-title), .page.ast-left-sidebar table, .page.ast-left-sidebar p:not(.elementor-heading-title), .page.ast-left-sidebar ul:not(.elementor-heading-title):not(.elementskit-navbar-nav), .page.ast-left-sidebar ol:not(.elementor-heading-title), .page.ast-left-sidebar hr, .page.ast-left-sidebar .wp-block-button, .page.ast-left-sidebar .wp-block-image {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/*sivupalkin listan tyylit*/
.entry-content ul, .entry-content ol, .entry-content dl {
    list-style-position: outside;
    padding-left: 1.5rem;
}

.sidebar .widget.submenu .menu li a {
    padding-left: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.sidebar .widget.submenu a
{
	display:inline-block;
}

.sidebar .widget.submenu a:hover {
    color: #967D96;
    text-decoration: none;
}

.sidebar .widget.submenu > ul > li a {
    display: inline-block;
    font-weight: 700;
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.sidebar .widget.submenu .menu > li > ul.children li a {
    font-size: 1rem;
    padding-left: 1rem;
}


.sidebar .widget.submenu .menu>li>ul.children li > ul.children li a {
    padding-left: 2rem;
    font-size: .8rem;
}

.sidebar .widget.submenu .menu>li>ul.children li > ul.children li > ul.children li a {
	padding-left: 3rem;
	font-size: .8rem;
	font-weight:400;
}

.sidebar .widget.submenu ul.children > li > ul.children {
	border-top:none;
}


.sidebar .widget.submenu li.current_page_item > a {
    color: #967D96;
}

.sidebar .widget.submenu ul.children {
    border-top: solid 1px #000;
    padding-left: 0;
    margin-top: 0;
}

.sidebar .widget.submenu ul.children li {
    margin-bottom: 0;
    padding-left: 0;
    border-bottom: solid 1px #000;
}

.sidebar .widget.submenu ul.children li a {
    font-weight: 600;
    display: inline-block;
}

.sidebar .widget.submenu .menu > li > ul.children li > ul.children li {
    border-bottom: none;
}
/*sivupalkin listan tyylit*/






/*STA ACF-blokit*/

.ast-separate-container .wp-block-st-news-list .ast-article-single:not(.ast-related-post) {

	background:none !important;
}



/*st-news-list tyylit*/
.wp-block-st-news-list .hentry
{
	background-color:#fff;
}
.wp-block-st-news-list .hentry .entry-meta > *, .wp-block-st-news-list .hentry .entry-meta > * > *
{
	font-family: "Space Mono",monospace;
	color: #967D96;
}

.wp-block-st-news-list .hentry .entry-meta .date
{
	float:left;
}

.wp-block-st-news-list .hentry .category
{
	float:right;
}

/*nämä ovat plugarin common.css:ssä, mutta ladataan vain kirjautumattomalle*/
.hidden, textarea[name="accept_remote_studies_helper"]
{
	display:none !important;
}



body.th-is-course-closed button.th-course-completed-button,
body.th-is-course-closed input.learndash_mark_complete_button
{
	display:none !important;
}


/* pudotusvalikon kirjautumisformin tyylit */
.th-login-box-container	.elementor-form-fields-wrapper
{
	margin-bottom:20px !important;
}