html, body, h1, h2, h3, h4, h5, h6, a, p, ul, ol, li, dl, dt, dd, img, hr,
    form, fieldset, legend {
    margin: 0;
    border: none;
    padding: 0;
    background: transparent;
    font-size: 100%;
}

body {
    color: #000000;
    background: #d8d8d8 url('../img/body.png') repeat-x;
    font-family: Arial, sans-serif;
    /* font-family: Calibri, Arial, sans-serif; */
    font-size: 70%;
    line-height: 130%;
    text-align: center;
}

a {
    color: #4c4c4c;
    text-decoration: none;
    border-bottom: 1px solid #4c4c4c;
    outline: 0;
}
a:hover,
a.selected {
    color: #000000;
    border-bottom-color: #000000;
}
a.img,
a.img:hover {
    display: block;
    border: none;
}
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    border-bottom-color: #bbbbbb;
}

.visible {
    display: block !important;
}
.hidden {
    display: none !important;
}
.left {
    float: left;
}
.right {
    float: right;
}
.clr {
    float: none;
    clear: both;
}

#page {
    position: relative;
    width: 904px; /* 929 */
    margin: 0 auto;
    padding-left: 12px;
    padding-right: 13px;
    background: #ffffff url('../img/page.jpg') no-repeat;
    text-align: left;
}

h1 {
    position: relative;
    float: left;
    width: 220px;
    height: 49px;
    margin-top: 47px;
    margin-left: 10px; /* 20 */
    overflow: hidden;
    font-size: 150%;
    font-weight: bold;
    text-transform: lowercase;
    text-indent: 70px;
}
h1 a,
h1 a:hover {
    color: #ffffff;
    border: none;
}
h1 strong {
    display: block;
    font-size: 155%;
    padding-top: 0.5em;
    padding-bottom: 0.4em;
}
h1 span {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: url('../img/mainstream-logo.png') no-repeat;
    cursor: pointer;
}

#lang {
    display: none;

    float: right;
    height: 18px;
    margin-top: 15px;
    padding-right: 6px;
    color: #ffffff;
    line-height: 18px;
    text-align: right;
}
#lang a {
    color: #252525;
    border: none;
}
#lang a:hover {
    text-decoration: underline;
}
#lang a.selected,
#lang a.selected:hover {
    color: #ffffff;
    text-decoration: none;
}

#search {
    float: right;
    padding-right: 6px;
    margin-top: 15px;
}

.nav {
    height: 37px;
}
.nav li {
    display: block;
    float: left;
    list-style-type: none;
}
.nav a,
.nav a:hover {
    display: block;
    height: 37px;
    border: none;
    color: #000000;
    line-height: 35px;
    background: url('../img/nav-mid.png') repeat-x;
    text-align: center;
}
.nav a:hover {
    text-decoration: underline;
}
.nav li.first {
    padding-left: 3px;
    background: url('../img/nav-begin.png') no-repeat;
}
.nav li.last {
    padding-right: 3px;
    background: url('../img/nav-end.png') right top no-repeat;
}
.nav li.selectedFirst {
    background-image: url('../img/nav-begin-sel.png');
}
.nav li.selectedLast {
    background-image: url('../img/nav-end-sel.png');
}
.nav li.selected a,
.nav li.selected a:hover {
    background: url('../img/nav-sel.png') left top repeat-x;
}
.nav li.selected a:hover {
    text-decoration: none;
}
.nav span {
    display: block;
    padding: 0 17px;
    background: url('../img/nav-line.png') right center no-repeat;
}
.nav li.last span {
    background: transparent;
}

#menu {
    position: absolute;
    left: 273px;
    top: 53px;
    /* width: 643px; */
    width: 655px;
    height: 44px;
    z-index: 2;
}
#menu a,
#menu a:hover {
    height: 44px;
}
#menu li.selected a,
#menu li.selected a:hover {
    background: url('../img/nav-sel-arrow.png') center bottom no-repeat;
}
#menu.menuOneLevel li.selected a,
#menu.menuOneLevel li.selected a:hover {
    background: url('../img/nav-sel.png') left top repeat-x;
}

