/*
 * Copyright (c) 2010 J Robert Johansson, Raditex AB.
 * 
 * rSCADA site CSS
 *
 */

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #eeeeee;
}

/*

body{
    width: 100%;
    margin:0;
    padding:0;
    font-family:verdana;
    background: #ffffff url(images/page-background.png) 50% 0 repeat-x
}
*/


#container {
    margin: 0 auto;
    width: 1000px;

    border-bottom: 1px solid #999999;
    border-left:   1px solid #999999;
    border-right:  1px solid #999999;

    background: #ffffff;
}

#header {
    height: 90px;
    width: 100%;
    background: #ffffff;
    background-image: url('images/rSCADA_Site_Banner_blank.jpg');
}

#header-banner {
    float: left;
}

#header-language {
    float: right;
}

#border {
    width: 100%;
    height: 10px;
    border-bottom: 1px solid #999999;
}

/* MENU STUFF */

#nav {
    padding: 0;
    margin: 0;
    list-style: none;
    line-height: 1;
    border-bottom: 1px solid #999999;
    width: 100%;
    height: 30px; 
    background: #ffffcc;
}


#nav ul { 
    padding: 0;
    margin: 0;
    list-style: none;
    /* line-height: 1;*/
    width: 100%;
    height: 30px; 
    background: #ffffcc;
}

#nav a {
    display: block;
    width: 8em;
    height: 22px; 
    padding-top: 8px; 
    /* padding: 5px 10px;  */
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    background: #ffffcc;
    color: #039;
    font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
}

#nav li { 
    float: left;
    width: 8em;
    text-decoration: none;
    height: 30px; 
    font-size: 10pt;
    font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
    text-align: center;
    vertical-align: middle;
}

#nav li ul { /* second-level lists */
    position: absolute;
    background: #ffffff; 
    width: 8em;
    left: -999em;
    text-decoration: none;
    height: 30px; 
}

#nav li:hover ul { 
    left: auto;
}

#nav li a:hover
{ 
    background: #ffd688;
}



#menu-nav-one {
    float: left;
    width: 1000px;
    padding: 0 0;
    margin: 0 0;
    display: inline;

    line-height: 18px;
    font-size: 10pt; 
    font-family: Tahoma, Arial, Helvetica, Sans-serif;
}

#menu-nav 
{
    float: left;
    width: 1000px;
    list-style: none;
}

#menu-nav ul
{
    margin: 0;
    padding: 0;
    list-style: none;
}

#menu-nav ul li
{
    list-style-type: none;
    display: inline;
    float: left;
}

#menu-nav li a
{
    display: block;
    float: left;
    padding: 5px 10px;
    text-decoration: none;
    border-bottom: 1px solid #999999;
    border-right: 1px solid #999999;
}

#menu-nav li a:hover
{ 
/*    border-bottom: 1px solid #999999; */
    background: #ffffcc;
}

#menu-nav li ul {
    position: absolute;
    width: 8em;
    left: -999em;
}

#menu-nav li:hover ul {
    left: auto;
}


/* CONTENT STUFF */

#content {
    float: left;
    width: 960px;
    padding: 0 0;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 0px;

    background: #ffffff;

    line-height: 18px;
    font-family: Tahoma, Arial, Helvetica, Sans-serif;
    font-size: 14px;
}

#main-panel {
    float: left;
    width: 780px; /*960*/
    padding: 0 0;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 0px;

    background: #ffffff;

    line-height: 18px;
    font-family: Tahoma, Arial, Helvetica, Sans-serif;
    font-size: 14px;
}

#middle-panel {
    float: left;
    width: 620px; /*960*/
    padding: 0 0;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 0px;

    background: #ffffff;

    line-height: 18px;
    font-family: Tahoma, Arial, Helvetica, Sans-serif;
    font-size: 14px;
}

/* --- right panel --- */
#right-panel {
    float: right;
    right: 0;
    width: 160px;
    padding: 0 0;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
}

#right-panel h1
{
    font-family: Arial, Helvetica, Sans-serif;
    font-size: 14px;
}
#right-panel h2
{
    font-family: Arial, Helvetica, Sans-serif;
    font-size: 12px;
}
#right-panel p
{
    font-family: Arial, Helvetica, Sans-serif;
    font-size: 12px;
}

/* --- left panel --- */
#left-panel {
    float: left;
    right: 0;
    width: 140px;
    padding: 0 0;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
}
#left-panel h1
{
    font-family: Arial, Helvetica, Sans-serif;
    font-size: 14px;
}
#left-panel h2
{
    font-family: Arial, Helvetica, Sans-serif;
    font-size: 12px;
}
#left-panel p
{
    font-family: Arial, Helvetica, Sans-serif;
    font-size: 12px;
}


#footer {
    clear: left;
    background: #ffffcc;
    text-align: center;
    padding: 20px;
    height: 1%;

    font-size: 10px;
    font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;    

    border-top: 1px solid #999999;
}

#code {
    background: #f7f7f7;
    border: 1px solid #d7d7d7;
    margin: 5px 5px;
    padding: .25em;
    overflow: auto;
}

