*, html {
    font-family: Sans-Serif;
    color: #000000;
}

html {
    background: #f7f7f7;
/*    background: #f7f7f7 url(http://lh4.ggpht.com/_aDwLqnCx5xE/S-IC183-mWI/AAAAAAAACAU/x5M3XSm-z38/e365/gg_bridge-2.jpg);*/
}

body {
    /*margin: -76px auto;*/
    margin: -32px auto 0;
    background: none;
    width: 905px;
    background: url(./../images/nomis/dashboard-header2.png) no-repeat;
    padding-top: 32px;
}

body.little-page {
    margin-top: 90px;
}

#header {
    position: relative;
    background: url(./../images/nomis/dashboard-background.png) repeat-y; /* #f7f7f7;*/
}

h1 {
    color: #365F91;
    font-size: 40px;
    margin-bottom: -4px;
    font-weight: bold;
    text-align: right;
    width: 905px;
    height: 35px;
    background: url(./../images/nomis/dashboard-background.png) no-repeat;
    /*background: transparent url(./../images/nomis/ers-logo.png) no-repeat scroll 23px 76px;*/
    position: relative;
}

h1 a {
    display: block;
    position: absolute;
    height: 38px;
    width: 90px;
    top: 0px;
    left: 32px;
    font-size: 40px;
    color: #365F91;
    font-weight: bold;
    text-decoration: none;
    color: white;
    background: url(./../images/home.png) no-repeat;
}

body.little-page h1 {
    height: 19px;
}

body.little-page h1 a {
    top: -16px;
}

h1 a span {
    display: none;
}

#user-box {
    position: absolute;
    right: 24px;
    top: 0px;
}

body.little-page #user-box {
    top: -12px;
}

#user-box p {
    font-size: 12px;
    padding: 6px 12px;
    text-align: center;
    /*border: 1px solid #747474;
    border-top: none;
    border-right: none;*/
}

#wrapper {
    width: 905px;
    margin: 0px auto;
    background: url(./../images/nomis/dashboard-background.png) repeat-y;/*#f7f7f7;*/
    padding-top: 10px;
    padding-left: 13px;
    position: relative;
}

.chapter {
    width: 868px;
}

h2 {
    font-size: 20px;
    font-family: Georgia;
    color: #FFFFFF;
    padding: 6px 0 6px 14px;
    width: 150px;
    height: 25px;
    line-height: 25px;
    float: left;
    cursor: pointer;
}

h2.first {
    margin-left: 30px;
}

#search-button {
    width: 24px;
    height: 24px;
    background: url(./../images/search-button.png) no-repeat;
    position: absolute;
    top: 50px;
    left: 847px;
    cursor: pointer;
}

#search-box {
    width: 300px;
    position: absolute;
    top: 79px;
    left: 581px;
    z-index: 100;
    display: none;
}

#search-box .search {
    height: 36px;
}

#search-box input {
    width: 280px;
    padding: 5px;
    margin: 4px;
}

#search-box .results {
    margin: 0 5px 0;
    background-color: #EEEEEE;
}

#search-box .results p {
    border-bottom: 1px solid #000000;
    padding: 4px;
    font-size: 12px;
}

#search-box .results strong {
    font-weight: bold;
}

#search-box ul {
    margin-bottom: 10px;
}

#search-box li {
    font-size: 11px;
    padding: 6px;
}



.chapter .content {
    /*min-height: 200px;*/
}

.chapter ul ul {
    display: none;
}

.chapter .menu > ul {
    /*border-bottom: dashed 1px #FFFFFF;*/
    margin: 0px 30px;
    padding: 8px;
}

.chapter .menu > ul > li,  .chapter .menu > ul > li h3 {
    display: inline;
    position: relative;
}

.chapter .menu > ul > li {
    background: url(./../images/nomis/menu-option.png) no-repeat 7px 13px;
    padding: 6px 9px 7px 22px;
}

.chapter .menu > ul > li.linkonly {
    background-image: none;
    padding-left: 10px;
}

.chapter .menu p {
    font-size: 14px;
    color: #FFFFFF;
    font-family: Helvetica, Tahoma, Verdana, Sans-Serif;
    line-height: 30px;
}

h3 {
    color: #FFFFFF;
    font-family: Helvetica, Tahoma, Verdana, Sans-Serif;
    font-size: 12px;
    border-left: 1px groove #333333;
    padding-left: 5px;
}

