﻿/* DEFAULTS
----------------------------------------------------------*/

body   
{
    background: #b6b7bc;
    font-size: .80em;
    font-family: Helvetica, Arial, "Lucida Grande", "Segoe UI", Verdana, sans-serif;
    margin: 0px 0px 0px  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;
    font-weight: 300;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

h2
{
    font-size: 1.5em;
    font-weight: 300;
}

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: #106470;
    width: 100%;
    height: 130px;
    min-width:1000px;
}

.header h1
{
    font-weight: 700;
    margin: 0px;
    padding: 0px 0px 0px 20px;
    color: #f9f9f9;
    border: none;
    line-height: 2em;
    font-size: 2em;
}

.header h2
{
    color: #f9f9f9;
}

.main
{
    padding: 0px 12px;
    margin: 25px 15px 8px 50px;
    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;
}


/* 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;
    line-height:25px;
}

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**/
/*To make a standard button look like a link*/
.linkButton {
    /*optional*/
    border-style: none;
    border-color: inherit;
    border-width: medium;
    background: !important;
    padding: 0 !important;
    font-family:arial,sans-serif; /*input has OS specific font-family*/
     color:#069;
     text-decoration:underline;
     cursor:pointer;
     text-align:left;
    width: 303px;
}

/*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: #034af3;
}

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 #525252; border-collapse:collapse; font-family:Calibri; color: #474747;}
.Grid td {
      padding: 2px;
      border: solid 1px #c1c1c1; }
.Grid th  {
      padding : 4px 2px;
      color: #fff;
      background: #496077 url("images/ui-bg_highlight-soft_75_106470_1x100.png") 50% 50% repeat-x;
      border-left: solid 1px #525252;
      font-size: 0.9em; }
.Grid .alt {
      background: #fcfcfc url(Images/grid-alt.png) repeat-x top; }
.Grid .pgr {background: #496077 url("images/ui-bg_highlight-soft_75_106470_1x100.png") 50% 50% repeat-x; }
.Grid .pgr table { margin: 3px 0; }
.Grid .pgr td { border-width: 0; padding: 0 6px; border-left: solid 1px #666; font-weight: bold; color: #f3bd48; line-height: 12px; }  
.Grid .pgr td a { color: #ffffff; text-decoration: none; }
.Grid .pgr td a:hover { color: #ffffff; text-decoration: none; }

.GridNoBorder {background-color: #fff; margin: 5px 0 10px 0; border: solid 0px #c1c1c1; border-collapse:collapse; font-family:Calibri; color: #474747;}
.GridNoBorder td {
      padding: 2px;
      border: solid 0px #c1c1c1; }
.GridNoBorder th  {
      padding : 4px 2px;
      color: #fff;
      background: #496077 url("images/ui-bg_highlight-soft_75_106470_1x100.png") 50% 50% repeat-x;
      border-left: solid 1px #525252;
      font-size: 0.9em; }
.GridNoBorder .alt {
      background: #fcfcfc url(Images/grid-alt.png) repeat-x top; }
.GridNoBorder .pgr {background: #496077 url("images/ui-bg_highlight-soft_75_106470_1x100.png") 50% 50% repeat-x; }
.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: #ffffff; text-decoration: none; }
.GridNoBorder .pgr a:hover { color: #ffffff; text-decoration: none; }

/*{
  border: 1px solid #aaaaaa;
  background: #003e74 url("images/ui-bg_highlight-soft_75_003e74_1x100.png") 50% 50% repeat-x;
  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; */

}

/* JQuery and other 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 #003e74;
    border-radius: 12px;
    padding: 20px;
    overflow: auto;
}

/* 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: Helvetica, Arial, "Lucida Grande", "Segoe UI", Verdana, sans-serif;

    /* useful for supporting 100% width inclusive of padding and border */
    box-sizing: border-box; 
}

   
/* Misc */
      span.error {
	font-size: 100%;
	color: #800000;
	font-weight: bold;
}