/*	Main CSS file for the Tehiyah School Web Site

	Site Colors:
	:: Background Color: #8EC8E0 (Baby Blue)
	:: Body Color: #FFF (White)
	:: Section Navigation Background Color: #EFFAAA (Lemony Yellow)
	:: Sidebar Background Color, Link Dividing Lines: #FFE078 (Orange)
	:: Sidebar Text Color: #003366 (Dark Blue)
	:: Topic Item, Body Link Color: #3676AA (Blue)
	:: Utility Link Color, Quote Text Color: #296FAD (Blue)
	:: selected Topic, selected Section: #B391F1 (Light Purple)
	:: Utility Link Highlight Color: #FFF (White) 
	:: Footer Text Color: #353E6B (Dark Blue)
	:: Dividing Line: #C5DCED
	
	:: Sidebar Image: 164 wide, 108 tall (suggested)
	:: Body Image: 233 wide, 116 tall (suggested) 

*/

html { height: 100%; margin-bottom: 1px; } /* forces scrollbar even when not needed so page doesn't jump */

body { 
	margin: 0;
	padding: 0 10px;
	background-color: #8EC8E0 ;
	font-family: Arial, Helvetica, sans-serif ;
	font-size: 12px;
	color: #333;
}

form {
	padding: 0 ;
	margin: 0 ;
}

input {
	font-size: 11px;
}

p, h1, h2, h3, h4, h5, ul, ol { 
	margin-top: 0;
	margin-bottom: 0.6em;
	line-height: 136%;
}

h1 { 
	font-size: 120%;
	margin-top: 0.8em;
}

h2, h3, h4, h5 {
	margin-top: 0.8em;
	font-size: 100%;
}

h1, h2, h3, h4, h5 { 
	color: #003366;
	margin-bottom: 0.4em;
}

blockquote {
	margin: 1em 1em 1em 2em;
}

.small {
	font-size: 11px;
}

#sidebar_content .small { 
	font-size: 10px;
}

a, a:active, a:focus, a:link, a:visited { color: #3676AA; }
a:hover { color: #B391F1; }

b, strong { color: #003366; }

ol {
	padding-left: 12px;
	margin: 0 16px 0.8em 16px;
}

ol li {
	margin-bottom: 6px;
}

ul {
	list-style:url(/img/page-elements/bullet-on-white.gif) outside circle;
	padding-left: 18px;
	margin: 0 16px .8em 12px;
}

.error_msg, .form_error_msg {
	display: block;
	margin: 2px 0;
	padding: 1px 8px 1px 14px;
	background: url(/img/page-elements/red_arrow_right.gif) no-repeat 4px 3px ;
	color: #880000;
	clear: left;
}

#container, #header, #footer {
	display: block;
	width:821px;
	margin:0 auto;
	padding: 0;
	clear: both;
}

#container {
	background: #FFFFFF url(/img/page-elements/content-bkgnd-windows.png) top right no-repeat;
	position: relative;
}

#wrapper_full, #wrapper_w_sidebar, #utility, #utility_w_sidebar  {
	position: relative;
	width: 100%;
}

#main ul.links-down {
	list-style-image: url(/img/page-elements/grey-anchor.gif);
	list-style-type: square;
	padding-left: 16px;
	margin-left: 16px;
	line-height: 160%;
}

#main li.links-down {
	padding-left: 0px;
	margin-left: 0px;
	line-height: 160%;
}

#main {
	margin-left: 192px;
	display: block;
	position: relative;
	padding: 0 0 17px 0;
}

#wrapper_full #main {
	width: 612px;
}

#wrapper_w_sidebar #main {
	width: 406px;
}

html>body #wrapper_w_sidebar #main {
	width: 406px;
}

#utility_w_sidebar #main {
	margin-left: 10px;
	width: 600px;
}


#main p, #main h1, #main h2, #main h3, #main h4, #main table {
	margin-left: 9px;
} 

#sidebar, #sidebar_header {
	position: absolute;
	width: 198px;
	left: 623px;
}

#sidebar_header {
	z-index: 3;
	top: 0;
	margin-top: 93px;
	background: transparent url(/img/page-elements/sidebar-header-decal.png) no-repeat top left;
	text-align: center;
}

