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

*/
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

html { scroll-behavior: smooth; } 

.site {
    animation: fadeIn 0.75s;
    -webkit-animation: fadeIn 0.75s;
    -moz-animation: fadeIn 0.75s;
    -o-animation: fadeIn 0.75s;
    -ms-animation: fadeIn 0.75s;
}
#media_image-3 img {
    width: 60%;
    filter: grayscale(0);
    margin: 10px 0px 0px;
}
/*--------------------------------------------------------------
# HEADER
--------------------------------------------------------------*/
li.lang-item a{
	text-transform: uppercase !important;
	color:white !important;
}
li.lang-item a:visited{
	color:white !important;
}
li.lang-item a:hover{
	color: #eb1c24 !important;
}
header.entry-header{
	background-color: black;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
	    height: 60vh;
}

.top-header ul{
	display:flex;
	list-style:none;
	margin-bottom:5px;
}
.top-header ul li{
	margin-left:20px;
}
.top-header a{
	color:white;
	    font-size: 14px;
}
.site-header.nav-up {
    transform: translateY(-100%);
	/*background-color: #ff000000;*/
	    transition: background 0.3s ease;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}
.site-header{
	width:100%;
	position: fixed;
	z-index: 2;
	background-color: #ff000000;
	transition: background 0.3s ease;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
	    top: 0px;
}
.archive.tag .site-header {
    
	background-color: #000000;
}
.site-header-inside{
	max-width: 1750px;
    margin: 0 auto;
    padding: 20px 5%;
	display: flex;
    align-items: center;
    justify-content: space-between;
	    flex-wrap: wrap;
}
.header-menus{
	display: flex;
    flex-direction: column;
    align-items: flex-end;
	
}
.error404  .site-header{
	background-color:black;
}
.site-header.active{
	background-color:#05090f;
}
.post-thumbnail img{
	width:100%;
	min-height: 100%;
	height:60vh;
	object-fit:cover;
	opacity: 0.75;
    margin-bottom:-6px;
}
.post-thumbnail {
	width:100%;
	background-color:#000000;
	
}
.entry-header-text p{
	font-size:18px;
	text-shadow: 0 5px 10px #0000003d;
}
/*--------------------------------------------------------------
# FRONTPAGE
--------------------------------------------------------------*/
#koostoopartnerid-out{
	width: 100%;
    margin: 0px 0%;
}
#koostoopartnerid{
	width:50%;
	margin:0px 25%;
}
#koostoopartnerid .swiper-wrapper {
   
  
}
.banner-cta {
	margin-top:30px;
}
.front-page-slider{
	width:100%;
}
.front-page-slider-content p{
	font-size:20px;
	text-shadow: 0 5px 10px #0000003d;
	margin-bottom:10px;
}
.front-page-slider-content-inside{
	width:50%;
}
.home .post-thumbnail img{
	width:100%;
	min-height: 100%;
	height:100vh;
	object-fit:cover;
	opacity: 0.7;
    margin-bottom:-6px;
}
.home .post-thumbnail {
	width:100%;
	background-color:#000000;
	height:100vh;
	
}
.front-page-slider-content{
	position:absolute;
	z-index:1;
}
.front-page-slider-content{
	color:white;
	max-width: 1750px;
    margin: 0 auto;
    padding: 40px 5% 30px;
	width:100%;
}
.front-page-slider{
	display: flex;
    align-items: center;
    justify-content: center;
	height:100%;
	
}
.block-out {
   
   
    width: 100%;
}
	
	
	#grey-right{
		flex-direction: row-reverse;
		  /*  background-color: #f2f2f2;*/
	}
#tagasiside{
	max-width: 1250px;
	margin: 100px auto;
}
.block-inside{
	    display: flex;
    justify-content: space-between;
	padding: 75px 5%;
	 max-width: 1750px;
    margin: 0 auto;
}
.content-block{
	display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
	background-color: #f6f6f6;
	min-height:750px;
	margin: 0px 5%;
	/*box-shadow: inset 0px 0px 80px #0000000d;*/
}
.content-img{
	width:50%;
	height:100%;

}
.content-img img{
	margin-bottom:-5px;
	height:100%;
	object-fit:cover;
	min-height:750px;

}
#company{
	text-align:right;
	padding: 50px 5% 50px 15%;
}
.front-page-text{
	width:50%; 
	
    margin: 0 auto;
    padding: 50px 15% 50px 5%;
}
.front-page-text a{
	color:#eb1c24;
	font-weight:600;
	font-size:18px;
}
.front-page-text a:visited{
	color:#eb1c24;
}
.front-page-text a:hover{
	color:#cc181f;
	
}
#reference .block-inside {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
#blog .block-inside {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
.blogi-meta a{
	
	text-transform: uppercase;
	/*font-weight:600;
	color:#eb1c24;*/
}
.block-out h2{
	margin-bottom:0px;
}
.blogi-meta {
	margin-bottom:25px;
}
   
