/*** CORE HTML ***/

* {
    padding: 0;
    margin: 0;
}

* html body {
    height: 100%;
}

body {
    color: #555;
    font-family: Arial!important;
    font-size: 0.85em!important;
}

ul {
    margin-left: 20px;
}

li {
    padding: 5px 0px 5px 0px;
    color: #555;
}

p {
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 1.5em;
}

a, p, li, div, td, th {
}

.header_title {
    font-size: 1.3em;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #000000;
}

h1 {
    font-size: 20px;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #000000;
}

h2 {
    font-size: 17px;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #000000;
}

h3 {
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 5px;
}

h5 {
    font-size: 11px;
    margin-top: 5px;
    margin-bottom: 5px;
    color: #2a2a2a;
}

h6 {
    font-size: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    color: #2a2a2a;
}

/*** LINKS ***/

a {
    color: #2a7d9b;
    text-decoration: none;
    font-weight: bold;
}

.fake_link {
    cursor: pointer;
    color: #805000;
    text-decoration: none;
}

.fake_link:hover {
    color: #2a7d9b;
    text-decoration: underline;
}

a.blue {
    color: #2a7d9b !important;
}

a:link:hover, a:visited:hover {
    color: #2a7d9b;
    text-decoration: underline;
    font-weight: bold;
}

div.current a, a.selected {
    color: #2a7d9b;
    font-weight: 800;
}

/*** CORE FRAMEWORK ***/

#header {
    position: relative;
    margin-top: 5px;
    padding: 10px 0px 3px 10px;
}

#header h1 {
    font-size: 25px;
    color: #2a7d9b;
    margin-left: 10px;
}

#menu {
    padding-top: 0px;
    padding-bottom: 0px;
    height: 45px;
    font-size: 1.1em;
}

#menu ul {
    margin: 0;
    padding: 0px 0px 0 0px;
    list-style: none;
    font-size: 0.9em
}

#menu ul.list-left li {
    float: left;
    margin-top: 5px;
    border-right: #dcdcdc solid 1px;
}

#menu ul.list-left li.first {
    float: left;
    border-right: #dcdcdc solid 1px;
}

#menu ul.list-left li.last {
    float: left;
    border-right: none;
}

#menu ul.list-right li {
    float: right;
    margin-top: 5px;
    border-left: #dcdcdc solid 1px;
}

#menu ul.list-right li.first {
    float: right;
    border-left: none;
}

#menu ul.list-right li.last {
    float: right;
    border-left: #dcdcdc solid 1px;
}

#menu li {
    padding: 0px;
}

#menu a {
    text-decoration: none;
    color: #2a7d9b;
    padding: 10px;
    font-size: 1.1em;
    font-weight: bold;
}

#menu a:hover {
    text-decoration: underline;
}

#content {
    min-height: 500px;
    padding-left: 15px;
    padding-right: 15px;
}

#footer {
    text-align: center;
    position: relative;
    border-bottom: #dcdcdc 1px solid;
}

#footer ul {
    margin: 0px;
    display: block;
    list-style: none;
    margin-left: 0px;
    padding-left: 0px;
}

#footer ul li {
    display: inline;
    padding: 0 9px 0 9px;
    border-right: #dcdcdc solid 1px;
}

#footer ul li.first {
    float: none;
    border-right: #dcdcdc solid 1px;
}

#footer ul li.last {
    border-right: none;
}

#footer a {
    text-decoration: none;
}

#footer a:hover {
    color: #196a89;
    text-decoration: underline;
}

#footer .footer-links {
}

#footer .footer-logos {
    margin: 20px;
}

#footer .footer-logos a {
    margin-left: 20px;
    margin-right: 20px;
}

#footer .footer-logos img {
    vertical-align: middle;
    border: 0px;
}

/*** GENERIC CLASSES ***/

.left {
    float: left;
}

.right {
    float: right;
}

.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.clear {
    clear: both
}

.indent {
    margin-left: 10px;
}

.list {
    overflow: auto;
    height: 500px;
}

.small {
    font-size: 0.8em;
}

.white {
    background: #fff;
}

.flattop {
    margin-top: 0px;
    padding-top: 0px;
}

.container {
    background: #fff;
    margin: 0 auto;
    padding: 5px;
}

.framed {
    padding: 0 9px 9px 9px;
}

.max {
    width: 100%;
}

.error {
    color: #dc1616;
    padding: 5px;
}

.italic {
    font-style: italic
}

.hr {
    display: block;
    clear: both;
    border-bottom: 4px solid #dddddd;
    margin: 10px;
}

