/* ==========================================================================
   HTML5 Boilerplate
   ========================================================================== */

/* Reset
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; overflow-y: scroll; }
html, button, input, select, textarea { font-family: arial, sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #d88fa3; color: #fff; text-shadow: none; }
::selection { background: #d88fa3; color: #fff; text-shadow: none; }

a { color: #2e88e2; }
/*a:visited { color: #551a8b; }*/
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 40px 0 0; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }

/* ==========================================================================
   Author styles: Lavi Perchik
   ========================================================================== */

h2, h3, p, figure {
  margin: 0 0 14px;
}
h2, h3 {
  font-weight:normal;
}
h2 {
  color: #555;
  font-size: 28px;
}
h3 {
  color:#777;
  font-size: 21px;
}

/* Structure styles
   ========================================================================== 
 *
 * Width of entire page is 980px
 *
 */

body { 
  background: rgb(216, 213, 204);
}

.container {
  margin: 0 auto 28px;
  max-width: 980px;
  background: #fff; /* Body has a background, so we need to set background of the content area to white */
  box-shadow: 0 3px 10px #999;
}

/* Header 
   ========================================================================== 
 * <header class="banner">
 *  <h1><a id="logo" class="ir" href="index.html">מירה זלמנוביץ' - ריפוי טבעי בעזרת נטורופתיה</a></h1>
 * </header>
*/

.banner {
  background: url('../img/bg.png') no-repeat; /* Flowers image */
  height: 250px; /* Height of image */
  padding: 0 14px; /*.banner, .main and .copy have horizontal padding of 14px */
}

.banner h1 {
  padding-top: 160px; /* Padding top - to move the logo down */
  margin: 0;
}

#logo {
  background: url('../img/logo.png') no-repeat; /* An image with the text: מירה זלמנוביץ' - ריפוי טבעי בעזרת נטורופתיה */
  width: 311px;
  height: 75px;
}

/* Navigation
   ========================================================================== 
 * <nav class="top_menu">
 *   <ul class="clearfix">
 *     <li><a href="index.html" id="current">דף הבית</a></li>
 *     <li><a href="netropatia.html">מהי נטורופתיה?</a></li>
 *     <li><a href="shitot.html">שיטות הטיפול שלי</a></li>
 *     <li><a href="contact.html">צור קשר</a></li>
 *   </ul>
 * </nav>
 */

.top_menu ul {
  border-top: 1px solid #fff; 
  background: rgb(240, 218, 148);  /* Background of the entire navigation bar */
}
.top_menu li {
  float: right;
  border-left: 1px solid rgb(240, 218, 148);
}
[lang=en-US] .top_menu li {
  float: left;
  border-right: 1px solid #fff;
  border-left: none;
}
.top_menu a {
  display: block; /* Vertical padding is weird without display: block */
  padding: 10px 20px;
  color: #000;
  text-decoration: none;
  
}
.top_menu a:hover {
  background: #d3ebff;
  color: #000; /*override a:hover defined in boilerplate reset*/
}
#current {
  background: #fff; /* Special style to current page on navigation menu */
}
.event {
  width: 100%;
  -webkit-box-shadow: 3px 3px 3px 0px rgba(150,150,150,1);
  margin-bottom: 15px; border: 1px solid lightgray;
  -moz-box-shadow: 3px 3px 3px 0px rgba(150,150,150,1);
  padding: 5px;
}
.event td {width: auto;}

/* Column layout
   ========================================================================== 
 * <section class="main clearfix">
 *   <article class="content">
 *     <div class="text">
 *     </div>
 *   </article>
 *   <aside class="sidebar"></aside>
 * </section>
 * <footer class="copy"></footer>
 *
 *                       .main padding: 28px (14*2)
 *                            .content: 658px
 *                            .sidebar: 280px
 *   gap between .content and .sidebar: 14px
 *                                      ------
 *                    .container width: 980px
 *
 */
