﻿
/* Molokini restyle - import "Open Sans" font */

@import url("https://fonts.googleapis.com/css?family=Open+Sans");

/* -----------------------------------------------------------
													   General
----------------------------------------------------------- */
html, body {
    margin: 0;
    padding: 0;
    text-align: center;
}

body {
    color: #000;
    font-size: 9pt;
    font-family: Open Sans;
}

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

a:Link, a:Visited, a:Hover {
    text-decoration: underline;
    color: #333366;
    font-size: 9pt;
}

/* Header menu */

a:Hover {
    color: #F7BB1C;
}

#header ul {
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    list-style: none;
}

#header ul li {
    margin-left: 5px;
    padding: 0;
    float: right;
    display: block;
    border: 1px solid #000;
    border-radius: 5px;
}

#header a:Link, #header a:Visited, #header a:Hover {
    display: block;
    padding: 7px 10px;
    font-size: 9pt;
    text-decoration: none;
    color: #222222;
}

#header a:Hover {
    background-color: #C6C6C6;
}

/* Sub menu */

#sub ul {
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    list-style: none;
}

#sub ul li {
    margin: 0px;
    padding: 0px;
    float: right;
    height: 67px;
    display: block;
    border-left: 2px solid #EEEEEE;
}

    #sub ul li:last-child {
        border-left: none;
    }

#sub a:Link, #sub a:Visited, #sub a:Hover {
    /*display: block;*/
    padding: 0 10px;
    /*font-weight: bold;*/
    font-size: 9pt;
    text-decoration: none;
    color: #000;
    display: table-cell;
    vertical-align: middle;
    height: 67px;
}

/* -----------------------------------------------------------
                                                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/headerwrap-bg-0616.png' ) repeat-x scroll center top;*/
    height: 192px;
}

#header {
    position: relative;
    height: 107px;
}

#header #logo {
    background-image: url('../images/rtitb-logo-aug19.png');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 183px;
    height: 192px;
}

#header_print {
    display: none;
}

#sub {
    position: relative;
    height: 67px;
    text-align: right;
    /*margin-top: 66px;*/   /* Nudge down below blue & yellow stripe */
    margin-top: 18px;   /* Blue & yellow stripe removed - extra padding  */
}

#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;*/
}

.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;*/
    background-color: #222222;
    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;
}

.info-text,
.error-text,
.success-text {
    padding: 10px;
    overflow: hidden;
}

.info-text {
    background-color: #FCFAF2;
    border: 1px solid #FCEFA1;
}

.error-text {
    background-color: #FEF6F3;
    border: 1px solid #CD0A0A;
    color: #CD0A0A;
}

.success-text {
    background-color: #ddffdd;
    border: 1px solid #9bd89b;
}

.label-red {
    color: #FF0000;
}

.label-underline {
    text-decoration: underline;
}

.margin-tb {
    margin: 10px 0;
}

/* -----------------------------------------------------------
										  Headers ( h* style )
----------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-size: 9pt;
    font-weight: normal;
    margin: 0px;
    padding: 0px;
    text-align: left;
    color: #44419F;
}

h1 {
    font-size: 12pt;
    font-weight: bold;
    border-bottom: solid 2px #DCDCDC;
    margin: 5px 0px 10px 0px;
    color: #44419F;
}

h2 {
    font-size: 11pt;
    border: solid 1px #E1E1E1;
    padding: 2px;
    background-color: #44419F;
    text-align: left;
    color: #FFF;
    font-weight: bold;
    margin-bottom: 5px;
}

h3 {
    font-size: 10pt;
    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: 9pt;
}

.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: 9pt;
    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;
}

.no_border {
    border: none;
}

.full_width {
    width: 100%;
}

.half_width {
    width: 50%;
}

.Textbox, .TextBox {
    background-color: #FFF;
    color: #000;
    text-align: left;
    font-size: 9pt;
    font-family: Open Sans;
    border: solid 1px #44419F; /*height: 19px;*/
}

.TextboxReadOnly {
    background-color: #FFF;
    color: #000;
    text-align: left;
    font-size: 9pt;
    font-family: Open Sans;
    border: solid 1px #44419F; /*height: 19px;*/
}

.DropDownList {
    background-color: #FFF;
    color: #000;
    text-align: left;
    font-size: 9pt;
    font-family: Open Sans;
    border: solid 1px #000080; /*height: 19px;*/
}

.CheckBox, .RadioButton {
    background-color: Transparent;
    color: #000;
    text-align: left;
    font-family: Open Sans;
    font-size: 9pt;
    font-weight: normal;
    text-decoration: none;
}

