/*!
Theme Name: Mottemaru
Theme URI: http://underscores.me/
Author: Mart Israel
Author URI: http://www.vvunk.ee
Description: Disainime ja arendame kergesti hallatavaid kaasaegseid veebilehti. Loome sinu ettevõttele visuaalse identiteedi.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mottemaru
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Mottemaru is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-moz-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-webkit-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-o-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-ms-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}
.grecaptcha-badge { 
    visibility: hidden;
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.page-template-default h1.entry-title {
   
    margin-bottom: 40px;
	
}
.page-template-default header.entry-header {
    display: flex;
    align-items: center;
    margin-bottom: 75px;
    padding: 0px 0%;
    flex-direction: row;
}
.top-header b{
	font-weight: 600;
}
.top-header a:visited {
   
    color: white;
  
}
.top-header p{
	margin-top:0px;
	margin-bottom:0px;
	color: white;

}
.top-header{
	list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
   /* max-width: 1550px;
    margin: 0 auto;*/
}
.top-header a {
    height: 33px;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    padding: 0px 15px;
	font-size:14px;
}
.top-header a:hover {
   
   
  
   
}
.top-header a:hover,
.top-header a:focus,
.top-header a:active {
	
}
.top-header a i {
  
	
}
.top-header li{
	list-style:none;
	
}
.top-header ul{
	list-style:none;
	padding:0px;
}
.top-header .widget {
    margin: 0 0px 0em 0px;
}
.top-header ul {
    margin: 0 0 0em;
	    margin: 0 0 0em;
    display: flex;
    flex-direction: row;
}
.header-all{
	background-color: #fffffff5;
    padding: 0px 0%;
    position: fixed;
    padding: 0px 5%;
    top: 0px;
    z-index: 3;
    width: 100%;
    
}
.site-header{
	 display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding: 0px 2.5%;
	
}
.site-branding{
	margin:10px 0px;
}
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}
header.entry-header{
	display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
	padding:0px 0%;
}

.entry-header-text p{
	 font-size: 27px;
    font-weight: 400;
    line-height: 35px;
    margin-top: 20px;
    text-shadow: 0 0 0px white;
    padding-right: 5%;
    margin-bottom: 60px;

}
span.posted-on{
	    font-size: 27px;
    font-weight: 400;
    line-height: 35px;
    margin-top: 10px;
    text-shadow: 0 0 0px white;
    padding-right: 5%;

}
.entry-header-text a.button-red{
	
}
/*--------------------------------------------------------------
# Home
--------------------------------------------------------------*/
#front-page-content-area .banner-buttons {
   
    text-align: right;
	padding: 50px 0%;
}
#main-counter{
	box-shadow: 3px 3px 28px #00000017;
      width: 100%;
       padding: 0px 0%;
	max-width:100%;
	
		background-size:cover;
	background-image:url('https://www.mottemaru.ee/wp-content/uploads/2022/08/mottemaru-numbrites-2.jpg');
	background-position:bottom;

}
.front-page-inside{ 
	background-image: linear-gradient(#ce1a1e, #b5171ae0);
    padding: 50px 9%;
}
#main-counter .wpsm_row{
	    display: flex !important;
    justify-content: center !important;
}
#wpsm_counter_b_row_93 .wpsm_counterbox .wpsm_number {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 800 !important;
    
}
#wpsm_counter_b_row_93 .wpsm_counterbox .wpsm_count-title {
   font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
	    margin-top: 10px !important;
	letter-spacing: 0px !important;
}
#wpsm_counter_b_row_93 .wpsm_counterbox {
       text-align: center;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    text-align: center;
    /*background-color: #ffffff;
    box-shadow: 0px 0px 20px #00000017;*/
    border-radius: 40px;
	padding: 20px;
}
.wpsm_col-md-12 {
    position: relative;
    min-height: 1px;
    padding-right: 0px !important;
    padding-left: 0px !important;
}
#wpsm_counter_b_row_91 .wpsm_counterbox {
        text-align: left !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    display: flex;
    align-items: center;
}
#wpsm_counter_b_row_91 .wpsm_counterbox .wpsm_count-title {
    min-height: auto !important;
	
}
#wpsm_counter_b_row_91 .wpsm_counterbox .wpsm_number {
   
    font-family: 'Poppins', sans-serif !important;
	font-weight:600 !important;
    margin-top: 0px !important;
  
}
#wpsm_counter_b_row_91 {
    
    width: 97% !important;
    
}
#wpsm_counter_b_row_91 .wpsm_counterbox .wpsm_count-title {
   
