﻿:root {
}

p {
    font-size: 12px !important;
}

#mainarea #title h1 {
    color: #0C2340 !important;
}

@font-face {
    font-family: "FontAwesome";
    src: url("https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.eot?v=4.3.0");
    src: url("https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.eot?#iefix&v=4.3.0") format("embedded-opentype"), url("https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.woff2?v=4.3.0") format("woff2"), url("https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.woff?v=4.3.0") format("woff"), url("https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.ttf?v=4.3.0") format("truetype"), url("https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular") format("svg");
}

/* General */
.darkgrey {
    color: #666666;
}

.lightgrey {
    color: #888888;
}

.darkblue {
    color: #0C2340;
}

#infoButton {
    font-size: 16px;
    color: #0C2340 !important;
}

/* Areas */
.leftarea, .rightarea {
    border: 1px solid #d22630;
}

.leftsa {
    border: none !important;
}

.leftsa, .leftsa2, .rightsa {
    border-radius: 8px;
    border: none;
}

html, body {
    background-color: #ffffff;
    color: #0C2340;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    font-style: normal;
    text-align: center;
}

input[type="button"], input[type="submit"] {
    text-transform: uppercase !important;
}

.rightsa2 {
    /*background-color: #0C2340 !important;
    color: #fff !important;*/
}

    .rightsa2 .par100 {
        line-height: 100%;
        text-align: center;
        line-height: 16px;
    }

    .rightsa2 input[type="button"] {
        border: 1px solid #ffffff;
    }
/* Title */
#title {
    background-color: transparent;
}

#titlebox {
    border: 1px solid #d22630;
}

.level1, .level2, .level3, .level3a, .level4, .level5, .level6 {
    border: none;
}

h1 {
    font-size: 2.2em;
    color: #0C2340 !important;
    position: relative;
    /*left: 20px;*/
}

/* Tabs */
a.tab:link {
    color: #0C2340 !important;
}

a.tab:visited {
    color: #0C2340;
}

a.tab:hover {
    color: #ffffff !important;
    text-decoration: none;
}

a.tab:active {
    color: #000000;
}

a.tab:focus {
    color: #ffffff;
}

.tabs {
    height: 2em;
    margin-left: 25px;
    float: left;
    margin-bottom: 20px;
}

    .tabs table {
        height: 2em;
        position: relative;
        margin: 0px;
        width: 9.5em;
        float: left;
        -moz-border-radius-topleft: 0px;
        -moz-border-radius-topright: 0px;
        -webkit-border-radius: 0px 0px 0px 0px;
        border-radius: 0px 0px 0px 0px;
        border: none;
        background-color: #dfdfdf;
        color: #0C2340 !important;
        text-align: center;
        vertical-align: bottom;
        z-index: 4000;
        font-size: 0.8em;
        font-family: 'Lato', sans-serif;
    }

.tabsDealingAssetSelector table {
    width: 18em;
}

.tabs td {
    -moz-border-radius-topleft: 0px;
    -moz-border-radius-topright: 0px;
    -webkit-border-radius: 0px 0px 0px 0px;
    border-radius: 0px 0px 0px 0px;
}

.tab {
    color: #d22630;
    background-color: #f6f6f6;
}

.selectedTab {
    font-size: 1em;
    color: #0C2340 !important;
    background-color: White;
    top: 1px;
    cursor: default;
}

    .selectedTab a, .tab a {
        padding-top: 6px;
        padding-bottom: 4px;
        padding-left: 1px;
        padding-right: 1px;
        height: 16px;
        background: none;
    }

    .selectedTab a {
        color: #d22630;
        direction: rtl;
    }

.tab a:hover, .tab a:visited {
    color: #0C2340 !important;
    text-decoration: none;
}

.selectedTab a:hover, .selectedtTab a:link, a.selectedTab:hover, a.selectedTab:link {
    color: #0C2340 !important;
    text-decoration: none;
}

.tab:hover a, .tab:visited a {
    color: white !important;
    background: none;
}

.selectedTab:hover a, .selectedTab:link a, .selectedTab:visited a {
    color: #0C2340 !important;
    text-decoration: none;
    background: none;
}

.tab a.selectedTab {
    background-color: #0C2340 !important;
    color: white !important;
}

