/*!
Theme Name: Elero
Theme URI: http://underscores.me/
Author: Mart Israel
Author URI: http://www.v360.ee
Description: 360 turundus
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: elero
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.

Elero 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/
*/
/*--------------------------------------------------------------
# 1. Fonts and color
--------------------------------------------------------------*/
@font-face {
    font-family: 'Bahnschrift';
    src: url('/wp-content/themes/elero/assets/fonts/bahnschrift.woff2') format('woff2');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}
html { 
	scroll-behavior: smooth; 
} 
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
:root {
  --accent: #0c6ca8;
  --blue: #001c55;
  
	--lightblue: #3f5469;
  --grey: #f9f9f9;
}
/* 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: transparent;
    transition: background 0.3s ease;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    padding: 0px 0px;
}


.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:100%;
	margin:0 auto;
	width:100%;
}

.header-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
	padding: 15px 7%;
}
/* 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: 100%;
    justify-content: flex-start;
    max-width: 100%;
    height: 850px;
    background-position: right;
    background-repeat: no-repeat;
    position: relative;
}
.home header.entry-header {
  
	background-image: none;
}
.meta-text {
    position: absolute;
    margin: 0 auto;
    padding: 0px 7%;
    width: 900px;
    max-width: 900px;
    color: white;
    background: var( --blue);
    height: 850px;
    display: flex;
    align-content: center;
    align-items: center;
    clip-path: polygon(
        0 0,
        650px 0,
        100% 50%,
        650px 100%,
        0 100%
    );
}
.video-wrapper {
    position: relative;
    width: 100%;
    height: 750px;
    overflow: hidden;
    filter: brightness(1.2);
    background-color: #001c55;
    box-shadow: inset 0px 0px 150px #010b2d;
	animation: fadeIn 1s;
    -webkit-animation: fadeIn 1s;
    -moz-animation: fadeIn 1s;
    -o-animation: fadeIn 1s;
    -ms-animation: fadeIn 1s;
}

				.hero-video {
				  position: absolute;
				  top: 0;
				  left: 0;
				  width: 100%;
				  height: 100%;
				  object-fit: cover;
				  opacity: 0;
				  transition: opacity 2s ease-in-out;
				  pointer-events: none;
					object-position:bottom;
					transform: scaleX(-1);
				}

				.hero-video.active {
				  opacity: 0.45;
				}
.meta-text p {
    margin-top: 10px;
    margin-bottom: 35px !important;
    font-size: 22px;
    line-height: 140%;
	font-weight:300;
	width:90%;
}

.post-thumbnail img {
    object-fit: cover;
    height: 750px;
    object-position: center;
	width:100%;


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

.meta-text{
    opacity:0.75;
    transform:translate3d(-80px,0,0);
    transition:
        opacity 1.2s cubic-bezier(.2,.65,.2,1),
        transform 1.2s cubic-bezier(.2,.65,.2,1);
    will-change:transform, opacity;
}

.meta-text.in-view{
    opacity:1;
	transform:translate3d(0,0,0);

}



html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Service
	 ========================================================================== */
#teenused {
    max-width: 1700px;
    display: flex;
    flex-wrap: wrap;
}
.service-title-meta{
	width:30%;
	padding:25px 5%;
}
.title-arrows{
    position:relative;
}
.title-arrows {
    margin-top: 0px;
    color: #0074bd;
    font-size: 250px;
     line-height: 50%;
    font-weight: 300;
    letter-spacing: -37px;
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 1s cubic-bezier(.2,.65,.2,1),
        transform 1s cubic-bezier(.2,.65,.2,1);
}

.title-arrows::before{
    content:"››";
}

.title-arrows.in-view{
    opacity:1;
    transform:translateX(0);
}
.services-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:10px;
	width:70%;
}
.services-grid .service {
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: flex-start;
    min-height: 210px;
    padding: 40px 10% 20px;
    background: #f4f4f4;
    border-radius: 20px;
    overflow: hidden;
    transition: transform .35s ease,
        box-shadow .35s ease,
        background .35s ease;
    flex-direction: column;
}