font-family: 'Poppins', sans-serif !important;
   margin-left:5px !important;
    margin-top: 0px !important;
	    letter-spacing: normal !important;
}	
.front-page-slider-content .banner-buttons{
	    text-align: left;
	margin: 0px;
    max-width: 100%;
    padding: 25px 0% 0px;
}

.home header.entry-header{
	display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}
.home .front-page-slider{
	background-color: #ffffff69;
    padding: 150px 2.5% 50px 8%;
	box-shadow: 3px 3px 28px #00000017;

}
.post-thumbnail{
	height:auto;
	object-fit:cover;
	animation: fadeIn 3s;
    -webkit-animation: fadeIn 3s;
    -moz-animation: fadeIn 3s;
    -o-animation: fadeIn 3s;
    -ms-animation: fadeIn 3s;
	overflow:hidden;
	border-radius: 100px 100px 30px 200px;
	width:100%;
	margin-left:5%;
	background-color: #ed2024;
	
}
.front-page-text ul li {
	margin:15px 0px;
}
.post-thumbnail img {
    height:500px;
}
.post-thumbnail img{
opacity: 0.8;
	object-fit:cover;
	}
	
h1.entry-title{
	font-size:55px;
	margin-bottom: 0px;
	    line-height: 60px;
}
.home .post-thumbnail{
	width: 50%;
    background-color: #ed2024;
    border-radius: 100px 100px 30px 200px;
    overflow: hidden;
	animation: fadeIn 3s;
    -webkit-animation: fadeIn 3s;
    -moz-animation: fadeIn 3s;
    -o-animation: fadeIn 3s;
    -ms-animation: fadeIn 3s;
	height:auto;
}
.home .post-thumbnail img{
	opacity:0.8;
    margin-bottom: -7px;
}
.home h1.entry-title{
	font-size: 80px;
    line-height: 90px;
    margin-bottom: 25px;
    margin-top: 0px;
	    text-shadow: 0 0 10px white;
	color: #272727;
	letter-spacing: -2px;
}
.home .front-page-slider-content p{
	font-size: 27px;
    font-weight: 400;
    line-height: 35px;
    margin-top: 5px;
	    text-shadow: 0 0 5px white;
	padding-right: 5%;
}
.home .banner-buttons{
	margin-top: 0px;
}
#service-content-home #front-page-content-area {
	box-shadow: 3px 3px 28px #00000017;
      width: 67%;
    padding: 50px 5% 50px 5%;
    background-color: #ffffff8f;
        border-radius: 100px 200px 100px 50px;
	margin-left:3%;
}
/*#service-content-home h1{
	color: white;
}
#service-content-home h2{
	color: white;
}
#service-content-home h3{
	color: white;
}
#service-content-home h4{
	color: white;
}
#service-content-home p{
	color: white;
}*/
.home .post-thumbnail img {
    opacity: 0.8;
    margin-bottom: -7px;
    height: auto;
}

    
#main-content-home #front-page-content-area {
    box-shadow: 3px 3px 28px #00000017;
    width: 67%;
    padding: 50px 5% 50px 5%;
    background-color: #ffffff8f;
    border-radius: 100px 50px 100px 200px;
    margin-right: 3%;
	    text-align: right;
}
#main-content-home{
	 display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
}
#service-content-home {
	 display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
	margin-bottom: 0px;
	padding-bottom:0px;
	    align-content: center;
	align-items: center;
   
}
#training-main-content-left {
	display: flex;
    flex-direction: row-reverse;
    margin-bottom: 0px;
    padding-bottom: 0px;
    align-content: center;
   
}
#training-main-content-right {
	    display: flex;
    flex-direction: row;
    margin-bottom: 0px;
    padding-bottom: 0px;
    align-content: center;
   
}
#training-main-content .content-area-img {
    width: auto;
    background-color: #dd402f;
    border-radius:  150px  250px 150px 50px;
    overflow: hidden;
	max-width:30%;
	 margin-left: 3%;
}
#traning-content-area-left{
	width:100%;
	box-shadow: 3px 3px 28px #00000017;
   text-align:right;
    padding: 75px 5% 50px 7%;
    background-color: #ffffff8f;
    border-radius:200px 100px 50px 100px ;
  
}
#traning-content-area-right{
	    width: 100%;
    box-shadow: 3px 3px 28px #00000017;
    padding: 75px 7% 50px 5%;
    background-color: #ffffff8f;
    border-radius: 100px 200px 100px 50px;
}


