@import url("resetStyles.css");

body{
	font-family: "Raleway", Arial, sans-serif;
	border-top: 20px solid #F0ECEC;
	color: #808080;
	font-size: 1em;
}

.centeredContent{
	margin: 0 auto;
}

h1{
	font-size: 2.5em;
	font-weight: 700;
}

h2{
	font-size: 2.5em;
	padding: 0 0 1em 0;
	color: #808080;
}

h3{
	font-size: 1.5em;
	padding: 0 0 1em 0;
	color: black;
}

.productOverview h3,
.benefits h3{
	font-size: 2.5em;
	line-height: 1.2em;
	width: 10em;
}

.benefits h3{
	padding-top: 1em;
}

.retro h3{
	padding-top: 2em;
}

h4{
	height: 3em;
	font-weight: bold;
	padding: 1em 1em 0.5em;
}

h5{
	font-weight: bold;
	padding-bottom: 0.5em;
}

a{
	text-decoration: none;
	color: #6699FF;
}

#content{
	width: 80em;
}

#header, #snippets, #introduction{
	width: 60.5em;
}

#footer{
	width: 75em;
}


/* ------------------------------------------- Header and Navigation */

#header{
	padding-top: 0.5em;
	padding-bottom: 2em;
}

#logo{
	display: block;
	width: 15em;
	background: url("../images/c4-logo.png") no-repeat 1.4em 3.1em;
	margin: 1em 0;
	padding: 0 0 1em 0;
	color: #808080;
}

#logo span{
	display: block;
	padding: 0.5em 0 0 0;
}

#nav{
	display: block;
	float: right;
}

#nav li{
	display: inline-block;
}

#nav li a{
	display: inline-block;
	padding: 1em;
	font-weight: bold;
	color: #808080;
	font-size: 0.8em
}

#nav li.selected a{
	background-color: #808080;
	color: #fff;
	border-radius: 5px;
}

div#demo{
	position: absolute; 
	top: 0px;
	right: 10px;
}

div#demo a{
	display: block;
	float: left;
	padding: 1em 1em 0.4em;
	background-color: #F0ECEC;
	font-size: 0.8em;
	font-weight: bold;
}

div#demo #left, div#demo #right{
	display: block;
	float: left;
	width: 30px;
	height: 50px;
	background: url("../images/tab.png") no-repeat;
}

div#demo #left{
	background-position: top left;
}

div#demo #right{
	background-position: top right;
}


/* ------------------------------------------- Tagline */

#tagLine{
	padding: 100px 0 80px;
	background-color:#45AAF2;
	color: #fff;
	text-align: center;
	font-weight: 700;
	font-size: 2em;
}

#tagLine .sub{
	font-size: 0.75em;
	font-weight: 200;
	padding: 1em 0 0 0;
}


/* ------------------------------------------- Footer */

#footerContainer{
	background-color: #666;
	color: #fff;
	padding: 3em 3em 1em;
	margin: 3em 0 0 0;
	font-size: 0.8em;
}

#footer span{
	display: block;
	float: left;
	width: 14.5em;
	height: 8em;
	padding: 2em;
	vertical-align: top;
	border-right: 1px solid #7e7e7e;
	border-left: 1px solid #565656;
	margin: 0;
}

#footer span:first-child{
	border-left: 0;
}

#footer span:last-child{
	border-right: 0;
}

#footer p{
	line-height: 1.3em;
}

#footer ul li{
	list-style-position: outside;
	list-style-type: circle;
	padding-bottom: 5px;
	margin-left: 1.2em;
	line-height: 1.2em;
}

#footer dt, #footer dd{
	display: inline-block;
	padding-bottom: 0.6em;
}


/* ------------------------------------------- Homepage Overview */

#overviewContainer{
	background: url("../images/photos/mouse.jpg") no-repeat 0 100px;
	padding: 3em 0 13em;
	border-bottom: 1px solid #eee;
}

#overviewContainer #overview{
	width: 60em;
	margin: 0 auto;
}

#overviewContainer #decription{
	float: left;
	width: 30em;
	background-color: rgba(255,255,255,0.8);
}

#overviewContainer p{
	padding: 0 0 1em 0;
	line-height: 1.55em;
}

#overviewContainer #demo{
	display: block;
	margin: 1em 0 0 2em;
	background-color: #e6e6e6;
	border-radius: 5px;
	padding: 1em;
	width: 26em;
	float: right;
}

#overviewContainer #demo p{
	font-size: 0.8em;
	line-height: 1.3em;
	color: #000;
	padding: 1em 0 1em 6em;
	background: url("../images/mailIcon.png") no-repeat bottom left;
}

#overviewContainer #info{
	display: block;
	margin: 1em 0 0 2em;
	background-color: #e6e6e6;
	border-radius: 5px;
	padding: 1em;
	width: 26em;
	float: right;
}