.blue {
    color: #2a7d9b;
    border-color: #2a7d9b
}

/*** STEPS ***/

#steps {
    border-bottom: 1px solid grey;
    margin: 0px;
    line-height: 1.2em;
    width: 95%;
    padding-left: 2px;
}

div.arrow {
    float: left;
    margin-left: 10px;
    padding: 5px;
    color: #2a7d9b;
    text-align: center;
}

.step_color {
    background-color: #dadada;
}

.step_color a {
    color: #c34412!important;
}

div.step {
    float: left;
    margin-left: 5px;
    padding: 7px 20px 7px 20px;
    background-color: #FFFFFF;
    border-radius: 5px 5px 0px 0px;
    text-align: center;
    border-top: 1px solid grey;
    border-left: 1px solid grey;
    border-right: 1px solid grey;
}

div.step a {
    font-weight: normal;
    color: #2a7d9b;
}

div.step a:hover {
    font-weight: normal;
    text-decoration: underline;
}

div.step_highlight {
    background-color: #2a7d9b;
}

div.step_highlight a {
    font-weight: normal;
    color: #FFFFFF;
}

div.step_highlight a:hover {
    color: #FFFFFF;
    font-weight: normal;
    text-decoration: underline;
}

.steparrow {
    float: left;
}

div.step .steptitle, div.step .steptext {
    display: block;
    margin: 0px;
    padding: 0px;
}

div.step .steptitle {
    font-weight: 800;
    margin: 5px;
    font-size: 1.3em;
}

/*** PANELS AND BOXES ***/

#leftpanel {
    width: 140px;
    float: left;
    height: 100%;
    margin-right: 10px;
}

#leftpanel h4 {
    color: #2a7d9b;
}

#leftpanel .panel {
    margin-bottom: 10px;
}

#rightpanel {
    width: 780px;
    float: left;
    height: 100%;
}

.smallbox {
    border: 1px solid #cccccc;
    padding: 10px;
    margin-top: 10px;
    margin-right: 20px;

    float: left;
}

.smallbox h4 {
    margin-top: 0px;
    margin-bottom: 10px;
}

.optionbox h3, .smallbox h3 {
    font-size: 14px;
    margin-top: 0px;
    border-bottom: 2px solid #2a7d9b;
    background: #fff;
    color: #2a7d9b;
    padding: 5px;
}

.optionbox .content {
    padding-left: 5px;
    padding-right: 5px;
}

/*** TABLES ***/

table.c14table {
    border: 0px solid #666;
}

table.c14table th {
    margin: 2px;
    padding: 4px;
    background: #2a7d9b;
    color: #fff;
    font-weight: 800;
    text-align: right;
    vertical-align: top;
}

table.c14SamplesTable {
    border: 0px solid #cccccc;
}

table.c14SamplesTable th {
    margin: 5px;
    margin-left: 0px;
    padding: 4px;
    background: #2a7d9b;
    color: #fff;
    font-weight: 800;
    text-align: left;
    vertical-align: top;
}

/*** LABELS ***/

.label {
    margin: 2px;
    padding: 4px;
    background: #2a7d9b;
    color: #fff;
    font-weight: 800;
    text-align: right;
    vertical-align: top;
    width: 150px;
    margin-right: 20px;
}

.labelleft {
    margin: 2px;
    padding: 4px;
    background: #2a7d9b;
    color: #fff;
    font-weight: 800;
    text-align: left;
    vertical-align: top;
}

.label2 {
    font-weight: 800;
    width: 120px;
    vertical-align: top;
}

.label3 {
    width: 185px;
    vertical-align: top;
    color: #565656;
    font-weight: bold;
    vertical-align: middle;
}

.label4 {
    white-space: nowrap;
    font-weight: 800;
    padding-right: 0px;
    vertical-align: middle;
    color: #2a7d9b;
}

.label5 {
    font-weight: 300;
    padding-right: 0px;
    vertical-align: middle;
    color: #2a7d9b;
}

.data {
    padding: 2px 0px;
}

.optionbox .labelleft {
    margin: 2px;
    padding: 4px;
    background: #eeeeee;
    color: #666;
    font-weight: 800;
    text-align: left;
    vertical-align: top;
}

.label-200 {
    width: 200px;
    margin: 2px;
    padding: 4px;
    background: #2a7d9b;
    color: #fff;
    font-weight: 800;
    text-align: right;
    vertical-align: top;
}