.training {
    margin: 25px auto;
    max-width: 1550px;
    padding: 50px 2.5%;
}
.banner-buttons {
    margin: 0px auto;
    max-width: 1550px;
    padding: 50px 2.5%;
	text-align:center;
}
#front-page-content-area{
	    width: 70%;
    padding: 50px 5% 50px 0%;
	box-shadow: 3px 3px 28px #00000033;



}
#main-content-home{
	 display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
	margin-top: 0px;
	margin-bottom:0px;
}
.content-area-img{
	    width: 30%;
    background-color: #dd402f;
        border-radius: 50px 150px 250px 150px;
    overflow: hidden;
	
}
#training-main-content-right .content-area-img {
    width: 40%;
    background-color: #dd402f;
    border-radius: 250px 150px 50px 150px;
    overflow: hidden;
    margin-right: 3%;
}
#training-main-content-left .content-area-img {
    width: 40%;
    background-color: #dd402f;
    border-radius: 150px 250px 150px 50px;
    overflow: hidden;
    margin-left: 3%;
}
#service-content-home .content-area-img {
    width: 30%;
    background-color: #dd402f;
    border-radius: 250px 150px 50px 150px;
    overflow: hidden;
}
.content-area-img img{
	height: 100%;
    object-fit: cover;
	opacity:0.8;
	    box-shadow: 3px 3px 28px #00000017;
}
#testimonial-content-home{
	    max-width: 1550px;
    background-color:#dededec2;
    margin: 50px auto;
    border-radius: 150px;
}
.testimonial-out{
	width:100%;
	margin:0px auto;
	padding:50px 5%;
}
.sp-testimonial-free-section .sp-testimonial-client-testimonial p {
    font-size: 28px;
    line-height: 34px;
    text-transform: none;
    text-align: center;
    letter-spacing: normal;
    font-weight: 400;
    font-style: normal;
    margin: 0 0 20px 0;
    font-style: italic;
}
.sp-testimonial-free-section .sp-testimonial-client-testimonial p:after {
    content:'"';
}
.sp-testimonial-free-section .sp-testimonial-client-testimonial p:before {
    content:'"';
}
/*--------------------------------------------------------------
# Blogi
--------------------------------------------------------------*/
footer.entry-footer{
	display:none;
}
span.posted-on (text){
	display:none;
}
/*--------------------------------------------------------------
# Nupud
--------------------------------------------------------------*/
a.button-red{
	background-color:#ed2024;
	border-radius:30px;
	color:white;
	padding:15px 30px;
	font-size:23px;
	font-weight:500;
	margin-right:10px;
}
a.button-red:hover{
	color:white;
	background-color:black;
}
a.button-red:visited{
	color:white;
}
a.button {
	font-size:18px;
	font-weight:600;
	padding:10px 20px;
	border:solid 3px black;
	border-radius:25px;
	
	
}
a.button:hover {
	border:solid 3px black;
	background-color:black;
	color:white !important;
	
}
a.button:visited {
	color:black;
}
.cli-style-v2 .cli-bar-btn_container .cli-plugin-button {
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 30px;
    padding: 13px 20px;
    font-weight: 600;
}
.cli-style-v2 .cli-bar-btn_container .cli-plugin-button:hover {
    color:white !important;
	background-color:black !important;
}
/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
#koolituste-plokid h2{
	margin: 40px 0px;
}
div#koolituste-plokid.koolituste-plokid {
        /* grid-template-columns: repeat(4, 0fr); */
    margin: 25px auto;
    max-width: 1550px;
    padding: 50px 2.5%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
figure.koolituse-plokk{
	        display: inline-block;
    text-align: center;
    width: 31%;
    padding: 20px 2%;
    margin: 10px 1%;
    
    border-radius: 25px;
	 
	    box-shadow: 3px 3px 28px #00000017;

    background-color: #ffffff8f;
}
figure.koolituse-plokk p{
	 display: inline-block;
    text-align:center;


}
   figure.koolituse-plokk h3{
	
	

}
section#text-4.widget.widget_text{
	display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ed2024;
    border-radius: 30px;
    padding: 50px 3%;
	text-align:center;
}
span.wpcf7-spinner{
	display:none;
}
section#text-4.widget.widget_text ::placeholder{
	color:white;
}
section#text-4.widget.widget_text h2{
	color:white;
}
section#text-4.widget.widget_text p{
	color:white;
}
section#text-4.widget.widget_text input{
	margin:5px;
}
#secondary h2 {
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 23px;
	text-align:center;
    
}
#secondary{
	    display: block;
    max-width: 1350px;
    margin: 50px auto 50px;
    padding: 0px 0%;
}

.page-template-default div.entry-header-text a{
	display:none;
}
.reg-out{
	padding-top:70px;
	
}
.reg {
    display: block;
    max-width: 1350px;
    margin: 50px auto 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ed2024;
    border-radius: 30px;
    padding: 50px 3%;
}
.reg ::placeholder{
	color:white;
}
.reg h2{
	color:white;
}
.reg p{
	color:white;
}
.reg input{
	margin:5px;
}

