body {
    height: 100%;
    background-color: #D3DCEA;
    /*background-image: url("../images/background.png");
    background-repeat: repeat-y;*/
    font: normal 100%;
}

body.no-image {
    height: 100%;
    background-color: #f5f5f5;
    background-image: none;
}

th,
.nowrap {
    white-space: nowrap;
}

h2,
h3, h5 {
    color: #747474;
    font-family: "HPRegular";
}

h2 {
    font-size: 1.7em;
    margin-top: 0;
    padding-top: 10px;
    margin-left: 5px;
    /*white-space:pre;*/
    margin-bottom: 0;
}

h3 {
    font-size: larger;
    padding: 8px 8px 0 8px;
    margin-top: 20px;
    line-height: 20px;
    text-transform: uppercase;
}


div.thumbnail {
    min-height: 302px;
    position: relative;
}

    div.thumbnail > div {
        position: absolute;
        bottom: 0;
    }

    div.thumbnail h5 {
        font-size: 16px;
    }

p, ol {
    margin-left: 10px;
}

.caret {
    border-top: 4px solid #FFF;
}

@font-face {
    font-family: 'HPBold';
    /*src: url("fonts/Metric-Bold.eot");
    src: url("fonts/Metric-Bold.eot#iefix"), url("fonts/Metric-Bold.otf") format("opentype"), url("fonts/Metric-Bold.woff") format("woff");*/
    src: url("fonts/Metric-Bold.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'HPRegular';
    /*src: url("fonts/Metric-Regular.eot");
    src: url("fonts/Metric-Regular.eot#iefix"), url("fonts/Metric-Regular.otf") format("opentype"), url("fonts/Metric-Regular.woff") format("woff");*/
    src: url("fonts/Metric-Regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'HPLight';
    /*src: url("fonts/Metric-Regular.eot");
    src: url("fonts/Metric-Regular.eot#iefix"), url("fonts/Metric-Regular.otf") format("opentype"), url("fonts/Metric-Regular.woff") format("woff");*/
    src: url("fonts/Metric-Light.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

#logout-btn {
    margin: -45px 10px 0 0;
}
/*li.top-menu-item {
    margin-top:20px;
}*/

.left-menu .dropdown-toggle span.caret {
    color: #FFF;
    border-top-color: #FFF;
    border-bottom-color: #FFF;
}

#admin-menu {
    list-style-type: none;
}


#logout-btn ul a,
#logout-btn ul button,
#tenants-btn ul a {
    color: #000;
}

#logout-btn ul button {
    padding: 3px 20px;
}

#logout-btn ul form {
    margin: 0;
}

#logout-btn ul,
#tenants-btn ul {
    -webkit-border-radius: 0;
}

.alert {
    color: #920707;
    background-color: #f2dedf;
    border: none;
}

/* Default button style */
a.btn,
span.btn,
button.search-btn:hover,
button.search-btn,
button.form-search-btn,
button.page-btn {
    background-color: #0096d6;
    color: white;
    text-shadow: none;
    background-image: none;
    font-family: HPLight;
    font-weight: 400;
    font-size: 12pt;
}

/* Overall page layout */
#topsection {
    background: #393939;
    height: 50px;
    position: fixed;
    top: 0;
    z-index: 999998;
    width: 100%;
}

    #topsection.min-banner {
        height: 38px;
    }

#contentwrapper.min-banner {
    margin-top: 30px;
}

#contentcolumn {
    margin-left: 150px;
    background-color: #eaeaea;
    padding-bottom: 20px;
    height: 100%;
}

    #contentcolumn.no-menu {
        margin-left: 0;
    }

#leftcolumn {
    position: fixed;
    width: 150px;
    background-color: #262626;
    top: 57px;
    left: 0;
}

.count-btn {
    margin-left: 20px;
    margin-top:4px;
}

html.busy, html.busy * {
    cursor: wait !important;
}

#footer {
    margin-left: 150px;
}


