/*
 Theme Name:   Atarbnia
 Theme URI:    https://atarbnia.co.il
 Description:  תבנית לאתר אינטרנט אתרבניה
 Author:       אתר בניה
 Author URI:   https://atarbnia.co.il
 Template:     generatepress
 Version:      1.0
*/


body, button, input, select, textarea {
    letter-spacing: -0.05em;
}

.blog.left-sidebar.separate-containers .site-main {
    margin: 52px 0 20px 20px;
}

.fit-content{
    width: min-content;
    width:-moz-fit-content;
    margin: auto;
}

.center-text{
    margin: auto;
}

.no-margin p{
	margin:0;
}

#mobile-header .site-logo {
    margin-right: 0!important;
}

.separate-containers .site-main, .separate-containers .inside-right-sidebar, .separate-containers .inside-left-sidebar {
    margin-top: 58px;
}

.home .page-hero {
    background-position: center center;
}

.home .site-logo {
    display: none;
}

@media(max-width: 767px){
.mobile-2-col .elementor-column {
    width: 50%;
}
}

.header-aligned-center .site-header {
    text-align: center;
    z-index: 1;
}

.highlite-center {
    width:max-content!important;
    width:-moz-fit-content;
    margin:auto;
}

.highlite-center p {
    margin:0;
}

.main-navigation .main-nav > ul > li:not(:last-child):not(.centered-navigation-logo):not(.ignore-border) > a:after {
        content: "///";
        display: block;
        position: absolute;
        left: -8px;
        top: 0;
		color: #c19d49;
    }

.home .main-navigation .main-nav > ul > li:not(:last-child):not(.centered-navigation-logo):not(.ignore-border) > a:after {
		color: #fff;
    }

	
.ab-page-header {
    height: 380px;
}

.page-hero.ab-page-header.about-page-header {
    height: 580px;
}

.about-page-header h1 {
    left: 1em!important;
    top: 4.8em!important;
}

.ab-page-header h1 {
    background-color: #000;
    padding: 0px 20px;
    font-size: 4em;
    font-weight: 700;
    display: -webkit-inline-box;
    position: relative;
    float: left;
    left: 4em;
    top: 2.8em;
}

.footer-contact-form {
    background-color: #fff;
    padding: 30px;
}

.rpwe-thumb {
    width: 100%;
}
.rpwe-block a.more-link {
    color: #fff;
    background-color: #000;
    padding: 3px 10px;
    float: left;
}

div.website-btn {
    display: grid;
    grid-template-columns: auto auto;
    text-align: -webkit-center;
    padding: 34px 10px 20px 22px;
}

.website-btn h3 {
    font-size: 25px;
}

div#template-site-btn {
	background: rgb(232,210,127);
    background: linear-gradient(0deg, rgba(232,210,127,1) 90%, rgba(255,255,255,1) 90%);
	padding: 34px 10px 0 22px;
}

div#custom-site-btn {
	background: rgb(206,184,101);
	background: linear-gradient(0deg, rgba(206,184,101,1) 90%, rgba(255,255,255,1) 90%);
}

/*----------------forms----------------*/

span.wpcf7-not-valid-tip {
    font-size: initial;
}

div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
    border: 2px solid #E9D27F;
    display: -webkit-box;
}

.footer-contact-form{
	color:#000;
}

.footer-contact-form h3 {
    text-align: -webkit-center;
    font-weight: 700;
}

.field-row {
    display: grid;
    grid-template-columns: min-content auto;
    grid-column-gap: 0px;
    padding: 5px 0;
    margin-bottom: 12px;
		color:#000;
}

div#footer-form-message {
    margin: 30px 0;
}

.footer-contact-form input {
		width:100%;
    border: unset;
    border-bottom: 1px solid #000;
    background-color: #fff;
	  padding:unset;
}

input.gold-outline-submit {
    display: inline-block;
    width: fit-content;
    padding: 5px 20px;
    border: solid 1px #c19d49;
    background-color: #fff;
    color: #000;
    float: left;
    -webkit-transition: background-color 300ms ease-out;
    -moz-transition: background-color 300ms ease-out;
    -o-transition: background-color 300ms ease-out;
    transition: background-color 300ms ease-out;
}

input.gold-outline-submit:hover {
    background-color: #c19d49;
}

.footer-contact-form textarea {
    border: none;
    background-color: #fff;
    display: block;
    line-height: 40px;
    margin: 2% auto;
    padding: 5px 0px 0 0px;
    resize: none;
    height: 160px;
    width: 100%;
    background-image: -moz-linear-gradient(top , transparent, transparent 29px,#000 0px);
    background-image: -webkit-linear-gradient(top , transparent, transparent 39px,#000 0);
    -webkit-background-size: 100% 40px;
    background-size: 100% 40px;
}

div#sidebar-guide-form {
    direction: rtl;
    background-color: #000;
    color: #fff;
    padding: 70px 20px 20px 20px;
}

input.boxed_input_field {
    border: none;
	}
	
.form_section {
    margin-bottom: 20px;
}

#sidebar-guide-form h3 {
    font-size: x-large;
    text-align: -webkit-center;
}

