/* 
Theme Name: אולגה רז
Version: 1.2
*/

html {
    font-size: 16px;
}
body {
    direction: rtl;
    font-family: 'Open Sans Hebrew', serif;

    -webkit-appearance: none;
}
input,
label,
select,
button,
textarea {
    font-family: 'Open Sans Hebrew', serif;
}
#section_7 .links_wrap a:hover,
.footer_menu a:hover,
article#content a:hover,
.contact_form_section .titles a:hover,
.post_item .readmore:hover {
    opacity: .7;
}
.sitewrap {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}
.post-edit-link {
    position: absolute;
    z-index: 1;
    background: #ccc;
}
.margin-8 {
    margin: 0 -8px;
}
.padding-8 {
    padding: 0 8px;
}
.padding-20 {
    padding: 0 20px;
}

/* header */

header {
    padding: 10px 0 7px;
}
.header_top {
    margin-bottom: 10px;
}
.pagebanners .slide {
    overflow: hidden;
    height: 220px;
    padding-top: 40px;
    border-bottom: 1px solid #5a3c68;
    background-size: cover;
}
.slide .slider_wrap {
    font-weight: bold;
    position: relative;
    max-width: 725.5px;
    max-height: 140px;
    padding: 6.5px 20px;
    background: rgba(255,255,255,.7);
}
/* .slide .slider_wrap:before {
    position: absolute;
    left: 100%;
    top:0;
    width: 1000px;
    height: 100%;
    content: '';
    background: rgba(255,255,255,.7);
} */
.slide .slider_wrap h2 {
    font-size: 40px;
    color: #b899c6;
}
.slide .slider_wrap h3 {
    font-size: 25px;
    color: #5a3c68;
}
.slide .slider_wrap h4 {
    font-size: 18px;
    color: #010101;
}
.slide .slider_wrap h5 {
    font-size: 18px;
    font-weight: 900;
    margin-top: 3px;
    color: #5a3c68;
}
#logo {
    float: right;
}
#logo img {
    max-width: 100%;
}
.header_options {
    float: left;
    width: 517px;
    margin-top: 35px;
}
.header_options .option {
    font-size: .875rem;
    line-height: 26px;
    position: relative;
    display: block;
    float: right;
    width: 240px;
    height: 26px;
    margin-bottom: 6px;
    padding-left: 25px;
    text-align: center;
    border: 1px solid #000;
}
.header_options .option.facebook_opt {
    border-color: #f97a4a;
}
.header_options .option.phone_opt {
    font-weight: bold;
    border-color: #9d1c1b;
}
.header_options .option.groups_opt {
    border-color: #a9ca1b;
}
.header_options .option.search_opt {
    border-color: #dc5c7e;
}
.header_options .option {
    float: left;
}
.header_options .option.option_wide {
    float: right;
    width: 270px;
}
.header_options i,
.header_options button {
    position: absolute;
    top: -1px;
    left: -1px;
    display: block;
    float: left;
}
i.facebook {
    width: 27px;
    height: 26px;
    background-position: -5px -41px;
}
i.phone {
    width: 28px;
    height: 26px;
    background-position: -5px -5px;
}
button.search-submit {
    width: 27px;
    height: 26px;
    border: none;
    background-position: -42px -41px;
}
.header_options .search-input {
    font-size: .875rem;
    line-height: 21px;
    text-align: center;
}
i.groups {
    width: 28px;
    height: 26px;
    background-position: -43px -5px;
}

/* main menu */

.nav_wrap {
    padding-top: 10px;
    border-top: 1px solid #5a3c68;
}
#navigation ul {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;

    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
#navigation ul li {
    float: right;
    margin-left: 20px;
}
#navigation ul li.current-menu-item a,
#navigation ul li.current-post-parent a {
    text-decoration: underline;
}
#navigation ul li:last-child {
    margin-left: 0;
}
#navigation ul li a {
    font-size: .9375rem;
    color: #000;
}
.menu-item a img,
.menu-item a.menu-image-title-after.menu-image-not-hovered img,
.menu-item a.menu-image-hovered.menu-image-title-after .menu-image-hover-wrapper {
    display: block;
    margin: auto;
    padding: 0;
}
/* contact form */

