/*
Theme Name: adgarden

Adding support for languages written in a Right To Left (RTL) direction is easy -
it's just a matter of overwriting all the horizontal positioning attributes
of your CSS stylesheet in a separate stylesheet file named rtl.css.

https://codex.wordpress.org/Right-to-Left_Language_Support

*/

html, body {
	-webkit-font-smoothing: antialiased;
	font-family: 'Assistant', sans-serif;
}

body {
	overflow-x: hidden;
}

.page {
	margin-bottom: 0;
}

.entry-content {
	position: relative;
}

.over-bg {
	background: url(img/bg.png) no-repeat;
	background-position:  center;
	background-size: cover;
}

.wpcf7 input[type="email"]::placeholder, 
.wpcf7 input[type="tel"]::placeholder {
text-align: right !important;
direction: rtl !important;
}

/* .entry-content::before {
	content: "";
	width: 100vw;
	height: 400px;
	position: absolute;
	background: url(img/bgtop.png) no-repeat top left;
	top: -10px;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	z-index: -1;
} */

/* .entry-content::after {
	content: "";
	width: 100vw;
	height: 700px;
	position: absolute;
	background: url(img/bgbottom.png) no-repeat top;
	bottom: -40px;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	z-index: -1;
} */

.contact-form {
	width: 100%;
	max-width: 500px;
	padding-left: 30px;
	padding-bottom: 50px;
}
.contact-form .con {
	margin-bottom: 10px;
}

.contact-form .con .wpcf7-submit {
	font-family: 'Assistant', sans-serif;
	font-size: 24px;
	color: #fff;
	background-color: red;
	font-weight: bold;
	line-height: 1;
	padding: 15px 40px;
	border-radius: 5px;
	box-shadow: 0 0 5px gray;
	border:none;
}

.contact-form .con input:not(.wpcf7-submit) {
	height: 60px;
	font-size: 24px;
	width: 100%;
	max-width: 500px;
	padding: 0 15px;
	font-family: 'Assistant', sans-serif;
}

.contact-form .con textarea {
	font-size: 26px;
	padding: 10px 15px;
	font-family: 'Assistant', sans-serif;
	max-height: 270px;
}

.wpcf7-response-output  {
	width: 100%;
	max-width: 400px;
}

.post-23 .entry-content {
	max-width: none;
	padding: 0;
}

.post-23 .ab-block-layout-column-inner {
	height: 100%;
}

.c-image {
	margin: 0;
	line-height: 0;
	height: 100%;
}

.c-image img {
	height: 100%;
	object-fit: cover;
}

.bg1, .post-47, .post-49, .post-54 {
	background-color: #f7f9eb;
}

a {
	text-decoration: none;
	font-family: 'Assistant', sans-serif;
}

ul {
	padding: 0;
	margin: 0;
}

body {
	direction: rtl;
	unicode-bidi: embed;
}

.text-center {
	text-align: center;
}

.container {
	width: 100%;
	max-width: 1200px;
	padding: 0 15px;
	margin: 0 auto;
}

.post-thumbnail img {
	width: 100%;
}

.error-404 {
	padding-top: 100px;
}

.error-404 .page-title {
	font-size: 40px;
}

.site-branding {
	width: 100%;
	max-width: 260px;
}

.site-header {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	padding: 20px 15px;
}

.menu-toggle {
	position: absolute;
	top: 28px;
	left: 15px;
	border: none;
    box-shadow: none;
    background: none;
    font-size: 24px;
    padding: 0;
    margin: 0;
}

.menu-toggle span{
	display: none;
}

