/*
Theme Name: T&M
*/

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}
h2 {
    font-size: 20px;
    font-weight: bold;
}
body {
    direction: ltr;
    font-family: 'Open Sans Hebrew', serif;

    -webkit-appearance: none;
}

.menu_wrap ul li.menu-item-has-children.current-menu-item > a,
#content a {
    text-decoration: none;
    color: #ee2e24;
}
#content a:hover{
    text-decoration: underline;
}
input,
label,
select,
button,
textarea {
    font-family: 'Open Sans Hebrew', serif;
}
.flex_wrap {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;

    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.sitewrap {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}
.container {
    position: relative;
    width: 100%;
    max-width: 1180px;
    margin: auto;
}
.post-edit-link {
    position: absolute;
    z-index: 1;
    background: #ccc;
}
.image_wrap img {
    display: block;
    width: 100%;
    height: auto;
}

/* header */

header {
    position: relative;
    margin-bottom: 10px;
    padding-top: 30px;
}
header:before,
header:after {
    position: absolute;
    bottom: 27px;
    display: block;
    width: 100%;
    height: 23px;
    content: '';
    border-top: 1px solid #bec2c5;
    border-bottom: 1px solid #7c858c;
    background: #6a747c;
}
header:after {
    bottom: -1px;
    border-top: 1px solid #fbcbc8;
    border-bottom: 1px solid #fcd5d3;
    background: #ee2e24;
}
header .container,
.icon_strip_wrap .container,
footer .container {
    max-width: 1260px;
}
#pagebanner {
    height: auto;
    background-size: cover;
}
.pagetitle {
    margin-bottom: 25px;
    padding: 20px 0;
    background: #f1eeee;
}
.pagetitle h1 {
    font-size: 40px;
}
.breadcrumbs {
    font-size: 14px;
    margin-bottom: 50px;
}
#logo {
    position: relative;
    z-index: 1;
    top: 1px;
    float: left;
    width:321px;
    overflow: hidden;
}
#logo img {
    display: block;
}

/* main menu */

#navigation {
    float: right;
    width:73%;
}
#navigation ul li {
    position: relative;
    float: left;
    padding: 0 15px;
    border-right: 1px solid;
}
#navigation ul li:first-child {
    padding-left: 0;
}
#navigation ul li:last-child {
    padding-right: 0;
    border-right: none;
}
#navigation ul li a {
    font-size: 14px;
    line-height: 1;
}
#navigation ul li:last-child a {
    font-weight: bold;
}
#navigation ul li .lang_switch {
    text-transform: uppercase;
}
#navigation ul.sub-menu {
    position: absolute;
    z-index: 99;
    top: 100%;
    display: none;
    white-space: nowrap;
    background: #fff;
}
#navigation ul.sub-menu li {
    word-break: nowrap;
}
#navigation ul.sub-menu li a {
    font-weight: normal;
    margin-bottom: 10px;
}
#navigation ul.sub-menu li,
#navigation ul.sub-menu li:last-child {
    padding: 0;
}
#navigation ul.sub-menu {
    padding: 10px 20px;
}
#navigation ul li:hover ul.sub-menu {
    display: block;
}

/* contact form */

.wpcf7 div.wpcf7-response-output {
    clear: both;
    margin: 0;
    padding: 0;
    border: none;
}
.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;
}

/* footer */