.innertube {
    background-color: #246BB2;
    /*
	background-image: url("../images/top_banner_shaded_BG.png");
	background-repeat: repeat-x;
*/
}

    .innertube img {
        float: left;
        margin-right: 25px;
    }

    .innertube h2 {
        color: white;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: normal;
    }

.blue-line {
    background-color: #0096d6;
    height: 5px;
}

#bottom-blue-line {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 999999;
}

#banner-img-large {
    height: 50px;
}

#banner-img-small {
    display: none;
}


ul.left-menu {
    padding-left: 10px;
    padding-right: 20px;
    padding-top: 10px;
    text-align: right;
    /*margin-left: 20px;*/
}

.banner > div {
    margin-right: 32px;
    margin-bottom: 10px;
}

.banner {
    padding: 8px;
    margin-top: 0;
    margin-bottom: 10px;
}

div.text-page-go {
    margin-right: 9px;
}

pre.text-page {
    margin: 20px 10px 0 10px;
    background-color: white;
    min-width: 1300px;
}




#contentwrapper {
    position: absolute;
    float: left;
    width: 100%;
    margin-top: 57px;
    /*height:100%;*/
}

#contentwrapper-view {
    position: fixed;
    top: 37px;
}

/* Menu style*/
.left-menu > li > a {
    text-shadow: none;
    color: #747474;
    text-transform: uppercase;
    font-family: HPLight;
    padding: 6px 4px 6px 0;
    margin-right: -18px;
    font-weight: 400;
    font-size: 0.9em;
}


/* Style quick search embedded in menu */
#quick-search-forms {
    margin-top: 70px;
    background-color: #343434;
    padding: 20px 0 1px 0;
}

    #quick-search-forms > form {
        margin: 0 0 20px 10px;
    }

        #quick-search-forms > form > button {
            padding: 6px;
            width: 125px;
        }

        .left-menu > li img {
            height:16px;
            width:16px;
        }

.left-menu > li > a > span > img {
    margin-left: 6px;
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%);
}

.left-menu > li > a:hover > span > img,
.left-menu > li > a.menu-active > span > img {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(0%);
}

.left-menu > li > a:hover,
.left-menu > li > a.menu-active {
    background-color: #0f0f0f;
    color: white;
}


/*Layout Help page*/
div.help-pane {
    background-color: white;
    padding: 1px 0 10px 20px;
    margin: 0 40px 0 20px;
}


/* Layout Main object properties body */
div.details-pane {
    background-color: white;
    padding: 20px 0 10px 20px;
    margin: 0 40px 0 20px;
}

div.form-search-pane {
    background-color: #FFF;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0 20px 0 20px;
}


div.preview-pane {
    background-color: white;
    padding: 20px 0 10px 20px;
    margin: 0 40px 0 20px;
    position: relative;
    height: 100%;
    width: 94%;
    margin-right: 150px;
    -webkit-overflow-scrolling: touch;
}

.accordion {
    margin-right: 20px;
}

/* spacing between property rows */
.form-horizontal > div.control-group {
    margin-bottom: 5px;
}


/* Field groups layout plus expand collapse setup*/
.field-group div.control-group > div.controls {
    margin-left: 210px;
}

.prop-val {
    white-space: pre-wrap;
}

div.accordion-heading > a {
    background-image: url("../images/chevronUP.png");
    background-repeat: no-repeat;
    background-position: right;
}

    div.accordion-heading > a.collapsed {
        background-image: url("../images/chevron.png");
    }


/* padding and margin on forms in Links/Action list */
.menu-form {
    margin-bottom: 2px;
    padding: 5px 10px 0 10px;
}

    /* Style the buttons in the Links / Actions list */
    .menu-form .btn,
    .menu-form .btn:hover {
        background-color: #F05332;
        text-shadow: none;
        background-image: none;
        color: white;
        width: 100%;
    }

/* Style the links in the Links / Actions list */
.dropdown-menu li > a {
    color: #08C;
}

    .dropdown-menu li > a:hover,
    .dropdown-menu li button:hover {
        background-color: #0096D6;
        background-image: none;
    }

