/* http://charliepark.org/bootstrap_buttons/ */
.btn-primary {
    background-color: #0F758C !important;
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#d61313", endColorstr="#790b0b");
    background-image: -khtml-gradient(linear, left top, left bottom, from(#d61313), to(#790b0b));
    background-image: -moz-linear-gradient(top, #2FA5BF, #0F758C);
    background-image: -ms-linear-gradient(top, #2FA5BF, #0F758C);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2FA5BF), color-stop(100%, #0F758C));
    background-image: -webkit-linear-gradient(top, #2FA5BF, #0F758C);
    background-image: -o-linear-gradient(top, #2FA5BF, #0F758C);
    background-image: linear-gradient(#2FA5BF, #0F758C);
    border-color: #2FA5BF #0F758C hsl(0, 83%, 21%);
    color: #fff !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.33);
    -webkit-font-smoothing: antialiased;
}

body, body.wizard, body.popup {
    background-color: #ffffff;
}

body.popup {
    background-color: #FFF;
}

#entityType {
    height: 36px;
}

#entityType .top {
    padding-right: 5px;
}

#entityType .bottom {
    padding-right: 5px;
}

.wizardName {
    color: #28B2C9;
}

#idmHeader {
    line-height: 32px;
    color: #0071b2;
}

#mainheader {
    margin: 10px 0;
}

#idmHeader li a {
    color: #0071b2;
}

/* Links */
A {
    color: #222;
    text-decoration: none;
}

A:Visited {
    color: #444;
    text-decoration: none;
}

A:Active {
    color: #777;
    text-decoration: none;
}

A:Hover {
    color: #777;
    text-decoration: underline;
}

/* Forms */
TD.LABEL {
    border-bottom: 1px solid #F6F6EE;
}

TD.FIELD {
    border-bottom: 1px solid #F6F6EE;
}

TD.tableSTIPES {
    background-color: #F6F6EE;
}

TD.tableSTIPESNarrow {
    background-color: #F6F6EE;
}

/* Inner Area */
.onlyborder {
    border: 1px solid #F6F6EE;
}

.dashboard {
    background: #f8f8f7;
    border: 0;
    color: #888;
}

.wizard {
    background: url('../images/rm5background.png') repeat-x;
    background-position: 0 -100px;
}

/* General wizard */
.wizardLeftColumn {
    background: #D1EFF9;
}

.wizardButtons {
    background: #D1EFF9;
}

table.searchHeader {
    background: #D1EFF9;
}

.onlyborder {
    border: 1px solid #CECAD2;
}

/* General wizard */
.wizardButtons {
    background-color: #f2f2f2;
    border: 1px solid #DDD;
}

/* Link styles */
TD.internalOdd {
    background-color: #F6F6EE;
}

div.internalOdd {
    background: #F6F6EE;
}

TD.externalOdd {
    background-color: #F6F6EE;
}

TD.embeddedOdd {
    background-color: #F6F6EE;
}

TD.selectableOdd {
    background-color: #e7edee;
}

TD.plainOdd {
    background-color: #F6F6EE;
}

TD.toBasketLinksOdd {
    background-color: #F6F6EE;
}

.naviPage {
    padding: 0 5px;
}

/** Single item in left navigation - active */
.naviTable {
    width: 231px;
    border-bottom: 5px solid #2882be;
}

/** Container for left navigation */
div.leftNaviBoxActive {
    width: 213px;
    margin-top: 10px;
    border-bottom: 0;
    margin-right: 10px;
}

div.leftNaviBoxActive .image {
    width: 50px;
    margin-top: -20px;
    padding-left: 5px;
}

div.leftNaviBoxActive div.content {
    width: 155px;
    padding-top: 7px;
    padding-bottom: 10px;
}

/** Single item in left navigation - passive */
div.leftNaviBox {
    width: 213px;
    height: 53px;
    margin-right: 10px;
}

div.leftNaviBox .image {
    padding: 12px 0 0 5px;
}

div.leftNaviBox .content {
    width: 155px;
    height: 53px;
}

/** Single item in main navigation */
.naviBox {
    background: #f8f8f7;
    border: 0;
    color: #888;
}

.naviBox h2 {
    font-size: 160%;
}

.naviBox a {
    color: #006da7;
}

.naviBox .buttons a {
    color: #006da7
}

#idmHeader {
    margin-top: 12px;
    line-height: 20px;
}

#idmHeader li {
    color: #0071b2;
}

#userOptions li {
    color: #0071b2;
}

#userOptions li a {
    color: #0071b2;
}

/** Headers */
#headerTop td {
    background: url('../images/rm5top.png') no-repeat white top right;
    border-bottom: 1px solid #fff;
}

#headerBottom td {
    background: url('../images/rm5top2.png') no-repeat top right;
    padding-top: 9px;
}

/** Navigation */
#maintabs li {
    margin-left: 1px;
}

#maintabs li.first {
    margin-left: 0;
}

#maintabs li a {
    border: 1px solid #2882BE;
    background: #2882BE;
    color: #fff;
}

#maintabs li a:hover {
    color: #006da7;
    border: 1px solid #eee;
}

#maintabs li a#current {
    color: #006da7;
    border: 1px solid #eee;
}

#maintabs li.disabled a {
    color: #ccc;
    border: 1px solid #f3f3f3;
    background: #f3f3f3;
}

#maintabs li.disabled a:hover {
    color: #ccc;
    background: #f3f3f3;
}

/* Sub navigation tabs */
#subtabs {
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #eee;
    border-right: 1px solid #eee;
}

#subtabs li a {
    background-color: #EEE;
    color: #666;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

#subtabs li a#current {
    color: #000;
    background: #fff;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

#subtabs li a.error {
    color: #cc0000;
}

#subtabs li a#current.error {
    color: #cc0000;
}

#subtabs li.disabled a.error {
    color: #ccc;
}

.wizardTop {
    background-color: #F4F4F4;
    border-bottom: 1px solid #CCCCCC;
}

/* Wizard tabs */
#wizardTabs {
    width: 929px;
    border-top: 1px solid #eee;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #e3e3e3;
}

#wizardTabs li a {
    background-color: #EEE;
    color: #666;
    border-left: 1px solid #eee;
    border-right: 0;
}

#wizardTabs li a#current {
    color: #444;
    background: #fff;
    border-left: 1px solid #eee;
    border-right: 0;
}

#wizardTabs li a.error {
    color: #cc0000;
}

#wizardTabs li a#current.error {
    color: #444;
}
#wizardTabs li.disabled a {
    background-color: #F6F6EE;
}

#wizardTabs li.disabled a.error {
    color: #ccc;
}

#wizardTabs li.first {
    border-left: 1px solid #eee;
}

#wizardTabs li.first a#current {
    border-left: 0 solid #eee;
}

table.selectTableHeader {
    background-color: #F6F6EE;
}

table.selectTableItem a {
    color: #2882BE;
}

table.selectTableItem a.disabled {
    color: #aaa;
    pointer-events: none;
}

table.selectTableItem-disabled a.disabled {
    color: #aaa;
    pointer-events: none;
}

table.selectTableItem a:hover {
    color: #006da7;
}

table.selectTableItem a#current {
    color: #006da7;
}