#blk_hdr {
    background-color: #ffeeaa;
    border: 1px solid #d7d7d7;
    margin: 0px 0px;
}

#blk {
    background-color: #ffeeaa;
    border: 1px solid #d7d7d7;
    margin: 0px 0px;
}


/* TABLE FORMAT */
#rs-table-full-width
{
    font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
    font-size: 12px;
    background: #fff;
    margin: 0px;
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
#rs-table-full-width th
{
    background: #ffffcc;
    font-size: 14px;
    font-weight: normal;
    color: #039;
    padding: 10px 8px;
    border-top: 1px solid #6678b1;
    border-bottom: 2px solid #6678b1;
}
#rs-table-full-width td
{
    border-bottom: 1px solid #ccc;
    color: #669;
    padding: 6px 8px;
}
#rs-table-full-width .alarm
{
        color: #ee3355;
        font-weight: bold;
}
#rs-table-full-width tfoot
{
    text-align: left;
}
#rs-table-full-width tbody tr:hover td
{
    color: #009;
}

#rs-table-dynamic-width
{
    font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
    font-size: 12px;
    background: #fff;
    margin: 0px;
    /* margin-left:0.0cm;    */
    /* width: 95%; */
    border-collapse: collapse;
    text-align: left;
}
#rs-table-dynamic-width th
{
    background: #ffffcc;
    font-size: 14px;
    font-weight: normal;
    color: #039;
    padding: 10px 8px;
    border-top: 1px solid #6678b1;
    border-bottom: 2px solid #6678b1;
}
#rs-table-dynamic-width td
{
    border-bottom: 1px solid #ccc;
    color: #669; 
/*    color: #009; */
    padding: 6px 8px;
}
#rs-table-dynamic-width tfoot
{
    text-align: left;
}
/*
 #rs-table-dynamic-width tbody tr:hover td
{
    color: #009;
}
*/

#rs-table-comment-log
{
    font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
    font-size: 12px;
    background: #fff;
    margin: 0px;
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
#rs-table-comment-log th
{
    background: #ffffcc;
    font-size: 14px;
    font-weight: normal;
    color: #039;
    padding: 5px 5px;
    border-bottom: 2px solid #6678b1;
}
#rs-table-comment-log td
{
    border-bottom: 1px solid #ccc;
    color: #669;
    padding: 6px 8px;
}
#rs-table-comment-log tfoot
{
    text-align: center;
}
#rs-table-comment-log tbody tr:hover td
{
    color: #009;
}

/* MENU FORMAT */
#rs-hor-menu ul
{
    list-style: none;
    padding: 0;
    margin: 0;
} 

#rs-hor-menu li
{
    float: left;
    margin: 0 0em;
} 

#rs-hor-menu li a
{
    /* background: url(background.gif) #fff bottom left repeat-x;*/
    height: 2em;
    line-height: 2em;
    float: left;
    width: 8em;
    display: block;
    border: 0.1em solid #dcdce9;
    /* color: #0d2474; */
    color: #039;    
    font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
    text-decoration: none;
    text-align: center;
} 

#rs-hor-menu li a:hover
{
    background: #ffffcc;
}


/* ADDRESS FORMAT */

#address
{
    color:black;
    font-size:8pt;
    margin-top:0.5cm;
    margin-left:0.25cm;
    margin-right:0.25cm;
    font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
    font-style: normal;
}

#address a:link
{
    color: blue;
}
#address a:visited
{
    color: blue;
}

#address a {
    font-size: 8pt; 
    font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
    color: #0f1b81; 
    font-weight: normal; 
    text-decoration: none;
}

#address a:hover {
    text-decoration: underline;
}


/* --- link and text decorations --- */

li {
    font-size: 10pt; 
    font-family: Tahoma, Arial, Helvetica, Sans-serif;
    font-weight: normal; 
    text-decoration: none;
}


p {
    font-size: 10pt; 
    font-family: Tahoma, Arial, Helvetica, Sans-serif;
    font-weight: normal; 
    text-decoration: none;
}

p.caption {
        font-size: 10pt;
        font-family: Tahoma, Arial, Helvetica, Sans-serif;
        font-weight: normal;
        text-decoration: none;
}

a:link
{
    color: blue;
}
a img
{    
    border: none;
}
a:visited
{
    color: blue;
}

a {
    font-size: 10pt; 
    font-family: Arial, Helvetica, Sans-serif; 
    /* font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;    */
    color: #0f1b81; 
    font-weight: normal; 
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


/* Bold font styles */

h1 {
    font-size: 16pt;
    font-family: Tahoma, Arial, Helvetica, Sans-serif;
    font-weight: normal; 
    color: #666666;
}

h2 {
    font-size: 14pt;
    font-family: Tahoma, Arial, Helvetica, Sans-serif;
    font-weight: normal; 
    font-style: italic; 
    color: #666666;
}

h3 {
    font-size: 12pt;
    font-family: Tahoma, Arial, Helvetica, Sans-serif;
    font-weight: bold; 
    font-style: italic; 
    color: #666666;
}