.tab:hover, .tab:visited {
    background-color: #0C2340 !important;
}

.tab:link, .tab:hover {
    color: #d22630;
    border: none;
}

.selectedTab:hover {
    background-color: White;
    border: none;
}

.selectedTab img, .tab img {
    position: relative;
    right: -12px;
    top: -2px;
    cursor: pointer;
}

.tab1, .tab1h {
    border: none;
}

/* --- Forms/Input Styling --- */

input[type="radio"] {
    vertical-align: middle;
}

/*input[type="radio"]
{
    vertical-align: middle;
    margin-right: 0px;
    margin-left: 0px;
}*/

input[type="submit"] {
    position: relative;
    border: 1px solid #0C2340 !important;
    color: #0C2340;
    font-size: 12px;
    font-family: 'Lato', sans-serif;
    font-style: normal;
    text-align: center;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: middle;
    margin-bottom: 0px;
    top: 0px;
    left: 0px;
    background-color: #fff;
    height: 30px;
    -webkit-appearance: none;
    margin: 10px;
    border: 1px solid #0C2340;
}


input[type="button"] {
    position: relative;
    border: none;
    color: #fff;
    font-size: 12px;
    font-family: 'Lato', sans-serif;
    font-style: normal;
    text-align: center;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: middle;
    margin-bottom: 0px;
    top: 0px;
    left: 0px;
    background-color: #0C2340;
    height: 30px;
    -webkit-appearance: none;
    margin: 10px;
    border: 1px solid #0C2340;
}

    input[type="submit"]:hover, input[type="button"]:hover {
        cursor: pointer;
        background-color: #004C6C;
        color: #fff;
        border: 1px solid #004C6C;
    }

/*label {
    display: block;
    font-size: 0.8em;
    font-family: sans-serif;
    color: #666;
    vertical-align: middle;
    cursor: default;
}*/

input[type="text"] {
    position: relative;
    border: 1px solid #C1BBAB;
    color: #666;
    font-size: 14px;
    font-family: sans-serif;
    font-style: normal;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding-top: 2px;
    padding-left: 4px;
    padding-bottom: 2px;
    vertical-align: middle;
    margin-bottom: 0px;
    height: 25px;
}

    input[type="text"]:hover, input[type="text"]:focus {
        border-color: #0c2340;
        background: #f0f0ff;
    }

.bigbut {
    font-size: 12px;
    font-family: 'Lato', sans-serif;
    color: unset;
}

.formContentData, .formContentHeader {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 3px;
    padding-right: 4px;
    border-bottom: 1px dashed #C1BBAB;
    text-align: left;
    margin-bottom: 0px;
}

    .formContentHeader p {
        color: #666;
    }

.formContentHighlight {
    background-color: #E6E6E6;
    border-top: 1px dashed #C1BBAB;
}

    .formContentHighlight p {
        font-size: 0.7em;
    }

.cashBalanceCurrencySwift,
.cashBalance,
.cashBalanceNegative {
    border-bottom: 1px dashed #C1BBAB;
    margin-bottom: 0px;
}

    .cashBalanceCurrencySwift p,
    .cashBalance p,
    .cashBalanceNegative p {
        font-size: 0.9em;
    }

    .cashBalance p,
    .cashBalanceNegative p {
        line-height: 145%;
    }

    .cashBalanceCurrencySwift p {
        text-align: left;
        font-weight: bold;
    }

    .cashBalance p, .cashBalanceNegative p {
        text-align: right;
    }

    .cashBalanceNegative p {
        color: Red;
    }

.radioButtonList label {
    font-size: 0.8em;
    font-family: sans-serif;
    color: #fff;
    vertical-align: middle;
}

.radioButtonList td {
    padding-top: 8px;
}

/* Policy Information */
.policyInformationContainer {
    color: #666;
}

    .policyInformationContainer h2 {
        color: #0C2340 !important;
    }

.GenerateValuation {
    background-color: #006496;
    margin: 5px;
    width: 20%;
    float: right;
    height: 100%;
}

/* Transaction Details Linked Trade */
.divLinkedTradesHeader {
    display: block;
}

