html, body{
    margin: 0;
    padding: 0;
    height: 100%;
    min-width: 925px;
}

.sw2-page-wrapper{
    min-height: 100%;
    height: auto !important;
    /*height: 100%;*/
    position: relative;
}

/* Navigation Bar */

.sw2-page-header {
    height: 30px;
    font-size: 13px;
    background: #4679bd;
    min-width: 550px;
}

.sw2-sub-header {
    height: 22px;
    background: #EEE;
    border-top: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
}

.sw2-page-header-tabs {
    /* display: inline; */
	position: absolute;
	top:0;
	right:0;
	margin:4px;
}

.sw2-page-header-tabs > li {
    list-style-type: none;
    height: 30px;
    vertical-align: middle;
    box-sizing: border-box;
    line-height: normal;   /* Argh Dojo!!! */
}

.floatLeft {
    float: left;
    margin-right: 1px;
}

.floatRight {
    float: right;
    margin-left: 1px;
}

.sw2-page-header-menu {
    cursor: pointer;
    background: #386197;
    padding: 7px 11px;
    color: #FFF !important; /* Damn you RecordView and your standard.css!!! */
    display: block;
    text-decoration: none;
}

.sw2-page-header-options {
    cursor: pointer;
    background: #386197;
}

.sw2-page-header-search {
    padding: 5px 5px;
}

.sw2-page-header-menu:hover {
    /*background: #5785C3;*/
}

.sw2-page-header-tabs .selected {
    background: #233D5F !important;
    cursor: default;
}

.sw2-page-header-tabs .disabled {
    color: #90AFD7 !important; /* Damn you RecordView and your standard.css!!! */
    background: transparent;
    cursor: default;
}

.searchInput {
    width: 300px;
    height: 20px;
    border: 1px solid #eaeaea;
    border-radius: 2px;
    padding-right: 19px;
    padding-left: 4px;
    box-sizing: border-box;
    vertical-align: middle;
}

.searchWrapper {
    position: relative;
}

.searchButton {
    position: absolute;
    top: 0px;
    right: 0px;
    background: transparent url('search.png') no-repeat left top;
    width: 20px;
    height: 20px;
    cursor: pointer;
    border: 0;
    outline: 0;
}


/* Nav Bar */
.sw2-page-wrapper .sw2-navContainer {
    height: 40px;
    background: #4679bd;
    border-top: 1px solid #CCC;
}
.sw2-page-wrapper .sw2-navContainer .sw2-navItem {
    /*cursor: pointer;*/
    margin-right: 1px;
    height: 40px;
    vertical-align: middle;
    background: #406EAC;
    box-sizing: border-box;
}

.sw2-page-wrapper .sw2-navContainer .sw2-navSearchContainer {
    padding:7px 12px;
}
.sw2-page-wrapper .sw2-navContainer .sw2-navText {
    color: #FFF;
    font-size: 13px;
    padding: 12px 20px;
    display: block;
    cursor: default;
}
.sw2-page-wrapper .sw2-navContainer a.sw2-navText{
    text-decoration: none;
}
.sw2-page-wrapper .sw2-navContainer .sw2-navItem.selected .sw2-navText{
    background: #2D4D78 !important;
}
.sw2-page-wrapper .sw2-navContainer .sw2-navItem a.sw2-navText:hover{
    background: #5785C3;
    cursor: pointer;
}

/* Content Header */
.sw2-contentHeaderContainer {
    height: 27px;
    background: #EEE;
    border-top: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
    overflow: hidden;
}
.sw2-contentHeaderContainer .sw2-contentHeaderText {
    vertical-align: middle;
    padding: 5px 10px;
}
.sw2-contentHeaderContainer .pageHeading {
    color: #333;
    font-size: 13px;
    font-weight: bold;
}
/* Content */
.sw2-contentContainer {
    position: absolute;
    left:0;
    right: 0;
    overflow: auto;
}

/* Footer  */
.sw2-footer{
    background: #4679bd;
    overflow: hidden;
}
.sw2-footer a{
    outline: none;
}
.absolute-footer{
    position: absolute;
    right: 0px;
    left: 0px;
}
#footer ul {
    float: right;
    display: inline-block;
    list-style-type: none;
    margin: 2px 4px 0 0;
    padding: 0;
    font-size: 9px;
    color: #fff;
}

#footer ul li {
    display: inline-block;
    margin-top: 1px;
	/* IE8 needed this... */
	border:1px solid #4679bd;
}

#footer ul li:before {
    content: ' | ';
    color: #ccc;
}
#footer ul li:first-child:before {
    content: '';
}

#footer a {
    text-decoration: none;
    color: #eaeaea;
}
#footer a:hover{
    color: #fff !important;
    transition: all 0.2s;
}

#footer a img {
    position: relative;
    max-height: 20px;
    margin-left: 20px;
    margin-top: -1px;
    vertical-align: middle;
    opacity: 0.85;
}
#footer a:hover img{
    opacity: 1;
}

#relative-footer .footer-sub-credit,
#footer .footer-sub-credit{
    color: #ccc;
    margin-right: 20px;
}
#relative-footer .footer-sub-credit a,
#footer .footer-sub-credit a{
    color: #ccc;
    text-decoration: none;
}

/* CSS Layout: */
/* Helper Classes  */
.sw2-page-wrapper .sw2-layout-left {
    display: block;
    float: left;
}
.sw2-page-wrapper .sw2-layout-right {
    display: block;
    float: right;
}


/* Tootips for inavtive tab */
/* TODO: remove these duplicated style from styles.css */
.inactiveTabTooltip {
    padding: 5px 8px 6px;
    background: white;
    color: #444;
    border: 1px solid #aaa;
    box-shadow: 0 2px 4px #888;
    white-space:nowrap;
    font-weight: bold;
}
.inactiveTabTooltip-text {
    background: none;
    border-style:none;
}
.inactiveTabTooltipData {
    font-weight: bold;
}

