/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126   License: none (public domain)
*/

html, body, div, span, a, big, img, small,
b, u, i {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
        vertical-align: baseline;
}
body {
	line-height: 1;
}
/* end of reset */

body {
background: url(../images/general-images/wp_damask_146.png) fixed;
direction: auto;
}

.border {
background: url(../images/general-images/bord_mini_acanthus_020.png) repeat-x;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 94px;
z-index: 2;
}

.border-title {
font-family: "Times New Roman";
font-size: 45px;
color: #FFC;
position: fixed;
top: 27px;
width: 100%;
letter-spacing: 0.05ex;
word-spacing: 0.6ex;
text-align: center;
text-shadow: 1px -1px 0 gray;
z-index: 2;
}

.makegap {
margin-top: 70px;
}

.title-image {
text-align: center;
margin: 120px auto -85px;
}

.content-container {
background: url(../images/general-images/wp_moire_003.png) repeat;
text-align: center;
margin: 130px auto -60px;
padding: 10px 20px 85px;
width: 800px;
background-color: white;
border-top: 8px solid #ccc;
border-bottom: 8px solid #ccc;
border-top-left-radius: 50% 75px;
border-top-right-radius: 50% 75px;
border-bottom-right-radius: 50% 75px;
border-bottom-left-radius: 50% 75px;
}

.content-container::before {
  content: url(../images/general-images/flowers.png);
}

/* hebrew books pages */

.content-image-container {
text-align: center;
margin: 0 auto;
}

.content-image {
margin: 130px 0 -60px 0;
background-color: white;
border-top: 8px solid #ccc;
border-bottom: 8px solid #ccc;
border-top-left-radius: 50% 75px;
border-top-right-radius: 50% 75px;
border-bottom-right-radius: 50% 75px;
border-bottom-left-radius: 50% 75px;
}

/* end of hebrew books pages */

@font-face {
    font-family: 'Constantia';
    src: url('Constantia-Italic.woff2') format('woff2'),
        url('Constantia-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gentium Book Basic';
    src: url('GentiumBookBasic-Italic.woff2') format('woff2'),
        url('GentiumBookBasic-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

p {
font-family: "Constantia";
font-weight: normal;
font-style: italic;
width: 700px;
margin: 12px auto 10px;
font-size: 27px;
text-align: justify;
line-height: 1.40;
text-indent: 35px;
}

p+p {
font-family: "Gentium Book Basic";
font-weight: normal;
font-style: italic;
font-size: 25px;
width: 600px;
margin: 5px auto 10px;
text-align: justify;
line-height: 1.45;
text-indent: 25px;
}

p+p::first-letter {
font-size: 120%;
}

.indented-text {
width: 500px;
font-size: 26px;
}

.centered-text {
text-align: center;
font-size: 30px;
}

.centered-text::first-letter {font-size: 36px}

.centered-text big {font-size: 36px}

span {font-style: normal}

.divider {
margin: 20px auto 20px;
background-image: url(../images/general-images/bar.png);
width: 198px;
height: 31px;
}

/* navigation buttons */

.home-page-button,
.top-of-page-button,
.previous-page-button,
.next-page-button {
position: fixed;
right: 1%;
width: 125px;
height: 30px;
opacity: 1;
border-width: 2px;
border-style: solid;
border-color: #ddd;
border-top-left-radius: 50% 25%;
border-top-right-radius: 50% 25%;
border-bottom-right-radius: 50% 25%;
border-bottom-left-radius: 50% 25%;
box-shadow: 
   -10px 0px 0px 0px #ddd,
    10px 0px 0px 0px #ddd;
z-index: 2;
}

.home-page-button {
top: 109px;
background-image: url(../images/navigation-buttons/home-page-2.png);
}
.top-of-page-button {
top: 154px;
background-image: url(../images/navigation-buttons/top-of-page-2.png);
}
.previous-page-button {
top: 214px;
background-image: url(../images/navigation-buttons/previous-page-2.png);
}
.next-page-button {
top: 259px;
background-image: url(../images/navigation-buttons/next-page-2.png);
}

.home-page-button:hover,
.top-of-page-button:hover,
.previous-page-button:hover,
.next-page-button:hover {
opacity: 0.7;
}

/* Book Images */

.bookimage {
width: 600px;
height: 75px;
margin: 20px auto 10px;
}

.arvei-nachal {background-image: url(images/bookimages/arvei-nachal.png)}
.binyan-ariel {background-image: url(images/bookimages/binyan-ariel.png)}
.chalukei-avonim {background-image: url(images/bookimages/chalukei-avonim.png)}
.chanukas-hatorah {background-image: url(images/bookimages/chanukas-hatorah.png)}
.divrei-yair {background-image: url(images/bookimages/divrei-yair.png)}
.gevuros-shlomo {background-image: url(images/bookimages/gevuros-shlomo.png)}
.imrei-binah-2 {background-image: url(images/bookimages/imrei-binah-2.png)}
.imrei-shefer {background-image: url(images/bookimages/imrei-shefer.png)}
.imrei-shefer-2 {background-image: url(images/bookimages/imrei-shefer-2.png)}
.kerem-shlomo {background-image: url(images/bookimages/kerem-shlomo.png)}
.kli-chemdah {background-image: url(images/bookimages/kli-chemdah.png)}
.kli-yakar {background-image: url(images/bookimages/kli-yakar.png)}
.kol-eliyohu {background-image: url(images/bookimages/kol-eliyohu.png)}
.maamar-esther {background-image: url(images/bookimages/maamar-esther.png)}
.midrashic-mysteries {background-image: url(images/bookimages/midrashic-mysteries.png)}
.mikraos-gedolos {background-image: url(images/bookimages/mikraos-gedolos.png)}
.otzoros-dovid {background-image: url(images/bookimages/otzoros-dovid.png)}
.pesach-haggadah-kluger {background-image: url(images/bookimages/pesach-haggadah-kluger.png)}
.terumas-hadeshen-on-rashi {background-image: url(images/bookimages/terumas-hadeshen-on-rashi.png)}
.shemeinah-lachmoh {background-image: url(images/bookimages/shemeinah-lachmoh.png)}
.talmud-bavli {background-image: url(images/bookimages/talmud-bavli.png)}
.tal-oros {background-image: url(images/bookimages/tal-oros.png)}
.vedibarta-bam {background-image: url(images/bookimages/vedibarta-bam.png)}
.yashresh-yaakov {background-image: url(images/bookimages/yashresh-yaakov.png)}
.yesod-moshe {background-image: url(images/bookimages/yesod-moshe.png)}
.various-commentaries {background-image: url(images/bookimages/various-commentaries.png)}