.services-grid .service:hover{
    transform:translateY(-6px);
    box-shadow:0 10px 20px rgba(0,0,0,0.03);
}

.services-grid .service-meta{
    width:100%;
}

.services-grid .service-title{
    margin:0 0 15px;
    
 
}

.services-grid .service p{
    margin:0;
   
    font-size:14px;
    line-height:110%;
    font-weight:300;
    max-width:100%;
}

/* sinine kontaktikaart */

#service-6{
    background: var(--accent);
    color:#fff;
    justify-content:center;
    text-align:center;
}

#service-6 .service-title,
#service-6 p,
#service-6 a{
    color:#fff;
}

#service-6 .service-meta{
    align-items:center;
    justify-content:center;
    gap:18px;
}

/* nool */

.services-grid .service::after {
    content: "››";
    /* position: absolute; */
    left: 56px;
    bottom: 38px;
    color: #0074bd;
    font-size: 62px;
    line-height: 100%;
    font-weight: 300;
    transition: transform .35s ease;
    letter-spacing: -8px;
}

.services-grid .service:hover::after{
    transform:translateX(8px);
}

#service-6::after{
    display:none;
}


#company-img img {
   

    padding: 0px 0%;
    width: 900px;
    max-width: 900px;
    color: white;
    background: var( --blue);
    height: 850px;
    display: flex;
    align-content: center;
    align-items: center;
    clip-path: polygon(
        0 0,
        650px 0,
        100% 50%,
        650px 100%,
        0 100%
    );
}
#ettevottest {
    max-width: 100%;
    padding: 0px 0% 0px;
    display: flex;
    align-content: center;
    align-items: center;
}
#ettevottest .buttons{
	margin-top:35px;
}
#company-inside {
	max-width:700px;
	padding:25px 5%;
	width:50%;
}

#company-img {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1.2s cubic-bezier(.2,.65,.2,1),
        transform 1.2s cubic-bezier(.2,.65,.2,1);
    will-change: opacity, transform;
    width: 50%;
    max-width: 50%;
}

#company-img.in-view{
    opacity:1;
    transform:translateX(0);
}
#tehtud-tood {
    max-width: 1700px;
	text-align:center;
}

/* blogi leht */
/* Blog
-------------------------------------------- */
.single-post h1{
	max-width:600px;
	margin-bottom:25px;
}
.single-post .post-thumbnail img {
    width: 100%;
    object-fit: cover;
    height: 700px;
    object-position: center;
    max-width: 1500px;
    margin-bottom: -6px;
}
.single-post .post-category {
    font-size: 19px;
    margin-bottom: 1px;
}
.single-post header.entry-header{

    display: flex;
    flex-direction: column;
    align-items: flex-start;
	position:relative;
}
.single-post .front-page-meta{
	max-width:1100px;
	margin:0 auto;
	padding: 50px 5%;
	width:100%;
	
}
.single-post .entry-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0px 5% 50px;
    width: 100%;
}
.single-post header.entry-header {
 
    height: 700px;
    background-image: none;
    background-position: right;
    background-repeat: no-repeat;
}
.object-meta{
	font-size:20px;
}


.blog-main-meta p{
	 line-height: 110%;
	font-size:15px;
}


#projektid{
	    background-color: #fcfcfc;
	margin: 50px auto 0px;
	display: flex;
    align-items: center;
	padding-top:50px;
	padding-bottom:50px;
	width:100%;
}
#blog .buttons {
   
    justify-content: center;
}
.products-in-post{
	margin-top:50px;
}
.post p:last-child:after {
    background-image: linear-gradient(to right, rgb(237, 123, 21), rgb(223, 13, 135), rgb(97, 22, 133));
    height: 2px;
    width: 100px;
    margin-bottom: 20px;
    content: "";
    /*position: absolute;*/
	margin-top:20px;
}





#buttons-reference{
	display: flex;
    justify-content: center;
}

