/*!
Theme Name: Heco
Theme URI: http://underscores.me/
Author: V360 Digiagentuur
Author URI: http://www.v360.ee
Description: Sinu edu on ka meie edu
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: heco
Tags: 

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

Heco 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/
*/
html { scroll-behavior: smooth; } 




/* Header
--------------------------------------------- */

.header-all.nav-up {
    transform: translateY(-100%);
	    transition: background 0.5s ease;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;

}

.header-all.active div.site-branding img {
    /* -webkit-clip-path: polygon(0% 13% , 27% 0%, 100% 15%, 100% 85%, 30% 100% , 0 91%); */
    /* clip-path: polygon(0% 0 , 100% 0%, 100% 100%, 90% 0%, 0% 95% , 0 38%); */
    /* margin-bottom: -28px; */
    transition: background 0.5s ease;
	-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
	  

}
.custom-logo-link {
 
	 transition: padding 0.5s ease;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
.header-all.active .custom-logo-link {
   margin-top:-15px;
	 transition: background 0.5s ease;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
.header-all.active div.site-branding {
    transition: background 0.5s ease;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
	margin-bottom:0px;
	padding-top:15px;
	padding-bottom:0px;
}
.header-all.active div.site-branding a {
    transition: background 0.5s ease;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
	/* width: 130px;
	    margin-bottom: -5px;*/
}
.header-all.active .main-navigation{
	  transition: background 0.5s ease;
	-webkit-transition: all 1s;
    -moz-transition: all 1s;
    transition: all 1s;
	
}

.header-all.active div.site-branding a {

    transition: background 0.5s ease;
	-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
div.site-branding  {
   
	
    transition: margin 0.5s ease;
	-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.header-all{
	position: fixed;
    width: 100%;
    z-index: 3;
    order: 1;
    top: 0px;
	background-color: white;	
  transition: background 0.3s ease;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
	
}


.header-all.active{
   transition: background 0.3s ease;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
	
}
.header-all.active div.site-branding a {

    transition: background 0.3s ease;
	-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;

}
.header-all div.site-branding a {

    transition: background 0.3s ease;
	-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
.site-header{
	max-width:1500px;
	background-color: white;
	margin:0 auto;
	width:90%;
}
.site-header-inside {

    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 7%;
	
}

ul.mega-sub-menu{
	margin-bottom:10px !important;
}
ul.mega-sub-menu li ul{
	    margin-top: 5px !important;
}


p.site-title{
	display:none;
}
p.site-description{
	font-size: 11px;
    line-height: 110%;
    margin-bottom: 0px;
    margin-top: 1px;
    font-weight: 500;
}
.site-branding{
	display: flex;
    align-items: flex-start;
    flex-direction: column;
}
/* Entry-Header
	 ========================================================================== */
.single-post header.entry-header {
    /*background-color: #062743;*/
	background-color: transparent;
	height:450px;
}
.page-template-page-no-image header.entry-header {
    background-color: transparent;
    height: 200px;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 20px 5%;
    max-width: 1000px;
    width: 90%;
}

header.entry-header {
    display: flex;
    width: 90%;
    align-items: center;
    justify-content: center;
    max-width: 1500px;
    margin: 71px auto 15px;
    height: 650px;
    background-position: right;
    background-repeat: no-repeat;
    background-color: #062743;
	position: relative; 
}
.home header.entry-header {
  
	background-image: none;
	background-color: #062743;
}
.meta-text {
    position: absolute;
    margin: 0 auto;
    padding: 0px 7%;
    width: 100%;
    max-width: 1500px;
    color: white;
}
.meta-text p {
    margin-top: 10px;
    margin-bottom: 35px !important;
    font-size: 17px;
    line-height: 140%;
	font-weight:300;
	width:50%;
}

.post-thumbnail img {
    object-fit: cover;
    height: 650px;
    object-position: center;
	aspect-ratio: 1.25 / 1;
	/*clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 100%);*/
	clip-path: polygon(0 0, /* vasak ülemine */ 100% 0, /* parem ülemine */ 100% 100%, /* parem alumine */ 450px 100%, /* natuke paremalt alt */ 0 calc(100% - 450px) /* vasakult üles 150px */);

    
}
.single-post .post-thumbnail img {
    object-fit: cover;
    height: 450px;
	width:100%;
    object-position: center;
	aspect-ratio: 1.5 / 1;
	clip-path: polygon(0 0, /* vasak ülemine */ 100% 0, /* parem ülemine */ 100% 100%, /* parem alumine */ 250px 100%, /* natuke paremalt alt */ 0 calc(100% - 250px) /* vasakult üles 150px */);

    
}
.post-thumbnail {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}
.buttons {
    display: flex;
    gap: 15px;
    margin: 20px 0px;
    flex-wrap: wrap;
}



/* Services
	 ========================================================================== */
.services-grid {
    display: flex;
    gap: 20px 2%;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    padding: 20px 3%;
}
/*#service-3::before {
    background-color: #6ef9a6 !important;
}*/
#service-3::before {
    background-color: #2a9c63 !important;
}
.service {
    width: 32%;
    display: flex;
    align-items: center;
    gap: 20px;
}
.service::before {
	 flex-shrink: 0; /* 🚫 väldib kuju venitamist */
    flex-grow: 0;   /* 🚫 ei lase ringil kasvada */
    display: inline-block;
    content: "";
    height: 60px;
    width: 60px;
    background-color: #072743;
    border-radius: 50%;
	  vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 0px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: 
ease-out;
    transition-timing-function: 
ease-out;
}
a.service:hover{
	color: #072743 !important;
}
a.service .service-meta{
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 0px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: 
ease-out;
    transition-timing-function: 
ease-out;
}
a.service:hover .service-meta{
	-webkit-transform: translateX(-3px);
	transform: translateX(-3px);
    filter: brightness(0.85);
    text-decoration: none;
   
}
a.service:hover::before{
	-webkit-transform: translateX(3px);
	transform: translateX(3px);
    filter: brightness(0.85);
    text-decoration: none;
   
}
.service-meta a{
	font-weight:500;
	font-size:14px;
	 vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 0px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;

}
.service-meta a:hover{
	-webkit-transform: translateX(3px);
	transform: translateX(3px);
	text-decoration: none;
}
#teenused{
	justify-content: flex-end;
}


/* Company
	 ========================================================================== */

#ettevottest {
    background-color: #f9f9f9;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}
.entry-content-inside {
    padding: 30px 7%;
    width: 50%;
    max-width: 1500px;
    height: 650px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.entry-content-inside-img {
    width: 50%;
    max-width: 1500px;
    display: flex;
    align-items: flex-end;
    align-content: flex-end;
	padding-left:10%;
}
.entry-content-inside-img img {
    object-fit: cover;
    height: 650px;
    object-position: center;
    aspect-ratio: 1.25 / 1;
    /* clip-path: polygon(50% 0%, 100% 0, 100% 100%, 0% 100%); */
    clip-path: polygon(450px 0, /* vasak ülemine */ 100% 0px, /* parem ülemine */ 100% 100%, /* parem alumine */ 0px 100%, /* natuke paremalt alt */ 0 calc(450px - 0px) /* vasakult üles 150px */);
}

/* Blog
-------------------------------------------- */
.blog #blog{
	display:none !important;
}
#blog {
	/*background-color:#f8f7f7;*/
	max-width:100%;
	margin:0px auto;
	 max-width: 1500px;
    width: 90%;
	padding:50px 0px 0px;
	
}
#blog span{
	 padding:50px 7% 20px;
	font-size: 25px;
	line-height:110%;
	font-weight:500;
}
.entry-content-inside {
	
}
#blog .buttons {
    margin-top: 0px;
    justify-content: center;
}
.products-in-post{
	margin-top:50px;
}

