/*
Theme Name: Indrek Saul v3
Author: Gert Drui (modified by Kristjan Johanson)
Description:
Version: 3.0
*/

/* front page section */


.product, .case, .tools {
    text-align: center;
    height: 320px;
    background: #efefef;
    color: #111;
    box-shadow: 0px 8px 10px rgba(0,0,0,0.5);
    transition: 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955);
	cursor: default;
	position: relative;
}

body:not(.home) .tools {
	height: auto;
	min-height: 320px;
}

.blogi {
    padding-left: 0px;
    padding-right: 0px;
    box-shadow: 0px 8px 10px rgba(0,0,0,0.5);
    transition: 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    cursor: default;
    -webkit-transition: 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    -moz-transition: 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    -ms-transition: 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955);
	-o-transition: 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955);
	margin: 0 10px;
	width: 31%;
}

.blogi:hover {
	background-color: #fff;
    box-shadow: 0px 15px 15px rgba(0,0,0,0.3);
}

.blogi > .thumb-list__item {
	margin: 0;
}

div.edukasEttevote {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    height: 72px;
    position: absolute;
    top: 0;
    left: 46%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

@media (max-width: 1200px){
	div.edukasEttevote {
		left: 55%;
	}
}

img.edukasEttevote {
	height: 200px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
}

img.edukasEttevote.uus {
	height: 175px;
	position: unset;
	top: unset;
	left: unset;
	transform: unset;
	-webkit-transform: unset;
	-moz-transform: unset;
	-ms-transform: unset;
	-o-transform: unset;
}



img.edukasEttevoteMobiil {
	display: none;
	height: 150px;
	position: relative;
	left: 50%;
	margin-bottom: 40px;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
}

@media (max-width: 781px) and (min-width: 600px) {
	.wp-block-column:not(:only-child) {
		    flex-basis: unset !important;
			flex-grow: 0;
	}
}


@media screen and (max-width: 992px){
	.blogi {
		width: 100%;
		margin: 0 auto;
		margin-bottom: 1rem;
	}

	ul.row {
		padding: 0px 15px
	}
	
	.col-md-4 .product {
		margin-bottom: 1rem;
	}

	.tools {
		margin-bottom: 1rem;
	}

	h2.slogan {
		margin-bottom: 20px !important;
	}

	img.edukasEttevoteMobiil {
		display: block;
	}

	img.edukasEttevote {
		display: none;
	}
	
}

@media screen and (max-width: 587px){
	h2.slogan {
		margin-bottom: 0px !important;
	}

}
.product {
  height: 450px;
}

.case {
	height: 470px;
	border: 1px solid transparent;
}

.materjalid-email input:first-child {
  width: 100% !important;
  margin-left: 0px !important;
}
.materjalid-email label {
  font-size: 11px !important;
}
.materjalid-plugin input {
  text-transform: uppercase !important;
}

.new span {
    transform: rotate(45deg);
    position: absolute;
    right: 4px;
    top: 10px;
    font-size: 90%;
    color: white;
    z-index: 9;
}
.new {
    width: 100%;
    height: 60px;
    position: relative;
    top: 0px;
    font-weight: 700;
    right: 0px;
    margin-bottom: -60px;
}
.new:after {
    content: '';
    position: absolute;
    right: 0px;
    border-color: transparent;
    border-style: solid;
    border-width: 30px;
    border-right-color: #111;
    border-top-color: #111;
}

.popular span {
    transform: rotate(45deg);
    position: absolute;
    right: -4px;
    top: 22px;
    font-size: 55%;
    font-weight: 700;
    color: white;
    z-index: 9;
}
.popular {
    width: 100%;
    height: 60px;
    position: relative;
    top: 0px;
    right: 0px;
    margin-bottom: -60px;
}
.popular:after {
    content: '';
    position: absolute;
    right: 0px;
    border-color: transparent;
    border-style: solid;
    border-width: 35px;
    border-right-color: #dd3d36;
    border-top-color: #dd3d36;
}

.product:hover, .case:hover {
	background-color: #fff;
    box-shadow: 0px 15px 15px rgba(0,0,0,0.3);
}

.feature-products-section {
    padding: 80px 0px;
    background: #d7d7d7;
    /* box-shadow: inset 0px 15px 30px rgba(0,0,0,0.6); */
}

.feature-case-study-section {
    padding: 80px 0px;
    background: #d7d7d7;
}

.feature-whitepaper-section {
    padding: 80px 0px;
    /* background: #111; */
}

.feature-products-section h2 {
  color: #111;
}

.feature-case-study-section h2 {
  color: #111;
}

.feature-blog {
  background: #111;
}

.feature h2 {
  color: #fff;
}

.show-all {
  color: #333;
  float: right;
  margin-top: 20px;
}

.feature-products-section .show-all, .feature-case-study-section .show-all, .section .show-all {
  color: #333;
}

.product-header, .case-header, .tools-header {
    padding-top: 10px;
}

.product-header h3, .case-header h3, .tools-header h3 {
		font-size: 130%;
		margin: 0 !important;
    margin-bottom: -13px !important;
}



@media (max-width: 1200px) {

	.product-header h3, .case-header h3, .tools-header h3 {
		font-size: 110%;
	}

	.product {
		height: 460px;
  }
  
  .case {
    height: 500px;
  }
}
.product-header span, .case-header span, .tools-header span {
    font-size: 63%;
    font-weight: 400;
    color: #444;
    text-transform: uppercase;
}

.case-header span {
  color: red;
  font-weight: 600;
}

.product-footer, .case-footer, .tools-footer {
    position: absolute;
    bottom: 15px;
    left: 50%;
    width: 150px;
    margin-left: -75px;
}


.product-footer a, .case-footer a, .tools-footer a {
    width: 100%;
    padding: 10px 7px;
    padding-top: 13px;
    line-height: 15px;
    border-radius: 0px;
    font-size: 80%;
    background-color: #dd3d36;
    color: white;
    transition: .3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.product-footer a:hover, .case-footer a:hover, .tools-footer a:hover {
	background-color: black;

}

.slogan .red {
  font-size: inherit !important;
}

.slogan {
  font-size: 5rem;
}

.scroll {
	color: #fff;
	font-size: 1.5rem;
	transition: .5s;
}

.scroll:hover {
	border-bottom: 3px solid #f82828;
}

.scroll:visited, .scroll:active {
	color: #fff;
}

.product-content, .case-content {
    text-align: left;
    padding: 0px 30px;
    font-size: 14px;
}

.product-content span.whatyouget, .case-content span.whatyouget {
    font-size: 16px;
    font-weight: 700;
    margin-top: 13px;
    display: inline-block;
}

.case-content span.whatyouget {
  margin-bottom: 10px;
}

ul {
    margin-top: 8px;
    margin-bottom: 15px;
}

ul li {
    margin-bottom: 3px;
    padding-left: 20px;

}

ul li:before {
    top: 5px;
}

.product-content span, .case-content span {
	color: #333;
    font-size: 95%;
}

.services-title {
    letter-spacing: 0.15em;
    margin: 0;
    margin-bottom: 40px;
    font-size: 42px;
    color: black;
}

.front-hero__section .btn {
    margin-left: 0px;
}

.btn.btn__square {
  background-color: rgb(41, 10, 16);
  max-width: 100%;
  white-space: normal;
}

.hero-img {
  top: auto;
}

h2.slogan {
	margin-bottom: 60px;

}
.sub_slogan {
	color: #ccc;
	display: block;
	font-size: 1.2rem;
	margin-bottom: 50px;
  margin-top: 25px;
}

.sub_slogan strong {
	color: white;
}

@media (max-width: 1200px) {
	.sub_slogan {
		font-size: 1rem;
	}
}

@media (max-width: 1000px) {
	.sub_slogan {
		font-size: 0.8rem;
	}
}

.menu .home.menu-item {
	height: 60px;
}

.mainnav-section .menu {
	margin-top: -15px;
}

.menu .home.menu-item a:after {
	content: 'kasvustrateeg';
	text-transform: uppercase;
	font-size: 50%;
	text-align: center;
	color: #ddd;
	width: 100%;
	display: inline-block;
	position: relative;
	top: -3px;
}

@media screen and (max-width: 991px){
    .menu .home.menu-item a:after {
        top: 3px;
	}
	

}

@media screen and (max-width: 1199px){
	.menu .home.menu-item a:after {
        top: 0px;
    }
}


/* sub-page section */
.page-title {
	color: #efefef;
	hyphens: auto;
	font-size: 2.8rem;
	margin-top: 20px;
	margin-bottom: 25px;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
}

.page-title span {
	color: #dedede;
	font-size: 2.2rem;
}

.subnav-section {
	position: relative;
	top: -15px;
}

.subnav-section .menu-item a {
	color: white;
	background-color: transparent;
	padding: 15px 0px;
	font-size: 0.60rem;
	margin-right: 20px;
}

.subnav-section .menu-item {
	background-color: transparent;
	display: inline-block;
}

.subnav-section .menu-item:nth-child(odd) {
	background-color: transparent;
}

.subnav-section .menu-item.current-menu-item {
	background-color: transparent;
}

.subnav-section .menu-item.current-menu-item a {
	color: #f82828;
}

.no-touch .subnav-section .menu-item.current-menu-item a:hover {
	color: #f82828;
}

@media (max-width: 991px) {
	.subnav-section .menu-item a {
		font-size: 0.5rem;
	}
}

@media (max-width: 767px) {
	/* body:not(.home) .hero-content {
		padding-top: 50px;
	} */
	.subnav-section .menu-item {
		display: block;
	}
	.subnav-section .menu-item a {
		font-size: 1rem;
	}
}

.main-article__section p {
	font-size: 85%;
}

.main-article__section h2 {
	font-size: 1.5rem;
	margin: 10px 0px;
}

.main-article__section h3 {
	font-size: 18px;
	margin: 10px 0px;
}

.main-article__section img {
	max-width: 80%;
}

.main-article__section ul, .main-article__section ol  {
	font-size: 85%;
	line-height: 1.85em;
}
.main-article__section ul ul, .main-article__section ol ul, .main-article__section ol ol {
	font-size: 100%;
	margin-top: 1rem;
}

.main-article__section ul li, .main-article__section ol li {
	margin-bottom: .5rem;
}

.main-article__section ul li:before, .main-article__section ol li:before {
	margin-top: 1px;
}

/* CTA section */

.cta {
	height: 100px;
	width: 945px;
	background-color: #333;
	color: white;
	font-size: 1.5rem;
	padding: 20px;
	line-height: 60px;
	position: relative;
	overflow: hidden;
}

/*.cta.fixed {
	position: fixed;
	bottom: 10px;
	box-shadow: 0px -10px 15px rgba(0,0,0,0.2);
}*/

.cta .redhalf {
	background-color: #f82828;
	display: inline-block;
	height: 100%;
	width: 50%;
	position: absolute;
	top: 0px;
	left: 0px;
	line-height: 100px;
	padding-left: 20px;
}

.cta .redhalf:after {
	border-color: transparent;
    border-style: solid;
    border-width: 50px;
    border-right-color: #333;
    border-bottom-color: #333;
    content: '';
    top: 0px;
    right: 0px;
    position: absolute;
}

.cta .email-button {
	position: relative;
	float: right;
	display: inline-block;
	text-transform: uppercase;
	margin-top: 5px;
	padding: 8px 15px;
	border: 3px solid #f82828;
	background-color: #f82828;
	cursor: pointer;
	line-height: 1.8rem;
	width: 200px;
	text-align: center;
	transition: .3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
	user-select: none;
	font-weight: 700;
}

.cta .email-button.active {
	background-color: transparent;
	border-color: #ddd;
	width: 350px;
	margin-right: 80px;
	border-top-color: transparent;
  border-bottom-color: transparent;
	border-right: none;
	border-left: none;
}

.cta .email-button input {
	display: none;
	left: 0;
	top: 0;
	width: 100%;
	position: absolute;
	border: none;
	background-color: #444;
	color: white;
	padding: 8px 15px;
	font-size: 1.2rem;
	outline: none;
}

.cta button {
	position: absolute;
	right: 20px;
	margin-top: 5px;
	background-color: transparent;
	padding: 10px 20px;
	line-height: 1.5rem;
	text-transform: uppercase;
	font-weight: 500;
	border: none;
	transition: transform 0.5s 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
	outline: none;
	border-radius: 70px;
	display: none;
}

.cta .email-button input::placeholder {
	color: #aaa;
}

.cta .email-button:hover {
	background-color: transparent;
}

.cta.success button {
	transform: rotate(360deg);
}

.cta.success .email-button {
	margin-top: 150px;
}

.ty {
	position: absolute;
	right: 80px;
	font-size: 1.3rem;
	margin-top: -100px;
	transition: .3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.cta.success .ty {
	margin-top: 0px;
}

.cta-option {
  display: inline-block;
  position: absolute;
  transform: translateX(100%);
  transition: .3s cubic-bezier(0.455,0.03, 0.515, 0.955);
  color: #aaa;
}

.cta-option:hover {
  color: #fff;
}

.active .cta-option {
  display: inline-block;
  margin-left: -250px;
  width: 120%;
  margin-top: -30px;
  background-color: #333;
  padding: 10px 10px;
  transform: translateX(0);
}

.active .cta-option:last-child {
  margin-top: 10px;
}

.tools-content span {
	margin-top: 25px;
	display: block;
	text-align: left;
}

.tools-header span {
	margin-top: 15px;
	font-size: 75%;
	display: block;
	text-align: left;
}

.tools-header h3 {
	text-align: left;
}

.tools {
	padding: 20px;
	/* height: 280px; */
}

.tools-footer {
	left: auto;
	right: 40px;
	margin: 0;
}

.row {
	margin-bottom: 20px;
}

/* .services > .row {
	margin-bottom: unset;
}

.services > .row:not(:first-of-type) > .col-xs-12.col-md-4 {
    margin-top: 20px;
} */

.cta .free {
	display: block;
	transform: translateY(-100%);
	opacity: 0;
	line-height: 25px;
	/* margin-top: 25px; */
	width: 80%;
	text-align: left;
	transition: .3s ease-in-out;
}


.cta.active .free {
	display: flex;
	align-items: center;
	height: 100%;
	opacity: 1;
	position: absolute;
	transform: translateY(0%);
	-webkit-transform: translateY(0%);
	-moz-transform: translateY(0%);
	-ms-transform: translateY(0%);
	-o-transform: translateY(0%);

}


.cta > .redhalf > .ask {
	display: flex;
    height: 100%;
    align-items: center;
    line-height: 27px;
}

.cta.uudiskiri.active .free {
	position: absolute;
	top: -50%;
}

.cta.active .ask {
	display: none;
}



@media (max-width: 768px) {
	.ty {
	font-size: 1.3rem;
	line-height: 1.5rem;
	}
	.cta.success .ty {
		margin-top: 10px;
		margin-left: 10px;
	}
}

@media (max-width: 1200px) {
	.cta {
		width: 940px;
	}
}

@media (max-width: 992px) {
	.cta {
		width: 720px;
	}
	.ty {
		font-size: 1.0rem;
	}
}

@media (max-width: 800px) {
  .product, .case, .tools {
    margin-bottom: 10px;
    padding-bottom: 70px;
    height: auto;
  }
	.cta {
		width: 100%;
	}
	.cta.fixed {
		width: calc(100% - 40px);
	}

	.cta .redhalf {
		display: none;
	}

	.cta .email-button.active {
		width: 250px;
	}

	.cta .email-button{
		float: none;
	}
}

.googleRecaptcha {
	margin-top: -2rem;
    margin-bottom: 1rem;
    color: rgb(154 153 153);
    font-size: 80%;
    padding-left: 1rem;
}

.grecaptcha-badge { visibility: hidden; }

/* .page-nav-list {
  display: flex; */
  /* padding: 1rem;
} */

.page-nav-list > .cta {
	width: unset;
}

.page-nav-list > .cta > .redhalf {
	padding-left: 1rem;
	text-align: left;
}

.page-nav-list > .cta .free {
	margin-top: 0px;
}

.kliendikiriInput {
	opacity: 0;
	display: none;
	position: absolute;
	right: 190px;
	top: 50%;
	transform: translateY(-50%);
	width: 30%;
}

.kliendikiriInput.active {
	opacity: 1;
	display: block;
}

.kliendikiriInput input[type=email] {
	font-size: 16px;
	width: 100% !important;
}

.kliendikiriInput input[type=submit]{
	font-size: 20px;
	position: absolute;
	top: 50%;
    transform: translateY(-50%);
}

.mc4wp-form-theme input[type=email]{
	width: auto;
}

.cta-button > [class^="mc4wp"] {
	width: 50%;
	margin-left: auto;
	font-size: 1.2rem;
}

.email-button.kliendikiri.active {
	display: none;
}

#mc4wp-form-2 {
	margin-top: 0;
	margin-bottom: 0;
}

.uudiskirjaTekst {
	color:white;
	background-color: black;
	width: 100%;
	padding: 0.5rem;
}

.uudiskirjaTekst p:last-of-type {
	margin-bottom: 0;
}

.nav-newsletter {
  text-align: center;
  padding: 10px;
  font-size: 20px;
  font-weight: bold;
  height: 55px;
  background-color: #333;
  color: white;
}
@media screen and (max-width: 480px) {
  .nav-newsletter {
    line-height: 19px;
  }
}

iframe {
  max-width: 100%;
}

/* .frontpage-content {
	margin-top: .5rem;
} */



div.main-content__helper.frontpage-content {
	background-color: transparent;
	display: flex;
	/* flex-wrap: wrap; */
	flex-direction: column;
}

#soovitused, #kliendi_logod, #kliendi_lood, #teenused {
	padding: 80px 0px;
	/* flex: 1 1 100%; */
}

/* .feature-products-section, .feature-whitepaper-section, #blogi, .feature-case-study-section {
	flex: 1 1 100%;
} */

div#soovitused .slogan {
	color: rgb(248, 40, 40);
	margin: 0;
	padding: 0;
	text-shadow: 4px 4px 4px black;
}

