/*
Theme Name: מ.ש.מ מכוניות משרד
Description: The 2013 default theme for WordPress.
Author: MM
Version: 1.0*/
/********     RESET************/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;}/* HTML5 display-role reset for older browsers */article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {	display: block;}body {	line-height: 1;}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;}

body {
    margin: 0px;
    background-color: #D1D1D1;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px; 
    direction: rtl;
}

.tinynav { display: none; padding: 10px; }

/*
.three.columns.scroller_holder {
    width:215px;
    float: right;
    margin-left: 30px;
    padding-top: 10px;
}
*/
.scroller_holder {
    width: 215px;
    float: right;
    margin-left: 30px;
    padding-top: 10px;
    position: relative;
    right: -5px;
    top: -1px;
}

.logo_container {
    width: 250px;
    float: right;
    padding-top: 94px;
    position: relative;
    right: -41px;    
}

.six.columns.watch_holder {
    width: 380px;
    float: left;
    padding: 0;
}

.scroller_container {
    background: #d23017;
    border:1px solid #FFF;
    width:100%;
    height: 210px;
    overflow: hidden;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

#scroller {
    color:#FFF;
    font-size: 12px;
}

#scroller .content {
    padding: 0 20px;
    line-height: 16px;
}

.ticker_block_header {
    width: 100%;
    height: 50px;
}

.ticker_title {
    font-size: 16px;
    font-weight: bold;
    color: #FFF;
    height: 33px;
    margin-top: 20px;
    float: right;
}

label.header_search_label {
    float: right;
    margin-left: 3px;
}

h1 {
    font-size: 2em;
    font-weight: bold;
}

h2 {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
}

span.screen-reader-text {
    float: right;
    line-height: 23px;
    margin-left: 5px;
}

input.search_field {
    width: 130px;
    height: 23px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #000;
    border: 1px solid #C0BEBE;
    float:left;
    -webkit-appearance: none;
}

input.search_button {
    background-color: #B91700;
    border: 1px solid #CDCDCD;
    color: #FFF;
    height: 22px;
    width: 60px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
    -webkit-appearance: none;
}

.news_button {
    float: right;
    padding: 10px 10px 10px 5px;
}

.header_wrapper {
    background: url(images/hp_top_center.jpg) no-repeat left top;
}

.header_container {
    border-bottom:1px dotted #7d7d7d;
    width:100%;
}

.sidebar_holder {
    max-width: 205px;
    margin-left: 20px;
    margin-top: 20px;
    margin-right: 5px;
    float: right;
    height: 400px;
    width: 100%;
}

.row.bg_holder {
    background: #FFF url(images/home_container_bg.jpg) repeat-x top right;
}

.main_container_holder {    
    float: right;
    max-width: 760px;
    width: 100%;
    line-height: 16px;
    padding-bottom: 55px;
}

.main_container_holder p {
    margin-bottom:1em;
}

.main_container_holder ul {
    list-style-type: disc;
    padding-right: 40px;
}

.main_container_holder ul li {
    margin-bottom: 5px;
}

.page_title {
    color: #F00;  
    padding-bottom: 25px; 
    padding-top: 50px;
}

strong, b {
    font-weight: bold;
}

.mod_contact_form {
    width: 188px;
    float: left;
    margin-left: 10px;
    margin-right: 10px;
    background: #CDC9C8;
    border:1px solid #FFF;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom:20px;
    -webkit-box-shadow: 2px 1px 4px 1px rgba(0, 0, 0, 0.5);
    box-shadow: 2px 1px 4px 1px rgba(0, 0, 0, 0.5);    
}

.mod_contact_form label {
    float: right;
    font-size:12px;
    height: 30px;
}

.mod_contact_form form {
    margin: 0 15px;
}

.mod_contact_form input {
    height: 20px;
    width: 130px;
    margin: 0px;
    padding: 1px;
    border: 1px solid #606060;
    vertical-align: top;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #000;
    outline: none;
    float: left;
}

#send {
    background-color: #AF1F0A;
    color: #FFF;
    height: 22px;
    width: 60px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 12px;
    float: left;
    cursor: pointer;
    text-align: center;
    margin-bottom: 10px;
    margin-left: 35px;
}

.form_header {
    color: #454545;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin: 5px 0 10px 0;
    width:100%
}

span.mail_icon {
    display: block;
    float: right;
    width:32px;
    height: 32px;
    margin-right:10px;
}

.cf_title {
    float: right;
    margin-right: 10px;
    margin-top: 6px;
}

.footer_address,
.footer_hours {
    font-size:15px;
    line-height: 18px;
    text-align: right;
    margin-right: 225px;
}

.footer_address a,
.footer_hours a { 
    color: #000;
    text-decoration: underline;
}

.row.footer {
    width:100%;
    max-width: 990px;
    min-height: 104px;
    padding-top: 20px;
    background: url(images/footer_bg.jpg) no-repeat top right;
    margin: 0;
}

.footer_wrapper {
   
}

ul li ul, ul li ol {
    margin-right: 0px;
}

