/*
	Theme Name: Hadasa Optimal
	Author: Query Solutions
	Author URI: http://www.querysol.com/
    Text Domain:
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

#anspress .ap-a-cells,
div#ap-ask-page {
    width: 100%;
}

a.forum_link {
    background-color: #f14f4f;
    padding: 5px 10px;
    color: #fff;
    text-decoration: none;
    float: left;
}

#qt_description_toolbar {
    display: none;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
    font-family: arial, helvetica, 'san-serif';
    direction: rtl;
    color: #504e4f;
    background: url(images/bg_grad.gif);
    background-repeat: repeat-x;
    background-size: center top;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Clearfix
-------------------------------------------------------------- */
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/****************************************************************
    LAYOUT  LAYOUT  LAYOUT  LAYOUT  LAYOUT  LAYOUT  LAYOUT  LAYOUT
****************************************************************/
h1,
h2,
h3,
h4,
h5,
h6 {
    position: relative;
    display: block;
    font-family: arial, helvetica, 'san-serif';
}

strong,
b {
    font-weight: bold;
}

i,
em {
    font-style: italic;
}

ul li,
ol li {
    text-align: right;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: arial, helvetica, 'san-serif';
    margin-bottom: 10px;
}

h1 {
    font-size: 28px;
}

h2 {
    font-size: 24px;
    font-weight: bold;
    color: #1f4766;
}

h3 {
    font-size: 20px;
    color: #1f4766;
}

h4 {
    font-size: 18px;
    color: #504e4f;
}

h5 {
    font-size: 16px;
}

h5 {
    font-size: 13px;
}

h2.styled_title {
    background: url(images/border.png) repeat-x bottom;
    padding-bottom: 10px;
}

div,
p,
span,
a,
input,
select,
textarea {
    font-family: arial, helvetica, 'san-serif';
    font-size: 14px;
}

a,
input[type="submit"],
.img_overlay {
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

a {
    color: #1d75a3;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
    color: #1d75a3;
}

p {
    margin-bottom: 8px;
    line-height: 1.5em;
    color: #504e4f;
}

img.grayscale {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
    filter: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' height='0'><filter id='greyscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0' /></filter></svg>#greyscale");
}

img.grayscale:hover {
    filter: none;
    -webkit-filter: grayscale(0%);
}

/*****************************************************/
.header {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 5px;
}

.main_container {
    position: relative;
    display: block;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

.trigger_mobile {
    position: relative;
    display: none;
}

.top_bar,
.main_bar {
    position: relative;
    display: block;
}

.top_bar {
    padding-top: 10px;
}

.inner_header {
    position: relative;
    display: inline-block;
    width: 100%;
}

.logo {
    position: relative;
    display: inline-block;
    float: right;
}

.call_us {
    float: left;
    margin-top: 50px;
    color: #1c4a67;
    font-size: 24px;
    padding-right: 27px;
    background: url(images/phone_icon.png) no-repeat center right;
}

.call_us span {
    font-size: 24px;
}

.call_us a {
    color: #169fe0;
    font-size: 30px;
    text-decoration: none;
    padding-left: 30px;
    background: url(images/star.png) no-repeat top left;
}

.facebook_icon {
    float: left;
    margin-top: 50px;
    margin-right: 15px;
}

.top_bar .my_row {
    background: url(images/border.png) repeat-x bottom;
    padding-bottom: 10px;
}

/** MENU *************/
ul#main_menu {
    position: relative;
    display: block;
}

ul#main_menu > li {
    position: relative;
    display: inline-block;
    float: right;
}

ul#main_menu > li > a {
    position: relative;
    display: block;
    color: #1c4a68;
    font-size: 18px;
    text-decoration: none;
    padding: 10px 15px;
}

ul#main_menu > li > a:hover,
ul#main_menu > li.current-menu-item > a {
    color: #169FE0;
}

/** Second Level ******/
ul#main_menu > li ul.sub-menu {
    position: absolute;
    margin: 0;
    z-index: 100;
    min-width: 150px;
    display: none;
    top: 100%;
}

ul#main_menu > li:hover ul.sub-menu {
    display: block;
}

ul#main_menu > li ul.sub-menu li {
    position: relative;
    display: block;
}

ul#main_menu > li ul.sub-menu li a {
    background: #eeeae5;
    color: #255072;
    font-size: 15px;
    text-decoration: none;
    line-height: 1.4em;
    position: relative;
    display: block;
    padding: 5px 10px;
}

ul#main_menu > li ul.sub-menu li a:hover {
    background: #255072;
    color: #fff;
}

/** SEARCH BAR *****************/
form.search {
    position: relative;
    display: inline-block;
    margin-top: 25px;
    float: left;
}

form.search input {
    width: 210px;
    height: 31px;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #000;
}

form.search button.search-submit {
    background: none;
    border: none;
    position: absolute;
    left: 0;
    top: 4px;
    z-index: 10;
    border-right: 1px solid #c4d8e2;
}

