/*!
Theme Name: Aru tehnika
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: aru_tehnika
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.

Aru tehnika 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; } 
.grecaptcha-badge { 
    visibility: hidden !important;
}
/* 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:-43px;
	 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;
    padding-top: 43px;
}
.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  {
    margin-bottom: -28px;
	
    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;
  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{

	background-color: white;
	padding: 0px 0%;
	margin:0px 0%;
}
.site-header-inside {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0px 5% 8px;
}

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;
}
ul#menu-kontaktid {
    list-style: none;
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0px 5px;
}
ul#menu-kontaktid li a {
    color: #ff6500;
    border: solid 2px;
    padding: 5px;
    width: 30px;
    /* display: inline-block; */
    height: 30px;
    display: flex;
    justify-content: center;
}
.contacts {
    height: 40px;
    display: flex;
    align-items: center;
    margin-left: 5%;
}
.contacts b{
	display:none;
}
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}
/* Entry-Header
	 ========================================================================== */
.single-post header.entry-header {
    background-color: #f9f9f9;
}
.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:1100px;
}

header.entry-header {
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: center;
    max-width: 100%;
    margin: 45px auto 15px;
    height: 750px;
    /* background-image: url("usaldusvaarne-elektritoode-partner-layer.jpg"); */
    background-position: right;
    background-repeat: no-repeat;
    background-color: #0b192c;
}
.home header.entry-header {
  
	background-image: none;
	

}
.meta-text-inside {
    width: 100%;
    max-width: 500px;
}
.single-post .meta-text {
 
    padding: 0px 5% 0px 5%;
}
.meta-text {
    position: absolute;
    margin: 0 auto;
    padding: 0px 45% 0px 5%;
    width: 100%;
    max-width: 1500px;
    color: white;
    height: 750px;
    display: flex;
    align-content: center;
    align-items: center;
}
.meta-text p {
    margin-top: 10px;
    margin-bottom: 35px;
    font-size: 18px;
    line-height: 120%;
	max-width:450px;
}
.page-template-default .post-thumbnail {
  

}
.post-thumbnail-inside img {
	opacity:0.95;
		right:0px;
      width: 100%;
      height: 850px;
      object-fit: cover;
      display: block;
     max-width: 1500px;
		float: right;
    filter: grayscale(0);
		 transition: opacity 2s ease-in-out;  /* fade-efekt */
  
   
}
.post-thumbnail-inside {
		    width: 50%;
    height: 850px;
    position: relative;
    overflow: hidden;
    max-width: 1500px;
    display: flex;
    background-color: rgb(255 101 0);
	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 */);
	background-color: rgb(255 101 0);
  
   
}
.post-thumbnail {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}
.video-wrapper {
    width: 50%;
    height: 850px;
    position: relative;
    overflow: hidden;
    max-width: 1500px;
    display: flex;
    background-color: rgb(255 101 0);
	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 */);
}
  

    .hero-video {
		position: absolute;
		opacity:0;
		right:0px;
      width: 100%;
      height: 850px;
      object-fit: cover;
      display: block;
     max-width: 1500px;
		float: right;
    filter: grayscale(0);
		 transition: opacity 2s ease-in-out;  /* fade-efekt */
    }

.hero-video.active {
  opacity: 0.95;
}
/* Teenused
	 ========================================================================== */
span.block-title-small{
	font-size:13px;
	display: inline-block;
	font-weight:600;
	text-transform:uppercase;
    background-color: #ff6500;
    padding: 5px 10px 5px 10px;
    clip-path: polygon(0 0, /* vasak ülemine */ 100% 0, /* parem ülemine */ 100% calc(100% - 5px), /* paremalt üles 40px */ calc(100% - 5px) 100%, /* paremale sisse 40px allservas */ 0 100% /* vasak alumine */);

}
#teenused {
    margin: 0 auto;
    padding: 0px 5% 0px 5%;
    width: 100%;
    max-width: 1500px; 
}
.services-main-meta p{
	 line-height: 110%;
	font-size:18px;
	margin-top:0px;
}
.services-main-meta {
    width: 25%;
    padding: 30px 0%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
}
span.block-title {
    font-size: 35px;
    font-weight: 400;
    display: inline-block;
    line-height: 100%;
    display: flex;
    align-items: center;
    margin: 15px 0px;
}
.service-meta{
	display: flex;
    flex-direction: column;
    justify-content: space-between;
	min-height:310px;
}

