/*! normalize.css v1.0.0 | MIT License | git.io/normalize */
article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}html,button,input,select,textarea{font-family:sans-serif}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}h2{font-size:1.5em;margin:.83em 0}h3{font-size:1.17em;margin:1em 0}h4{font-size:1em;margin:1.33em 0}h5{font-size:.83em;margin:1.67em 0}h6{font-size:.75em;margin:2.33em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}blockquote{margin:1em 40px}dfn{font-style:italic}mark{background:#ff0;color:#000}p,pre{margin:1em 0}code,kbd,pre,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:75%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}dl,menu,ol,ul{margin:1em 0}dd{margin:0 0 0 40px}menu,ol,ul{padding:0 0 0 40px}nav ul,nav ol{list-style:none;list-style-image:none}img{border:0;-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}figure{margin:0}form{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0;white-space:normal;*margin-left:-7px}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;*overflow:visible}button[disabled],input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;*height:13px;*width: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-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}
@font-face {
  font-family: 'Alef Hebrew';
  font-style: normal;
  font-weight: 400;
  src: url(fonts/Alef-Regular.eot);
  src: url(fonts/Alef-Regular.eot?#iefix) format('embedded-opentype'),
       url(fonts/Alef-Regular.woff2) format('woff2'),
       url(fonts/Alef-Regular.woff) format('woff'),
       url(fonts/Alef-Regular.ttf) format('truetype');
}
@font-face {
  font-family: 'Alef Hebrew';
  font-style: normal;
  font-weight: 700;
  src: url(fonts/Alef-Bold.eot);
  src: url(fonts/Alef-Bold.eot?#iefix) format('embedded-opentype'),
       url(fonts/v4/Alef-Bold.woff2) format('woff2'),
       url(fonts/Alef-Bold.woff) format('woff'),
       url(fonts/Alef-Bold.ttf) format('truetype');
}

.clear {
	float:none;
	clear:both;
}
.wrapper {
	width:960px;
	margin:auto;
	direction: rtl;
	font-family: Alef Hebrew;
	font-weight: 400;
}
header {
	padding:5px 0;
}

#logo {
	background: url('http://www.yaniveitan.co.il/wp-content/uploads/2014/07/Yaniv1.jpg') no-repeat;
	width:200px;
	height:65px;
	display:inline-block;
	float:right;
}
.tel {
	float:left;
	position:relative;
	top:10px;
	font-size:13pt;
}
.gallery img{
    max-width:960px;
	
}
.main-wrapper {
	margin-top:5px;
	border:4px solid #d2d2d2;
	padding: 5px;
	background: #232121;
	color:#d3d3d3!important;
}

.main {
	border: 1px solid #9c9c9c!important;
	padding:15px!important;
}

.content {
	width:665px;
	display: table-cell;
	vertical-align: top;
	padding: 0 30px 0 60px;
}
.content h2  {
	margin:0!important;
	font-size:1.8em;
}
.hr {
	background: #232121;
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIxJSIgc3RvcC1jb2xvcj0iIzIzMjEyMSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkM2QzZDMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left,  #232121 1%, #d3d3d3 100%);
background: -webkit-gradient(linear, left top, right top, color-stop(1%,#232121), color-stop(100%,#d3d3d3));
background: -webkit-linear-gradient(left,  #232121 1%,#d3d3d3 100%);
background: -o-linear-gradient(left,  #232121 1%,#d3d3d3 100%);
background: -ms-linear-gradient(left,  #232121 1%,#d3d3d3 100%);
background: linear-gradient(to right,  #232121 1%,#d3d3d3 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#232121', endColorstr='#d3d3d3',GradientType=1 );
width:103%!important;
height:2px!important;
margin:5px auto!important;
}
.form {
	width:255px;
	display: table-cell;
	vertical-align: top;
	font-weight: 700;
}
.line-1, .line-3 {
	font-size:11pt!important;
	line-height:17pt!important;
}
.line-2 {
	font-size:17pt!important;
	line-height:17pt!important;
}
.form input[type='text'], .form textarea {
	background: #e2e2e0; color: #888886;
	padding:5px 3%;
	margin:5px auto;
	width:100%;
	border:none;
	outline:none;
}

.form input[type='submit'] {
	width:100%;
	padding:5px 0;
	color: #fbfbfb;
	border:none;
	outline:none;
	margin:5px auto 0 auto;
	background: #5f5a40;
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSI0OSUiIHN0b3AtY29sb3I9IiM1ZjVhNDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSI1MCUiIHN0b3AtY29sb3I9IiM1ZjVhNDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSI1MSUiIHN0b3AtY29sb3I9IiM5ZTk0NWIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top,  #5f5a40 49%, #5f5a40 50%, #9e945b 51%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(49%,#5f5a40), color-stop(50%,#5f5a40), color-stop(51%,#9e945b));
background: -webkit-linear-gradient(top,  #5f5a40 49%,#5f5a40 50%,#9e945b 51%);
background: -o-linear-gradient(top,  #5f5a40 49%,#5f5a40 50%,#9e945b 51%);
background: -ms-linear-gradient(top,  #5f5a40 49%,#5f5a40 50%,#9e945b 51%);
background: linear-gradient(to bottom,  #5f5a40 49%,#5f5a40 50%,#9e945b 51%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5f5a40', endColorstr='#9e945b',GradientType=0 );
}

footer a {
    display:block;
    text-decoration: none;
    color:#222;
	text-align:left;
	margin: 10px auto;
	font-size:13pt;
}



@media screen and (max-width: 760px) {
   .wrapper {
        width:100%;
        min-width:480px;
    }    
    .content {
        width:auto;
        display:block;
    }
    .form {
        display:block;
        margin:auto;
    }
    .gallery img {
        margin:auto;
        display:block;
        /*position:relative;
        right:50%;
        margin-right:-480px;*/
        width:100%;
    }
}