html {
    height: 100%;
}

BODY {
    font-size: 12px;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', helvetica, arial, sans-serif;
    color: #000066;
    height: 100%;
}

@media only screen and (max-width : 699px) {
    #TabMenuId, #TopMenuLabel {
        display: none;
    }

    .KSD-TabControl {
        display: table-cell;
    }

    div.KSD-TabControl li {
        height: auto;
    }

    .TabMenu {
        padding: 0;
        margin: 0 auto;
        overflow-x: auto;
        z-index: 10 !important;
        position: relative;
    }

    .TabMenuTab > a {
        width: 200px !important;
    }

    .TabMenuTab:hover, #navImage:hover, #profileImage:hover, #logoutImage:hover, #navBack:hover {
        background-color: #BA2C44;
    }

    #navImage, #navBack {
        display: inline-block !important;
    }

    #profileImage, #logoutImage {
        float: right;
        display: inline-block !important;
    }

    div.TopMenu li {
        margin-right: 0px !important;
    }
}

@media only screen and (min-width : 700px) {
    #TabMenuId {
        display: inline-block !important;
    }
}

@media only screen and (min-width : 601px) {
    #LeftAccordion {
        display: block !important;
    }
}

@media only screen and (max-width : 600px) {
    .MasterMenuTable {
        visibility: visible;
        display: table;
        width: 100% !important;
        border-right: none !important;
        padding-bottom: 0 !important;
        margin-top: 5px !important;
        height: auto !important;
    }

    .NextMenuItem {
        border-top: none !important;
    }

    #LeftAccordion {
        background-color: #cfcfcf !important;
        padding-bottom: 10px;
        display: none;
    }

    .ActiveMenuItem {
        background-color: #444444 !important;
    }

    #leftMenuCollapse {
        display: inline-block !important;
        width: 100% !important;
        position: relative;
        z-index: 0 !important;
    }

    #backDiv {
        display: none;
    }

    .PrintButtonDiv {
        display: none;
    }

    .LoginName {
        margin-top: 5px !important;
        margin-right: 5px !important;
    }

    /*POPUP*/
    .RadWindow .rwIframeWrapperIOS {
        overflow: auto !important;
    }

    .TelerikModalOverlay {
        width: 100% !important;
        height: 100% !important;
    }

    /*MESSAGE*/
    .ModalPopup {
        width: 90% !important;
    }

    /*CONTENT*/
    .RadForm_ViperFS.rfdButton a.rfdSkinnedButton input.rfdDecorated, .RadForm_ViperFS.rfdButton a.rfdSkinnedButton input.rfdDecorated, .RadForm_ViperFS.rfdButton a.rfdSkinnedButton input.rfdDecorated:active, .RadForm_ViperFS.rfdButton a.rfdSkinnedButton input.rfdDecorated:focus {
        width: 120px !important;
    }

    /*DetailsTitle Font*/
    .DetailsTitle {
        height: 100% !important;
        font-size: 25px !important;
    }

    .PageBody table {
        table-layout: fixed;
    }

    .EditField, .Caption, .MainContent, .XmlCell {
        display: block !important;
        text-align: left;
    }

    .Caption, .RadPicker_ViperFS, .RadComboBox_ViperFS {
        width: 100% !important;
        text-align: left;
    }

    .TableContentBlock {
        padding: 5px !important;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .riSingle {
        width: 100% !important;
    }

    .RadPicker_ViperFS td a {
        margin: 0 !important;
    }

    .MasterMenuTableEnd {
        display: none !important;
    }
}

#navImage, #leftMenuCollapse {
    display: none;
    width: 30px;
    height: 30px;
}

#SubmenuDiv {
    position: relative;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.NoOutline {
    outline: none;
}

.TopMenu {
    display: inline;
    position: relative;
}

#LeftMenuLabel, #TopMenuLabel {
    text-align: center;
    position: absolute;
    display: inline-block !important;
    height: 30px;
    margin-left: 20px;
}

.SubmenuTriangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 15px 15px 15px;
    border-color: transparent transparent #ffffff transparent;
}

/**/

.MainBody {
    background-color: white;
    background-position: left;
    background-repeat: repeat-y;
}

.Forms {
    height: 100%;
}

.Container {
    width: 100%;
    height: 100%;
    text-align: left;
    margin: 0 auto;
}

/* HYPERLINKS */
a:link {
    color: #465f90;
    text-decoration: underline;
}

a:visited {
    color: #465f90;
    text-decoration: underline;
}

a:hover {
    color: #ff9900;
}

