/*!
Theme Name: elram
Theme URI: https://ysl.co.il/
Author: Yosef Shon Levi
Author URI: https://ysl.co.il/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: elram
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

@import url('https://fonts.googleapis.com/css?family=Heebo:400,500,700&display=swap');

/*@font-face {
	font-family: 'CheapPineSans';
	src: url('fonts/CheapPineSans.eot');
	src: url('fonts/CheapPineSans.eot?#iefix') format('embedded-opentype'),
			 url('fonts/CheapPineSans.woff2') format('woff2'),
			 url('fonts/CheapPineSans.woff') format('woff'),
			 url('fonts/CheapPineSans.ttf') format('truetype');
}*/

html {
	font-family: 'Heebo', sans-serif;
	line-height: 1;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: 'Heebo', sans-serif;
	line-height: 1.2;
	background: #ffffff;
	color: #000000;
	font-size: 19px;
	margin: 0;
}

b,
strong {
	font-weight: bold;
}

img {
	height: auto;
	max-width: 100%;
	border-style: none;
}

button,
input,
textarea {
	background: transparent;
	margin: 0;
	padding: 0;
	border: 0;
	font-family: inherit;
	font-size: 100%;
	line-height: inherit;
	overflow: visible;
	width: 100%;
	color: inherit;
}