.post-grid {
	 padding:40px 7% 50px;
	    display: flex;
    flex-wrap: wrap;
	
    margin: 0px auto ;
    gap: 50px 2%;
   
    z-index: 1;
}

.post-grid a.post {
	display: flex;
    width: 23.5%;
    flex-direction: column;
    vertical-align: middle;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform, filter;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
	 text-decoration: none;
	
}
.post-grid a.post:hover {
		color:#062743;
 
 
   -webkit-transform: translateY(4px);
    transform: translateY(4px);
    filter: brightness(1.1);

}
.post-grid a.post a:hover {

   
}
.post-grid .post-thumbnail {
   width: 100%;
    min-height: auto;
	opacity:1 !important;
}
.post-grid .post-thumbnail img {
   width: 100%;
	    aspect-ratio: 1 / 1;
	opacity:1 !important;
	    min-height: auto;
	height:auto;
	border-radius:0px;
    clip-path: polygon(0% 0%, 100% 0, 100% 100%, 0% 100%);
}
.post-grid img {
   width: 100%;
	object-fit:cover;
	
}

.post-grid a.post h2 {
  	font-size: 15px !important;
    font-weight: 500 !important;
	line-height:110%;
    width: 80%;
	margin-top:20px !important;
	
}

.post-grid a.post p {
    font-size: 16px !important;
	line-height:140% !important;
	text-align:left !important;
	font-weight:400 !important;
	margin-top: 0px !important;
    margin-bottom: 0px !important;
	padding: 0px 5% !important;
	
}