.dropdown-menu li button {
    text-align:left;
width: 100%;
}

/* field labels in list of properties */
div.control-group > label.control-label {
    width: 220px;
    padding-top: 0;
    text-align: left;
    color: #87898B;
}

/* Main object search results */
ul.search-results {
    margin-left: 20px;
}

table.search-results {
    background-color: white;
    margin-left: 20px;
    width: 95%;
}



#search-title {
    margin-left: 20px;
}

/* Icon cell in search results list */
td.row-icon,
th.row-icon {
    width: 64px;
    /*height:64px;*/
    padding: 0;
}

/* Style Record Type icons*/
td.row-icon {
    position: relative;
    background-color: #f5f5f5;
}

    td.row-icon > div {
        /*position: absolute;
	bottom: 1px;*/
        width: 100%;
        color: #333;
        font-size: 0.9em;
        font-weight: bold;
        text-align: center;
    }

    td.row-icon > img {
        /*margin-left: 6px;
		margin-top:4px;*/
        margin-left: auto;
        margin-right: auto;
        margin-top: 4px;
        display: block;
    }

/*  Style pagination links at bottom of search results */
#trim-pagination a {
    background-color: white;
}

#trim-pagination li.active a {
    background-color: #f5f5f5;
}



/* adds margins to main Record search form and search forms embedded within object properties */
.search-form {
    margin-left: 40px;
    margin-top: 20px;
}

.accordion-inner > .search-form {
    margin-left: 0;
}


.input-append select {
    width: 235px;
}

.search-form > .control-group > .control-label {
    text-align: left;
}

#search-banner {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0px;
    padding-bottom: 0px;
}

/* Make sure text in search banner does not but right up to the page edge*/
#search-banner > p {
    padding-right: 10px;
}

    #search-banner h2 {
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0px;
        padding-bottom: 0px;
    }

#search-title {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0px;
    padding-bottom: 0px;
}

/* search form field layout */
div.control-group > div.control-label {
    width: 280px;
    padding-top: 0;
}

/* Vertical spacing between items in search form*/
.search-form > div.control-group {
    margin-bottom: 10px;
}

.search-form .search-btn {
    margin-left: 530px;
}

#search-form-form .search-btn {
    margin-left: 490px;
}

.controls > label.checkbox {
    margin-left: 10px;
}

button.form-search-btn {
    float: right;
    margin-right: 20px;
}

/* removes the green boder from active buttons in a button group*/
.btn-group button.active {
    border-color: lightgray;
}

/* icons for search clause list toggle button*/
.trim-icon-list {
    background-image: url("../images/list_toggle.png");
}

.trim-icon-cat {
    background-image: url("../images/categorised_toggle.png");
}

[class^="trim-icon-"], [class*=" trim-icon-"] {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-top: 1px;
    line-height: 14px;
    vertical-align: text-top;
    background-repeat: no-repeat;
}


/* Make sure corners on fields and buttons are square not round */
a.btn,
span.btn,
select,
.input-append select,
button.btn,
.btn-group > .btn:first-child,
.btn-group > .btn:last-child,
#trim-pagination a,
input[type="text"] {
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    -khtml-border-radius: 0px;
    border-radius: 0;
}

#quick-search-forms > form input {
    width: 94px;
    padding-left: 23px;
    background-image: url("../images/Search_grey_16.png");
    background-repeat: no-repeat;
    background-position: 4px 6px;
}


/* Horizontal lines in left menu and page banner */
hr {
    margin: 0;
}

.banner hr {
    background: url("../images/seperator_main600x2.png") repeat-x top left;
    border: 0;
    height: 5px;
}

#quick-search-forms hr {
    background: url("../images/separator_quicksearch.png") repeat-x top left;
    border: 0;
    height: 5px;
    margin-bottom: 15px;
}

.txtPageOf {
    display: inline-block;
    white-space: pre;
    font-size: 1.8em;
    color: #FFF;
    vertical-align: middle;
    height: 35px;
}

a.toolBarLinkDisabled {
    opacity: 0.6;
}