/* BENEFITS
	 ========================================================================== */
.benefit{
	    display: flex;
    flex-direction: column;
    width: 33.3333%;
    align-content: center;
    align-items: center;
	text-align:center;
}
.benefit IMG{
	     width: 11%;
    filter: grayscale(1) brightness(0);
    margin-bottom: 15px;
}
#benefits{
	    margin-top: 0px;
}
h3.benefit-title{
	font-size:22px;
	font-weight:800;
	text-transform: uppercase;
	margin-bottom:0px;
	margin-top:0px;
}
.benefit-text{
	padding:0px 20px;
}
.benefit-text p{
	margin-top:5px;
	margin-bottom:0px;
}
.item {
       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;
	
}

.item:hover {
  
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
}

/* BUTTONS
	 ========================================================================== */
a.cta-red {
	    margin-right: 15px;
    background-color: #eb1c24;
    color: white !important;
    padding: 11px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    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;
    line-height: 32px;
    margin-top: 15px;
}
a.cta-red:hover {
    background-color:#cc181f;
    color: white !important;
        -webkit-transform: translateY(8px);
    transform: translateY(8px);
  
}
a.cta-red a:visited {
  
    color: white !important;
      
  
}
a.cta-black {
    background-color: #ffffff00;
    color: black;
    padding: 11px 35px;
    font-size: 17px;
    font-weight: 600;
    border: solid 3px;
    border-radius: 35px;
    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;
	margin-top:15px;
}
a.cta-black:hover {
    background-color: #efefef00;
    color: black;
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
}
a.cta-black:visited{

	    color: black;
	}
a.cta {
    background-color: #ffffff00;
    color: #ffffff;
    padding: 11px 35px;
    font-size: 17px;
    font-weight: 600;
    border: solid 3px;
    border-radius: 35px;
    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;
	margin-top:15px;
}
a.cta:hover {
    background-color: #efefef00;
    color: #eb1c24;
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
}
a.cta:visited{

	    color: #ffffff;
	}
.cky-btn-accept {
 
    border-radius: 25px !important;
    font-weight: 600 !important;
}

/* Testimonials
	 ========================================================================== */
.swiper-pagination.testimonial-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-bullets-dynamic.swiper-pagination-horizontal{
	width:100% !important
}
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    transform: scale(1) !important;
    position: relative;
}
.sp-testimonial-free {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
	flex-wrap:wrap !important;
}
.sp-testimonial-client-image{
	width:25% !important;
	
}
.sp-testimonial-client-testimonial{
		width:75% !important;
}
.sp-testimonial-content p{
	text-align:left !important;
}
.sp-testimonial-content p{
	padding:0px 8% !important;
}
.swiper-pagination{
	z-index:1 !important
}
.gs_logo_area_1 .gs_logo_single--wrapper {
    /*width: 18% !important;*/
}
.sp-testimonial-free-section .testimonial-pagination span.swiper-pagination-bullet{
	    background: #404040 !important;
	height: 10px;
    width: 10px;
}
.sp-testimonial-free-section .testimonial-pagination span.swiper-pagination-bullet.swiper-pagination-bullet-active{
	background: #db3e2e !important;
	height: 10px;
    width: 10px;
}
.sp-testimonial-free-section .sp-testimonial-client-testimonial, .sp-testimonial-free-section .sp-testimonial-client-testimonial p {
    font-size: 23px;
    line-height: 33px;
    text-transform: none;
    text-align: center;
    letter-spacing: normal;
    font-weight: 400;
    font-style: normal;
    margin: 0 0 20px 0;
}
.sp-testimonial-free-section .sp-testimonial-client-testimonial p strong {
    font-size: 16px !important;
    line-height: normal;

    font-weight: 600;
  

}
.sp-testimonial-free-section .sp-testimonial-client-testimonial p em {
    font-size: 16px !important;
    line-height: normal;
    font-style:italic;
    font-weight: 400;
  

}
/* tag
--------------------------------------------- */
.tag-image img{
	
}
.archive.tag .entry-header-text {
  
    width: 90%;
    
}
.tag-image img{
	width:100%;
	min-height: 100%;
	height:50vh;
	object-fit:cover;
	opacity: 0.75;
    margin-bottom:-6px;
}
.tag-image {
	width:100%;
	background-color:#000000;
	
}
.archive.tag .post .element{
	display:none !important;
}
.archive.tag .entry-header-text {
   
    padding: 0px 0% 0px;
    max-width: 1500px;
    
}
.archive.tag header.page-header {
    padding: 0px 0%;
}
.item .tags{
	display: flex;
    flex-wrap: wrap;
}