.single-post .meta-text {
  
    margin: 0 auto;
    padding: 0px 6%;
    max-width: 1100px;
	color:white;
}

.single-post .meta-text p {
	width:75%;
    font-size: 23px;
}
ul.object-meta{
    padding: 25px;
    margin: 20px 0px;
    /* border-top: solid 1px; */

}
.error404 #blog, .single-post #blog{
	display:none;
}

#center{
	text-align:center;
}
.page-template-page-no-image .contact-us{
	display:none;
}
.page-template-page-no-image .entry-content {
    max-width: 1000px;
 
    padding: 50px 5%;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer {
    overflow: hidden;
    width: 100%;
    background-color: #062743;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    color: #ffffff;
    position: relative;
    z-index: 2;
	align-items: flex-start;
	flex-wrap: wrap;
	min-height:80vh;
}
.site-footer a{
	color:white;
	font-size:14px;
}
.site-footer a:visited{
	color:white;
}

ul#menu-sotsiaalmeedia-1 a{
	font-size:55px;
	
}
li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-2052 a{
	
}
ul#menu-social-media{
	display: flex;
    list-style: none;
    padding-left: 0px;
    gap: 15px;
    align-items: center;
}
ul#menu-social-media a{
	font-size:65px;
	color: #e6be56;
		display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
ul#menu-social-media a:hover{
-webkit-transform: translateX(4px);
    transform: translateX(4px);
	color: #e6be56;
}

i{
	    width: auto !important;
}


.site-footer ul {
    list-style: none;
	padding-left:0px !important;
}


.site-footer a{
	display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.site-footer a:hover{
-webkit-transform: translateX(4px);
    transform: translateX(4px);
	
}
/*.site-footer #menu-contact a {
    font-size: 20px;
    line-height: 150%;
    font-weight: 500;
    color: #6ef9a6;
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}*/
.site-footer #menu-contact a {
    font-size: 20px;
    line-height: 150%;
    font-weight: 500;
    color: #2fae6e;
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.site-footer #menu-contact a:hover{
	-webkit-transform: translateX(4px);
    transform: translateX(4px);
	
}
.site-footer-inside{
	
    width: 100%;
    position: absolute;
	
}
span.wpcf7-not-valid-tip{
	display:none;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #df2828;
    color: #df2828;
    border-radius: 10px;
	text-align: center;
    padding: 10px;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    color: #46b450;
    border-radius: 10px;
    text-align: center;
    padding: 10px;
}
#footer-sidebar{
        display: flex;
    flex-wrap: wrap;
   max-width: 1500px;
    width: 90%;
    margin:0 auto;
    /* margin: 0 auto; */
    overflow: hidden;
    justify-content: space-between;
	align-items: center;
    align-content: center;
	

}
#footer-sidebar1{
	padding:25px 7%;
  
}
#footer-sidebar1 p{
	margin-top:5px;
	font-size:14px;
}
#footer-sidebar1 .widget.widget_text{
	max-width:250px;
}
#footer-sidebar1{
    width: 50%;
    padding: 100px 7%;
    display: flex;
    flex-direction: column;
    border-radius: 0px;
    justify-content: center;
    color: #edebee;
}

#menu-footer-contact{
	font-size:25px;

    font-weight: 400;
}
/*#footer-sidebar2 h2{
	color:#6ef9a6;
}*/
#footer-sidebar2 h2 {
    color: #2fae6e;
}

