/**
 * Make datatables fill out the whole width of an area

.yui-dt table {
     width: 100%;
} 
 */

/**
 * Use className:'align-right' in your column defs to align data to the right.
 * Ditto for left and center. For column groups (ie use of children attribute),
 * these classes control the style of the header.
 */
.yui-skin-sam .yui-dt td.align-right {
	text-align:right;
} 
.yui-skin-sam .yui-dt td.align-left {
	text-align:left;
} 
.yui-skin-sam .yui-dt td.align-center {
	text-align:center;
} 


/**
 * Use className:'no-wrap' in your column defs to enforce no wrapping
 */
.yui-skin-sam .yui-dt td.no-wrap {
	white-space: nowrap;
} 
 
/**
 * Format data table headers
 */
 .datatable-header {
     margin: 15px 0px 7px 0px;
     font-weight: bolder;
     font-size: 14px;
 }
 
/**
 * Group up the datatables
 */
 .arterial-datatables table{
     width: 750px;
 }  
 
/**
 * Group up the datatables
 */
 .datatable-group {
     margin-left: 15px;
 } 

/**
 * Styles for the signal timing intersection diagrams
 */
 .stp_label {
     padding:4px 0px;
     float: left;
     border-left: 0px solid black;
     white-space:nowrap;
     background:none;
 }
 .stp_label_blank {
     padding:4px 0px;
     float: left;
     white-space:nowrap;
 } 
 .stp_green {
     padding:4px 0px;
     border-left:0px solid black;
     border-right:0px solid black;
     border-top: 0px solid black;
     background: lightgreen;
     float:left;
     white-space:nowrap;
 }
 .stp_yellow {
     padding:4px 0px;
     border-right:0px solid black;
     border-top: 0px solid black;
     background: yellow;
     float:left;
     white-space:nowrap;
 }
 .stp_red {
     padding:4px 0px;
     border-right:0px solid black;
     border-top: 0px solid black;
     background: red;
     float:left;
     white-space:nowrap;
 } 
 
/**
 * Styles for modal dialog boxes
 */
.yui-pe .yui-pe-content {
    display:none;
    background:blue;
} 

/**
 * Change data table decoration
 */

div.datatable-wrapper {
    margin: 5px 0 0 0;
    width: auto;
    border: 1px solid #7f7f7f;
    background-color: #e5e5e5;
}

div.datatable-wrapper-noborder {
    margin: 5px 0 0 0;
    width: auto;
    height: auto;
    border: 0px;
    background-color: #e5e5e5;
}

/*div.datatable-wrapper-noborder td.shade_column th.shade_column {
	background-color: #fffafa;
	border: 0px;
}

div.datatable-wrapper-noborder th.non_shade td.non_shade {
	background-color: #FFF;
	border: 0px;
}*/

div.datatable-title {
    margin: 0;
    padding: 0 0 0 10px;
    font-size: 14px;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: 800;
    line-height: 24px;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #cecece;
    background-image: url('/Shared/Images/header_gradient_bg.png');
    background-repeat:repeat-y;
    background-position:center center;
    border-bottom: 1px solid #7f7f7f;
    height:24px;
}
div.datatable-filters {
    background-color: #e5e5e5;
    padding: 5px;
}

div.datatable-filters .field {
    float: left;
    width: auto;
    margin-right: 5px;
}


div.datatable-wrapper .yui-dt table {
    margin: 0;
    border: none;
    padding: 5px;
}


/* Remove the gradient background and fix borders*/
.yui-skin-sam .yui-dt th {
    background-image: none;
    background-color: #ccd5dd;
    border-color: white;
    border-right: 1px solid white;
    border-left: none;
    vertical-align: bottom;
}

/* First TH needs a white border on the left */
.yui-skin-sam .yui-dt th.yui-dt-first {
    border-left: 1px solid white;
}

/* For nested headers, put separation line in */
.yui-skin-sam .yui-dt tr.yui-dt-last th {
    border-top: 1px solid white;
}

/* TH and A's inside are on the top, centered */
.yui-skin-sam .yui-dt th, .yui-skin-sam .yui-dt th a {
    color:#000000;
    font-size: 12px;
    font-weight:bold;
    text-decoration:none;
    text-align:center;
}

/* Allow labels to wrap */
.yui-skin-sam .yui-dt th .yui-dt-liner {
    white-space: normal;
}

/* Remove border between header labels and content */
.yui-skin-sam .yui-dt tr.yui-dt-first td {
    border-top: none;
}

/* Make the right border white on the last cell */
.yui-skin-sam .yui-dt td.yui-dt-last {
    border-color: white;
}


/* Make pagination look like it's part of the table */
.yui-skin-sam .yui-pg-container {
    color: black;
    background-color: #ccd5dd;
    margin: 0;
    padding: 6px;
    border: none;
    border-top: 1px solid #7f7f7f;
    border-bottom: 5px solid #7f7f7f;
}
.yui-skin-sam .yui-pg-container .yui-pg-first {
    color: black;
}
.yui-skin-sam .yui-pg-container .yui-pg-previous {
    color: black;
}
.yui-skin-sam .yui-pg-container .yui-pg-next {
    color: black;
}
.yui-skin-sam .yui-pg-container .yui-pg-last {
    color: black;
}