.wpcf7 div.wpcf7-response-output {
    font-size: 1rem;
    clear: both;
    margin: 0;
    padding: 0;
    border: none;
}
div.wpcf7 img.ajax-loader {
    position: absolute;
    bottom: 0;
    left: 0;
}
.wpcf7-not-valid {
    border: 1px solid red !important;
}
span.wpcf7-not-valid-tip {
    display: none;
}
.wpcf7-validation-errors {
    color: red;
}
.wpcf7-mail-sent-ok {
    color: green;
}

/* contact page */

#map_canvas {
    width: 300px;
    height: 200px;
}

/* footer */

.footer_menu {
    font-size: .875rem;
    padding: 20px 0;
    color: #fff;
    background: #5a3c68;
}
.footer_menu li {
float:right;
    width: auto;
    margin-left: 10px;
    text-align: justify;
line-height: 1.4em;
}
footer .bottom {
    font-size: .6875rem;
    padding: 11px 0;
}
footer .credits {
    text-align: left;
}
footer .credits a {
    text-decoration: underline;
}
/* slider */

.home_slider_wrap {
    position: relative;
    border-top: 1px solid #5a3c68;
    border-bottom: 1px solid #5a3c68;
}
.home_slider_wrap .image_wrap {
    height: 520px;
    background-position: center center;
    background-size: cover;
}
.slider_wrap,
.slider_wrap .slide {
    position: relative;
    overflow: hidden;
    max-height: 520px;
}
.slider_wrap ul.slider li img {
    display: block;
    width: 100%;
    height: auto;
}
.slider_wrap ul.slider li img.ajax-loader {
    width: auto;
}
.slider_wrap ul.slider li .caption {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 10px;
    color: #fff;
    background: black;
}
.slider_wrap ul.slider li .caption h2 {
    font-size: 1.25rem;
    font-weight: bold;
}
.slider_wrap .slick-arrow {
    font-size: 6rem;
    position: absolute;
    z-index: 2;
    top: 0;
    right: 20px;
    bottom: 0;
    height: 118px;
    margin: auto;
    background: none;
}
.slider_wrap .slick-next {
    right: auto;
    left: 20px;
}
.over_slider {
    font-size: 1.375rem;
    font-weight: bold;
    position: absolute;
    z-index: 2;
    top: -520px;
    right: 15px;
    width: 480px;
    max-width: 100%;
    height: 520px;
    padding: 0 20px;
    padding-top: 60px;
    text-align: center;
    background: rgba(255,255,255,.7);
}
.over_slider h2 {
    font-size: 3.75rem;
    line-height: 1;
    color: #b899c6;
}
.over_slider h3 {
    font-size: 2.188rem;
    max-width: 320px;
    margin: auto;
    margin-bottom: 15px;
    color: #5a3c68;
}
.over_slider h4 {
    margin-bottom: 15px;
}
.over_slider .text {
    font-size: 1.375rem;
    max-width: 365px;
    margin: auto auto 20px;
}
.over_slider .details {
    font-weight: 900;
    margin-bottom: 35px;
}
.over_slider .details.mobile_only a {
    font-size: 1rem;
    font-weight: bold;
    line-height: 33px;
    display: block;
    width: 280px;
    height: 33px;
    margin: auto;
    text-align: center;
    color: #fff;
    border: 1px solid #5b3b69;
    background: #b998c7;
}
.main_form {
    padding: 15px 0 25px 0;
    background-color: #b899c6;
}
.main_form input {
    font-size: 1.125rem;
    line-height: 31px;
    padding: 0 15px;
    border: 1px solid #5a3c68;
display: inline;
    float: right;
    width: 23.47%;
    margin-left: 20px;
}
@media (max-width:767px) {
.main_form input {
    display: block;
    float: right;
    width: 100%;
    margin-left: 0;
    margin-top: 10px;
}
.main_form span.heading {
    font-size: 22px;;
}}
.main_form .wpcf7 {
    margin-top: 15px;
}
.main_form span.heading {
    color: #ffffff;
    font-size: 25px;
    font-weight: 500;
}
.over_slider .input_wrapper {
    width: 48%;
    margin-bottom: 15px;
}
.over_slider .input_wrapper:nth-child(odd) {
    float: right;
}
.over_slider .input_wrapper:nth-child(even) {
    float: left;
}
.main_form input[type='submit'] {
    font-size: 1.375rem;
    color: #fff;
    background: #5a3c68;
margin-left: 0 !important;
}
/* forms */