.linkimage {
    position: inherit;
    display: inline-block;
    float: none;
    top: -20px;
    width: 280px;
    margin-left: 10px;
    margin-right: 10px;
    padding-left: 10px;
    padding-right: 10px;
    height: 60px;
    overflow: auto;
    background-image: url(../../../resources/FRS/images/backgrounds/chainlink2.png);
    background-repeat: no-repeat;
    background-position: top left;
    z-index: 5001;
    text-align: center;
}

.divLinkedTradesHeaderText {
    width: 236px;
    position: inherit;
    display: inline-block;
    float: none;
    top: -15px;
    height: 30px;
    z-index: 5001;
    text-align: center;
}

.cashAccount {
    background-color: #fff;
}

    .cashAccount h2, .cashAccountAvailable h2 {
        color: #0C2340 !important;
    }

    .cashAccount .rightsa2, .cashAccountAvailable .rightsa2 {
        background-color: #fff !important;
    }

.cashAccountAvailable {
    background-color: #fff;
    overflow: visible;
}

.policySelection_Proceed {
    color: #0C2340 !important;
    background-color: #FFFFFF !important;
    height: 10em;
    border-radius: 8px;
    border: 2px solid #0C2340;
}


    .policySelection_Proceed h2 {
        color: #0C2340 !important;
    }

    .policySelection_Proceed p {
        color: #0C2340 !important;
    }

.policyDealing_Proceed, .policyDealing_Proceed h2, .policyDealing_Proceed p, .policyDealing_Proceed .rightsa2 {
    background-color: #0C2340 !important;
    color: #fff !important;
    height: auto;
}

.uncommittedInstructions, .uncommittedInstructions h2, .uncommittedInstructions p, .uncommittedInstructions .rightsa2 {
    background-color: #0C2340 !important;
    color: #fff !important;
    height: auto;
}

    .uncommittedInstructions .rightsa2 {
        top: 0px !important;
        border-radius: 0px;
    }



.policyDealing_ButtonBack {
    float: right;
    padding-top: 64px;
}

.addInstruction_TradeType {
    float: left;
    margin-left: 0px;
    width: 200px;
    background-color: #006496;
    height: auto;
}

.addInstruction_DealSize {
    float: left;
    margin-left: 0px;
    width: 200px;
    background-color: #006496;
    height: auto;
}

.uncommittedInstructionsFX {
    background-color: #0C2340 !important;
    width: 250px;
    height: auto;
}

.uncommittedInstructions {
    background-color: #0C2340 !important;
    height: auto;
    margin-bottom: 0px;
    color: #fff;
}

    .uncommittedInstructions .btnSave, .uncommittedInstructions .Proceed {
        width: 12em !important;
    }

    .uncommittedInstructions .rightsa2 p {
        color: #fff !important;
    }

.uncommittedInstructions_LinkedTrades {
    margin-bottom: 0px;
    height: 61px;
    background-color: #d43428;
    background: url(../resources/FRS/images/backgrounds/chainlink.png);
}


.uncommittedInstructionsFX_Proceed {
    background-color: #0C2340 !important;
}

.divTransactionDetails_MainTradeSummary, .divTransactionDetails_LinkedTradesSummary {
    display: block;
    float: none;
    padding: 0;
    border: 0;
    margin-left: 0;
    margin-right: 0;
}

.divTransactionDetails_CloseTick {
    float: right;
    display: inline-block;
    /*position: relative;*/
    margin-top: 0px;
    padding-top: 0px;
    top: 0px;
    right: 0px;
}

.mail1, .mail2 {
    border: 1px solid #d22630;
    height: 1.8em;
}

    .mail1 p, .mail2 p {
        padding-top: 5px;
        padding-bottom: 5px;
    }

.newAssetRequest {
    font-size: 0.8em;
    font-family: sans-serif;
    color: #666666;
    margin-bottom: 10px;
}

.divAddInstruction_CavetInfoBoxes {
    display: inline-block;
    margin-left: 5px;
    float: right;
    width: 30px;
}

    .divAddInstruction_CavetInfoBoxes div {
        display: inline-block;
    }


.pAddInstruction_AvailablePositionTitle {
    display: block;
    float: left;
    color: #0C2340;
    font: bold;
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    width: 100px;
    min-height: 20px;
}

}