a:active {
    color: #333333;
}

div.TopMenu ul {
    margin: 0;
    padding: 0;
}

div.TopMenu li {
    list-style: none;
    list-style-image: none;
    margin: 0;
    margin-right: 1px;
    padding: 0;
    float: left;
    text-align: center;
    background-color: #000000;
}

div.TopMenu div.TabMenuTab {
    padding: 0;
    float: left;
}

/* TopMenu Links */
.TopMenu a:link {
    color: #FFFFFF;
    height: 30px;
    line-height: 30px;
    vertical-align: middle;
    text-decoration: none;
}

.TopMenu a:visited {
    height: 30px;
    line-height: 30px;
    text-decoration: none;
}

.TopMenu a:hover {
    color: #FFFFFF;
    background-color: #BA2C44;
}

.TopMenu a:active {
    height: 30px;
    line-height: 30px;
}

.TopMenuActive {
    background-color: #BA2C44;
}

.MenuBar {
    padding-left: 12px;
    height: 30px;
    line-height: 30px;
    background-color: #000000;
    font-size: 14px;
}

/* HEADER */
.KSDHeader {
    font-weight: bold;
    color: #000000;
    height: 75px;
    text-indent: 10px;
    border: none;
}

.KSDApplicationName {
    display: none;
}

.MasterHeaderTable {
    background-image: url(Images/viper-header.jpg);
    background-repeat: no-repeat;
    background-color: white;
    height: 105px;
}

.MasterHeaderSpacer {
    height: 0;
    background-color: #BA2C44;
}

.MainSpacer {
    width: 0;
    float: left;
    display: none;
}

    .MainSpacer:after {
        clear: both;
        display: block;
        height: 0;
        content: ".";
        font-size: 0;
        line-height: 0;
        visibility: hidden;
    }

.MainContent {
    margin-left: 0;
    margin-right: 0;
    vertical-align: top;
    padding-left: 5px;
    padding-left: 5px;
}

.PageBody {
    height: 100%;
    width: 100%;
}

/* TOP MENU */
.MasterMenuTable {
    margin-top: 20px;
    text-align: left;
    width: 200px;
    min-width: 200px;
    vertical-align: top;
    padding-top: 10px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: #FFFFFF;
    border-right: #e6e6e6 thin solid;
    height: 100%;
}

.MasterMenuTableEnd {
    font-size: 10px;
    height: 20px;
    width: 200px;
    position: fixed;
    display: inline;
    bottom: 0;
    background-color: #FFFFFF;
}

.MasterMenuTableEndText:after {
    clear: both;
    display: block;
    height: 0;
    content: ".";
    font-size: 0;
    line-height: 0;
    visibility: hidden;
}

.MasterMenuTableEndText {
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 200px;
    text-align: center;
}

    .MasterMenuTableEndText a:link {
        font-size: 10px;
    }

    .MasterMenuTableEndText a:visited {
        font-size: 10px;
    }

    .MasterMenuTableEndText a:hover {
        font-size: 10px;
    }

    .MasterMenuTableEndText a:active {
        font-size: 10px;
    }

.LeftMenuAccordionHeader {
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 20px;
    text-align: left;
    font-size: 22px;
    height: 30px;
    line-height: 30px;
    vertical-align: middle;
    color: #444444;
    cursor: pointer;
}

.LeftMenuAccordionHeaderExpanded {
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 20px;
    text-align: left;
    font-size: 22px;
    height: 30px;
    line-height: 30px;
    vertical-align: middle;
    color: #444444;
    cursor: pointer;
}

.LeftMenuAccordionContent {
}

.LeftMenuAccordionItem {
    padding-right: 20px;
    padding-left: 20px;
    margin-top: 2px;
    margin-bottom: 2px;
    text-align: left;
    line-height: 14px;
}

/* TABLES */
table {
    margin: 0;
    border-width: thin;
    border-collapse: collapse;
    border-spacing: 0;
}

/* DETAILS */
.MultiLanguageSelector {
    background-color: #7F7F7F;
    font-size: 12px;
    color: #FFFFFF;
    height: 22px;
    line-height: 22px;
    padding-left: 10px;
    font-family: 'Segoe UI', helvetica, arial, sans-serif;
}

.ActiveLanguage {
    background-color: #BA2C44;
    color: white !important;
    border: solid 1px #444444;
    padding: 1px;
}

.InactiveLanguage {
    background-color: #000000;
    color: white !important;
    border: solid 1px #444444;
    padding: 1px;
}

