/*-------------------------------
HIDE ELEMENTS
-------------------------------*/
.obvious, .quick_nav {
display: none;
}
/*-------------------------------
GENERAL
-------------------------------*/
body {
margin: 0;
padding: 0;
font-family: Helvetica, FreeSans, "Lucida Grande", Arial, Verdana, sans-serif;
background: #fff url(../images/bg.png) center repeat-y;
font-size: 80%;
}

h1,h2,h3,h4,h5,h6 {
font-family: Helvetica, FreeSans, Arial, "Lucida Grande", "Lucida Sans Unicode", "MGOpen Moderna", Verdana, sans-serif;
font-weight: normal;
color: #a40000;
padding: 0;
margin: 0;
}

h1 {
padding: .4em 0 .3em;
margin: 0;
font-size: 1.7em;
font-style: italic;
font-weight: bold;
text-shadow: #BBB 0 0 5px;
}

h2 {
padding: .2em 0 .3em;
margin: 0;
font-size: 1.4em;
}

h2.clear {
clear: both;
}

h3 {
padding: .6em 0 .3em;
margin: 0;
font-size: 1.2em;
font-weight: bold;
color: #333;
}

h4 {
padding: .5em 0 0em 1em;
margin: 0;
font-size: 1.1em;
font-style: italic;
font-family:  FreeSerif, "Palatino Linotype", serif;
}

hr {
	margin: 1em 0 .5em 0;
}

p {
padding: .4em 0 .6em;
margin: 0;
}

a {
color: #a40000;
}

a:visited {
color: #a44b4b;
}

a:hover {
color: #F00;
}

strong {
font-weight: bold;
color: #000;
}


img {
border: none;
overflow: hidden;
}
.image_before,
.image_after {
	margin: 1em 0;
	padding: 0;
	text-align:center !important;
}
.image_left {
	float: left;
	margin: 0 1em .5em 0;
	padding: 0;
}
.image_right {
	float: right;
	margin: 0 0 .5em 1em;
	padding: 0;
}
.image_right .image_right {
float: none;
}


hr {
height: 2px;
background: #ddd;
border: none;
}

small {
font-size: 80%;
}

.obvious {
display: none;
}

/* -- LIST --*/
ul, 
ol, 
li {
list-style-position: outside;
margin: .2em 0 1em 2em;
padding: 0;
}
li {
list-style-type: square;
margin: 0;
padding: .2em 0;
}
ol {

}
ol, ol li {
list-style-type: decimal;
}

ul li ul,
ol li ol,
ul li ol,
ol li ul {
padding: 0 0 0 2em;
margin: 0;
}
.image_left {
float: left;
}
.image_right {
float: right;
}
.image_right .image_right {
float: none;
}
.image_before, .image_after {
position:relative;
text-align: center;
}


/*----------------------------------------
TABLES
------------------------------------------*/

table {
border-collapse:collapse;
border-spacing: 0;
border: 2px solid #bbb;
margin: 0;
padding: .2em 0 .4em;
background: #fff;
}

td {
border: 1px solid #BBB;
margin: 0;
color: #000;
padding: .2em .5em;
vertical-align: top;
}

th {
border: none;
background: #e8cccc;
color: #000;
font-weight: bold;
text-transform: capitalize;
margin: 0;
padding: .2em .5em;
vertical-align: bottom;
}

table.no-style,
table.simple {
border-collapse:collapse;
border-spacing: 0;
border: none;
margin: 0;
padding: 0;
background: transparent;
}

table.no-style td {
border: none;
margin: 0;
padding: 0;
}
table.simple td,
table.simple th {
border: none;
background: none;
padding: .2em;
margin: 0;
}

/*-------------------------------
PAGE
-------------------------------*/
#page {
background: url(../images/bg.png) center repeat-y;
text-align: left;
margin: 0 auto 0 auto;
width: 898px;
padding: 0 1px;
}

/*-------------------------------
HEADER
-------------------------------*/
#header {
float: left;
width: 898px;
background: transparent url(../images/header_bg.png) repeat-x;
margin: 0;
padding: 0;
}

#site_header {
margin: 0;
padding: 0;
height: 152px;
width: 898px;
background: transparent /*url(../images/head.jpg) right top no-repeat*/;
}

