﻿/* -----------------------------------------------------------
													   General
----------------------------------------------------------- */
html, body {
    margin: 0;
    padding: 0;
    text-align: center;
}

body {
    color: #000;
    font-size: 8pt;
    font-family: Helvetica,Arial,sans-serif;
}

a:Link, a:Visited, a:Hover {
    text-decoration: underline;
    color: #333366;
    font-size: 8pt;
}

a:Hover {
    color: #F7BB1C;
}

#header ul {
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    list-style: none;
}

#header ul li {
    margin: 0px;
    padding: 0px;
    float: right;
    height: 30px;
    display: block;
}

#header a:Link, #header a:Visited, #header a:Hover {
    display: block;
    padding: 8px;
    font-size: 9pt;
    text-decoration: none;
    color: #FFF;
}

#header a:Hover {
    color: #FCB813;
}

#sub ul {
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    list-style: none;
}

#sub ul li {
    margin: 0px;
    padding: 0px;
    float: right;
    height: 49px;
    display: block;
}

#sub a:Link, #sub a:Visited, #sub a:Hover {
    display: block;
    padding: 16px 8px;
    font-weight: bold;
    font-size: 9pt;
    text-decoration: none;
    color: #000;
}

#sub a:Hover {
    background: transparent url(../images/sub_hover_bg.gif) repeat-x scroll left center;
}

/* -----------------------------------------------------------
                                                Layout Control
----------------------------------------------------------- */

#bodywrap {
    width: auto;
}

#header, #sub, #content, #footer {
    width: 760px;
    text-align: left;
    margin: 0px auto;
}

#headerwrap {
    position: relative;
    width: auto;
    background: #FFF url(  '../images/cpc_headerwrap_bg.jpg' ) repeat-x scroll center top;
    height: 166px;
}

#header {
    position: relative;
    height: 117px;
}

#header #logo {
    background-image: url('../images/new_logo.jpg');
    position: absolute;
    top: 0px;
    left: 0px;
    width: 183px;
    height: 166px;
}

#header_print {
    display: none;
}

#sub {
    position: relative;
    height: 49px;
    text-align: right;
}

#content {
    /*background: #F4F3EB url('../images/cpc_content_bg.jpg') repeat-x scroll center top;*/
    position: relative;
    min-height: 400px;
    height: expression(this.clientHeight < 300 ? 300: true);
    border-top: solid 1px #FFF;
    border-right: solid 1px #C4C5C7;
    border-bottom: solid 1px #FFF;
    border-left: solid 1px #C4C5C7; /*background-color: #F4F3EB;*/
}

.padding {
    margin: 10px;
    padding: 0px;
    _height: 1%;	/* IE floating bug */
}

#footerwrap {
    position: relative;
    width: auto;
    background: #FFF url(  '../images/cpc_footerwrap_bg.jpg' ) repeat-x scroll center top;
    height: 44px;
    z-index: -1;
}

#footer {
    position: relative;
    text-align: center;
    color: #FFF;
    padding-top: 15px;
    z-index: -1;
}

#footer_print {
    display: none;
}

div.clearing {
    clear: both;
}

div.lal {
    text-align: left;
}

div.cal {
    text-align: center;
}

div.ral {
    text-align: right;
}

div.buttons_lal, div.buttons_ral {
    margin: 5px 0px;
}

div.buttons_lal {
    text-align: left;
}

div.buttons_cal {
    text-align: center;
}

div.buttons_ral {
    text-align: right;
}

div.buttons_print {
    background-color: #44419F;
    text-align: center;
    padding: 10px;
}