.label-150 {
    width: 150px;
    margin: 2px;
    padding: 4px;
    background: #2a7d9b;
    color: #fff;
    font-weight: 800;
    text-align: right;
    vertical-align: top;
}

.input {
    background: #fff;
    color: #666;
}

.output {
    padding-left: 10px;
}

.jscalendar-WH-title-background-style {
    background-color: #2a7d9b;
}

.jscalendar-WH-title-style {
    padding: 2px;
    font-family: arial;
    font-size: 11px;
    font-weight: bold;
    color: #FFFFFF;
}

.record h3 {
    font-size: 14px;
    margin-top: 0px;
    border-bottom: 1px solid #2a7d9b;
    background: #fff;
    color: #000000;
    width: 98%;
    padding: 5px 0px 5px 0px;
}

.record h4 {
    font-size: 14px;
    margin-top: 20px;
    border-bottom: 1px solid #2a7d9b;
    background: #fff;
    color: #2a7d9b;
    padding: 5px;
    padding-left: 0px;
}

.record input {
    height: 1.5em;
    margin: 2px;
    margin-left: 0px;
}

#dialogue {
    border: 1px solid #999;
    padding: 5px;
}

.dialogueevent {
    border-bottom: 1px dashed #999999;
}

.dialogueevent p {
    margin: 5px;
}

#application {
    padding: 5px;
    margin-right: 20px;
}

/*
------------------------------------------------------------
Popup component
------------------------------------------------------------
*/

.popup {
    background-color: rgb(255, 255, 255);
    color: #000000;
    border: 1px solid #CCCCCC;
    font-size: smaller;
    padding: 5px;
    width: 300px;
}

.popup table {
    font-size: smaller;
}

.funded {
    display: block;
    text-align: center;
    padding: 3px;
    background: #339933;
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
}

.notfunded {
    display: block;
    text-align: center;
    padding: 3px;
    background: #993333;
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
}

#ew {
    overflow: scroll
}

img.help {
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
    border: 0px;
}

img.plus, img.minus {
    border: 0px;
    margin-top: 5px;
}

.ui-datepicker-trigger {
    border: 0px;
    padding: 0px;
    margin: 0px;
    padding-top: 4px;
    padding-left: 5px;
    cursor: pointer
}

.entry {
    background: #eeeeee;
    margin: 10px;
    border: 1px solid #cccccc;
    border-left: 4px solid #cccccc;
    padding: 10px;
    color: #000000;
}

.entry.child {
    background: #ffffff;
}

.entry h4 {
    margin: 0px;
    padding: 0px;
}

.entry_footer {
    color: #999999;
}

.entry_reply {
    display: none;
    padding-left: 10px;
    padding-right: 15px;
    padding-bottom: 10px;
}

.dialogue_entry.active .entry_reply {
    display: block;
}

.event {
    background: #eeeeee;
    margin: 10px;
    border: 1px solid #cccccc;
    border-left: 4px solid #cccccc;
    padding: 10px;
    color: #000000;
}

.event h4 {
    margin: 0px;
    padding: 0px;
}

.event_footer {
    color: #999999;
}

ul.samples {
    margin-top: 5px;
}

ul.samples li {
    vertical-align: middle;
    margin: 0px;
    padding: 0px;
}

ul.samples img {
    margin-top: 2px;
}

.helpBox {
    position: relative;
}

.helpText {
    white-space: normal;
    z-index: 500;
    position: absolute;
    text-align: justify;
    border: thin solid #999999;
    background: #ffffff;
    width: 400px;
    left: 20px;
    top: -20px;
    color: #000;
    font-weight: 400;
    padding: 10px 14px 15px 14px;
    display: none;
}

.helpText h4 {
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 10px;
    border-bottom: 1px solid #2a7d9b;
    width: 98%;
    background: #fff;
    color: #2a7d9b;
    padding: 5px;
    padding-left: 0px;
}

.hover {
    display: block;
}

.info {
    background: #F4FA58;
    padding: 5px;
}

.warning {
    background: #eedddd;
    padding: 5px;
}

.green {
    background: #ddeedd;
    padding: 5px;
}

li.warning {
    background: #fff;
    color: #ff0000;
    font-weight: 800
}

.ui-input-invalid {
    background-color:red
}

.ui-widget {
    font-size: 1em!important;
}

#login_panel td {
    padding: 5px 0px;
}

#top-content {
    width: 1010px;
    margin: 10px auto;
    padding-top: 0px;
    border: 1px solid #8e8989;
}

hr {
    border-color: #eaeaea;
}

li {
    line-height: 18px;
}

