/*!
Theme Name: eestikyte
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 GenerFal Public License v2 or later
License URI: LICENSE
Text Domain: eestikyte
Tags: 

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

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

/*--------------------------------------------------------------
# Top-Header
--------------------------------------------------------------*/

.top-header p {
      color: #7bc09e;
    margin-bottom: 15px;
    margin-top: 15px;
    font-size: 16px;
	font-weight:600;
    
}
.top-header {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    background-color: #1a347a;
    padding: 0px 0%;
}
.top-header ul{
	margin: 0 0 0em 0em;
	list-style: none;
	display:flex;
	padding-left:0px;
	
}
li#text-6{
	    margin-left: 30px;
}

.top-header ul li{
	margin:0 8px;
	
}
.top-header a{
	color:white;
	    font-size: 14px;
}
.top-header a:hover i{
	color:#666;
}
.top-header a:visited{
	color:white;
}



/* 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:1300px;
	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;
}
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.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}
/* Entry-Header
	 ========================================================================== */
.single-post header.entry-header {
    /*background-color: #062743;*/
	background-color: transparent;

}
.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: 1300px;
    margin: 125px auto 0px;
    /*height: 500px;*/
    background-position: right;
    background-repeat: no-repeat;
    
	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: 1000px;
    color: #1a347a;
}
.meta-text p {
    margin-top: 10px;
    margin-bottom: 35px !important;
    font-size: 21px;
    width: 75%;
    font-weight: 500;
    line-height: 130%;
}

.post-thumbnail img {
    filter: grayscale(1);
    object-fit: cover;
    height: 500px;
    object-position: right;
    width: 100%;
}
img#entry-header-bg {
    position: absolute;
    width: auto;
    right: 0px;
    z-index: 0;
    bottom: 0px;
    height: 502px;
	opacity:1;
}
.single-post .post-thumbnail img {
    object-fit: cover;
    height: 450px;
	width:100%;
    object-position: center;
	opacity:1;
	
}
.home .post-thumbnail img {
  
	opacity:1;
	
}
.post-thumbnail img {
    
	opacity:0.85;
	
}
.post-grid .post-thumbnail img {
    
	opacity:1;
	
}
.post-thumbnail {
    width: 100%;
    display: flex;
    justify-content: flex-end;
	background-color: #f4f4f4;
	
}
.buttons {
    display: flex;
    gap: 10px;
    margin: 20px 0px;
    flex-wrap: wrap;
}
.page-template-default .meta-text {
    position: relative;
	padding: 100px 7% 70px;
    
}
.page-template-default header.entry-header {
 
    flex-direction: column;
}
/* Services
	 ========================================================================== */
.services-grid {
    display: flex;
    width: 100%;
    max-width: 1300px;
    padding: 0px 0%;
}
.service {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
	padding:35px 5%;
}
.service i{
	color:#7bc09e;
	font-size:25px;
}
#service-1{
	background-color:#244598;
	color:white;
}
#service-2{
	background-color:#1a347a;
	color:white;
}
#service-3{
	background-color:#ddddd8;
}

#service-3:hover{
	color:#1a347a
}
.service:hover{
	 filter: brightness(0.95);
	color:white;
}
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;
		text-decoration:none;
}
.service-meta a:hover{
	-webkit-transform: translateX(3px);
	transform: translateX(3px);
	text-decoration: none;
}
#teenused{
	justify-content: flex-end;
}

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

#company {
    background-color: #f4f4f4;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    width: 100%;
    max-width: 100%;
    flex-direction: row-reverse;
	padding:0px 7%;
}
.company-content {
    width: 50%;
    max-width: 650px;
    padding: 50px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.entry-content-inside {
    width: 90%;
    max-width: 1300px;
    /* height: 650px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#company-inside{
	width: 90%;
    max-width: 1300px;
    /* height: 650px; */
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
	margin:0 auto;
}
.entry-content-inside-img {
    width: 50%;
    max-width: 1500px;
    display: flex;
    align-items: flex-end;
    align-content: flex-end;
	margin-top:-50px;
}
.entry-content-inside-img img {
    object-fit: cover;
    height: 650px;
    object-position: right;
    aspect-ratio: 1 / 1;
}
/* blogi leht */
/* Blog
-------------------------------------------- */
span.block-title {
	font-size:25px;
	font-weight:500;
	line-height:90%;
}
span.block-title-mini {
	font-size:12px;
	font-weight:700;
	line-height:90%;
	color:#50a387;
	text-transform:uppercase;

}

#rubriik-kute {
    background-color: #244598;
    padding: 3px 10px;
	order:1;
}
#rubriik-vesi {
    background-color: #1a347a;
    padding: 3px 10px;
	order:2;
}
#rubriik-trass {
    background-color: #ddddd8;
    color: #1a347a;
    padding: 3px 10px;
	order:3;
}

