﻿/* DEFAULTS
----------------------------------------------------------*/

body   
{
    background: #b6b7bc;
    font-size: 0.85em;
    font-family: Calibri, Arial, "Lucida Grande", "Segoe UI", Verdana, sans-serif;
    margin: 0px;
    padding: 0px;
}

a:link, a:visited
{
    color: #034af3;
}

a:hover
{
    color: #1d60ff;
    text-decoration: none;
}

a:active
{
    color: #034af3;
}

p
{
    margin-bottom: 10px;
    line-height: 1.6em;
}


/* HEADINGS   
----------------------------------------------------------*/

h1, h2, h3, h4, h5, h6
{
    font-size: 1.5em;
    text-transform: none;
    font-weight: 200;
    margin-bottom: 0px;
}

h1
{
    font-size: 1.6em;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

h2
{
    font-size: 1.5em;
    font-weight: 600;
}

h3
{
    font-size: 1.2em;
}

h4
{
    font-size: 1.1em;
}

h5, h6
{
    font-size: 1em;
}

/* this rule styles <h1> and <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
    margin-top: 0px;
}


/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

.page
{
    width: 100%;
    background-color: #fff;
    margin: 0px auto 0px auto;
    border: 1px solid #496077;
}

.header {
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #252a3a;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.header h1 {
    font-weight: 700;
    margin: 0px;
    padding: 0px 0px 0px 20px;
    color: #f9f9f9;
    border: none;
    line-height: 2em;
    font-size: 2em;
}

.headerGreen {
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #304220;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.headerGreen h1 {
        font-weight: 700;
        margin: 0px;
        padding: 0px 0px 0px 20px;
        color: #f9f9f9;
        border: none;
        line-height: 2em;
        font-size: 2em;
    }

.headerRed {
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #851735;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.headerRed h1
{
        font-weight: 700;
        margin: 0px;
        padding: 0px 0px 0px 20px;
        color: #f9f9f9;
        border: none;
        line-height: 2em;
        font-size: 2em;
    }

.headerBlue {
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #003e74;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.headerBlue h1
{
        font-weight: 700;
        margin: 0px;
        padding: 0px 0px 0px 20px;
        color: #f9f9f9;
        border: none;
        line-height: 2em;
        font-size: 2em;
    }


.headerTurquoise {
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #106470;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.headerTurquoise h1
{
        font-weight: 700;
        margin: 0px;
        padding: 0px 0px 0px 20px;
        color: #f9f9f9;
        border: none;
        line-height: 2em;
        font-size: 2em;
    }


.headerPurple {
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #422e5d;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.headerPurple h1
{
        font-weight: 700;
        margin: 0px;
        padding: 0px 0px 0px 20px;
        color: #f9f9f9;
        border: none;
        line-height: 2em;
        font-size: 2em;
    }


.headerOrange {
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #c44101;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.headerOrange h1
{
        font-weight: 700;
        margin: 0px;
        padding: 0px 0px 0px 20px;
        color: #f9f9f9;
        border: none;
        line-height: 2em;
        font-size: 2em;
    }

.main
{
    padding: 0px 12px;
    margin: 12px 8px 8px 8px;
    min-height: 420px;
}

.leftCol
{
    padding: 6px 0px;
    margin: 12px 8px 8px 8px;
    width: 200px;
    min-height: 200px;
}

.footer
{
    color: #4e5766;
    padding: 8px 0px 0px 0px;
    margin: 0px auto;
    text-align: center;
    line-height: normal;
}

.rcornersCritical {
    border-radius: 25px;
    border: 2px solid #800000;
    padding: 20px;
    width: 98%;
}

.rcornersWarning {
    border-radius: 25px;
    border: 2px solid #ED7014;
    padding: 20px;
    width: 98%;
}

.rcornersInfo {
    border-radius: 25px;
    border: 2px solid #58748D;
    padding: 20px;
    width: 98%;
}


/* TAB MENU   
----------------------------------------------------------*/

div.hideSkiplink
{
    background-color:#3a4f63;
    width:100%;
}

div.menu
{
    padding: 4px 0px 4px 8px;
}

div.menu ul
{
    list-style: none;
    margin: 0px;
    padding: 0px;
    width: auto;
}

div.menu ul li a, div.menu ul li a:visited
{
    background-color: #465c71;
    border: 1px #4e667d solid;
    color: #dde4ec;
    display: block;
    line-height: 1.35em;
    padding: 4px 20px;
    text-decoration: none;
    white-space: nowrap;
}

div.menu ul li a:hover
{
    background-color: #bfcbd6;
    color: #465c71;
    text-decoration: none;
}

div.menu ul li a:active
{
    background-color: #465c71;
    color: #cfdbe6;
    text-decoration: none;
}

/* FORM ELEMENTS   
----------------------------------------------------------*/

fieldset
{
    margin: 1em 0px;
    padding: 1em;
    border: 1px solid #ccc;
}

fieldset p 
{
    margin: 2px 12px 10px 10px;
}

fieldset.login label, fieldset.register label, fieldset.changePassword label
{
    display: block;
}

fieldset label.inline 
{
    display: inline;
}

legend 
{
    font-size: 1.1em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}

input.textEntry 
{
    width: 320px;
    border: 1px solid #ccc;
}

input.passwordEntry 
{
    width: 320px;
    border: 1px solid #ccc;
}

div.accountInfo
{
    width: 42%;
}

/* MISC  
----------------------------------------------------------*/

.clear
{
    clear: both;
}

.title
{
    display: block;
    float: left;
    text-align: left;
    width: auto;
}

.loginDisplay
{
    font-size: 1.1em;
    display: block;
    text-align: right;
    padding: 10px;
    color: White;
}

.loginDisplay a:link
{
    color: white;
}

.loginDisplay a:visited
{
    color: white;
}

.loginDisplay a:hover
{
    color: white;
}

.failureNotification
{
    font-size: 1em;
    color: maroon;
    font-weight:bold;
}

.bold
{
    font-weight: bold;
}

.submitButton
{
    text-align: right;
    padding-right: 10px;
}

/* Link buttons */

 .pure-button {
    display: inline-block;
    *display: inline;
    zoom: 1;
    line-height: normal;
    white-space: nowrap;
    vertical-align: baseline;
    text-align: center;
    cursor: pointer;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.pure-button::-moz-focus-inner {
    padding: 0;
    border: 0
}

.pure-button {
    font-size: 100%;
    *font-size: 90%;
    *overflow: visible;
    padding: .5em 1.5em;
    color: #444;
    color: rgba(0, 0, 0, .8);
    *color: #444;
    border: 1px solid #999;
    border: 0 rgba(0, 0, 0, 0);
    background-color: #E6E6E6;
    text-decoration: none;
    border-radius: 2px;
    -webkit-font-smoothing: antialiased;
    -webkit-transition: .1s linear -webkit-box-shadow;
    -moz-transition: .1s linear -moz-box-shadow;
    -ms-transition: .1s linear box-shadow;
    -o-transition: .1s linear box-shadow;
    transition: .1s linear box-shadow
}

.pure-button-hover, .pure-button:hover, .pure-button:focus {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#00000000', endColorstr = '#1a000000', GradientType = 0);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(transparent), color-stop(40%, rgba(0, 0, 0, .05)), to(rgba(0, 0, 0, .1)));
    background-image: -webkit-linear-gradient(transparent, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .1));
    background-image: -moz-linear-gradient(top, rgba(0, 0, 0, .05) 0, rgba(0, 0, 0, .1));
    background-image: -ms-linear-gradient(transparent, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .1));
    background-image: -o-linear-gradient(transparent, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .1));
    background-image: linear-gradient(transparent, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .1))
}