/**********/
.first_part {
    position: relative;
    display: block;
    margin-bottom: 10px;
}

.home_main_slider {
    position: relative;
    display: block;
    width: 100%;
}

.main_slider {
    position: relative;
    display: block;
    max-height: 295px;
    height: 100%;
}

.home_main_slider .home_banner {
    position: relative;
    display: block;
    width: 100%;
}

.home_banner img {
    position: relative;
    display: block;
}

.home_banner .banner_content {
    position: absolute;
    bottom: 45%;
    right: 5%;
    z-index: 10;
}

/*****/
.bbp_widget_login,
.sidebar_form {
    position: relative;
    display: block;
    margin-bottom: 30px;
    background: #f2f0eb;
    border: 1px solid #d8d8d9;
    text-align: center;
    padding: 14px 16px 5px;
}

.home .sidebar_left .sidebar_form {
    margin-bottom: 0;
}

.sidebar_form .wrap_fields {
    position: relative;
    display: inline-block;
}

.sidebar_form h3.form_title {
    background: #1f4766;
    height: 26px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    line-height: 25px;
    border-radius: 5px;
}

.sidebar_form span.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 9px;
}

.sidebar_form input,
.sidebar_form textarea,
.sidebar_form select {
    max-width: 186px;
    width: 100%;
    display: block;
    height: 27px;
    border-color: #cccccc;
    border-radius: 4px;
    color: #4d4d4d;
}

.sidebar_form span.wpcf7-list-item.first.last {
    display: inline-block;
}

.sidebar_form input[type="checkbox"] {
    display: inline-block;
    width: auto;
    float: right;
}

.bbp-login-form .bbp-remember-me {
    text-align: right;
}

.bbp-remember-me label {
    width: auto;
    position: relative;
    top: -3px;
    right: 2px;
}

.sidebar_form span.wpcf7-list-item-label {
    float: right;
    margin-right: 10px;
}

.sidebar_form textarea {
    height: 62px;
}

.bbp-login-form label {
    width: 100%;
    text-align: right;
}

.bbp-login-form .bbp-submit-wrapper {
    float: right;
}

button.button.submit.user-submit,
button#user-submit,
.sidebar_form input[type="submit"] {
    background: #1f4766;
    height: 26px;
    color: #fff;
    font-size: 14px;
    line-height: 25px;
    border-radius: 5px;
    border: none;
    width: 80px;
}

a.btn.btn-block.btn-social.btn-facebook.btn-custom-size {
    padding: 0.55em 0 0 2.5em;
}

.widget a.btn.btn-block.btn-social.btn-facebook.btn-custom-size {
    max-width: 95%;
    margin: auto;
    display: block;
}

.bbp-login-form .bbp-username input,
.bbp-login-form .bbp-email input,
.bbp-login-form .bbp-password input {
    max-width: 180px;
}

.mo-openid-app-icons p {
    display: none;
}

a.btn.btn-block.btn-social.btn-facebook.btn-custom-size {
    background: #1f4766;
}

div.first_name {
    margin-bottom: 10px;
}

.sidebar_form input[type="submit"]:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
}

div.wpcf7 img.ajax-loader {
    position: absolute;
}

::-webkit-input-placeholder {
    color: #4d4d4d;
}

:-moz-placeholder {
    color: #4d4d4d;
}

::-moz-placeholder {
    color: #4d4d4d;
}

:-ms-input-placeholder {
    color: #4d4d4d;
}

/******************************************************/
.facebook_like_box {
    position: relative;
    display: block;
    width: 100%;
}

.facebook_like_box iframe {
    position: relative;
    display: block;
    width: 100%;
    max-width: 300px;
}

/**********/
.footer {
    position: relative;
    display: block;
    background: url(images/footer_bg.png) no-repeat;
    background-size: 100% 100%;
    padding: 25px 0;
    margin-top: 25px;
    color: #fff;
    font-size: 14px;
    line-height: 1.5em;
}

.footer h3.widget_title {
    color: #fff;
    font-weight: bold;
}

.footer .footer_widget a {
    color: #fff;
    text-decoration: none;
}

.footer .footer_widget a:hover {
    text-decoration: underline;
}

.footer_widgets {
    position: relative;
    display: inline-block;
    width: 100%;
}

.footer_widget {
    position: relative;
    display: inline-block;
    width: 17.5%;
    float: right;
}

.footer_widget.num_5 {
    width: 30%;
}

/********/
.sidebar {
    position: relative;
    display: block;
}

.side_tretments_holder {
    position: relative;
    display: block;
    margin-top: 30px;
}

.treatments_menu {
    position: relative;
    display: block;
    max-width: 300px;
    margin: 0 auto;
}

.treat_item {
    position: relative;
    display: block;
    border: 1px solid #ece7e0;
    margin-bottom: 15px;
    background: #f6f5f1;
    height: 50px;
}

.treat_item td {
    position: relative;
    padding: 0;
    border-bottom: none;
}

