/*
    Common styles
*/

* {
	margin: 0;
	padding: 0;
}

body {
    background-color: rgb(30, 30, 30);
    background-image: url(../images/bg_logo.png);
    background-repeat: no-repeat;
    background-position: 115% -2cm;
    font-family: Tahoma, Arial, Helvetica, Geneva;
    font-size: 11pt;
    color: rgb(51, 51, 51);
}

h1, h2, h3, h4, h5, h6 {
    color: rgb(51, 153, 204);
    font-weight: normal;
    padding-bottom: 0.5em;
}

img {
    border: none;
    max-width: 600px;
}

label {
    cursor: pointer;
}

input {
    font-family: Tahoma, Arial, Helvetica, Geneva;
    color: rgb(51, 51, 51);
}

.inputBorder {
    border: solid 1px rgb(200, 200, 200);
    overflow: hidden;
}

a {
    text-decoration: none;
    color: rgb(51, 51, 51);
}

a:hover {
    text-decoration: underline;
}

/*
    Entire page
*/

#page {
    margin: 0 auto;
    position: relative;
    width: 900px;
    padding: 24px 0;
}

/*
    Box model
*/

.box-left {
    width: 18px;
    height: 100%;
    float: left;
}

.box-center {
    background-repeat: repeat-x;
    width: 864px;
    height: 100%;
    float: left;
}

.box-right {
    width: 18px;
    height: 100%;
    float: left;
}

/*
    Box model - Header
*/

#header .box-left {
    background-image: url(../images/header_left.png);
    background-repeat: no-repeat;
}

#header .box-center {
    background-image: url(../images/header_center.png);
}

#header .box-right {
    background-image: url(../images/header_right.png);
    background-repeat: no-repeat;
}

/*
    Box model - Horizontal menu
*/

.h-menu .box-left {
    background-image: url(../images/menu_left.png);
    background-repeat: no-repeat;
}

.h-menu .box-center {
    background-image: url(../images/menu_center.png);
}

.h-menu .box-right {
    background-image: url(../images/menu_right.png);
    background-repeat: no-repeat;
}

/*
    Box model - Main-top
*/

#main-top {
    height: 10px;
}

#main-top .box-left {
    background-image: url(../images/main_top_left.png);
    background-repeat: no-repeat;
}

#main-top .box-center {
    background-image: url(../images/main_top_center.png);
}

#main-top .box-right {
    background-image: url(../images/main_top_right.png);
    background-repeat: no-repeat;
}

/*
    Box model - Main-middle
*/

#main-middle {
    border-collapse: collapse;
}

#main-middle .box-left {
    background-image: url(../images/main_middle_left.png);
    background-repeat: repeat-y;
    float: none;
}

#main-middle .box-center {
    background-color: white;
    min-height: 500px;
}

#main-middle .box-right {
    background-image: url(../images/main_middle_right.png);
    background-repeat: repeat-y;
    float: none;
}

/*
    Box model - Main-bottom
*/

#main-bottom {
    height: 18px;
}

#main-bottom .box-left {
    background-image: url(../images/main_bottom_left.png);
    background-repeat: no-repeat;
}

#main-bottom .box-center {
    background-image: url(../images/main_bottom_center.png);
}

#main-bottom .box-right {
    background-image: url(../images/main_bottom_right.png);
    background-repeat: no-repeat;
}

/*
    Header
*/

#header {
    height: 156px;
    color: white;
}

#header a {
    color: white;
}

.home {
    font-size: 8pt;
    position: absolute;
    right: 18px;
    top: 156px;
    font-weight: bold;
}

/*
    Header > top-menu
*/

#top-menu {
    font-size: 8pt;
    line-height: 24px;
    top: 0px;
    position: absolute;
    color: rgb(150, 150, 150);
}

#top-menu a {
    color: rgb(150, 150, 150);
}

#top-menu li {
    display: inline;
    list-style-type: none;
    margin-right: 0.7em;
}

/*
    Header > signOn-menu
*/