.tag-list a:visited{
	color:white;
    
	
}


.archive blockquote p {
    padding: 0px 0%;
	    
}
.archive p{
	    padding: 0px 0%;
}
.archive a.post-thumbnail {
	display:none !important
}
.archive .entry-content{
	display:none !important
}

.archive header.entry-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: auto;
	min-height:35px;
    background-color: #1b8eff00;
    border-radius: 0px 0px 0px 0px;
    overflow: hidden;
	padding: 0px 0%;
	
}
header.page-header{
	padding:0px 5%;
}
.archive .post footer.entry-footer{
	display:none;
}
.tag div.content-inside {
    background-color: #f5f5f500;
    /* padding: 40px 8%; */
    overflow: hidden;
    /* margin-top: 5px; */
}
.tag aside#secondary.widget-area{
	display:none;
}
.tag .site-main{
	
	 max-width: 1500px;
  margin: 100px auto 100px;
    padding: 0px 5%;
}

.archive .site-main h1{
    
}
.archive .site-main span {
    padding: 0px 2.5% 0px 0px;
    font-size: 22px;
}
.archive header.entry-header h2 {
   
    font-size: 20px;
    line-height: 25px;
}
.archive header.entry-header h2 a {
   
  
    font-weight: 800;
}
.archive header.entry-header h2 {
   
    margin:0px;
}

.archive header.entry-header p {
   
   display:none;
}
.tag .archive-description{
	border-bottom: dashed 0px #cbcbcb;
    padding-bottom: 25px;
    margin-bottom: 25px;
}
footer.entry-footer{
	display:none !important;
}

a.post-tags{
	
}

.tag div.content-inside {
    
    padding: 0px 0%;
    
}

/* ONE page
--------------------------------------------- */
.blocks {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    /* text-align: justify; */
	width: 100%;
}
.block {
    width: 47%;
}
/* Single-post
--------------------------------------------- */
.tagasiside-out{
	padding: 50px 5%;
    background-color: #f6f6f6;
	text-align:center;
	margin-bottom:50px;
	
	
}  

.referents-gallery{
	margin: 0px 0px 50px;
}
.tags a{
	margin-right:10px;
	text-transform: uppercase;
	font-size:14px;
}
.tag-list a{
	margin-right:15px;
	text-transform: uppercase;
	font-weight:600;
	color:white;
}
#post-grid-346 {
    
    width: 100% !important;
}
.single-post .entry-content{
	max-width:1400px;
}
.single-post .entry-header-text {

    max-width: 1450px;
	text-align:center;
}
.post-grid .layer-wrapper img {
    max-width: 100% !important;
    height: 300px !important;
    object-fit: cover !important;
    width: 100% !important;
	    filter: hue-rotate(8deg) !important;
}
.title_link {
    color: #0c0c0c;
    font-size: 20px;
    text-align: left;
    margin: 10px 0px !important;
    font-weight: 600 !important;
}
footer.entry-footer{
	display:none !important;
}
span.nav-subtitle{
	display:none !important;
}
.nav-links{
	max-width: 1750px;
    margin: 0 auto;
    padding: 20px 5%;
}
.nav-links a{
	font-size:12px;
	line-height:normal;
}
.item {
    padding: 0px;
    background: #fff0 !important;
	    width: 23.5% !important;
	margin: 20px 2% 20px 0% !important;
}