.treat_item a {
    position: relative;
    display: inline-block;
    width: 100%;
    text-decoration: none;
    display: flex;
    height: 50px;
    align-items: center;
}

.treat_item a:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
}

.treat_item a h4 {
    position: relative;
    margin: 0 0 0 0;
    color: #1f4766;
    text-align: center;
    width: 62%;
    font-size: 1.1em;
    font-weight: 700;
}



.treat_item a img {
    border-radius: 4px;
    /* border: 1px solid #ebe6df; */
    margin: 2% 2% 2% 4%;
    min-width: 65px;
    /* max-height: 40px; */
    /* width: 30%; */
}

/*************/
.post_thumb {
    position: relative;
    display: inline-block;
    float: left;
    margin: 0 20px 20px 0;
}

.wrapper {
    position: relative;
    display: block;
}

h1.page_title {
    color: #1f4766;
    font-weight: bold;
    font-size: 24px;
}

.rectangles_holder {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-top: 40px;
}

.rectangles_holder .item {
    position: relative;
    display: inline-block;
    float: right;
    width: 32%;
    margin-right: 2%;
    margin-bottom: 2%;
    text-align: center;
    background: #1f4766;
}

.rectangles_holder .item.first {
    margin-right: 0;
}

.rectangles_holder .item a {
    position: relative;
    display: block;
    color: #fff;
    height: 37px;
    line-height: 37px;
    font-weight: bold;
    text-decoration: none;
}

/**********/
.post_thumb.in_category {
    max-width: 100px;
}

/** BREADCRUMBS */
.my_breadcrumbs {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.my_breadcrumbs ul {
    position: relative;
    display: inline-block;
    width: 100%;
}

.my_breadcrumbs ul li.crumb {
    position: relative;
    display: inline-block;
    float: right;
}

.my_breadcrumbs ul li.crumb a {
    text-decoration: none;
    color: #1f4766;
}

.my_breadcrumbs ul li.crumb a:before {
    content: '>';
    display: inline-block;
    float: right;
    color: #1f4766;
    margin: 0 5px;
    font-weight: normal;
}

.my_breadcrumbs ul li.crumb.home a:before {
    display: none;
}

.my_breadcrumbs ul li.crumb.last {
    font-weight: bold;
}

/*******************/
.scrolled_news {
    position: relative;
    display: block;
    margin-bottom: 30px;
}

.scroll-text {
    position: relative;
    display: block;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.scroll-text ul {
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin: 0;
}

.scroll-text ul li {
    position: relative;
    display: block;
    height: 60px;
}

/***********/
.sidebar_right .widget_nav_menu h3.widget_title {
    background: url(images/border.png) repeat-x bottom;
    padding-bottom: 10px;
    font-size: 24px;
    font-weight: bold;
}

.sidebar_right .widget_nav_menu ul.menu > li > a {
    color: #000;
    font-size: 12px;
    text-decoration: none;
    padding-right: 15px;
    line-height: 1.4em;
    background: url(images/menu_arr.png) no-repeat center right;
}

.sidebar_right .widget_nav_menu ul.menu > li:hover > a,
.sidebar_right .widget_nav_menu ul.menu > li.active > a,
.sidebar_right .widget_nav_menu ul.menu > li.current-menu-item > a {
    color: #169FE0;
}

/** Second level **/
.sidebar_right .widget_nav_menu ul.menu > li ul.sub-menu {
    margin: 0;
    padding-right: 30px;
    display: none;
}

.sidebar_right .widget_nav_menu ul.menu > li.current-menu-item ul.sub-menu {
    display: block;
}

.sidebar_right .widget_nav_menu ul.menu > li ul.sub-menu > li > a {
    color: #1f5c78;
    font-size: 14px;
    text-decoration: none;
    position: relative;
    display: block;
    line-height: 2em;
    border-top: #eee 1px solid;
}

.sidebar_right .widget_nav_menu ul.menu > li ul.sub-menu > li:hover > a {
    font-weight: bold;
}

/**********/
.home_categories_menu {
    position: relative;
    display: block;
    width: 100%;
}

.wrap_home_cats {
    position: relative;
    display: block;
    width: 100%;
}

.home_cat {
    position: relative;
    display: inline-block;
    float: right;
}

.home_cat h1 {
    height: auto;
    font-size: 26px;
    position: relative;
    display: block;
    text-align: center;
    background: #1d75a3;
    color: #fff;
    line-height: 35px;
    margin-bottom: 0;
    padding: 10px 0px 10px 0px;
}

.home_cat ul {
    position: relative;
    display: block;
    width: 100%;
}

.home_cat ul li {
    position: relative;
    display: inline-block;
    float: right;
}

.home_cat ul li a {
    background: #1f4766;
    color: #fff;
    text-decoration: none;
    height: 39px;
    line-height: 35px;
    position: relative;
    display: block;
    text-align: center;
    border-right: 1px solid #8fa3b3;
}

.home_cat ul li:hover a {
    color: #8ebad1;
}

.home_cat ul li:first-child a {
    border-right: 0;
}

.cat_01.home_cat ul li:first-child a {
    -moz-border-radius-bottomright: 5px;
    border-bottom-right-radius: 5px;
}

.cat_02.home_cat ul li:last-child a {
    -moz-border-radius-bottomleft: 5px;
    border-bottom-left-radius: 5px;
}

.cat_01.home_cat {
    border-left: 7px solid #8ebad1;
    width: 32%;
}

.cat_01.home_cat ul li {
    width: 50%;
}

.cat_02.home_cat {
    /*width: 68%;*/
    width: 100%;
}

.cat_02.home_cat ul li {
    width: 25%;
}

.post_content .content ul {
    list-style: circle;
    margin-right: 10px;
    padding-right: 10px;
    line-height: 1.5em;
    margin-bottom: 10px;
}

.post_content .content iframe {
    max-width: 100%;
}

.category_page .posts_in_category .wrapper {
    padding-top: 10px;
    border-bottom: #CECECE 1px solid;
}

.category_page .posts_in_category .wrapper h3.title a {
    color: #1D4667;
    text-decoration: none;
    font-weight: bold;
}

.category_page .posts_in_category .wrapper h3.title a:hover {
    color: #019FE3;
    text-decoration: underline;
}

/*.top_sep {
    height:30px;
    width:100%;
    background:url(images/separator_top.png);
    display: block;
}*/
span#subscription-toggle {
    float: left;
}

div.bbp-template-notice.info {
    background: #1f4766;
    color: #fff;
}

div.bbp-template-notice.info a,
div.bbp-template-notice.info * {
    color: #fff;
}

.widget .ap-stats-widget li .stat-value,
.ap-widget-pos .ap-stats-widget li .stat-value {
    float: left;
}

#anspress .ap-q-cells {
    margin-left: 0;
    margin-right: 60px;
}