h3 a {
    color: #FFFFFF;
    text-decoration: none;
}

.menu ul ul {
    position: absolute;
    top: 30px;
    left: 0px;
    /*background: url(./../images/nomis/menu-background.png) !important;*/
    background-color: #dbdbdb;
    min-width: 130px;
    padding-top: 5px;
    padding-bottom: 5px;
    z-index: 500;
}

.menu ul ul li {
    padding: 2px 20px 2px 32px;
}

.menu ul ul li a {
    color: #000000;
    font-size: 12px;
    white-space: nowrap;
}


#database .menu, h2.database, #search-box.database, #search-box.database li:hover, #search-box.database li.active {
    background-color: #858585;
}

#client .menu, h2.client, #search-box.client, #search-box.client li:hover, #search-box.client li.active {
    background-color: #9db6c0;
}

#settings .menu, h2.settings, #search-box.settings, #search-box.settings li:hover, #search-box.settings li.active {
    /*background-color: #ffe17b;*/
    background-color: #c48a3d;
}

.menu > ul > li:hover, .menu > ul > li.hover {
    /*background: url(./../images/nomis/menu-background.png) !important;*/
    background: #f0f0f0 url(./../images/nomis/menu-option-hover.png) no-repeat 7px 12px;
}

.menu > ul > li:hover h3, .menu > ul > li.hover h3 {
    color: #000000;
}

.menu > ul > li:hover h3 a, .menu > ul > li.hover h3 a {
    color: #000000;
    text-decoration: underline;
}

.menu > ul > li:hover ul, .menu > ul > li.hover ul {
    display: block;
}

.content-bar {
    width: 800px;
    margin: 10px 33px 0 !important;
    padding: 10px 0;
}

.content-bar {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.bar {
    position: absolute;
    top: 10px;
    left: 535px;
    width: 346px;
    padding: 10px 0 11px;
    margin: 0 !important;
    border: none !important;
    height: 16px;
}

#content {
    padding: 20px 33px;
    width: 800px;
}


h4, h5 {
    color: #555555;
    font-weight: bold;
    font-size: 17px;
    font-family: Helvetica, Tahoma, Verdana, Sans-Serif;
    margin: 10px 0px 10px;
    letter-spacing: 0px;
}

h5 {
    margin-bottom: 0;
}

h5 a {
    text-decoration: none;
}

#content ul {
    margin-top: 10px;
}

#content h4 > a, #content h4 > div {
    float: right;
}



div.button > a, a.button, span.button {
    padding: 5px 5px 5px 20px;
    position: relative;
    text-decoration: none;
    margin-top: -3px;
    margin-right: -3px;
    font-size: 13px;
    cursor: pointer;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border: 1px solid #dddddd;
    background: #f6f6f6 url(./../images/flick/ui-bg_highlight-soft_100_f6f6f6_1x100.png) 50% 50% repeat-x;
    font-weight: bold;
    color: #0073ea;
    outline: none;
    height: 14px;
    white-space: nowrap;
}

div.button:hover > a, a.button:hover, span.button:hover {
    border: 1px solid #747474;
    color: #444444;
    background: #f6f6f6 url(./../images/flick/ui-bg_highlight-soft_100_f6f6f6_1x100.png) 50% 50% repeat-x;
}

div.button > a .ui-icon, a.button .ui-icon, span.button .ui-icon {
    background-image: url(./../images/flick/ui-icons_666666_256x240.png);
}

div.button > a span, a.button span, span.button span {
    margin: -9px 5px 0 0;
    position: absolute;
    top: 50%;
    left: 0.2em;
}

div.button > a.icon-only span, a.button.icon-only span, span.button.icon-only span {
    margin-left: 4px;
}

div.button.small > a.icon-only span, .a.small.button.icon-only span, span,small.button.icon-only span {
    margin-left: 1px;
}

div.button.small > a, a.button.small, span.button.small {
    font-size: 12px;
    padding: 2px 4px 2px 20px;
    margin-top: -2px;
    height: 14px;
}

div.button.small > a.icon-only, a.button.small.icon-only, span.button.small.icon-only {
    padding-bottom: 4px;
}

div.button {
    display: inline;
    position: relative;
    height: 21px;
}