.Button {
    color: #333;
    text-align: center;
    font-size: 9pt;
    font-family: Open Sans;
    width: 150px;
    border: solid 1px #666;
    margin: 0px 0px 1px 1px;
}

.GrayText {
    color: Gray;
}

/*
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(../Images/ajax-left-arrow.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(../Images/ajax-right-arrow.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;}

.email_certificate_options label
{
    margin-right: 10px;
}

.glyphicon-label {
    display: block; /* Should get inherited if inside a pragraph tag anyway */
    padding-left: 28px;
    background-repeat: no-repeat;
    background-position: left center 2px;
    background-color: transparent;
    margin: 2px 0;
    line-height: 18px;
}

    .glyphicon-label.warning-message {
        background-image: url("../images/glyphicon-warning-message.png");
    }

    .glyphicon-label.circle-info {
        background-image: url("../images/glyphicon-circle-info.png");
    }

/* -----------------------------------------------------------
                                                Grids / Tables
----------------------------------------------------------- */

table.layout {
    width: 100%;
    margin: 1px 0px;
}

table.layout td {
    color: #000;
    font-size: 9pt;
    font-family: Open Sans;
    height: 20px;
    padding: 1px 0px;
    margin: 0px;
    vertical-align: top;
}

.standard_grid {
    color: #000;
    border: solid 1px #E1E1E1;
    font-size: 9pt;
    font-family: Open Sans;
}

    .standard_grid th,
    .standard_grid td {
        border: solid 1px #E1E1E1;
        padding: 2px;
        vertical-align: top;
    }

.standard_grid th {
    background-color: #44419F;
    color: #FFF;
    font-weight: bold;
}

.standard_grid .footer {
    background-color: #F3F3F3;
    text-align: right;
    font-weight: bold;
    font-size: 10pt;
}

.standard_grid .footer .fake_cell 
{
    display: block;
    border-bottom: 1px solid #E1E1E1;
    margin: 0 -2px;
    padding: 2px;
    font-size: 9pt;
    font-weight: normal;
}

.standard_grid th a:link, .standard_grid th a:visited, .standard_grid th a:hover {
    color: #FFF;
}

.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;
}

.standard_grid .no-border td {
    border: none;
}

.standard_grid .valign-middle td {
    vertical-align: middle;
}

/* -----------------------------------------------------------
                                           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: 9pt;
    font-family: Open Sans;
    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;
}

.btn-wrappped 
{
    padding-top:2px!Important;
    text-align:center;
}


.dialog
{
	border: solid 1px #333333; /*padding:5px;*/
	display: none; /*max-height:80px;*/
	overflow-x: hidden;
	/*overflow-y: scroll;*/
	background-color: white;
}


/* JQuery UI Overrides */
/*---------------------------------------------*/

/* To fix IE8 issue where the overlay is larger than the screen therefore forcing scrollbars to display */
.ui-widget-overlay {
    position: fixed;
}


/*------------------------------------------------------------
Notifications styles
------------------------------------------------------------*/

#open_notifications_link {
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 18px 0 0 10px;
    cursor: pointer;
    background-image: url("../images/bell-icon.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #3CB371;
    position: relative;
    z-index: 0;
}

    #open_notifications_link.has_unread {
        background-color: #DC143C;
    }

#notifications_dialog {
    display: none;
    z-index: 0;
}

.hide_titlebar .ui-dialog-titlebar {
    display: none;
}

#notifications_snippet {
    width: 350px;
    height: 350px;
    overflow-y: scroll;
    border: 1px solid #D8D8DC;
}

#notifications_heading {
    background-color: #191051;
    color: #FFF;
    text-align: center;
    font-size: 9pt;
    padding: 5px;
    font-weight: bold;
}

#mark_all_as_read,
#close_notifications_link {
    cursor: pointer;
    font-size: 9pt; /* Override for e-Library / Molokini styling */
}

.notifications_grid {
    width: 100%;
    border-collapse: collapse;
}

.notifications_grid th,
.notifications_grid td {
    border-bottom: 1px solid #D8D8DC;
    font-size: 9pt;
    padding: 5px;
    text-align: left;
}

.notifications_grid tr.unread td {
    /*background-color: #D8D8DC;*/
}

    .notifications_grid td .subject_text {
        font-weight: bold;
        color: #191051;
    }

    .notifications_grid td div,
    .notifications_grid td span {
        line-height: 1.2em;   /* Override for e-Library / Molokini styling */
    }
