/*
 Theme Name:   Fitness-child
 Theme URI:    https://www.fitnesskool.ee
 Description:  Child Theme for Fitnesskool
 Author:       rt
 Author URI:   https://atler.ee
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         
 Text Domain:  Astra-child
*/

/**/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Typography
# Elements
# Forms
# Navigation
# Links
# Buttons and Icons
# Content
    ## Post types Archive
	## Post types single 
	## Posts and pages
	## front-page elements
# Animations
# Sliders
# Tab 1235
# Mob 1573
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
.home h2{
	text-transform:uppercase;
}
.single article p {
    margin: 0em;
}
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html { scroll-behavior: smooth; } 
/*header*/
.home .site-header{
	height:115vh;
}
.home{
	overflow-x: hidden!important;
}
.site-header{
	height:100px;
	z-index:9999;
}
.header-background{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	background-color:#fff;
}
.wp-custom-header img{
	width:100%;
	object-fit:contain;
	top:0px;
	z-index:0;
}
.wp-custom-header {
	height:115vh;
	overflow:hidden;
}

/*FOOTER920*/
.site-below-footer-wrap{
	background-color:#2e3134!important;
	color:#222426;
	padding:0% 0%;
}

.site-below-footer-wrap  p{
	float:left!important;
	font-size:16px;
	margin-bottom:0!important;
}

.site-below-footer-wrap a{
	color:#aaa;

}
footer .site-below-footer-wrap p{
	color:#888888;
		text-align:center;
	width:100%;
}

.site-primary-footer-wrap h5, .site-primary-footer-wrap .widget-title{
	color:#2acd35;
	font-size: 1.175rem;
	text-transform:uppercase;
}
.site-primary-footer-wrap{
	background-color:#222426!important;
	border-color:#3a3a3a!important;
}
.site-above-footer-wrap{
	background-color:#3a3a3a!important;
}
.site-above-footer-wrap i{
	padding:10px;
}

/*page-elm920*/
.section-main-wrap{
	margin:5% 0%;
}
.section-inner-wrap{
	padding:5% 5%;
}
.section-inner-heading h2{
	text-align:center;
	padding:2em;
	font-size:30px;
	text-transform:uppercase;
}

.section-inner-row{
}

.home #primary{
	margin-top:0;
	margin-bottom:0;
}
/*front-page-elm920*/
.home .entry-header{
	display:none;
}
.home .site-content .ast-container{
	max-width:100%;
	padding-left:0;
	padding-right:0;
}

.home .site-main article{
	padding: 0px 0px;
}
/*üld elem*/
blockquote {
    margin: 1em 1em 1em 2.5em;
    padding: 0em;
    font-size: 1.1em;
    line-height: inherit;
    position: relative;
	border-left:unset;
}
/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
/*prog,teenus,koolitus-lisa*/

.smw-13{
	margin: 0% 0%;
	background-color:#f9f9f9;
    z-index: 9999;
}
.smw-13 .siw{
	padding-bottom:10%;
	padding-top:3%;
}
.smw-13 .sirc-text{
	margin-bottom:0;
	padding:2em;
}
/*kontakt ja ankeet*/
.smwr-8{
	position:fixed;
	top:100px;
	right:5%;
	background-color:#f2f2f2;
	border-radius:10px;
	z-index:50;
	visibility: hidden;
	animation: fadeout 0.3s;
	height:75vh;
	width:35%;
	margin-top:0;
    z-index: 9999;
}
.smwr-8 .wpcf7 textarea{
	height:120px;
}
.smwr-8 iframe{
	height:72vh;
}
 
.wpcf7 label{
	color:#1baf45;
}

.page-id-924 .wpcf7{
	padding: 0% 20%;
		width:100%!important;
}
.post-924 textarea{
	height:130px;
}

.page-id-924 form p{
	margin-bottom:5px!important;
}
/*kinkekaart-form*/
#wpcf7-f1814-o2{
	padding:0%;
    z-index: 9999;
}

#wpcf7-f1814-o2 form p{
	text-align:left!important;
	font-size:16px;
}
 .smwr-12{
	position:fixed;
	 margin:0;
	top:100px;
	right:5%;
	background-color:#f2f2f2;
	border-radius:10px;
	z-index:50;
		visibility: hidden;
	transform:all;
	animation: fadeout 0.3s;
	width:33%;
	height:80vh;
    z-index: 9999;
}
.smwr-12 .wpcf7{
	transform:scale(0.9);
	position:absolute;
	left:0;
	top:0; 
}

.smwr-12 .wpcf7 p{
	margin:0.7em;
	text-align:left;
}

	.smwr-11 .smwr-12 form input{
		z-index:10;
	}
	.smwr-11 .smwr-12 form p{
		margin-top:0.7em;
	}

form label span input{
	border-radius:5px!important;
}
.post-122 .smwr-8 .popup-close-button, {
	right:15px;
	top:-5px;
	color:#ddf3e3
}
/*form üld*/
form{
	font-family:"lato";
	
}
form label{
	color:#ddf3e3!important;
}
.wp-block-contact-form-7-contact-form-selector label{
	color:#333!important;
}
.smwr-8, .smwr-12{
	background-color:#3a3a3a;
}

/*toitumiskava ankeet*/
.post-122 .smwr-8{
	height:80vh;
}
.post-122 .smwr-8 .siw-2{
	overflow-y:hidden;
	padding: 10% 0;
}
.smwr-8 .popup-close-button{
	right:25px;
	top:-5px;
	color:#ddf3e3
}
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
.ast-builder-menu-1 .sub-menu, .ast-builder-menu-1 .inline-on-mobile .sub-menu{
	border-color:uset;
	border-top:unset;
}

/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/
.ast-header-breadcrumb{
	border-bottom-width:0px!important;
	padding:0px!important;
}
/*--------------------------------------------------------------
# Buttons and icons
--------------------------------------------------------------*/
.cta-button{
	font-family:'lato';
	font-size:20px;
	padding: 15px 40px 15px 40px;
	transition: all .3s ease-in-out;
	border-radius:4px;
	text-decoration:none;
	margin-top:0px;
	background-color:#1baf45;
	z-index:20;
	bottom:-50px;
	margin-top:20px;
	margin-left:40%;
}
.cta-button:hover{
	background-color:#20c44e;
}
.slide3 .cta-button{
	background-color:#d6c841;
}
.slide3 .cta-button:hover{
	background-color:#ddb243;
}
.sirc-button{
	border-radius:5px;
	color:#fff;
	height:100%;
	width:100%;
	background-color:#1faf4b;
	padding:10px;
	opacity:0;
}
.sirc-button:hover{
	background-color:#20c44e;
	color:#fff;
} 
.contact-button {
    border-radius: 5px;
    color: #fff;
    height: 40px;
    width: 120px;
    background-color: #1faf4b;
    padding: 7px;
	  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-align: center;
}
.contact-button:hover{
	background-color:#20c44e;
	color:#fff;
}
.sirc .read-more{
	margin-bottom:0!important;
}

.sirc-button{
	text-transform:uppercase;
}
.sirc .read-more a{
	border-radius:5px;
	color:#fff;
	height:200px;
	width:100%;
	background-color:#1faf4b;
	padding:10px;
}
.sirc .read-more a:hover{
	background-color:#20c44e;
	color:#fff;
}
.post-type-archive article .read-more{
	margin-top:20px;
	text-align:center;
}
article .read-more a{
	border-radius:5px;
	color:#fff;
	height:100%;
	background-color:#1faf4b;
	padding:10px;
}