.DetailsTitle {
    background-color: #FFFFFF;
    font-size: 35px;
    color: #BA2C44;
    height: 57px;
    line-height: 57px;
    padding-left: 25px;
    padding-top: 8px;
    padding-bottom: 5px;
    font-family: 'Segoe UI', helvetica, arial, sans-serif;
}

.DetailError {
    color: Red;
}

.DetailsTable {
    border-spacing: 0;
    text-align: left;
    color: #333333;
    height: 100%;
    padding-bottom: 5px;
    line-height: 22px;
}

    /* FF, IE8, etc... fix */
    .DetailsTable:after {
        clear: both;
        height: 0;
        content: ".";
        font-size: 0;
        line-height: 0;
        visibility: hidden;
    }

/*For IE7*/
* + html .DetailsTable {
    min-height: 1px;
}

/*For IE6*/
* html .DetailsTable {
    height: 1px;
}

.item:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
}

.DetailsHeader {
    height: 35px;
    line-height: 35px;
    vertical-align: middle;
    padding-left: 25px;
    color: #BA2C44;
    font-size: 25px;
    letter-spacing: 1px;
    border-bottom: solid 1px #BA2C44;
    font-family: 'Segoe UI', helvetica, arial, sans-serif;
    margin-bottom: 5px;
}

    .DetailsHeader > .Collapse {
        position: relative;
        top: 7px;
        left: -15px;
        float: left;
        cursor: pointer;
    }

.DetailsSubHeader {
    font-weight: bold;
}

/* FORMS */
.forms {
    color: #003366;
    background-color: #FFFFFF;
    border: thin;
    border-color: #CCCCCC;
    font-family: 'Segoe UI', helvetica, arial, sans-serif;
    font-size: 11px;
    outline-color: #CCCCCC;
}

/* NEWS */
.NewsHeader {
    font-size: 24px;
    font-weight: bold;
}

.ErrorMessage {
    font-weight: bold;
    color: Maroon;
}

/* INFO */
.InfoHeader {
    font-size: 12px;
    color: #ff9900;
    font-weight: bold;
}

/* MESSAGES */
.MessageTable {
    border-right: #dddddd thin solid;
    border-top: #dddddd thin solid;
    border-left: #dddddd thin solid;
    border-bottom: #dddddd thin solid;
    border-spacing: 0;
    border-width: 1px;
    border-color: #CFCFCF;
    text-align: left;
    font-size: 10px;
    font-family: 'Segoe UI', helvetica, arial, sans-serif;
    color: #333333;
}

.MessageHeader {
    background-color: #CFCFCF;
    height: 20px;
    background-image: url(Images/table_back.jpg);
}

.MessageIntro {
    color: Red;
    font-weight: bold;
}

.MessageText {
}

.NoAccessMessage {
    margin-top: 20px;
    color: Red;
    font-weight: bold;
}

/* HELP */
.HelpHeader {
    background-image: url(Images/HelpHeaderBackground.jpg);
    background-repeat: repeat-x;
    height: 20px;
    width: 100%;
}

.HelpText {
    border-right: #FFFA71 thin dashed;
    border-left: #FFFA71 thin dashed;
    border-bottom: #FFFA71 thin dashed;
    background-color: #FFFFC0;
}

.accordionHeader {
    background-color: #CFCFCF;
    height: 22px;
    background-image: url(Images/table_back.jpg);
    font-weight: bold;
    margin-top: 5px;
}

/* ====== OVERALL ====== */

.ContentBlock {
    padding: 0;
    padding-bottom: 10px;
}

.InfoBlock {
    padding-left: 25px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: left;
    background-color: #fdf3ce;
}

.Comment {
    font-style: italic;
}

/* ==== HEADER ==== */

.CompanyName {
    float: left;
    margin-top: 21px;
    text-align: left;
    width: 300px;
    display: none;
}

.CompanyLogo {
    visibility: hidden;
}

.LoginName {
    float: right;
    margin-top: 21px;
    text-align: right;
    width: 400px;
    margin-right: 15px;
}

    .LoginName a {
        text-decoration: none;
    }

.PrintButtonDiv {
    float: right;
    clear: right;
    margin-top: 10px;
    margin-right: 30px;
}

/* ======= AJAX ======== */

.InvalidTextBox {
    background-color: #FFFACD;
}

/* ====== DETAILS ====== */

.Caption {
    font-weight: bold;
}

/* ====== TABPAGE ====== */

.TabPage {
}

/* ======= TABLE ======= */

.Table {
    width: 100%;
}