.css_button {
    width: 450px;
    border: none;
    color: white;
    background-color: #008DB1;
    padding: 30px 26px;
    text-align: center;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
}
.css_button:hover {
    text-decoration: underline;
    color: white!important;
}

.css_button_small {
    margin-left: 7px;
    margin-bottom: 1px;
    border: none;
    color: white;
    padding: 4px 8px;
    text-align: center;
    display: inline-block;
    font-size: 0.95em;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none!important;
}
.css_button_small:hover {
    background-color: #10beea;
    color: white!important;
    text-decoration: underline!important;
}

.css_button_red {
    background-color: #c34412!important;
}

.css_button_blue {
    background-color: #008DB1!important;
}

.table_list table {
    border: 1px solid #a0a0a0;
    font-size: 0.95em;
    margin-bottom: 25px;
}

tr.jsfcrud_odd_row {
    background-color: #FFFFFF;
    color: #000000;
}

tr.jsfcrud_even_row {
    background-color: #F3F3F3;
    color: #000000;
}

.form_header {
    font-size: 14px;
    margin-top: 25px;
    margin-bottom: 0px;
    color: #565656;
    font-weight: bold;
}

.form_header_underline {
    border-top: 1px solid #2a7d9b;
    width: 95%;
    margin-top: 5px;
}

.form_text {
    margin: 3px 0px;
}

.form_table2 td {
    padding: 3px 12px 3px 0px;
}

.step_style {
    float: left;
    padding-left: 5px;
    border-left: 1px solid #D6D6D6;
    border-top: 1px solid #D6D6D6;
    border-bottom: 1px solid #D6D6D6;
    line-height: 22px;
    background-color: #F8F8F8;
}

.profile_table td {
    padding: 3px 0px;
}

.table_width_small table {
    width: 30%;
}

.table_width_small table td {
    text-align: center;
}

.align_center table td {
    text-align: center;
}

#sampleDetails textarea {
    width: 280px;
}

#sampleDetails input[type='text'] {
    width: 280px;
}

.asterisk {
    color: red;
    font-size: 16px;
}

.footer_bottom a {
    color: grey;
    font-weight: normal;
}

.footer_bottom a:hover {
    font-weight: normal;
}

.width_small {
    width: 100px;
}

.width_medium {
    width: 200px;
}

#dbAdminDiv input[type='text'] {
    width: 90px;
}

table .noTable {
    margin: 0px auto;
    border: 0px;
    margin-bottom: 0px;
}

div .groupAndLinkProjectsSelect {
    width: 350px!important;
    min-width: 350px!important;
}

div .groupAndLinkProjectsSelect2 {
    width: 250px!important;
    min-width: 250px!important;
}

.ui-button, .ui-button-text {
    padding: 0px 5px!important;
}

.info_message {
    background-color: yellow;
}

/*.ui-fileupload-content {
    height: 80px!important;
}

.ui-fileupload {
    width: 500px!important;
}*/

.ui-button.ui-state-default {
    padding: 5px!important;
}

#uploadCertificates .ui-button {
    width: 100px!important;
}

#uploadCertificates .ui-button.ui-state-default {
    margin-right: 7px!important;
}

/*.ui-fileupload-content {
    height: 100px!important;
}*/

#uploadExcel .ui-button {
    width: 100px!important;
}

#uploadExcel .ui-button.ui-state-default {
    margin-right: 7px!important;
}

.vtable table {
    border-top: 1px solid #C0C0C0;
    border-left: 1px solid #C0C0C0;
}

.vtable th {
    text-align: left;
    background-color: #e4e4e4;
    border-bottom: 1px solid #C0C0C0;
    border-right: 1px solid #C0C0C0;
    padding: 4px;
}

.vtable td {
    text-align: left;
    background-color: #FFFFFF;
    border-bottom: 1px solid #C0C0C0;
    border-right: 1px solid #C0C0C0;
    padding: 4px;
}

th.table_header {
    background-color: #e4e4e4;
    padding: 7px 0px!important;
    text-align: center!important;
}

.table_list td {
    padding: 7px 5px!important;
}

.sampleList {
    float: left;
    width: 500px;
}

.sampleList ul {
    margin-left: 15px;
    padding-left: 0px;
}

.sampleDetailsView {
    width: 475px;
    margin-top: 0px;
    float: right;
}

.sampleDetailsView table td {
    padding: 3px 0px;
}

.sampleList {
    float: left;
    width: 450px;
}

.sampleList ul {
    margin-left: 15px;
    padding-left: 0px;
}