a.tabFrs {
    font-size: 1em;
    color: #d22630;
}

.stackedButton {
    margin-bottom: 2px !important;
}

.buttonControls {
    width: auto;
    float: right;
    margin-top: 15px;
    margin-bottom: -5px;
}

.stackedButtonControls {
    width: 12%;
    float: right;
    margin-top: 0px;
    /*margin-bottom: -5px;*/
}

    .stackedButtonControls input[type="submit"] {
        margin-bottom: 2px !important
    }


#divInstructionDetails .addInstruction_TradeType, #divInstructionDetails .addInstruction_TradeType .rightsa2 {
    background-color: #0C2340 !important;
}

    #divInstructionDetails .addInstruction_TradeType p {
        color: #fff !important;
        background-color: #0C2340 !important;
    }



#divInstructionDetails .addInstruction_DealSize {
    background-color: #FFF !important;
    border: 1px solid #0C2340 !important;
}

    #divInstructionDetails .addInstruction_DealSize p {
        color: #666666 !important;
        background-color: #fff !important;
    }

.addInstruction_DealSize input[type="submit"] {
    border: 1px solid #fff;
}

.availablePositions {
    background-color: #fff !important;
    border: 1px solid #0C2340 !important;
}

    .availablePositions .rightsa2 p, .availablePositions .rightsa2 {
        background-color: transparent !important;
    }

/* Buttons */
.Button_Back {
    width: 9em;
    padding-right: unset;
    padding-left: unset;
    background: none;
    position: relative;
}

.Proceed {
    width: 12em;
    padding-left: unset;
    padding-right: unset;
    background: none;
}

.Apply {
    width: 9em;
    padding-right: unset;
    background: none;
    padding-left: unset;
}

.Clear {
    width: 9em;
    padding-right: unset;
    background: none;
    padding-left: unset;
}

.Button_Ok {
    width: 9em;
    background: none;
    padding-right: unset;
    padding-left: unset;
}

.Button_Ok_Div {
    width: 12em;
    padding-left: none;
    margin-bottom: none;
    margin-left: 0px;
    margin-right: 0px;
    background: none;
    padding-right: none;
    padding-bottom: none;
    height: 30px;
    padding-top: 0px;
}

    .Button_Ok_Div a {
        position: relative;
        border: none;
        color: #fff;
        font-size: 13px;
        font-family: 'Lato', sans-serif;
        font-style: normal;
        text-align: center;
        -moz-border-radius: 8px;
        -webkit-border-radius: 8px;
        border-radius: 8px;
        padding-top: 8px;
        padding-bottom: 0px;
        vertical-align: middle;
        margin-bottom: 0px;
        top: 0px;
        left: 0px;
        background-color: #0C2340 !important;
        height: 25px;
        display: block;
        text-transform: uppercase;
    }

        .Button_Ok_Div a:hover {
            background-color: #004C6C;
            color: #fff;
        }

.Button_Add {
    width: 6em;
    padding-left: unset;
    padding-right: unset;
    background: none;
}

.Button_Confirm {
    padding-right: unset;
    width: 9em;
    background: none;
    padding-left: unset;
}

.Button_OK {
    width: 9em;
    padding-right: unset;
    padding-left: unset;
    background: none;
    margin-left: 60px;
}

.Button_Cancel, .Button_AttemptCancellation, .Button_Action, .Button_Close {
    width: 9em;
    background: none;
    padding-right: unset;
    padding-left: unset;
}

.Button_AttemptCancellation {
    padding-right: unset;
    background: none;
    padding-left: unset;
    width: 13em;
}

.Button_Print {
    padding-right: unset;
    background: left;
    background-color: grey;
    width: 9em;
    padding-left: unset;
    position: relative;
}

    .Button_Print :after {
        content: "\f038";
        font-family: FontAwesome;
        font-weight: 900;
        opacity: 100;
    }

.Button_Back:hover {
    border-color: #004C6C;
    background-color: #004C6C;
    color: white;
    padding-right: unset;
    background-position: bottom left;
    cursor: pointer;
    padding-left: unset;
}

.Proceed:hover, .Apply:hover, .Clear:hover, .Button_Ok:hover, .Button_Add:hover, .Button_Confirm:hover, .Button_Cancel:hover, .Button_AttemptCancellation:hover {
    border-color: #004C6C;
    background-color: #004C6C;
    color: #fff;
    background-position: bottom right;
    cursor: pointer;
}