.pure-button:focus {
    outline: 0
}

.pure-button-active, .pure-button:active {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .15) inset, 0 0 6px rgba(0, 0, 0, .2) inset
}

.pure-button[disabled], .pure-button-disabled, .pure-button-disabled:hover, .pure-button-disabled:focus, .pure-button-disabled:active {
    border: 0;
    background-image: none;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    filter: alpha(opacity = 40);
    -khtml-opacity: .4;
    -moz-opacity: .4;
    opacity: .4;
    cursor: not-allowed;
    box-shadow: none
}

.pure-button-hidden {
    display: none
}

.pure-button::-moz-focus-inner {
    padding: 0;
    border: 0
}

.pure-button-primary, .pure-button-selected, a.pure-button-primary, a.pure-button-selected {
    background-color: #0078e7;
    color: #fff
}

/**MEH37 added styles**/

/* Show/hide buttons */
.show_hide {
    background: #252a3a;
    color: white;
    font-family: Calibri, Arial, "Lucida Grande", "Segoe UI", Verdana, sans-serif;
}

/* Multiline text boxes (see http://stackoverflow.com/questions/8432961/the-default-font-for-multiline-textbox-is-different-from-singleline-textbox)
*/
TEXTAREA, INPUT[type="text"] {
    /* font size, line height, face */
    font-family: Calibri, Arial, "Lucida Grande", "Segoe UI", Verdana, sans-serif;
    font-size: 1em !important;
    /* useful for supporting 100% width inclusive of padding and border */
    box-sizing: border-box;
}