.page-template-default .page{
	    display: flex;
    align-items: stretch;
    margin: 0px 5%;
    flex-direction: column;
}
.page-template-default .entry-content {
    width: 100%;
    margin-left: 0%;
}
.page-template-default .post-thumbnail img {

	}
#main-content-home ul{
	list-style:none;
}

#main-content-home ul li:before{
	 content: "➜";
	margin-right:5px;
	font-size:25px;
	color:#ed2024;
}
#main-content-home ul li{
	font-weight:600;
	font-size:21px;
	color:#ed2024;
	 line-height: 23px;
    margin-bottom: 10px;
}
#service-content-home ul{
	list-style:none;
}

#service-content-home ul li:before{
	 content: "➜";
	margin-right:5px;
	font-size:21px;
	color:#ed2024;
}
#service-content-home ul li{
	font-weight:600;
	font-size:21px;
	color:#ed2024;
	line-height: 23px;
    margin-bottom: 10px;
}
h2#koolituste-plokid{
	    margin: 125px auto 25px;
    max-width: 1550px;
    padding: 0px 2.5%;
    text-align: center;
}

/*--------------------------------------------------------------
# Home-blog
--------------------------------------------------------------*/
h2.block{
	font-size:30px;
	text-align: center;
}
h2#counter{
	color:white;
	text-align:center;
}

.thumb_link{
	background-color:#ed2024;
	
}
.layout-62 .element_1659422205543 a {
    font-weight: 600;
    font-size: 25px;
    line-height: 33px;
}
.layout-62 .element_1659422205543 {
    text-align: left;
    padding: 10px 5%;
}
.layout-62 .element_1660077355151 {
    text-align: left;
    margin: 0px 5% 20px;
	    text-align: left;
    display: flex;
    flex-direction: column;
}


.layout-62 .element_1660077355151 a {
    margin-top: 20px;
    font-weight: 600;
    color: #ed2024;
}
.thumb_link img{
	opacity: 0.8;
    margin-bottom: -7px;
    filter: brightness(0.8);
	
}
/*.title_link{
	position:absolute;
	z-index:1;
	text-align:center !important;
	margin: 10px 10%;
}
.title_link a:hover {
    
    color: white;
   
}
.title_link a:visited {
    
    color: white;
   
}
.title_link a{
	font-size: 25px;
    color: white;
    font-weight: 600;
    line-height: 30px;
	
}*/
.item{
	border-radius: 30px;
    overflow: hidden;
	    box-shadow: 3px 3px 28px #00000017;
}
.item:hover{
	opacity:0.95;
}
/*.layer-wrapper.layout-62{
	 display: flex;
    justify-content: center;
    align-items: center;
}*/

.front-page{
	margin: 50px auto;
    max-width: 1550px;
    padding: 50px 2.5%;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer{
	  
       margin-bottom: 0px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1550px;
    padding: 50px 10%;
}
#footer-sidebar1{
	width:50%;
}
#footer-sidebar2{
	width:50%;
}
#footer-sidebar3{
	width:25%;
}
.footer-out{
    background-color: black;
   
    overflow: hidden;
    width: 100%;

}
.site-footer a{
	
	font-size: 15px;
    line-height: 1.7em;
	color:white;
}
.site-footer a:visited {
    color: white;
}
.site-footer a:hover {
    color: #ed2024;
}

.site-footer .menu-item-32 a{
	font-size: 35px !important;
}