#answer-form-c {
    margin-right: 0;
    margin-top: 20px;
    padding-top: 0;
    position: relative;
    width: 100%;
}

#anspress .ap-a-cells {
    margin-left: 0;
}

#anspress .ap-ul-inline > li {
    float: right;
}

#anspress .pull-right {
    float: left !important;
}

#anspress .ap-q-cells {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

.ap-content {
    padding-right: 0;
    width: 100%;
}

div#ap-single {
    width: 100%;
}

#anspress .ap-q-actions {
    display: none;
}

.backtoforum {
    margin-top: 20px;
}

input#user_pass {
    float: left;
    clear: both;
}

p.login-remember {
    clear: both;
    margin-top: 10px;
    padding-top: 10px;
}

.contact_us_page {
    background-color: #1d4769;
    border: 1px solid #cccccc;
    padding: 17px 27px;
    margin-top: 20px;
    clear: both;
}

.contact_us_page p {
    font-size: 18px;
    color: #fff;
    line-height: normal;
}

.contact_us_page .form_fields {
    padding-top: 20px;
}

.contact_us_page .form_field input {
    border: 1px solid #cccccc;
    width: 100%;
    height: 23px;
    line-height: 23px;
    padding: 0 5px;
}

.contact_us_page .form_field input[type=submit] {
    background: #00dafe;
    color: #fff;
    position: relative;
    bottom: 15px;
    font-weight: bold;
}

.contact_us_page .form_field {
    float: right;
    margin-right: 2.5%;
    width: 23%;
}

.contact_us_page .form_field:first-child {
    margin-right: 0;
}

.contact_us_page:after {
    clear: both;
    display: block;
    content: "";
}

.contact_us_page div.wpcf7-mail-sent-ok,
.contact_us_page .wpcf7-response-output.wpcf7-display-none.wpcf7-validation-errors {
    clear: both;
    color: #fff;
    float: right;
    margin: 10px 0 0 0;
}

/*---------------------------------------------------------------
                        M A G A Z I N E
 --------------------------------------------------------------*/


.magazine_sec {
    height: 42px;
    width: 100%;
    display: block;
    background-color: #1d4967;
    border-top: 1px solid #d8d8d9;
    border-bottom: 1px solid #d8d8d9;
    border-radius: 7px;
}

.magazine_sec ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.magazine_sec ul li {
    float: right;
    height: 40px;
    line-height: 40px;
}

.magazine_sec ul li.magazine_li a {
    font-size: 24px;
    font-style: italic;
    font-weight: 700;
}

.magazine_sec ul li a {
    display: block;
    color: white;
    text-align: center;
    padding: 0 18px;
    text-decoration: none;
    font-size: 17px;
}

.magazine_sec ul li a:hover,
.magazine_sec ul li a.act_magazine {
    color: #169fe0;
}

/*---------------------------------------------------------------
                M A G A Z I N E  -  S I N G L E
 --------------------------------------------------------------*/

.single_page .magazine_content_left {
    width: 66%;
    margin-left: 3%;
    background-color: #eeebe6;
    border: 1px solid #d8d8d9;
    border-radius: 10px;
    padding: 20px 30px;
}