/* Other Inputs */
.add, .arrow, .arrowl, .cross, .down, .tick {
    font-size: 12px;
    font-family: 'Lato', sans-serif;
    border: 0px solid #0c2340;
    color: #0c2340;
}

    .add:hover, .arrow:hover, .arrowl:hover, .cross:hover, .down:hover, .tick:hover, .add:focus, .arrow:focus, .cross:focus, .down:focus, .tick:focus {
        border-color: #0c2340;
    }

.input, .xpieinput, .tdinput {
    border: 1px solid #0c2340;
    color: #0c2340;
    font-size: 12px;
    font-family: 'Lato', sans-serif;
}

    .input:hover, .input:focus {
        border-color: #0c2340;
        background: #f0f0ff;
    }

    .xpieinput:hover, .xpieinput:focus {
        border-color: #0c2340;
        background: #f0f0ff;
    }

.select {
    border: 1px solid #C1BBAB;
    color: #666;
    font-family: 'Lato', sans-serif;
    height: 2.5em;
}

    .select:hover, .select:focus {
        border-color: #0c2340;
        background: #f0f0ff;
    }

.textarea {
    border: 1px solid #0c2340;
    color: #0c2340;
    font-family: 'Lato', sans-serif;
}

    .textarea:hover, .textarea:focus {
        border-color: #0c2340;
        background: #f0f0ff;
    }

.checkbox {
    font-family: 'Lato', sans-serif;
    color: #0c2340;
}

legend span {
    font-family: 'Lato', sans-serif;
    color: #0c2340;
}

label.side, label.above, label.check {
    font-family: 'Lato', sans-serif;
    color: #666;
    margin-bottom: 5px;
}



#ctl00_MainArea_GridViewTitleArea {
    border-top: 2px solid lightgrey;
    padding-top: 15px;
    width: 930px;
    margin: auto;
    margin-bottom: 15px;
}

    #ctl00_MainArea_GridViewTitleArea h2 {
        color: #0C2340 !important;
        padding-bottom: 10px;
        font-family: 'Lato', sans-serif;
    }


/* --- grid styling --- */
/*Row*/
.gridViewStyle {
    border-collapse: collapse !important;
}

    .gridViewStyle tr:last-child {
        border-bottom: 1px solid #C1BBAB !important;
    }

.gridViewRowStyle {
    background-color: #fff;
    border-left: 1px solid #C1BBAB !important;
    border-right: 1px solid #C1BBAB !important;
}

.gridViewAlternatingRowStyle {
    border-left: 1px solid #C1BBAB !important;
    border-right: 1px solid #C1BBAB !important;
}

    .gridViewRowStyle td, .gridViewAlternatingRowStyle td {
        border-top: 1px solid #C1BBAB !important;
        color: #666 !important;
    }

.gridViewHighlightRowStyle:hover {
    background-color: #f0f0f0;
}

/* Unselected pages: plain text only (no pill background). */
.gridViewPagerStyle a {
    color: #0C2340 !important;
    background-color: transparent !important;
    min-width: 15px;
    height: 15px;
    display: inline-block;
    text-align: center;
    padding: 2px;
}

/* Selected/current page (ASP.NET GridView renders it as a <span>): rounded navy background + white text. */
.gridViewPagerStyle span {
    color: #fff !important;
    background-color: #0C2340 !important;
    min-width: 15px;
    height: 15px;
    display: inline-block;
    text-align: center;
    padding: 2px;
    border-radius: 6px !important;
}

.gridViewStyle input[type="button"] {
    height: 24px;
    width: auto !important;
    border: none;
}

    .gridViewStyle input[type="button"]:hover {
        height: 24px;
        width: auto !important;
    }
/*Header*/
.gridViewHeaderStyle {
    background-color: #0C2340 !important;
    height: 45px !important;
}

    .gridViewHeaderStyle th {
        background-color: #0C2340 !important;
    }

    .gridViewHeaderStyle :hover {
        background-color: #505b6b;
    }

    .gridViewHeaderStyle th a {
        font-family: 'Lato', sans-serif;
    }