.TableHeader {
    font-weight: bold;
}

.TableContentBlock {
    padding: 2px;
    padding-left: 25px;
    padding-right: 25px;
}

.TableItem {
    padding: 2px;
}

    .TableItem:hover {
        background-image: url(Images/SelectedBackground.jpg);
        background-repeat: repeat-x;
    }

.TableAlternatingItem {
    padding: 2px;
}

    .TableAlternatingItem:hover {
        background-image: url(Images/SelectedBackground.jpg);
        background-repeat: repeat-x;
    }

/* ======= POPUP ======= */

.PopUpTitle {
    color: #7F7F7F;
    font-family: 'Segoe UI', helvetica, arial, sans-serif;
    font-size: 25pt;
    padding-bottom: 5px;
}

.PopUpButtons {
    text-align: center;
    padding-top: 10px;
}

.ModalPopup {
    color: #444444;
    font-size: 14px;
    background-color: White;
    padding-top: 3px;
    padding-bottom: 3px;
    width: 500px;
    margin: 0 auto;
}

.ModalBackground {
    background-color: Gray;
    filter: alpha(opacity=70);
    opacity: 0.7;
}

div#ProcessingPopup {
    width: 100%;
    background-color: #666666;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 200;
    opacity: 0.5;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    overflow: visible;
    height: 130%;
    text-align: center;
}

/* ======= PROFILE POPUP ======= */

.ProfileModalPopup {
    background-color: White;
}

.ProfileModalBackground {
    background-color: White;
    filter: alpha(opacity=0);
    opacity: 0.0;
}

/* ========= LOGIN ========= */

.Login {
}

.LoginHeader {
    height: 35px;
    line-height: 35px;
    vertical-align: middle;
    padding-left: 25px;
    color: #BA2C44;
    font-size: 25px;
    letter-spacing: 1px;
    border-bottom: solid 1px #BA2C44;
    font-family: 'Segoe UI', helvetica, arial, sans-serif;
    margin-bottom: 5px;
}

.LoginContent {
    padding: 5px;
}

.LoginCaption {
    font-weight: bold;
}

.LoginRememberMe {
    margin-top: 5px;
}

.LoginFailureText {
    color: red;
    text-align: center;
}

.LoginPasswordLost {
    text-align: center;
}

.LoginButton {
    text-align: right;
    margin-top: 10px;
}

/* Security */

.NoAccess {
    margin: 20px;
    font-size: 12px;
    font-weight: bold;
    color: #990000;
}

/* --TOOLTIP -- */
.ToolTip {
    position: absolute;
    float: left;
    white-space: nowrap;
    top: -1.2em;
    left: .5em;
    background: #fffcd1;
    border: 1px solid #444;
    color: #444;
    padding: 1px 5px;
    z-index: 10;
    opacity: 0;
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
}

/* -- PAGER -- */
.PagerButton {
    text-decoration: none;
    font-size: 10px;
}

a.PagerButton:link {
    text-decoration: underline;
    color: #005078;
    font-size: 10px;
}

a.PagerButton:visited {
    text-decoration: underline;
    color: #005078;
    font-size: 10px;
}

a.PagerButton:hover {
    color: #ff9900;
    font-size: 10px;
}

a.PagerButton:active {
    color: #333333;
    font-size: 10px;
}

a.PagerNumber:link {
    text-decoration: underline;
    color: #005078;
    font-size: 10px;
}

a.PagerNumber:visited {
    text-decoration: underline;
    color: #005078;
    font-size: 10px;
}

a.PagerNumber:hover {
    color: #ff9900;
    font-size: 10px;
}

a.PagerNumber:active {
    color: #333333;
    font-size: 10px;
}

.PagerCurrentPage {
    font-weight: bold;
    font-size: 11px;
}

.PagerDiv {
    text-align: center;
    padding-top: 5px;
}

.ProcessingDiv {
    background-color: White;
    border-bottom: solid 1px black;
    width: 100px;
    margin-left: auto;
    margin-right: auto;
}

/* TEST */
.ActiveMenuItem {
    color: #FFFFFF;
    background-color: #BA2C44;
    text-align: left;
    padding-right: 10px;
    padding-left: 25px;
    font-size: 14px;
    height: 26px;
    line-height: 26px;
}

.NextMenuItem {
    color: #444444;
    border-top: 1px solid #FFFFFF;
    text-align: left;
    padding-right: 10px;
    padding-left: 25px;
    font-size: 14px;
    height: 26px;
    line-height: 26px;
}