#footer-sidebar2 .widget{
	max-width:450px;
}
#footer-sidebar1 img {
	width:70px;
	margin:0px 0px;
}
#footer-sidebar1 h2{
	margin:5px 0px;
    font-size:20px;
	
}

ul#menu-footer-contact.menu a:hover{
	color:#aedf8b
}
#footer-sidebar2 {
    width: 50%;
    padding: 100px 7%;
    background-color: #113a5d;
    margin-left: 50%;
    clip-path: polygon(0 0, /* vasak ülemine */ 100% 0, /* parem ülemine */ 100% 100%, /* parem alumine */ 100px 100%, /* natuke paremalt alt */ 0 calc(100% - 100px) /* vasakult üles 150px */);
}
/*#footer-sidebar2 p {

    color: #6ef9a6;
}*/
#footer-sidebar2 p {
    color: #2fae6e;
}
.wpcf7.js{
	margin:25px 0px;
}

p.position{
	margin-top:0px !important;

}
.person {
    display: flex;
    flex-direction: column;
}
.site-footer p {
    font-size: 15px;
    line-height: 120%;
    margin-top: 5px;
    width: 80%;
	margin-bottom:35px;
}
.site-footer form p {

    width: 100% !important;
	
}
.person h3{
	margin-bottom:5px;
	font-size:18px;
}
a.phone{
	font-weight:400;
	font-size: 17px;
	margin-bottom:-5px;
}
a.email{
	font-weight:400;
	font-size: 17px;
	
}
.person a{
	  
	display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.person a:hover{
	-webkit-transform: translateX(4px);
    transform: translateX(4px);
	
}
.persons {
    display: flex;
    gap: 30px 20%;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    padding: 20px 0px 30px;
    margin: 10px 0px 20px;
    max-width: 500px;
}

.gs_logo_single {
    border-radius: 10px;
    height: 100%;
    padding: 5px;
  
}
#partners-out{
	width:100%;
	max-width: 100%;
	background-color: #f9f9f9;
	margin: 50px auto 0px;
}
#partners-in{
	width:90%;
	height:auto;
	margin:0 auto;
	padding:0px;
}
#partners{
	padding:50px 7%;
}
.gs_logo_single {
	/*background-color:white;*/
	border-radius:0px;
}

/*--------------------------------------------------------------
# GAlerii
--------------------------------------------------------------*/
#galerii {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0px 5% 50px;
    width: 90%;
}
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 1%;
    width: 100%;
    align-content: center;
    padding: 0px 0%;
}

.gallery-item {
    width: 49.5%;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 0px;
    transition: transform 0.3s ease;
    margin-bottom: -6px;
    filter: brightness(0.97);
    /* height: 250px; */
    aspect-ratio: 1 / 0.75;
    object-fit: cover;
}

.gallery-item img:hover {
    transform: scale(1.005);
}

/* Modal stiil */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 80%;
}

.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
    border-radius: 0px;
	height:auto;
	object-fit:cover;
}

/* Eelmine/järgmine nupud */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    user-select: none;
    border-radius: 5px;
}

.next {
    right: 0;
    border-radius: 5px 0 0 5px;
}

.prev {
    left: 0;
    border-radius: 0 5px 5px 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
	color:white;
}

/* Sule nupust */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */


/* 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: 600;
}

/**
 * 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
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #062743;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	line-height:110%;
}
h1{
	font-size:65px;
	margin:15px 0px;
	
}
.page-template-default h1 {
	font-size:60px;
}
.single-post h1, .page-template-page-no-image h1 {
	font-size:45px;
}
h2{
	font-size:37px;
	margin:10px 0px !important;
}
.entry-content h2{
	font-size:30px;
}
h2.service-title{
	margin-top:0px;
	font-size:25px;
	margin-bottom:10px;
}
h3{
	font-size:30px;
}
.service-meta p{
	margin-bottom:0px !important;
	margin-top:0px;
	font-size:14px;

}
p {
	margin:10px 0px 25px!important;
}

dfn,
cite,
em,
i {
	font-style: italic;
}
#company-inside blockquote {
	margin: 0px 0em;
}
blockquote {
	margin: 20px 0em;
}
blockquote p{
	font-size:21px;
	line-height:120%;
}
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: 0px 0 1.5em 0em;
}
.entry-content ul, .entry-content ul {
		margin: 30px 0 1.5em 0em !important;
}
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: 1em 0;
}

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

/* Links
--------------------------------------------- */
a {
    color: #072743;
    text-decoration: none;
}