#soovitused .kirjeldus {
	font-weight: bold;
}

.case {
	margin-top: 1rem;
}

.klient{
	margin-top: 1%;
	margin-left: 0.5%;
	margin-right: 0.5%;
	width: 24%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: white;
	height: 100px;
	min-width: 280px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
}

.klient a {
	color: #f82828
}

.klient:any-link {
	cursor: pointer;
}

@media only screen and (max-width: 1199px){
	.klient {
		width: 32%;
	}
}

@media only screen and (max-width: 991px){
	.klient {
		width: 33%;
	}
}


@media only screen and (max-width: 450px){
	.klient {
		width: 50.1%;
	}
}

.klient p {
	margin: 0 auto;
	font-weight: bold;
	color:rgb(41, 10, 16);
	font-size: 20px;
	line-height: 25px;
	text-align: left;
}

.klient img {
	filter: grayscale(1);
	-webkit-filter: grayscale(1);
	max-width: 100%;
	max-height: 75px;
	width: auto;
	height: auto;
}

.img-fluid {
	width: 100%;
	height: auto;
}

.logode_nimekiri {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	
}



.kasv {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	margin-right: -113px;
	margin-left: -113px;
}

.kasv > .col-md-3 {
	min-width: 340px;
}

.videod {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.videod > div {
	width: 50%;
	margin-bottom: 1rem;
}

.lood_tekst p {
	margin-bottom: .5em;
}

.lood_nupp {
	text-align: center;
}

.lood_nupp > .btn__square {
	padding: 14px;
	margin-top: 1rem;
}

.lood_nupp.tagasi {
	text-align: right;
}

.custom_callout {
	    /* transform: rotate(45deg); */
		width: 100%;
		text-align: center;
		background-color: rgb(221, 61, 54);
		font-size: 70%;
		font-weight: bold;
		color: white;
		padding: 4px 12px;
		display: block;
		position: absolute;
		top: 0;
		left: 0;
}

@media only screen and (max-width: 991px){
	.videod > div {
		width: 90%;
	}
}

#backToTop {
	display: inline-block;
	background-color: rgb(228, 59, 60);
	width: 50px;
	height: 50px;
	text-align: center;
	border-radius: 4px;
	position: fixed;
	bottom: 30px;
	right: 30px;
	transition: background-color .3s, 
	  opacity .5s, visibility .5s;
	opacity: 0;
	visibility: hidden;
	z-index: 1000;
  }
  #backToTop::after {
	content: "\f077";
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	font-size: 2em;
	line-height: 50px;
	color: #fff;
  }
  #backToTop:hover {
	cursor: pointer;
	background-color: rgb(43, 10, 16);
  }
  #backToTop:active {
	background-color: #555;
  }
  #backToTop.show {
	opacity: 1;
	visibility: visible;
  }

  a#backToTop {
	  text-decoration: none;
  }

  body:not(.home):not(.page-template-esileheTempliit) .main-hero__helper{
	  position: absolute;
	  top: 10px;
	  left: 10px;
	  right: 10px;
  }

  @media only screen  and (max-width: 991px){
	body:not(.home):not(.page-template-esileheTempliit) .main-hero__helper {
		top: 5px;
		left: 5px;
		right: 5px;
		min-height: 550px;
	}
  }

  @media only screen and (max-width: 767px){
	  /* body:not(.home):not(.page-template-esileheTempliit):not(.page-id-10) .main-content__helper {
		  margin-top: 385px;
	  } */

	  body.page-id-10 .main-content__helper {
		  margin-top: 100px;
	  }
  }

  .loodPealkiri {
	  margin-bottom: 1rem;
  }

  
 @media only screen and (min-width: 768px) {
	.pageNavigation {
		position: fixed;
		top: 50%;
		z-index: 5;
	}
  
	.pageNavigation > .list > .prev {
		position: absolute;
		left: -80px;
	}
	.pageNavigation > .list > .next {
		position: absolute;
		left: 885px;
	}

 }

 @media only screen  and (max-width: 1040px){
	.pageNavigation > .list > .prev {
		left: -56px;
	}
	.pageNavigation > .list > .next {
		left: 861px;
	}
  }

  @media only screen  and (max-width: 991px){
	.pageNavigation > .list > .prev {
		left: -65px;
	}
	.pageNavigation > .list > .next {
		left: 690px;
	}
	.page-nav-list.list {
		position: static;
		transform: translateX(0);
	}

  }


  @media only screen and (max-width: 767px){
	.pageNavigation > .list > .prev {
		left: 0;
		margin-right: .2rem;
	}
	.pageNavigation > .list > .next {
		left: 0;
		margin-left: .2rem;
	}

	.pageNavigation > .list {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		z-index: 99;
	}
  }


  /* uudiskirja värk */

  .page-nav-list.list {
	  width: 100%;
	  text-align: center;
	  background-color: rgb(248, 40, 40);
  }

  .page-nav-list.list.esileht {
	  width: 50%;
	  display: inline-block;
		bottom: unset;
		top:-4px;
  }

  @media only screen and (max-width: 700px){
	  .page-nav-list.list.esileht{
		  width: 75%;
		  margin: 0 auto;
		  display: block;
	  }
  }


  .page-nav-list.list.esileht input[type=email]{
	  width: 60%;
  }


  @media only screen and (max-width: 991px){
		.uudiskiri .redhalf {
			font-size: 75%;
			padding-right: 1rem;
		}

		.kliendikiriInput {
			right: 130px;
		}
  }

  @media only screen and (min-width: 800px) and (max-width: 991px){
	.cta-button > [class^="mc4wp"]{
		font-size: 1rem;
	}
  }

  @media only screen and (max-width: 800px) {
	  .kliendikiriInput {
		  width: 50%;
		  right: unset;
		  left: 50%;
		  transform: translate(-50%, -50%);
	  }

	  .cta-button > [class^="mc4wp"]{
		  width: 100%;
	  }
  }
  
  @media only screen and (max-width: 560px){
	.cta.uudiskiri{
		height: 150px;
	}

	.kliendikiriInput input[type=submit]{
		position: relative;
		top: unset;
		transform: none;
	}

	.kliendikiriInput {
		width: 90%;
	}

	.cta.uudiskiri .email-button {
		float: none;
		margin: 0;
		top: 50%;
		transform: translate(-50%, -50%);
		position: absolute;
		z-index: 1000;
	}
}

  .ymbris, .ymbris main {
	  position: relative;
  }

  body.home  #contact {
	  padding-top: 0px;
  }

  .footer-title.small {
	  text-align: left;
	  border: none;
	  margin-top: 0rem;
	  margin-bottom: 0px;
	  display: inline-block;
  }

  .footer-border {
	  /* border-bottom: 3px solid black;
	  margin-bottom: 3rem; */
  }

  .frontPageUudiskiri > .page-nav-list.list {
	  background-color: transparent;
	  position: relative;
  }

  .page-nav-list.list > li, .page-nav-list.list > li > form, .page-nav-list.list > li > form > div  {
	  width: 100%;
  }

  .page-nav-list form label, .page-nav-list form input {
	  display: inline-flex;
  }

  .page-nav-list.list form p{
	  margin: 0 auto;
  }

  .mc4wp-form-basic .mc4wp-error, .mc4wp-form-theme .mc4wp-error {
	  color:black;
  }

  .fa-linkedin {
	  color: rgb(255, 36, 50);
	  margin-right: 0.5rem;
  }

  .lingiAnkur {
	margin-left: 1rem;
    font-style: italic;
    font-size: 80%;
    color: rgb(0,0,0,.5);
  }

  .sinpal {
	position: absolute;
    bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
    font-size: 80%;
    font-weight: 600;
  }

  .sinpal a {
	text-decoration: none;
	visibility: hidden;
  }

  .sinpal a > span:first-of-type {
	  color: rgb(63,135,198);
  }

  .sinpal a > span:last-of-type {
	  color: black;
  }

  .sinpal a:hover > span {
	color: #f82828;
  }

  .cta.uudiskiri .free {
	  display: flex;
	  align-items: center;
	  height: 100%;
  }

  .tekstAll {
	  margin-top: 2rem;
	  padding: 0 15px;
  }

  .tekstUleval {
	  padding: 0 15px;
  }

  .frontpage-content .section:first-of-type {
	  margin-top: 0rem;
	  box-shadow: unset;
  }

  .wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
	  border-color: rgb(255, 36, 50);
	  
  }

  .main-footer {
	  margin-top: 3em;
  }

  .wpcf7 input, .wpcf7 textarea {
	  border-color: rgb(255, 36, 50);
	  border-width: 1px;
	  
  }

  .wpcf7-submit{
	  padding-top: 10px;
	  padding-bottom: 10px;
  }

  label.joonega {
	  border-bottom: 2px solid #f82828;
	  margin-bottom: 10px;
	  width: 50%;
  }

  #mobile-hero {
    display: none;
}

.mobileTitle {
	display: none;
}

@media only screen and (max-width: 991px){
    #mobile-hero {
        display: block;
    }

	.mobileTitle {
		display: block;
	}

	.desktopTitle {
		display: none;
	}

    #mobile-hero .hero-img {
        display: block;
        z-index: -1;
        top: auto;
        right: unset;
        left: unset;
        transform: none;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        width: 100%;
        height: auto;
        position: relative;
    }

    .suurpealkiri {
        position: relative;
    }

    body .hero-content {
        padding-top: 0;
    }

    .hero-img {
        display: none;
	}
	
	body:not(.home):not(.page-template-esileheTempliit) .main-hero__helper {
		position: unset;
	}
	.main-content-section {
		top: -10px;
	}

	.main-hero {
		height: auto;
	}

	.subnav-section {
		position: absolute;
    	top: 110px;
	}
}

@media (max-width: 767px){
	.subnav-section {
		position: relative;
		top: 0px;
	}
}