div.button ul {
    display: none;
    position: absolute;
    top: 22px;
    left: 0;

    margin: 0 !important;

    -moz-border-radius: 0 0 2px 2px;
    -webkit-border-radius: 0 0 2px 2px;
    border: 1px solid #dddddd;
    background: #f6f6f6 url(./../images/flick/ui-bg_highlight-soft_100_f6f6f6_1x100.png) 50% 50% repeat-x;
}

div.button.small ul {
    top: 16px;
}

div.button ul li {
    margin: 0 !important;
    padding: 5px 0 !important;
    border-bottom: 1px solid #dddddd;
}

div.button.small ul li {
    padding: 3px 0 !important;
}

div.button ul li a {
    font-weight: bold;
    color: #0073ea;
    padding: 5px 10px !important;
    white-space: nowrap;
}

div.button.small ul li a {
    font-size: 12px;
}

div.button ul li a:hover {
    font-weight: bold;
    color: #444444;
    padding: 5px 10px !important;
}

div.button:hover ul, div.button ul:hover {
    display: block;
    border: 1px solid #747474;
    background: #f6f6f6 url(./../images/flick/ui-bg_highlight-soft_100_f6f6f6_1x100.png) 50% 50% repeat-x;
}

div.button:hover > a {
    -moz-border-radius: 2px 2px 0 0;
    -webkit-border-radius: 2px 2px 0 0;
}


h5 {
    color: #444444;
    font-size: 15px;
    border-bottom: 1px solid #444444;
    padding-bottom: 5px;
}

h6 {
    color: #666666;
    font-size: 14px;
    border-bottom: 1px solid #666666;
    padding: 5px;
}

#content p, #content li, .ui-dialog-content p, .ui-dialog-content li {
    font-size: 13px;
    color: #666666;
    padding: 10px 0px;
    text-align: justify;
    line-height: 16px;
}

.ui-dialog-content li {
    padding: 2px 0;
}

#content li.ui-timepickr {
    padding: 1px 0px;
}

#content .ui-tabs li {
    padding: 0;
}

#ajax-loader {
    position: fixed;
    top: 50%;
    left: 50%;
    background-color: #FFFFFF;
    color: #FFF;
    display: none;
    padding: 5px;
    height: 30px;
    margin-top: -15px;
    width: 150px;
    margin-left: -75px;
    z-index: 100;
    border: 3px solid black;
}

#ajax-loader span {
    color: #000000;
    position: absolute;
    margin-left: 15px;
    line-height: 31px;
}

#footer {
    width: 905px;
    height: 20px;
    margin: 0 auto;
    background: url(./../images/nomis/dashboard-footer.png) no-repeat;
    padding-top: 30px;
}

#footer p {
    font-size: 11px;
}

#footer p, #footer p a {
    color: #444444;
    text-shadow: #AAAAAA 1px 1px 1px;
}


/*#results.search-contacts*/
#results li {
    border: 1px solid #444444;
    margin-bottom: 5px;
    margin-left: 0px;
}

#results form {
    margin: 0;
    letter-spacing: inherit;
}

#results input.checkbox {
    margin: -1px 0 0;
}

#results li p {
    padding: 0;
}

#results li p span {
    float: left;
    width: 145px;
    color: #666666;
    line-height: 17px;
}

#results li p span.key {
    width: 80px;
    color: #444444;
}

#results li p span.checkbox {
    width: 225px;
    margin-top: 4px;
}

#results li p span.checkbox label {
    color: #666666;
}

#results li p span.id, #results li p span.info {
    width: auto;
}

#results li p span.id a {
    font-size: 40px;
    /*margin: 10px;*/
}

#results li p span.id {
    padding: 27px 15px 0px 10px;
}

#results li p a {
    color: #666666;
}



.ui-tabs .ui-widget-header {
    background: none;
    border: 0;
    border-bottom: 1px solid #747474;
}

.ui-tabs .ui-tabs-nav li {
    margin-bottom: 0px !important;
    line-height: 16px;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-selected {
    margin-bottom: -1px !important;
    line-height: 17px !important;
}

.ui-tabs .ui-tabs-nav li a {
    font-size: 13px !important;
    padding: 5px !important;
}

.ui-tabs {
    padding: 0 !important;
}

.ui-tabs.ui-widget-content {
    border: none;
}

/*#tabs form dt {
    clear: left;
    width: 35%;
}

#tabs form dd {
    width: 65%;
}*/

#tabs.house {
    margin-top: 20px;
}

#dossier-tabs input, #tabs input {
    /*width: 210px;*/
}