::-webkit-input-placeholder {
    color: #000;
}
:-moz-placeholder {
    color: #000;
}
::-moz-placeholder {
    color: #000;
}
:-ms-input-placeholder {
    color: #000;
}

main {
    padding-top: 5px;
    background-size: cover;
}
.home main {
    padding-top: 40px;
}
.sec_title {
    font-size: 1.375rem;
    font-weight: bold;
    margin-bottom: 20px;
    padding: 6.5px 20px;
    color: #fff;
    background: #5a3c68;
}
.post-type-archive-recipie .sec_title,
.tax-recipie_cat .sec_title {
    background: #a7cc00;
}
article {
    text-align: justify;
}
.home article,
.home article a,
.home .caption {
    font-size: 1.125rem;
}
.home article a,
.home .caption a {
    font-weight: bold;
    color: #5a3c68;
}
.embed {
    margin-bottom: 10px;
}
iframe {
    max-width: 100%;
}
.embed iframe {
    width: 375px;
}
.after_img:after {
    position: absolute;
    top: 0;
    left: -10px;
    width: 124px;
    height: 361px;
    content: '';
    background: url(img/olga_raz.png) no-repeat;
}
.section {
    position: relative;
    margin-bottom: 40px;
}
#section_1 article {
    padding-right: 20px;
}
.sec_wrap {
    position: relative;
    border: 1px solid #5a3c68;
}
#section_2 .sec_wrap article {
    padding: 0 20px;
    text-align: inherit;
}

#section_3 .sec_wrap_r img {
    display: block;
    width: 100%;
}
#section_3 .sec_wrap_r h3.sec_title {
    margin-bottom: 0;
}
#section_3 .sec_wrap_r .content {
    padding: 11px 15px;
}
#section_3 .sec_wrap_l img {
    display: block;
    width: 100%;
}
#section_3 .sec_wrap_l .image_wrap {
    margin-bottom: 5px;
}
#section_3 .sec_wrap_l {
    padding: 0 30px 0;
}
#section_3.row .col-md-4 {
    padding: 0 4px;
}
.image_and_link_wrap {
    margin-top: 20px;
    margin-bottom: 13px;
}

/* homepage success stories */

#section_4 h2 {
    font-size: 2.188rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    color: #5a3c68;
}
#section_4 h3 {
    font-size: 1.375rem;
    font-weight: bold;
    padding: 5px;
    text-align: center;
    color: #fff;
    background: #5a3c68;
}
#section_4 .image_wrap {
    position: relative;
    text-align: center;
}
#section_4 .image_wrap img {
    display: block;
    width: 100%;
}
#section_4  .caption {
    font-size: 1.125rem;
    position: absolute;
    bottom: 5px;
    display: block;
    width: 100%;
    text-align: center;
    color: #fff;
}
#section_4 .sec_wrap {
    padding: 25px 25px;
}
#section_4 .excerpt {
    margin: 10px 0 0;
}
#section_4 .excerpt a {
    float: left;
    color: #5a3c68;
}

/* contact form module */

.home .contact_form_section {
    margin-top: 0;
}
.contact_form_section {
    margin-top: 30px;
}
.contact_form_section .titles {
    line-height: 1.5;
    margin-bottom: 10px;
    color: #5a3c68;
}
.home .contact_form_section .titles {
    text-align: center;
}
.contact_form_section h3 {
    font-size: 1.75rem;
}
.contact_form_section h4 {
    font-size: 1.375rem;
    font-weight: bold;
}
.input_wrap {
    font-size: 1.125rem;
}
.submit_wrap,
.input_wrap {
    float: right;
    width: 24.18%;
    margin-left: 1.093%;
}
.submit_wrap {
    margin-left: 0;
}
.input_wrap input,
.submit_wrap input {
    font-size: 1.125rem;
    line-height: 38px;
    height: 38px;
    padding: 0 15px;
    border: 1px solid #5a3c68;
}
.submit_wrap input {
    font-size: 1.375rem;
    color: #fff;
    background: #5a3c68;
    transition: all 300ms ease;
}
.submit_wrap input:hover {
    opacity: .9;
}
.contact_form_section div.wpcf7 img.ajax-loader {
    top: 100%;
}