.item:last-child{
	margin: 20px 0% 20px 0% !important;
}

	.item:nth-child(4){
	margin: 20px 0% 20px 0% !important;
}
	
		.item:nth-child(8){
	margin: 20px 0% 20px 0% !important;
}
		
		.item:nth-child(12){
	margin: 20px 0% 20px 0% !important;
}
#blog{
	margin: 15px 5%;
    background-color: #f6f6f6;
	/*box-shadow: inset 0px 0px 80px #0000000d;*/
	width:90%;
}

/* Footer
--------------------------------------------- */
.site-footer{
	  
    margin-bottom: 0px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
      max-width: 1750px;
    margin: 0 auto;
    padding: 75px 5%;
    width: 100%;
	flex-wrap: wrap;
}
#footer-sidebar2 p{
	line-height:25px;
}
.site-footer a{
	line-height:25px;
}
#footer-sidebar1{
	width:25%;
	padding-right:5%;
}
#footer-sidebar2{
	width:25%;
}
#footer-sidebar3{
	width:25%;
	    padding-right: 5%;
}
#footer-sidebar4{
	width:25%;
}
.footer-out{
    background-color: #ececec;
    overflow: hidden;
    width: 100%;

}
.site-footer img{
	width: 60%;
    filter: grayscale(1);
    margin: 50px 0px 0px;
	
}
.site-footer ul{
	list-style:none;
	padding-left:0px;
	margin-left:0px;
}
.site-footer ul#menu-menu-footer-social-media.menu a{
	font-size:35px;
	margin-right:10px;
}
#menu-menu-footer-social-media{
	display:flex;
}
.site-footer p{
	
	
}

.site-footer h3 {
      color: black;
}
.site-info{
	    background-color: #ececec;
	padding:10px 0px;
}
#pbCloseBtn:before, #pbAutoplayBtn:before {
   
    background: rgb(255 0 0) !important;
  
}
/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

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

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

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

}

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

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 15px 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;
	opacity: 1;
}

/* 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: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	font-family: 'Lato', sans-serif;
}
.home h1{
	font-size:55px;
	letter-spacing: -0.5px;
	font-weight:800;
	   /* text-shadow: 0px 0px 10px #0000002e;*/
	
}
h1.entry-title{
	 
}
.entry-header-text{
	color: white;
    max-width: 1750px;
    margin: 0 auto;
    padding: 40px 5% 30px;
    width: 100%;
	    position: absolute;
    z-index: 1;
}
h1 {
    font-size: 45px;
		letter-spacing: -0.5px;
	font-weight:800;
    
}
.archive.tag  h1.page-title{
	    font-size: 20px;
}
.archive.tag  h1.page-title span{
    font-size: 45px;
	}
h1,
h2,
h3,
h4,
h5,
h6 {
	/*clear: both;*/
	line-height:normal;
	    margin-bottom: 15px;
}
h1:lang(ru), 
h2:lang(ru), 
h3:lang(ru), 
h4:lang(ru){
	font-weight:600;
}
.home h1:lang(ru){
	font-weight:600;
}
p {
	margin-bottom: 1.5em;
	line-height:normal;
	margin-top:10px;
}
h2{
	font-size:35px;
	font-weight:600;
}
h3{
	font-size:25px;
	font-weight:600;
}
h4{
	font-size:20px;
	font-weight:600;
}
dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 0em;
}
blockquote p{
	font-weight:400;
	font-size: 25px;
	    margin-bottom: 15px;
}
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: linear-gradient(0deg, #fafafa, white);
}

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: -2px 0;
}

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

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

a:visited {
	color: #292727;
}

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



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

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	    border: 1px solid;
    /* border-color: #ccc #ccc #bbb; */
    border-radius: 25px;
    background: #db3e2e;
    color: rgb(255 255 255);
    line-height: 1;
    padding: 10px 25px;
    font-weight: 600;
	    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;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background-color: #cc181f;
    color: white !important;
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
}

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

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
    border: 1px solid #525252;
    border-radius: 22px;
    padding: 5px 15px;
    background-color: #ffffff00;
	    width: 100%;
}
.wpcf7.js p{
	margin-bottom:0px;
	
}
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: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

span.wpcf7-not-valid-tip{
	display:none;
}
input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required.wpcf7-not-valid::placeholder{
	color:#db3e2e; 
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    color: #be3528;
   border-color: #be3528;
	border-radius:25px;
}
.wpcf7-response-output {
    border-color: #46b450;
	border-radius:25px;
	color: #46b450;
}

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

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