.single-post .post-thumbnail img {
    width: 100%;
    object-fit: cover;
    height: 500px;
    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:1000px;
	margin:0 auto;
	padding: 50px 5%;
	width:100%;
	
}
.single-post .entry-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0px 5% 50px;
    width: 100%;
}
.single-post header.entry-header {
 

    background-image: none;
    background-position: right;
    background-repeat: no-repeat;
}
/*.object-meta{
	font-size:20px;
}*/
.blog .entry-content{
	padding:200px 4% 50px;
    max-width: 1400px;
 

}
.blog-main-meta p{
	 line-height: 110%;
	font-size:15px;
}
.blog-main-meta {
    width: 100%;
    padding: 30px 2.5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}
#blog-inside{
	max-width:1400px;
	margin:0 auto;
	width:92%;
}
#blog{
	
	margin: 100px auto 100px;
	display: flex;
    align-items: center;
}
#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;
}
.page-template-default .reference-grid{
	
    margin: 0px 0px 10px;
 
}
.reference-grid{
	 display: flex;
    flex-wrap: wrap;
    margin: 150px 0px 50px;
    gap: 15px 0.5%;
	    justify-content: center;
}
.reference-grid .post {
	display: flex;
   
    width: 24%;
    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;
    justify-content: center;
    align-content: center;
    align-items: center;
	       transition: background 0.3s ease;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
		background: #0b1423f2 !important;
	
	
}
  
.reference-grid .post:hover img{
  	       transition: background 0.3s ease;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
	
	
    opacity:0.05;
}



.reference-grid .child-categories {
    position: relative;
  
    gap: 5px;
  
    left: 0px;
}
.reference-grid .post:hover {

    opacity: 0.95;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
}
.reference-grid .post-thumbnail img {
   width: 100%;
    height: auto;
	

	
}
#buttons-reference{
	display: flex;
    justify-content: center;
}
.reference-grid .post-thumbnail {
   z-index:2;
margin-bottom:-1px;
	
}
.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: 5px 1%;
	    /*justify-content: center;*/
}

.post-grid .post {
    margin-bottom: 0px;
    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;
}
.post-grid .post:hover {

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


.post-grid .post-thumbnail  {
  aspect-ratio: 1 / 1;     /* teeb konteineri ruudukujuliseks */
  overflow: hidden;    
}
.post-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1 !important;
    filter: grayscale(1);
}

.post-grid .post h2 a {
    font-size: 16px;
    width: 95%;
    
    /* color: #192c34; */
    margin-bottom: 10px;
    line-height: 98%;
    /* text-transform: uppercase; */
    text-decoration: none;
}
.post-grid .post-thumbnail a {
    
	  width: 100%;
  aspect-ratio: 1 / 1;    /* loob ruudu */
  overflow: hidden;
}
.post-grid .post h2  {
    	margin-top:10px;
	    line-height: 0%;
	padding: 0 5px;
}

.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: 5px;
    left: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
}

