/* General element styling */
html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    background-color: #ebebeb;
    font-family: georgia, times new roman, times, serif;
    line-height: 1.2em;
    text-align: center;
    vertical-align: middle;
    padding: 0em;
    margin: 0em;
}

div {
    padding: 0em;
    margin: 0em;
}

h1 {
    margin: 0em;
    padding: 0.5em 1.0em 0em 0.5em;
    font-size: 1.6em;
    font-weight: 60em;
}

h2 {
    padding: 0.5em 1.0em 0em 0.5em;
    font-size: 1.4em;
    margin: 0em;
}

p {
    padding: 0.5em 0.5em 0em 0.8em;
    margin: 0.5em 0em 0.5em 0em;
}

a, a:link, a:active, a:hover, a:visited {
    border: 0em;
    text-decoration: none;
    color: #000000;
}

a.arrow:hover {
    padding-right: 1.5em;
    background: url(img/arrow_hover.png) center right no-repeat;
}

a.active {
    padding-right: 1.5em;
    background: url(img/arrow_active.png) center right no-repeat;
}

a.highlighted {
    text-decoration: underline;
}

img {
    border: 0em;
}

.hidden {
    display: none;
}

.no_gap {
    padding: 0em;
    margin: 0em;
}

.text_right {
    text-align: right;
}

/* Container styling */
#flashcontent {
    width: 100%;
    height: 100%;
    text-align: center;
    vertical-align: middle;
}

#bgwrapper {
    position: absolute;
    bottom: 60%;
    right: 50%;
    width: 100%;
    height: 80px;
    z-index: 5;
}

#bg_container {
    position: relative;
    top: 40%;
    left: 50%;
    vertical-align: middle;
    width: 100%;
    height: 80px;
    z-index: 5;
}

#footerwrapper {
    position: absolute;
    bottom: 3.5%;
    right: 1%;
    width: 450px;
    height: 20px;
}

#footer {
    position: relative;
    top: 97.5%;
    width: 450px;
    height: 20px;
    font-size: 0.7em;
    text-align: right;
}

#htmlwrapper {
    position: absolute;
    bottom: 60%;
    right: 50%;
    width: 800px;
    height: 600px;
    z-index: 15;
}

#htmlcontent {
    position: relative;
    top: 40%;
    left: 50%;
    vertical-align: middle;
    text-align: left;
    width: 800px;
    height: 600px;
    z-index: 15;
}

#htmlcontent_home {
    position: relative;
    top: 40%;
    left: 50%;
    vertical-align: middle;
    width: 800px;
    height: 600px;
    z-index: 15;
}

#navigation {
    position: relative;
    top: 27.2%;
    margin-left: 6.8em;
    height: 16.5em;
}

#logo_container {
    position: relative;
    top: 8%;
    vertical-align: middle;
    z-index: 10;
}

#logo_container_home {
    position: relative;
    top: 52%;
    vertical-align: middle;
    z-index: 11;
}

#content {
    position: relative;
    width: 100%;
    font-size: 0.8em;
    top: 9.8%;
}

#text_container { 
    position: relative;
    width: 46.4em;
    height: 24.8em;
    padding-left: 16.2em;
    left: 0.3em;
    top: 0.3em;
}

/* SoftGear logo styling */
.logo {
    position: relative;
    margin-top: -6.2em;
    height: 8em;
    width: 100%;
    z-index: 12;
    vertical-align: middle;
}

.logobar {
    vertical-align: middle;
    width: 100%;
    height: 5.0em;
}

.logobar div {
    background-color: #000000;
    width: 100%;
    height: 4.05em;
}

.logo_offcenter {
    position: relative;
    padding-left: 3.0em;
}

.title_offcenter {
    position: relative;
    z-index: 5;
    padding-left: 10.6em;
    margin-top: -5.9em;
}

/* Menu & navigation styling */
#navigation .menu {
    border: 1px solid #ebebeb;
    width: 9em;
    height: 10.5em;
}

#navigation .menu_with_submenu {
    border: 1px solid #ebebeb;
    width: 16.5em;
    height: 10.5em;
}

#navigation .menu ul, 
#navigation .menu_with_submenu ul {
    font-size: 0.8em;
    padding-left: 1.2em;
    list-style-type: none;
    margin-left: 0em;
    margin-right: 0em;
}

#navigation .submenu {
    position: relative;
    float: right;
    width: 9em;
    margin-top: -7.0em;
    padding-right: 1.8em;
}

/* Content & shadow styling */
.shadow1 { 
    background-color: #dddddd;
    width: 100%;
    height: 100%;
}

#text_container .small_content {
    width: 38.1em;
    height: 20em;
}

#text_container .small_content table {
    padding: 0.5em 0.5em 0em 0.8em;
}

.text_block, .shadow2, .shadow3 {
    position: relative;
    width: 100%;
    height: 100%;
    left: -0.2em;
    top: -0.2em;
}

.shadow2 { 
    background-color: #cacaca;
}

.shadow3 { 
    background-color: #bdbdbd;
}

.text_block {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #999999;
    text-align: left;
    height: 100%;
    width: 100%;
}

.text_block .left_column {
    position: relative;
    width: 60%;
    height: 100%;
    float: left;
    padding: 1.0em 0.5em 0em 0.2em;
}

.text_block .portfolio_left_column {
    width: 46.5%;
    padding: 1.0em 0.5em 0em 0.2em;
}

.text_block  .left_column h1 {
    margin: 0em 0em 0.5em 0em;
    padding: 0em 1.0em 0em 0.3em;
    font-size: 2.1em;
}

.text_block  .left_column h2 {
    padding: 0.5em 1.0em 0em 1.0em;
    margin: 0em;
}

.text_block .left_column a:hover {
    text-decoration: underline;
}

.text_block .left_column ul {
    padding-left: 2.5em;
    margin: 1.0em 0em;
}

.text_block .left_column ul li {
    list-style-type: square;
}

.text_block .right_column {
    position: relative;
    margin-right: 1.5em;
    padding-top: 2.0em;
    width: 35%;
    height: 100%;
    float: right;
    vertical-align: middle;
}

.text_block .portfolio_right_column {
    width: 50%;
    margin-right: 0.7em;
}

.text_block .home_right_column {
    padding-top: 0em;
    margin-right: 0.7em;
}

.text_block .home_right_column h3 {
    font-size: 1.2em;
    margin: 1.0em 0em 1.0em 0em;
}

.text_block .right_column #image_block {
    margin: 0em auto;
    vertical-align: middle;
    text-align: center;
}

.text_block .right_column #special_block {
    background-color: #ebebeb;
    padding: 0.3em 0.3em 0.3em 1.0em;
    vertical-align: middle;
}

.text_block .right_column #special_block h2 {
    padding: 0.5em 0em 0em 0.2em;
}

.text_block .home_right_column #special_block {
    margin-top: 10%;
    padding: 0.5em 0.4em 0.5em 0.4em;
}

.text_block .right_column #special_block ul {
    padding-left: 1.5em;
    margin: 1.0em 0em;
}

.text_block .right_column #special_block ul li {
    list-style-type: none;
    list-style-image: url(img/arrow_list.png);
}

.text_block .portfolio_right_column #image_block {
    margin-top: 0%;
    vertical-align: middle;
}

/* Footer styling */
#footer .left_block {
    display: inline;
    color: #808385;
}

#footer .right_block {
    display: inline;
    padding-left: 1.5em;
    color: #808385;
}

#footer a, 
#footer a:hover, 
#footer a:visited {
    border: 0em;
    text-decoration: none;
    color: #808385;
}