html,body {
    font-size: 12px;
    height: 100%;
    margin: 0;
    overflow-y: auto;
}

a img {
    border: none;
}

h1 {
    font-size: 1.6em;
    margin-top: 0;
}

input[type="submit"],input[type="button"] {
    font-size: 10pt;
    margin: 5px 5px 5px 0;
    cursor: pointer;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    border: none;
    padding: 4px 12px 4px 12px;
}

.rich-toolbar-item  input[type="button"] {
    border: 1px solid;
    border-color: white;
    color: black;
    font-weight: bold;
}

input[type=text],input[type=password],textarea {
    font-size: 12px;
    padding-left: 1px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

input[type="checkbox"] {
    vertical-align: bottom;
}

select {
    font-size: 13px;
}

.tableControl,.actionButtons {
    width: 100%;
}

.tableControl a {
    padding-left: 10px;
}

.tableControl {
    text-align: right;
}

.footer {
    text-align: center;
    font-size: 11px;
    width: 100%;
    padding-bottom: 0.1%;
    height: 40px;
    position: fixed;
    bottom: 0;
}

.rich-table {
    width: 100%;
}

#body {
    position: relative;
    min-height: 100%;
    height: auto;
}

.body {
    padding: 10px 30px 30px 30px;
    margin-bottom: 30px;
}

.message {
    padding: 5px;
    list-style: none;
    border: 0;
    background: none;
    padding: 0;
    color: #000000;
    margin: 5px 0 8px 0;
    font-size: 9pt;
}

.message dt {
    background: no-repeat left center;
    padding-top: 1px;
    padding-left: 20px;
    margin-left: 3px;
}

.message dt.infomsg {
    background-image: url('../img/msginfo.png');
    background-position: top left;
}

.message dt.errormsg {
    background-image: url('../img/msgerror.png');
    background-position: top left;
}

.message dt.warnmsg {
    background-image: url('../img/msgwarn.png');
    background-position: top left;
}

.prop {
    text-align: right;
}

.name {
    vertical-align: top;
    font-weight: bold;
    width: 115px;
    padding: 5px;
    margin-top: 3px;
    clear: left;
    text-align: right;
}

.value {
    vertical-align: middle;
    float: left;
}

.error {
    vertical-align: middle;
    float: left;
    padding: 5px;
    margin-top: 3px;
}

.errors {
    color: #FF0000;
    vertical-align: middle;
}

img.errors {
    vertical-align: middle;
    padding-right: 5px;
}

.errors input,.errors textarea,.errors select {
    border: 1px solid red !important;
}

.required {
    color: #FF0000;
    padding-left: 2px;
}

.rich-stglpanel-body {
    overflow: auto;
    padding-top: 0px;
}

/* the specificity here is necessary to override the defaults */
/*
.rich-panel .rich-panel-header,
.rich-stglpanel .rich-stglpanel-header {
        padding: 2px 3px;
}*/
.rich-stglpanel {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.rich-tabpanel-content {
    border: none;
}

.rich-stglpanel-header {
    margin: 0px 0px 10px 0px;
}

.rich-panel {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    margin: 5px;
}

.tableControl input[type=submit],.tableControl input[type=button],.tableControl select
{
    margin: 5px 0 5px 5px;
}

/* I don't know why this is necessary, but the select is off by a pixel on the top and is padding too much on the left */
.tableControl select {
    margin-left: 2px;
    position: relative;
    top: 1px;
}

.actionButtons {
    padding-left: 1px;
    text-align: right;
}

.actionButtons select {
    margin: 5px 5px 5px 0;
    vertical-align: bottom;
}

.rich-toolbar-item a {
    text-decoration: none;
}

.rich-toolbar-item a:hover,.rich-ddmenu-label-select {
    text-decoration: underline;
}

.rich-ddmenu-label-select {
    background-color: transparent !important;
    border-color: transparent !important;
}

.rich-ddmenu-label {
    margin: 0px;
}

.rich-toolbar-item .rich-menu-item a:hover {
    text-decoration: none;
}

.rich-datalist {
    list-style: square;
    margin: 6px 0 1px 0;
    padding-left: 18px;
}

.rich-list-item {
    padding-bottom: 4px;
}

div.info {
    font-size: 1.2em;
}

ul.bullets {
    list-style: square;
}

ul.bullets li {
    padding-bottom: 2px;
}

td.action {
    text-align: center;
    width: 8em;
    white-space: nowrap;
}

td.action a {
    padding-left: 1px;
    padding-right: 1px;
}

table.radio {
    border: 0;
}

table.radio td {
    padding: 0 2px;
}

table.radio input[type=radio] {
    vertical-align: bottom;
}

/*
        Specific for details
*/
#wait-dialogContentDiv,.rich-mpnl-content {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.rich-mpnl-header {
    -webkit-border-top-left-radius: 6px;
    -webkit-border-top-right-radius: 6px;
    -moz-border-radius-topleft: 6px;
    -moz-border-radius-topright: 6px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.rich-mpnl-shadow {
    display: none;
}

.required-fields {
    border-top: thin solid lightgray;
    height: 0px;
}

.rich-table-subheadercell a:hover {
    text-decoration: none;
}

.rich-calendar-editor-btn {
    color: black;
    font-weight: normal;
}

.rich-calendar-time-btn {
    color: black;
    font-weight: normal;
}

form>.rich-toolbar {
    background: none;
    border: none;
}

table.registration-table th {
    text-align: left !important;
}

.extdt-cell-div select {
    min-width: 100%;
    width: 100%;
}

.rich-extdt-subfootercell select {
    min-width: 100%;
    width: 100%;
}

.rich-extdt-subfootercell input[type="text"] {
    min-width: 100%;
    width: 100%;
}

.extdt-footercell {
    border: none;
}

.rich-tabhdr-side-cell {
    border: none;
    margin-right: 50px;
}

.rich-tabhdr-side-border {
    border: none !important;
}

.rich-tab-active {
    background-image: none;
    background-color: #00796B;
    color: #FFFFFF;
    padding-bottom: 8px;
    padding-top: 8px;
    border: none;
}

.rich-tab-inactive {
    background: none;
    border: none;
    color: #00796B;
    padding-bottom: 8px;
    padding-top: 8px;
    cursor: pointer;
}

.rich-tab-inactive:hover {
    background-color: #00796B;
    color: white;
}

.rich-tabhdr-side-border {
    display: none;
}

tfoot tr td.rich-table-subfootercell {
    text-align: center;
}

.inlineTable tbody tr td {
    background: none !important;
}

.rich-mpnl-body {
    font-family: "DejaVu Sans", Helvetica, Sans-Serif;
}

.rich-menu-list-bg {
    background-image: none;
}

.rich-menu-item-hover {
    background-color: #00796B;
}

.rich-menu-item-hover .rich-menu-item-label {
    color: white;
}

.rich-menu-item-icon, .rich-menu-group-icon {
    margin: 0px;
}

.rich-ddmenu-label.rich-ddmenu-label-unselect {
    padding: 0px;
    border: none;
}

.rich-ddmenu-label.rich-ddmenu-label-select {
    padding: 0px;
    border: none;
}

.rich-toolbar-item {
    padding-top: 0px;
    padding-bottom: 0px;
}

/* application.css */

body, body #footer {
    background: #E9EBEE !important;
}
body #footer {
    border-top: 1px solid #ccc;
}
body #header, body .application-header {
    background: #333;
}