.reference-meta h2{
	font-size:35px;
	line-height:110%;
}
.reference-meta{
	position: absolute;
    z-index: 1;
    /* box-shadow: inset 0px 0px 86px #020a18; */
    transition: background 0.3sease;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
    z-index: 1;
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
    align-content: center;
    align-items: center;
	padding:0px 5%;
}
.post-grid {
   display: flex;
    flex-wrap: wrap;
    margin: 20px 0px 20px;
    gap: 50px 1%;
	    justify-content: center;
}

.post-grid .post {
    margin-bottom: 20px;
    width: 24.25%;
    box-sizing: border-box;
	    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;
	text-align:left;
}
.post-grid .post:hover {

 
    opacity: 0.95;
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
}

.post-grid .post a {
 text-decoration:none;
}
.post-grid .post a:hover {
 opacity:1 !important;
}
.post-grid .post-thumbnail  {
  aspect-ratio: 1.5 / 1;     /* teeb konteineri ruudukujuliseks */
  overflow: hidden;    
}
.post-grid img {
   width: 100%;
  height: 100%;
  object-fit: cover; 
	  display: block;
	opacity: 1 !important;
	border-radius:20px;
}
.blog-main-meta{
	margin:50px 0px;
}
.post-grid .post h2 a {
    font-size: 16px;
    width: 95%;
    padding: 0 0%;
    /* color: #192c34; */
    margin-bottom: 10px;
    line-height: 98%;
	
}

.post-grid .post h2  {
    	margin-top:10px;
	    line-height: 0%;
}

.post-grid .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;;
}
.post-thumbnail {
    position: relative;
}

.post-categories {
    position: absolute;
    bottom: 0px;
    left: 0px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.post-category {
    color: #fff;
    padding: 5px 30px 5px 20px;
    font-size: 15px;
    border-radius: 0px 0px 0px 20px;
    background-color: var(--accent);
    clip-path: polygon(
        0 0,
        calc(100% - 20px) 0,
        100% 100%,
        0 100%
    );
}
#rubriik-terviklahendus{
	background-color:#6ac6e2;
}
.scroll-shape{
    position:absolute;
    right:-100%;
    top:50%;
    transform:translateY(-50%) translateX(120px);

    width:420px;
    height:420px;

    opacity:0;

    background:rgba(0,0,0,0.03);

    clip-path:polygon(
        35% 0,
        100% 0,
        65% 50%,
        100% 100%,
        35% 100%,
        0 50%
    );

    transition:
        opacity 1.4s cubic-bezier(.2,.65,.2,1),
        transform 1.4s cubic-bezier(.2,.65,.2,1);

    will-change:transform, opacity;

    pointer-events:none;
}

.scroll-shape.in-view{
    opacity:1;
    transform:translateY(-50%) translateX(0);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
/* NOOL */
.site-footer::after{
    content:"";
    position:absolute;

    top:0;
    left:50%;
    transform:translateX(300px);

    width:420px;
    height:100%;

    background-image:url('https://elero.v360.ee/wp-content/uploads/2026/05/footer-arrow.png');
    background-repeat:no-repeat;
    background-position:center center;
    background-size:contain;

    z-index:1;
    pointer-events:none;

    opacity:0;
    transition:
        transform 1.4s cubic-bezier(.22,.61,.36,1),
        opacity 1.2s ease;
}

/* aktiivne olek */
.site-footer.footer-visible::after{
    transform:translateX(-50%);
    opacity:1;
}

/* sisu noole peale */
.site-footer-inside,
#footer-sidebar2{
    position:relative;
    z-index:3;
}
.site-footer {
    overflow: hidden;
    width: 100%;
    background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent) 50%,
    var(--blue) 50%,
    var(--blue) 100%
);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    color: #ffffff;
    position: relative;
    z-index: 2;
    align-items: center;
    flex-wrap: wrap;
    min-height: 100vh;
}
.site-footer a{
	color:white;
	font-size:14px;
}
.site-footer a:visited{
	color:white;
}

ul#menu-jaluse-menuu {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
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-kontaktid a {
    font-size: 20px;
    line-height: 150%;
    font-weight: 500;
    color: white;
    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-kontaktid 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 .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: #4db0ee;
}

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

ul#menu-footer-contact.menu a:hover{
	color:#aedf8b
}
#footer-sidebar2 {
    width: 50%;
    padding: 100px 7%;
    margin-left: 50%;
}