footer {
    margin-top: 70px;
    padding-bottom: 55px;
    background: #6a7579;
}
.home footer {
    margin-top: 0;
}
.footer_cf_wrap {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
.footer_cf_wrap {
    margin-bottom: 30px;
    border-bottom: 1px solid #bdbdbd;
}
.footer_cf_wrap .title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #f32a29;
}
.footer_cf_wrap .wpcf7 {
    width: 100%;
}
footer .contact_form {
    position: relative;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    padding-bottom: 30px;

    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
footer .contact_form .ajax-loader {
    position: absolute;
    right: 0;
    bottom: 0;
}
footer .contact_form .input_wrap {
    width: 180px;
}
footer .contact_form input {
    font-size: 14px;
    line-height: 37px;
    height: 37px;
    padding: 0 15px;
    color: #000;
    background: #e8e8e8;
}
footer .contact_form input[type='submit'] {
    font-weight: bold;
    color: #fff;
    background: #f32a29;
}
.wpcf7 ::-webkit-input-placeholder {
    color: #000;
}
.wpcf7 :-moz-placeholder {
    color: #000;
}
.wpcf7 ::-moz-placeholder {
    color: #000;
}
.wpcf7 :-ms-input-placeholder {
    color: #000;
}
.footer_in .wrap_in {
    max-width: 1090px;
    margin: auto;
}
.footer_in {
    padding-bottom: 20px;
    background: #fff;
}
.branches {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;

    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.branch h5 {
    font-weight: bold;
}
.branch {
    font-size: 14px;
}

/* home slider */

section.main_slider {
    position: relative;
}
.slider_wrap,
.slider_wrap .slide {
    position: relative;
}
.slider_wrap .slide {
    height: 600px;
    background-size: cover;
}
.slider_wrap .slick-arrow {
    position: absolute;
    z-index: 1;
    top: -70px;
    bottom: 0;
    height: 15px;
    margin: auto;
}
.slider_wrap .slick-prev {
    right: 70px;
}
.slider_wrap .slick-next {
    left: 70px;
}
.slider_wrap button {
    font-size: 75px;
    color: #fff;
    background: none;
}

/* home icon strip */

.icon_strip_wrap {
    border-top: 20px solid rgba(255,255,255,.75);
}
.icon_strip_wrap {
    position: absolute;
    z-index: 5;
    top: 0;
    width: 100%;
}
.icon_strip {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    height: 85px;
    padding: 0 70px;
    background: rgba(255,255,255, .75);

    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.icon_strip .item {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;

    -webkit-align-items: center;
    -ms-flex-align: center;
}
.icon_strip .item .icon {
    margin-right: 10px;
}
.icon_strip .item a {
    font-size: 25px;
    font-weight: bold;
    color: #697679;
}
.icon_strip .item a:hover {
    opacity: .8;
}
.boxes_wrap {
    position: relative;
    z-index: 1;
    margin-top: -70px;
    margin-bottom: 65px;
    padding-top: 30px;
    background: #fff;
}
.boxes_wrap .item {
    line-height: 1;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    height: 240px;
    padding: 0 20px;
    text-align: left;
    border: 1px solid #f00;

    -webkit-align-items: center;
    -ms-flex-align: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

/* home content box */

.content_boxes_wrap {
    padding-bottom: 80px;
}
.content_box {
    position: relative;
    height: 510px;
    margin-bottom: 35px;
    background: #f1eeee;
}
.content_box .caption {
    font-size: 18px;
    padding: 30px 45px 0;
}
.content_box .caption h3 {
    font-size: 28px;
    margin-bottom: 10px;
}
.angle_wrap {
    font-size: 35px;
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 14px;
    height: 24px;
    color: red;
}

/* map */

.map_wrap {
    position: relative;
    overflow: hidden;
}
#map_canvas {
    width: 100%;
    height: 425px;
}
.info_window {
    min-height: 60px;
    padding-top: 20px;
}
.map .filter {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    height: 85px;
    padding: 0 20px;
    background: #f1eeee;

    -webkit-align-items: center;
    -ms-flex-align: center;
}
.map .filter .caption {
    font-size: 28px;
    padding: 0 0 0 30px;
}
.map .filter select {
    font-size: 18px;
    line-height: 46px;
    width: auto;
    width: 250px;
    max-width: 100%;
    height: 46px;
    margin-left: 30px;
    padding: 0 60px 0 40px;
    border: 1px solid #cecece;
    background: url(img/bg-select.jpg) #fff right 20px center no-repeat;
}

/* single and page - singluar.php */

#sidebar {
    float: left;
    width: 22%;
    max-width: 240px;
    margin-top: -15px;
}
#content {
    float: right;
    width: 77%;
    max-width: 800px;
}
article {
    font-size: 14px;
    margin-bottom: 60px;
    text-align: justify;
}
.gallery .image_wrap {
    margin-bottom: 20px;
}
a.back {
    font-size: 14px;
    float: right;
}

/* sidebar menu */

#navigation ul li a,
.menu_wrap ul li a {
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
}
#navigation ul li a:hover,
.menu_wrap ul li a:hover {
    color: #f82627 !important;
}
.menu_wrap ul li a {
    transition: all 200ms ease;
}
.menu_wrap ul li.menu-item-has-children > a,
.menu_wrap ul:not(.sub-menu) > li > a {
    font-size: 20px;
    font-weight: bold;
    padding: 20px 0;
    color: #697679;
}
.menu_wrap ul li.menu-item-has-children:first-child > a {
    padding-top: 0;
}
.menu_wrap ul li.menu-item-has-children.current-menu-item > a,
.menu_wrap ul li.menu-item-has-children.current-menu-parent > a {
    padding-bottom: 0;
    border-bottom: none;
}
.menu_wrap ul li > a {
    display: block;
    border-top: 1px solid #d5d5d5;
}
.menu_wrap ul li:first-child a {
    border-top: none;
}
.menu_wrap ul li ul.sub-menu {
    display: none;
    padding-left: 65px;
}
.menu_wrap ul li.current-menu-item ul.sub-menu,
.menu_wrap ul li.current-menu-parent ul.sub-menu {
    display: block;
}
.menu_wrap ul li ul.sub-menu li a {
    font-size: 18px;
    padding: 5px 0;
    border-top: none;
    border-bottom: 1px solid #d5d5d5;
}
.menu_wrap ul li ul.sub-menu li:first-child a {
    border-top: 1px solid #d5d5d5;
}
.menu_wrap ul li ul.sub-menu li:last-child a {
    padding-bottom: 15px;
    border-bottom: none;
}
.menu_wrap ul li ul.sub-menu li.current-menu-item a,
.menu_wrap ul li ul.sub-menu li a:hover {
    color: #f32a29;
}

/* contact page - template-contact.php */

.before_cf_content {
    margin-bottom: 20px;
}
.page-template-template-contact .cf_wrap {
    max-width: 360px;
}
.page-template-template-contact .cf_wrap .input_wrap {
    margin-bottom: 20px;
}
.page-template-template-contact .cf_wrap input,
.page-template-template-contact .cf_wrap textarea {
    line-height: 33px;
    height: 33px;
    padding: 0 10px;
    border: 1px solid #d5d5d5;
}
.page-template-template-contact .cf_wrap textarea {
    line-height: 1.3;
    height: 160px;
    padding: 10px;
}
.page-template-template-contact .cf_wrap input[type='submit'] {
    color: #fff;
    background: #ee2e24;
}

.credit_row {
    padding-top: 10px;
    text-align: center;
}
a.credit {
    display: inline-block;
    padding: 10px;
    color: #fff;
    border-radius: 5px;
}
div#pagebanner img {
    max-width: 100%;
    display:block;
}