.post-type-archive article .read-more a:hover{
	background-color:#20c44e;
	color:#fff;
}
.post-122 .contact-button{
	text-align:center;
    width: 50%;
}
.read-more {
	text-align: center;
	margin-top:20px!important;
}
.read-more a:hover{
	background-color: #20c44e;
}
.wpcf7 .button, .wpcf7 input#submit, .wpcf7 input[type="button"], .wpcf7 input[type="submit"], .wpcf7 input[type="reset"]{
	font-size:20px;
	background-color:#1baf45;
}
.wpcf7 .button:hover, .wpcf7 input#submit:hover, .wpcf7 input[type="button"]:hover, .wpcf7 input[type="submit"]:hover, .wpcf7 input[type="reset"]:hover{
background-color:#20c44e;
}

.cinfo-text i{
	padding-bottom:20px;
}
.smwr-11 .show-popup-btn {
    visibility: visible !important;
    animation: fadeIn 0.3s;
}
.show-popup-btn {
  visibility: visible!important;
  animation: fadeIn 0.3s;
}
.smwr-8 .popup-close-button, .smwr-11 .popup-close-button  {
	font-size:30px;
	cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
	position:absolute;
	right:10px;
	top:10px;
	color:#1baf45;
	z-index:9999990;
}
.smwr-11 .contact-button{
	margin-left:auto;
	margin-right:auto;
	margin-bottom:50px;
	transition: all .3s ease-in-out;
    text-align:center;
}
/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*tsitaadid*/
.smw-16{
	text-align:center;
	font-size:24px;
	font-weight:600;
	margin-top:0;
	margin-bottom:10%;;
}
.smw-16 .siw{
	padding:0 10%;
}
.smw-16 i{
	margin-bottom:20px;
	font-size:30px;
    color:#1faf4b;
}
.smw-16 p{
	margin-bottom:0;
}
.smw-13 .sirc-text {
    margin-bottom: 0;
    padding: 0em 2em;
}
.type-edu_lood .entry-content p {
    padding: 0 5%;
	margin:10px;
}
/*--------------------------------------------------------------
## Post types archive
--------------------------------------------------------------*/
/*cpt arch920*/