/* --- Popout Styling --- */
.popmenu {
    border: 1px solid #d22630;
}

.popupTitle {
    background-color: #0C2340;
    width: 705px;
    padding: 8px;
    text-align: left;
    margin-bottom: 10px;
    overflow: auto;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    z-index: 1;
}

    .popupTitle label {
        font-family: 'Lato', sans-serif;
        color: white;
        font-weight: normal;
        font-size: 1.2em;
        margin: 0px;
        padding-left: 0px;
        padding-right: 0px;
        padding-top: 0px;
        display: block;
        z-index: 2;
    }

.popupinnerTransactionDetails {
    width: auto;
    margin-left: -468px;
}

.popupinnerTransactionDetails {
    padding: 0;
}

.popinner {
    border-color: #0C2340;
    white-space: normal;
    top: 300px;
    /*max-height: calc(100% - 120px);*/
    overflow: auto;
}

    .popinner h2 {
        color: black;
    }

.innerbox {
    border: none;
    background-color: #fff !important;
    padding-left: 0px;
}

a.poplink:link {
    color: #d22630;
}

a.poplink:visited {
    color: #d22630;
}

a.poplink:hover {
    color: #ffffff;
    background-color: #d22630;
    text-decoration: none;
}

a.poplink:active {
    color: #d22630;
}

a.poplink:focus {
    color: #ffffff;
    background-color: #d22630;
}

#steps {
    border: 1px solid #d22630;
}

#containerleft h2 {
    color: #0C2340 !important;
}

#Data {
    margin-top: 30px;
}

#ctl00_MainArea_btnProceed, #ctl00_MainArea_btnViewModelPortfolio {
    /*border: 1px solid #fff;*/
    background-color: #fff !important;
    border: 1px solid #0C2340 !important;
    color: #0C2340;
    margin-top: 30px;
}

    #ctl00_MainArea_btnProceed:hover, #ctl00_MainArea_btnViewModelPortfolio:hover {
        /*border: 1px solid #fff;*/
        background-color: #004C6C !important;
        border: 1px solid #004C6C !important;
        color: #fff !important;
        margin-top: 30px;
    }

#buttonValuation input[type="submit"] {
    padding-left: 10px !important;
    padding-right: 10px !important;
    border: 1px solid #0C2340;
}

#lnkViewModelDiv {
    text-align: center;
    margin-top: 30px;
    border: 1px solid #fff;
    margin: 30px 15px 0px;
    padding: 5px;
    border-radius: 8px;
    cursor: pointer;
}

    #lnkViewModelDiv:hover {
        color: #0C2340;
        background-color: #dfdff1;
    }

#ctl00_MainArea_lnkViewModel {
    color: #fff;
    text-decoration: none;
}

    #ctl00_MainArea_lnkViewModel.disabled {
        pointer-events: none; /* Prevent clicks, hovers, etc. */
        opacity: 0.5; /* Make it look disabled */
        user-select: none; /* Prevent text selection */
    }

.newAssetRequest input {
    width: 12em;
}

/*#Valuation_DateFrom {
    display: none !important;
}*/

#PendingTradeDateTo, #PendingTradeDateFrom {
    display: none;
}

#ctl00_MainArea_TransactionDetails_mnuTabsn5Items {
    border: 3px solid #f6f6f6;
    font-size: .8em !important;
    padding: 2px 5px;
    min-width: 130px;
    height: auto !important;
    color: #0C2340 !important;
}

    #ctl00_MainArea_TransactionDetails_mnuTabsn5Items table > tbody > tr {
        height: 30px;
    }

    #ctl00_MainArea_TransactionDetails_mnuTabsn5Items a {
        font-size: .9em !important;
        text-align: center !important;
        padding: 5px !important;
        min-width: 186px !important;
        display: block;
        color: #0C2340 !important;
    }

        #ctl00_MainArea_TransactionDetails_mnuTabsn5Items a:hover {
            background-color: #0C2340 !important;
            color: #fff !important;
        }




.ExternalSource1 iframe {
    min-height: 1900px !important;
}

.view-container {
    display: flex;
    flex-direction: column; /* stack vertically */
    gap: 10px; /* space between rows */
}

