﻿/* General styles */

body {
    font-size: 10pt;
    font-family: Verdana;
    margin-left: auto;
    margin-right: auto;
    width: 994px;    
}

img {
    border-style: none;
}

a:link, a:visited, a:hover {
    color: Blue;
    text-decoration: none;
    font-weight: bold;
}

.DocSelected a:link, .DocSelected a:visited, .DocSelected a:hover {
    color: Red;
}

a:hover {
    text-decoration: underline;
}

/* 20120508 Henning - ProjectID=13694 - Created. */
a[disabled]:hover, a[disabled="disabled"] {
    color: inherit;
    text-decoration: none;
}

/* 20120525 Henning - ProjectID=13986 EPW3 - Adjust font sizes to prevent skewing of layout. */
.ui-datepicker { font-size: 8pt !important; }
.ui-datepicker .ui-datepicker-week-col, ui-datepicker > span, ui-datepicker > a {
    font-size: 8pt !important;
}

/* Page components */
div.bodyholder {
    border: 1px solid black;
    border-bottom: 0px;
    clear: both;
     /* 20120614 Henning - ProjectID=14406 - Always have this white, even when another background color is used for e.g. test environments. */
    background-color: #fff;
}

/* Hacks for IE. Without this, the side borders in the general layout magically disappears
 * when scrolling and the content contains blocks with style="float: left;" or 
 * style="float: right;"
 */
/* IE6 */
* html div.bodyholder {
    width: 994px;
}
/* IE7 */
*+html div.bodyholder {
    width: 994px;
}

div.mainLogo {
    height: 40px;
    float: left;
}

div.mainHeader {
    position: relative;
    height: 40px;
    margin: auto;
    text-align: right;
}

div.loginNotice {
    float: right;
    position: absolute;
    bottom: 0px;
    right: 0px;
    text-align: right;
    padding-bottom: 0px;
    padding-right: 0px;
    padding-left: 0px;
}

div.globalOptions {
    background: #e8e8e8 url( '../images/MenuBorder2.gif' ) repeat-x bottom;
    padding-top: 5px;
    padding-bottom: 5px;
}

.alternatingkey {
    background-color: #fcfcfc;
}

.doc_level_0 {
    padding-left: 0px;
}
.doc_level_1 {
    padding-left: 10px;
}
.doc_level_2 {
    padding-left: 20px;
}

#breadcrumb {
    text-align: right;
    width: 100%;
    margin: 0px;
}

#content {
    margin: 0px;
    padding: 0px;
}

.error,
.sred {
    color: red;
}

.warning {
    color: orange;
}

.success {
    color: green;
}

div.errormessage {
    font-weight: bold;
    color: red;
    padding: 50px;
    margin-right: auto;
    margin-left: auto;
    margin: 50px;
    vertical-align: middle;
    text-align: center;
}

div.message {
    font-weight: bold;
    padding: 50px;
    margin-right: auto;
    margin-left: auto;
    margin: 50px;
    vertical-align: middle;
    text-align: center;
}

div.valorheader {
    background-color: #bbb;
    width: 100%;
    font-weight: bold;
    text-align: center;
    padding-top: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid black;
}

div.details {
    margin: 0px;
    padding: 0px;
}

div.header,
table.keyvaltable tr td.subbigheadercell {
    background-color: #bbb;
    font-weight: bold;
    padding-top: 6px;
    padding-bottom: 6px;
    border-top: solid 1px #000000;
}

div.details div.header,
#footer,
table.keyvaltable tr td.subbigheadercell {
    text-align: left;
    background: #FFFFFF url( '../images/MenuBorder2.gif' ) repeat-x bottom;
    background-color: #E8E8E8;
    margin: 0;
}


#footer {
    clear: both;
    border-top: 1px solid black;
    text-align: right;
    line-height: 30px;
    vertical-align: middle;
    padding: 0px 10px 0px 10px;
}

.footercontentleft {
    float: left;
}

.footercontent {
    margin-right: 6px;
}

div.details div.header span,
table.keyvaltable tr td.subbigheadercell {
    padding-left: 6px;
}

div.toplink {
    float: right;
}

/* Table layouts */
table.keyvaltable tr td.subheadercell {
    text-align: left;
    font-weight: bold;
    color: #a00000 !important;
    height: 40px;
    padding-left: 20px;
}

#wikicontainer table.keyvaltable tr td.subheadercell {
    font-size: 11pt !important;
}

/* Hacks for IE. Without this, the values some times flies far to the right.
 */
/* IE6 */
* html table.keyvaltable tr td.keycell {
    width: 22%;
}
/* IE7 */
*+html table.keyvaltable tr td.keycell {
    width: 22%;
}