input.wpcf7-form-control.wpcf7-submit.boxed_submit_button {
    float: left;
    margin-bottom: 12px;
    color: #000;
    background-color: #E8D27F;
}


/*----------------sidebar-widgets----------------*/

img#sb-telescope {
    margin-bottom: -60px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
}

div#template-site-btn img {
    width: 42%;
    margin-top: -50px;
    margin-bottom: -20px;
    margin-left: 12px;
}

div#custom-site-btn img {
    width: 80%;
    margin-top: -47px;
    margin-bottom: -53px;
}

#sidebar-posts h3 {
    margin-bottom: 6px;
}

.rpwe-summary {
    display: -webkit-box;
}

a.more-link {
    color: #fff!important;
	margin-top:12px;
}

#sidebar-posts li:not(:last-child) {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #E9D380;
}

div#sidebar-posts-title {
    display: flex;
    justify-content: center;
	margin-bottom:20px;
}

#sidebar-posts-title h3 {
    display: -webkit-inline-box;
    background-color: #000;
    color: #fff;
    padding: 3px 10px;
    font-size: xx-large;
}

div#sidebar-posts-title {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    background-image: url(https://atarbnia.co.il/atarbnia.co.il/wp-content/uploads/2019/02/moon-2-bg.jpg);
    background-size: 100% 70%;
    background-position: bottom;
    background-repeat: no-repeat;
    padding-bottom: 1em;
}

#sidebar-latest-project .rpwe-title {
    display: none;
}

div#latest-project-title {
    text-align: center;
	margin-top: 12px;
}

aside#rpwe_widget-5 {
    border-bottom: 5px dotted #000;
    border-top: 5px dotted #000;
    padding: 30px 0px;
}

.footer-widgets {
    padding: 40px 40px 0px 40px;
    background: rgb(45,45,45);
    background: linear-gradient(0deg, rgba(45,45,45,1) 35%, rgba(0,0,0,1) 35%);
}


/*----------------footer-widgets----------------*/
div#social-grid {
    text-align: -webkit-center;
}

#social-grid i.fab {
    font-size: -webkit-xxx-large;
    margin: 0 20px;
}

#social-grid h3 {
    font-size: x-large;
}

/*----------------projects----------------*/

/*---------------*/
/***** Marley *****/
/*---------------*/

figure.effect-marley figcaption {
	text-align: right;
}

figure.effect-marley h3,
figure.effect-marley p {
	position: absolute;
	right: 30px;
	left: 30px;
	padding: 10px 0;
}


figure.effect-marley p {
	bottom: 30px;
	line-height: 1.5;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
}

figure.effect-marley h3 {
	top: 30px;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,20px,0);
	transform: translate3d(0,20px,0);
}

figure.effect-marley:hover h3 {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.effect-marley h3::after {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 4px;
	background: #fefefe;
	content: '';
	-webkit-transform: translate3d(0,40px,0);
	transform: translate3d(0,40px,0);
}

figure.effect-marley h3::after,
figure.effect-marley p {
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

figure.effect-marley:hover h3::after,
figure.effect-marley:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.project-grid {
    grid-template-columns: auto auto auto auto;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    display: grid;
}

.project-img-container {
	line-height: 0;
    padding: 10px;
    margin-bottom: 20px;
    -webkit-box-shadow: 0px 0px 32px 0px rgba(181,181,181,0.84);
    -moz-box-shadow: 0px 0px 32px 0px rgba(181,181,181,0.84);
    box-shadow: 0px 0px 32px 0px rgba(181,181,181,0.84);
}

article.elementor-portfolio-item, .testimonial-meta img {
    border: 1px solid #E9D27F;
}

.single-project div#primary {
    display: flex;
}

.single-project main#main {
    width: 33%;
    margin-left: 5%;
	margin-top:60px;
}

.single-project.separate-containers .inside-article{
    padding: 0;
}

.single-project .project-images {
    margin-top: 60px;
}

h2.project-title {
    color: #000;
    line-height: 1em;
    border-bottom: solid 2px #e9d27f;
    padding-bottom: 10px;
    display: -webkit-inline-box;
}

li.project-type-link {
    list-style: none;
    background-color: #000;
    display: inline-block;
    margin: 0 0 5px 5px;
    padding: 0 8px;
}

li.project-type-link a {
    color: #fff;
}

ul#project-types {
    margin: 20px 0;
	color:#fff;
}

/*----------------home----------------*/
.highlight-text{
    width: max-content!important;
}

.highlight-text p{
    margin: 0;
}

div#hp-acceptance_submit {
    display: grid;
    grid-template-columns: auto auto;
}

div#home-page-form, div#wide-lp-form {
    float: right;
    direction: rtl;
}

#home-page-form input[type="text"], #home-page-form input[type="email"] {
    background: #fff;
	width: 100%;
    border: unset;
    border-bottom: solid 1px #000;
    padding: 0;
}