a:visited {
	color: #072743;
}

a:hover,
a:focus,
a:active {
	color: #54ca83;
}


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

/* Forms
--------------------------------------------- */
a#ReadMore.button {
    border: solid 0px;
    font-weight: 600;
    font-size: 18px;
    padding: 0px;
    margin-top: 50px;
    background-color: transparent;
	color:#072743;
}
a#ReadMore.button:hover {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
	color:#072743;
}

button.mega-toggle-standard.mega-toggle-label{
	font-size:14px !important;
	font-weight:400;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	padding: 15px 25px;
    font-weight: 600;
	font-size:21px!important;
    border-radius: 20px;
	display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 0px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
	text-decoration:none;
	
	
}

button:hover,
[type="button"]:hover,
[type="reset"]:hover,
[type="submit"]:hover {
	    /*color:white;*/
	 -webkit-transform: translateY(4px);
    transform: translateY(4px);
	 filter: brightness(0.85);
	text-decoration:none;
}
a.button, input[type="button"], input[type="reset"], input[type="submit"] {
    padding: 15px 25px;
    font-weight: 500;
    font-size: 16px!important;
    border-radius: 35px;
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 0px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    text-decoration: none;
    color: #ffffff;
    background-color: #2a9c63;
    border: 3px solid #2a9c63;
}
/*a.button, input[type="button"], input[type="reset"], input[type="submit"] {
    padding: 15px 25px;
    font-weight: 500;
    font-size: 16px!important;
    border-radius: 35px;
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 0px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    text-decoration: none;
    color: #062743;
    background-color: #6ef9a6;
    border: 3px solid #6ef9a6;
}*/

a.button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {


	
	 -webkit-transform: translateY(3px);
    transform: translateY(3px);
	 filter: brightness(0.85);
	text-decoration:none;
	filter: brightness(0.95);
}
a.button:visited,
input[type="button"]:visited,
input[type="reset"]:visited,
input[type="submit"]:visited {
	color:white;

	
}
a.button i{
	margin-left:5px;
}
a#light-white.button{
	    border: 2px solid;
    color: white;
    background-color: #ff000000;
}
a#light-white.button:hover{
	filter: brightness(0.95);
}

a#light-blue.button{
	    border: 2px solid;
    color: #072743;
    background-color: #ff000000;
}
a#light-blue.button:hover{
	filter: brightness(0.95);
}
/*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: #6ef9a6;
    border: 1px solid;
    border-radius: 20px;
    padding: 5px 10px;
    background-color: #ffffff00;
	width:100%;
	max-width:450px;
}*/
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: #2fae6e;
    border: 1px solid;
    border-radius: 20px;
    padding: 5px 10px;
    background-color: #ffffff00;
    width: 100%;
    max-width: 450px;
}
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 {
	
}
::placeholder {
	/*color: #6ef9a6;*/
	color: #2fae6e;
}


select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

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

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

/* Navigation
--------------------------------------------- */
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
 
    font-weight: 600 !important;
  
}
.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;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

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

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}
nav.navigation.post-navigation{
	display:none !important;
}
.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;
}
.blog .entry-content{

	padding:100px 0%;
	width:100%;
	margin:0 auto;
	    max-width: 1300px;
}
.entry-content{
	max-width:1100px;
	padding:100px 7%;
	width:90%;
	margin:0 auto;
}
.single-post .entry-content{
	max-width:1000px;
	
	
}
.page-template-default .entry-content{

	width:100%;

}
.page-content,
.entry-content,
.entry-summary {

}
.entry-content-outside{
	display: flex;
    width: 90%;
    align-items: center;
    justify-content;
    max-width: 1500px;
	margin: 20px auto;

}
.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 0em;
}

.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:110px;
}

/* 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-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

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

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

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

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

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

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

.gallery-columns-9 {
	grid-template-columns: repeat(2, 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 {

	/*rtl:ignore*/
	float: left;
	width:40%;
	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
		clip-path: polygon(0 0, /* vasak ülemine */ 100% 0, /* parem ülemine */ 100% 100%, /* parem alumine */ 30px 100%, /* natuke paremalt alt */ 0 calc(100% - 30px) /* vasakult üles 150px */);
}

