﻿
body
{
    background-color: #f0f1f2;
    font-size: .8em;
    font-family: Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #696969;
}

#header
{
    background: #626366;
    border-bottom: 5px solid #222;
    margin-bottom: .5em;
    padding: 1px;
    color: white;
}

#header-right
{
    text-align: right;
    margin-right: 5em;
}

h1
{
    font-size: 2em;
    margin: .2em 0 .2em 2.5em;
    float: left;
}

h1 a:link, h1 a:visited
{
    color: white;
}

h1 a img
{
    border: none;
    display: block;
    height: 85px;
}

h2
{
    color: black;
    font-weight: normal;
    font-size: 1.5em;
    margin: 0 0 1em 0;
}
h2.icon
{
    padding-left: 164px;
    padding-top: 2px;
    min-height: 32px;
    background-repeat: no-repeat;
    background-position: 128px top;
}
h2.icon-details
{
    background-image: url(/Content/Icons/details-32b.png);
}
h2.icon-about
{
    background-image: url(/Content/Icons/about-32b.png);
}
h2.icon-faq
{
    background-image: url(/Content/Icons/faq-32b.png);
}
h2.icon-contact
{
    background-image: url(/Content/Icons/contact-32b.png);
}
h2.icon-results
{
    background-image: url(/Content/Icons/results-32b.png);
}
h2.icon-survey
{
    background-image: url(/Content/Icons/survey-32b.png);
}
h2.icon-login
{
    background-image: url(/Content/Icons/login-32b.png);
}
.surveyheading
{
    background: #e55900;
    color: white;
    padding: 4px;
}

.page-results h3, .page-profile h3
{
    font-weight: normal;
    font-size: 1.5em;
    margin: 0;
}

a:link
{
    color: #e55900;
    text-decoration: underline;
}
a:visited
{
    color: #ff9330;
}
a:hover
{
    color: #e55900;
    text-decoration: none;
}
a:active
{
    color: #ff3300;
}

p, ul
{
    margin-bottom: 20px;
    line-height: 1.6em;
}

#main
{
    padding: 1em 0;
    margin-bottom: 30px;
    _height: 1px; /* only IE6 applies CSS properties starting with an underscrore */
    /*clear: both;*/
width: 100%;
}

#wrapper 
{
    margin: 0 6em;
    clear: both;
}
.page
{
    background: white;
    padding: 1em 2em;
    clear: both;
    margin: 0;
    min-height: 10ex;
    zoom: 1; /* give hasLayout to ie6 */
}

#footer
{
    color: #999;
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0;
    font-size: .9em;
    clear: left;
    margin: auto;
}