#subMenu {
    position: absolute;
    left: 300px;
    top: 88px;
    width: 550px;
    z-index: 1;
}

#content {
    clear: both;
    padding-top: 42px;
}
#content:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

#footer {
    margin-top: 20px;
    border-top: 1px solid #d7d7d7;
    padding-bottom: 55px;
    color: #7f7f7f;
    line-height: 200%;
    text-align: right;
}

.columnLeft {
    float: left;
    width: 445px;
    margin-bottom: 20px;
}
.columnRight {
    float: right;
    width: 445px;
}
.columnLeft .columnLeft,
.columnLeft .columnRight,
.columnRight .columnLeft,
.columnRight .columnRight {
    width: 217px;
}
.column3 .box {
    float: left;
    width: 293px;
    margin: 4px;
}
.column4 .box {
    float: left;
    width: 600px;
    margin: 4px;
}

.columCustom1 .box {
    float: left;
    width: 550px;
    margin: 4px;
}
.columnWide {
    width: 662px;
}
.columnNarrow {
    width: 217px;
}

.box {
    margin-top: 15px;
    background-repeat: no-repeat;
}

.columnLeft .box,
.columnRight .box {
    min-height: 141px;
    background-image: url('../img/box-w.png');
}
.columnLeft .boxHeight2 {
    min-height: 231px;
    background-image: url('../img/box-wh.png');
}
.columnLeft .columnLeft .box,
.columnLeft .columnRight .box,
.columnRight .columnLeft .box,
.columnRight .columnRight .box {
    background-image: url('../img/box.png');
}
.columnLeft .columnLeft .box,
.columnLeft .columnRight .box,
.columnLeft .columnLeft .columnLeft .box,
.columnLeft .columnLeft .columnRight .box {
    min-height: 211px;
}
.column3 .box {
    background-image: url('../img/box-3.png');
    min-height: 540px;
}
.column3 .boxNoHeight {
    min-height: 350px;
}

.column4 .box {
    background-image: url('../img/box-3.png');
    min-height: 540px;
}
.column4 .boxNoHeight {
    min-height: 350px;
}

.boxAlter,
.boxAlter2,
a.boxAlter {
    display: none;
}
.boxAlter2 {
    height: 320px;
}

.boxNavigation {
    overflow: hidden;
    font-size: 120%;
}
.boxNavigation a,
.boxNavigation a:hover {
    width: 24px;
    padding: 0;
}
.boxNavigation span {
    display: block;
    padding: 0;
    background: transparent;
}
.boxNavigation li.selected a,
.boxNavigation li.selected a:hover {
    background-image: url('../img/nav-mid.png');
}
.boxNavigation li.selected span {
    background: url('../img/nav-sel-no.png') 0 4px no-repeat;
}
a.boxNavigationGoPrev,
a.boxNavigationGoPrev:hover,
a.boxNavigationGoNext,
a.boxNavigationGoNext:hover {
    position: relative;
    width: 44px;
    overflow: hidden;
    text-indent: -100px;
}
a.boxNavigationGoPrev span,
a.boxNavigationGoNext span,
li.last a.boxNavigationGoNext span {
    background-position: center;
    background-repeat: no-repeat;
}
a.boxNavigationGoPrev span {
    background-image: url('../img/nav-prev.png');
}
a.boxNavigationGoNext span,
li.last a.boxNavigationGoNext span {
    background-image: url('../img/nav-next.png');
}

.box .text {
    padding: 10px 20px;
}
.boxPlain .text {
    color: #666666;
}
.boxPlain2 .text {
    padding: 0 6px;
}
.boxPlain2 .text h2 {
    color: #000000;
}

