﻿html, body, form
{
    margin: 0;
    padding: 0;
    min-height: 100%;
    height: 100%;
    font-family: Arial;
    font-size: 11px;
    color: #565A5C; 
}

.clearfix:after
{
    content: " "; /* Older browser do not support empty content */
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

div.ui-datepicker
{
    font-size: 15px;
}

/* Control */
.fieldContents
{
    margin-bottom: 10px;
    margin-left : 10px;
}

.fieldDiv
{
    display: inline-block;
    min-height: 22px;
    width: 100%;
    vertical-align: top;
}

.fieldLabelDiv, .FieldLabel, .FieldChkBox, .fieldChkBox
{
    display: inline-block;
    text-align: right;
    font-size: 12px;
    height: 22px;
    line-height: 22px;
    margin: 5px 10px 0 0;
}

.fieldLabelDiv
{
    float: left;
}

.FieldLabel
{
    margin-left: 10px;
}

.fieldControlDiv
{
    margin: 0px;
    padding: 0px;
    overflow: hidden;
}

.fieldLblMandatory
{
    width: 10px;
    color: #D52B1E;
    margin-left: 3px;
    vertical-align: middle;
}

.fieldMsgDiv
{
    width: 100%;
    color: #e74c3c;
    font-size: 10px;
}

.fieldTextBox, .FieldTextBox, .fieldDropDown, .FieldDropDown
{
    border: solid 1px #DDDDDD;
    height: 22px;
    resize: none;
    border-radius: 3px;
    font-family: Arial;
    font-size: 12px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-top: 5px;
}

.fieldTextBox, .FieldTextBox
{
    padding: 0 7px;
}

.fieldDropDown, .FieldDropDown
{
    padding: 0 2px;
}

.fieldTextBox[format="datetime"], .FieldTextBox[format="datetime"]
{
    background-image: url('Icons/Calendar.png');
    background-size: 18px 18px;
    background-repeat: no-repeat;
    background-position: right 5px center;
}

textarea
{
    height: 45px !important;
}

input[type="text"][readonly="readonly"], input[type="password"][readonly="readonly"], select[readonly="readonly"], textarea[readonly="readonly"]
{
    background-color: #E9E8E4;
    color: Gray;
}

.linkButton
{
    font-size: 14px;
    text-decoration: underline;
    color: #00A9E0;
    cursor: pointer;
}

.linkButton[disabled="disabled"]
{
    font-size: 14px;
    color: #6C6F70;
}


/* Button */
.BaseButton
{
    display: inline-block;
    line-height: 26px;
    border: none;
    color: White;
    background-color: #6E2D91; 
    text-align: center;
    font-size: 11px;
    font-weight: bold;
    min-width: 85px;
    border-radius: 3px;
    margin: 3px 5px 0 5px;
    cursor: pointer;
    vertical-align: top;
    text-decoration: none;
}

.BaseButton:hover
{
    /*background-color: #5B1F69;*/
}

.BaseButton:disabled
{
    background-color: #6C6F70;
}

.iconBtns
{
    border-radius: 17px;
    border: none;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    font-size: 10px;
    height: 18px;
    width: 18px;
    background-size: 18px 18px;
}

/*
.iconBtns:hover
{
    background-color: #33DBCA;
    color: #33DBCA;
}
*/

.iconBtns::after
{
    position: absolute;
    top: 37px;
    text-align: center;
    width: 34px;
    color: #34495E;
    margin-left: -5px;
}

.iconBtns[icon='search']
{
    background-image: url('Icons/Search.png');
}

.iconBtns[icon='tools']
{
    background-image: url('Icons/Tools.png');
}

.iconBtns[icon='tools']::after
{
    content: 'Define';
}

.iconBtns[icon='filter']
{
    background-image: url('Icons/Filter.png');
}

.iconBtns[icon='add']
{
    background-image: url('Icons/Add.png');
}

.iconBtns[icon='access']
{
    background-image: url('Icons/Access.png');
}

.iconBtns[icon='access']::after
{
    content: 'Access';
}

.iconBtns[icon='refresh']
{
    background-image: url('Icons/Refresh.png');
    display: inline-block;
    float: right;
    margin-right: 5px;
    margin-top: 1px;
}

.iconBtns[icon='collapse']
{
    background-color: Transparent;
    background-image: url('Icons/Collapse.png');
    display: inline-block;
    float: right;
    margin-right: 5px;
    margin-top: 1px;
}

.iconBtns[icon='expand']
{
    background-color: Transparent;
    background-image: url('Icons/Expand.png');
    display: inline-block;
    float: right;
    margin-right: 5px;
    margin-top: 1px;
}

/* Message div style */
.divMsg
{
    z-index: 500;
    position: fixed;
    right: 0px;
    top: 80px;
    opacity: 0.9;
    filter: alpha(opacity=90); /* For IE8 and earlier */
    border-radius: 5px;
    background-color: white;
}

.divMsg .msg
{
    min-height: 50px;
    width: 300px;
    float: right;
    padding: 3px 5px 3px 10px;
    font-size: 13px;
    color: White;
    display: inline-block;
}

.divMsg[type='success']
{
    border-left: solid 2px #34B233;
    border-top: solid 2px #34B233;
    border-bottom: solid 2px #34B233;
    display: block;
}

.divMsg[type='success'] .msg
{
    background-color: #34B233;
}

.divMsg[type='error']
{
    border-left: solid 2px #D52B1E;
    border-top: solid 2px #D52B1E;
    border-bottom: solid 2px #D52B1E;
    display: block;
}

.divMsg[type='error'] .msg
{
    background-color: #D52B1E;
}

.divMsg[type='error']:hover
{
    border-left: solid 2px #EEAF30;
    border-top: solid 2px #EEAF30;
    border-bottom: solid 2px #EEAF30;
}

.divMsg[type='normal']
{
    border-left: solid 2px #EEAF30;
    border-top: solid 2px #EEAF30;
    border-bottom: solid 2px #EEAF30;
    display: block;
}

.divMsg[type='normal'] .msg
{
    background-color: #EEAF30;
}

.divMsg .icon
{
    background-repeat: no-repeat;
    background-position: left top;
    height: 35px;
    width: 35px;
    margin-left: 3px;
    margin-top: 3px;
    display: inline-block;
    cursor: pointer;
}

.divMsg[type='success'] .icon
{
    background-image: url('Icons/Information.png');
}

.divMsg[type='normal'] .icon
{
    background-image: url('Icons/Notice.png');
}

.divMsg[type='error'] .icon
{
    background-image: url('Icons/Warning.png');
}

/* Popup Style */
.popupHdr, .IframePopupHdr
{
    margin: 0px;
    height: 40px;
    left: 50%;
    display: block;
    background-color: White;
    line-height: 40px;
    vertical-align: middle;
    padding: 0px 10px 0 10px;
    color: #00A9E0;
    font-size: 18px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    box-sizing: border-box;
}

.popupHdr
{
    border-style: solid;
    border-width: 1px 1px 0 1px;
    border-color: gray;
}

.popupHdr #popupClose, .IframePopupHdr #popupClose
{
    position: absolute;
    top: 7px;
    right: 7px;
    width: 26px;
    height: 26px;
    background-color: white;
    color: black;
    display: inline-block;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('Icons/Close.png');
    background-size: 20px 20px;
    border-radius: 50%;
    cursor: pointer;
}

.popupDiv, .IframePopupDiv
{
    display: none;
    box-shadow: 5px 9px 15px #888888;
    left: 50%;
    vertical-align: top;
    background-color: White;
}

.popupDiv
{
    z-index: 20;
    overflow-y: auto;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    border-left: solid 1px #6C6F70;
    border-right: solid 1px #6C6F70;
    border-bottom: solid 1px #6C6F70;
    padding: 0 10px 10px 10px;
    box-sizing: border-box;
}

.IframePopupDiv
{
    border-radius: 3px;
    border: solid 1px #6C6F70;
}

.myFrame
{
    border-left: solid 1px #6C6F70;
    border-right: solid 1px #6C6F70;
    border-bottom: solid 1px #6C6F70;
    padding: 10px;
    box-sizing: border-box;
}

.popupOverlay
{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0.3;
    filter: alpha(opacity=30); /* For IE8 and earlier */
    background-color: Gray;
    z-index: 20;
}

.IframePopupOverlay
{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0.3;
    filter: alpha(opacity=30); /* For IE8 and earlier */
    background-color: Gray;
    z-index: 22;
}

/* List */
.listDiv
{
    overflow: hidden;
    border-style: solid;
    border-color: #565A5C;
    border-width: 0 2px 2px 2px;
}

.listDiv[paging='false']
{
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

.listDiv .headerDiv
{
    overflow: hidden;
    width: 100%;
}

.listDiv .headerRow
{
    background-color: #565A5C;
    color: White;
    line-height: 20px;
    text-align: left;
    min-height: 20px;
    font-family: Arial;
    font-size: 12px;
    padding-right: 20px;
}

.listDiv .header
{
    box-sizing: border-box;
    padding: 0px 5px 0px 5px;
    display: inline-block;
    vertical-align: top;
}

.listDiv .header[align='center']
{
    text-align: center;
}

.listDiv .header > input[type='checkbox']
{
    margin-top: 8px;
}

.listDiv .itemDiv
{
    max-height: 300px;
    overflow: auto;
    width: 100%;
}

.listDiv .row
{
    border-bottom: solid 1px #A2A4A3;
    padding: 4px 0px 4px 0px;
    word-wrap: break-word;
    font-family: Arial;
    font-size: 12px;
    display: inline-block; /* Added to cater for IE 9 height increasing bug during hover */
    min-height: 0%; /* Added to cater for IE 9 height increasing bug during hover */
}

.listDiv .row:last-child
{
    border-bottom-width: 0px;
}

.listDiv .row:hover
{
    background-color: #CECFCB;
}

.listDiv .cell
{
    padding: 0px 5px 0px 5px;
    display: inline-block;
    box-sizing: border-box;
    vertical-align: middle;
}

.listDiv .cell input[type='text']
{
    height: 14px;
}

.listDiv .cell[clickable='yes']
{
    cursor: pointer;
    color: #1f5f93;
}

.listHdr
{
    border-width: 2px;
    border-style: solid;
    border-color: #565A5C;
    border-width: 2px 2px 0 2px;
    font-size: 10px;
    position: relative;
    height: 25px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.listHdr .rowCount
{
    font-size: 11px;
    display: inline-block;
    float: right;
    margin-right: 5px;
    margin-top: 2px;
}

.listHdr .rowCount span
{
    margin-right: 10px;
    margin-left: 15px;
}

.listHdr .rowCount select
{
    font-size: 11px;
}

.listHdr .iconBtns[icon='filter'], .iconBtnsM[icon='filter']
{
    display: inline-block;
    float: right;
    margin-right: 5px;
    margin-top: 1px;
}

.listHdr .iconBtns[icon='add'], .iconBtnsM[icon='add']
{
    display: inline-block;
    margin-left: 5px;
    margin-top: 2px;
}

.listHdr .iconBtns[icon='tools'], .iconBtnsM[icon='tools']
{
    display: inline-block;
    margin-right: 5px;
    margin-top: 2px;
}

.listHdr .listFilterCountDiv
{
    display: none;
    float: right;
}

.listHdr .listFilterCount
{
    display: inline-block;
    padding: 0px 10px 0px 10px;
    float: right;
    background-color: #6C6F70;
    color: White;
    margin: 3px 3px 3px 0px;
    font-size: 11px;
    height: 20px;
    line-height: 20px;
    border-radius: 10px;
}

.listHdr .listFilterClearBtn
{
    display: inline-block;
    padding: 0px 15px 0px 15px;
    float: right;
    background-color: #6C6F70;
    color: White;
    margin: 3px 3px 3px 3px;
    font-size: 11px;
    height: 20px;
    line-height: 20px;
    border-radius: 10px;
    cursor: pointer;
}

.listHdr .listFilterBtnsDiv
{
    width: 100%;
    position: relative;
    height: 20px;
}

.listFilterDiv
{
    display: none;
    padding: 5px 5px 0 5px;
    background-color: #A2A4A3;
    margin: 0px 10px;
    position: absolute;
    top: 40px;
    right: -19px;
    z-index: 100;
    border-radius: 3px;
}

.listFilterDiv::before
{
    content: '';
    height: 0px;
    width: 0px;
    position: absolute;
    top: -15px;
    right: 15px;
    border-bottom: solid 15px #A2A4A3;
    border-left: solid 10px transparent;
    border-right: solid 10px transparent;
    display: block;
    z-index: 100;
}

.listFilterDiv .filterItems
{
    width: 380px;
    margin: 0;
    background-color: White;
}

.listFilterDiv .filterItems div
{
    height: 18px;
}

.listFilterDiv .filterItems select
{
    height: 20px;
}

.listFilterDiv .filterItems .filterHdr
{
    display: inline-block;
    border-bottom: solid 1px #A2A4A3;
    border-right: solid 1px #A2A4A3;
    padding-left: 4px;
    font-weight: bold;
    background-color: White;
    font-size: 11px;
    line-height: 17px;
}

.listFilterDiv .filterItems .filterHdr[type='field']
{
    width: 150px;
}

.listFilterDiv .filterItems .filterHdr[type='compare']
{
    width: 65px;
}

.listFilterDiv .filterItems .filterHdr[type='value']
{
    width: 145px;
    border-right: 0px;
}

.listFilterDiv .filterItems span[type='field']
{
    display: inline-block;
    background-color: White;
    border-bottom: solid 1px #A2A4A3;
    width: 150px;
    padding-left: 4px;
    height: 16px;
    font-size: 11px;
}

.listFilterDiv .filterItems select[type='compare']
{
    display: inline-block;
    background-color: White;
    width: 71px;
    border-top: 0;
    padding-left: 5px;
    font-size: 11px;
    border-bottom: solid 1px #A2A4A3;
}

.listFilterDiv .filterItems select[type='chkBox']
{
    display: inline-block;
    background-color: White;
    width: 149px;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: solid 1px #A2A4A3;
    padding-left: 5px;
    font-size: 11px;
}

.listFilterDiv .filterItems input[type='text']
{
    display: inline-block;
    background-color: White;
    width: 147px;
    padding-left: 2px;
    height: 18px;
    font-size: 11px;
    font-family: Arial;
    border: 0;
    border-bottom: solid 1px #A2A4A3;
}

.listFilterDiv .filterItemChkBox
{
    display: inline-block;
    background-color: White;
    width: 149px;
    height: 17px !important;
    border: 0;
    border-bottom: solid 1px #A2A4A3;
    padding: 0;
}

.listFilterDiv .filterItems input[type='checkbox']
{
    display: inline-block;
    background-color: White;
    width: 145px;
    text-align: center;
    vertical-align: middle;
    height: 11px;
    font-size: 11px;
    font-family: Arial;
    border: 0;
    border-bottom: solid 1px #A2A4A3;
}

.listFilterDiv .btn
{
    display: inline-block;
    padding: 2px 4px;
    float: right;
    color: White;
    margin: 3px;
    font-size: 12px;
    cursor: pointer;
    background-color: #6E2D91;
    border-radius: 3px;
}

.listFooter
{
    border-style: solid;
    border-color: #565A5C;
    border-width: 0 2px;
    background-color: #565A5C;
    color: White;
    font-size: 10px;
    height: 20px;
    line-height: 20px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.listFooter[paging="false"]
{
    height: 0px;
}

.listFooter div
{
    display: inline-block;
}

.listFooter .pager
{
    float: right;
    cursor: pointer;
    margin-right: 10px;
}

.listFooter .pageJump
{
    padding-left: 5px;
    padding-right: 15px;
}

.listFooter .pageJump input
{
    margin-left: 10px;
    width: 25px;
    font-size: 11px;
    text-align: center;
    height: 10px;
}

.listFooter .pageBtn
{
    margin: 3px 5px 0px 5px;
    float: right;
    width: 9px;
    height: 10px;
    position: relative;
    cursor: pointer;
}

.listFooter .pageBtn[bType='first']
{
    border-left: solid 3px white;
}

.listFooter .pageBtn[bType='first']::after
{
    content: '';
    position: absolute;
    z-index: 2;
    left: 0px;
    top: 0px;
    height: 0px;
    width: 0px;
    border-top: solid 6px transparent;
    border-bottom: solid 6px transparent;
    border-right: solid 10px white;
}

.listFooter .pageBtn[bType='last']
{
    border-right: solid 3px white;
}

.listFooter .pageBtn[bType='last']::after
{
    content: '';
    position: absolute;
    z-index: 2;
    left: -1px;
    top: 0px;
    height: 0px;
    width: 0px;
    border-top: solid 6px transparent;
    border-bottom: solid 6px transparent;
    border-left: solid 10px white;
}

.listFooter .pageBtn[bType='next']::after
{
    content: '';
    position: absolute;
    z-index: 2;
    left: 0px;
    top: 0px;
    height: 0px;
    width: 0px;
    border-top: solid 6px transparent;
    border-bottom: solid 6px transparent;
    border-left: solid 10px white;
}

.listFooter .pageBtn[bType='prev']::after
{
    content: '';
    position: absolute;
    z-index: 2;
    left: 0px;
    top: 0px;
    height: 0px;
    width: 0px;
    border-top: solid 6px transparent;
    border-bottom: solid 6px transparent;
    border-right: solid 10px white;
}

.listFooter .pageBtn[bstatus='disabled']
{
    border-left-color: #CECFCB !important;
    border-right-color: #CECFCB !important;
    cursor: default !important;
}

.listFooter .pageBtn[bstatus='disabled']::after
{
    border-left-color: #CECFCB !important;
    border-right-color: #CECFCB !important;
}

/* JQuery Steps */
.tabcontrol > .content > .title
{
    position: absolute;
    display: none;
}

.tabcontrol > .steps
{
    position: relative;
    display: block;
    width: 100%;
}

.tabcontrol > .steps > ul
{
    position: relative;
    margin: 6px 0 0 0;
    top: 1px;
    z-index: 1;
}

.tabcontrol > .steps > ul > li
{
    float: left;
    margin: 0px 2px 0px 0px;
    padding: 1px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    list-style: none;
}

.tabcontrol > .steps > ul > li:hover
{
    background: #edecec;
    border: 1px solid #f9a10c;
    padding: 0;
}

.tabcontrol > .steps > ul > li.current
{
    background: #fff;
    border: 1px solid #f9a10c;
    border-bottom: 0 none;
    padding: 0 0 1px 0;
    margin-top: 0;
}

.tabcontrol > .steps > ul > li > a
{
    color: #000066;
    display: inline-block;
    border: 0 none;
    margin: 0;
    padding: 10px 12px;
    text-decoration: none;
}

.tabcontrol > .steps > ul > li > a:hover
{
    text-decoration: none;
}

.tabcontrol > .steps > ul > li.current > a
{
    padding: 10px 12px 10px 12px;
}

.tabcontrol > .steps > ul > li.current > a > span
{
    position: absolute;
    display: none;
}

.tabcontrol > .content
{
    position: relative;
    display: inline-block;
    width: 100%;
    height: 31em;
    overflow-x: hidden;
    overflow-y: auto;
    border-top: 1px solid #f9a10c;
    padding-top: 20px;
}

.tabcontrol > .content > .body
{
    float: left;
    position: absolute;
    width: 100%;
    height: 95%;
}

.tabcontrol > .content > .body ul
{
    list-style: disc !important;
}

.tabcontrol > .content > .body ul > li
{
    display: list-item;
}

/* Section Header */
.lblSectionTitle
{
    display: inline-block;
    border-bottom: solid 1px #EEAF30;
    color: #000066;
    margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 10px;
}

/*************************
Confirm Pop Up Dlg Style
*************************/
.Overlay
{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background: #000000;
    background-color: rgba(0,0,0,.2);
    width: 100%;
    height: 100%;
    z-index: 98;
}

.dialog
{
    position: absolute;
    width: 360px;
    height: 140px;
    left: 50%;
    margin-left: -180px;
    top: 140px;
    z-index: 1;
    font-family: Arial;
    font-size: 11px;
    border-radius: 3px;
    border: solid 1px #6C6F70;
}

.dialog-bg
{
    background-color: #FFFFFF;
    width: 360px;
    height: 140px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 3px;
}

.dialog-title
{
    width: 360px;
    height: 30px;
    line-height: 30px;
    background-color: #FFFFFF;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom: 1px solid #FFFFFF;
    color: #00A9E0;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    cursor: default;
}

.dialog-description
{
    width: 320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 18px;
    color: #565A5C;
    font-size: 13px;
    text-align: center;
    line-height: 20px;
    border-top: 1px solid #6F6F70;
    cursor: default;
}

.dialog-buttons
{
    width: 320px;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    bottom: 20px;
    left: 23px;
    text-align: center;
}

.button
{
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    line-height: 1;
    margin-left: 2px;
    position: relative;
    padding: 7px 15px;
    text-decoration: none;
    width: 30px;
}

.yes.button
{
    background-color: #422066;
}

.no.button
{
    background-color: #CCC;
    color: #422066;
}

/**************************************************
Custom Scrollbar, support only webkit based browser
***************************************************/
*::-webkit-scrollbar
{
    width: 8px;
    height: 8px;
}
*::-webkit-scrollbar-track
{
    background-color: #EAEAEA;
    border-left: 1px solid #CCC;
}
*::-webkit-scrollbar-thumb
{
    background-color: #CCC;
}

ol {
 padding-bottom : 5px;
 padding-right: 40px;
}
li {
   padding: 0px 5px 5px 5px; 
}  
ol li  ol li{
    padding: 3px 5px;
}

li ol,
li ul {margin-top:6px;}