#footer-sidebar2 p {
    color: #4db0ee;
}
.wpcf7.js{
	margin:25px 0px;
}

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

    width: 100% !important;
	
}
.person h3{
	margin-bottom:5px;
	font-size:17px;
}
a.phone{
	font-weight:400;
	font-size: 16px;
	margin-bottom:-5px;
}
a.email{
	font-weight:400;
	font-size: 16px;
	
}
.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: 400px;
}

/* SECTION */

.partner-logo-section{
    width:100%;
    background:#f4f4f4;
    padding:55px 0;
    overflow:hidden;
    position:relative;
}


/* CONTAINER */

.partner-logo-slider{
    width:min(1280px, 90%);
    margin:0 auto;
    position:relative;
}


/* SLIDE */

.partner-logo-slider .swiper-slide{
    display:flex;
    align-items:center;
    justify-content:center;
    height:110px;
}


/* LINK */

.partner-logo-slider a,
.partner-logo-no-link{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    transition:all .35s ease;
}


/* LOGO */

.partner-logo-slider img {
    width: auto;
    height: auto;
    max-width: 200px;
    max-height: 90px;
    object-fit: contain;
    transition: all .35s ease;
    opacity: 0.85;
}

.partner-logo-slider a:hover img{
    transform:scale(1.05);
    opacity:1;
}


/* NOOLED */

.partner-slider-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:10;

    width:46px;
    height:46px;

    border-radius:100px;
    border:none;

    background:var(--blue);
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;

    font-size:34px;
    line-height:1;

    transition:all .3s ease;
}

.partner-slider-arrow:hover{
    transform:translateY(-50%) scale(1.08);
    background:var(--accent);
}

.partner-slider-prev{
    left:-65px;
}

.partner-slider-next{
    right:-65px;
}

#partnerid{
	max-width:100%;
	padding:0px 0px;
	margin:15px 0px 0px;
}



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

/**
 * 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:var(--blue);
	 font-family: "Bahnschrift";
	font-size: 1rem;
	line-height: 1.5;
}


h2,
h3,
h4,
h5,
h6 {
	 line-height: 110%;
	   
}
h1 {
    font-size: 50px;
    line-height: 120%;
  
}
h2{
	font-size:40px;
	margin:15px 0px 10px;
}
#ettevottest h2 {
	color:var(--accent);
}
h3{
	font-size:23px;
	margin:10px 0px 5px;
}
p {
	margin:15px 0px 20px;
	font-weight:300;
	line-height:130%;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 0em;
}
blockquote p{
	font-weight:500;
	font-size:110%;
}
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 1.5em 0em;
}

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:var(--blue);
	text-decoration:none;
}

a:visited {
	color:var(--blue);
}

a:hover,
a:focus,
a:active {
	opacity:0.75;
}

a:focus {

}

a:hover,
a:active {
	outline: 0;
}
/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
a.button {
    background: var( --accent);
    padding: 13px 20px;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    font-size: 16px;
    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;
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
}
a.button:hover{
	
	    -webkit-transform: translateY(4px);
    transform: translateY(4px);
    filter: brightness(0.9);

}
a.button:visited{

	color:white;
}
.buttons{
	display: flex;
    flex-wrap: wrap;
    gap: 10px;
    
    align-items: center;
	
}
a#light-white.button{
	color:white;
	border: solid 2px;
	background: transparent;
	padding: 10.5px 18px;
}
a#light-white.button:hover{
		color:white;
    	background: transparent;
}
a#light.button{
	color: var(--blue);
	border: solid 2px;
	background: transparent;
	padding: 10.5px 18px;
}
a#light.button:hover{
	color: var(--blue);
    background: transparent;

}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	width:100%;
	 max-width: 400px;
    background: var( --accent);
    padding: 13px 20px;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    font-size: 16px;
    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;
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
	border:solid 0px;

}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	  -webkit-transform: translateY(4px);
    transform: translateY(4px);
    filter: brightness(0.9);
}

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 {
	
}
::placeholder{
	 color: #4db0ee;
}
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: #4db0ee;
    border: 1px solid #4db0ee;
    border-radius: 5px;
    padding: 6px;
    background-color: transparent;
    width: 100%;
    max-width: 400px;
}

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: 0px solid #ccc;
}

textarea {
	width: 100%;
}

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

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

/* Navigation
--------------------------------------------- */