.single_page .single_h2_div {
    height: 55px;
}

.single_page .single_h2_div a {
    text-decoration: none;
}

.single_page .single_h2_div a h2 {
    color: #1d4967;
    margin: 0;
    line-height: 50px;
}

.single_page .main_container h1.page_title {
    color: #169fe0;
}

.single_page .main_container .single_desc {
    padding-bottom: 20px;
    border-bottom: 1px dashed #ccc;
    margin-bottom: 20px;
}

.single_page .main_container .single_desc p {
    font-size: 20px;
    line-height: 1.4rem;
}

.single_page .main_container .youtube_div {
    margin-bottom: 40px;
}

/*---------------------------------------------------------------
                M A G A Z I N E  -  T A X O N O M Y
 --------------------------------------------------------------*/

.tax_page_magazine .magazine_content_left {
    width: 66%;
    margin-left: 3%;
    background-color: #fff;
    border-radius: 10px;
}

.tax_page_magazine .single_h2_div {
    height: 55px;
}

.tax_page_magazine .single_h2_div a {
    text-decoration: none;
}

.tax_page_magazine .single_h2_div a h2 {
    color: #1d4967;
    margin: 0;
    line-height: 50px;
}

.tax_page_magazine .page_content .main_post {
    min-height: 280px;
    background-color: #efece7;
    border: 1px solid #d8d8d9;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    overflow: hidden;
}

.tax_page_magazine .page_content .border_dash {
    height: 1px;
    border-bottom: 1px dashed #ccc;
    margin-bottom: 25px;
}

.tax_page_magazine .page_content .main_post .post_img_div {
    width: 55%;
    float: right;
}

.tax_page_magazine .page_content .main_post .post_img_div img {
    border-radius: 5px;
}

.tax_page_magazine .page_content .main_post .content_div {
    width: 45%;
    float: right;
    padding: 0 10px;
}

.tax_page_magazine .page_content .main_post .content_div .post_title_div {
    margin-bottom: 20px;
}

.tax_page_magazine .page_content .main_post .content_div .post_title_div a {
    text-decoration: none;
}

.tax_page_magazine .page_content .main_post .content_div .post_title_div a h2.post_title {
    color: #169fe0;
    margin: 0;
    font-size: 28px;
}

.tax_page_magazine .page_content .main_post .content_div .content p.excerpt_p {
    line-height: 1.3rem;
    font-size: 16px;
    color: #000;
    margin-bottom: 20px;
}

.tax_page_magazine .page_content .main_post .content_div .read_more_div a {
    text-decoration: none;
    color: #169fe0;
    font-size: 17px;
}

.tax_page_magazine .page_content .post_row {
    min-height: 160px;
    background-color: #efece7;
    border: 1px solid #d8d8d9;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    overflow: hidden;
}

.tax_page_magazine .page_content .post_row .post_thumb {
    position: relative;
    display: inline-block;
    float: right;
    width: 30%;
    margin: 0;
}

.tax_page_magazine .page_content .post_row .content_div {
    position: relative;
    float: right;
    width: 70%;
    margin: 0;
    padding-right: 20px;
}

.tax_page_magazine .page_content .post_row .content_div a {
    text-decoration: none;
}

.tax_page_magazine .page_content .post_row .content_div .post_title_div {
    padding-bottom: 15px;
}

.tax_page_magazine .page_content .post_row .content_div .post_title_div a h2.post_title {
    color: #169fe0;
    margin: 0;
    font-size: 22px;
}

.tax_page_magazine .page_content .post_row .content_div .content p.excerpt_p {
    line-height: 1.3rem;
    font-size: 16px;
    color: #000;
    margin-bottom: 20px;
}

.tax_page_magazine .page_content .post_row .content_div .read_more_div a {
    text-decoration: none;
    color: #169fe0;
    font-size: 17px;
}

.tax_page_magazine .page_content .pagination {
    width: 100%;
    padding-right: 76%;
}

.tax_page_magazine .page_content .pagination a,
.tax_page_magazine .page_content .pagination span {
    float: right;
}

.tax_page_magazine .page_content .pagination a.page-numbers {
    display: none;
}

.tax_page_magazine .page_content .pagination a.prev,
.tax_page_magazine .page_content .pagination a.next {
    display: block;
    color: #000;
}

.tax_page_magazine .page_content .pagination a.prev:hover,
.tax_page_magazine .page_content .pagination a.next:hover {
    background: none;
    color: #169fe0;
}

.tax_page_magazine .page_content .pagination span.current {
    display: none;
}

.tax_page_magazine .page_content .pagination .inner_pagination {
    width: 180px;
    height: 30px;
    float: left;
}

/*---------------------------------------------------------------
                M A G A Z I N E  -  M A I N
 --------------------------------------------------------------*/
.main_page_magazine .my_row {
    border-top: 1px dashed #ccc;
    padding-top: 15px;
}

.main_page_magazine .magazine_content_left {
    width: 66%;
    margin-left: 3%;
    background-color: #fff;
    border-radius: 10px;
}