.post-category {
   text-transform: uppercase;
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 0px;
}
#rubriik-terviklahendus{
	background-color:#6ac6e2;
}
/* 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:90vh;
	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;
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer {
    background-color: #50a387;
    color: white;
    overflow: hidden;
    width: 100%;
	z-index:2;
	position: relative;

}
.site-footer #footer-sidebar1 p{
	margin-bottom:10px;
}
#footer-sidebar1 h2{
	  font-size: 25px;
}
.site-footer h2 {
    margin-bottom: 15px;
    margin-top: 70px;
}
.site-footer h3{
	text-transform: uppercase;
	margin-bottom:0px;
	margin-top:0px;
}
p.position{
	margin-top:0px !important;
	font-style: italic;

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

.site-footer a{
	color:white;
	text-decoration:none;
}
.site-footer a:hover{
	color:white;
	filter: brightness(0.9);
}
.site-footer a:visited{
	color:white;
}
ul#menu-kontaktid{
	margin:25px 0px;
}
ul#menu-kontaktid a{
	font-size:23px;
	font-weight:700;
}
ul#menu-sotsiaalmeedia a{
	font-size:65px;
	margin-right:5px;
}
ul#menu-sotsiaalmeedia li{
	
	margin-right:8px;
}
ul#menu-sotsiaalmeedia{
	display:flex;
}
li#menu-item-1925 a{
	font-size:20px;
		font-weight:700;
}
.site-footer ul {
    list-style: none;
	padding-left:0px;
}
img#footer-arrow {
    position: absolute;
    width: 20%;
    left: 0px;
    z-index: -1;
    bottom: 0px;
}
#footer-sidebar-inside{
	z-index:1;
}
.site-footer #menu-contact a{
	    font-size: 25px;
    line-height: 150%;
    font-weight: 700;
 	margin-bottom:-5px;
	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 ::placeholder{
	color:white;
	text-transform:uppercase;
}
#footer-sidebar {
    max-width: 1300px;
    margin: 0 auto;
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
	padding:50px 7%;
}
#footer-sidebar1 {
    width: 50%;

}
#footer-sidebar2 {
    width: 50%;
    
 
}
#footer-sidebar2 h2 {
    font-size: 50px;
    margin-bottom: 20px !important;
    width: 80%;
	line-height:100%;
}
#footer-sidebar2 .widget {
   max-width:500px;
}

form p{
	margin-bottom:15px !important;
}

span.wpcf7-not-valid-tip{
	display:none;
}

.wpcf7 form .wpcf7-response-output {
    margin: 2em 0em 1em;
    padding: 0.2em 0em;
    border: 0px solid #00a0d2;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #ffb90000;
    color: white;
}
/* 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: #1a347a;
	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 {
	line-height:110%;
}

h1{
	font-size:65px;
	font-weight:500;
	margin:0px 0px 25px;
}
.single-post h1{
	margin-bottom:25px;
	font-size:45px;
}
.page-template-default h1{
	font-size:55px;
}
.single-post h2{
	
	font-size:30px;
}
h2{
	font-weight:500;
	font-size:33px;
}
.home h1{
	font-size:65px;
}
.page-template-page-no-image h1 {
	font-size:35px;
}
.page-template-page-no-image h2 {
	font-size:28px;
}
h2.service-title{
	font-size:35px;
	margin:0px 0px 20px;
}
#company h2 {
    font-size: 40px;
    margin: 15px 0px 0px;
}
#company p {

    margin: 15px 0px 0px;
}
p {
	margin-bottom: 1.5em;
	line-height: 125%;
}

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

blockquote {
	margin: 0 0em;
}

blockquote p {
    font-size: 23px;
    margin: 15px 0px 0px;
    font-weight: 300;
    line-height: 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: #1a347a;
}

a:visited {
	color: #1a347a;
}

a:hover,
a:focus,
a:active {
	color: #50a387;
}

a:focus {
	outline: thin dotted;
}

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

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

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: 10px 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: white;
    background-color: #7bc09e;
    border: 3px solid #7bc09e;
}

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-grey.button{
	    border: 2px solid #f4f4f4;
    color: #1a347a;
    background-color: #f4f4f4;
}
a#light-grey.button:hover{
	filter: brightness(0.95);
}
a#light-blue.button{
	    border: 2px solid;
    color: #1a347a;
    background-color: #ff000000;
}
a#light-blue.button:hover{
	filter: brightness(0.95);
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	padding: 10px 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: white;
    background-color: #1a347a;
    border: 3px solid #1a347a;
}

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

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

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: white;
    border: 2px solid white;
    border-radius: 0px;
    padding: 9px;
    background-color: #ffffff00;
    width: 100%;
	
}

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 {

}

textarea {
	width: 100%;
}

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

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

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

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

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

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

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

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

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

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}
a.mega-menu-link{
	font-weight:500 !important;
}
/* 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%;
}
.nav-links a {
    padding: 20px;
    color: #f1f1f1;
    font-size: 50px;
}
/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

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

.updated:not(.published) {
	display: none;
}
.blog .entry-content {
    padding: 105px 7% 50px;
    width: 100%;
    margin: 0 auto;
    max-width: 1300px;
}
.entry-content{
	max-width:1100px;
	padding:50px 7%;
	width:90%;
	margin:0 auto;
}
.single-post .entry-content{
	max-width:1000px;
	
	
}
.page-template-default .entry-content {
    width: 100%;
    padding-top: 0px;
}
.page-content,
.entry-content,
.entry-summary {

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

}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
#partners {
 
    padding: 50px 7%;
   
}
.page-template-default #blog{
	margin-top:0px;
}
/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
    margin: 0 0 0em;
    list-style: none;
}

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

/* 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;
	width:45%;
	/*rtl:ignore*/
	margin-right: 1em;
	margin-bottom: 0.5em;
	filter: grayscale(1);
}