/* Buttons row */
.view-buttons {
    display: flex;
    flex-wrap: wrap; /* wrap if too many */
    gap: 8px;
    padding-left: 5px;
    padding-right: 5px;
}

/* Button styling */
.view-button {
    padding: 8px 14px;
    border: 1px solid #0C2340;
    background: #fff;
    color: #0C2340 !important;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

    .view-button:hover {
        background: #e2e2e2;
    }

    .view-button.active {
        background: #0C2340;
        color: white !important;
        border-color: #0C2340;
    }

/* Iframe styling */
.iframe-view {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 8px;
    box-sizing: border-box;
}


#divInstructionDetails {
    width: 220px !important;
}

.policyDealing_Proceed #ctl00_MainArea_btnProceed {
    background-color: #fff !important;
    border: 1px solid #0C2340 !important;
    color: #0C2340;
}


    .policyDealing_Proceed #ctl00_MainArea_btnProceed:hover {
        background-color: #004C6C !important;
        border: 1px solid #004C6C !important;
        color: #fff;
    }


#ctl00_MainArea_AddInstruction_btnEnterInstruction:hover {
    background-color: #004C6C !important;
    border: 1px solid #004C6C !important;
    color: #fff;
}

#ctl00_MainArea_AddInstruction_btnCancel {
    background-color: #fff !important;
    border: 1px solid #0C2340 !important;
    color: #0C2340;
}

    #ctl00_MainArea_AddInstruction_btnCancel:hover {
        background-color: #fff !important;
        border: 1px solid #004C6C !important;
        color: #004C6C;
    }


input[type="checkbox" i] {
    background-color: #0C2340 !important;
}



#ctl00_MainArea_AddInstruction_pAvailablePosition1AvaibleToSell, #ctl00_MainArea_AddInstruction_pAvailablePosition3Percent {
    text-align: left !important;
    display: block;
    color: #0C2340;
    font-weight: bold;
    font-family: 'Lato', sans-serif;
    font-size: 14px !important;
    float: left;
    width: 100%;
}

#ctl00_MainArea_AddInstruction_pAvailablePosition1EstimatedUnitTolerance, #ctl00_MainArea_AddInstruction_pAvailablePosition3text1 {
    text-align: left !important;
    display: block;
    color: #0C2340;
    font-weight: bold;
    font-family: 'Lato', sans-serif;
    float: left;
    width: 100%;
}


#ctl00_MainArea_AddInstruction_pAvailablePosition1EstimatedAmount, #ctl00_MainArea_AddInstruction_pAvailablePosition2Amount {
    text-align: left !important;
    display: block;
    color: #0C2340;
    font-weight: bold;
    font-family: 'Lato', sans-serif;
    font-size: 14px !important;
    float: left;
    width: 100%;
    margin-bottom: 10px;
}

#ctl00_MainArea_AddInstruction_pAvailablePosition3text2 {
    text-align: left !important;
    display: block;
    color: #0C2340;
    font-weight: bold;
    font-family: 'Lato', sans-serif;
    float: left;
    width: 100%;
    margin-bottom: 10px;
}

.rightsa2 .fa {
    color: #ffffff !important;
}



#ctl00_MainArea_DealingAssetSelector_ExistingFilters_btnClearFilter, #ctl00_MainArea_TransactionDetails_PendingTransactions_btnClear {
    background-color: #fff !important;
    border: 1px solid #0C2340 !important;
    color: #0C2340 !important;
}

    #ctl00_MainArea_DealingAssetSelector_ExistingFilters_btnClearFilter:hover, #ctl00_MainArea_TransactionDetails_PendingTransactions_btnClear:hover {
        background-color: #004C6C !important;
        border: 1px solid #004C6C !important;
        color: #fff !important;
    }


#ctl00_MainArea_UncommittedInstructions_btnProceed, #ctl00_MainArea_UncommittedInstructions_btnSave {
    background-color: #fff !important;
    border: 1px solid #0C2340 !important;
    color: #0C2340 !important;
}

    #ctl00_MainArea_UncommittedInstructions_btnProceed:hover, #ctl00_MainArea_UncommittedInstructions_btnSave:hover {
        background-color: #004C6C !important;
        border: 1px solid #004C6C !important;
        color: #fff !important;
    }