#dossier-tabs input.checkbox, #tabs input.checkbox {
    width: 14px;
    float: none;
    /*margin-left: 10px;*/
}

#dossier-tabs > ul > li.beenthere {
    background: #eee;
}

#tabs input.checkbox.normal {
    float: left;
}

#tabs .fieldmessage {
    margin-left: 10px;
}

#tabs .star-rating-control .rating-cancel {
    margin-left: 10px;
}

#tabs input.submit, #tabs input.button, #tabs select {
    width: 220px;
}

#tabs .ui-state-hover, #tabs .ui-widget-content .ui-state-hover, #tabs .ui-state-focus, #tabs .ui-widget-content .ui-state-focus {
    /*background: none !important;*/
}

#tabs li {
    list-style: none;
}

#content .lists li, .ui-dialog-content .lists li {
    border: 1px solid #747474;
    padding: 5px !important;
    margin-bottom: 4px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
}

#content .lists li.no-lists, .ui-dialog-content .lists li.no-backlists {
    border: 0px solid #747474;
    padding: 5px !important;
    margin-bottom: 4px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
}

#house-associations li span {
    float: left;
    width: 200px;
    line-height: 16px;
}

#house-associations li span.key {
    width: 100px;
}

#map-holder {
    height: 300px;
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus {
    color: inherit !important;
}


a {
    color: #000000;
    text-decoration: underline;
}

a:hover {
    color: #444444;
}

#pictures li {
    margin: 3px 0px;
    padding: 1px;
    float: left;
    text-align: center;
    width: 19%;
    height: 140px;
    border: 1px solid #FFFFFF;
    position: relative;
}

#pictures li .buttons {
    display: none;
    position: absolute;
    bottom: 10px;
    left: 0;
    padding: 0;
    width: 100%;
    text-align: center;
}

#pictures li .button {
    height: 14px;
    display: inline-block;
    margin: 0 -3px;
}

#pictures li:hover .buttons {
    display: block;
}

#pictures .ui-sortable-placeholder { border: 1px dotted black !important; visibility: visible !important; height: 140px !important; }
#pictures .ui-sortable-placeholder * { visibility: hidden; }

#pictures .ui-state-highlight {
    width: 19%;
    border: 1px solid #000000 !important;
    height: 140px;
}


.small {
    font-size: 12px;
    line-height: 13px;
}




.w100, .w33, .w25, .w50, .w20, .w66, .w22, .w75, .w10, .w30, .w70 {
    float: left;
}

form {
    margin: 0 auto !important;
}



.w33 h4, .w25 h4, .w50 h4, .w20 h4, .w66 h4 {
    margin: 10px;
    margin-top: 0px;
}

.w33 p, .w25 p, .w50 p, .w20 p, .w66 p {
    /*margin: 10px;*/
}

.w33, .w25 {
    /*border: 1px solid #ddd;*/
}



input.little {
    width: 35px
}

input.medium {
    width: 50px;
}

input.medium_plus {
    width: 70px;
}

input, textarea, select {
    -moz-border-radius: 2px; -webkit-border-radius: 2px;
}

.hide {
    display: none;
}

.right {
    float: right;
}

.p5 {
    padding: 5px;
}

.p10 {
    padding: 10px;
}

.pl5 {
    padding-left: 5px;
}

.pl10 {
    padding-left: 10px;
}

.pl5 {
    padding-right: 5px;
}

.pr10 {
    padding-right: 10px;
}

.mr0 {
    margin-right: 0 !important;
}

.center {
    text-align: center !important;
}

p.error, p.success, p.warning {
    margin: 8px 0;
    text-align: center !important;
    font-weight: bold;
}

.error {
    color: #cc3333 !important;
}

p.error {
    border: 2px solid #cc3333;
    background-color: #e5a1a1;
}

.success {
    color: #009900 !important;
}

p.success {
    border: 2px solid #006600;
    background-color: #CCFFCC;
}

.warning {
    color: #ff8000 !important;
}

p.warning {
    border: 2px solid #ff8000;
    background-color: #ffeb99;
}


sup {
    font-size: 11px;
    vertical-align: top;
    color: inherit;
}

.w33 label {
    margin: 0;
    display: inline;
}


.ui-tabs .ui-tabs-panel {
    padding: 1em 0;
}


.button.ui-state-hover span {
    background-image: url(./../images/flick/ui-icons_666666_256x240.png) !important;
}