.alignright {

	/*rtl:ignore*/
	float: right;
	width:40%;
	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
	clip-path: polygon(0 0, /* vasak ülemine */ 100% 0, /* parem ülemine */ 100% 100%, /* parem alumine */ 30px 100%, /* natuke paremalt alt */ 0 calc(100% - 30px) /* vasakult üles 150px */);
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
	width:100%;
}
@media only screen and (max-width: 1300px){
	h1 {
    font-size: 55px;
    
}
	.page-template-default h1 {
	font-size:50px;
}
	.single-post h1, .page-template-page-no-image h1 {
	font-size:40px;
}
	h2 {
    font-size: 32px;
}
	.entry-content h2{
	font-size:28px;
}
	h3 {
		font-size: 25px;	
	}
	
}
@media only screen and (max-width: 1150px){
	.service {
    width: 35%;
    
}
.entry-content-inside-img {
   
    display: none;
   
}
	.entry-content-inside {
    width:75%;
    height: auto;
  
}

}
	@media only screen and (max-width: 1050px){
	.service {
    width: 45%;
    
}
}
	@media only screen and (max-width: 950px){
			.site-footer-inside {
    width: 100%;
    position: relative;
}
		.site-footer{
			 display: flex;
    flex-direction: column-reverse;
		}
		#footer-sidebar2 {
    width: 80%;
 
    margin-left: 20%;
  
}
	#footer-sidebar1 {
    width: 100%;
   
}	  

}

@media only screen and (max-width: 900px){
.post-grid a.post {

    width: 49%;
  
}}
	@media only screen and (max-width: 768px){
		h1 {
    font-size: 45px;
    
}
		.page-template-default h1 {
	font-size:40px;
}
			.single-post h1, .page-template-page-no-image h1 {
	font-size:35px;
}
		.meta-text p {
		font-weight:400;
			width: 75%;
}
.post-thumbnail img, header.entry-header {
	height: 550px;

}
		.single-post .post-thumbnail img, .single-post header.entry-header {
	height: 350px;

}
.single-post header.entry-header .post-thumbnail img {
 	opacity:1;
	clip-path: polygon(0 0, /* vasak ülemine */ 100% 0, /* parem ülemine */ 100% 100%, /* parem alumine */ 100px 100%, /* natuke paremalt alt */ 0 calc(100% - 100px) /* vasakult üles 150px */)
}

	header.entry-header	.post-thumbnail img {
 	opacity:0.7;
    clip-path: polygon(0 0, /* vasak ülemine */ 100% 0, /* parem ülemine */ 100% 100%, /* parem alumine */ 300px 100%, /* natuke paremalt alt */ 0 calc(100% - 300px) /* vasakult üles 150px */)
}
		    .service {
        width: 49%;
    }
		.service {
    width: 100%;
}
		.services-grid{
			padding-left:15%;
		}
		    .entry-content-inside {
        width: 100%;
     
    }
		.alignright {
  
    width: 100%;
    margin-left: 0em;
    
}
			.alignleft {
  
    width: 100%;
    margin-right: 0em;
    
}
		.entry-content {
    
    padding: 50px 5%;
    
}

}
@media only screen and (max-width: 500px){
			h1 {
    font-size: 40px;
    
}
		.page-template-default h1 {
	font-size:35px;
}
		.single-post h1, .page-template-page-no-image h1 {
	font-size:30px;
}
	h2 {
    font-size: 27px;
}
		.entry-content h2{
	font-size:24px;
}
		.meta-text p br {
		
			display:none;
}
			.meta-text p {
			font-size:16px;
			width: 90%;
}
	.custom-logo-link {
   
    width: 100px;
}
		#footer-sidebar2 {
    width: 100%;
 
    margin-left: 0%;
  
}
	#partners-in {
    width: 100%;
 
}
	#partners {
    padding: 30px 7%;
}
}
@media only screen and (max-width: 400px){
	
			h1 {
    font-size: 35px;
    
}
		.page-template-default h1 {
	font-size:30px;
}

			.meta-text p {
		
			width: 100%;
}
	.post-grid a.post {
    width: 100%;
}
	a.email {
    
    font-size: 15px;
}
	a.phone {
    
    font-size: 15px;
}
}