#home-page-form .field-row {
    display: grid;
    grid-template-columns: min-content auto min-content auto;
    grid-column-gap: 5px;
    padding: 5px 0;
    margin-bottom: 12px;
    color: #000;
}

#home-page-form span.wpcf7-list-item {
    margin: 7px 0;
}

.black-highlight{
    width: max-content!important;
    font-size: x-large
}

.black-highlight p{
    margin-bottom:0.3em;
}

.page-hero.blog-banner {
    height: 550px;
    display: flex;
    align-items: center;
}

.blog-banner h1.highlight-text {
    background: #fff;
    padding: 5px 10px;
    margin: auto;
	font-weight: 700;
    font-size: 3.5em;

}

.main-navigation li {
    float: right;
}

/*----------------blog----------------*/
.boxed-shadow {
    padding: 25px;
    border: solid 1px #000;
    margin-bottom: 35px;
	-webkit-box-shadow: -20px 20px 0px 0px rgba(232,210,127,1);
-moz-box-shadow: -20px 20px 0px 0px rgba(232,210,127,1);
box-shadow: -20px 20px 0px 0px rgba(232,210,127,1);
color: #000;

}

.post-card {
    margin-left: 25%;
    padding: 25px 0;
}

.post-card:not(:last-child) {
    border-bottom: dashed 1px #000;
}

a.post-cat {
    background-color: #d0d0ce;
    color: #000;
    margin-left: 12px;
    padding: 3px;
    font-size: smaller;
}

.blog-excerpt a, .blog-meta {
    color: #000;
}
/*----------------testimonials----------------*/

.testimonial-wrapper:not(:last-child) {
    border-bottom: dashed 1px #000;
}

.post-type-archive-testimonial.left-sidebar.separate-containers .site-main {
    margin: 75px 0 20px 50px;
}

.testimonial-meta h3 {
    font-size: xx-large;
}

.testimonial-wrapper {
    display: grid;
    grid-template-columns: 250px auto;
    grid-column-gap: 30px;
}

/*----------------landing pages----------------*/


#wide-lp-form input[type="text"], #wide-lp-form input[type="email"], #wide-lp-form input[type="tel"] {
    background: #fff;
	width: 100%;
    border: unset;
    border-bottom: solid 1px #000;
    padding: 0;
}

#wide-lp-form .field-row {
    display: grid;
    grid-template-columns: min-content auto min-content auto min-content auto;
    grid-column-gap: 5px;
    padding: 5px 0;
    margin-bottom: 12px;
    color: #000;
}

div#wide-lp-form {
    direction: rtl;
    width: fit-content;
    margin: auto;
	float: inherit;
}

/*----------------tablet----------------*/

@media(max-width: 991px){
.ab-page-header {
    height: 290px;
}



.ab-page-header h1 {
    font-size: x-large;
    left: 100px;
    top: 3.2em;
}
}


/*----------------mobile----------------*/

@media(max-width:768px){
#home-page-form .field-row {
    grid-template-columns: min-content auto;
	display: grid;
	margin: auto;
}

.field-label {
    margin-bottom: 25px;
}

input.gold-outline-submit {
    display: flex;
    margin: auto;
}

div#home-page-form, div#wide-lp-form {
    display: grid;
}

#hp-posts .elementor-posts .elementor-post {
    display: unset;
}

#hp-posts h3.elementor-post__title {
    margin: 0.7em 0;
}

.home .page-hero {
    background-image: url(https://atarbnia.co.il/atarbnia.co.il/wp-content/uploads/2019/02/hp-mobile-banner.jpg);
    background-position: bottom!important;
	background-size: cover;
}

img#sb-telescope {
    transform: translateX(-50%) translateY(-53%);
    position: absolute;
	top: unset;
}

.separate-containers .inside-left-sidebar {
    padding: 12px;
}

.ab-page-header {
    height: 110px;
}
.about-page-header {
    height: 200px!important;
}

.ab-page-header h1 {
    font-size: x-large;
    left: 1em;
    top: 2.7em;
}

#wide-lp-form .field-row {
    grid-template-columns: min-content auto;
}

#wide-lp-form input[type="text"], #wide-lp-form input[type="email"], #wide-lp-form input[type="tel"] {
    width: 210px;
}

.single-project div#primary {
    display: grid;
    padding: 24px;
}

.single-project main#main {
    width: 100%;
    margin: 0;
    margin-top: 24px;
}

.single-project .project-images {
    margin-top: 0;
}

#generate-slideout-menu .slideout-menu li {
    text-align: right!important;
}

ul#menu-main-menu-2 a::after {
    content: unset;
}

.post-card {
    padding: 25px;
	margin-left: 0;
}

.blog-banner h1.highlight-text {
    font-size: 1.5em;
}

.page-hero.blog-banner {
    height: 170px;
}

.blog .page-hero {
    background-position-x: right;
}

.boxed-shadow {
    margin-left: 25px;
}

.post-type-archive-testimonial.left-sidebar.separate-containers .site-main {
    padding: 12px;
}

.testimonial-wrapper {
    grid-template-columns: auto;
}




}