.page-content,
.entry-content,
.entry-summary {
	max-width: 1550px;
    margin: 0 auto;
    padding: 100px 5%;
	overflow: hidden;
}

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

/* 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: 0.5em;
    display: grid;
    grid-gap: 0.5em;
}

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

.gallery-item img{
	height:400px;
    object-fit:cover;
	width:100%;
}

.gallery-columns-4 img{
	height:250px;
}
.gallery-columns-3 img{
	height:300px;
}

.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: 2.5em;
	margin-bottom: 2.5em;
	width:50%;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 2.5em;
	margin-bottom: 2.5em;
	width:50%;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

@media only screen and (max-width: 1950px){
.home	.post-thumbnail img{


	/*height:750px;*/
	
	}
.post-grid .layer-wrapper img {
    
    height: 250px !important;
  
}
}
@media only screen and (max-width: 1366px){	
	#koostoopartnerid{
	width:70%;
	margin:0px 15%;
}
	.front-page-text {
   
    padding: 50px 5% 50px 5%;
}
	#company {
  
    padding: 50px 5% 50px 5%;
}
	.home .post-thumbnail img{


	/*height:600px;*/
	
}
.home h1 {
    font-size: 47px;
    
}
h1 {
    font-size: 42px;
    
}
	.archive.tag  h1.page-title span{
    font-size: 42px;
	}
h2{
	font-size:35px;

}
h3{
	font-size:25px;

}
h4{
	font-size:20px;

}
h3.benefit-title {
    font-size: 18px;
   
}
	.benefit-text p{
	font-size:15px;
}
	
}
	@media only screen and (max-width: 1175px){
	    #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link:lang(ru) {
         
 
    padding: 0px 0px 0px 25px !important;
 
    font-size: 15px !important;
   
    }	
		
		
.block-inside {
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
}
.benefit IMG {
    width: 10%;
}
/*.benefit {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 0px;
    width: 50%;
}*/
#footer-sidebar1{
	width:33%;
	padding-right:5%;
}
#footer-sidebar2{
	width:33%;
}
#footer-sidebar3{
	width:33%;
}
#footer-sidebar4{
	width:50%;
}
		
	}			
	
@media only screen and (max-width: 1100px){	
    ul.mega-menu.max-mega-menu.mega-menu-horizontal.nav-menu {
        top: -50px !important;
    }
	    a.mega-menu-link {
        display: flex !important;
    }
	    #mega-menu-wrap-menu-1 .mega-menu-toggle + #mega-menu-menu-1 {
        z-index: -1 !important;
    }
}



@media only screen and (max-width: 1000px){	
	
.site-header-inside {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link:lang(ru) {
         
		 padding: 0px 0px 0px 0px !important;
		 font-size: 22px !important;
   
    }	

.page-id-1218 #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
  
    color: white !important;
}

.item {
   
    width: 49% !important;
	margin: 20px 2% 20px 0% !important;
}

.item:nth-child(2){
	margin: 20px 0% 20px 0% !important;
}
	.item:nth-child(4){
	margin: 20px 0% 20px 0% !important;
}
	.item:nth-child(6){
	margin: 20px 0% 20px 0% !important;
}
		.item:nth-child(8){
	margin: 20px 0% 20px 0% !important;
}
		.item:nth-child(10){
	margin: 20px 0% 20px 0% !important;
}
		.item:nth-child(12){
	margin: 20px 0% 20px 0% !important;
}
	.tag .site-main{
	
	
  margin: 50px auto 50px;
    
}
	.page-content, .entry-content, .entry-summary {
 
    padding: 50px 5%;
 
}
.gallery-item img{
	height:350px;
   
}
	.block {
    width: 100%;
}
	.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right:0em;
	margin-bottom: 2.5em;
	width:100%;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left:0em;
	margin-bottom: 2.5em;
	width:100%;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
	width:100%;
}
	
	.sp-testimonial-free{
		flex-direction:column !important;
	}
	.sp-testimonial-free-section.swiper-initialized, .sp-testimonial-free-section:not(.swiper-initialized,.tfree-layout-grid){
		margin: 0px 0px !important;
	}
	.sp-testimonial-client-testimonial{
		width:100% !important;
		text-align:center !important;
	}
	.sp-testimonial-client-testimonial p{
		
		text-align:center !important;
	}
	#footer-sidebar1{
	width:50%;
	padding-right:5%;
}
#footer-sidebar2{
	width:50%;
}
#footer-sidebar3{
	width:50%;
}
#footer-sidebar4{
	width:50%;
}
	#mega-menu-wrap-menu-1 .mega-menu-toggle .mega-toggle-blocks-right .mega-toggle-block {
    margin-right: 0px !important;
}
	#mega-menu-wrap-menu-1 .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-box {
    width: 34px !important;
  
}
	a.mega-menu-link{
		display:flex !important;
	}
	#mega-menu-wrap-menu-1 .mega-menu-toggle + #mega-menu-menu-1 {
  
    z-index: -1 !important;
}
	ul.mega-menu.max-mega-menu.mega-menu-horizontal.nav-menu{
		top:-50px !important;
	}
	/*.home .post-thumbnail img {
   height: 750px;
}
	.post-thumbnail img {
    height: 450px;
}*/
.front-page-slider-content-inside {
    width: 80%;
}
.content-block {
    
    flex-direction: column;
 
    min-height: 750px;
}
	.content-img {
    width: 100%;

}
.content-img img {
    margin-bottom: -5px;
    height: 100%;
  
    min-height: 450px;
}
	.front-page-text {
    width: 100%;
    margin: 0 auto;
    padding: 50px 5% 50px 5%;
}
	#company{
	text-align:left;
	padding: 50px 5% 50px 5%;
}}
	