/* homepage recipies */

.recipies_section .image_wrap img {
    display: block;
    width: 100%;
}
.recipies {
    padding: 0 20px 20px;
}
.recipies h5 {
    margin-top: 10px;
    text-align: center;
}

/* homepage embeds */

.embed_section .slider_wrap .slick-arrow {
    font-size: 32px;
}
.embed_section .slider_wrap {
    width: 93.6%;
    margin: auto auto 20px;
}
.embed_section .slider_wrap li iframe {
    width: 100%;
    height: 165px;
}
.embed_section .slider_wrap li .slide {
    margin: 0 7.5px;
    padding: 0 10px;
}
.embed_section .slider_wrap .slick-arrow {
    right: 0;
}
.embed_section .slider_wrap .slick-next {
    left: 0;
}
.mb-40 {
    margin-bottom: 40px;
}

/* homepage links */

#section_7 .links_wrap .link a:before,
.footer_menu li a:before {
    margin-left: 5px;
    content: '•';
}
#section_7 .links_wrap {
    font-size: 1.125rem;
    padding: 0 20px 9px;
}
#section_7 .links_wrap .link {
    line-height: 1.4;
}
.more_link {
    font-weight: bold;
    margin-top: 10px;
    color: #5a3c68;
}
.facebook_page_wrap .fb_iframe_widget {
    border: 1px solid #5a3c68;
}
/* page - singular.php */

.breadcrumbs {
    font-size: .8125rem;
    margin: 5px 0 15px;
}
article#content {
    padding: 0 20px 0 20px;
    text-align: justify;
}
article#content img {
    float: left;
    max-width: 100%;
    height: auto;
    margin: 0 1em 1em 0;
}

/* sidebar */

aside .form_wrap {
    margin-bottom: 25px;
    padding: 10px 20px;
    background: #5a3c68;
}
aside .contact_form {
    font-size: 1.125rem;
    font-weight: bold;
    position: relative;
    color: #fff;
    background: #5a3c68;
}
aside .contact_form .input_wrap,
aside .contact_form .submit_wrap {
    width: 100%;
    margin-bottom: 10px;
}
aside .contact_form .input_wrap input,
aside .contact_form .submit_wrap input {
    font-size: 1rem;
    line-height: 24px;
    height: 24px;
}
aside .contact_form .submit_wrap input {
    font-size: 1rem;
    color: #000;
    background: #b899c6;
}
aside .contact_form h3 {
    margin-bottom: 5px;
}
aside div.wpcf7 img.ajax-loader {
    bottom: -5px;
}
.sidebar_menu_wrap {
    margin-bottom: 25px;
}
.sidebar_menu_wrap .sec_wrap {
    padding: 10px 0;
}
.sidebar_menu_wrap .sec_wrap ul li a {
    display: block;
    padding: 2px 20px;
    transition: all 150ms ease;
}
.sidebar_menu_wrap .sec_wrap ul li a:hover,
.sidebar_menu_wrap .sec_wrap ul li.current-menu-item a {
    background: #f1ebf4;
}

/* contact page */

.page-template-template-contact article#content h3 {
    font-size: 1.375rem;
    margin-bottom: 15px;
}
.page-template-template-contact .contact_form_wrap {
    position: relative;
    width: 100%;
    max-width: 415px;
}
.page-template-template-contact .contact_form_wrap .submit_wrap,
.page-template-template-contact .contact_form_wrap .input_wrap {
    font-size: 1rem;
    width: 100%;
    margin: 0 0 13px;
}
.page-template-template-contact .contact_form_wrap .submit_wrap input,
.page-template-template-contact .contact_form_wrap .input_wrap input {
    font-size: 1rem;
    line-height: 35px;
    height: 35px;
    padding-top: 4px;
}
.page-template-template-contact .contact_form_wrap .submit_wrap input {
    font-weight: bold;
    padding-top: 0;
}
.page-template-template-contact .contact_form_wrap .submit_wrap {
    float: left;
    max-width: 175px;
}
.page-template-template-contact .contact_form_wrap .input_wrap.checkbox_wrap {
    float: right;
    width: auto;
    margin-top: -7px;
}
.page-template-template-contact footer {
    margin-top: 40px;
}
.page-template-template-contact article#content {
    padding-bottom: 30px;
}