#overviewContainer #info p{
	font-size: 0.8em;
	line-height: 1.3em;
	color: #000;
	padding: 1.2em 0 1em 6em;
	background: url("../images/downloadIcon.png") no-repeat bottom left;
}


/* ------------------------------------------- Homepage Snippets */

#snippets{
	padding-top: 0em;
	margin-top: 3em;
}

#snippets ul li{
	width: 15em;
	height: 31.5em;
	float: left;
	margin: 0 1px 0 0;
	background-color: #69BBF5;
	color: #fff;
	font-size: 0.8em;
	line-height: 1.35em;
}

#snippets ul span{
	display: block;
	width: 100%;
	height: 15em;
}

#snippets p{
	padding: 0 1em;
}

#snippets a{
	color: inherit;
}

#allowances span{
	background: url("../images/photos/piggyBank1.jpg") no-repeat center;
}

#awote span{
	background: url("../images/photos/cog.jpg") no-repeat right;
}

#certificates span{
	background: url("../images/photos/folders.jpg") no-repeat center ;
}

#hris span{
	background: url("../images/photos/computer1.jpg") no-repeat 0 -75px;
}

#config span{
	background: url("../images/photos/computer2.jpg") no-repeat 0 -40px;
}


/* ------------------------------------------- Product Overview/Benefits Content */

#introduction{
	padding: 3em 0;
}

#introduction div{
	position: relative;
}

#introduction p{
	padding: 0 0 1em 0;
	line-height: 1.55em;
}

div#content{
	width: 80em;
	margin: 3em auto 0;
}

div#content div{
	margin: 0 0 8em 0;
}

div#content div span.container{
	display: block;
	width: 30em;
}

div#content div:nth-child(odd) span.container{
	float: right;
	padding-right: 2em;
}

div#content div:nth-child(even) span.container{
	float: left;
	padding-left: 2em;
}

div#content.productOverview div:nth-child(even) a, 
div#content.benefits div:nth-child(even) span.imgContainer{
	float: right;
}

div#content p{
	padding: 0 0 1em 0;
	line-height: 1.55em;
	width: 30em;
}

div#content ul li{
	list-style-position: outside;
	list-style-type: circle;
	padding-bottom: 5px;
	margin-left: 1em;
	line-height: 1.5em;
}

div#content.productOverview a, 
div#content.benefits div span.imgContainer{
	display: block;
	width: 45em;
}

div#content.productOverview a img{
	width: 100%;
}

div#content.benefits img{
	display: block;
	margin: 0 auto;
}

div#content div#schemeSpecific img{
	width: 20em;
	margin: 0 10em;
}

div#content a span{
	display: block;
	width: 100%;
	text-align: left;
	color: #666;
	font-size: 0.8em;
	margin-top: 1em;
}




/* ------------------------------------------- Contact */

#contactContainer{
	padding-top: 3em;
	width: 60em;
	margin: 0 auto;
}

#contactContainer div{
	position: relative;
}

#contactContainer p{
	padding: 0 0 1em 0;
	line-height: 1.55em;
}

#contactFormContainer{
	padding-top: 3em;
}

fieldset label{
	display: block;
}

fieldset label span.label, 
fieldset label div{
	display: inline-block;
}

fieldset label span.label{
	width: 10em;
	vertical-align: top;
	padding: 0.5em 0.5em 0.5em 0;
}

.mandatory{
	display: inline;
	color: red;
}

input, textarea{
	width: 19em;
	border-radius: 5px;
	border: 1px solid #ccc;
	padding: 0.5em;
}

button{
	display: block;
	padding: 0.5em;
	margin: 1em 0 0 29.2em;
}

button:hover{
	cursor: pointer;
}

.messageDisplay .gwt-HTML {
	width: 30em;
	padding: 1em;
	margin: 1em 0;
	line-height: 1.2em;
	color: green;
	border: 2px solid green;
	background-color: #ebffeb;
	border-radius: 1em;
}

.messageDisplay.messageDisplay-errorMsg .gwt-HTML{
	color: red;
	border: 2px solid red;
	background-color: #ffebeb;
}

.errorMsgInline{
	color: red;
	line-height: 1.5em;
}





/* ------------------------------------------- General Styles */

.emphasised{
	font-style: italic;
}

.bolded{
	font-weight: bold;
}

.clearFix:after{
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}


/*  ------  GWT Styles */

.gwt-PopupPanelGlass {
  background-color: #000;
  opacity: 0.6;
  filter: alpha(opacity=60);
}

.gwt-DialogBox{
	position: relative;
	background-color: #eee;	
	padding: 2em;
	border-radius: 1em;
}

.gwt-DialogBox .cancelBtn{
	position: absolute;
	top: -2em;
	right: -1em;
	background: url("../images/closeIcon.png") no-repeat;
	border: 0;
	color: transparent;
	width: 37px;
	height: 37px;
}