#sidebar {
	z-index: 1;
	top: 151px;
	width: 198px;
	margin-top: 0px;
	background-color: #FFE078;
	font-size: 11px;
	color: #003366;
	clear: right;
}

#sidebar #sidebar_content {
	margin: 66px 20px 20px;
}

#sidebar_content ul {
	list-style:url(/img/page-elements/bullet-on-yellow.gif) outside circle;
	padding-left: 9px;
	margin: 0 4px 9px 9px;
}

#sidebar_content ol {
	padding-left: 9px;
	margin: 0 4px 9px 9px;
}

#sidebar_content li {
	margin: 0 0 .4em;
}


#sidebar_content h1 {
	font-size: 100%;
}

#topic_title {
	padding: 0 0 6px 9px;
}

#topic_title p {
	display: none;
}

#private_mark {
	position:absolute;
	top: 6px;
}

#wrapper_w_sidebar #private_mark {
	left: 369px;
}

#wrapper_full #private_mark {
	right: 0px;
}

#logo_top {
	width: 560px;
	padding: 20px 20px 16px;
}

#column_one img {
	margin: 9px 0 0 9px;
}

.divider {
	padding-bottom: 10px;
	clear: both;
	border-top: 1px solid #C5DCED;
	display: block;
}

#main div.sections, #main div.faculty {
	margin: 0;
	padding: 0;
}

#main div.sections div.section, #main div.faculty div.section {
	position: relative;
	border-top: 1px solid #C5DCED;	
	display: block;
	margin-top: 10px;
	padding-top: 6px;
	clear: both;
}

#main div.sections div.first {
	border-top: none;	
	margin-top: 0px;
}

#main div.faculty div.first {
	margin-top: 0px;
}

#main .sections h1 {
	padding-left: 126px;
	margin-top: 0 ;
	font-size: 12px;
}

#main .sections p {
	display: block;
	padding-left: 126px;
	margin-top: 0px;
	clear: right;
}

.sections img {
	float: left;
	clear: left;
	margin: 0 0 6px 6px;
}

.img_float_right {
	float: right;
	clear: right;
	margin: 4px 0 4px 10px;
}

.img_float_left {
	float: left;
	clear: left;
	margin: 4px 12px 4px 0;
}

p .img_float_left {
	margin: 4px 12px 4px -9px;
}

p .img_float_right {
	margin: 4px -9px 4px 10px;
}


.back_to_top {
	font-size: 11px;
	text-align: right;
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
	line-height: 11px;
}

#main .quote {
	float: right;
	clear: right;
	display: block;
	width: 150px;
	margin: 0 0 0 18px;
	font-weight: bold;
	font-size: 15px;
	color: #296FAD;
	text-indent: -8px;
	padding-left: 9px;
}

html>body #main .quote {
	width: 160px;
}

#main .quote span.attribution {
	display: block;
	text-align: right;
	font-size: 11px;
	font-weight: normal;
	margin: 0 8px 6px 0;
	font-weight: normal;
	line-height: 130%;
}

.letter {
	color: #296FAD;
	font-family: Georgia, "Times New Roman", Times, serif;
}

#wrapper_full #main .quote {
	width: 300px;
	margin: 0 22px 6px 22px;
}

html>body #wrapper_full #main .quote {
	width: 300px;
	margin: 0 32px 6px 22px;
}

#main .quote_and_image .quote {
	margin: 30px 12px 0 0;	
}

#main .quote_and_image {
	clear: both;
}

#wrapper_full #main .quote_and_image .quote {
	width: 300px;
	margin: 28px 22px 6px 9px;
}

html>body #wrapper_full #main .quote_and_image .quote {
	width: 310px;
	margin: 9px 32px 6px 9px;
}

#main table, #sidebar table {
	border-collapse: collapse;
	border: none;
	margin-bottom: 0.4em;
}

#main th {
	font-weight: bold;
}

/* BODY IMAGE TREATMENTS */

#main .img_blue-decal_frame {
	padding: 9px 0 0 9px;
	margin: 20px 0 16px;
	background: url(/img/page-elements/photo-frame-blue-rip.gif) no-repeat top left;
}