/*Panels*/
div.roundedpanel {
    border-radius: 10px; 
-moz-border-radius: 10px; 
-webkit-border-radius: 10px; 
border: 3px solid #315B80;
height:150px;
width: 250px;
padding:10px;
float: left;
margin-right:20px;
text-align: center;
}

div.roundedpanel a:link, a:visited
{
    color: #315B80;
}

div.roundedpanelcontainer
    {
text-align: center;
    }

div.roundedpanelcontainer li
    {
margin-right: 10px;
margin-bottom: 10px;
list-style: none;
float: left;
    }


/*Gridviews*/
/*From http://www.dotnetfox.com/articles/gridview-custom-css-style-example-in-Asp-Net-1088.aspx */
.Grid {background-color: #fff; margin: 5px 0 10px 0; border: solid 1px #252a3a; border-collapse:collapse; color: #474747;}
.Grid td {
      padding: 5px 5px 5px 5px;
      border: solid 1px #c1c1c1; }
    .Grid th {
        padding: 5px 5px 5px 5px;
        color: #fff;
        background: #252a3a;
        border-left: solid 1px #252a3a;
        font-size: 0.9em;
        text-align: left;
        vertical-align: central;
    }
.Grid .alt {
      background: #fcfcfc url(Images/grid-alt.png) repeat-x top; }
.Grid .pgr {background: #363670 url(Images/grid-pgr.png) repeat-x top; }
.Grid .pgr table { margin: 3px 0; }
.Grid .pgr td { border-width: 0; padding: 0 6px; border-left: solid 1px #666; font-weight: bold; color: #fff; line-height: 12px; }  
.Grid .pgr a { color: #ffffcc; text-decoration: none; }
.Grid .pgr a:hover { color: #ffffff; text-decoration: none; }

.GridLight {background-color: #fff; margin: 5px 0 10px 0; border: solid 1px #252a3a; border-collapse:collapse; color: #474747;}
    .GridLight td {
        padding: 5px 5px 5px 5px;
        border: solid 1px #c1c1c1;
    }
    .GridLight th {
        padding: 5px 5px 5px 5px;
        color: #fff;
        background: #252a3a;
        opacity: 0.85;
        border-left: solid 1px #252a3a;
        font-size: 0.9em;
        text-align: left;
        vertical-align: central;
    }
.GridLight .alt {
      background: #fcfcfc url(Images/grid-alt.png) repeat-x top; }
.GridLight .pgr {background: #363670 url(Images/grid-pgr.png) repeat-x top; }
.GridLight .pgr table { margin: 3px 0; }
.GridLight .pgr td { border-width: 0; padding: 0 6px; border-left: solid 1px #666; font-weight: bold; color: #fff; line-height: 12px; }  
.GridLight .pgr a { color: #ffffcc; text-decoration: none; }
.GridLight .pgr a:hover { color: #ffffff; text-decoration: none; }

.GridNoBorder {background-color: #fff; margin: 5px 0 10px 0; border: solid 0px #252a3a; border-collapse:collapse; color: #474747;}
    .GridNoBorder td {
        padding: 5px 5px 5px 5px;
        border: solid 0px #c1c1c1;
    }
    .GridNoBorder th {
        padding: 5px 5px 5px 5px;
        color: #fff;
        background: #252a3a;
        border-left: solid 1px #252a3a;
        font-size: 0.9em;
        text-align: left;
        vertical-align: central;
    }
.GridNoBorder .alt {
      background: #fcfcfc url(Images/grid-alt.png) repeat-x top; }
.GridNoBorder .pgr {background: #363670 url(Images/grid-pgr.png) repeat-x top; }
.GridNoBorder .pgr table { margin: 3px 0; }
.GridNoBorder .pgr td { border-width: 0; padding: 0 6px; border-left: solid 1px #666; font-weight: bold; color: #f3bd48; line-height: 12px; }  
.GridNoBorder .pgr a { color: #ffffcc; text-decoration: none; }
.GridNoBorder .pgr a:hover { color: #ffffff; text-decoration: none; }

/*{
  border: 1px solid #aaaaaa;
  background: #252a3a;
  background-image: url(https://uatresearchcontracts.admin.cam.ac.uk/Styles/images/ui-bg_highlight-soft_75_003e74_1x100.png);
  background-position-x: 50%;
  background-position-y: 50%;
  background-size: initial;
  background-repeat-x: repeat;
  background-repeat-y: no-repeat;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgb(0, 62, 116);
  color: #ffffff;
  font-weight: bold;
} */
.ui-helper-clearfix {
  min-height: 0;
  /*support: IE7; */

}

/* Divs to produce tables*/
.filterContainerBorder
{
display: inline-block;
padding:5px;
width: 98%;
border: 1px solid black;
}
.filterContainerBorderNoWidth
{
display: inline-block;
padding:5px;
border: 1px solid black;
max-width:98%;
}
.filterContainer
{
display: inline-block;
padding:5px;
width: 98%;
}
.filterRow
{
float: none;
padding-bottom:5px;
}
.filterHeader
{
display: inline-block;
width: 150px;
margin: 0;
padding:2px;
text-align:right;
}
.filterContent
{
display: inline-block;
margin-left: 10px;
padding:2px;
min-width:50px;
vertical-align:top;
}
.filterContentRight
{
display: inline-block;
margin-left: 10px;
padding:2px;
min-width:50px;
text-align:right;
vertical-align:top;
}
.filterExplanation
{
display: inline-block;
margin-left: 10px;
margin-right: 10px;
padding:2px;
text-align:left;
}

/* JQuery and server side modals */
#mask
{
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: 4;
    opacity: 0.4;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"; /* first!*/
    filter: alpha(opacity=40); /* second!*/
    background-color: gray;
    display: none;
    width: 100%;
    height: 100%;
}

    .modalBackground
    {
        background-color: Black;
        filter: alpha(opacity=60);
        opacity: 0.6;
    }

.modalPopupDocs {
    background-color: #FFFFFF;
    margin: 20px;
    width: 700px;
    border: 3px solid #252a3a;
    border-radius: 12px;
    padding: 20px;
    overflow: auto;
}

/* Navigation - based on http://demo.ourtuts.com/menu/ */
#nav {
	position:relative;
	width:100%;
	margin:0 auto;
}

ul#navigation {
	margin:0px auto;
	position:relative;
	float:left;
}

ul#navigation li {
	display:inline;
	font-size:12px;
	font-weight:bold;
	margin:0;
	padding:0;
	float:left;
	position:relative;
	border-top:1px solid #c4dbe7;
	border-bottom:2px solid #c4dbe7;
}

ul#navigation li a {
	padding:10px 25px;
	color:#616161;
	text-shadow:1px 1px 0px #fff;
	text-decoration:none;
	display:inline-block;
	border-right:1px solid #fff;
	border-left:1px solid #C2C2C2;
	border-top:1px solid #fff;
	background: #f5f5f5;
	
	-webkit-transition:color 0.2s linear, background 0.2s linear;	
	-moz-transition:color 0.2s linear, background 0.2s linear;	
	-o-transition:color 0.2s linear, background 0.2s linear;	
	transition:color 0.2s linear, background 0.2s linear;	
}

ul#navigation li a:hover {
	background:#f8f8f8;
	color:#282828;
}

ul#navigation li:hover > a {
	background:#fff;
}

/* Drop-Down Navigation */
ul#navigation li:hover > ul
{
	visibility:visible;
	opacity:1;
}

ul#navigation ul, ul#navigation ul li ul {
	list-style: none;
    margin: 0;
    padding: 0;    
	visibility:hidden;
    position: absolute;
    z-index: 99999;
	width:180px;
	background:#f8f8f8;
	box-shadow:1px 1px 3px #ccc;
	opacity:0;
	-webkit-transition:opacity 0.2s linear, visibility 0.2s linear; 
	-moz-transition:opacity 0.2s linear, visibility 0.2s linear; 
	-o-transition:opacity 0.2s linear, visibility 0.2s linear; 
	transition:opacity 0.2s linear, visibility 0.2s linear; 	
}

ul#navigation ul {
    top: 43px;
    left: 1px;
}

ul#navigation ul li ul {
    top: 0;
    left: 181px;
}

ul#navigation ul li {
	clear:both;
	width:100%;
	border:0 none;
	border-bottom:1px solid #c9c9c9;
}

ul#navigation ul li a {
	background:none;
	padding:7px 15px;
	color:#616161;
	text-shadow:1px 1px 0px #fff;
	text-decoration:none;
	display:inline-block;
	border:0 none;
	float:left;
	clear:both;
	width:150px;
}

ul#navigation li a.first {
	border-left: 0 none;
}

ul#navigation li a.last {
	border-right: 0 none;
}

.navHeader{
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #252a3a;
    width: 100%;
    height: 38px;
    overflow:visible;
}

.navHeaderGreen {
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #304220;
    width: 100%;
    height: 38px;
    overflow: visible;
}

.navHeaderRed {
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #851735;
    width: 100%;
    height: 38px;
    overflow: visible;
}

.navHeaderBlue {
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #003e74;
    width: 100%;
    height: 38px;
    overflow: visible;
}

.navHeaderTurquoise {
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #106470;
    width: 100%;
    height: 38px;
    overflow: visible;
}

.navHeaderPurple {
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #422e5d;
    width: 100%;
    height: 38px;
    overflow: visible;
}

.navHeaderOrange {
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #c44101;
    width: 100%;
    height: 38px;
    overflow: visible;
}

/* Controls - to make stick at bottom so always visible*/
.controlFooter {
    position: sticky;
    left: 0px;
    bottom: 0px;
    background-color: white;
    border: 1px solid #496077;
    text-align: left;
    padding: 5px 5px 5px 30px;
}

     
/* TOAST assessment */
.assessmentSmall {
    width: 60px;
    text-align: center;
}

.assessmentSmall th {
    text-align: center !important;
}

.assessmentSpace {
    width: 100px;
    border-color: #FFFFFF;
    border-width: 0px;
    border-bottom: 0 !important;
    border-top: 0 !important;
}

.assessmentBig {
    width: 450px;
}

.assessmentBig th {
    border-color: #FFFFFF;
    text-align: left;
}

.assessmentVBig {
    width: 995px;
}

.assessmentVBig th {
    border-color: #FFFFFF;
}

.assessmentTB {
    width: 98%;
    height: 45px;
}

.assessmentSumTitle {
    width: 120px;
}

/* Assessment holding divs*/
.assessmentBorder {
    border: solid 1px #c1c1c1;
    width: 1100px;
    padding: 10px !important;
}

.assessmentWrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
}

.assessmentbox1 {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
}

.assessmentbox2 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
    text-align:right;
}
.assessmentbox3 {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 3;
    grid-row-end: 4;
}

/* mylinks display*/
.myLinksContainer {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    border: 1px solid black;
}

.myLinksRow {
    display: flex;
    border-bottom: 1px solid black;
}

.myLinksCellNarrow {
    flex: 1;
    padding: 8px;
    border-right: 1px solid black;
    max-width: 80px;
}

.myLinksCellMid {
    flex: 1;
    padding: 8px;
    border-right: 1px solid black;
    max-width: 500px;
}

.myLinksCell {
    flex: 1;
    padding: 8px;
    border-right: 1px solid black;
}

    .myLinksCell:last-child {
        border-right: none;
    }

.myLinksRow:last-child {
    border-bottom: none;
}

.myLinksHeader {
    font-weight: bold;
    background-color: #f2f2f2;
}


/* Misc */
      span.error {
	font-size: 100%;
	color: #800000;
	font-weight: bold;
}
span.success {
    font-size: 100%;
    color: #006400;
    font-weight: bold;
}
      hideControl {
	display: none;
}

    