@media only screen and (max-width: 850px){			
	.benefit {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 0px;
    width: 100%;
}
	.benefit-text {
    padding: 10px 20px;
    text-align: center;
}
	.home h1 {
    font-size: 40px;
    
}
h1 {
    font-size: 37px;
    
}
	.archive.tag  h1.page-title span{
    font-size: 37px;
	}
h2{
	font-size:28px;

}
h3{
	font-size:22px;

}
h4{
	font-size:19px;

}
.front-page-slider-content p {
    font-size: 20px;
   
}
	.custom-logo-link {
    display: inline-block;
    width: 145px;
}
	.top-header a b{
		display:none;
	}}
@media only screen and (max-width: 768px){
	#benefits .block-inside{
		    padding: 45px 5%;
	}
	
	.gallery-item img{
	height:250px;
   
}
	.gallery-item img{
	height:250px;
   
}
		
#footer-sidebar1{
	width:100%;
	padding-right:0%;
	order:2;
	margin-top:50px;
}
#footer-sidebar2{
	width:100%;
		order:3;
	margin:50px 0px;
}
#footer-sidebar3{
	width:100%;
	    padding-right: 0%;
	order:4;
}
#footer-sidebar4{
	width:100%;
	order:1;
}
	.site-footer {

    /*flex-direction: column-reverse;*/
}}
@media only screen and (max-width: 650px){	
	.page-template-default h1 br{
		display:none;
	}
	.gallery-columns-3 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(2, 1fr);
}
	.title_link a {
		font-size: 17px !important;
	}
	.excerpt{
		font-size:13px !important;
	}
	.gallery-item img{
	height:200px;
   
}
	.gallery-item img{
	height:200px;
   
}
	.title_link {
    font-size: 16px !important;
    line-height: normal !important;
}
	ul, ol {
    margin: 0 0 1.5em 0em;
}
	.content-img img {
    margin-bottom: -5px;
    height: 350px;
    min-height: 350px;
}
	.front-page-slider-content-inside br{
		display:none;
	}
	.front-page-slider-content-inside {
    width: 100%;
}
	.header-menus {
   
    width: 70%;
}
	.site-branding{
		width:30%;
		    z-index: 2;
	}
	.home h1 {
    font-size: 35px;
}
	h1 {
    font-size: 32px;
    
}
	.archive.tag  h1.page-title span{
    font-size: 32px;
	}
h2{
	font-size:25px;

}
h3{
	font-size:20px;

}
h4{
	font-size:18px;

}}
@media only screen and (max-width: 450px){	
.post-grid .layer-wrapper img {
    height: 175px !important;
}
.gallery-item img{
	height:175px;
   
}
.gs_logo_single {
   
	
    padding: 24px 5px !important;
	}
	#koostoopartnerid{
	width:90%;
	margin:0px 5%;
}
}
@media only screen and (max-width: 400px){	
.post-grid .layer-wrapper img {
    height: 165px !important;
}
.gallery-item img{
	height:165px;
   
}}