#main .img_yellow-decal_frame {
	padding: 9px 0 0 9px;
	margin: 20px 0 16px;
	background: url(/img/page-elements/photo-frame-yellow-rip.gif) no-repeat top left;
}

#main .img_blue-solid_frame {
	padding: 9px 0 0 9px;
	margin: 20px 17px 16px 0;
	background: url(/img/page-elements/photo-frame-blue-block.gif) no-repeat top left;
}

/* HEADERS, FOOTERS AND SEARCH */

#header, #footer {
	padding-top: 10px;
	padding-bottom: 11px;
	clear: both;
	font-size: 11px
}

#header {
	text-align: right;
}

#search_widget {
	float: right;
	margin: -3px 0 0 8px;
	padding: 0;
}

#search_widget .field {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	padding: 3px 2px 3px 4px;
	border: 1px solid #666666;
} 

#search_widget img {
	margin-top: 6px;
}

.utl_links {
	color: #FFE078 ;
}

.utl_links a {
	color: #296FAD ;
	text-decoration: none;
}

.utl_links a:hover {
	color: #FFF ;
}

#header .utl_links  {
	display: inline;
	padding: 0;
	margin: 0;
}

#footer div  {
	padding: 0 17px;
}

#header form {
	display: inline;
}

/* TABLE STYLES */

th, td  {
	padding: 4px;
	border: 1px solid #999;
	vertical-align: top;
}

th {
	text-align: left;
	font-size: 11px;
	border: none;
	padding-bottom: 2px;
}
		
th.header {
	border-right: none;
	border-left: none;
	border-top: none;
	font-size: 12px;
	text-align: left;
	color: #333;
	padding: 10px 0 6px;
}

.center {
	text-align: center;
}

table.structural td {
	border: none;
	text-align: left;
}

/* FORM STYLES */

.form_error_msg {
	display: none;
	width: 301px;
}

label {
	font-size: 11px;
	color: #296FAD;
	padding-left: 4px;
	display: block;
	padding-bottom: 4px;
	text-align: left;
}

label.required {
	font-weight: bold;
}

label.inline {
	display: inline;
	padding-left: 0;
}

form th {
	color: #333333;
	text-align: right;
	background: none;
	font-weight: normal;
	vertical-align: top;
	padding-top: 8px;
	padding-right: 6px;
}

form th.required {
	font-weight: bold;
	color: #296FAD;
}

form td {
	border: none;
	padding: 3px 3px;
	text-align: left;
}

form tr.cell_divider td, tr.cell_divider th {
	border-bottom: 1px solid #C5DCED;
}

html>body form tr.cell_divider td, html>body form tr.cell_divider th {
	border-bottom: 1px dotted #C5DCED;
}

.button {
	font-size: 11px;
}

#main input, #main textarea, #main select, #cForm input, #cForm textarea {
	border: 1px solid #CCC;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	background-color: #FFFFFF;
	margin-bottom: 2px;
	padding: 1px 2px;
}

#main textarea {
	margin-bottom: 6px;
	line-height: 140%;
} 

html>body #main input, html>body #main textarea, html>body #main select, html>body #cForm input, html>body #cForm textarea {
	border: 1px dotted #CCC;
}

#main input.active, #main textarea.active, #main .active, html>body #main select.active, html>body #cForm input.active, html>body #cForm textarea.active {
	border: 1px solid #8EC8E0;
	background-color: #FFFFFF;
}

/* SECTION AND TOPIC NAVIGATION */

#section_nav {
	position:absolute;
	top:24px;
	height:41px;
	z-index:1;
	right: 0px;
	background-color: #EFFAAA;
	text-align: right;
	padding-left: 4px;
}


#topic_nav {
	font-size: 11px;
	position: absolute;
	width: 150px;
	top: 160px;
	left: 20px;
	color: #3676AA;
}

#topic_nav a {
	text-decoration: none;
}

#topic_nav a.selected  { 
	color: #B391F1;
}

#topic_nav div {
	margin: 0 0 10px 0;
	padding: 0;
	font-weight: bold;
}

#topic_nav .subtopic {
	text-indent: -9px;
	margin: 0 0 10px 18px;
}

/* FLOATING STYLED BUTTONS */