.main_page_magazine .main_container .top_posts .big_post_col {
    width: 64%;
    float: right;
    background-color: #f7f4f2;
    min-height: 450px;
    margin-left: 2%;
    border-radius: 10px;
    border: 1px solid #d8d8d9;
}

.main_page_magazine .main_container .top_posts .small_post_col {
    width: 34%;
    float: right;
    background-color: #fff;
    min-height: 450px;
}

.main_page_magazine .main_container .top_posts .small_post_col .main_post {
    background-color: #f7f4f2;
    border-radius: 10px;
    border: 1px solid #d8d8d9;
    margin-bottom: 20px;
}

.main_page_magazine .main_container .top_posts .small_post_col .main_post .content_div a,
.main_page_magazine .main_container .top_posts .big_post_col .main_post .content_div a {
    text-decoration: none;
}

.main_page_magazine .main_container .top_posts .small_post_col .main_post .content_div .post_title_div a h2.post_title,
.main_page_magazine .main_container .top_posts .big_post_col .main_post .content_div .post_title_div a h2.post_title {
    color: #1d4967;
    margin: 0;
    font-size: 18px;
}

.main_page_magazine .main_container .top_posts .big_post_col .main_post .content_div .post_title_div a h2.post_title {
    font-size: 26px;
    margin-bottom: 15px;
}

.main_page_magazine .main_container .top_posts .small_post_col .main_post .content_div,
.main_page_magazine .main_container .top_posts .big_post_col .main_post .content_div {
    padding: 13px;
}

.main_page_magazine .main_container .top_posts .small_post_col .main_post .post_img_div .img_col,
.main_page_magazine .main_container .top_posts .big_post_col .main_post .post_img_div .img_col {
    background-size: cover;
    background-position: center center;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.main_page_magazine .main_container .top_posts .small_post_col .main_post .post_img_div .img_col {
    height: 140px;
}

.main_page_magazine .main_container .top_posts .big_post_col .main_post .post_img_div .img_col {
    height: 340px;
}

.main_page_magazine .main_container .top_posts .small_post_col .main_post .content p.excerpt_p,
.main_page_magazine .main_container .top_posts .big_post_col .main_post .content p.excerpt_p {
    line-height: 1.3rem;
    font-size: 14px;
    color: #000;
    margin-bottom: 0px;
}

.main_page_magazine .main_container .top_posts .small_post_col .main_post .read_more_div,
.main_page_magazine .main_container .top_posts .big_post_col .main_post .read_more_div {
    text-align: left;
}

.main_page_magazine .main_container .top_posts .small_post_col .main_post .read_more_div a,
.main_page_magazine .main_container .top_posts .big_post_col .main_post .read_more_div a {
    text-decoration: none;
    color: #169fe0;
    font-size: 17px;
}

.main_page_magazine .page_content .border_dash {
    height: 1px;
    border-bottom: 1px dashed #ccc;
    margin-bottom: 15px;
    clear: both;
}

.main_page_magazine .page_content a.taxonomy_name_a {
    text-decoration: none;
}

.main_page_magazine .page_content a.taxonomy_name_a h2.taxonomy_name_h2 {
    margin-bottom: 20px;
    color: #1c4a68;
}

.main_page_magazine .page_content .main_post {
    width: 100%;
    height: auto;
    background-color: #efece7;
    border: 1px solid #d8d8d9;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    overflow: hidden;
}

.main_page_magazine .page_content .magazine_cat .main_post .post_img_div {
    width: 45%;
    float: right;
}

.main_page_magazine .page_content .magazine_cat .main_post .post_img_div .img_div_inner {
    height: 200px;
    background-size: cover;
    background-position: center center;
    border-radius: 7px;
}

.main_page_magazine .page_content .magazine_cat .main_post .post_img_div img {
    border-radius: 5px;
}

.main_page_magazine .page_content .magazine_cat .main_post .content_div {
    width: 55%;
    float: right;
    padding: 0 10px;
}

.main_page_magazine .page_content .magazine_cat .main_post .content_div .post_title_div,
.main_page_magazine .page_content .magazine_cat .small_posts .content_div .post_title_div {
    margin-bottom: 10px;
}

.main_page_magazine .page_content .magazine_cat .main_post .content_div .post_title_div a {
    text-decoration: none;
}

.main_page_magazine .page_content .magazine_cat .main_post .content_div .post_title_div a h2.post_title {
    color: #169fe0;
    margin: 0;
    font-size: 28px;
}

.main_page_magazine .page_content .magazine_cat .main_post .content_div .content p.excerpt_p {
    line-height: 1.3rem;
    font-size: 14px;
    color: #000;
    margin-bottom: 20px;
}

.main_page_magazine .page_content .magazine_cat .main_post .content_div .read_more_div a {
    text-decoration: none;
    color: #169fe0;
    font-size: 17px;
}

.main_page_magazine .page_content .first_small {
    margin-left: 1%;
}

.main_page_magazine .page_content .sec_small {
    margin-right: 1%;
}

.main_page_magazine .page_content .small_posts {
    width: 49%;
    float: right;
    height: auto;
    background-color: #efece7;
    border: 1px solid #d8d8d9;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    overflow: hidden;
}

.main_page_magazine .page_content .small_posts .post_img_div,
.main_page_magazine .page_content .small_posts .content_div {
    float: right;
}

.main_page_magazine .page_content .small_posts .post_img_div {
    width: 43%;
}

.main_page_magazine .page_content .small_posts .post_img_div .img_div_inner {
    height: 110px;
    background-image: url('http://213.52.130.243/~optimal/wp-content/uploads/2016/03/hadassaop_life_11.jpg');
    background-size: cover;
    background-position: center center;
    border-radius: 7px;
}

.main_page_magazine .page_content .small_posts .content_div {
    width: 57%;
    padding-right: 15px;
}

.main_page_magazine .page_content .magazine_cat .small_posts .content_div .post_title_div a {
    text-decoration: none;
}

.main_page_magazine .page_content .magazine_cat .small_posts .content_div .post_title_div a h2.post_title {
    color: #169fe0;
    margin: 0;
    font-size: 20px;
}

.main_page_magazine .page_content .magazine_cat .small_posts .content_div .content p.excerpt_p {
    line-height: 1.3rem;
    font-size: 14px;
    color: #000;
    margin-bottom: 0px;
}

.main_page_magazine .page_content .magazine_cat .small_posts .content_div .read_more_div {
    text-align: left;
}

.main_page_magazine .page_content .magazine_cat .small_posts .content_div .read_more_div a {
    text-decoration: none;
    color: #169fe0;
    font-size: 17px;
}

/*---------------------------------------------------------------
                M A G A Z I N E  -  S I D E B A R
 --------------------------------------------------------------*/

.sidebar_magazine {
    width: 31%;
}

#text-12 .sidebar_form {
    border-radius: 10px;
    overflow: hidden;
    /*height: 510px;*/
    padding: 10px;
}