.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-links {
	clear: both;
	margin: 0 0 1.5em;
}
.entry-content {
	max-width:1100px;
	padding:50px 5% 100px;
	margin:0 auto;
	width:100%;
}
.entry-content{
    opacity:0;
    filter:blur(8px);
    transform:translateY(50px);
    transition:
        opacity 1.1s cubic-bezier(.2,.65,.2,1),
        transform 1.1s cubic-bezier(.2,.65,.2,1),
        filter 1.1s cubic-bezier(.2,.65,.2,1);
}

.entry-content.in-view{
    opacity:1;
    filter:blur(0);
    transform:translateY(0);
}
/* 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:160px;
}

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

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

.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 {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
@media only screen and (max-width:1500px){
#company-img img {

    width: 450px;
    max-width: 450px;

    height: 425px;
    
    clip-path: polygon(
        0 0,
        325px 0,
        100% 50%,
        325px 100%,
        0 100%
    );
}}
@media only screen and (max-width:1400px){
#teenused {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
.services-grid {
  
    width: 100%;
}
.service-title-meta {
    width: 100%;
    padding: 25px 0%;
    display: flex;
    align-items: center;
    gap: 20px;
}
.title-arrows {
    margin-top: -18px;

}}
@media only screen and (max-width:1100px){

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

    .services-grid .service{
        min-height:240px;
        padding:42px;
    }

    .services-grid .service-title{
        font-size:34px;
    }

}


@media only screen and (max-width:1000px){
header.entry-header {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    max-width: 100%;
    height: auto;
    background-position: right;
    background-repeat: no-repeat;
    position: relative;
    flex-direction: column-reverse;
}
.meta-text {
   position: relative;
    margin: 0 auto;
    padding: 150px 7%;
    width: 100%;
    max-width: 100%;
    color: white;
    background: var( --blue);
    height: auto;
    display: flex;
    align-content: center;
    align-items: center;
	clip-path: polygon(0 0, /* vasak ülemine */ 100% 0, /* parem ülemine */ 100% calc(100% - 100px), /* paremalt üles 40px */ calc(100% - 100px) 100%, /* paremale sisse 40px allservas */ 0 100% /* vasak alumine */);
    
}
	.home header.entry-header {

    background-color: #0c6ca8;
}
header.entry-header .post-thumbnail {

   margin-top: -270px;
}
	#ettevottest {
  
    flex-direction: column;
}
	#company-img {

    width: 100%;
    max-width: 100%;
}
	#company-inside {
   
    width: 100%;
}

}






@media only screen and (max-width:760px){

    .services-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .services-grid .service{
        min-height:auto;
        padding:34px 28px 90px;
        border-radius:24px;
    }

    .services-grid .service-title{
        font-size:30px;
        margin-bottom:20px;
    }

    .services-grid .service p{
        max-width:100%;
        font-size:17px;
    }

    .services-grid .service::after{
        left:28px;
        bottom:24px;
        font-size:48px;
    }


    .partner-logo-section{
        padding:35px 0;
    }

    .partner-logo-slider{
        width:78%;
    }

    .partner-logo-slider .swiper-slide{
        height:90px;
    }

    .partner-logo-slider img{
        max-width:120px;
        max-height:45px;
    }

    .partner-slider-arrow{
        width:38px;
        height:38px;
        font-size:28px;
    }

    .partner-slider-prev{
        left:-45px;
    }

    .partner-slider-next{
        right:-45px;
    }
	h1 {
    font-size: 45px;

}.meta-text p {
 
    font-size: 20px;
 
}

}
@media only screen and (max-width:600px){

.meta-text p br{
    display:none
}}

@media only screen and (max-width:500px){

	h1 {
    font-size: 38px;

}
.meta-text p {
 
    font-size: 18px;
 
}}