div.textbuttonleft, div.textbuttonright {
	background: transparent url(/img/page-elements/btn_right.gif) top right no-repeat;
	margin-top: 3px;
}

div.textbuttonleft {
	margin-left: 3px;
	float: left;
}

div.textbuttonright {
	margin-right: 3px;
	float: right;
}

div.textbuttonright a, div.textbuttonleft a, div.textbuttonright a:visited, div.textbuttonleft a:visited {
	display: block;
	float: left;
	background: transparent url(/img/page-elements/btn_left.gif) top left no-repeat;
	height: 20px;
	margin: 0;
	padding: 5px 8px 0 7px; 
	font-family: arial, helvetica, sans-serif; 
	font-weight: bold; 
	font-size: 11px; 
	line-height: 13px;
	color: white; 
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

html>body div.textbuttonright a, html>body div.textbuttonleft a, html>body div.textbuttonright a:visited, html>body div.textbuttonleft a:visited {
	line-height: 11px;
}

div.textbuttonright a:hover, div.textbuttonleft a:hover, span.textbutton a:hover, div.textbuttonright a.small:hover, div.textbuttonleft a.small:hover, span.textbutton a.small:hover  {
	color: #EFFAAA; 
}

/* MODAL DIALOGS */

#modalMask, #modalContainer {
	position:absolute;
	width:100%;
	height:100%;
	top:0px;
	left:0px;
}

#modalMask {
	background-color: #444;
	opacity: .4;
	background-image:url(/img/mask.png); /* required by MSIE to prevent actions on lower z-index elements */
    background-repeat: repeat;
	z-index:9999;
	/* opacity for IE is handled in the script to aviod displaying an error in the Mozilla JS console */
}

#modalContainer {
	background-color: transparent;
	z-index:10000;
}

#modalBox {
	font-family: Arial, Helvetica, sans-serif;
	position:relative;
	width:340px;
	min-height: 100px;
	margin-top: 100px;
	border: 2px solid #353E6B;
	background-color: #FFF;
	background-repeat: no-repeat;
	background-position: 4px 28px;
	display: none;
	padding: 0;
	color: #333;
}

#modalContainer > #modalBox {
	position:fixed;
}

#modalBox h1 {
	width: 100%;
	font-size: 14px ;
	font-weight: bold;
	margin:0;
	background-color: #3676AA;
	color: #fff;
	border-bottom: 2px groove #353E6B;
	padding: 4px 0 4px 10px;
	font-variant: small-caps;
}

#modalContainer > #modalBox h1 {
	width: auto;
}

#modalBox p {
	margin: 6px 0 4px;
	font-size: 12px ;
	padding: 0px 8px 0px 8px;
	line-height: 160%;
}

#modalBox p b {
	color: #FFFFCC;
}

#modalBox input#promptField {
	width: 198px;
}

#modalBox .checkbox, #main .checkbox {
	border-width: 0;
}

#modalText {
	margin-left: 4px;
}

#modalBox .textbuttonright {
	margin-right: 12px;
	margin-bottom: 8px;
}

#modalBox .textbuttonright a {
	padding-top: 4px;
}


@media print {
  #modalBox, #modalContainer, #modalMask, .textbuttonright, .textbuttonleft, .textbutton, #return_link, .paging_controls {
  	display: none !important; 
  }
}

/* AJAX CONTACT FORM */

#message_form .field_element {
	font-size: 11px;
	margin-bottom: 3px;
	padding-right: 3px;
}

#cForm input, #cForm textarea {
	width: 310px;
}

#cForm .form_error_msg {
	width: 300px;
	margin-bottom: 8px;
}

#message_form #contactFormArea {
	padding: 10px;
	font-size: 12px;
}

#message_form #contactFormArea form {
	padding: 0;
	margin: 0;
}

#message_form #loadBar, #message_form #responseMessage { 
	display: none;
	margin-top: 6px;
	font-weight: bold;
}

div.remediation {
	color: #FFD;
	text-indent: -12px;
	margin: 4px 6px 6px 30px;
	clear: left;
	display: none;
}

#bad_browser {
	text-align: center;
}

.debug {
	display: block;
	border: 1px dotted #990000;
}