#text-13 .sidebar_form h3.form_title {
    background: none;
    color: #1f4766;
    text-align: right;
    font-size: 30px;
    margin-bottom: 15px;
}

#text-13 .sidebar_form input,
#text-13 .sidebar_form textarea,
#text-13 .sidebar_form select {
    max-width: 100%;
}

#text-13 .sidebar_form span.checkbox-759 {
    float: right;
    width: 60%;
}

#text-13 .sidebar_form span.submit {
    width: 37%;
    float: left;
}

#text-13 .wpcf7-list-item-label {
    margin-right: 5px;
}

#text-13 .sidebar_form input[type="submit"] {
    width: 100%;
}

.most_viewes ul.treatments_menu li,
.latest_articles ul.treatments_menu li {
    border: 0;
    background: none;
    height: 60px;
}

.most_viewes ul.treatments_menu li a img,
.latest_articles ul.treatments_menu li a img {
    max-height: 60px;
}

.most_viewes h3,
.latest_articles h3 {
    text-align: right;
    font-size: 25px;
}

textarea#description {
    display: block !important;
}

#anspress .ap-a-cells {
    margin-right: 0;
}

form.wpcf7-form p {
    margin-bottom: 0px;
    line-height: 0;
}

#contact-form-page-name,
#contact-form-page-tel,
#contact-form-page-email,
#contact-form-page-subject,
#contact-form-page-textarea {
    margin: 10px 0px;
    border-radius: 5px;
    border-color: #1F4766;
    border-style: solid;
    border-width: 1px;
}

#contact-form-page-select {
    margin: 20px 0px;
    padding: 5px;
    border-radius: 5px;
    border-color: #1F4766;
    border-style: solid;
    border-width: 1px;
}

#submit-contact-page {
    float: right;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 50%;
    height: 40px;
    border-radius: 10px;
    background-color: #1F4766;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.sidebar_form span.wpcf7-list-item.first.last {
    display: inline;
}

input[type="checkbox"] {
    height: 14px;
    margin: -3px 0 0 8px;
}

input.wpcf7-form-control.wpcf7-submit {
    float: left;
    margin-top: 15px;
    margin-bottom: 10px;
    width: 100%;
}

body #gform_wrapper_5 .gform_body .gform_page_footer .gform_previous_button {
    background: white;
    border-width: 2px;
    border-color: #1d4769;
    border-style: solid;
    font-size: 24px;
    color: #1d4769;
    cursor: pointer;
    padding: 5px;
}

/*
body #gform_wrapper_5 .gform_body .gform_page_footer .gform_previous_button:hover {
    background: #1d4769;
    border-color: white;
    color: white;
    
}
*/





.page-id-5362 h1.page_title {
    display: none !important
}

.page-id-5362 .contact_us_page {
    display: none !important
}

.page-id-5362 .sidebar_form {
    display: none !important
}

< !-- spatz adjustment form style-- > < !-- hiding contact form on specific pages-- > < !-- spatz adjustment page-- > .page-id-5048 .contact_us_page {
    display: none !important
}