.InactiveMenuItem {
    color: #444444;
    text-align: left;
    padding-right: 10px;
    padding-left: 25px;
    font-size: 14px;
    height: 26px;
    line-height: 26px;
}

.ActiveMenuItem a {
    color: #FFFFFF;
    font-size: 14px;
    text-decoration: none;
}

.NextMenuItem a {
    color: #444444;
    font-size: 14px;
    text-decoration: none;
}

.InactiveMenuItem a {
    color: #444444;
    font-size: 14px;
    text-decoration: none;
}

DIV.KSD-TabControl {
    background-color: #e6e6e6;
    width: 100%;
    height: 30px;
    padding-left: 20px;
    font-size: 12px !important;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box;
}

    DIV.KSD-TabControl li {
        background-image: none;
        list-style: none;
        list-style-image: none;
        margin: 0;
        margin-right: 1px;
        padding: 0;
        float: left;
        text-align: center;
    }

    DIV.KSD-TabControl a {
        margin: 0;
        color: #7f7f7f;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 12px !important;
    }

        DIV.KSD-TabControl a:hover {
            color: #FFFFFF;
            text-decoration: none;
            background-color: #BA2C44;
            padding-left: 10px;
            padding-right: 10px;
        }

    DIV.KSD-TabControl DIV.KSD-ActiveTabItem {
        background-color: #BA2C44;
        background-image: none;
        height: 30px;
        line-height: 30px;
        padding-left: 10px;
        padding-right: 10px;
    }

        DIV.KSD-TabControl DIV.KSD-ActiveTabItem a {
            padding: 0;
            color: #FFFFFF;
            font-weight: normal;
        }

    DIV.KSD-TabControl DIV.KSD-TabItem {
        background-image: none;
        height: 30px;
        line-height: 30px;
        padding: 0;
    }


.Button {
    background-color: #444444;
    color: #FFFFFF;
    cursor: pointer;
    margin-left: 5px;
}

.NewsDiv {
    padding-left: 25px;
}

.ButtonBlock {
    padding-left: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
}

.ajax__calendar_container {
    z-index: 1000;
}

/* Spreadsheet */

.rgHeader {
    background-repeat: repeat-x;
    height: 26px;
    border-bottom: 1px solid black;
    line-height: 25px;
    vertical-align: middle;
    padding-left: 5px;
}

    .rgHeader td {
        padding-left: 5px;
    }

.rgRow {
    line-height: 18px;
    vertical-align: middle;
}

    .rgRow td {
        padding-left: 5px;
    }

.rgRowAlternate {
    background-color: #EFEFEF;
    line-height: 18px;
    vertical-align: middle;
}

    .rgRowAlternate td {
        padding-left: 5px;
    }

.rgGroupHeader td p {
    font-weight: bold;
    padding-left: 0 !important;
}

.rspSlideContent {
}

a.WidgetLink:link {
    color: #333333;
    text-decoration: none;
}

a.WidgetLink:visited {
    color: #333333;
    text-decoration: none;
}

a.WidgetLink:hover {
    color: #ff9900;
}

a.WidgetLink:active {
    color: #333333;
}

a.WidgetLinkOverdue:link {
    color: #990000;
    text-decoration: none;
}

a.WidgetLinkOverdue:visited {
    color: #990000;
    text-decoration: none;
}

a.WidgetLinkOverdue:hover {
    color: #ff9900;
}

a.WidgetLinkOverdue:active {
    color: #990000;
}

/* FrontOffice Settings */
#Container {
    margin: 0 auto;
    width: 1280px;
}

    #Container #Banner {
        position: relative;
        width: 100%;
        height: 150px;
    }

    #Container .Header {
        position: relative;
        width: 100%;
        height: 50px;
    }

    #Container .Footer {
        position: relative;
        clear: left;
        width: 100%;
        height: 50px;
    }

    #Container .Content {
        position: relative;
        float: left;
        width: 70%;
        left: 0;
        padding-left: 25px;
        padding-right: 0;
    }

    #Container .Basket {
        position: relative;
        float: left;
        width: 20%;
        right: 0;
        padding-left: 25px;
        padding-right: 0;
        top: -20px;
    }

.AdditionnalTextPanel {
    margin-top: 10px;
    margin-bottom: 10px;
}


/* Validation Summary Control and Login Control  */

.RadForm_ViperFS .rfdValidationSummaryControl {
    background-color: #ffffff;
    border: 2px solid #CA002C;
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px !important;
    margin-left: 10px;
    margin-right: 10px;
}