#site_title {
padding: 0;
margin: 0;
}
#site_title h1 {
position: relative;
top: 25px;
left: 20px;
padding: 0;
margin: 0;
border: none;
width: 337px;
height: 103px;
text-indent: 250px;
overflow: hidden;
font-size: 1em;
font-weight: bold;
background: url(../images/ssms-logo.png) no-repeat;
}
#site_title h1 a {
display: block;
width: 337px;
height: 103px;
text-indent: -9999px;
text-decoration: none;
overflow: hidden;
}
#site_signature {
display: none;
}
#site_signature p{
margin: 0;
padding: 0;
font-size: 1em;
}
#site_signature strong{
font-size: 1.4em;
font-weight: normal;
color: #a40000;
}

/*-------------------------------
MENUS
-------------------------------*/
#navigation {
float: left;
width: 898px;
margin: 0;
padding: 0;
font-family: arial, "Free Sans", sans-serif;
}

/* LANGUAGES */
#languages {
position: relative;
margin: -150px 20px 130px 0;
text-align: right;
text-transform: capitalize;
}
#languages ul li{
display: inline;
text-align: right;
}
#languages ul li a{
text-decoration: none;
color: #666;
}
#languages ul li.current a{
font-weight: bold;
color: #a40000;
}


/* menu */
.menu {
position: relative;
margin: 0;
padding: 0;
}
.menu li {
float: left;
list-style: none;
margin: 0;
padding: 0;
}

.menu a,
.menu a:link,
.menu a:visited {
display: block;
color: #FFF;
text-decoration: none;
padding: .2em 20px 0 0;
font-weight: normal;

}
.menu a:hover,
.menu a:active {
background: transparent;
text-decoration: underline;
color: #FFCCCC;
}
.menu .current a,
.menu .current a:visited {
background: transparent;
text-decoration: underline;
font-weight: bold;
color: #FFF;
}
.menu .ancestor a,
.menu .ancestor a:visited{
font-weight: bold;
}

.menu .ancestor_homepage a,
.menu .ancestor_homepage a:visited {
font-weight: normal;
}

#section_menu {
float: left;
width: 848px;
height: 27px;
margin: 0;
padding: 0 25px;
background: transparent;
}

#section_menu ul a {
white-space: nowrap;
font-size: 1em;
}


#sub_section_menu{
clear: both;
height: 25px;
margin: 0 0 0 0;
padding: 3px 25px 0;
background: transparent url(../images/sub-menu_bg.png) repeat-x;
}
#sub_section_menu .menu {
padding: 0;
float: left;
color: #3F3F3F;
}
#sub_section_menu a {
color: #000;
font-size: 1em;
padding: 2px 20px 0 0;
white-space: nowrap;
font-size: 1em;
font-weight: normal;
}
#sub_section_menu .current {
background: transparent;
}
#sub_section_menu .current a {
text-decoration: underline;
color: #000;
font-weight: bold;
}
#sub_section_menu a:hover {
background: none;
color: #000;
}

/*-------------------------------
MAIN
-------------------------------*/
#main {
float: left;
width: 898px;
padding: 0;
margin: 0;
background: transparent;
padding-top: 1em;
}
/*-------------------------------
CONTENT
-------------------------------*/
#content_container {
width: 898px;
float: left;
padding: 0;
margin: 0;
margin-right: -300px;
background: transparent;
}
#content {
margin-right: 300px;
padding: 0 20px 20px 20px;
background: transparent;
}
#main h1.document_title {
margin-top: 0;
padding-top: 0;
}

#content p {
text-align: justify;
}

/*-------------------------------
SIDEBAR
-------------------------------*/
#sidebar_container {
width: 300px;
float: right;
color: #4C0000;
background: transparent;
overflow: hidden;
}
#sidebar {
padding: 0 0 20px 0;
background: transparent;
}
#sidebar h1 {
border: none;
margin: 0;
padding-top: 0;
padding-bottom: 10px;
font-style: normal;
background: url(../images/side_title_bg.png) repeat-x;
}
#sidebar .article_header h1,
#sidebar .calendar_widget_header h1,
#sidebar .attachments_header h1,
#sidebar .document_heading h1 {
margin-top: 0;
padding-top: .4em;
}
#sidebar p,
#sidebar h1,
#sidebar h3,
#sidebar h4,
#sidebar h2,
#sidebar ul {
padding-right: 20px;
padding-left: 10px;
}
#sidebar p.image_left {
padding-left: 10px;
padding-right: 0px;
}
#sidebar p.image_right {
padding-left: 0px;
padding-right: 20px;
}
#sidebar table {
margin-right: 20px;
}