.text a,
.text a:hover {
    text-decoration: underline;
    border: none;
}
.text p,
.text ul,
.text dl {
    padding: 0.5em 0;
}
.text ul {
    list-style-type: none;
}
.text li {
    padding-left: 1.25em;
    background: url('../img/list.png') 2px 0.5em no-repeat;
}
.text li ul {
    padding-left: 0.5em;
}
.text li li {
    background-image: url('../img/list-2nd-level.png');
    background-position: 2px 0.4em;
}
.text li li li {
    background-image: url('../img/list.png');
    background-position: 2px 0.5em;
}
.text ul.listNoBullets li {
    padding: 0;
    background: transparent;
}
.text p.strong {
    font-size: 120%;
    color: #000000;
}
.text h2 {
    font-size: 275%;
    line-height: 100%;
    font-weight: normal;
    padding-bottom: 0.25em;
    clear: both;
    color: #ffffff;
}
.text h3 {
    font-size: 125%;
    line-height: 120%;
    font-weight: bold;
    padding: 0.5em 0;
    clear: both;
    color: #4c4c4c;
}
.text h4 {
    font-size: 120%;
    font-weight: bold;
    line-height: 175%;
    color: #4c4c4c;
}
.text h5 {
    font-size: 120%;
    font-weight: normal;
    line-height: 175%;
    color: #4c4c4c;
}
.text h6 {
    font-size: 100%;
    font-weight: normal;
    line-height: 175%;
    color: #4c4c4c;
}
.text dl {
    line-height: 150%;
}
.text dt {
    font-weight: bold;
    float: left;
    clear: both;
    width: 13em;
}
.text table {
    margin: 0.5em 0;
    border-collapse: collapse;
}
.text td,
.text th {
    border: 1px solid #d8d8d8;
    padding: 2px 5px;
}
.text th {
    padding: 5px;
    background: #d8d8d8;
    color: #000000;
    font-weight: normal;
    text-align: center;
}
.text hr {
    margin: 1em 0;
    border-top: 1px solid #666666;
}

.textColumn {
    float: left;
    width: 50%;
}

.imgLeft {
    float: left;
    padding-right: 1em;
}
.imgRight {
    float: right;
    padding-left: 1em;
}

.alignRight {
    text-align: right;
}
.alignCenter {
    text-align: center;
}
.alignJustify {
    text-align: justify;
}

.highlight h3 {
    /* color: #ff8500; */
}
.highlight a {
    color: #ff8500;
    border-bottom-color: #ff8500;
}
.highlight a:hover {
    color: #000000;
    border-bottom-color: #000000;
}

.partners img {
    margin: 1em 0;
}

.certificates {
    float: right;
    width: 180px;
    background: url('../img/certificates.png') center no-repeat;
}
.certificates:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.certificates img {
    padding: 0;
}

.imgPartner,
h3.imgPartner {
    height: 100px;
    line-height: 100px;
    text-align: center;
}
h3.imgPartner {
    line-height: 70px;
}

.space {
    height: 20px;
}

.form:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
fieldset {
    color: #7f7f7f;
    padding: 1em 0;
}
fieldset.fieldColumn {
    float: left;
    width: 50%;
}
legend {
    display: none;
}
fieldset p {
    clear: both;
    padding: 4px 0;
}
fieldset p.formInfo {
    padding-left: 10em;
}
fieldset p.formMessage {
    padding-left: 10em;
    color: #ff0000;
}
fieldset p:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
label {
    width: 8em;
    float: left;
    padding: 2px 0;
    padding-right: 2em;
    text-align: right;
}
input,
textarea {
    width: 300px;
    margin: 0;
    padding: 2px;
    border: 1px solid #9d9d9d;
    background: #ffffff;
    font-size: 150%;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}
input.inputSubmit {
    font-size: 100%;
    width: 125px;
    height: 37px;
    margin: 0.5em 0;
    padding: 0;
    color: #000000;
    background: url('../img/nav-mid.png') repeat-x;
    line-height: 35px;
    cursor: pointer;
}
input:focus,
textarea:focus,
input.inputSubmit:hover {
    border-color: #000000;
}
input.inputSubmitSmall {
    width: auto;
    height: auto;
    margin: 0;
    padding: 2px 5px;
    font-size: 150%;
    line-height: 100%;
}

#search fieldset {
    padding: 0;
    color: #000000;
}
#search label {
    display: none;
}
#search input {
    display: inline;
    width: 118px;
    padding: 2px;
    height: 12px;
    font-size: 100%;
}
#search input.inputSubmit {
    display: inline;
    width: auto;
    height: 18px;
    margin: 0;
    border: none;
    padding: 0 4px;
    background: transparent;
    font-size: 100%;
    line-height: 18px;
}
