﻿/*
This CSS applies to root index.
For lesson pages (default template of most pages on site) see lesson-styles.css
*/

html {
	font-family: Arial, Helvetica, sans-serif;
	z-index: 0;
	position: relative;
	width: 100%;	
}

a:link, a:visited, a:hover, a:active {
	font-size: 1em;
	word-spacing: +0em;
}

body {
  text-align: center;
}

div, p, li {
  text-align: left;
}

span {
	letter-spacing: +0.06em;
	line-height: 1.3em;
	font-size: .9em;
}


span.subtitle {
	line-height: +2.5em;
	font-size: 0.70em;
}

span.s1 {
	word-spacing: +1em;
}

span.s2 {
	word-spacing: +4em;
	font-size: .7em;
}

p {
	text-align: justify;
	margin-bottom: +2em;
}


h1 {
	letter-spacing: +0.10em;
	text-align: center;
	font-size: +1.25em;
	margin-bottom: 25px;
	background-color: #FFFFCC;
	color: #990000;
	font-family: "Palatino Linotype", Garamond, "Times New Roman", serif;
}

h2 {
	font-style: bold;
	text-align: center;
	letter-spacing: +0.11em;
	font-size: 17px;
}

h2.lang {
	display: inline;
	margin-right: 2em;
}

h2.about {
	text-align: justify;
	font-size: .9em;
	letter-spacing: +0.06em;
	line-height: 1.3em;
	font-weight: normal;
}

/* sideinfo and ad alternately used on right sidebar. ad blocked by some adblockers */
h1.ad {
	font-size: 1em;
}

h1.sideinfo {
	font-size: 1em;
}

h2.ad {
	font-size: .9em;	
}

h2.sideinfo {
	font-size: .9em;	
}

.sideinfo-div {
	font-size: 0.9em;
	padding-left: .5em;
	padding-right: 2em;
	text-align: center;
}

#ad {
	font-size: 0.80em;
	padding-left: 2em;
	padding-right: 2em;
	text-align: center;
}


/*principal page divs*/

#wrapper {
	position: relative;
	
}

#header {
	margin-top: 10px;
	text-align: center;
}

#title {
	font-size: 40px;
	font-family: Papyrus, Georgia, "Times New Roman", serif;
	letter-spacing: +0.10em;
	color: #990000;
}

#content {
	width: 65%;
	float: left;
}

#sidebar {
	float: left;
	margin-left: 30px;
	width: 25%;
	text-align: center;
	padding: 2em;
}

#footer {
	clear: both;
	text-align: center;
	margin-bottom: 35px;
	font-size: .8em;
}

.section {
	margin-left: 25px;
	border-style: none;
	border-width: 0em;
	padding: 10px;
	padding-top: 0;
	margin-top: 0;
	border-top-style: solid;
  border-top-color: #FFFFCC;
  border-top-width: .78em;
}

.spacer {
  clear: both;
  margin: 3em;
}

.leftblock {
  float: left;
  padding-top: 0;
  margin-top: 0;
  width: 15%;
  line-height: 2.5em;
}

.rightblock {
  float: right;
  width: 75%;
  padding-left: 1em;
}