.service {
    color: #0b192c;
    width: 23.5%;
    padding: 20px 2.5%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: flex-end;
    display: inline-block;
    -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;
    align-content: flex-end;
	background-color:#f9f9f9;
}
.service:hover{
	color:#0b192c;
	    -webkit-transform: translateX(4px);
    transform: translateX(4px);
	    filter: brightness(0.95);
}
.service:visited{
	color:#0b192c;
	   
}
.services-grid{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
	width:100%;
	gap:20px 2%;
}
.services-meta{
	width:25%;
	padding:20px 2.5%;
}

span#read-more img{
	width:20px;
	height:20px;
	margin-left:8px;
	
	}
span#read-more {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-content: center;
    align-items: center;
    color: #ff6500;
}
p.service-p{
	font-size: 15px;

}
.service-meta p{
	/*font-size:17px;
	line-height:120%;*/
}

/* Company
	 ========================================================================== */
#company{
    display: flex;
    flex-direction: row-reverse;
    max-width: 100%;
    width: 100%;
    margin: 200px 0px 10px;
    background-color: #f9f9f9;
}
#company .buttons{
	margin-top:35px;
}
#ettevottest {
    background-color: #f9f9f9;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}
.entry-content-inside {
    padding: 30px 7%;
    width: 60%;
    /*max-width: 1500px;
    height: 650px;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.content-inside{
	max-width:600px;
}
.entry-content-inside-img {
    width: 40%;
    max-width: 1500px;
    display: flex;
    align-items: flex-end;
    align-content: flex-end;
	padding-left:0%;
}
.entry-content-inside-img img {
    object-fit: cover;
    object-position: center;
    aspect-ratio: 1 / 1;
    clip-path: polygon(0 0, /* vasak ülemine */ calc(100% - 100px) 0, /* natuke enne paremat äärt ülal */ 100% 100px, /* paremalt alla 50px */ 100% 100%, /* parem alumine */ 0 100% /* vasak alumine */);
    margin-top: -100px;
}
#partners {
	max-width:1500px;
	padding:20px 5%;
	margin: 0 auto;
}
#partners .services-main-meta{
	width:100%;
	text-align:center;
	align-items:center;
}
#partners span.block-title{
	font-size:27px;
}
/* Blog
-------------------------------------------- */
#blogi {
    margin: 0 auto;
    padding: 0px 5% 100px 5%;
    width: 100%;
    max-width: 1500px;
}

.post-grid {
	
	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: 25px !important;
    font-weight: 400 !important;
    width: 100%;
	margin-top:20px !important;
	
}

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

.single-post .meta-text {
  

	color:#0b192c;
}

.single-post .meta-text p {

}
ul.object-meta{
    padding: 25px;
    margin: 20px 0px;
    /* border-top: solid 1px; */

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

#center{
	text-align:center;
}
#blogi .buttons {
    display: flex;
    justify-content: center;
}

.page-template-page-no-image .entry-content {
    max-width: 1000px;
 	margin:0 auto;
    padding: 0px 5% 50px;
}
.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: 100%;

    clip-path: polygon(0 0, /* vasak ülemine */ 100% 0, /* parem ülemine */ 100% 100%, /* parem alumine */ 0px 100%, /* natuke paremalt alt */ 0 calc(100% - 0px) /* vasakult üles 150px */);

}
.page-template-page-no-image h1{
	color: #0b192c;
}
.page-template-page-no-image .meta-text {
    position: relative;
    margin: 0 auto;
    padding: 0px 0% 0px 0%;
    width: 100%;
    max-width: 1500px;
    color: white;
    height: auto;
    display: flex;
    align-content: center;
    align-items: center;
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer {
    overflow: hidden;
    width: 100%;
    background-color: #0b192c;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 2;
}
.site-footer a{
	color:white;
}
.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: 30px;
    line-height: 150%;
    font-weight: 700;
    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;
}
.site-footer #menu-contact a:hover{
	-webkit-transform: translateX(4px);
    transform: translateX(4px);
	
}
#footer-sidebar {
    display: flex;
    flex-wrap: wrap;
    max-width: 1500px;
    padding: 50px 5%;
    /* margin: 0 auto; */
    overflow: hidden;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    align-content: center;
}
#footer-sidebar1 p{
	margin-top:5px;
}