.site-footer ul{
	list-style:none;
	padding-left:0px;
	margin-left:0px;
}
.site-footer ul#menu-footer-social-media.menu a{
	font-size:35px;
}
.site-footer ul#menu-footer-social-media.menu a i:hover{
	color: #404040;
}
.site-footer p{
	
	font-size:15px;
	color:white;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    color: white;
}
.wpcf7 form.spam .wpcf7-response-output {
    color: white;
    border-color: #f56e28;
}
input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required.wpcf7-not-valid{
	    border: 2px solid #dd402f;
}
textarea.wpcf7-form-control.wpcf7-textarea{
		color:white;
}
section#text-4.widget.widget_text input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required.wpcf7-not-valid{
	 border: 3px solid white;
}
.reg input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required.wpcf7-not-valid{
	 border: 3px solid white;
}
section#text-4.widget.widget_text.wpcf7 form.invalid .wpcf7-response-output, section#text-4.widget.widget_text .wpcf7 form.unaccepted section#text-4.widget.widget_text .wpcf7-response-output, section#text-4.widget.widget_text .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #f2f2f200;
    color: white;
    /* text-align: center; */
    /* font-size: 18px; */
	text-align:center;
}
.reg .wpcf7 form.invalid .wpcf7-response-output, .reg .wpcf7 form.unaccepted .reg .wpcf7-response-output, .reg .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #f2f2f200;
    color: white;
    /* text-align: center; */
    /* font-size: 18px; */
	text-align:center;
}
section#text-4.widget.widget_text.wpcf7 .wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    color: white;
    text-align: center;
}
.reg .wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    color: white;
    text-align: center;
}
.wpcf7 form .wpcf7-response-output {
    /* margin: 2em 0.5em 1em; */
    padding: 1.2em 0em;
    border: 0px solid #00a0d2;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #f2f2f200;
    color: #dd402f;
    /* text-align: center; */
    /* font-size: 18px; */
}
section#text-4.widget.widget_text .wpcf7 form.invalid .wpcf7-response-output, section#text-4.widget.widget_text .wpcf7 form.unaccepted .wpcf7-response-output, section#text-4.widget.widget_text .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #f2f2f200;
    color: white;
    /* text-align: center; */
    /* font-size: 18px; */
}
.site-footer h3 {
  	margin-bottom: 10px;
    font-weight: 600;
    font-size: 23px;
	color:white;
    
}
.site{
	 
}
/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	    display: block;
    max-width: 1350px;
    margin: 150px auto 100px;
	padding:0px 0%;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
button, input, select, optgroup, textarea{
	color: white;
}
body {
	color: black;
	font-family: 'Poppins', sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: 'Poppins', sans-serif;
	
}
h1{
	letter-spacing: -1px;
	color: #272727;
}
h2{
	    font-size: 37px;
    line-height: 43px;
    letter-spacing: 0px;
    color: #272727;
}

p {
	margin-bottom: 1.5em;
	font-family: 'Lato', sans-serif;
	color:black;
	font-size: 17px;
	font-weight:400;
}

dfn,
cite,
em,
i {
	font-style: italic;
	margin-right:5px;
	color:#ed2024;
}

blockquote {
	margin: 0 0em;
}
blockquote p{
	font-weight: 600;
    font-size: 27px;
    color: #ed2024;
    line-height: 33px;
    margin-bottom: 8px;
	 margin-top: 8px;

}
blockquote p:before{
	    content: "➜";
    margin-right: 5px;
    font-size: 25px;
    color: #ed2024;

}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 0em 0.5em;
	padding-left:20px;
	padding-bottom:20px;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 0em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color:black;
	text-decoration:none;
	font-family: 'Poppins', sans-serif !important;
}

a:visited {
	color:black;
}

a:hover,
a:focus,
a:active {
	color: #ed2024;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 0px solid;
    /* border-color: red; */
    border-radius: 20px;
    background: #dd402f;
    color: rgb(255 255 255);
    line-height: 1;
    padding: 13px 30px;
    font-weight: 600;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background-color: white;
	color:black;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;

}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	    color: #b8b8b8;
    border: 1px solid #e3e0e0;
    border-radius: 14px;
    padding: 8px 12px;
    background-color: #ff000000;
	color:white;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: white;
}

select {

	    border: 1px solid #ccc;
    background-color: #ff000000;
    border-radius: 14px;
    padding: 8px 12px;
    background-color: #ed2024;
}

textarea {
	width: 100%;
}
section#text-4.widget.widget_text input[type="submit"] {
    border: 0px solid;
    /* border-color: red; */
    border-radius: 20px;
    background: #ffffff;
    color: rgb(38 38 38);
    line-height: 1;
    padding: 13px 30px;
    font-weight: 600;
}
.reg input[type="submit"] {
    border: 0px solid;
    /* border-color: red; */
    border-radius: 20px;
    background: #ffffff;
    color: rgb(38 38 38);
    line-height: 1;
    padding: 13px 30px;
    font-weight: 600;
}
.reg input[type="submit"]:hover {
  color:white;
	background-color:black;
}

section#text-4.widget.widget_text input[type="submit"]:hover {
  color:white;
	background-color:black;
}
span.wpcf7-not-valid-tip{
	display:none;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	/*display: none;*/
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	font-weight:500 !important;
}

#mega-menu-item-29{
	background-color: #ed2024 !important;
	border-radius:20px !important;
	margin-left:20px !important;
}
#mega-menu-item-29:hover{
	background-color: black !important;
}
#mega-menu-item-29 a{
	color:white !important;
}
/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: none;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 0em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 3% 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
	width: 200px;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
    align-items: center;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
    padding: 0px 2%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */


.alignleft {

	float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
    width: 35%;
	border-radius: 50px 50px 100px 20px;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
	 width: 40%;
	border-radius: 50px 50px 20px 100px;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
	 width: 100%;
	border-radius: 50px ;
}


@media only screen and (max-width: 1500px){
h1.entry-title {
    font-size: 45px;
    line-height: 55px;
    margin-bottom: 15px;
    margin-top: 0px;
}
.home h1.entry-title {
    font-size: 75px;
    line-height: 70px;
    margin-bottom: 15px;
    margin-top: 0px;
}
.home .front-page-slider-content p {
    font-size: 25px;
    line-height: 30px;
    margin-top: 0px;
	margin-bottom:15px;
	padding-right: 10%;
}	
.home .banner-buttons {
    margin-top: 45px;
}
}
@media only screen and (max-width: 1350px){
	#secondary{
	   
    padding: 0px 3%;
}
	ul, ol {
    margin: 0 0 0em 1.5em;
    padding-left: 0px;
    padding-bottom: 20px;
}
	header.entry-header{
	
	padding:0px 3%;
}
	.reg {
    display: block;
    max-width: 1350px;
    margin: 100px auto 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ed2024;
    border-radius:  0px;
    padding: 50px 10%;
}
	
.home h1.entry-title {
    font-size: 55px;
    line-height: 50px;
    margin-bottom: 20px;
    margin-top: 0px;
}
.home .front-page-slider-content p {
    font-size: 20px;
    line-height: 25px;
    margin-top: 0px;
	margin-bottom:20px;
	padding-right: 10%;
}	
	.entry-header-text p  {
    font-size: 20px;
    line-height: 25px;
    margin-top: 0px;
	
	padding-right: 10%;
		padding-left:2%;
		padding-right:2%;
}	
	span.posted-on{
	     font-size: 20px;
    line-height: 25px;
    margin-top: 0px;
	
	padding-right: 10%;
		padding-left:2%;
		padding-right:2%;
}
.home .banner-buttons {
    margin-top: 35px;
}
	#wpsm_counter_b_row_91 .wpsm_counterbox .wpsm_count-title {
    font-size: 15px !important;
   
}
	#service-content-home ul li {
   
    font-size: 20px;
    line-height: 22px;
    margin-bottom: 10px;
   
}
	#main-content-home ul li{
	font-size: 20px;
    line-height: 22px;
    margin-bottom: 10px;
}
}

@media only screen and (max-width: 1250px){
	.home .post-thumbnail img {
 
    height: auto;
}
	.post-thumbnail img {
    height:auto;
}
	.front-page {
    margin: 50px auto;
    
}
	
	h2 {
    font-size: 35px;
    line-height: 38px;
}

.custom-logo-link {
    display: inline-block;
    width: 160px;
}
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
    
    font-size: 17px !important;
   
}}