body #header {
    margin-bottom: 20px;
}

.navigation-options {
    background-color: #009688;
}

.linkare-linear-gradient {
    display: none !important;
}

body .table {
    border: 0;
}

table td, table th, table {
    border-left: 0 !important;
    border-right: 0 !important;
}

body .body .rich-calendar-button {
    background: #00897B;
}

body .body .rich-toolbar .rich-toolbar-item {
    color: #fff;
}

body .body .rich-toolbar {
    border: 0 !important;
    background: #009688;
}

body .rich-table-subheader {
    background-color: #fafafa;
}

body h2 {
    color: #414141;
}

.registration-table tfoot tr.rich-table-footer td {
    padding-left: 10px;
    border: 0 !important;
}

.registration-table tbody tr td.rich-table-cell.extdt-footer {
    text-align: right !important;
    padding-right: 10px;
}
.registration-table tfoot tr.rich-table-footer td:last-child {
    text-align: right !important;
    padding-right: 13px;
}

body .table-striped tbody>tr:nth-child(odd)>td, .table-striped tbody>tr:nth-child(odd)>th,
body .table-condensed td,
body .registration-table tbody tr td.rich-table-cell.extdt-footer {
    background-color: #fafafa;
    background: #fafafa;
}

body .registration-table tbody tr td.currentDay {
    background-color: #DDE5EB !important;
}

body .registration-table tbody tr td.nonWorkingDay {
    background-color: #FAEBD7 !important;
}

body .registration-table .icon-large, 
body .registration-table .icon-large.icon-comment-alt, 
.registration-table .icon-large.icon-comment {
    color: #00897B;
}

body .table tbody tr:hover td, body .table tbody tr:hover th {
    background-color: #fafafa;
}

body .application-header .nav.nav-pills>li>a {
    text-shadow: none;
    color: #fff;
}

body table td {
    border-color: #CCC !important;
    border-width: 1px !important;
}

body .nav-list>.active>a {
    background-color: #00796B;
}

body .application-header .nav.nav-pills>li>a:hover,
body .application-header .nav.nav-pills>li>a:focus {
    background-color: #333;
}

body .body input + .rich-calendar-button {
    background: none;
}

body .rich-mpnl-header, .body rich-panel-header, 
body .rich-stglpanel-header,
body .rich-panel-header {
    background-image: none !important;
    background: #00796B !important;
} 

body .nav-list>.active>a:focus, 
body .nav-list>.active>a:hover {
    background: #00796B;
}

body input[type=button] {
    background: #009688;
}

.rich-modalpanel .rich-mpnl-content {
    border: none;
    padding: 0;
}

.rich-modalpanel .rich-mp-container {
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.4);
    border-radius: 5px;
}

#consultantForm {
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.4);  
  background: #fff;
}

body .rich-modalpanel .rich-mpnl-header {
    padding-left: 11px;
}

body .rich-panel, body .rich-stglpanel {
    border-width: 1px;
    border-style: solid;
    border-color: #00796B;
    padding: 0;
}

body #container input[type=text], 
body #container input[type=password] {
    padding-left: 3px !important;
}

.rich-menu-item:hover,
body .rich-panel-header {
    border: 0 !important;
}

body .rich-calendar-tool, body .rich-calendar-month {
    background-color: #00796B;
}

body .rich-calendar-weekends {
    color: orange;
}