/*-------------------------------
FOOTER
-------------------------------*/
#footer {
clear: both;
margin: 0;
height: 29px;
padding: 0;
width: 898px;
background: #a40000 url(../images/footer_bg.png) repeat-x;
}
#footer p {
margin: 0;
padding: .5em 0 0;
line-height: 20px;
text-align: center;
color: #eee;
font-size: .8em;
}
#footer a {
color: #eee;
}

/*-----------------------
ALL FORMS
-----------------------*/
form table {
table-layout: auto;
}
form td {
vertical-align: top;
}
form td.right{
text-align: right;
padding-right: .5em;
white-space: nowrap;
}
.field_box {
padding-bottom: .5em;
}
.form_submit_box {
padding-top: .5em;
}
.form_submit_box input {
font-weight: bold;
}
fieldset {
clear: both;
border: none;
}
.field_box {
background: url('/images/field_bg.png') repeat-y;
padding-left: 8px;
padding-bottom: 1px;
margin-bottom: 1em;
position: relative;
}
.field_helper {
color: #777;
}
/*----------------------------------------
FLASH MESSAGE
------------------------------------------*/
#flash .notice {
	background: white url('/images/adm-flash-error.gif') repeat-y;
	border: 1px solid #FF1A00;
	padding: 8px 8px 8px 65px;
}
#flash .information {
	background: white  url('/images/adm-flash-info.gif') 0 50% no-repeat;
	border: 1px solid #0000EA;
	padding: 8px 8px 8px 65px;
}
#flash .confirmation {
	background: white  url('/images/adm-flash-ok.gif') 0 50% no-repeat;
	border: 1px solid #4CA513;
	padding: 8px 8px 8px 65px;
}
.flash_error {
background: url('/images/flash-error.gif') -20px 50% no-repeat;
border: 1px solid red;
margin: 1em 0;
padding-left: 40px;
font-weight: bold;
color: red;
}
.flash_error p {
padding: .6em 0 .3em;
}
.field_error {
background-image: url('/images/field_error_bg.png');
}
.field_error_message {color: red;}
.field_error input {
background: url('/images/flash-error.gif') -50px 50% no-repeat;
padding-left: 5px;
}

/*----------------------------
SSMS PUBLICATION
----------------------------*/
.sgsm_mag_list .publication {
padding: .5em;
margin: 0;
float: left;
width: 500px;
position: relative;
}
.sgsm_mag_list .file_info {
float: left;
width: 30px;
}
.sgsm_mag_list .publication a {
text-decoration: none;
color: #000000;
}
.sgsm_mag_list .publication a:hover {
text-decoration: underline;
}
.sgsm_mag_list .publication h3 {
padding: 0 0 .2em;
font-size: 1em;
font-weight: bold;
}
.sgsm_mag_list .publication .textual{
width: 460px;
float: right;
clear: none;
}
.sgsm_mag_list .publication a:hover {
text-decoration: underline;
}
.sgsm_mag_list .publication.pair {
background: #EAEAEA;
}
.sgsm_mag_list .publication a:hover {
text-decoration: underline;
background: none;
}
.sgsm_mag_list .body{
float: left;
width: 100%;
}
.ssms_publication .sgsm_mag_list{
float: left;
width: 100%;
padding-bottom: 40px;
}
.ssms_publication #edition_selection {
float: left;
width: 100%;
}
.ssms_publication #edition_selection .field {
float: left;
margin: 5px 12px 5px 0;
}
.ssms_publication #choose_edition_link {
  padding-top: 10px;
}
#sidebar .sgsm_mag_list p,
#sidebar .sgsm_mag_list form
{
padding: 0 ;
margin: 0;
line-height: auto;
}
#sidebar .sgsm_mag_list h2 {
padding: .5em 0 .3em;
}
#sidebar .search_box {
padding-bottom: 1em;
}

/*---------------------------
CALENDAR WIDGET
---------------------------*/

.calendar_widget dt {
padding: .2em .7em;
}
.calendar_widget dd {
padding: .2em .8em;
}
.calendar_widget dd.date {
padding-left: 1em;
margin-left: 0;
}
.calendar_widget dd.description {
padding-left: 0;
margin-left: 0;
}
.calendar_widget dd.more,
.calendar_widget dd.less {
padding-left: .8em;
margin-left: 0;
}