.post-type-archive-d5s2_programmid .ast-row article, .post-type-archive-d5s2_teenus .ast-row article{
	width:31%;
	margin:2% auto;
	float:left!important;
	height:100%;
	transition: all .3s ease-in-out;
box-shadow: 0 1px 10px rgba(0,0,0,0.05), 0 1px 10px rgba(0,0,0,0.02);
}
.post-type-archive-d5s2_programmid .ast-row article:hover, .post-type-archive-d5s2_teenus article:hover{
box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.post-type-archive-d5s2_programmid .ast-row article:nth-child(4), .post-type-archive-d5s2_teenus .ast-row article:nth-child(4) {
	margin:2% 1%!important;
}
.post-type-archive-d5s2_teenus article img{
	height:200px;
    object-fit: cover;
}
.post-type-archive-d5s2_programmid .ast-row article img{
	height:200px;
	width:100%!important;
    object-fit: cover;
}
.ast-separate-container .ast-archive-description{
	padding:1.34em 1.4em;
	text-align:center;
	background-color:unset;
}
.ast-separate-container .ast-archive-description h1{
	color:#333;
}
.post-type-archive article  p{
	margin-bottom:0!important;
}

.post-type-archive article h2{
	font-size:26px;
	text-align:center;
}
.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single{
	padding: 20px 20px;
}
/*edulood-arch920*/
.post-type-archive .ast-row{
	display:flex;
	flex-wrap:wrap;
}
.post-type-archive .type-edu_lood{
	flex:0 0 45%;
	height:100%;
	margin:1%;
	transition: all .3s ease-in-out;
}
.post-type-archive .before-after-img-wrap{
	width:100%;
	height:100%;
	display:block;
}

.post-type-archive .before-after-img-inner-wrap{
	width:100%;
	height:100%;
	display:flex;
	padding-top:5%;
}
.post-type-archive .before-after-img-container-wrap{
	margin-left:auto;
	margin-right:auto;
    display:flex;
}
.post-type-archive .before-after-img-inner-wrap img{
	height:250px;
	object-fit:cover;
}
.post-type-archive .before-after-before-img, .post-type-archive .before-after-after-img, .post-type-archive-edu_lood .before-after-img-container-wrap img{
	padding-right:0px;
	display:inline-block;
    flex:1 1 auto;
}

.post-type-archive .before-after-img-wrap p{
	width:100%;
	padding:5% 7%;
}
/*blog-arch-desk/ võistlejale-desk / võistlejad-desk*/
.blog .site-content .ast-container .site-main .ast-row, .voistlejale-template-default .site-content .ast-container .site-main .ast-row, .voistlejad-template-default .site-content .ast-container .site-main .ast-row{
	display:flex;
	flex-wrap:wrap;
}
.blog .site-content .ast-container .site-main .ast-row article, .post-type-archive-voistlejale .site-content .ast-container .site-main .ast-row article, .post-type-archive-voistlejad .site-content .ast-container .site-main .ast-row article{
	flex: 0 0 33%;
	max-height:100%;
	border-bottom:1px solid #eee;
}
.blog .site-content .ast-container .site-main .ast-row article img, .post-type-archive-voistlejale .site-content .ast-container .site-main .ast-row article img{
	height: 200px;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.post-type-archive-voistlejad .site-content .ast-container .site-main .ast-row article img{
	height: 75vh!important;
    object-fit: cover;
		object-position:top;
    width: 100%;
}
.blog .site-content .ast-container .site-main .ast-row article h2, .post-type-archive-voistlejale .site-content .ast-container .site-main .ast-row article h2, .post-type-archive-voistlejad .site-content .ast-container .site-main .ast-row article h2, .category .site-content .ast-container .site-main .ast-row article h2{
	font-size:22px;
}
.site-content .ast-container .site-main .ast-row article p{
	margin-bottom:1em;
}
/*category*/
.category .site-content .ast-container .site-main .ast-row{
	display: flex;
flex-wrap: wrap;
}

.category .site-content .ast-container .site-main .ast-row article {
    flex: 0 0 33%;
    max-height: 100%;
    border-bottom: 1px solid #eee;
}
.category .site-content .ast-container .site-main .ast-row article img {
    height: 200px;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
/*--------------------------------------------------------------
## Post types single 
--------------------------------------------------------------*/

/*cpt-page920*/
.single-d5s2_programmid article, .d5s2_teenus-template-default article{
	padding-top:10px!important;
}
.single-d5s2_programmid .entry-title{
}
.single-d5s2_programmid .entry-header, .single-d5s2_teenus .entry-header{
	float:left;
	width:60%;
	margin-bottom:4px;
	max-height:375px;
    overflow: hidden;
}

.single-d5s2_programmid .entry-content, .single-d5s2_teenus .entry-content{
	padding:0px 20px;
}
.single-d5s2_programmid .entry-header img, .single-d5s2_teenus .entry-header img{
	padding:0px 20px;
}
.smwr-9{
	margin-top:0;
	display:flex;
	flex-wrap:wrap;
	margin-bottom:0;
}
.efavf33cq{
	display:block;
	width:100%;
}
.hind{
	padding:5px 20px 5px 0px;
}
.single-d5s2_programmid .entry-content .efavf33cq p{
	margin-top:0;
	font-size:16px;
}
.single-d5s2_programmid .entry-header .post-thumb-img-content, .single-d5s2_teenus .entry-header .post-thumb-img-content{
	margin-top:0px;
}
.single-d5s2_programmid .entry-header h1, .single-d5s2_teenus .entry-header h1{
	width: 100%;
	text-align:center;
	margin-top:3%;
	margin-right:0px;
	text-transform:uppercase;
	position:absolute;
	top:-20px;
	margin-top:0;
}
.single-d5s2_programmid .entry-content, .single-d5s2_teenus .entry-content{
	font-size:15px;
	margin-bottom:5px;
	margin-top:50px;
}
.single-d5s2_programmid .entry-content p, .single-d5s2_teenus .entry-content p{
	margin-bottom:1em;
	margin-top:0;
	margin-left:0em;
}

/*edulood-singel-desk*/
.single-edu_lood h2, .single-edu_lood h3{
	padding: 0 5%;
    margin: 10px;
}
.edu_lood-template-default .entry-content{
	display:flex;
	flex-wrap:wrap;
}
.edu_lood-template-default .entry-content .before-after-img-wrap, .edu_lood-template-default .entry-content p{
	flex:0 1 100%;
}
.single-edu_lood .before-after-img-container-wrap{
	display: flex;
	flex-wrap: wrap;
}
.single-edu_lood .before-after-after-img, .single-edu_lood .before-after-before-img{
    flex: 1 0 45%;
}
.single-edu_lood  .before-after-img-wrap{
	display:flex;
	flex-wrap:wrap;
    padding: 5% 0% 2% 7%;
}
.before-after-img-wrap .before-after-img-inner-wrap{
	flex:0 0 60%;
}
.before-after-img-wrap .before-after-list{
	flex:0 0 35%;
    padding-left:20px;
}
.single-edu_lood .before-after-after-img img, .single-edu_lood .before-after-before-img img{
	object-fit:cover!important;
	height:100%;
}
.before-after-img-inner-wrap img{
	max-height:450px;
}
.before-after-before-img{
	padding-right:10px;
	display:inline-block;
}
.before-after-after-img{
	display:inline-block;
}
.before-after-list ul{
	margin:0;
	list-style:none;
	text-align:left;
}
.kasutas-teenuseid li {
	margin-bottom:25px;
}
.kasutas-teenuseid li a{
	margin-top:20px;
	padding:10px 20px 10px 20px;
	background-color:#1baf45;
	border-radius:5px;
	transition: all 0.3s ease;
}
.type-edu_lood h1{
	text-align:center;
}
.edu_lood-template-default  table, td, th{
	border:0px;
}
.kasutas-teenuseid li a:hover{
	background-color:#20c44e;
	transition: all 0.3s ease;
}
.kasutas-teenuseid li a{
	color:#fff;
	display:block;
	width:100%;
	text-align:center;
	margin-top:5px;
}
.kasutas-teenuseid li{
	margin-bottom:5px;
}
.before-after-list h4{
	margin-bottom:5px;
}
/*postitused-desk*/
.post-template-default #primary, .voistlejale-template-default #primary{
	margin-top:1em;
}
.post-template-default #primary .entry-content, .voistlejale-template-default #primary .entry-content{
	padding-top:0;
}
.post-template-default  .ast-article-single p, .voistlejale-template-default  .ast-article-single p{
	margin-bottom:1em;
	line-height:26px;
	z-index:;
	position:relative;
	padding: 1.2em 0em
}

.post-template-default  .ast-article-single .entry-header .ast-single-post-order, .voistlejale-template-default .ast-article-single .entry-header .ast-single-post-order{
	text-align:center;
	background-color:#fff;
	padding-right:2%;
	width:100%;
	z-index:0;
	position:relative;
	bottom:00px;
	height:440px;
}
.post-template-default  .ast-article-single .entry-header .ast-single-post-order h1, .voistlejale-template-default .ast-article-single .entry-header .ast-single-post-order h1{
	width:100%;
	z-index:2;
	position:absolute;
	bottom:30px;
    font-weight: 700;
}
.post-template-default  .ast-article-single .entry-header .ast-single-post-order .entry-meta, .voistlejale-template-default.ast-article-single .entry-header .ast-single-post-order .entry-meta{
	width:100%;
	z-index:2;
	position:absolute;
	bottom:0;
}
.format-video .embed-container{
	margin:50px;
}
.post-template-default .format-video .post-thumb img{
	max-width:60%;
	display:block;
	margin: auto;
    margin-left:auto!important;
}

.post-template-default .ast-article-single .entry-header .post-thumb-img-content img, .voistlejale-template-default .ast-article-single .entry-header .post-thumb-img-content img{
	z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-left: 0;
    margin-right: auto;
    display: block;
}
.post-template-default .ast-article-single .entry-header .post-thumb-img-content, .voistlejale-template-default .ast-article-single .entry-header .post-thumb-img-content {
	position:absolute;
	top:0;
	width:97%;
	height:380px;
	overflow:hidden;
	z-index:1;
}
.voistlejale-template-default .ast-article-single p {
    margin-bottom: 1em;
    line-height: 26px;
    position: relative;
    padding: 0em 0em;
}
.post-template-default p{
	margin:0em!important;
	padding-bottom:1em!important;
	padding-top:0em!important
}
.post-template-default .ast-article-single .entry-content, .voistlejale-template-default .ast-article-single .entry-content{
	position:relative;
    padding-bottom:0;
}

.wp-block-table{
	padding: 5% 0%;
}

/*võistlejale-single-desk*/
.voistlejale-template-default .entry-content h4{
	padding:0% 10%;
}
/*lisad*/
.smw-13 .sir{
	display:flex;
	flex-wrap:wrap;
}
.smw-13 .sirc{
	flex:1 1 33%;
	text-align:center;
}
.smw-13 .sirc i{
	font-size:50px;
	color:#1baf45;
	padding:10px;
}
.smw-13 .sirc h3{
	padding:10px;
	margin-bottom:0;
}
/*võistlejad single*/
.single-voistlejad table, .single-voistleja td, .single-voistleja th, .single-edu_lood table, .single-edu_lood td, .single-edu_lood th{
	border:unset;
}
.single-voistlejad .single-layout-1{
	margin-top:5%;
}
.single-voistlejad .entry-header {
    float: left;
    width: 55%;
    margin-bottom: 4px;
    overflow: hidden;
	padding: 0% 5%;
}
.single-voistlejad .entry-header img{
	height:100%;
}
.single-voistlejad .entry-header h1 {
    width: 85%;
    text-align: center;
    margin-top: 3%;
    margin-right: 0px;
    text-transform: uppercase;
    position: absolute;
    top: -20px;
    margin-top: 0;
}
.single-voistlejad p{
	margin-bottom:1em!important;
}
.single-voistlejad table{
	width:40%;
	padding-top:5%;
}
.single-d5s2_teenus .entry-content, .single-d5s2_programmid .entry-content, .single-voistlejad .entry-content{
	padding-left:5%;
	padding-right:5%;
}
.single-d5s2_teenus .entry-header, .single-d5s2_programmid .entry-header{
	padding-left:3%;
}
.single-voistlejad .entry-header{
	padding-left:5%;
}
.single-voistlejad td, th {
    padding: 8px 0px 8px 0px;
    text-align: left;
    border-width: 0 1px 1px 0;
}
.single-voistlejad .efavf33cq br{
	margin-bottom:20px;
}
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
/*meist-desk*/
.page-template-default .entry-title{
	text-align:center;
}

section#counter-stats {
	justify-content: center;
	margin:100px 0px;
}
.container{
	width:100%;
	
}
.container .row{
	width:100%;
	display:flex;
	flex-wrap:wrap;
}
.stats {
	flex: 0 0 25%;
  text-align: center;
  font-size: 35px;
  font-weight: 700;
	display:inline-block;
	padding:2%;
}
.stats i, .stats .counting, .stats h5{
	color:#3a3a3a ;
}
.stats h5{
	font-size:15px;
	text-transform:uppercase;
}
.wp-block-columns p{
		margin-bottom:1em;
	}