table.keyvaltable tr td.keycell {
    font-weight: bold;
    text-align: right;
    padding-right: 15px;
    width: 230px !important;
}

table.keyvaltable tr td.valuecell input[type=text],
table.keyvaltable tr td.valuecell textarea {
    padding: 1px 2px 1px 2px;
    height: 20px;
    margin: 0px;
    box-sizing: border-box;
    outline-style: none;
}

table.keyvaltable tr td.multilist {
    /* 20130626 Henning - Align key cell text at the top. ProjectID=17717*/
    vertical-align: top;
}

td.topalign 
{
    vertical-align: top;
}

table.keyvaltable tr td.keycellnowidth {
    font-weight: bold;
    padding-right: 15px;
}

table.keyvaltable tr td.keycellfixedwidth {
    width: 100px;
    font-weight: bold;
    display: inline-block;
}

table.keyvaltable tr {
    padding-top: 2px;
    padding-bottom: 2px;
}

a.changerequestlink { color: green; }
tr.active td a.changerequestlink { color: blue; }

tr.active td, tr.pending td
{
    background-color: InfoBackground;
}

table.datatable tr th {
    font-weight: bold;
    background-color: #ccc;
    text-align: left;
}

table.datatable tr td.important {
    font-weight: bold;
}

table .bondGridFilterList {
    font-size: 7pt;
    color: #A00000;
    display: block;
    margin: auto;
    background-color: #ffffff;
}

/* Telekurs navigational */
#blockBreadCrumb {
    display: none;
}

div.menu span a {
    padding: 10px;
}

div.boxMenu {
    float: left;
    width: 100%;
    background: #e8e9e8 url( '../images/menuborder2.gif' ) repeat-x bottom;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}

div.boxMenu a, div.boxMenu a:visited {
    float: left;
    font-weight: bold;
    font-size: 10pt;
    text-decoration: none;
    margin: 0px 0px 0px 0px;
    /* 20120612 Henning - Fix menu width in IE9 under "Bond" by changing padding left and right from 12 to 10. */
    padding: 5px 10px 5px 10px;
    color: #000000;
    border-right: solid 1px black;
    white-space: nowrap;
}

div.boxMenu a:hover, div.boxMenu .selected {
    float: left;
    background-color: #ffffff;
    text-decoration: none;
}

div.boxMenu a:hover, div.boxMenu .selected span {
    float: left;
    color: #a00000;
}

.delimitor {
    border-bottom: solid 1px #000000;
}

/*div.mainMenu div {
    padding: 0px 0px 0px 10px;
}*/

/* Tab menu CSS */
div.taMenu {
    float: left;
    width: 100%;
    background: #e8e8e8 url( '../images/MenuBorder2.gif' ) repeat-x bottom;
    padding: 5px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}

div.taEmptyMenu {
    float: left;
    width: 100%;
    background: #e8e9e8 url( '../images/MenuBorder2.gif' ) repeat-x bottom;
    padding: 4px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    line-height: 30px;
}

div.taMenu a, div.taMenu a:visited {
    float: left;
    display: block;
    color: #000000;
    background: #e8e9e8 url( '../images/MenuRight_ny.gif' ) no-repeat right top;
    font-size: 10pt;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    border-bottom: solid 1px #333333;
}

div.taMenu span {
    float: left;
    display: block;
    background: url( '../images/MenuLeft_ny.gif' ) no-repeat left top;
    white-space: nowrap;
    padding: 5px 9px 5px 9px;
}

div.taMenu a:hover {
    color: #a00000; /*background-position: 100% -150px;*/
    text-decoration: none;
}

/*div.taMenu a:hover span {
    background-position: 0% -150px;
}*/

div.taMenu div {
    padding: 0px 0px 0px 10px;
}

/* Commented Backslash Hack hides rule from IE5-Mac \*/

/* div.taMenu span {float : none;} */

/* End IE5-Mac hack */

div.taMenu a.selected, div.taMenu a:visited.selected {
    /*background-position: 100% -150px;*/
    border-bottom-color: #e8e9e8;
}

div.taMenu .selected span {
    /*background-position: 0% -150px;*/
    color: #a00000;
}

div.taMenu .disabled span {
    /*padding-bottom: 5px;*/
    color: #cdcdcd;
}

div.boxMenu a.priceDisabled,
div.boxMenu a:visited.priceDisabled,
div.taMenu .priceDisabled span,
div.boxMenu .priceDisabled span {
    color: #cdcdcd;
}

.taMenu .category_space span {
    margin-right: 50px;
    border-width: 0px;
    background: #e8e8e8;
}

.rightmenulinks {
    float: right;
    width: 150px;
    margin-top: 20px;
}

.selectedRow td, .normalRow td, .alternatingRow td, .markedRow td {
    padding-left: 4px;
    padding-right: 4px;
    vertical-align: top;
}

/* 20120604 Henning - ProjectID=14990 - Flipped normal and alternating row style */
.alternatingRow {
    background-color: white;
}

.normalRow {
    /*background-color: #fcfcfc;*/
    /*background-color: #cccccc; */
    /* 20120201 Ulrik */
    background-color: #f0f0f0;
}

.selectedRow td {
    background-color: #aaaaaa;
}

.markedRow td {
    /*border-top-style: solid;*/
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-bottom-color: Black;
}

/* expired rows */
tr.expired td a { color: Gray; }
tr.expired td 
{
    padding-left: 4px;
    padding-right: 4px;	
}

.SRLoginBox_LoginInputPanel {
    width: 117px;
    text-align: left;
    margin: auto;
}

#credentials, #credentials a {
    color: #939598;
    font-weight: normal;
    text-align: center;
}