#footer-sidebar1{
    width: 50%;
    padding: 50px 0%;
    display: flex;
    flex-direction: column;
    border-radius: 0px;
    justify-content: center;
    color: #edebee;
}
#footer-sidebar1 a{
  
  
}
#menu-footer-contact{
	font-size:25px;

    font-weight: 400;
}
#footer-sidebar2 h2 {
	margin: 0px 0px 15px;
    font-size: 40px;
}
#footer-sidebar1 img {
	width:150px;
	margin:25px 0px;
}
#footer-sidebar1 h2 {
    margin: 0px 0px 10px;
    font-size: 25px;
}

ul#menu-footer-contact.menu a:hover{
	color:#aedf8b
}

#footer-sidebar2{
	        width: 50%;
    padding: 50px 5%;
    border-radius: 30px;
}
#footer-sidebar2 p{

  /*  font-size: 25px;
    font-weight: 200;
    line-height: 90%;
	margin-bottom:25px;*/

}
ul#menu-kontaktid-1 {
    list-style: none;
    margin: 0px 0px 35px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px 5px;
}
ul#menu-kontaktid-1 li a {
    color: #ff6500;
    border: solid 2px;
    padding: 5px 10px;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    gap: 5px;
	height:38px;
}
.footer-gallery img{
	width:25%;
	aspect-ratio: 1.5 / 1;
	object-fit:cover;
	opacity:0.6;
}
.footer-gallery {
    display: flex;
    background-color: #0b192c;
	
    width: 100%;
    flex-wrap: wrap;
}
form p{
	margin-bottom:10px !important;
}

span.wpcf7-not-valid-tip{
	display:none;
}
.vvunk{
	  color:white;
    background-color: #351B40;
}

.wpcf7 form .wpcf7-response-output {

    color: #6ea930;
   max-width: 350px;
    border: 0px solid;
    border-radius: 19px;
    padding: 0px 0%;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    
   	color: #e75151;
    max-width: 350px;
    border: 0px solid;
    border-radius: 19px;
    padding: 0px 0%;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight:400;
	line-height:100%;
}
.home h1 {
	font-size:55px;
	
}
h1 {
	font-size:45px;
}
.page-template-page-no-image h1{
	font-size:40px;
}
h2{
	font-size:25px;
}
#company h2{
	font-size:40px;
}
p {
	margin-bottom: 1.5em;
}

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

blockquote {
	margin: 0 0em;
}
blockquote p {
	font-size:35px;
	line-height:100%;
	font-weight:200;
	margin:25px 0px;
}
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: #0b192c;
    text-decoration: none;
}

a:visited {
	color: #0b192c;
}

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


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:#0b192c;
}
a#ReadMore.button:hover {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
	color:#0b192c;
}

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;
	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: 10px 20px;
    font-weight: 600;
    font-size: 14px!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: #ff6500;
    border: 3px solid #ff6500;
    text-transform: uppercase;
}

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: #0b192c;
    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: #e6e6e6;
    border: 1px solid #ffffff;
    border-radius: 0px;
    padding: 5px 7px;
    background-color: #ffffff00;
}
::placeholder{
	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 {

}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}
form p{
	margin-bottom:0px;
	margin-top:0px;
}
/*--------------------------------------------------------------
# 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;
	}
}

.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{
	margin: 0 auto;
    padding: 150px 5% 100px 5%;
    width: 100%;
    max-width: 1500px;
}
.page-template-default .entry-content, .single-post .entry-content{
	margin: 0 auto;
    padding: 150px 5% 100px 5%;
    width: 100%;
    max-width: 1000px;
}
.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 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 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: 150px;
    background-color: #ff6500;
    padding: 20px 20px 20px 15px;
	    clip-path: polygon(0 0, /* vasak ülemine */ 100% 0, /* parem ülemine */ 100% calc(100% - 20px), /* paremalt üles 40px */ calc(100% - 20px) 100%, /* paremale sisse 40px allservas */ 0 100% /* vasak alumine */);
}