@media only screen and (max-width: 1050px){
	.page-template-default header.entry-header {
    width: 100%;
    display: flex;
    justify-content: center;
}
.banner-buttons {
  
    padding: 50px 2.5%;
   
}
.custom-logo-link {
    display: inline-block;
    width: 140px;
}
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
        padding: 0px 15px 0px 15px !important;
    font-size: 16px !important;
   
}
	input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
    
    width: 100%;
		
}
	section#text-4.widget.widget_text input {
    margin: 5px 0px;
}
}
@media only screen and (max-width: 1000px){
	figure.koolituse-plokk{
	       
    width: 48%;
 
}
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover, #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:focus {
    background: white !important;
   
}
#mega-menu-item-29 {
    background-color: white !important;
    border-radius: 20px !important;
    margin-left: 0px !important;
}
	#mega-menu-item-29:hover {
    background-color: white !important;
    border-radius: 20px !important;
    margin-left: 0px !important;
}
#mega-menu-item-29 a {
    font-weight:700 !important;
	color:#ed2024 !important;
}
	#mega-menu-item-29 a:hover {
    font-weight:700 !important;
	color:#ed2024 !important;
}
	
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
    font-size: 22px !important;
    padding: 0px 20px 0px 20px;
}
	a.mega-menu-link {
    display: flex !important;
		justify-content: center !important;
}
	ul.mega-sub-menu{
		margin:10px 0px !important;
		    background: white !important;
		box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%) !important;



	}
	ul.mega-sub-menu a{
		
		    color: black !important;
	}
	#front-page-content-area .banner-buttons {
    text-align: left !important;
    margin-top: 30px !important;
    text-align: left !important;
    margin-top: 30px !important;
    display: flex;
    align-content: flex-start;
    align-items: flex-start;
    padding: 50px 0%;
}
}
@media only screen and (max-width: 850px){
	#training-main-content-right {
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 0px;
    padding-bottom: 0px;
    align-content: center;
}
	
	.entry-header-text p{
	    text-align:center;
		color:white;    
		margin-bottom: 35px;

}
	span.posted-on time{
		  text-align:center;
		color:white !important;    
		margin-bottom: 35px;
	}
	header.entry-header{
	margin-top:85.8px;
	padding:0px 0%;
}
	.home	header.entry-header{
	margin-top:0px;
	padding:0px 0%;
}
p {
   
    font-size: 16px;
   
}
	#service-content-home {
        display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-bottom: 0px;
    padding-bottom: 0px;
}
	#service-content-home #front-page-content-area {
       box-shadow: 3px 3px 28px #00000017;
    width: 100%;
    padding: 25px 10% 25px 10%;
    background-color: #ffffff8f;
    border-radius: 50px 100px 50px 20px;
    margin-left: 0%;
}
	#service-content-home .content-area-img {
   width: 100%;
    background-color: #dd402f;
    border-radius: 250px 150px 50px 150px;
    overflow: hidden;
    margin-top: 50px;
}
	.content-area-img img {
    height: auto;
    object-fit: cover;
    opacity: 0.8;
    box-shadow: 3px 3px 28px #00000017;
		width: 100%;
}
	#main-content-home {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-top: 0px;
    margin-bottom: 0px;
}
	#main-content-home .content-area-img {
    width: 45%;
    background-color: #dd402f;
    border-radius: 250px 150px 50px 150px;
    overflow: hidden;
    margin-bottom: 20px;
		display:none;
}
	#main-content-home #front-page-content-area {
       box-shadow: 3px 3px 28px #00000017;
    width: 100%;
    padding: 25px 10% 25px 10%;
    background-color: #ffffff8f;
    border-radius: 50px 100px 50px 20px;
    margin-left: 0%;
}
	.home .banner-buttons {
       margin-top: -15px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}
	.home .banner-buttons a.button {
       margin-top: 10px;
  
}.home .post-thumbnail {
    width: 100%;
    position: absolute;
    border-radius: 0px;
    z-index: -1;
	 height: 700px;
	margin:0 auto;
}
	.post-thumbnail {
    width: 100%;
    position: relative;
    border-radius: 0px;
    z-index: 1;
	 height: 500px;
	margin:0 auto;
		    background-color: #ed2024;
}
	.entry-header-text{
		position: absolute;
    text-align: center;
    z-index: 2;
   
	}
	.post-thumbnail img {
   height: 500px;
			width:100%;
			object-fit:cover;
}
.home .post-thumbnail img {
   height: 900px;
			width:100%;
			object-fit:cover;
}
.home .front-page-slider {
    padding: 0px 0% 0px 0%;
    height: 700px;
	width:100%;
	margin:0 auto;
	background-color: #0000004f;
}
.home .front-page-slider {
    padding: 0px 0% 0px 0%;
}
.home header.entry-header {
  display: flex;
    flex-direction: column;
    justify-content: center;
    height: 700px;
    align-items: center;
}
.front-page-slider-content	a.button {
    font-size: 18px;
    font-weight: 600;
    padding: 10px 20px;
    border: solid 3px white;
    border-radius: 25px;
	color:white
}
	.front-page-slider-content a.button:hover {
  
    border: solid 3px white;
   background-color:white;
    color: black !important;
}
.front-page-slider-content{
		position:absolute;
	}