.sampleDetails {
    width: 525px;
    margin-top: 0px;
    float: right;
}

.sampleListLab {
    float: left;
    width: 525px;
}

.sampleListLab ul {
    margin-left: 15px;
    padding-left: 0px;
}

.sampleDetailsViewLab {
    width: 450px;
    margin-top: 0px;
    float: right;
}

.sampleDetailsViewLab table td {
    padding: 3px 0px;
}

.tooltip_header {
    font-weight: bold;
    font-size: 1.1em;
    padding-bottom: 3px;
}

.message_general {
    margin: 10px 0px;
    padding: 7px 6px;
    display: block;
    width: 99%;
}

.message_error {
    background-color: #d22b2b;
    color: white; 
}

.message_warning {
    background-color: orange;
    color: white; 
}

.message_success {
    background-color: green;
    color: white;
}

/*.ui-inputfield {
    padding: 6px!important;
}*/

/*.appDetailsTable td {
    padding-top: 3px;
    padding-bottom: 3px;
}*/

.tooltip {
    position: relative;
    display: inline-block;
    /*border-bottom: 1px dotted black;*/
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 300px;
    min-width: 120px;
    max-width: 700px;
    background-color: #FFFFFF;
    color: #000000;
    font-weight: normal;
    text-align: justify;
    /*border-radius: 6px;*/
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    border: 1px solid #000000;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.ui-state-default {
    /*border: 1px solid #a9a9a9!important*/;
}

input[type="text"], input[type="password"]{
    border: 1px solid #85b1de!important;
    /*background-color: #f9f9f9!important;*/
    background-color: #FFFFFF;
    box-shadow: none!important;
    border-radius: 0px!important;
    /*height: 21px;*/
    padding: 3px 3px;
}

input[type="text"][disabled] {
   color: #b1afaf;
}

input[type="text"]:focus {
    outline: none;
}

select {
    border: 1px solid #85b1de!important;
    background-color: #FFFFFF;
    box-shadow: none!important;
    border-radius: 0px!important;
    padding: 5px 3px;
    outline-color: transparent;
}

select[disabled] {
    color: #b1afaf;
}

select:focus {
    outline: none;
}

textarea {
    border: 1px solid #85b1de!important;
    background-color: #FFFFFF;
    box-shadow: none!important;
    border-radius: 0px!important;
    padding: 3px 5px!important;
    font-family: Arial!important;
    font-size: 0.9em!important;
}

textarea[disabled] {
    color: #b1afaf;
}

textarea:focus {
    outline: none;
}

/*.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    color: #000000;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    background-image: none;
}*/

#applicantDetailsId th {
    text-align: left;
    padding: 7px 5px;
}

#applicantDetailsId td {
    padding: 7px 5px;
}

.generalTable {
    border-right: 1px solid #cacaca;
    border-bottom: 1px solid #cacaca;
    width: 100%;
}

.generalTable th {
    width: 200px;
    /*background-color: #e2e2e2;*/
    vertical-align: top;
    padding: 9px 5px;
    font-weight: normal;
    font-weight: bold;
}

.generalTable td {
    padding: 7px 7px 7px 15px;
    /*background-color: #f9f9f9;*/
}

.generalTable th, .generalTable td {
    text-align: left;
    border-top: 1px solid #cacaca;
    border-left: 1px solid #cacaca;
}

table.noTable2 td {
    border: none;
}

.ui-state-disabled {
    opacity: 1!important;
}

#adminSampleList th {
    padding: 7px 0px!important;
}

#adminSampleList td {
    padding: 1px!important;
}

#adminSampleId td {
    padding: 3px 0px;
}

.width_80 {
    width: 80px;
}

.width_120 {
    width: 120px;
}

.width_200 {
    width: 200px;
}

#sampleListId td {
    padding: 3px!important;
}

.underline {
    border-bottom: 1px solid #2a7d9b;
    color: #000000;
    padding: 5px 0px;
    font-size: 14px;
}

.buttonDisabled.ui-state-disabled {
    opacity: 0.35!important;
}

.ui-radiobutton .ui-state-disabled {
    opacity: 0.35!important;
}

#uploadCertificates .ui-state-disabled {
    opacity: 0.35!important;
}

#uploadExcel .ui-state-disabled {
    opacity: 0.35!important;
}

.ui-button {
    background-color: #008DB1!important;
    border-color: #008DB1!important;
}

.ui-button:hover {
    background-color: #64A8B9!important;
    border-color: #64A8B9!important;
}

.ui-icon-bullet {
    background-color: #b7d7ea!important;
}