#credentials a {
    text-decoration: underline;
}

.floatingRightBox {
    float: right;
    background-color: #f9f9f9;
    border: 1px solid #999;
    padding: 5px;
    margin: 10px;
}

.floatingLeftBox {
    float: left;
    background-color: #f9f9f9;
    border: 1px solid #999;
    padding: 5px;
    margin: 10px;
}

.tooltipped
{
    cursor: help;
}

.errorblock 
{
    font-weight: normal;
    font-size: x-small;
    color: red;
}

/* Styles for EPW feedback form in MainLayout.master */
#feedback div.form input[type=text] { width: 100%; }
#feedback div.form textarea { width: 100%; }
#feedback div.form span { font-weight: bold; }

#feedback div.form textarea.error, #feedback div.form input.error  {
    border: 2px solid red;
}

a.datachangebtn 
{
    margin-right: 20px;
    float: right;
    vertical-align: middle;
    line-height: 25px;
}

td.rightheader 
{
    text-align: right;
    font-style: italic;
    padding-right: 20px;
    vertical-align: middle;
    line-height: 25px;
}

td.emptylinecell 
{
    line-height: 25px;
}

input.resetimage[type=checkbox] {
    display:none;
}

input.resetimage[type=checkbox] + label
{
    background: url(../Images/ResetGray.png);
    height: 16px;
    width: 16px;
    display:inline-block;
    padding: 0 0 0 0px;
}
   
input.resetimage[type=checkbox]:checked + label
{
    background: url(../Images/ResetRed.png);
    height: 16px;
    width: 16px;
    display:inline-block;
    padding: 0 0 0 0px;
}

/* 20120417 Ulrik - ProjectId=13850 - Style unit inputboxes to contain the unit, */
div.unitplaceholder label
{
    position: relative;
    margin-left: -30px;
    color: Gray;
}

div.unitplaceholder input 
{
    text-align: right;
    padding-right: 30px;
}

#instruments {
    float: left;
    margin-bottom: 30px;
    width: 70%;
}

#links {
    float: right;
    margin: 20px;
}
        
#reportlist li 
{
    display: inline-block;
    /* width: 170px;
       20121207 Ulrik - No room for fixed width tabs with the Filter. Apply margin instead. - ProjectId=15956
    */
    margin-left: 20px;
    margin-right: 20px;
    
    text-align: center;
}
        
#reportlist 
{
    margin-bottom: 0px; 
    margin-top: 0px;
}

/* 20130619 Ulrik - Fix CSS for keytables in wiki - ProjectId=14751 */
span.helptext, div.helptext, #wikicontainer span.helptext, #wikicontainer div.helptext
{
    font-size: smaller;
    font-style: italic;
    color: gray;
    margin-left: 20px;
}

#wikicontainer td.multilist span.helptext, #wikicontainer td.multilist div.helptext {
    /* 20130626 Henning - Align help text at the top. ProjectID=17717*/
    vertical-align: top;
}

span.helptext a, div.helptext a
{
    color: gray;
    text-decoration: underline;
    font-weight: normal;
}

span.helptext a:hover, div.helptext a:hover
{
    color: blue;
}

span.statemessage 
{
    float: right;
    display: block;
    margin-right: 0px;
    font-weight: bold;
    color: Red;
    background-color: white;
    padding: 6px;
    padding-left: 12px;
    margin-top: -6px;
}

/* 20190106 Ulrik - Revert rule introduced by Tue in ProjectID=14781 for EP, as we don't want them to apply in content. ProjectId=38489 */
#epw-content #wikicontainer a,
#wikicontainer.wikicontainersix a {
    word-break: normal;
}
