﻿html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  outline: none;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
body { font:13px/1.231 sans-serif; *font-size:small; }
html { overflow-y: scroll; }

* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

::-moz-selection{ background: #f6f1de;  text-shadow: none; }
::selection { background:#f6f1de; text-shadow: none; }


@font-face{
	font-family:'eft_eretshazvi';
	src:url('../fonts/eft_eretshazvi_1-webfont.woff') format('woff');
	font-weight:500;
}

@font-face{
	font-family:'SILEOTSR';
	src:url('../fonts/SILEOTSR.woff') format('woff');
	font-weight:500;
}

body::-webkit-scrollbar {
    width:8px;
	border:2px solid transparent;
}
 
body::-webkit-scrollbar-thumb {
  border-radius:10px;
  background-color:#000;
}

a:link,
a:visited,
a:active,
a:hover{
	color:#ffffff;
	text-decoration:underline;	
}

html, body, table, td{
	text-align:right;
	direction:rtl;
}

html, body{
	height:100%;
	width:100%;
	overflow:hidden;
	background:#fff;
}

html, body{
	color:#404040;
	font-family:Tahoma,Helvetica,Arial;
	font-size:10px;
}

body{
	overflow-y:auto;
	border-top:20px solid #012130;

	background-color: #013e63;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#013e63), to(#012130));
	background-image: -webkit-linear-gradient(top, #013e63, #012130);
	background-image:    -moz-linear-gradient(top, #013e63, #012130);
	background-image:     -ms-linear-gradient(top, #013e63, #012130);
	background-image:      -o-linear-gradient(top, #013e63, #012130);
	background-image:         linear-gradient(to bottom, #013e63, #012130);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#013e63', EndColorStr='#012130');
}

header{
	width:770px;
	height:140px;
	padding:20px 0 20px 0;
	margin:0 auto 0 auto;
}

header img{
	display:block;
	float:right;
	position:relative;
	width:80px;
	height:80px;
	margin:8px 0 0 20px;
	border-radius:15px;
	-webkit-box-shadow: 0px 0px 10px 0px #000;
	box-shadow: 0px 0px 10px 0px #000;
	transition: all .2s ease-in-out;
}

header h1{
	color:#f5f5f5;
	font-size:45px;
	font-family:Narkisim;
	font-weight:bold;
	margin:0 0 0 0;
}

header h2{
	color:#eee;
	font-size:28px;
	font-family:Narkisim;
	font-weight:normal;
	margin:0 0 0 0;
}

header a:link,
header a:visited,
header a:active,
header a:hover{
	position:relative;
	color:#ffffff;
	text-decoration:none;	
}

header a::after {
	content: "";
    position: absolute;
	left:0;
    right:0;
    bottom:1px;
	border-bottom:1px dotted #ddd;
}

header a:hover::after {
	border-bottom:1px solid #eee;
}

article{
	font-size:24px;
	line-height:130%;
	font-family:Narkisim;
	
	width:770px;
	padding:30px;
	margin:auto;
	border:10px solid #f6f1de;
	border-radius:10px;
	background:#fff;
}

.cantillation{
	color:#48370e;
	font-size:22px;
	line-height:160%;
	font-family: 'SILEOTSR', sans-serif;
}

article h2,
article h3{
	font-size:34px;
	font-weight:bold;
	margin:0 0 5px 0;
}

article h2 span,
article h3 span{
	font-size:20px;
	font-weight:normal;
	opacity:0.7;
}

article h3 span strong{
	
}

article section{
	text-align:justify;
	margin:0 0 30px 0;
}

article span{
	font-size:18px;
	font-weight:normal;
	opacity:0.6;
}

article strong{
	font-weight:bold;
}

article .clsTextComment{
	font-size:70%;
	font-family:Arial;
	line-height:130%;
	text-align:center;
	padding:10px 0 10px 0;
}


.clsAnchors{
	clear:both;
	font-size:18px;
	font-family:Narkisim;
	font-weight:bold;
	text-align:center;
	padding:10px 0 15px 0;
}

.clsAnchors a:link, .clsAnchors a:visited, .clsAnchors a:active, .clsAnchors a:hover{
	display:inline-block;
	color:#00273d;
	line-height:13px;
	text-decoration:none;
	padding:4px 6px 4px 6px;
	margin:0 0 5px 5px;
	border-radius:3px;
	background-color:#e7dcb5;
}

.clsAnchors a:hover{
	color:#ffffff;
	background-color:#00273d;
}

.clsBackToTop{
	font-size:11px;
	font-family:"Arial Hebrew",Arial;
	font-weight:bold;
	text-align:left;
	margin:0 0 10px 0;
}
footer{
	color:#fff;
	font-size:11px;
	
	width:770px;
	padding:15px;
	margin:auto;
}

footer .clsCopyright{
	float:left;
	position:relative;
	top:-2px;
	line-height:15px;
}

/*********************************************************************/
@media all and (max-width: 768px) {
	header, article, footer{
		width:auto;
		margin-left:20px;
		margin-right:20px;
	}
}

/*********************************************************************/
@media all and (max-width: 640px) {
	
	header{
		height:auto;
		width:auto;
		padding:10px 0 15px 0;
		margin-left:20px;
		margin-right:20px;
		
	}

	header h1{
		font-size:32px;
	}

	header h2{
		font-size:20px;
	}

	header img{
		width:55px;
		height:55px;
		margin:6px 0 0 15px;
	}

	article{
		width:auto;
		font-size:22px;
		padding:20px;
		margin:0;
		border:0 none;
		border-radius:0;
	}

	article h3{
		font-size:26px;
	}

	article h3 span{
		display:block;
		font-size:16px;
	}

	article span{
		font-size:18px;
	}

	article .clsTextComment{
		font-size:70%;
		line-height:130%;
	}

	footer{
		color:#fff;
		font-size:9px;
	}

	footer .clsCopyright{
		float:none;
		line-height:8px;
	}

	footer .clsCredits{
		margin-top:15px;
	}

}