@charset "utf-8";

* {
	margin: 0;
	padding: 0;
    outline: 0;
}

body {
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	background-color: #222;
}

#content {
	width: 80%;
	margin-right: auto;
	margin-left: auto;
	display: block;
}

#headerWrapper {
	width: 100%;
	padding: 20px;
	background-color: #000;
}

.header {
	font-size: 72px;
	font-weight: bold;
	color: #FFF;
	text-decoration: none;
}

ul#MainMenu {
	margin-left: 0;
	padding-left: 0;
	white-space: nowrap;
	float: right;
}

#MainMenu li {
	display: inline;
	list-style-type: none;
}

#MainMenu a {
	padding: 3px 10px;
}

#MainMenu a:link, #MainMenu a:visited {
	color: #CCC;
	text-decoration: none;
}

#MainMenu a:hover {
	color: #fff;
	background-color: #8ab0e6;
	text-decoration: none;
}

#Shadow {
	width: 100%;
	height: 15px;
	background-repeat: no-repeat;
	background-position: center 50%;
	background-image: url(Assets/nav_shadow.png);
}
.shadow {
    margin-bottom: 15px;
}
.shadow::after {
    content: '';
    display: block;
    position: relative;
    bottom: -35px;
	width: 100%;
	height: 15px;
	background: transparent url(Assets/nav_shadow.png) center top no-repeat;
}

#mainPage {
	background-color: #000;
	width: 100%;
	padding: 20px;
	color: #FFF;
	background-image: url(/Assets/rashi.png);
	background-repeat: repeat-y;
	background-position: right top;
}

#mainPage > p {
	margin-bottom: 0.5em;
	line-height: 1.5em;
}

#mainPage > p:first-letter {
	font-size: 2em;
}

#mainPage blockquote {
	margin-left: 60px;
	margin-bottom: 0.5em;
}

[lang="he"] #mainPage blockquote {
	margin-right: 60px;
}

#mainPage blockquote p::before {
  content: open-quote;
}

#mainPage blockquote p::after {
  content: close-quote;
}

#mainPage blockquote::before {
    content: url(Assets/cite.png);
	position: relative;
	top: 1em;
	left: -60px;
}

[lang="he"] #mainPage blockquote::before {
    content: url(Assets/cite.png);
	position: relative;
	top: 1em;
    left: auto;
	right: -60px;
}
#mainPage h6 {
	position: relative;
	left: 75%;
	font-size: 16px;
	font-weight: normal;
	margin-bottom: 1em;
}

#mainPage h6::before {
    content: url(Assets/curly_left.png);
	position: relative;
	top: 10px;
}

#mainPage h6::after {
    content: url(Assets/curly_right.png);
	position: relative;
	top: 10px;
}

.textalignright {
	text-align: right;
}

#mainPage h1 {
	color: #8ab0e6;
	margin-bottom: 1.5em;
}

#mainPage h2 {
	color: #FFF;
	text-indent: 2em;
	font-style: italic;
	font-size: large;
	margin-bottom: 0.75em;
}

#mainPage h3 {
	color: #8ab0e6;
	margin-bottom: 0.75em;
}

#mainPage a {
	color: #8ab0e6;
}

#homeslide {
	height: 450px;
	width: 800px;
	margin-top: 5%;
	margin-right: auto;
	margin-bottom: 5%;
	margin-left: auto;
	border: 1px solid #FFF;
	-webkit-box-shadow: 0px 0px 12px 2px #FFF;
	box-shadow: 0px 0px 12px 2px #FFF;
}

#footer {
	background: #000;
	width: 100%;
	padding: 20px;
	color: #CCC;
	position: relative;
}

#footer p {
	font-size: 16px;
	font-weight: bold;
	display: inline;
	float: left;
}

#footer p b {
	font-weight: bold;
	font-size: 18px;
}

#footer .visita:before,
#footer .visita:after {
    content: " ";
    display: table;
}

#footer .visita:after {
    clear: both;
}

#footer .visita a {
    color: #8ab0e6;
    text-decoration: none;
}

#footer .visita a:hover {
    color: #8ab0e6;
    text-decoration: underline;
}

#footer .visita p {
    margin-left: 10px;
}

#footer[dir="rtl"] .visita p {
    margin-right: 10px;
}


#footer[dir="rtl"] p {
	float: right;
}

#footer #toolbox {
	display: inline;
}

#footer_badges {
    float: left;
}

#footer[dir="rtl"] #footer_badges {
    float: right;
}

#footer[dir="rtl"] #toolbox {
	float: right;
}

#footer #credit {
    float: right;
}

#footer #credit_he {
    float: left;
}

#footer #credit a img,
#footer #credit_he a img {
	border: 0;
}

.photo, .right {
	float: right;
}

[lang="he"] .photo, [lang="he"] .right {
	float: left;
}

.clear {
	clear: both;
}

a#inline {
    display: block;
    text-align: center;
    width: 120px;
    text-decoration: none;
    padding: 4px;
    border: 1px solid #8ab0e6;
    background: transparent;
    margin: 0 auto;
    border-radius: 4px;
}

a#inline:hover {
    background-color: #8ab0e6;
    color: #000;
}

#invito {
    width: 600px;
    height: 380px;
    background: url('quadri/invito.jpg');
    text-align: center;
    color: #FFF;
}

[lang="he"] #invito {
}

#invito > h1 {
    text-transform: uppercase;
    padding-top: 40px;
}