.adwd{
	margin:5% 2%;
}
.r3wsf{
}
.tunnistused{
	margin:0% 0% 10% 0%;
}
.adwd1 p{
	margin:5% 7%;
}
.post-920 h2{
	font-size:30px;
}
.post-920 h3{
	font-size:24px;
}
.voist-gal{
	margin:0% 10%;
}
.voist-gal img{
	max-height:600px;
}
.wow, .wow h5{
	color:#3a3a3a;
}

/*kontaktivorm*/
.page-id-924 .cinfo-text p{
	margin:10px;
	padding: 0% 0%;
	line-height:2;
}

.cinfo-text{
	padding:2% 10% 2% 20%;
	margin-top:2%;
	text-align:left;
}
.cinfo-text p{
	width:45%;
	display:inline-block;
	padding:5px;
}

.gm-wrap{
	display:block;
	width:80%;
	margin:0 auto;
	margin-top:1%;
}
.gm-wrap p{
	margin:20px 0;
	text-align:center;
}
.gm-wrap iframe{
	margin:0 auto;
	display:block;
	width:100%;
}





/*--------------------------------------------------------------
### front-page elements
--------------------------------------------------------------*/

/*paraneb*/
.smwr-1{
	margin-top:0;
}
.smwr-1 .siw-1{
	padding-top:0
}
.smwr-1 .sir-1{
	display:flex;
}
.smwr-1 .sir-1 .sirc{
	align-items:center;
	margin:10px;
	padding:20px;
	width:100%;
	height:250px;
	text-align:center;
	-webkit-transition: all .3s ease-in-out;    
    -ms-transition: all .3s ease-in-out;    
    -moz-transition: all .3s ease-in-out;    
    -o-transition: all .3s ease-in-out;    
    transition: all .3s ease-in-out;
	border: 1px solid #e1e2e4;
}
.smwr-1 .sir-1 .sirc:hover{
	box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.smwr-1 .sir-1 .sirc-icon{
	font-size:55px;
	color:#1baf45;
}
.smwr-1 .sir-1 .section-inner-row-container h3{
	padding:5% 0% 5% 5%;
	color:#333;
	margin:0;
}
/*uus algus*/
.smwr-2, .smwr-5{
	width:100%;
	color:#333;
	position:relative;
	margin-top:5%;
}
.smwr-2 .siw-2{
	padding: 1% 5% 7% 5%;
	background
	display: flex;
justify-content: center;
align-items: center;
text-align: center;
height: 330px;
width: 100%;
background-image: url(https://www.fitnesskool.ee/wp-content/uploads/2021/03/crossfit-534615_640.jpg);
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
}
.smwr-2 .sir-el-1, .smwr-5 .sir-el-1{
	padding:0% 5%;
  text-align:left;
	width:50%;
	float:right;
	display:unset;
}
 .smwr-2 .sir-el-2{
	display:unset;
	width:63%;
	height:100%;
	background-color:rgb(250,250,250,0.3);
	z-index:10;
position:absolute;
right:0;
	top:0;
	z-index:1;
}
.smwr-2 .sih, .smwr-5 .sih{
	color:#333;
	z-index:100;
	width:100%;
	text-align:center;
}
.smwr-2 .sit, .smwr-5 .sit{
	margin-bottom:0;
	z-index:50;
	width:100%;
	padding:0% 20%;
}
/*teenused920*/
.smwr-3{
	margin-bottom:0;
}
.smwr-3 .section-inner-wrap {
	padding: 5% 5%;
	padding-bottom:0;
}
.smwr-3 .sir-1{
	display:flex;
	height:100%;
}

.smwr-3 .sirc{
	align-items:center;
	margin:0px;
	margin:10px;
	width:32%;
	text-align:center;
	position:relative;
	overflow:hidden;
}
.smwr-3 .sirc img{
	object-fit: cover;
	height:250px;
	width:100%;
	transition: all .3s ease-in-out;
	margin-bottom:20px;
}
.smwr-3 .b-wrap p{
	margin-bottom:30px;
	padding:0% 5%;
}
.b-wrap{
	position:absolute;
	bottom:20px;
	width:100%;
	max-height:50px;
	background-color:rgb(255,255,255,1);
	overflow:hidden;
	padding:10px;
	opacity:1;
	transition: all .5s ease;
}
.smwr-3 .sirc:hover > .b-wrap{
	max-height:100%;
	transition: all .5s ease;
	padding-bottom:20px;
	background-color:rgb(255,255,255,0.8);
}

.smwr-3 .sirc:hover > .b-wrap   a{
	opacity:1;
	transition: all .3s ease;
}

.smwr-3 .sirc-heading{
	padding-left:auto;
	padding-right:auto;
	padding:10px;
	margin-bottom:10px;
	width:100%;
	color:#333;
	font-size:20px;
}
/*programmid920*/
.smwr-4{
	margin-top:2%;
	margin-bottom:5%;
}
.smwr-4 .siwr{
	padding-top:0
}
.smwr-4 .sirc{
	align-items:center;
	margin:0px;
	margin:10px;
	width:32%;
	text-align:center;
	position:relative;
	overflow:hidden;
}
.smwr-4 .sirc img{
	object-fit: cover;
	height:300px;
	width:100%;
	transition: all .3s ease-in-out;
	margin-bottom:20px;
}
.smwr-4 .sirc{
	align-items:center;
	margin:0px;
	margin:10px;
	width:33%;
	text-align:center;
	position:relative;
	overflow:hidden;
}

/*img-blok-q-920*/
.smwr-5{
	margin-top:10%;
	margin-bottom:5%;
}
.smwr-5 .siw-2{
	display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 350px;
    width: 100%;
    background-image: url(https://www.fitnesskool.ee/wp-content/uploads/2021/02/man-3563462_1280.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
}
.smwr-5 .sir-el-2{
	display: unset;
width: 63%;
height: 100%;
background-color: rgb(0,0,0,0.5);
z-index: 10;
position: absolute;
left: 0;
top: 0;
z-index: 1;
}
.smwr-5 .sir-2 h2{
	text-align: center;
padding: 2em;
font-size: 30px;
text-transform: uppercase;
	color:#fff;
	margin-bottom:0;
}
/*featured-posts*/
.smw-14{
	background-color:#!important;
	margin-top:0;
	margin-bottom:5%!important;
	padding-bottom:0%;
	width:100%;
}
.smw-14 .siw{
	padding: 0% 5% 10% 5%;
}
.smw-14 .sir{
	display:flex;
	flex-wrap:wrap;
	padding: 0% 0%;
	width:100%;
}
.smw-14 .sirc{
	flex:0 0 30%;
	text-align:center;
	transition: all .5s ease-in-out;
	margin:0 auto;
	position:relative;
}
.smw-14 .sirc img{
	height:250px;
	object-fit:cover;
	transition: all .5s ease-in-out;
	width:100%
}
.smw-14 .sirc h3{
	width:100%;
	font-size:20px;
    padding:10px;
	margin-bottom:10px;
}
.smw-14 .b-wrap p{
	margin-bottom:30px;
	padding:0% 5%;
}
.smw-14 .b-wrap{
	position:absolute;
	bottom:00px;
	width:100%;
	max-height:50px;
	background-color:rgb(255,255,255,1);
	overflow:hidden;
	padding:10px;
	opacity:1;
	transition: all .5s ease;
}
.smw-14 .sirc:hover > .b-wrap{
	max-height:100%;
	transition: all .5s ease;
	padding-bottom:20px;
	background-color:rgb(255,255,255,0.8);
}

.smw-14 .sirc:hover > .b-wrap a{
	opacity:1;
	transition: all .3s ease;
}
/*kinkekaart*/
.smwr-11{
	overflow:hidden;
    	padding-top:0;
	margin:5% 0% 5% 0%
}
.smwr-11 .siw{
	top:0px;	position:relative;
	width:100%;
	height:100%;
	padding: 0 5%;
}
.smwr-11 .sih h2{
	padding-top:0%;!important;
	padding-bottom:0!important;
}
.smwr-11 .sir-2{
	background-color:#fff;
}
.smwr-11 .sir-2 img {
    display: block;
	margin: 0px auto;
	animation:rotate1 3s ease infinite;
}
.smwr-11 .sir-1 {
	width:100%;
}
.smwr-11 .sir-1 p {
    margin-top: 10px;
    margin-bottom: 20px;
	margin-left:auto;
	margin-right:auto;
    text-align: center;
	width:100%;
	display:block;
	padding:0 auto;
	font-size:18px;
}
.smwr-11 .sir-1 form p{
    text-align: left;
    font-size: 16px;
}
/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
/*forms*/
@keyframes fadeIn {
  0% {opacity: 0;
		right:-100vh;
	}
	30% {opacity: 0.0;
		right:-60vh;
	}
	75% {opacity: 0.0;
		right:-30vh;
	}
  100% {opacity:1 ;
		right:0;
	}
}
@keyframes fadeout {
  0% {opacity: 1;
		right:0;
	}
	15% {opacity: 1;
		right:-50vh;

	}
	75% {opacity: 1;
		right:-75vh;

	}
  100% {opacity:0 ;
		right:-100vh;

	}
}
/*kinkekaart*/
@keyframes rotate1 {
  0% {
		transform:rotate(0);
	}
  50% {
		transform:rotate(19.5deg);
	}
	100% {
		transform:rotate(0deg);
	}
}
/*testim*/
@keyframes fadeInLeft {
  0% {transform:translatex(-30vw)
	}	100%{transform:translatex(0px);
	}
}

@keyframes fadeOutRight {
  0% {transform:translatex(0px)
	}	100%{transform:translatex(30vw);
	}
}
/*--------------------------------------------------------------
# Sliders
--------------------------------------------------------------*/
/*testim*/
.smw-6 .siw{
	position: relative;
	text-align:center;
	overflow:hidden;
	
}
.smw-6 #testim-slides{
	position: relative;
	height: 480px;
	list-style: none;
	padding: 0;
	margin: 0;
	transition: all 1s;
}
.smw-6 .container-imgs{
	width:100%;
	text-align:center;
	display:flex;
	flex-wrap:wrap;
}
.smw-6 .sirc-elem-wrap{
	width:50%;
	margin:auto;
	position: relative;
}
.smw-6 .container-imgs img{
	flex:1 1 auto;
	display:inline-block;
	height:300px;
	max-width:45%;
	margin:auto;
	object-fit:cover;
}
.smw-6 .siw:hover .arrow {
    opacity: 1;
    transition: all 0.3s ease-in;
}
.smw-6 i{
	z-index:50;
	position:relative!important;
}
.smw-6 button{
	position:absolute;
	top:50%;
	left:10%;
	background-color:transparent;
}
.smw-6 button.right{
	position:absolute;
	left:unset;
	right:10%;
}
.smw-6 h3{
	padding:4%;
	text-transform:uppercase;
	text-align:center;
	color:#1faf4b;
}
.smw-6 .sirc p{
	margin-bottom:20px;
	margin-left:auto;
	margin-right:auto;
	
}
.smw-6 .slide{
	animation:fadeOutRight 1s;
}
.showing{
  opacity: 1;
  z-index: 2;
}
.smw-6 .showLeft{
	animation:fadeInLeft 1s;
}
	/*header height-920*/
.ast-mobile-header-wrap .ast-primary-header-bar .ast-builder-grid-row-container-inner, .ast-primary-header-bar .site-primary-header-wrap{
	max-height:90px;
}
.site-primary-footer-wrap.site-footer-focus-item:hover, .site-above-footer-wrap.site-footer-focus-item:hover, .site-below-footer-wrap.site-footer-focus-item:hover{
	outline:unset;
}
.ast-primary-header-bar, .ast-above-header-bar, .ast-below-header-bar, .site-footer-focus-item{
	transition: unset;
}
.ast-primary-header-bar{
	width:100%;
	border-bottom-width:0px;
	position:fixed;
	background-color:#fff;
	z-index:50;
}
.ast-primary-header-bar:hover{
	outline:unset;
}
/*header-slider*/
#header-slides{
  position: relative;
  height: 100vh;
  list-style: none;
  padding: 0;
  margin: 0;  
	transition: all 1s;
}

.slide{
  height:100%;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity 1s;  
  background-size: cover;
}

.showing{
  opacity: 1;
  z-index: 2;
}

.slide1{
  background-image: url("https://www.fitnesskool.ee/wp-content/uploads/2021/02/cropped-marek_katja_avaleht_hele2.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position:center;
}

.slide2{
  background-image: url("https://www.fitnesskool.ee/wp-content/uploads/2021/03/AVALEHE-FOTO-3.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position:center;
}

.slide3{
  background-image: url("https://www.fitnesskool.ee/wp-content/uploads/2021/03/AVALEHE-FOTO-2.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position:center;
}
#header-slides:hover  .arrow, #testimonial-wrap #slider:hover .arrow{
	opacity:1;
	transition:all 0.3s ease-in;
}
button .arrow{
	opacity:0;
  color:#fff!important;
  z-index: 2;
  position: absolute;
  top: 40%;
  transition: color 1s;
	font-size:30px;
	padding:13px 20px;
	border-radius:100px;
	background-color:rgb(0,0,0,0.2);
	transition:all 0.3s ease-in;
}
button .arrow:hover{
  cursor: pointer;
  background-color:rgb(0,0,0,0.9);
}
/*slide cta*/
.slide1 .cta-text{
	display:unset;
	position:absolute;
	bottom:170px;
}
.slide2 .cta-text{
	display:unset;
	position:absolute;
	bottom:70px;
	margin-left:0;
	width:100%;
}
.slide3 .cta-text{
	display:unset;
	position:absolute;
	bottom:150px;
	margin-left:0;
	width:100%;
}
.slide1 .cta-text h1{
	margin-bottom:5px;
	color:#B100D3!important;
	padding:0px 0%;
	font-size:45px;
	text-transform:uppercase!important;
}
.slide3 .cta-text h1{
	margin-bottom:5px;
	color:#fbd6ad!important;
	padding:18px 0%;
	font-size:25px;
	text-transform:uppercase!important;
}
.slide1 .cta-text h2{
	font-size:16px;
	margin-bottom:10px;
	z-index:20;
	color:#000;
	padding:0px 0%;
	margin-bottom:30px;
}
.cta-button {
    font-family: 'lato';
    font-size: 20px;
    padding: 15px 55px 15px 55px;
    transition: all .3s ease-in-out;
    border-radius: 4px;
    text-transform: uppercase;
    background-color: #1baf45;
    z-index: 20;
		margin-top: 0px;
    bottom: -50px;
    margin-top: 20px;
    margin-left: 0%;
}
.slide2 .cta-button {
    margin-left: 3%;
}
.single-d5s2_programmid .entry-header img, .single-d5s2_teenus .entry-header img{
	display:block;
	width:100%;
	object-fit:cover;
}
/*cta 920*/
.cta-text{
	width:80%;
	display:inline-block;
	margin-left:120px;
	text-align:center;
}



@media (max-width: 921px){	

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS: tab 1235
----------------------------------------------------------------
# Typography
# Elements
# Forms
# Navigation
# Links
# Buttons and Icons
# Content
    ## Post types Archive
	## Post types single 
	## Posts and pages
	## front-page elements
# Animations
# Sliders
# Tab 
# Mob 
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
	.wp-custom-header img{
		object-fit:cover;
		height:100%;
	}
	.wp-custom-header{
		height:80vh;
	}
	.home .site-header{
		height:80vh;
	}
		.cta-text{
		width:80%;
		margin-left:10%;
		margin-right:auto;
	}
/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
	.smwr-8{
		top: 80px;
		right:0;
		width:100%;
		height:90%;
	}
	.smwr-12{
		width:45%;
		z-index:9999;
	}
	.smwr-12 .siw-2{
		padding-bottom:0;
	}
	.smwr-12 .wpcf7{
	position:absolute;
	left:0;
	top:-70px;
}
	.smwr-11 .smwr-12 form input{
		z-index:10;
	}
	.smwr-11 .smwr-12 form p{
		margin-top:0.7em;
	}
	.smwr-12 .siw-2, .smwr-8 .siw-2{
	overflow-y:scroll;
	height:100%;
	position:relative;
	margin-top:0px
}
	.smwr-12 .wpcf7, .smwr-8 .wpcf7{
		overflow:hidden;
	}
	.smwr-12 .wpcf7{
		top:0;
	}
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
	.ast-mobile-popup-drawer.active{
		transition: opacity .35s ease-out;
		color:#333;
	}
	.ast-mobile-popup-drawer .ast-mobile-popup-inner{
		transition: transform .35s ease-in,opacity .35s ease-in;
		
	}
	.ast-mobile-popup-drawer .ast-mobile-popup-inner{
		max-width:100%;
	}
	.menu-toggle-close .ahfb-svg-iconset svg{
		width:30px;
		height:30px;
	}
	.main-header-menu > .menu-item > .menu-link{
		color:#333;
		text-align:center;
		font-size:22px;
		border-bottom: 0.1px solid #333!important;
	}
	.main-header-menu > .menu-item > .menu-link:hover{
		color:#1baf45!important;
	}
	
	.ast-header-break-point .main-navigation ul .menu-item .menu-link{
		color:#333;
		text-align:center;
	}
	.ast-header-break-point .main-navigation ul .menu-item .menu-link:hover{
		color:#1baf45!important;
	}
	.main-header-menu{
		margin-top:5%!important;
	}
	.menu-toggle-close{
		padding:30px!important;
	}
/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Buttons and icons
--------------------------------------------------------------*/
[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
    fill: #000;
		width: 35px;
	height: 35px;
	transition: all .3s ease;
}

[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg:hover {
    fill: #1baf45;
	transition: all .3s ease;
}
.post-122 .contact-button {
		text-align: center;
		width: 80%;
	}

.contact-button{
    margin-bottom: 20px
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Post types archive
--------------------------------------------------------------*/
/*edulood*/
	.post-type-archive .type-edu_lood{
	flex:0 1 48%;
	}
	.post-type-archive .before-after-img-inner-wrap img{
		max-height:200px;
	}
	.post-type-archive .before-after-img-inner-wrap img{
		max-height:280px;
	}
/*programmid ja teenused*/
	.post-type-archive-d5s2_programmid .ast-row article, .post-type-archive-d5s2_teenus .ast-row article{
		width:46%;
        margin:2% 2%;
	}
    .blog .site-content .ast-container .site-main .ast-row article img, .post-type-archive-voistlejale .site-content .ast-container .site-main .ast-row article img{
	max-height: 200px;
    object-fit: cover;
}
/*blog-arch-tab / võistlejale-tab*/
	.blog .site-content .ast-container .site-main .ast-row article, .post-type-archive-voistlejale .site-content .ast-container .site-main .ast-row article, .post-type-archive-voistlejad .site-content .ast-container .site-main .ast-row article{
		flex: 0 0 50%;
	}

/*category*/
.category .site-content .ast-container .site-main .ast-row article {
    flex: 1 0 45%;
}
/*--------------------------------------------------------------
## Post types single 
--------------------------------------------------------------*/
/*edulood*/
    .single-edu_lood  .before-after-img-inner-wrap{    
		flex: 0 0 100% !important;
        margin: unset;
	}
    .single-edu_lood .before-after-img-wrap .before-after-list{
		flex: 0 0 60% !important;
		margin: 20px auto;
	}
    .single-edu_lood .before-after-after-img img, .single-edu_lood .before-after-before-img img{
	    width:100%;
    }
	.single-edu_lood .entry-content{
		padding: 0 7%;
	}
    .before-after-list{
		padding-left:0!important;
	}
	.before-after-list ul li h2{
		font-size:20px;
		margin-bottom:4px;
	}
	.before-after-list ul li h3{
		font-size:16px;
		margin-bottom:4px;
	}
	.before-after-img-wrap .before-after-list{
	flex:1 1 35%;
}
	.before-after-img-wrap .before-after-list br{
		display:none;
	}
	.edu_lood-template-default .entry-content p{
        flex:0 0 100%;
		padding:0;
		padding-top:10px;
        margin:0;
	}
	.kasutas-teenuseid li a{
		display:block;
		margin-top:5px;
		text-align:center;
	}
	.kasutas-teenuseid li a{
		width:80%;
	}
    
	.post-template-default .format-video .post-thumb img{
		max-width:100%;
	}
	.post-template-default .format-video .post-thumb {
		max-width:100%;
	}
/*programmid teenused*/
		.single-d5s2_programmid #primary .type-d5s2_programmid, .single-d5s2_teenus #primary .type-d5s2_teenus{
		margin-top:50px;
	}
	.single-d5s2_programmid .entry-header h1, .single-d5s2_teenus .entry-header h1{
		top:20px;
	}
	.single-d5s2_programmid .single-layout-1, .single-d5s2_teenus .single-layout-1{
		display:inline-block;
	}
	.single-d5s2_programmid .entry-header, .single-d5s2_teenus .entry-header{
		text-align: justify;
		text-indent: 0em;
		max-width:70%;
		float:left;
		margin-bottom:0;
		margin-left:0%;
	}
	.hind h3{
		font-size:18px;
        margin-bottom: 10px;
	}
	.single-d5s2_programmid .entry-content .efavf33cq p{
		font-size:14px;
	}

	.single .entry-header .post-thumb + .ast-single-post-order{
		margin-top:0em;
	}
	.single-d5s2_programmid .entry-header img, .single-d5s2_teenus .entry-header img{
		width:100%;
	}
	.single-d5s2_programmid .entry-header .ast-single-post-order, .single-d5s2_teenus .entry-header .ast-single-post-order{
		margin-bottom:0;
	}
	.single-d5s2_programmid .entry-content, .single-d5s2_teenus .entry-content {
    margin-top: 0px;
}
.single-d5s2_programmid .entry-content, .single-d5s2_teenus .entry-content {
    padding: 0px 10px;
	}
	.single-d5s2_programmid .entry-header img, .single-d5s2_teenus .entry-header img {
    padding: 0px 10px;
}
.single-voistlejad .entry-header h1 {
    width: 85%;
    text-align: center;
    top: 0px;
    margin-top: 20px;
}
	.single-voistlejad .entry-header {
    width: 55%;
    padding: 0% 3%;
}
	.single-voistlejad table {
    padding-top: 0%;
}
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
/*meist-tab*/
.post-920 h3 {
    font-size: 20px;
}
/*kontakt-tab*/
.cinfo-text{
	padding:2% 0% 0% 10%;
}
.smwr-9 {
    margin-top: 0;
    display: flex;
    flex-wrap: wrap;
		flex-direction:column;
    margin-bottom: 0;
}
/*--------------------------------------------------------------
### front-page elements
--------------------------------------------------------------*/
	/*fp-tab*/
	.smwr-1 .sir-1 .sirc{
		margin:5px;
		padding:10px;
		font-size:14px;
		height:225px;
	}
	.smwr-2 .sir-2{
		width:50%;
	}
	.smwr-3 .sir-1{
		flex-wrap: wrap;
	}
	.smwr-3 .sirc{
		flex: 1 1 30%;
	}
	.smwr-3 .sirc:nth-child(4) img{
		height:300px;
		width:50%;
	}
	.smwr-3 .sirc-heading, .smw-14 .sirc h3{
		font-size:14px;
	}
	.smwr-4 .sirc{
		flex: 1 1 45%;
	}
	.programm-container img{
		height:200px;
	}
	.smwr-4 .sirc:nth-child(3) img{
		height:400px;
	}
	.smwr-5 .siw-2{	
	background-position:center;
	}

    /*featured posts tab*/
    	.smw-14 .sirc{
	flex:0 0 45%;
	text-align:center;
	transition: all .5s ease-in-out;
	margin:0 auto;
	position:relative;
}
	.smw-14 .sirc:nth-child(3){
	flex:0 0 90%;
	text-align:center;
	transition: all .5s ease-in-out;
	margin:5% auto;
	position:relative;
		height:300px
}
/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Sliders
--------------------------------------------------------------*/
/*testim-tab*/
	.smw-6 button {
        left: 0%;
    }
	.smw-6 button.right {
        right: 0%;
    }
	.smw-6 .sirc-elem-wrap {
        width: 80%;
    }

/*header-slider-tab*/
	.header-background, .smw-15, #header-slides{
		height:100%;
	}
	.slide1 .cta-text{
	    bottom:50px;
    }
    .slide2 .cta-text{
	    display:unset;
	    position:absolute;
	    bottom:50px;
	    margin-left:0;
	    width:100%;
    }
	    .slide3 .cta-text{
	    bottom:155px;
    }
    .slide1 .cta-text h1, .slide2 .cta-text h1{
    	font-size:28px;
    }
	.slide3 .cta-text h1{
		font-size:18px;
	}
    .slide1 .cta-text h2,.slide2 .cta-text h2,.slide3 .cta-text h2{
    	font-size:14px;
    }
	.cta-button {
        font-size: 16px;
        padding: 15px 40px 15px 40px;
    }
    .slide2 .cta-button {
        margin-left: 3%;
    }
	#slider{
		height:500px!important;
	}
		#slider ul{
		height:500px;
	}
	#slider ul li{
		height:500px;
	}
}
/*--------------------------------------------------------------
# Mob  1573
--------------------------------------------------------------*/
@media (max-width: 544px){

/*front-page-elements-mob*/
    .smwr-1 .sir-1{
		flex-direction:column;
	}
	.smwr-1 .sir-1 .sirc{
		height:195px;
		margin:5px 0px;
	}
	.section-inner-heading h2, .service-heading h2, .programmid-heading h2{
		font-size:20px;
		padding:2em 0em;
	}
	
	.smwr-2 .siw-2{
		background-position:center;
	}
	.smwr-2 .sir-2{
		width:100%;
	
    }
    .smwr-2 .sir-2 h2{
        text-align: center;
    }
    .smwr-2 .sit{
        padding-right: 10%;
    }
	
	.smwr-3 .sirc{
		flex: 1 1 100%;
	}
	.smwr-3 .sirc:nth-child(4) img{
		width:100%;
	}
	.smwr-4 .sirc:nth-child(3) img{
		height:300px;
	}
	.smwr-5 .sir-el-2{
		width:100%;
	}
	
	.smwr-5 .sir-2 h2, smwr-2 .sir-2 h2{
		margin-top:15px;
		font-size:20px;
	}
	.smwr-5 .siw-2{
		background-position:right;
	}
    .smwr-5 .sit{
        padding: 0 10%;
    }

	/*kinkekaart-mob*/
	.smwr-11 .siw h2{
		margin-bottom:0;
	}
	.smwr-11 .sir-2 {
        max-height: 250px;
        flex: 0 0 100%;
		margin-bottom:30px;
    }
	.smwr-11 .sir-1 {
        flex: 0 0 100%;
        height: 180px;
    }
	.smwr-11 .sir-1 p {
        margin-bottom: 1em;
        padding: 1% 5%;
        margin-top: 30px;
    }
	.smwr-11 .contact-button {
        margin: 0% auto;
		display:block;
    }
/*archive posts*/

    /*edulood-mob*/
    .post-type-archive .type-edu_lood{
	    flex:0 1 100%;
	}
	.post-type-archive .before-after-img-container-wrap{
		margin:0;
		width:100%;
	}
	.post-type-archive .before-after-img-inner-wrap img{
	    max-height:100%;
	    margin-bottom:10px
	}
	.post-type-archive .before-after-before-img, .before-after-after-img{
		display:block;
	}
	.before-after-img-wrap{
	    flex-direction:column;
    }
	.before-after-img-inner-wrap img{
	    max-height:100%;
		padding-right:0;
    }

    /*teenused ja programmid*/
    .post-type-archive-d5s2_programmid .ast-row article, .post-type-archive-d5s2_teenus .ast-row article{
		width:100%;
	}

	/*postitused-mob / võistlejale-mob*/
    .blog .site-content .ast-container .site-main .ast-row article, .post-type-archive-voistlejale .site-content .ast-container .site-main .ast-row article{
        flex: 0 0 100%;
		height:600px
    }
	.blog .site-content .ast-container .site-main .ast-row article h2, .post-type-archive-voistlejale .ast-container .site-main .ast-row article h2{
	    font-size:20px;
    }
/*single posts*/

    .ast-article-single .entry-header .post-thumb-img-content img{
		width:100%;
		padding:0;
	}
    /*edulood*/
    .kasutas-teenuseid li a{
		width:100%;
	}

    /*teenused ja programmid*/
    	.single-d5s2_programmid .entry-header h1, .single-d5s2_teenus .entry-header h1{
		font-size:20px;
		width:85%;
	}
	.single-d5s2_programmid .entry-header, .single-d5s2_teenus .entry-header{
		max-width:100%;
		margin-bottom:20px;
		margin-left:0;
	}
	.single-d5s2_programmid .entry-content p{
		font-size:14px;
	}
    .single-d5s2_programmid .entry-header, .single-d5s2_teenus .entry-header{
		width:100%;
	}
    .efavf33cq{
		margin-bottom:20px;
		
	}
	.single-d5s2_programmid .entry-content .efavf33cq p{
		font-size:16px;
		padding-left:0px;
	}
	.hind, .contact-button{
		width:45%;
		display:inline-block;
	}
    .single-d5s2_programmid .entry-content, .single-d5s2_teenus .entry-content{
		padding:0;
	}

    /*postitused-mob / võistlejale-mob*/
	.ast-article-single .entry-header .ast-single-post-order h1, .post-type-archive-voistlejale .ast-article-single .entry-header .ast-single-post-order h1{
		font-size:20px;
		text-align:center;
		margin:5% 0 0 0;
	}
	.post-template-default .ast-article-single .entry-header .post-thumb-img-content{
		width:90%;
	}
	
	.post-template-default .format-video .entry-content{
		padding:0;
	}
	.format-video .embed-container{
		margin:0;
	}
    
/*page-elements*/

    /*counter-mob*/
	section#counter-stats{
		margin:0;
        margin-top:5%;
	}
	.stats{
		flex: 1 1 100%;
		font-size: 35px;
		font-weight: 700;
		display: inline-block;
		padding: 5px;
	}
    .container .row {
		flex-direction:column;
	}
    /*footer544*/
	.footer-widget-area[data-section="section-fb-html-2"], .footer-widget-area[data-section="section-fb-html-1"], .footer-widget-area[data-section="sidebar-widgets-footer-widget-1"]{
		margin:unset;
	}
	.site-above-footer-wrap{
		padding-bottom:0;
	}
	footer .site-below-footer-wrap p{
	    font-size:12px;
    }	
	