/* 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(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(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;
	width:40%;
	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 0.5em;
	    clip-path: polygon(0 0, /* vasak ülemine */ calc(100% - 40px) 0, /* natuke enne paremat äärt ülal */ 100% 40px, /* paremalt alla 50px */ 100% 100%, /* parem alumine */ 0 100% /* vasak alumine */);
}

.alignright {

	/*rtl:ignore*/
	float: right;
	width:40%;
	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 0.5em;
	clip-path: polygon(
  40px 0,         /* lõigatud vasak ülemine nurk */
  100% 0,         /* parem ülemine nurk */
  100% 100%,      /* parem alumine nurk */
  0 100%,         /* vasak alumine nurk */
  0 40px          /* lõikepunkt vasakul serval */
);

}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0.5em;
	width:100%;
}
@media only screen and (max-width: 1450px){
	.entry-content-inside-img img {
   		height:700px;
    aspect-ratio: auto;
    margin-top: -100px;
}
}
@media only screen and (max-width: 1350px){
	.home h1 {
    font-size: 45px;
}
	h1 {
    font-size: 40px;
}
	.page-template-page-no-image h1{
	font-size:35px;
}
	.service-meta {
  
    min-height: 360px;
}
	#company h2 {
    font-size: 30px;
}

	
}

@media only screen and (max-width: 1250px){
	.single-post .meta-text {
    padding: 0px 55% 0px 5%;
}
.service {
   	aspect-ratio: auto;
    width: 49%;
	padding: 35px 2.5%;
}
.service-meta {
    min-height: 250px;

}
.post-grid a.post h2 {
    font-size: 20px !important;

}}
@media only screen and (max-width: 950px){
	.alignleft {

    width: 100%;
    margin-right: 0em;
			margin-bottom: 1.5em;

   
}
		.alignright {

    width: 100%;
    margin-left: 0em;
			margin-bottom: 1.5em;

   
}
	.footer-gallery img {
    width: 50%;

}
	.footer-gallery {
 
    width: 100%;
    flex-wrap: wrap;
}
	.post-grid a.post {
    display: flex;
    width: 49%;
  
}
	.services-main-meta {
    width: 65%;
  
}
	header.entry-header {
  	height:auto;
    flex-direction: column-reverse;
		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 */);
}
	.meta-text {
    position: relative;
		height:550px;
		 padding: 0px 5% 0px 5%;
 
}
	
	.post-thumbnail-inside img {
	
      height: 400px;
     
  
   
}
.post-thumbnail-inside {
		    width: 100%;
    height: 400px;

  
   
}
	.page-template-default .entry-content, .single-post .entry-content {

    padding: 50px 5% 100px 5%;

}
	.hero-video {
   
    height: 400px;
  
}
	.video-wrapper {
    width: 100%;
    height: 400px;
    
    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 */);
}
	#company {
 
    flex-direction: column-reverse;
 
}
		.entry-content-inside-img img {
   		height:auto;
    aspect-ratio: 1:1;
    margin-top: -100px;
}
	.entry-content-inside-img {
    width: 100%;
}
	.entry-content-inside {
   
    width: 100%;
 
}
	#footer-sidebar {
 
    flex-direction: column;
}
	#footer-sidebar1 {
    width: 100%;
 
}
	#footer-sidebar2 {
    width: 100%;
    padding: 50px 0%;
    
}
	.single-post .meta-text {
 
    padding: 60px 25% 25px 5%;
		height:auto;
		min-height:400px;
 
}
}
@media only screen and (max-width: 800px){
	.single-post .meta-text {
    padding: 60px 15% 25px 5%;
 
}
}
@media only screen and (max-width: 600px){
	.single-post h1{
		font-size:37px;
	}
	.single-post .meta-text {
    padding: 60px 5% 25px 5%;
 
}
	.service {
    aspect-ratio: auto;
    width: 100%;
    padding: 35px 5%;
}
		.services-main-meta {
    width: 100%;
  
}
}

@media only screen and (max-width: 500px){
	h1 br {
        display:none;
    }
	.post-grid a.post {
    display: flex;
    width: 100%;
  
}
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%
}}