/* 
    Document   : ontrl
    Created on : May 2, 2014, 12:03:04 PM
    Author     : jrojas
    Description:
        Contains styling rules for the OpenNTRL application.
*/

root { 
    display: block;    
}

body {
    font-size: .7em;
    font-family: Arial, sans-serif;
}

.ui-widget {
    font-family: Arial, sans-serif;
}

.ui-widget-header {
    background-image: none;
}
.ui-datalist-content {
    border: none;
}

.welcomeMsg {
    font-size: 0.9em;
}

.welcomeUser {
    position: relative;
    right: 0px;
    font-size: 0.6em;
    font-family: Arial;
    color: #007fc6;
}
.ui-layout-unit-expand-icon{display:block;width:16px;position:relative;left:4px;top:2px}
.mustSignInHeader {    
    position: relative;
    left: 35em;
    font-size: 0.6em;
    font-family: Arial;
    color: #7b0f2d;
    font-weight: bold;
}

#navigation ul {
    list-style: none;
    margin: 0;
    padding: 0; 
}
#navigation li {     
    background-color: slategrey;
    padding: 0.8em 0 0.8em 0.5em;
    border-bottom: 1px solid darkslategray;    
    border-left: 5px solid darkslategray;    
    text-decoration: none;
    font-weight: bold;
    color: #ffffff;
}

#detailsForm\:itemTitle {    
    font-weight: bold;
}

#detailsForm\:itemId {    
    font-size: 0.7em;  
}

.itemFieldName {
    font-weight: bold;
}

.ui-paginator {
    font-size: 0.8em;
}

.searchResultsAbbr {
    font-size: 0.8em;
    color: tomato
}

.searchResultsSummaryDetails {
    font-size: 0.8em;
    color: #676767;
}

.userPanel  * {
    border: none !important;
    margin-bottom: 5px !important;
}

.userPanel > table {
    padding-left: 1.5em;
}

.userCreateSectionHeader {    
    font-weight: bold;
    color: #4297D7;
}

hr {
    border:none;
    background-color: #4297D7;
    color: #4297D7;
    height: 1px;
}

.userCreatePanelField {
    font-size: 0.9em;
}

.advSrchFieldsTbl td{
    border: none !important;
    border-style: hidden !important;
    font-size: 0.9em !important;     
    padding-bottom: 5px;
}

.refineListLink{
    color: #0489B1 !important;
}

.formLabel {
    text-align: right;
}

/* CSS for the About US and Help page begins here*/

#content {
    margin: 0px auto;
    padding-left:20px;
    padding-right:20px;
    background:#fff;
    min-height: 500px;
    width: 760px;
    font-size: .7em;
}

#content p {
    color: #333;
}

#content h3 {
    padding: 0px 0px 0px 0px;
    font-size: 1em;
    font-weight: bold;
}

#content h4 {
    margin: 0px 10px 0px 0px;
    padding: 0px 0px 4px 0px;
    color: #376580;
    font-size: 1em;
    font-weight: bold;
}

h6 {
    font-size: .7em;
    color: white;
    background: #376580;
    padding: 10px;
    margin: 0px;
}

ul.check {
    font-size: .7em;
    font-weight: lighter;
    color: #676767;
    list-style: disc;
}

.grnhdr {
    color: #069;
    font-size: .7em;
    font-weight: bold;
}

#content a {
    text-decoration: none;
    color: #3179C6;
    font-weight: bold;
}

/* End of CSS for the About US and Help page*/

.ontrlDialog .ui-dialog-content {
    overflow: auto !important;
    height: 95% !important;
    width: 97% !important;
}

.ontrlDashPanel .ui-widget-content {
    overflow: auto !important;
    height: 95% !important;
    width: 95% !important;
    border : none;
}
/* CSS for Home Page */
.fuschia {
    font-weight:bold;
    color:#7b0f2d;
}
.attention {
    width:500px;
    margin-top:18px;
    float:right;
    background:#fff;
    border:solid 2px #990000;
    text-align:left;
    margin-left:8px;
    margin-right:0px;
    padding-right:8px;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    -khtml-border-radius:8px;
    border-radius:8px;
}

#footer {
    font-size: 0.7em;
    clear: both;
    color: #fff;
    text-align: center; 
    padding: 0; 
    background: none; 
    background-color: #676767
}


.functionalitySection {
    background-color: #4297D7;
    color: white;
}

.functionalityContent {
    text-align: center
}

.functionalityHeader {
    font-weight: bold;
}

/* Add border to text fields */
.ui-widget-content .ui-inputfield {
    box-shadow: none;
    border: solid 1px #0489B1 !important;
}
.ui-inputfield ui-inputtextarea {
    box-shadow: none;
    border: solid 1px #0489B1 !important;
}

/* Add border to checkboxes*/
.ui-chkbox .ui-chkbox-box {
    border: solid 1px #0489B1 !important;
}

/* Remove blue background from checkboxes */
.ui-selectlistbox-item > .ui-state-default {
    background: none;
}

/* To align text to the checkboxes */
.ui-chkbox,
.ui-chkbox div,
.ui-radiobutton,
.ui-radiobutton div {
    vertical-align: middle;
    margin-top: 0;
    margin-bottom: 0;    
}

/* To align text to the checkboxes */
.ui-selectmanycheckbox label,
.ui-selectoneradio label {
    margin-top: auto;
}

.actionsLabel {
    font-weight: bold;
    font-size: 2.0em;
    color: #3179C6;
}

.dodTable {
    font-size: 0.95em;
}

.searchResultsDataTable{
    height: 50%;
}

.dodDataTable .ui-datatable-tablewrapper,.scrolling-div .ui-datatable-tablewrapper{
    overflow: auto;
    width: 100%;
    padding-bottom: 5px;
}

.statsPanel  * {
    border: none !important;
    margin-bottom: 5px !important;
}

.statsPanel > table {
    padding-left: 1.5em;
}

.listTableActions .ui-widget-content {
    border: none;
    border-style: hidden;
}

.exportIcon {
    border: none;
    padding-right: 0px;
    padding-left: 1px; 
}

/* Custom CSS for File Upload Component*/

.ntrlFileUpload .ui-fileupload-buttonbar {
    margin: 0px 0px 0px 0px !important;
    padding: 0px 0px 0px 0px !important;
    border: none;
    background: none;
}
.ntrlFileUpload .ui-fileupload {
    margin: 0px 0px 0px 0px !important;
    padding: 0px 0px 0px 0px !important;
    display: inline-block;
    border: none;
    background: none;
}

.ntrlFileUpload .ui-fileupload-content {
    display: none;
    background: none;
}

label.visuallyHidden {
     display: none;
}