/*layout*/	
	.ast-separate-container #content .ast-container{
		padding-left:unset;
		padding-right:unset;
	}
	
/*buttons and icons mob*/
	.entry-content .fab{
	top:150px;
	font-size:30px;
    }

	.smwr-9{
        margin-top: 0;
		display:block;
	}
	
	
	
	
    
	

    /*meist-mob*/
	.post-920 h2{
	font-size:22px;
    }
    .post-920 h3{
	    font-size:20px;
    }
    .voist-gal{
	    margin:10% 0%;
    }
    .wow, .wow h5{
	    color:#3a3a3a;
    }
	.post-template-default .format-video .post-thumb {
		width:10%;
	}


    .smwr-12 .siw-2, .smwr-8 .siw-2{
	overflow-y:scroll;
	height:95%;
	position:relative;
	width:100%;
	padding-top:20px;
    }
	.smwr-12 {
		width:100%;
		top:0;
		left:0;
		height:86vh;
	}
	.smwr-12 .wpcf7{
		top:0;
	}
		.smw-13 .sir {
    flex-direction:column;
}
	.smw-13 .sirc{
		flex:0 0 100%;
	}
	
	
	    .smwr-3 .sirc-heading, .smw-14 .sirc h3 {
        font-size: 16px;
    }
	.smw-14 .sirc{
	    flex:0 0 100%;
	    text-align:center;
	    transition: all .5s ease-in-out;
	    margin:0 auto;
	    position:relative;
    }
	.smw-14 .sirc:nth-child(3){
	    flex:0 0 100%;
	    text-align:center;
	    transition: all .5s ease-in-out;
	    margin:5% auto;
	    position:relative;
		height:250px
    }

	.smwr-8 {
        top: 70px;
        right: 0;
        width: 100%;
        height: 90%;
    }
	.wpcf7{
		padding-top:20px;
	}
    .smwr-12 .wpcf7{
        padding-top:0px;
    }
	.smwr-12 {
        top: 70px!important;
    }
	.cinfo-text{
	    padding:2% 0% 0% 0%;
    }
	.cinfo-text p {
        width: 100%;
        display: inline-block;
        padding: 5px;
    }
	.gm-wrap {
        width: 100%;
	}
	.page-id-924 .wpcf7 {
        padding: 0% 0%;
    }   
    .blog .site-content .ast-container .site-main .ast-row article, .post-type-archive-voistlejale .site-content .ast-container .site-main .ast-row article,    .post-type-archive-voistlejad .site-content .ast-container .site-main .ast-row article{
        flex: 0 0 100%;
		height:600px
    }
    .type-edu_lood .entry-content p{
        margin:0;
    }
    .post-type-archive-edu_lood .before-after-img-container-wrap{
		display:flex;
		flex-wrap:wrap;
	}
	.post-type-archive-edu_lood .before-after-before-img, .post-type-archive-edu_lood .before-after-after-img{
		flex:1 0 48%!important;
		margin:1%;
	}
    .single-edu_lood .before-after-img-wrap {
		padding: 5% 0% 2% 0%;
	}

	.post-template-default .ast-article-single p, .voistlejale-template-default .ast-article-single p {
        margin-bottom: 1em;
        line-height: 26px;
        font-size: 14px;
        position: relative;
        padding: 0 0em;
    }
	blockquote {
        margin: 1em 1em 1em 0.5em;
        padding: 0em;
        font-size: 1.2em;
    }
    .post-122 .contact-button {
		text-align: center;
		width: 100%;
	}
    .smw-16 {
        font-size: 15px;
        font-weight: 600;
        margin-top: 0;
        margin-bottom: 10%;
    }
	.smw-16 i {
        font-size: 20px;
    }
	.post-type-archive-d5s2_teenus article img {
		width:100%;
    }
    .post-type-archive-voistlejale .site-content .ast-container .site-main .ast-row article{
		height:auto;
	}
	.single-voistlejad .entry-header {
		width: 100%;
		padding: 10% 0%;
	}
	.single-voistlejad table {
		width: 100%;
		padding-top: 5%;
	}
	.single-voistlejad .entry-content h4{
		margin: 20px 0px;
		font-size:18px;
	}
	.single-voistlejad .wp-block-table{
		overflow-x: unset;
	}
	.smw-14 .sirc:nth-child(3), .smw-14 .sirc {
		margin: 10px auto;
	}
	.smw-13 .sirc{
		margin-bottom:10%;
	}