div.input_block {
    overflow: hidden;
    margin: 2px 0px;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

/* -----------------------------------------------------------
										  Headers ( h* style )
----------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-size: 8pt;
    font-weight: normal;
    margin: 0px;
    padding: 0px;
    text-align: left;
    color: #44419F;
}

h1 {
    font-size: 13pt;
    font-weight: bold;
    border-bottom: solid 2px #DCDCDC;
    margin: 5px 0px 10px 0px;
    color: #44419F;
}

h2 {
    font-size: 10pt;
    border: solid 1px #E1E1E1;
    padding: 2px;
    background-color: #44419F;
    text-align: left;
    color: #FFF;
    font-weight: bold;
    margin-bottom: 5px;
}

h3 {
    font-size: 9pt;
    font-weight: bold;
}

h4 {
    font-size: 9pt;
    font-weight: bold;
    border-bottom: solid 1px #DCDCDC;
    margin: 5px 0px;
}

/* -----------------------------------------------------------
														 Lists
----------------------------------------------------------- */
ul, ol {
    margin: 10px 0px;
    padding: 0px;
    list-style-type: square;
}

ul li, ol li {
    margin: 3px 0px 3px 20px;
    padding: 0px;
}

/* -----------------------------------------------------------
                                                 ASPX Controls
----------------------------------------------------------- */

.Label {
    font-size: 8pt;
}

.Label10 {
    font-size: 10pt;
}

.Label12 {
    font-size: 12pt;
}

.LabelError {
    color: #FF0000;
    font-size: 10pt;
}

.LabelSuccess {
    color: #2121FF;
    font-size: 10pt;
}

.LabelHighlight {
    color: #0000FF;
}

.LabelBold {
    font-weight: bold;
}

.LabelMenu {
    color: #000;
    font-weight: bold;
    margin: 5px 0px;
    display: block;
}

.LabelTitle {
    font-size: 8pt;
    font-weight: bold;
}

.LabelMainTitle {
    font-size: 12pt;
    font-weight: bold;
}

.LabelSubTitle {
    font-size: 10pt;
    font-weight: bold;
}

/*
div.input_block span {
    display: block;
    overflow: hidden;
    _height: 1%;
}
*/

/*
div.input_block input select span {
    float: left;
}
*/

div.input_block .nowrap {
    display: block;
    overflow: hidden;
    _height: 1%;
}

.Literal70, .Literal100, .Literal125, .Literal150, .Literal200 {
    float: left;
    text-align: right;
    margin-right: 5px;
    padding: 1px;
    border: solid 1px #DCDCDC;
}

.Literal70 {
    width: 70px;
}

.Literal100 {
    width: 100px;
}

.Literal125 {
    width: 125px;
}

.Literal150 {
    width: 150px;
}

.Literal200 {
    width: 200px;
}

.Textbox, .TextBox {
    background-color: #FFF;
    color: #000;
    text-align: left;
    font-size: 8pt;
    font-family: Helvetica,Arial,sans-serif;
    border: solid 1px #44419F; /*height: 19px;*/
}

.DropDownList {
    background-color: #FFF;
    color: #000;
    text-align: left;
    font-size: 8pt;
    font-family: Helvetica,Arial,sans-serif;
    border: solid 1px #000080; /*height: 19px;*/
}

.CheckBox, .RadioButton {
    background-color: Transparent;
    color: #000;
    text-align: left;
    font-family: Helvetica,Arial,sans-serif;
    font-size: 8pt;
    font-weight: normal;
    text-decoration: none;
}

.Button {
    color: #333;
    text-align: center;
    font-size: 8pt;
    font-family: Helvetica,Arial,sans-serif;
    width: 150px;
    height: 21px;
    border: solid 1px #666;
    margin: 0px 0px 1px 1px;
}

/*
IMPORTANT : The Microsoft calendar control is buggy. It isn't 100% CSS styled.
If the styles need changing you also need to refer to ucMenu.ascx and change the inline styles.
*/
.cal_theme1 {}
.cal_theme1 td {}
.cal_theme1_header, .cal_theme1_day, .cal_theme1_selectedday, .cal_theme1_title, .cal_theme1_nextprev, .cal_theme1_othermonthday {
    font-family: Arial, Sans-Serif !important;
    font-size: 9pt !important;
}
.cal_theme1_dayheader {
    background-color: #44419F !important;
    color: #FFFFFF !important;
}
.cal_theme1_day {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    font-weight: bold !important;
}
.cal_theme1_selectedday {
    background-color: #D4D0C8 !important;
    color: #FFFFFF !important;
    /*font-weight: bold !important;*/
}
.cal_theme1_title {
    background-color: #FFFFFF !important;
    font-size: 10pt !important;
    color: #000000 !important;
    font-weight: bold !important;
}
.cal_theme1_nextprev {
    background-color: #FFFFFF !important;
    font-size: 10pt !important;
    color: #000000 !important;
    font-weight: bold !important;
}
.cal_theme1_othermonthday {
    background-color: #FFFFFF !important;
    color: #FFFFFF !important;
}
.cal_theme1_todayday {
    background-color: #EAEAEA !important;
    color: #000000 !important;  
    border: solid 1px #D4D0C8;
}

.cal_theme2 .ajax__calendar_container {padding:4px;position:absolute;cursor:default;width:200px;font-size:8pt;text-align:center;font-family:Arial;z-index:1}
.cal_theme2 .ajax__calendar_body {height:155px;width:200px;position:relative;overflow:hidden;margin:auto;}
.cal_theme2 .ajax__calendar_days, .cal_theme2 .ajax__calendar_months, .cal_theme2 .ajax__calendar_years {top:0px;left:0px;height:139px;width:200px;position:absolute;text-align:center;margin:auto;}
.cal_theme2 .ajax__calendar_container TABLE {font-size:8pt;}
.cal_theme2 .ajax__calendar_header {height:20px;width:100%;font-size:10pt;}
.cal_theme2 .ajax__calendar_prev {cursor:pointer;width:15px;height:15px;float:left;background-repeat:no-repeat;background-position:50% 50%;background-image:url(<%=WebResource("AjaxControlToolkit.Calendar.arrow-left.gif")%>);}
.cal_theme2 .ajax__calendar_next {cursor:pointer;width:15px;height:15px;float:right;background-repeat:no-repeat;background-position:50% 50%;background-image:url(<%=WebResource("AjaxControlToolkit.Calendar.arrow-right.gif")%>);}
.cal_theme2 .ajax__calendar_title {cursor:pointer;font-weight:bold;width:85%;margin:0 auto;}
.cal_theme2 .ajax__calendar_footer {display: none;}
.cal_theme2 .ajax__calendar_today {cursor:pointer;margin-top:3px;}
.cal_theme2 .ajax__calendar_dayname {height:17px;width:17px;text-align:right;margin:0 2px;}
.cal_theme2 .ajax__calendar_day {height:17px;width:18px;text-align:right;margin:0 2px;cursor:pointer;}
.cal_theme2 .ajax__calendar_month {height:44px;width:40px;text-align:center;cursor:pointer;overflow:hidden;}
.cal_theme2 .ajax__calendar_year {height:44px;width:40px;text-align:center;cursor:pointer;overflow:hidden;}

.cal_theme2 .ajax__calendar_container {border:1px solid #646464;background-color:#ffffff;color:#000000;}
.cal_theme2 .ajax__calendar_footer {border-top:1px solid #f5f5f5;}
.cal_theme2 .ajax__calendar_dayname {border-bottom:1px solid #f5f5f5;}
.cal_theme2 .ajax__calendar_day {border:1px solid #ffffff;}
.cal_theme2 .ajax__calendar_month {border:1px solid #ffffff;}
.cal_theme2 .ajax__calendar_year {border:1px solid #ffffff;}

.cal_theme2 .ajax__calendar_active .ajax__calendar_day {background-color:#edf9ff;border-color:#0066cc;color:#0066cc;}
.cal_theme2 .ajax__calendar_active .ajax__calendar_month {background-color:#edf9ff;border-color:#0066cc;color:#0066cc;}
.cal_theme2 .ajax__calendar_active .ajax__calendar_year {background-color:#edf9ff;border-color:#0066cc;color:#0066cc;}

.cal_theme2 .ajax__calendar_other .ajax__calendar_day {background-color:#ffffff;border-color:#ffffff;color:#646464;}
.cal_theme2 .ajax__calendar_other .ajax__calendar_year {background-color:#ffffff;border-color:#ffffff;color:#646464;}

.cal_theme2 .ajax__calendar_hover .ajax__calendar_day {background-color:#edf9ff;border-color:#daf2fc;color:#0066cc;}
.cal_theme2 .ajax__calendar_hover .ajax__calendar_month {background-color:#edf9ff;border-color:#daf2fc;color:#0066cc;}
.cal_theme2 .ajax__calendar_hover .ajax__calendar_year {background-color:#edf9ff;border-color:#daf2fc;color:#0066cc;}

.cal_theme2 .ajax__calendar_hover .ajax__calendar_title {color:#0066cc;}
.cal_theme2 .ajax__calendar_hover .ajax__calendar_today {color:#0066cc;}

/* -----------------------------------------------------------
                                                Grids / Tables
----------------------------------------------------------- */

table.layout {
    width: 100%;
    margin: 1px 0px;
}

table.layout td {
    color: #000;
    font-size: 8pt;
    font-family: Helvetica,Arial,sans-serif;
    height: 20px;
    padding: 1px 0px;
    margin: 0px;
    vertical-align: top;
}

.standard_grid {
    color: #000;
    border: solid 1px #E1E1E1;
    font-size: 8pt;
    font-family: Helvetica,Arial,sans-serif;
}

.standard_grid th {
    border: solid 1px #E1E1E1;
    padding: 2px;
    background-color: #44419F; /*background: #FFF url( '../images/cpc_sub_bg.gif' ) repeat-x scroll center top;*/ /*text-align: left;*/
    color: #FFF;
    font-weight: bold;
    vertical-align: top;
}

.standard_grid .footer {
    background-color: #F3F3F3; /*background: #FFF url( '../images/cpc_sub_bg.gif' ) repeat-x scroll center top;*/
    text-align: right;
    font-weight: bold;
    font-size: 10pt;
}

.standard_grid th a:link, .standard_grid th a:visited, .standard_grid th a:hover {
    color: #FFF;
}

.standard_grid td {
    border: solid 1px #E1E1E1;
    padding: 2px; /*background-color: #FFF;*/ /*text-align: left;*/
    vertical-align: top;
}

.standard_grid td a:link, .standard_grid td a:visited, .standard_grid td a:hover {
    color: #DA3B3B;
}

.standard_grid .alt td {
    background-color: #F3F3F3;
}

.standard_grid_container {
    /*width: 100%;*/
    padding: 0px;
    margin: 0px;
    border: solid 1px #44419F;
    overflow-x: hidden;
    overflow-y: scroll;
    background-color: #FFF;
}

.standard_grid_container div {
    margin-right: 17px!ie;
}

.standard_grid_container .unselected, .standard_grid_container .selected {
    cursor: default;
}

.standard_grid_container .unselected {
    background-color: #FFF;
    color: #000;
}

.standard_grid_container .selected {
    background-color: #FCC44D;
    color: #FFF;
}

/* -----------------------------------------------------------
                                           Opacity Image Links
----------------------------------------------------------- */

div.linkopacity_outer {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 10px 0px;
}

div.linkopacity_inner {
    clear: left;
    float: left;
    position: relative;
    left: 50%;
    text-align: center;
}

a:Link.linkopacity, a:Visited.linkopacity, a:Hover.linkopacity {
    display: block;
    float: left;
    text-align: center;
    font-size: 10pt;
    color: #333366;
    font-style: italic;
    position: relative;
    right: 50%;
    width: 220px;
    min-width: 220px; /* for some reason IE needs this to enforce the width property */
}

a:Hover.linkopacity {
    color: #F7BB1C;
}

a.linkopacity img {
    border: solid 1px #DCDCDC;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}

a.linkopacity:hover img {
    filter: alpha(opacity=100);
    -moz-opacity: 1.0;
    opacity: 1.0;
}

/*------------------------------------------------------------
                                   Styles bought over for NORS
------------------------------------------------------------*/

div.Scrollable {
    overflow-x: hidden;
    overflow-y: auto;
}
div.ScrollableBox {
    overflow-x: hidden;
    overflow-y: auto;
    background-color: Transparent;
    color: #000;
    border: solid 1px #44419F;
}

/*------------------------------------------------------------
Fudge to style file upload control
------------------------------------------------------------*/

div.file_inputs {
	position: relative;
	width: 78px;
	height: 21px;
	overflow: hidden;
}

.fake_file {
	position: absolute;
	top: 0px;
	right: 0px;
	z-index: 1;
	width: 77px;
	height: 21px;
    color: #333;
    text-align: center;
    font-size: 8pt;
    font-family: Helvetica,Arial,sans-serif;
    border: solid 1px #666;
}

.real_file {
	position: absolute;
	top: 0px;
	right: 0px;
	-moz-opacity: 0;
	filter: alpha(opacity: 0);
	opacity: 0;
	z-index: 2;
}

/* AJAX Stuff */

.modal_background {
    background-color: #B7B4D3; 
    filter: alpha(opacity=70);
    opacity: 0.7; 
}

.modal_popup {
    background-color: #FFF; 
    border: solid 2px #44419F;
}