#signOn-menu {
    font-size: 8pt;
    position: absolute;
    right: 18px;
    text-transform: lowercase;
    margin-top: 1em;
    font-weight: bold;
}

#signOn-menu a {
    color: white;
}

#signOn-menu li {
    display: inline;
    list-style-type: none;
    padding-left: 0.8em;
}

/*
    Header > logo
*/

#header h1 {
    position: relative;
    top: 35px;
    left: 27px;
}

#header img {
    margin-right: -0.3em;
}

/*
    Horizontal menu
*/

.h-menu {
    height: 38px;
}

.h-menu ul {
    line-height: 30px;
}

.h-menu li {
    display: inline;
    padding: 6px 1em;
    margin-left: -2px;
    margin-right: -2px;
}

.h-menu .selected {
    background-color: rgb(255, 153, 0);
}

.h-menu .selected a {
    color: white;
}

.h-menu li:hover {
    background-color: rgb(255, 153, 0);
}

.h-menu li:hover a {
    color: white;
}

/*
    Main
*/

#main {
    padding-top: 1.3em;
    font-size: 0.9em;
}

#main h2 {
    padding-bottom: 1em;
}

#main a {
    text-decoration: underline;
}

#main a:hover {
    text-decoration: none;
}

#leftColumn {
    padding-left: 1.5em;
    padding-right: 1.5em;
    padding-bottom: 1.3em;
    float: left;
    width: 74%;
}

#leftColumn h3 a {
    color: rgb(51, 153, 204);
}

#rightColumn {
    float: left;
    padding-bottom: 1.3em;
}

#rightColumn h2 {
    color: rgb(51, 51, 51);
    font-weight: bold;
    font-size: 1.1em;
    letter-spacing: 0.0em;
}

#rightColumn ul {
    margin-left: 1em;
}

#rightColumn li {
    list-style-type: none;
}

.partMenu {
    padding-bottom: 2em;
}

.meta {
    font-size: 0.8em;
}

.dateTime {
    font-weight: bold;
}

p {
    line-height: 1.5em;
}

/*
    Main - Article titles list
*/

.articleTitlesList {
    padding-bottom: 0.5em;
}

.articleTitlesList li {
    list-style-type: none;
    padding-bottom: 0.3em;
}

/*
    Main - Article list
*/

.articleItem {
    padding-bottom: 2em;
}

.articleItem:last-child {
    padding-bottom: 0em;
}

.articleItem p {
    padding-top: 0.5em;
}

/*
    Main - Article
*/

.article .perex {
    font-style: italic;
    padding-top: 2em;
}

.article .content {
    padding-top: 1em;
}

.article p {
    padding-bottom: 1em;
}

.article ul,ol {
    margin-left: 2em;
}

/*
    Main - Contacts
*/

dt {
    font-weight: bold;
}

dd {
    padding-top: 0.3em;
    padding-bottom: 1em;
    padding-left: 1em;
}

/*
    SignOn page
*/

#underlay {
    margin: 50px auto;
    max-width: 350px;
    background-color: rgb(102, 102, 102);
    background-color: rgba(102, 102, 102, 0.4);
}

#underlay a {
    color: white;
}

#underlay h1 {
    text-align: center;
    padding: 18px;
    color: white;
    font-size: 16pt;
    font-weight: bold;
}

#signOn {
    background-color: white;
    margin: 9px;
    padding: 18px;
    bottom: 9px;
    position: relative;
}

#signOn label {
    display: block;
    font-size: 10pt;
}

#signOn #username, #signOn #password {
    font-size: 1.8em;
    margin: 3px;
    width: 98%;
    border: none;
    outline: none;
}

#signOn .inputBorder {
    margin-top: 2px;
    margin-bottom: 18px;
}

#signOn #messages {
    margin-bottom: 18px;
}

#signOn #messages p {
    font-size: 8pt;
}

#signOn #messages .error {
    color: red;
    font-weight: bold;
}

#signOn input[type="submit"] {
  padding: 0 1em;
}