#search-form #tabs {
    border-bottom: 1px solid #747474;
    padding-top: 10px;
}

#search-form.contacts #tabs {
    border-top: 1px solid #747474;
}

#search-form #tabs dt {
    width: 30%;
    margin: 12px 5px 5px;
}

#search-form #tabs .w22 dt {
    width: 25%;
}

#search-form #tabs dd {
    width: 60%;
    margin: 5px;
}

#search-form #tabs dt.ranking {
    width: 20%;
    margin-top: 7px;
}

#search-form #tabs dd.ranking {
    width: 76%;
    margin-right: 0;
    margin-left: 0;
}

#search-form #tabs dd.ranking .star-rating {
    margin-left: 0px;
}

#search-form #tabs .tab {
    padding-left: 0;
    padding-right: 0;
}

#search-form #tabs input {
    width: 100%;
}

#search-form #tabs select {
    width: 106%;
}

#search-form.houses #tabs select {
    height: 24px;
}

#search-form #tabs input.checkbox {
    width: 13px !important;
}

#search-form #tabs label {
    padding-top: 7px;
}

#search-form #tabs dd.full {
    width: 100%;
    margin-left: 20px;
}

#search-form.contacts #tabs dd.full {
    width: 94%;
    margin-top: 9px;
}

#search-form #tabs #search-extended dd.full {
    margin-top: 5px;
}

#search-form #tabs .fieldmessage {
    margin-left: -9px;
}

#search-form #tabs .fieldmessage.normal {
    margin-left: 0px;
    padding-top: 2px;
}

#search-form.contacts #tabs .fieldmessage.checkbox {
    margin-left: 0;
    display: block;
    float: left;
    padding-top: 3px;
}

#search-form.contacts #tabs input.checkbox {
    float: left;
    display: block;
    margin-left: 0;
}

ul#routes-sort li {
    background: #FFFFFF;
}

ul#routes-sort div {
    float: left;
}

ul#routes-sort p {
    padding: 0;
    margin: 5px 0;
}

ul#routes-sort p.top {
    margin-top: 0;
}


ul#routes-sort p.bottom {
    margin-bottom: 0;
}


ul#routes-sort input {
    float: none;
    height: 11px;
}

ul#routes-sort input.checkbox {
    height: 13px;
    width: 13px;
    margin: 0;
}

span.handle {
    cursor: move;
}

ul#routes-sort .handle {
    float: left;
    display: block;
    width: 20px;
    font-size: 14px;
    line-height: 42px;
}

ul#routes-sort li span.right {
    /*display: none;*/
}

ul#routes-sort li:hover span.right {
    display: block;
}


/*#search-form #id {
    width: 50px;
}*/



.ui-slider-range {
    background: #747474 !important;
}


.filedump li:hover {
    background-color: #eeeeff;
}

.filedump li.focus {
    border-style: dashed !important;
}

.filedump li.selected, .lists li.active {
    background-color: #ddddff;
}




/**
 *
 */
.calendar .fc-view-month tbody td {
    /*position: relative;*/
}

.calendar .fc-view-month tbody td .add-appointment {
    position: absolute;
    bottom: 0;
    right: 0;
    display: none;
    /*float: right;
    font-size: 12px;
    margin-top: 30px;*/
}

.fc-agenda th, .fc-grid th, .fc-grid td {
    font-size: 12px;
    line-height: 24px;
}

.fc-header a {
    font-size: 12px;
}

.fc-event-time, .fc-event-title {
    font-size: 11px;
}


.ui-datepicker {
    z-index: 1003;
}

.ac_results strong {
    color: inherit;
}



.appointment-item h6 {
    margin-bottom: 5px;
}


a#feedback-button {
    display: block;
    position: fixed;
    top: 30%;
    margin-top: -45px;
    left: 0;
    height: 100px;
    width: 34px;
    background: url(./../images/feedback-left.png) no-repeat -3px 0px;
    text-decoration: none;
}

a#feedback-button:hover {
    background: url(./../images/feedback-left.png) no-repeat 0px 0px;
}




ul.schedule-houses li .checkbox {
    margin-left: 0;
}


.ui-datepicker table, .ui-widget-header {
    font-size: 11px;
}

.ui-datepicker {
    width: 200px;
}

.ui-button.ui-widget.ui-button-text-only {
    font-size: 12px;
}