/* category page */
.post_item h2 {
    font-weight: bold;
}
.category article#content {
    padding-bottom: 0;
}
.post_item {
    margin-bottom: 40px;
    padding: 0 20px;
}
.post_item .details {
    text-align: justify;
}
.post_item .readmore {
    font-weight: bold;
    display: block;
}
.gutter-sizer {
    width: 2%;
}
.grid-sizer,
.grid-item {
    width: 49%;
}
.grid .post {
    word-wrap: break-word;
}
/* branches template */

.branch {
    margin-bottom: 40px;
}
.branch .city {
    font-weight: bold;
}
.branch p {
    margin-bottom: 0;
}

/* recipie taxonomy */

ul.recipie_cat {
    float: right;
}
ul.recipie_cat li {
    float: right;
    width: 30%;
    margin-bottom: 10px;
    margin-left: 12px;
}
ul.recipie_cat.small li {
    width: 110px;
}
ul.recipie_cat.small li img {
    height: 85px;
}
ul.recipie_cat li h2 {
    text-align: center;
}
ul.recipie_cat li .thumbnail {
    margin-bottom: 5px;
}
ul.recipie_cat li .thumbnail img {
    display: block;
    width: 100%;
}
div.recipie_cat {
    padding: 0 20px;
}
div.recipie_cat .thumbnail img {
    width: 100%;
}
div.recipie_cat .details {
    padding-bottom: 25px;
}
.recipie_list {
    margin-bottom: 50px;
    padding: 0 20px;
}
.recipie_list li {
    font-weight: bold;
    float: right;
    width: 50%;
    padding-left: 15px;
}
.recipie_list li:before {
    content: '•';
    color: #acd100;
}
.cat_options {
    margin-bottom: 20px;
}

/* pagination */

#pagination {
    font-size: 13px;
    float: left;
    color: #010101;
}
.pagination_wrap #pagination {
    padding: 20px;
}
#pagination .current {
    color: #b899c6;
}
#pagination .page-numbers {
    margin: 0 1px;
}

/* dietitian template */

.dietitian {
    margin-bottom: 20px;
}
.dietitian h3 {
    font-weight: bold;
}
article#content .dietitian img {
    float: none;
    margin: 0;
    text-align: justify;
}
/* search page */

span.highlight {
    font-weight: bold;
}
h2#search_count {
    font-size: 1.5rem;
    margin-bottom: 25px;
    border-style: bold;
}
ul#search_results li {
    margin-bottom: 30px;
    list-style-type: none;
}
ul#search_results li a {
    color: #529542;
}
ul#search_results h3 {
    font-weight: bold;
}

/* 404 */

.error404 .error_404 h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.error404 .error_404 h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-decoration: underline;
}

/* mobile navigation */

.mobile_nav_wrap {
    position: relative;
    background: #5a3a69;
}
.mobile_nav_wrap span.menuline {
    display: block;
    width: 100%;
    height: 2px;
    margin-bottom: 2px;
    background: #fff;
}
.mobile_nav_wrap ul li {
    margin-bottom: 10px;
    text-align: center;
}
.mobile_nav_wrap ul li a {
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
}
.mobile_nav_wrap .menu_lines {
    width: 19px;
    height: 11px;
    margin: auto;
}
.mobile_menu_wrapper {
    position: absolute;
    z-index: 100;
    top: 32px;
    display: none;
    width: 100%;
    padding-bottom: 10px;
    background: #5a3a69;
}
.mobile_menu_trigger {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 33px;
    border: none;
    background: none;

    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.mobile_btns {
    text-align: center;
}
/*updated*/
#section_6 article {
    padding: 20px;
}