/*testim-slider-mob*/
	.smw-6 button {
			display:none;
    }
	.smw-6 .sirc-elem-wrap {
        width: 100%;
    }
	.smw-6 .container-imgs img{
		height:200px;
	}
/*header-slider-mob*/
    .header-background, .smw-15, #header-slides{
		height:100%;
	}
	.slide1 .cta-text{
	    bottom:100px;
    }
	.slide3 .cta-text{
	    bottom:150px;
    }
    .slide2 .cta-text{
	    display:unset;
	    position:absolute;
	    bottom:55px;
	    margin-left:0;
	    width:100%;
    }
    .slide1 .cta-text h1, .slide2 .cta-text h1, .slide3 .cta-text h1{
	    font-size:20px;
    }
    .slide1 .cta-text h2, .slide2 .cta-text h2, .slide3 .cta-text h2{
	    font-size:15px;
    }
    .slide2 .cta-button {
        margin-left: 3%;
    }
    .cta-button{
	    font-size: 16px;
        padding: 15px 30px 15px 30px;
	}	
/*form animations-mob*/
    @keyframes fadeIn {
        0% {opacity: 0;
		    top:100vh;
	    }
    100% {opacity:1 ;
		top:0;
	    }
    }
    @keyframes fadeout {
    0% {opacity: 1;
		top:0;
	    }

    100% {opacity:1 ;
		top:100vh;

	    }
    }
}
@media (max-width: 320px){
	.cta-button{
		font-size:16px;
	}
    #slider{
		height:420px;
	}	
	#slider ul{
		height:420px;
	}
	#slider ul li{
		width:320px;
		height:420px;
	}
		

}