.page-id-5048 .sidebar_form {
    display: none
}

.page-id-5048 h1.page_title {
    display: none
}

body .gform_wrapper .gform_body .gfield_label {
    font-size: 16px;
}

body #gform_wrapper_1 .gform_heading .gform_title {
    font-size: 27px;
}

.gform_wrapper .chosen-rtl .chosen-single span {
    font-size: 16px;
}

body .gform_wrapper_1.gf_rtl_wrapper .chosen-container .chosen-results li.active-result,
body.rtl .gform_wrapper .chosen-container .chosen-results li.active-result,
html[dir=rtl] .gform_wrapper_1 .chosen-container .chosen-results li.active-result {
    font-size: 16px;
}

body #gform_wrapper_1 .gform_body .gform_page_footer .gform_next_button {
    background-color: #1D4769;
    color: #FFF;
    font-size: 20px;
    /*border-radius: 10px;*/
    padding: 10px;
    font-weight: bold;
    text-align: center !important;
    cursor: pointer;
}

body #gform_wrapper_1 .gform_body .gform_page_footer .gform_next_button:hover {
    background-color: #FFF;
    color: #1D4769;
    border-color: #1D4769;
    transition-duration: 0.7s;
}

/*body #gform_wrapper_1 .gform_heading .gform_title { display: none !important; }*/

body #gform_wrapper_1 .gform_body .gform_page_footer .gform_previous_button {
    background-color: #FFFFFF;
    color: #1D4769;
    font-size: 20px;
    /*border-radius: 10px;*/
    padding: 10px;
    font-weight: bold;
    text-align: center !important;
    border-color: #1D4769;
    border-width: 1px;
    cursor: pointer;
}

body #gform_wrapper_1 .gform_body .gform_page_footer .gform_button {
    background-color: #1D4769;
    color: #FFF;
    font-size: 20px;
    /*border-radius: 10px;*/
    padding: 10px;
    font-weight: bold;
    text-align: center !important;
    border-color: #1D4769;
}

body #gform_wrapper_1 .gform_body .gform_page_footer .gform_button:hover {
    background-color: #FFF;
    color: #1D4769;
    border-color: #1D4769;
    transition-duration: 0.7s;
}

< !-- ---------------------------end spatz adjustment form style------------------------------ > < !-- ---------------------------bmi calculator form style------------------------------ > .page-id-5026 .contact_us_page {
    display: none !important;
}

.page-id-5026 .contact_us_page {
    display: none;
}

.page-id-5026 h1.page_title {
    display: none;
}

.page-id-5026 .sidebar_form {
    display: none;
}

@media all and (max-width: 954px) {
    .page-id-5026 #torframe {
        height: 1250px;
    }
}

@media all and (max-width: 913px) {
    .page-id-5026 #torframe {
        height: 3250px;
    }
}

@media all and (max-width: 784px) {
    .page-id-5026 #torframe {
        height: 1250px;
    }
}

@media all and (max-width: 712px) {
    .page-id-5026 #torframe {
        height: 3250px;
    }
}

@media all and (max-width: 656px) {
    .page-id-5026 #torframe {
        height: 3190px;
    }
}

@media all and (max-width: 527px) {
    .page-id-5026 #torframe {
        height: 3110px;
    }
}

@media all and (max-width: 438px) {
    .page-id-5026 #torframe {
        height: 3010px;
    }
}


/*hide contact+sidebar menu from page "how was born spatz baloon"*/
@media all and (max-width: 783px) {
    .postid-5552 .sidebar_forms {
        display: none !important;
    }
}

.age_note {
    color: #B43C2B;
    font-size: 0.9em;
    font-weight: 500;
    line-height: 1.4em;
}

@media all and (max-width: 767px) {
    .sidebar_form {
        display: none;
    }

    .sidebar_form input {
        max-width: 100%;

    }

    .sidebar_form select {
        max-width: 100%;

    }

    .sidebar_form textarea {
        max-width: 100%;
    }

    form.search {
        float: right;
        padding-right: 10px;
    }

    a.forum_link {
        border-radius: 5px;
        padding: 8px;
        margin-left: 10px;
    }

    .home_banner .banner_content {
        text-align: center;
        padding: 10px 0px 10px 0px;
    }

    .description_banner {
        font-size: 1.3em;
    }

    #submit-contact-page {
        width: 100%;
    }

    .post_thumb.in_category {
        max-width: 50%;
    }

    .contact_us_page .form_field input {
        border: 1px solid #cccccc;
        width: 100%;
        height: 100%;
        line-height: 23px;
        padding: 10px;
    }

    .home .sidebar_left .sidebar_form {
        margin-bottom: 0;
        display: block;
    }
}

@media all and (min-width: 767px) {
    .footer_widget {
        width: 100%;
    }

    .footer_widgets {
        display: flex;
        justify-content: center;
    }
}

.description_banner{
    font-size: 1.2em;
}