.main {
  padding: 2.857142857% 1.428571429%; /*.banner, .main and .copy have horizontal padding of 14px */
  
}
.content {
  width: 69.11764706%;
  float: right;
}
[lang=en-US] .content {
  width: 69.11764706%;
  float: left;
}
.text {
  max-width: 538px;
}
.text img{
 max-width:100%;
 width:auto;
 height:auto;
}
iframe{
width:100%;
}
.sidebar {
  float: left;
  width: 29.41176471%;
}
[lang=en-US] .sidebar {
  float: right;
  width: 29.41176471%;
}
.content ul{
  list-style-type: none;
  padding-right: 10px;
}
.content li{
  padding-right: 22px;
  background :url('../img/flower.png') right no-repeat;
}

/* inside .text */
figure {
  background: #eee;
  text-align: center;
  border: 1px solid #ddd;
  padding: 2.602230483% 1.301115242% 0;
}
figcaption {
  padding: 7px;
  font-size: 14px;
  color: #666;
}

/* inside .sidebar */
.sidebar h3 {
  border-bottom: 1px solid #ccc;
  margin-bottom: 13px;
}
.sidebar img {
  float: right;
  margin: 3px 0 7px 14px;
}

/* Footer
   ========================================================================== */
   footer img {
  float: right;
  margin: 3px 0 7px 14px;
  width: 23%;
}
footer {
	width: 100%;
	padding-right: 10px;
	
}
   
.copy {
	clear: both;
  padding: 14px; /*.banner, .main and .copy have horizontal padding of 14px */
  border-top: 1px solid #ddd;
  color: #777;
  background: rgb(216, 213, 204);
}

/* Contact form
   ========================================================================== */

form{
  margin-top:-7px;
}
input[type=text] {
  max-width: 200px;
  height: 26px;
}
textarea {
  max-width: 400px;

}
input[type=text], textarea {
  width:100%;
  webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #A7CBF0;
  padding: 3px;
  color: #555;
  background: #fff;
}
input[type=text]:focus, textarea:focus {
  background: #e4f3ff;
  outline: none;
}
label {  
  display: block; /* Keep every label in it's own line */
}

/* Submit button */
input[type=submit] {
  color: #fff;
  width: 250px;
  margin-top: 7px;
  padding: 5px;
  border: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
  box-shadow: 0 1px 2px rgba(0 ,0, 0, 0.5);
  cursor: pointer; /* Make cursor look clickable (a pointing hand instead of the default arrow) */
  background: #51a8ff; 
}

input[type=submit]:hover {
  background: #65b2ff; 
}

input[type=submit]:active {
  background: #427bbc; 
  box-shadow: inset 0 1px 2px rgba(0 ,0, 0, 0.5);
}

/* media queries
   ========================================================================== */
@media screen and (max-width: 600px) {
  .content, .sidebar {
    width: auto;
    float: none;
  }
}
@media screen and (max-width: 470px) {
  .top_menu a {
    padding:10px;
  }
}
@media screen and (max-width: 380px) {
  .top_menu ul {
    /* border-bottom: 10px solid #B1DCFF; */}
    .banner {
    padding: 0;
    height: 110px;
  }
  .banner h1 {
    padding: 20px 0 0;
  }
  #logo {
    margin: auto;
  }
   .top_menu li {
    width:50%;
    border-left: none;
    border-bottom: 1px solid #fff;
    text-align: center;
  }
  }
  @media screen and (max-width: 311px) {
  #logo {
    width: 100%;
    background-size: 100%;
    background-position: 0 bottom;
  }
}
@media screen and (max-width: 290px) {
  .top_menu li {
    width:auto;
    float:none;
  }
  .top_menu ul {
    border-bottom: 10px solid #B1DCFF;}

 
}

/* Helper Classes
   ========================================================================== */

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

/* Print Styles
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } 
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } 
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } 
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}