.home h1.entry-title {
    font-size: 43px;
    line-height: 43px;
    margin-bottom: 20px;
    margin-top: 20px;
	text-align:center;
}
h1.entry-title {
    font-size: 43px;
    line-height: 43px;
    margin-bottom: 20px;
    margin-top: 20px;
	text-align:center;
	color:white;
}

	.home .front-page-slider-content p {
   
    padding-right: 0%;
}
	.front-page-slider-content {
    position: absolute;
    margin: 10px 2%;
}
	.home h1.entry-title {
 	    letter-spacing: 0px;
    text-shadow: 0 0 0px white;
		color:white;
		text-align:center
}
	.home .front-page-slider-content p {
   color:white;
		text-align:center;
		
		
    text-shadow: 0 0 0px white;
}
	.site-footer {
    margin-bottom: 0px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1550px;
    padding: 50px 10%;
    flex-direction: column;
    align-items: center;
}
	#footer-sidebar1 {
    width: 60%;
    text-align: center;
}
	#footer-sidebar2 {
    width: 60%;
    text-align: center;
}
	span.wpcf7-spinner{
		display:none;
	}
	#main-content-home #front-page-content-area {
 
    text-align: left;
}
	h2 {
    font-size: 30px;
    line-height: 35px;
}
	h2.block {
    font-size: 25px;
    text-align: center;
}
	.title_link {
  
}
	.title_link a {
    font-size: 20px;
    line-height: 25px;
}
	.layout-62 .element_1659422205543 {
    
		
}
	a.button-red {
 
    margin-right: 0px;
}
	.layout-62 .element_1659422205543 a {
  
       font-size: 22px;
    line-height: 30px;
}
	.page-template-default .page {
    display: flex;
    margin: 0px 5%;
    margin-top: 0px;
    margin-right: 0%;
    margin-bottom: 0px;
    margin-left: 0%;
    flex-direction: column;
}
	.page-template-default header.entry-header {
    width: 100%;
		height: 500px;
        background: #ed2024;
    
}
	.page-template-default .post-thumbnail img {
    border-radius: 0px;
		
	
}
	.page-template-default main {
    display: block;
    max-width: 1450px;
    margin:0px auto 100px;
}
	.page-template-default .entry-content {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
}
	main {
	    display: block;
  
    margin: 0px auto 50px;
	padding:0px 0%;
}
	.alignleft {

	float: left;
    margin-right: 0px;
    margin-bottom: 1.5em;
    width: 100%;
	border-radius: 50px 50px 100px 20px;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 0px;
	margin-bottom: 1.5em;
	  width: 100%;
	border-radius: 50px 50px 20px 100px;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
	 width: 100%;
	border-radius: 50px ;
}
	.gallery-columns-6 {
    grid-template-columns: repeat(3, 1fr);
}
	#front-page-content-area .banner-buttons {
    text-align: left !important;
		margin-top:30px !important;
		text-align: left !important;
    margin-top: 30px !important;
    display: flex;
    align-content: flex-start;
    align-items: flex-start;
		padding: 50px 0%;
}
	#training-main-content {
    display: flex;
    flex-direction: column;
    margin-bottom: 0px;
    padding-bottom: 0px;
    align-content: center;
}
	#training-main-content .content-area-img {
    width: auto;
    background-color: #dd402f;
    border-radius: 150px 250px 150px 50px;
    overflow: hidden;
    max-width: 100%;
    margin-left: 0%;
    margin: 20px 0px;
}
	#training-main-content-right .content-area-img {
  
		display:none;
}
		#training-main-content-left .content-area-img {
  
		display:none;
}
	.training {
    margin: 20px auto;
    
}
		#traning-content-area-left {
  
    border-radius: 115px 75px 30px 75px;
}
	#traning-content-area-right {

    border-radius: 75px 115px 75px 30px;
}
	#traning-content-area-left{
	
   text-align:left;
   
  
}
	.front-page {
    margin: 20px auto;
}
	div#koolituste-plokid.koolituste-plokid {
    
		margin-bottom:0px;
}
	}
@media only screen and (max-width: 768px){

	#main-counter .wpsm_row {
    display: flex !important;
    justify-content: center !important;
    flex-direction: column;
}
	.gallery-columns-5 {
    grid-template-columns: repeat(3, 1fr);
}

}
@media only screen and (max-width: 650px){
	h2#koolituste-plokid {
    margin: 75px auto 0px;
  
}
	h2 {
    font-size: 25px;
    line-height: 30px;
}
	#menu-top-header-est b{
		display:none;
	}
	h1.entry-title {
    font-size: 37px;
    line-height: 40px;
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: center;
    color: white;
}
	.gallery-columns-4 {
    grid-template-columns: repeat(2, 1fr);
}
	figure.koolituse-plokk{
	       
    width: 98%;
 
}
}
@media only screen and (max-width: 500px){
	a.button-red {
   
    font-size: 17px;
    
}
	#footer-sidebar2 {
    width: 80%;
    text-align: center;
}
	#traning-content-area-left {
  
    border-radius: 100px 50px 20px 50px;
}
	#traning-content-area-right {

    border-radius: 50px 100px 50px 20px;
}
}
@media only screen and (max-width: 450px){
	.gallery-columns-5 {
    grid-template-columns: repeat(2, 1fr);
}
	.home h1.entry-title {
    font-size: 28px;
    line-height: 37px;
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: center;
}
	section#text-4.widget.widget_text {
   
    padding: 50px 7%;
  
}
	.gallery-columns-6 {
    grid-template-columns: repeat(2, 1fr);
}
	h1.entry-title {
 font-size: 25px;
    line-height: 33px;
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: center;
    color: white;
    padding: 0px 2%;
}
	#footer-sidebar2 {
    width: 100%;
    text-align: center;
}
		#footer-sidebar1 {
    width: 100%;
    text-align: center;
}

	a.button-red {
   
    margin-bottom: 0px;
    width: auto;
}
	}