/* TAB MENU   
----------------------------------------------------------*/
#menu
{
    display: block;
    float: right;
    padding-right: 10em;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset 
{
    margin: 1em 0;
    padding: 1em;
    border: 1px solid #CCC;
}

fieldset p 
{
    margin: 2px 12px 10px 10px;
}

fieldset label 
{
    display: block;
}

fieldset label.inline 
{
    display: inline;
}

legend 
{
    font-size: 1.1em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}

input[type="text"] 
{
    width: 200px;
    border: 1px solid #CCC;
}
table.week input, table.dragtable input, table.norms input
{
	width: 40px;
}
table.week tr:hover td, table.dragtable .dragging td
{
	background: #eef;
}
table.week tbody.labelled td.first
{
    padding-left: 2em;
}

input[type="password"] 
{
    width: 200px;
    border: 1px solid #CCC;
}

span.helptextcontainer 
{
    width: 200px;
    padding-left: 10em;
    display: block;
}
span.helptext 
{
    color: Gray;
    font-size: x-small;
    line-height: 1ex;
}

/* TABLE
----------------------------------------------------------*/

table 
{
  border-collapse: collapse;
}

table td, table.eventstable td
{
  padding: 5px;
  border: solid 1px #999;
  vertical-align: top;
}

table th
{
  padding: 6px 5px;
  text-align: left;
  /* background-color: #e8eef4; */
  border: solid 1px #999;
}
thead th
{
  text-align: center;
}

.eventstable td
{
    width: 25%;
    color: #eee;
}
.eventstable ul
{
    padding-left: 0;
    margin: 0;
    list-style-type: none;
}
.eventstable li
{
    margin: 0;
    padding: .4em;
    line-height: 1.25;
}

/* MISC  
----------------------------------------------------------*/
.clear
{
    clear: both;
}

.error
{
    color:Red;
}

#menucontainer
{
    margin-top:40px;
}

div#title
{
    display:block;
    float:left;
    text-align:left;
}

#logindisplay
{
    font-size:1.1em;
    display:block;
    text-align:right;
    margin:10px;
    color:White;
}

#logindisplay a:link
{
    color: white;
    text-decoration: underline;
}

#logindisplay a:visited
{
    color: white;
    text-decoration: underline;
}

#logindisplay a:hover
{
    color: white;
    text-decoration: none;
}

.field-validation-error
{
    color: #ff0000;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

form label, .checklistlabel, .fakelabel
{
    padding-right: .2em;
    margin-right: 0;
    display: block;
}
form label.inline
{
    display: inline;
}
.checklist
{
    margin-left: 11.2em;
    list-style: none;
    padding-left: 0;
    margin-bottom: .8em;
}
.cling
{
    margin: -.8em 1em .3em 11em;
}
.survey-options
{
    margin-left: 2em;
    display: block;
    padding: .1em;
}

textarea
{
    vertical-align: top;
    height: 10em;
    width: 40em;
}

.fakelink
{
    color: #e55900;
    text-decoration: underline;
    cursor: pointer;
}

.tick
{
    text-align: center;
}
.tick img
{
    vertical-align: bottom;
}

#flash
{
    width: 50%;
    margin: 0 auto;
    border: 1px solid black;
    display: block;
    padding: 1em 2em;
    background: #ffd;
}

.treeresult
{
    border: 1px solid;
    margin: 1em;
    padding: 1em;
}
.treeresult li
{
    list-style-type: none;
    margin: 0;
    padding-left: 10px;
    display: block;
    background-repeat: no-repeat;
    background-position: 0 10px;
}
.treeresult ul
{
    margin: 0;
    padding: 0;
}
.riskcolour-0
{
    color: #6c9c31;
    border-color: #6c9c31;
}
.riskcolour-1
{
    color: #e55900;
    border-color: #e55900;
}
.riskcolour-2
{
    color: #e22c2f;
    border-color: #e22c2f;
}
.riskcolour-3, .riskcolour-4
{
    color: #bf1d2d;
    border-color: #bf1d2d;
}
.riskcolour-0-bg
{
    background-color: #6c9c31;
}
.riskcolour-1-bg
{
    background-color: #e55900;
}
.riskcolour-2-bg
{
    background-color: #e22c2f;
}
.riskcolour-3-bg, .riskcolour-4-bg
{
    background-color: #bf1d2d;
}
.riskcolour-0 li
{
    background-image: url(/Content/Icons/dash-0.png);
}
.riskcolour-1 li
{
    background-image: url(/Content/Icons/dash-1.png);
}
.riskcolour-2 li
{
    background-image: url(/Content/Icons/dash-2.png);
}
.riskcolour-3 li
{
    background-image: url(/Content/Icons/dash-3.png);
}

#introbox
{
    background-color: #291c12;
    background-repeat: no-repeat;
    background-position: top right;
    padding-right: 450px;
    margin: 0 auto 1.5em;
    color: white;
    position: relative;
    width: 350px;
    height: 300px;
}
.introbox-photo-1
{
    background-image: url(/Content/Photos/introbox-1.jpeg);
}
.introbox-photo-2
{
    background-image: url(/Content/Photos/introbox-2.jpeg);
}
.introbox-photo-3
{
    background-image: url(/Content/Photos/introbox-3.jpeg);
}
.introbox-photo-4
{
    background-image: url(/Content/Photos/introbox-4.jpeg);
}
.introbox-photo-5
{
    background-image: url(/Content/Photos/introbox-5.jpeg);
}
.introbox-photo-6
{
    background-image: url(/Content/Photos/introbox-6.jpeg);
}
#introbox ul
{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#introbox li
{
    margin: .625em 0;
    padding: 0;
    line-height: 1.2;
}
#introbox h2
{
    color: white;
    margin-left: 0;
    padding-top: 50px;
    background: url(/Content/unitcheck-introbox.png) top left no-repeat;
    font-size: 1.25em;
}
#introbox-left
{
    background: url(/Content/Curves/introbox-bl.png) bottom left no-repeat;
    height: 250px;
    padding: 25px;
}
#introbox input
{
    font-size: 1.25em;
    width: 175px;
}
.registerbutton
{
    background: transparent;
    border: none;
    color: #e55900;
    padding: 0;
    margin: 0;
    min-height: 20px;
    font-size: 1.2em;
    font-weight: bold;
}
.registerbutton img
{
    vertical-align: middle;
}


#homelower
{
    width: 870px;
    margin: 0 auto;
    position: relative;
}

.iconbar
{
    display: block;
    float: left;
    margin: 0 1em 0 0;
    padding: 0; 
}
.iconbar-big
{
    background: white;
}
.iconbar li
{
    display: block;
    float: left;
    padding: 0;
    margin: 0;
}
.iconbar-small li
{
    font-size: .8em;
}
.iconbar li.nolink, .iconbar li a
{
    display: block;
    float: left;
    margin: 4px;
    text-align: center;
}
.iconbar-big li.nolink, .iconbar-big li a
{
    width: 72px;
    padding: 64px 0 0 0;
    background-position: 4px 4px;
}
.iconbar-small li.nolink, .iconbar-small li a
{
    width: 48px;
    padding: 32px 0 0 0;
    background-position: 8px 4px;
}
.iconbar li a
{
    color: black;
    text-decoration: none;
    background-repeat: no-repeat;
}
.iconbar li a:hover
{
    background-color: #ddd;
}
.iconbar-border
{
    float: left;
    padding-top: 15px;
    background: #626366 url(/Content/Curves/iconbar-tr.png) top right no-repeat;
    margin: 0 1em 0 0;
}
.iconbar-border .iconbar
{
    margin: 0;
}
.iconbar-big .login a
{
    background-image: url(/Content/Icons/login-64.png);
}
.iconbar-big .about a
{
    background-image: url(/Content/Icons/about-64.png);
}
.iconbar-big .faq a
{
    background-image: url(/Content/Icons/faq-64.png);
}
.iconbar-big .contact a
{
    background-image: url(/Content/Icons/contact-64.png);
}
.iconbar-small .details a
{
    background-image: url(/Content/Icons/details-32.png);
}
.iconbar-small .survey a
{
    background-image: url(/Content/Icons/survey-32.png);
}
.iconbar-small .results a
{
    background-image: url(/Content/Icons/results-32.png);
}
.iconbar-small .about a
{
    background-image: url(/Content/Icons/about-32.png);
}
.iconbar-small .faq a
{
    background-image: url(/Content/Icons/faq-32.png);
}
.iconbar-small .contact a
{
    background-image: url(/Content/Icons/contact-32.png);
}

#whatifs
{
    margin-left: 350px;
}
#whatifs h2
{
    color: #e55900;
    margin: 0;
    font-weight: normal;
}
#whatifs p
{
    margin: .5em 0;
}

#welcomechoice
{
    background: white;
    margin: auto;
    width: 800px;
}
#welcomechoice p
{
    background: #e55900;
    color: white;
    font-size: 1.5em;
    padding: .2em;
    margin: 0;
}
#welcomechoice ul
{
    background-repeat: no-repeat;
    background-position: top left;
    margin: 0;
    padding-left: 400px;
    display: block;
    float: left;
    height: 400px;
    font-size: 1.375em;
    list-style-type: none;
}
#welcomechoice ul li
{
    display: block;
    padding: 0 0 1em;
    margin: 0;
}
#welcomechoice ul a
{
    display: block;
    float: right;
    width: 220px;
    color: black;
    padding: 18px 20px 22px 160px;
    text-decoration: none;
    background-repeat: no-repeat;
    background-position: 16px 16px;
    clear: both;
}
#welcomechoice ul a:hover
{
    background-color: #ddd;
}
#welcomechoice ul span
{
    display: block;
}
#welcomechoice ul small
{
    font-size: .8em;
}
#welcomechoice .survey a
{
    background-image: url(/Content/Icons/survey-128.png);
}
#welcomechoice .details a
{
    background-image: url(/Content/Icons/details-128.png);
}
.welcome-adult-1 ul
{
    background-image: url(/Content/Photos/adult-1.jpeg);
}
.welcome-adult-2 ul
{
    background-image: url(/Content/Photos/adult-2.jpeg);
}
.welcome-adult-3 ul
{
    background-image: url(/Content/Photos/adult-3.jpeg);
}
.welcome-student-1 ul
{
    background-image: url(/Content/Photos/student-1.jpeg);
}
.welcome-student-2 ul
{
    background-image: url(/Content/Photos/student-2.jpeg);
}
.welcome-student-3 ul
{
    background-image: url(/Content/Photos/student-3.jpeg);
}

.tabs
{
    display: block;
    margin: 0;
    width: 100%;
    padding: 0;
    list-style-type: none;
    clear: right;
    overflow: hidden;

}
.tabs li
{
    display: block;
    margin: 0;
    padding: 0;
    float: left;
}
.tabs .current, .tabs .unavailable, .tabs .available a
{
    display: block;
    float: left;
    color: white;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: -10ex;
    padding-bottom: 10ex;
    position: relative;
    background: #fcb url(/Content/Curves/tab-faded-r.png) top right no-repeat;
}
.tabs span.bordered
{
    display: block;
    background: url(/Content/Curves/tab-faded-l.png) top left no-repeat;
}
.tabs .current
{
    background-color: #e55900;
    background-image: url(/Content/Curves/tab-bright-r.png)
}
.tabs .current span.bordered
{
    background-image: url(/Content/Curves/tab-bright-l.png)
}
.tabs .available a:hover
{
    background-color: #b40;
    background-image: url(/Content/Curves/tab-dark-r.png)
}
.tabs .available a:hover span.bordered
{
    background-image: url(/Content/Curves/tab-dark-l.png)
}
.tabs li span span
{
	padding: .2em .5em;
	margin: 0;
	display: block;
}
li.available a
{
	width: 100%;
}
.surveytabs li.available a
{
    width: auto;
}


dt
{
    font-weight: bold;
}
.faq dt, .sessionentry-dialog dt
{
    cursor: pointer;
}
dd
{
    margin-bottom: 1em;
}
dd p
{
    margin: 0;
}

.minilogin
{
    margin: .4em;
}
.minilogin p
{
    margin: .4em 0;
}
.minilogin label
{
    display: inline;
}
.loginbutton
{
	border: none;
	background: #323336;
	color: white;
	padding: 2px;
	width: 42px;
}
.minilogin .in
{
    margin-right: 47px;
}

.agreement
{
    border: 3px double black;
    font-size: .9em;
    padding: 0 .5em;
    margin: 1em;
}
.continue
{
    text-align: right;
    clear: both;
}
.continue input
{
    font-size: 1.5em;
    padding: .25em .5em;
	border: none;
	background: #626366;
	color: White;
}

.sessionentry
{
    padding-bottom: 1em;
}
.sessionentry h3
{
    color: #626366;
    font-weight: normal;
    font-size: 1.25em;
    margin: 1em;
}
.sessionentry ul
{
    display: block;
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.sessionentry li, .sessionentry-dialog
{
    background: white;
    display: block;
    padding: 1em;
    border: 2px solid #e55900;
    -moz-border-radius: 20px;
    margin: 1em auto;
    width: 35em;
}
.sessionentry h4, .sessionentry-dialog h3
{
    color: #e55900;
    margin: 0;
    font-weight: normal;
    font-size: 1.25em;
}
.sessionentry p
{
    margin: 0;
}
.sessionentry .buttons
{
    text-align: right;
}
.sessionentry-dialog
{
    width: 600px;
    position: absolute;
    z-index: 200;
}
.sessionentry-dialog .close
{
    margin: 0;
    text-align: right;
}
.sessionentry-dialog input
{
    width: 70px;
}
.sessionentry-dialog ul
{
    display: block;
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.sessionentry-dialog li
{
    display: block;
    margin: 0;
    padding: 0;
}
.sessionentry-dialog ul span
{
    font-size: .9em;
}
.sessionentry-dialog .drinks input
{
    width: 40px;
}
.sessionentry-dialog .drinks .button
{
    width: 3ex;
    height: 3ex;
    line-height: 1;
    padding: 0;
    text-indent: 0;
}
.sessionentry-dialog p, .sessionentry-dialog dl
{
    margin: .25em 0;
}
.sessionentry-dialog .drinkbuttons button
{
    width: 525px;
}
.sessionentry-dialog hr
{
    border: 1px solid #e55900;
}

.dialog-overlay
{
    background: #626366;
    position: absolute;
    top: 0;
    left: 0;
    opacity: .6;
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60);
    z-index: 100;
}
.ui-dialog
{
    width: auto !important;
}

.labelonly
{
    font-weight: bold;
}

.ui-datepicker-trigger
{
    vertical-align: middle;
    padding: .4em;
}
.ui-datepicker
{
    background: #eef;
    border: 2px solid #e55900;
    width: 19em;
    padding: .2em;
    display: none;
}
.ui-datepicker .ui-datepicker-prev
{
    float: left;
    width: 3em;
}
.ui-datepicker .ui-datepicker-next
{
    float: right;
    width: 3em;
}
.ui-datepicker a
{
    display: block;
    padding: .3em;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    color: #111;
}
.ui-datepicker a.ui-state-disabled
{
    visibility: hidden;
}
.ui-datepicker a:hover
{
    background: #e55900;
    color: white;
}
.ui-datepicker-title
{
    padding: .3em;
    text-align: center;
}
.ui-datepicker-title select
{
    margin: -.4em 0;
    padding: .2em;
    font-size: 1.1em;
}
.ui-datepicker table
{
    width: 100%;
}
.ui-datepicker td, .ui-datepicker th
{
    text-align: center;
    padding: 0;
    background: none;
    border: none;
}
.ui-datepicker .ui-state-active
{
    font-weight: bold;
}

.ui-datepicker-cover {
    display: none; /*sorry for IE5*/
    display/**/: block; /*sorry for IE5*/
    position: absolute; /*must have*/
    z-index: -1; /*must have*/
    filter: mask(); /*must have*/
    top: -4px; /*must have*/
    left: -4px; /*must have*/
    width: 200px; /*must have*/
    height: 200px; /*must have*/
}

.timepicker
{
    position: absolute;
    height: 200px;
    overflow: auto;
    display: block;
    z-index: 300;
    background: #eef;
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-align: center;
}
.timepicker li
{
    margin: 0;
    padding: 0;
    cursor: default;
}
.timepicker li:hover
{
    background: #ccf;
}
.timepicker .timelabel
{
    background: #ccf;
    font-size: .8em;
    font-weight: bold;
}

a.logoutLink, .minilogin h2
{
	color: #e55900;
	font-size: 1em;
	margin: 0;
	font-weight: bold;
}

.chart-norms, .chart-lastweekdrink
{
    float: left;
    padding: 1em;
}

.chart-binge, .chart-profile
{
    margin: auto;
    width: 600px;
}

table.behaviour
{
    width: 100%;
    margin-top: 1em;
}
table.behaviour tbody th
{
    text-align: right;
}

ul.tabs
{
	float: left;
}

#innerWrapper 
{
	float: left;
	width: 100%;
	position: relative;

}

.info-block
{
    padding-left: 2em;
}

.question
{
	background: #f0f1f2;
	border: 1px solid #626366;
	color: black;
	padding: 0.5em;
	margin: 0.7em;
	zoom: 1; /* Give hasLayout to ie6 */
}

#drinkchange3months label, #drinklessinterest label, #drinkmorethanshould label
{
    display: block;
}

div.charts
{
	width: 800px;
	margin: auto;
}

#skiplink
{
    height: 0;
    position: absolute;
    left: -99999px;
}