.alignright {

	/*rtl:ignore*/
	float: right;
	width:45%;
	/*rtl:ignore*/
	margin-left: 1em;
	margin-bottom: 0.5em;
	filter: grayscale(1);
}


.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0.5em;
	width:100%;
	filter: grayscale(1);
}
@media only screen and (max-width: 1300px){
	.home h1 {
    font-size: 55px;
}
	.page-template-default h1 {
    font-size: 50px;
}
	.single-post h1{
	margin-bottom:25px;
	font-size:45px;
}
	.meta-text p {
 
    font-size: 19px;

}
	h2.service-title {
    font-size: 30px;

}
	#company h2 {
    font-size: 35px;
   
}
	.service-meta p {
		font-size:15px;
	}
	#footer-sidebar2 h2 {
    font-size: 40px;

}
}

@media only screen and (max-width: 1000px){
#company {
  
    padding: 0px 0%;
}
	#company-inside {
    width: 100%;
 
}
}
@media only screen and (max-width: 900px){
	.post-grid .post {

    width: 49.5%;
   
}
	#company h2 {
    font-size: 30px;
   
}
	#footer-sidebar {
    width:100%;
    flex-direction: column-reverse;
}
	#footer-sidebar1 {
    width: 100%;
}
		#footer-sidebar2 {
    width: 100%;
}
	.site-header {
  
    width: 100%;
}
	#footer-sidebar2 h2 {
    font-size: 30px;

}

}
@media only screen and (max-width: 764px){
	
	.post-thumbnail img {
  
    object-position: center;
  
}
	.custom-logo-link {
  
    width: 180px;
}
	.meta-text p {
 
    width: 100%;
    
}
	.services-grid {

    flex-direction: column;
}
	.post-grid .post h2 a {
    font-size: 14px;
    width: 100%;
 
}
	#company-inside {

    flex-direction: column-reverse;

}
	.entry-content-inside-img {
    width: 90%;
 
}
	.entry-content-inside-img img {
    
    height: auto;

}
	#company .buttons {
    
    margin: 40px 0px;
   
}
	.company-content {
    width: 100%;
  
    padding: 50px 7%;

}
	.home h1 {
    font-size: 45px;
}
		.page-template-default h1 {
    font-size: 40px;
}
	img#footer-arrow {

    width: 50%;
  
   
    opacity: 0.5;
}
.page-template-default .entry-header .post-thumbnail img {
  
    height: 250px;
 
}
	.single-post .post-thumbnail img {

    height: 250px;

}
.page-template-default .meta-text {
    position: relative;
    padding: 50px 0% 100px;
}
	
}
@media only screen and (max-width: 650px){

.alignleft {

	width:100%;

	
	margin-bottom: 1.5em;

}


.alignright {

	width:100%;

	
	margin-bottom: 1.5em;

}
	#partners {
    padding: 0px 0%;
}
}

@media only screen and (max-width: 450px){
			.top-header p {
  
    font-size: 15px;
    
}
	.page-template-default h1 {
    font-size: 37px;
}
	.single-post h1{
	
	font-size:35px;
}

}