.shadow_container {
    width: 100%;
    max-width: 990px;
    margin: 0 auto 100px auto;
    -webkit-box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.5);    
}

ul.sidebar ul.menu li a {    
    color: #000;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-align: right;
    padding: 4px 10px 2px 26px;
    width: 100%;
    height: 100%;
    outline: 0; 
    display: block;
}

ul.sidebar ul.menu li {
    width:100%;
    float: none; 
    margin-bottom: 4px; 
    position: relative;    
}

ul.sidebar ul.menu li a {
    background-image: -webkit-gradient(
    	linear,
    	left top,
    	left bottom,
    	color-stop(0.57, #ECEAEB),
    	color-stop(1, #D1CDCC)
    );
    background-image: -o-linear-gradient(bottom, #ECEAEB 57%, #D1CDCC 100%);
    background-image: -moz-linear-gradient(bottom, #ECEAEB 57%, #D1CDCC 100%);
    background-image: -webkit-linear-gradient(bottom, #ECEAEB 57%, #D1CDCC 100%);
    background-image: -ms-linear-gradient(bottom, #ECEAEB 57%, #D1CDCC 100%);
    background-image: linear-gradient(to bottom, #ECEAEB 57%, #D1CDCC 100%);
    padding: 4px 10px 4px 0;
    display: block;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;    
    border: 1px solid #B4B0B1;      
}

ul.sidebar ul.menu li a:hover {
    background-image: -webkit-gradient(
    	linear,
    	left top,
    	left bottom,
    	color-stop(0.57, #FAFAFA ),
    	color-stop(1, #D1CDCC)
    );
    background-image: -o-linear-gradient(bottom, #FAFAFA  57%, #D1CDCC 100%);
    background-image: -moz-linear-gradient(bottom, #FAFAFA  57%, #D1CDCC 100%);
    background-image: -webkit-linear-gradient(bottom, #FAFAFA  57%, #D1CDCC 100%);
    background-image: -ms-linear-gradient(bottom, #FAFAFA  57%, #D1CDCC 100%);
    background-image: linear-gradient(to bottom, #FAFAFA  57%, #D1CDCC 100%); 
}

ul.sidebar ul.menu li:hover {
    background: #F3F3F3;
}

#scroller .content a {
    color: #FFF;
}
#scroller .content a:hover {
    color:#ececec;
}

.main_content_container.single_page {
    padding-left: 100px;
}

.page_title.title {
    font-size: 18px;
    color: #D41603;
}

a.totop {
    color: #D41603;
    text-decoration: underline;
    text-align: center;
    margin-top: 20px;
    display: block !important;    
    clear: both;
}
.archive_title {
    background-color: #E9E8E8;
    height: 30px;
    color: #000;
    font-weight: bold;
    font-size: 12px;
    line-height: 30px;
    padding-right: 5px;    
}

.archive_title a {
    color: #000;
}
.archive_title a:hover {
    color: #000;
    text-decoration: underline;
}

.arch_text {
    float: right;
    margin-left: 10px;
    width: 66%;
    max-width: 436px;
}

.post_text {
    float: right;
    margin-left: 10px;
    width: 90%;
}

.arch_thumb {
    float: left;
    width: 210px;
    min-height: 210px;
    height: auto;
    margin-top: 5px;
    margin-bottom: 5px;
}

.archive_description {
    margin-bottom: 20px;
}

.single_thumb_img {
    float: left;
    max-width: 200px;
    margin-right: 10px;
}

.main_content_container.archive_page {
    padding-left: 20px;
}

.posts_title a {
    text-align: right;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

.posts_title a:hover {
    color: #D41603;
}
.post_preview {
    width:100%;
    margin: 50px 0;
}

.read_more {
    float: left;
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #000;
    font-weight: normal;
    text-decoration: none;    
}

ul.sub-menu {
    display: none;
    margin-top: 5px;
}

ul.sidebar ul.menu li ul.sub-menu li a {
    background: #F8F8F8 url(images/red_arrow.jpg) no-repeat 98% 45%;
}

ul.sidebar ul.menu li ul.sub-menu li a {
    padding-right: 20px;
    color: #585858;
}

ul.sidebar ul.menu li ul.sub-menu li:hover a {
    color:#000;
    background-image: -webkit-gradient(
     linear,
     left top,
     left bottom,
     color-stop(0.57, #ECEAEB),
     color-stop(1, #D1CDCC)
     );
    background-image: -o-linear-gradient(bottom, #ECEAEB 57%, #D1CDCC 100%);
    background-image: -moz-linear-gradient(bottom, #ECEAEB 57%, #D1CDCC 100%);
    background-image: -webkit-linear-gradient(bottom, #ECEAEB 57%, #D1CDCC 100%);
    background-image: -ms-linear-gradient(bottom, #ECEAEB 57%, #D1CDCC 100%);
    background-image: linear-gradient(to bottom, #ECEAEB 57%, #D1CDCC 100%);     
}

.main_page_content {
    width: 100%;
}

.main_contact_form_holder input {
    margin: 0 0 5px 0;
    padding: 1px;
    border: 1px solid #606060;
    vertical-align: top;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #000;   
    height: 20px;
}

.main_contact_form_holder textarea {
    height: 100px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #000;
    border: 1px solid #606060;
}

.main_contact_form_holder .wpcf7-file {
    border:0;
}

.mobile_footer {
    display: none;
    background: #FFF;
    border-top: 3px solid #F00;
}

.mobile_footer li {
    float: right;
    width: 25%;
    border-left: 2px solid #F00;
}

.mobile_footer li:last-child {
    border-left:0;
}

.mobile_footer li a {
    color: #000;
    font-size:14px;
    text-align: center;
    padding: 10px 4px;
    display: block;
}

.mobile_menu {
    text-align: center;
    margin: 10px 0;
    display: none;
}

.mobile_menu a {
    color:#000;
    font-weight: bold;
    font-size:16px;
    background-image: -webkit-gradient(
    	linear,
    	left top,
    	left bottom,
    	color-stop(0.57, #ECEAEB),
    	color-stop(1, #D1CDCC)
    );
    background-image: -o-linear-gradient(bottom, #ECEAEB 57%, #D1CDCC 100%);
    background-image: -moz-linear-gradient(bottom, #ECEAEB 57%, #D1CDCC 100%);
    background-image: -webkit-linear-gradient(bottom, #ECEAEB 57%, #D1CDCC 100%);
    background-image: -ms-linear-gradient(bottom, #ECEAEB 57%, #D1CDCC 100%);
    background-image: linear-gradient(to bottom, #ECEAEB 57%, #D1CDCC 100%);
    padding: 4px 10px 4px 0;
    display: block;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;    
    border: 1px solid #B4B0B1;    
}

.row.buttons_holder {float: right;width: 100%;max-width: 460px;}
.row.buttons_holder img{max-width:100%;}
.big_button {width: 100%;max-width: 230px;float: right;height: 70px;}

.mobile .scroller_holder {
    width: 215px;
    float: none;
    padding-top: 10px;
    margin: auto !important;
    position: relative;
    right: auto;
} 

/***************
        MOBILE
    ****************/
.mobile{display:none;}      
@media only screen and (max-width: 1008px) {
    .header_wrapper {background:none;}
    .sidebar_holder {height:auto; max-width:25%; width:25%;}
    .main_container_holder {max-width: 70%; width: 70%;}
    .page_title {line-height: 100%;}
    .six.columns.watch_holder {display: none;}
    .three.columns.logo_container {padding-top: 30px;}
    .three.columns.scroller_holder {padding-bottom: 10px;}
    .footer_address, .footer_hours {margin: 0 0 20px 0; text-align: center;}
    .row.footer {background: #FFF;}
    .shadow_container {margin: 0 auto 30px auto;}
    .main_content_container.single_page {padding: 10px;}
    .logo_container{right:0;}
}         
        
@media only screen and (max-width: 650px) {
    .mobile{display:block;}
    .desktop{displaY:none;}
    input.search_field{
        floaT:none;
    }
    .search-form{
        text-align:center;
    }
    .watch_container{display:none;}
    .logo_container{padding-top:0;}
    .search_form_holderPtext-align:center;
    input.search_button{float:right;}
    .six.columns.watch_holder {display:none;}
    .sidebar_holder {max-width: 98%; margin-top:10px; height: auto;}
    .three.columns.scroller_holder {display: none;}
    .three.columns.logo_container {padding-top: 2px; text-align: center; width:100% !important;}
    ul.sidebar ul.menu li {margin-bottom: 6px;}
    ul.sidebar ul.menu li a {padding: 8px 10px 8px 0;}
    label.header_search_label {display: inline-block; float: none;}
    .row.bg_holder {padding: 0 5px;}
    .logo_container{width:100%;text-align:center;}
    .page_title {line-height: 100%; padding-top: 10px;}
    .row.footer {background: #FFF;}
    .footer_address, .footer_hours {margin: 0 0 20px 0; text-align: center;}
    span.screen-reader-text {display: none;}
    .sidebar_holder {height:auto; max-width:98%; width:98%;}
    .main_container_holder {max-width: 98%; width: 98%;} 
    .arch_thumb {text-align: center; width:100%; margin-bottom:10px;} 
    .main_content_container.archive_page {padding: 10px;}  
    .tinynav { display: block; margin-bottom: 10px; -webkit-appearance: button;}
    #menu-main-menu { display: none }
    .arch_text {width:100%;}
    .twelve.columns.search_form_holder {display: none;}
    .mobile_footer {
        display: block;
        position: fixed;
        width:100%;
        bottom: 0;
        left:0;
        height: auto;
    }
    .single_thumb_img {float: none; margin: 0 auto;}
    .mobile_menu {display: block;}
}    

@media only screen and (max-width: 480px) {
    .mod_contact_form {margin:0 auto; float:none;}
    .big_button {margin:0 auto; float: right; width:49%;}
    .row.buttons_holder {margin-right: 2%; width:98%;}
}
.main_container_holder a{
    color:#000;
    text-decoration:underline;
}