.main-navigation .nav-menu{
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.main-navigation .nav-menu > li {
	margin-right: 20px;
	font-size: 24px;
	font-weight: bold;
}

.main-navigation .nav-menu > li a {
	position: relative;
}

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

.sub-menu {
	background-color: #fff;
}

.sub-menu li {
	width: auto;
	font-size: 20px;
	font-weight: 600;
}

.sub-menu li a{
	border-bottom: solid 1px silver;
	padding: 5px 10px;
	text-align: center;
}

.main-navigation .nav-menu ul a {
	width: 125px;
}

.main-navigation .nav-menu > .current-menu-item > a::after,
.main-navigation .nav-menu > .current-menu-ancestor > a::after {
	/* border-bottom: solid 3px #a4c821; */
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 3px;
	background-color: #a4c821;

}

.main-navigation .nav-menu > .current-menu-ancestor .current-menu-item a{
	color: #0d8c36;
}

.social ul {
	display: flex;
	align-items: flex-end;
	padding-bottom: 5px;
}

.social ul li {
	margin-left: 5px;
}

.social li:not(.phone) a {
	/* display: none; */
	font-size: 0;
}

.social li:not(.phone)::before {
	content: none;
}

.social li.phone::before {
	content: none;
}

.social li.phone a{
	font-size: 22px;
	font-weight: bold;
	margin-left: 24px;
	letter-spacing: 0.5px;
	font-weight: 600;
}

.social li.phone::after {
	content: "\f095";
	margin-left: 5px;
	font-size: 18px;
}
li:not(.phone) a::before {
    font-size: 20px;
    background-color: #fff;
    color: #0d8c36;
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    text-align: center;
	font-weight: 400;
}

.fa-waze a::before {
	content: "\f83f";
	font-family: 'Font Awesome 5 Brands';
}
.fa-facebook-f a::before {
	content: "\f39e";
	font-family: 'Font Awesome 5 Brands';
}
.fa-instagram a::before {
	content: "\f16d";
	font-family: 'Font Awesome 5 Brands';
}
.fa-whatsapp a::before {
	content: "\f232";
	font-family: 'Font Awesome 5 Brands';
}
/* .social li::before {
	font-size: 20px;
	background-color: #fff;
	color: #0d8c36;
	display: inline-block;
	width: 30px;
	height: 30px;
	line-height: 30px;
	border-radius: 50%;
	text-align: center;
} */
.topbar .widget {
	margin: 0;
}
.topbar-one i {
	color: #0e9038;
}

.topbar {
	position: relative;
	background-color: #58595b;
	padding: 20px 0 5px;
	color: #0e9038;
}

.topbar .container {
	display: flex;
    align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
}

.topbar a {
	color: #fff !important;
	font-size: 20px;
	font-weight: 600;
}

.site-footer {
	background-color: #0d8c36;
	color: #fff;
	padding: 80px 0;
	position: relative;
	background-repeat: no-repeat;
	background-position: left center;
	
}

.site-footer .container {
	display: flex;
	flex-wrap: wrap;
}

.site-footer .col {
	width: 100%;
	max-width: 360px;
}

.site-footer a {
	color: #fff;
	font-weight: 600;
}

.site-footer p {
	margin: 0 0 10px;
	font-size: 24px;
	color: #fff;
}

.site-footer p span {
	font-weight: 600;
}

.site-footer .social li:first-child {
	display: none;
}

.footer-hours {
	font-weight: 600;
}

.footer-hours strong {
	font-weight: bold;
}

.footer-nav ul {
	list-style-type: none;
	font-size: 24px;
}

.entry-content .home-title {
	font-size: 72px;
	color: #0d8c36;
}

.entry-content h2 {
	font-size: 26px;
	line-height: 1;
}

.entry-content h1 {
	font-size: 38px;
	margin-top: 0;
	margin-bottom: 15px;
	line-height: 1;
}

.entry-content h2 code {
	color: #a4c821;
	font-size: inherit;
	font-family: inherit;
}

.entry-content p, .entry-content li {
	color: black;
	font-size: 20px;
	line-height: 1.2;
}
.entry-content ul {
	padding-right: 20px;
}


/* mobile */
@media (max-width: 800px) {
	.entry-content .home-title {
		font-size: 48px;
		margin-bottom: 0;
		background-image: none;
	}
	.home-space {
		margin: 0;
	}
	.home-space hr{
		height: 10px !important;
	}
	.site-branding {
		max-width: 120px;
	}

	.main-navigation .nav-menu > li {
		font-size: 18px;
		margin-right: 10px;
	}

	.site-footer .col {
		max-width: none;
	}

	.post-23 .entry-content {
		/* padding: 0 15px; */
	}

	.contact-form {
		max-width: 300px;
		padding-left: 0;
		
	}

}
@media (max-width: 600px) {
	.post-23 h1 {
		padding: 0 15px;
	}

	.entry-content .home-title {
		font-size: 36px;
	}

	.entry-content h1 {
		font-size: 28px;
	}

	.entry-content h2 {
		font-size: 22px;
	}

	.entry-content p, .entry-content li {
		font-size: 18px;
		margin-bottom: 15px;
	}

	.contact-form {
		max-width: none;
		padding-left: 0;
		padding: 10px 15px 40px;
	}
	.topbar .container {
		display: block;
	}
	.topbar .container > div {
		margin-bottom: 10px;		
	}
	.site-header {
		display: block;
	}
	.main-navigation .nav-menu {
		display: block;	
		margin-top: 20px;
	}
	.main-navigation .nav-menu li {
		margin-bottom: 10px;
		float: none;
		font-size: 20px;
		font-weight: 600;
		margin-right: 0;
		text-align: center;
	}
	#menu-item-79 {
		display: flex;
		align-items: center;
		justify-content: space-around;
		border-top: solid 1px #50ae72;
		border-bottom: solid 1px #50ae72;
		padding: 15px 0;
		margin-top: 30px;
		margin-bottom: 30px;
	}
	.main-navigation ul ul {
		position: relative;
		left: auto !important;
		top: auto !important;
		box-shadow: none;
		
		display: inline-block;
		
	}
	.main-navigation .nav-menu ul li {
		float: none;
		width: 100%;
		margin-bottom: 0 !important;
		font-size: 16px;
		margin-bottom: 5px;
	}
	.main-navigation .nav-menu ul li a {
		/* padding: 0; */
	}
	.main-navigation a {
		display: inline-block;
	}
	.main-navigation .nav-menu ul a {
		width: 100%;
	}
	
	.sub-menu li {
		
		font-size: 10px;
		margin-bottom: 10px !important;
	}
	.sub-menu li a {
		border: none;
	}
	#primary-menu {
		border: solid 1px silver;
		padding-top: 20px;
		padding-bottom: 10px;
	}

	.main-navigation.toggled .menu-header-container{
		display: block;
	}
	.menu-header-container {
		display: none;
	}
	.site-footer {
		padding: 20px 15px;
	}

	.post-thumbnail img {
		width: 100%;
		height: 300px;
		object-fit: cover;
	}
}