button,
select {
	text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

textarea {
	overflow: auto;
}

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

[hidden] {
	display: none;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	margin: 0;
}

p, label {
	margin-bottom: 0;
}

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

html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

a,
a:link,
a:visited,
a:hover,
a:active {
	color: inherit;
	text-decoration: none;
}

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

embed,
iframe,
object {
	max-width: 100%;
}





/**************************
	RESET 
***************************/
	
	*::selection {
		background-color: rgba(0, 0, 0, 0.1);
	}

	*:focus {
		outline: 0 !important;
	}
	
	::-webkit-input-placeholder { color: #c4c3c3; }
	::-moz-placeholder { color: #c4c3c3; }
	:-ms-input-placeholder { color: #c4c3c3; }
	:-moz-placeholder { color: #c4c3c3; }

	.error::-webkit-input-placeholder { color: #ee6262; }
	.error::-moz-placeholder { color: #ee6262; }
	.error:-ms-input-placeholder { color: #ee6262; }
	.error:-moz-placeholder { color: #ee6262; }

	::-webkit-scrollbar-track	{
		background-color: rgba(0, 0, 0, 0.07);
	}

	::-webkit-scrollbar	{
		width: 12px;
		height: 12px;
		background-color: rgba(0, 0, 0, 0.07);
	}

	::-webkit-scrollbar-thumb {
		background-color: rgba(0, 0, 0, 0.15);
	}

	::-webkit-scrollbar-thumb:hover {
		background-color: rgba(0, 0, 0, 0.3);
	}



/**************************
	GLOBALS
***************************/

	.fullheight {
		height: 100%;
	}

	.ttu {
		text-transform: uppercase;
	}

	.bgi {
		background-repeat: no-repeat;
		-webkit-background-size: cover;
		background-size: cover;
		background-position: center center;
	}

	.wrapper {
		position: relative;
		min-height: 100vh;
		text-align: center;
	}

	.background {
		position: fixed;
		top: 0;
		right: 500px;
		bottom: 0;
		left: 0;
		z-index: 1;
	}

	.background-slider {
		position: relative;
		z-index: 1;
	}

	.background-slider-mobile {
		display: none;
	}

	.background-slider,
	.background-slider .slick-list,
	.background-slider .slick-track,
	.background-item {
		height: 100%;
	}

	.background-slider .slick-dots {
		position: absolute;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		z-index: 3;
		list-style-type: none;
	}

	.background-slider .slick-dots li {
		display: inline-block;
		margin: 0 5px;
	}

	.background-slider .slick-dots li button {
		font-size: 0;
		display: inline-block;
		width: 10px;
		height: 10px;
		background-color: #ffffff;
		opacity: 0.5;
		transition: opacity 0.5s ease, transform 0.5s ease;
	}

	.background-slider .slick-dots li.slick-active button {
		opacity: 1;
		transform: rotate(-45deg);
	}

	.sidebar {
		position: absolute;
		top: 0;
		bottom: 0;
		right: 0;
		width: 500px;
		background-color: #ffffff;
		border-top: 10px solid #b4db3b;
	}

	.sidebar-badge {
		position: absolute;
		left: 0;
		top: 50px;
		transform: translateX(-60%) rotate(10deg);
		z-index: 2;
		width: 100px;
		height: 100px;
		border-radius: 50%;
		background-color: #b4db3b;
		color: #ffffff;
		font-size: 17px;
		font-weight: 500;
		box-shadow: 0 3px 15px rgba(4 16 44 / 20%);
	}

	.sidebar-badge span {
		position: absolute;
		top: 5px;
		right: 5px;
		bottom: 5px;
		left: 5px;
		border-radius: 50%;
		border: 2px solid #ffffff;
		padding: 10px;
		line-height: 1;
	}

	.sidebar-padding {
		padding: 50px 40px;
	}

	.sidebar-title {
		font-size: 45px;
		font-weight: 700;
		line-height: 1;
		margin-bottom: 20px;
	}

	.sidebar-text {
		line-height: 1.4;
	}

	.sidebar-text-bold {
		line-height: 1.4;
		font-weight: 500;
		margin-top: 15px;
	}

	.sidebar-hatava {
		background-image: linear-gradient(to right, white, #b4db3b);
		border-radius: 40px 5px 40px 5px;
		/*background-color: #b4db3b;*/
		color: black;
		font-weight: 500;
		padding: 30px 15px 25px;
		font-size: 25px;
		margin: 40px 0 50px;
		box-shadow: 0 3px 30px rgba(4 16 44 / 30%);
	}

	.sidebar-hatava-price {
		display: inline-block;
		position: relative;
		line-height: 1;
	}

	.sidebar-hatava-price-label {
		font-size: 70%;
		background-color: #b4db3b;
		position: absolute;
		top: 46%;
		right: -8px;
		transform: translateY(-50%);
		z-index: 2;
		padding: 1px 5px;
	}

	.sidebar-hatava-price-number {
		font-size: 290%;
		letter-spacing: -2px;
		position: relative;
		z-index: 1;
	}

	.sidebar-hatava-price-number::after {
		content: "₪";
		display: inline-block;
		font-size: 35%;
		margin-right: 3px;
	}

	.sidebar-hatava-text {

	}

	.sidebar-icons {
		flex-wrap: wrap;
	}

	.sidebar-icon {
		padding: 0 6px;
	}

	.sidebar-icon-image {
		margin-bottom: 7px;
	}

	.sidebar-icon-image img {
		width: 55px;
		height: auto;
		margin: 0 auto;
	}

	.sidebar-icon-text {
		font-size: 15px;
	}

	.sidebar-logos {
		padding: 25px 40px;
		background-color: rgba(4 16 44 / 5%);
	}

	.sidebar-logo {
		width: 25%;
		padding: 0 10px;
	}

	.sidebar-logo img {
		opacity: 0.85;
	}

	.form {
		position: fixed;
		top: 50%;
		transform: translateY(-50%);
		left: 50px;
		width: 400px;
		background-color: rgba(255 255 255 / 85%);
		z-index: 3;
		border-bottom: 10px solid #000000;
		padding: 40px;
	}

	.form-title {
		font-size: 30px;
		font-weight: 500;
		margin-bottom: 30px;
		line-height: 1.05;
	}

	.thankWrapper {
		padding: 20px 0;
	}

	.thankWrapper .form-title {
		margin-bottom: 0;
	}

	.input-wrapper,
	.dropdown-wrapper {
		position: relative;
		margin-bottom: 25px;
	}

	.input-wrapper label {
		position: absolute;
		top: 5px;
		right: 0;
		cursor: text;
		transition: top 0.3s ease, font-size 0.3s ease, opacity 0.3s ease, color 0.3s ease;
	}

	.input-wrapper input:focus + label,
	.input-wrapper.active label {
		top: -12px;
		font-size: 12px;
		opacity: 0.8;
	}

	.input-wrapper input {
		border-bottom: 1px solid #000000;
		padding: 5px 0;
		transition: color 0.3s ease, border 0.3s ease;
	}

	.input-wrapper.error input {
		border-color: #ff7903;
		color: #ff7903;
	}

	.input-wrapper.error label {
		color: #ff7903;
	}

	.input-wrapper span {
		font-size: 12px;
		color: #ff7903;
		position: absolute;
		top: 100%;
		left: 0;
		transform: translateY(-50%);
		opacity: 0;
		transition: top 0.3s ease, opacity 0.3s ease;
	}

	.input-wrapper.error span {
		opacity: 1;
		top: 50%;
	}

	.dropdown {
		position: relative;
	}

	.dropdown-toggle {
		width: 100%;
		border-bottom: 1px solid #000000;
		padding: 5px 0;
		text-align: right;
		transition: color 0.3s ease, border 0.3s ease;
	}

	.dropdown-toggle::after {
		content: "";
		border: 0;
		margin-left: 0;
		position: absolute;
		top: 50%;
		left: 0;
		transform: translateY(-50%);
		background-image: url('images/dropdown.svg');
		background-repeat: no-repeat;
		-webkit-background-size: 100% 100%;
		background-size: 100% 100%;
		background-position: center center;
		width: 8px;
		height: 6px;
		transition: transform 0.3s ease;
	}

	.dropdown.show .dropdown-toggle::after {
		transform: translateY(-50%) rotate(180deg);
	}

	.dropdown .errors {
		position: absolute;
		left: 15px;
		top: 100%;
		transform: translateY(-50%);
		font-size: 11px;
		color: #ff7903;
		opacity: 0;
		transition: opacity 0.3s ease, top 0.3s ease;
	}

	.dropdown.error .dropdown-toggle {
		border-color: #ff7903;
		color: #ff7903;
	}

	.dropdown.error .errors {
		opacity: 1;
		top: 50%;
	}

	.dropdown-toggle.active {
		color: #000000;
	}

	.dropdown-menu {
		width: 100%;
		margin: 0;
		border-radius: 0;
		box-shadow: none;
		font-size: 16px;
		text-align: right;
		border: 0;
		padding: 0;
		max-height: 150px;
		overflow-x: hidden;
		overflow-y: auto;
	}

	.dropdown-item {
		display: block;
		width: 100%;
		color: inherit;
		padding: 7px 10px;
		position: relative;
		transition: background 0.3s ease;
	}

	.dropdown-item:not(:last-of-type)::after {
		content: "";
		position: absolute;
		bottom: 0;
		right: 10px;
		left: 10px;
		height: 1px;
		background-color: rgba(0, 0, 0, 0.05);
	}
	
	.dropdown-item:hover {
		background-color: rgba(0, 0, 0, 0.03);
		color: inherit;
	}
	
	.dropdown-item:active,
	.dropdown-item.active {
		background-color: rgba(0, 0, 0, 0.05);
		color: inherit;
	}

	.submit-wrapper {
		margin-top: 50px;
	}

	.mainbutton,
	.secondarybutton {
		display: block;
		font-weight: 500;
		padding: 15px;
		border-radius: 5px;
		font-size: 22px;
		line-height: 1;
		transition: box-shadow 0.5s ease;
	}

	.mainbutton {
		background-color: #000000;
		color: #ffffff;
		position: relative;
	}

	.mainbutton:hover {
		box-shadow: 0 5px 15px rgba(4 16 44 / 50%);
	}

	.secondarybutton {
		background-image: linear-gradient(to right, white, #b4db3b);
border-radius: 20px 5px 20px 5px;
		/*background-color: #b4db3b;*/
		color: black !important;
	}

	.secondarybutton:hover {
		box-shadow: 0 5px 15px rgba(4 16 44 / 20%);
	}

	.submit-wrapper p {
		font-size: 17px;
		margin: 5px 0;
	}





/**************************
	MEDIA QUERIES
***************************/

	/* GENERAL */
	@media (min-width: 1200px) {
		
	}

	/* 1200 */
	@media (max-width: 1199px) {
		body {
			font-size: 18px;
		}
		.sidebar {
			width: 400px;
		}
		.background {
			right: 400px;
		}
		.sidebar-badge {
			font-size: 15px;
			width: 90px;
			height: 90px;
		}
		.sidebar-padding {
			padding: 30px;
		}
		.sidebar-title {
			font-size: 40px;
			margin-bottom: 15px;
		}
		.sidebar-text,
		.sidebar-text-bold {
			line-height: 1.3;
		}
		.sidebar-hatava {
			font-size: 22px;
			padding: 20px 15px;
			margin: 20px 0;
		}
		.sidebar-icon-image {
			margin-bottom: 5px;
		}
		.sidebar-icon-image img {
			width: 45px;
		}
		.sidebar-icon-text {
			line-height: 1;
		}
		.sidebar-logos {
			padding: 15px 30px;
		}
		.form {
			width: 350px;
			padding: 30px;
			left: 30px;
		}
		.form-title {
			font-size: 25px;
			margin-bottom: 20px;
		}
		.input-wrapper, .dropdown-wrapper {
			margin-bottom: 20px;
		}
		.submit-wrapper {
			margin-top: 40px;
		}
		.mainbutton, .secondarybutton {
			font-size: 19px;
			padding: 12px;
		}
	}

	/* 992 */
	@media (max-width: 991px) {
		.wrapper {
			min-height: auto;
		}
		.background {
			position: relative;
			height: 50vw;
			right: 0;
			bottom: auto;
		}
		.background-slider-desktop {
			display: none;
		}
		.background-slider-mobile {
			display: block;
		}
		.sidebar {
			position: relative;
			width: auto;
		}
		.sidebar-badge {
			top: 0;
			left: auto;
			right: 30px;
			transform: translateY(-50%) rotate(10deg);
		}
		.sidebar-padding {
			padding: 30px 20px;
			max-width: 450px;
			margin: 0 auto;
		}
		.sidebar-hatava {
			margin: 30px 0 40px;
		}
		.form {
			position: relative;
			transform: none;
			left: 0;
			width: auto;
			border-bottom: 0;
			background-color: rgba(4 16 44 / 5%);
			padding: 30px 20px 40px;
		}
		.formWrapper {
			max-width: 450px;
			margin: 0 auto;
		}
		.sidebar-logos {
			background-color: transparent;
			padding: 10px 20px;
			max-width: 450px;
			margin: 0 auto;
		}
		.sidebar-logo {
			padding: 0 5px;
		}
	}

	/* 768 */
	@media (max-width: 767px) {
		
	}

	/* 576 */
	@media (max-width: 575px) {
		.background {
			height: 55vw;
		}
		.sidebar-badge {
			right: 10px;
			transform: translateY(-70%) rotate(10deg);
			font-size: 13px;
			width: 80px;
			height: 80px;
		}
		.sidebar-badge span {
			top: 4px;
			right: 4px;
			bottom: 4px;
			left: 4px;
		}
		.sidebar-title {
			font-size: 35px;
		}
	}

	/* 480 */
	@media (max-width: 479px) {
		body {
			font-size: 17px;
		}
		.background {
			height: 60vw;
		}
		.sidebar-padding {
			max-width: 100%;
			padding: 40px 20px 30px;
		}
		.sidebar-title {
			font-size: 30px;
		}
		.sidebar-text-bold {
			margin-top: 10px;
		}
		.sidebar-hatava {
			font-size: 20px;
			margin: 20px 0 30px;
		}
		.form {
			padding: 30px 20px;
		}
	}

	/* 380 */
	@media (max-width: 379px) {
		body {
			font-size: 16px;
		}
		.sidebar-badge {
			font-size: 11px;
			width: 70px;
			height: 70px;
			right: 5px;
		}
		.sidebar-padding {
			padding: 30px 20px 20px;
		}
		.sidebar-title {
			font-size: 27px;
			margin-bottom: 10px;
		}
		.sidebar-hatava {
			font-size: 17px;
			padding: 15px;
			margin: 20px 0 25px;
		}
		.sidebar-icon-image img {
			width: 40px;
		}
		.sidebar-icon-text {
			font-size: 13px;
		}
		.form {
			padding: 25px 20px;
		}
		.form-title {
			font-size: 22px;
		}
		.mainbutton, .secondarybutton {
			font-size: 17px;
			padding: 10px;
		}
		.submit-wrapper p {
			font-size: 14px;
			margin: 3px 0;
		}
	}
	
/* Contact Form 7 */	
.wpcf7 button, .wpcf7 input, .wpcf7 textarea {direction: rtl;text-align: right;}

   
/* Contact form 7 */
.wpcf7 input[type="url"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input, .wpcf7 input, .wpcf7 select, .wpcf7 textarea {width: 100%;direction: rtl;height: auto;}
.wpcf7 ::-webkit-input-placeholder { opacity: 1; color: #000 !important;font-size: 18px;font-weight:400;}
.wpcf7 :-moz-placeholder { opacity: 1; color: #000 !important;font-size: 18px;font-weight: 400;}
.wpcf7 ::-moz-placeholder { opacity: 1; color: #000 !important;font-size: 18px;font-weight: 400;}
.wpcf7 :-ms-input-placeholder { opacity: 1; color: #000 !important;font-size: 18px;font-weight: 400;}

.wpcf7 input, .wpcf7 select, .wpcf7 textarea {padding: 5px 0;width: 100%;border-radius: 0px;color: #000;line-height: 1;margin-bottom: 10px;font-size: 18px;border: solid #000;border-width: 0px 0px 1px 0;background: none;margin-bottom: 20px;}
.wpcf7 input, .wpcf7 select {height: auto;}
.wpcf7 input[type="text"]:focus, .wpcf7 input[type="email"]:focus, .wpcf7 input[type="url"]:focus, .wpcf7 input[type="password"]:focus, .wpcf7 input[type="search"]:focus, .wpcf7 input[type="tel"]:focus, .wpcf7 input[type="number"]:focus, .wpcf7 textarea:focus, .wpcf7 select:focus, .wpcf7 input[type="text"]:hover, .wpcf7 input[type="email"]:hover, .wpcf7 input[type="url"]:hover, .wpcf7 input[type="password"]:hover, .wpcf7 input[type="search"]:hover, .wpcf7 input[type="tel"]:hover, .wpcf7 input[type="number"]:hover, .wpcf7 textarea:hover, .wpcf7 select:hover {border: solid #000;border-width: 0px 0px 1px 0;}
button.wpcf7-submit {position: relative;padding-left: 60px;padding-right: 60px;padding-top: 5px;padding-bottom: 5px;color: #ffffff;font-size: 20px;border-radius: 0;font-weight: 500;min-height: 55px;margin-bottom: 15px;width: 100%;}
input.wpcf7-form-control.wpcf7-submit {background: #000;color: #fff;text-align: center;font-size: 22px;margin-top: 30px;border-radius: 5px;transition: box-shadow 0.5s ease;height: 50px;margin-bottom: 0;}
input.wpcf7-form-control.wpcf7-submit:hover {box-shadow: 0 5px 15px rgb(4 16 44 / 50%);}
.form_bottom p {margin-bottom: 5px;font-size: 17px;}

/* Contact form 7 validation effect */
span.wpcf7-form-control-wrap span.wpcf7-not-valid-tip {position: absolute;bottom: 100%;background: #f00;border-radius: 5px;color: #fff;padding: 8px 15px;font-size: 16px;white-space: nowrap;left: 5%;-webkit-animation: formerror 400ms;animation: formerror 400ms;}
span.wpcf7-form-control-wrap span.wpcf7-not-valid-tip.tip_out {-webkit-transition: all 400ms;transition: all 400ms;opacity: 0;-webkit-transform: translate3d(0,100%,0);transform: translate3d(0,100%,0);}
span.wpcf7-form-control-wrap span.wpcf7-not-valid-tip:after {position: absolute;content: '';width: 0;height: 0;top:100%;left: 10%;border-left: 0 solid transparent;border-right: 15px solid transparent;border-top: 10px solid #f00;}
@-webkit-keyframes formerror {
from {opacity: 0;bottom: 0;}
to {opacity: 1;bottom: 100%;}
}
@keyframes formerror {
from {opacity: 0;bottom: 0;}
to {opacity: 1;bottom: 100%;}
}
@-webkit-keyframes form_msg_error {
from {bottom:-100%;}
to {bottom:0;}
}
@keyframes form_msg_error {
from {bottom:-100%;}
to {bottom:0;}
}
.form_msg_error_out {-webkit-transition: all 500ms;transition: all 500ms;-webkit-transform: translate3d(100%,0,0);transform: translate3d(100%,0,0);}
@-webkit-keyframes form_msg_out {
from {bottom: 0;}
to {bottom: -300px;}
}
@keyframes form_msg_out {
from {bottom: 0;}
to {bottom: -300px;}
}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {border: 2px solid #f7e700;}
div.wpcf7-response-output {position: fixed;margin: 0 !important;border: none;padding: 10px 15px;bottom: 0;z-index: 9999;font-size: 22px !important;left: 50%;-webkit-transform: translate(-50%, 0);transform: translate(-50%, 0);-webkit-transition: all 1s ease;transition: all 1s ease;}
div.wpcf7-validation-errors, div.wpcf7-mail-sent-ok {-webkit-animation: form_msg_error 500ms;animation: form_msg_error 500ms;bottom: 0;color: black;}
div.wpcf7-validation-errors {background: #f7e700;}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {border-color: #ffffff;background: #ffb900;color: #000;}

@media (max-width: 1199px) {
	input.wpcf7-form-control.wpcf7-submit {height: 43px;font-size: 19px;}
}
@media (max-width: 767px) {
	div.wpcf7-response-output {width: 100%;text-align: center;line-height: 1;font-size: 18px !important;}
	.wpcf7 input, .wpcf7 select, .wpcf7 textarea {font-size: 16px;}
	.wpcf7 ::-webkit-input-placeholder {font-size: 16px;}
	.wpcf7 :-moz-placeholder {font-size: 16px;}
	.wpcf7 ::-moz-placeholder {font-size: 16px;}
	.wpcf7 :-ms-input-placeholder {font-size: 16px;}
}