html{
}

body {
	height:100%;
	background-color: #F6F6F7;
	line-height: 2em;
}

*{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body, td, input{
	font-size: 0.85em;
	font-family: OpenSans, Arial, Geneva, sans-serif;
	font-weight: 400;
	color: #46464a;
	text-rendering: optimizelegibility;
}

textarea{
	resize: none;
}

span.keyline{
	display: block;
	clear: both;
	border-bottom: 1px solid #E8E8E8;
	margin-bottom: 1.75em;
}

span.keyline:last-child{
	display: none;
}

a,
a:visited{
	color: #00AEEF;
	text-decoration: none;
}

h1, h2, h3{
	font-weight: 500;
}

h1{
	margin-bottom: 1.5em;
}

h2{
	margin-bottom: 0.5em;
}

h1{
	font-size: 1.5em;
}

h2{
	font-size: 1.25em;
}

h3{
	font-size: 1.2em;
	margin-bottom: 0.25em;
}

abbr{
	border-bottom: 1px dotted silver;
}

.cleared{
	clear: both;
}

#main-navigation-wrapper,
#engineering-navigation-wrapper,
#header-wrapper,
#content-wrapper,
#mid-content-wrapper,
#footer-wrapper{
	width: 100%;
}

#main-navigation-wrapper{
	background-color: #0A519D;
}

#main-navigation-wrapper li{
	text-align: center;
	line-height: 40px;
}

#main-navigation-wrapper a{
	display: block;
}

#main-navigation-wrapper a,
#main-navigation-wrapper a:visited{
	transition-property: background;
	transition-duration: 0.5s;
	transition-timing-function: linear;
	color: white;	
	text-decoration: none;
}

#main-navigation-wrapper a:hover{
	background-color: #004086;
}

#main-navigation-wrapper .selected a{
	background-color: #004086;
}

#main-navigation-wrapper #logo{
	width: 156px;
	height: 67px;
	background: 0 0 url("../images/logo.png") no-repeat;
	margin: 0em auto;
}


#engineering-navigation-wrapper{
	background-color: #ED2229;
}

#engineering-navigation-wrapper li{
	text-align: center;
	line-height: 20px;
}

#engineering-navigation-wrapper a{
	display: block;
}

#engineering-navigation-wrapper a,
#engineering-navigation-wrapper a:visited{
	transition-property: background;
	transition-duration: 0.5s;
	transition-timing-function: linear;
	color: white;	
	text-decoration: none;
}

#engineering-navigation-wrapper a:hover{
	background-color: #90161B;
}

#engineering-navigation-wrapper .selected a{
	background-color: #90161B;
}

#engineering-logo{
	position: relative;
	width: 156px;
	height: 150px;
	background: center center url("../images/brands/unifreight-engineering.png") no-repeat;
	margin: 0em auto;
}


#header-wrapper{
	display: none;
}

#content-wrapper,
#mid-content-wrapper{
	padding: 10px;
	background-color: #FFFFFF;
}

#footer-wrapper{
	border-top: 5px solid #464648;
	background-color: #F6F6F7;
	padding-top: 20px;
	padding-bottom: 30px;
	color: #969696;
	font-size: 0.95em;
}

#footer-wrapper a{
	display: block;
}

#footer-wrapper a,
#footer-wrapper a:visited{
	color: #838381;	
	text-decoration: none;
}

#footer-wrapper li{
	text-align: center;
	line-height: 40px;
}

.title{
	font-weight: bold;
}

.captcha{
	display: none;
}

.error{
	color: red;
	font-size:0.8em;
}

.seperator{
	height: 1em;
}

ul{
	list-style-type: none;
}

.engineering ul{
	list-style-type: disc;
	list-style-position: inside;
}

#contact-form label,
#contact-form input.textbox,
#contact-form textarea{
	width: 100%;
}

#contact-form label{
	display: block;
	margin-top: 10px;
}

#contact-form input.textbox,
#contact-form textarea{
	border: 2px solid #FFF;
}

#contact-form input.textbox,
#contact-form input.button{
	height: 30px;
	line-height: 30px;
}

input.button{
	height: 30px;
	line-height: 30px;
	background-color: #216195;
	width: 95px;
	height: 30px;
	line-height: 30px;
	border: 1px none #000;
	color: white;
}

div.brand{
}

div.brand .description{
	font-size: 0.95em;
}

div.engineering .title{
	color: #ED2229;
}
	
a.link{
	margin-top: 3px;
	display: block;
	color: white;
	background-color: #216195;
	width: 95px;
	height: 30px;
	line-height: 30px;
	text-align: center;
}


a.new{
	display: block;
	width: 28px;
	height: 28px;
	background: center center url("../images/action_new.png") no-repeat;
	text-indent: -9000px;
	overflow: hidden;
}

a.edit{
	display: block;
	width: 28px;
	height: 28px;
	background: center center url("../images/action_edit.png") no-repeat;
	text-indent: -9000px;
	overflow: hidden;
}

a.delete{
	display: block;
	width: 28px;
	height: 28px;
	background: center center url("../images/action_remove.png") no-repeat;
	text-indent: -9000px;
	overflow: hidden;
}

div.article .text,
div.download .text{
	font-size: 0.95em;
	height: 80px;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 1em;	
}


div.article .title,
div.download .title{
	color: #484849 !important;
}

#home-articles ul,
#home-downloads ul{
	height: 180px;
}

#market-news ul{
	height: 210px;
	border: 1px solid silver;
	padding: 10px;
}

#market-news h2{
	padding: 0.1em 0.5em;
	margin-bottom: 2px;
	border: 1px solid #454547;
	color: white;
	background-color: #454547;
}

#market-news li{
	list-style-position: inside;
	list-style-type: square;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

#market-news li a{
	color: #4c4c4c;
}

ul.articles,
ul.downloads {
    list-style-image: url("../images/angular-bullet.png");
	list-style-position: inside;
} 

ul.investor-downloads {
    list-style-image: url("../images/download.png");
	list-style-position: inside;
} 

ul.investor-downloads .text{
	
}

.stock{
	padding-bottom: 1.5em;
}

.articles a,
.downloads a{
	color: #484849;
}

.articles li,
.downloads li{
	padding: 5px;
}

.feeds li,
.stock li{
	padding: 1px;
}

#home-articles li,
#home-downloads li{
	padding: 0px;
}

ul.lined li{
	border-top: 1px solid rgba(0,0,0,0.15);
}

.articles li:first-child,
.downloads li:first-child,
.feeds li:first-child{
	border-top-style: none;
}

.articles li:last-child,
.downloads li:last-child,
.feeds li:last-child{
	border-bottom-style: none;
}

.articles .views,
.downloads .size,
.feeds .time{
	color: #3f3f41;
	font-size: 0.85em;
	display: none;
}

a.more{
	color: white;
	padding: 5px 15px 5px 5px;
	width: 90px;
	font-weight: bold;
	font-size: 0.9em;
	text-align: center;
	background: #225D8C bottom right url("../images/more-button.png") repeat-x;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

a.more:hover{
	background: #225D8C bottom right url("../images/more-button-hover.png") repeat-x;
}

.always-right{
	float: right !important;
}

.director{
	padding-bottom: 5em;
	font-size: 0.9em;
}

.director h3{
	color: #004086;
}

.director h3 > i{
	color: #000000;
}

div > ol{
	afont-weight: bold;
}

ol > li{
	margin-bottom: 1em;
}

ol.conditions > li{
	margin-bottom: 2.5em;
}

ol{
	margin-left: 1.5em;
}

ol ol{
	font-weight: normal;
	list-style-type: lower-alpha;
}

ol ol ol{
	font-weight: normal;
	list-style-type: lower-roman;
	font-style: italic;
}

.down{
	color: red;
}	

.up{
	color: blue;
}

.value{
	float: right;
}

.warning{
	color: red;
}

.dashboarded{
	padding: 0em 0em 1em 0em; 
	border-bottom: 1px solid #e0e0e0;
}

.desktop-only{
	display: none;
}

div.download img{
	border: 1px solid #e3e3e3;
	background-color: #f1f1f1;
}
/*
div.download img{
position: relative;
sfloat: left;
awidth: 250px;
aheight: 150px;
padding: 0;
border: 1px solid #efefef;
margin: 0 30px 30px 0;
background: #fff;
-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset; }


div.download img:before,
div.download img:after {
content: '';
z-index: -1;
position: absolute;
left: 10px;
bottom: 10px;
width: 70%;
max-width: 300px; /* avoid rotation causing ugly appearance at large container widths * /
max-height: 100px;
height: 55%;
-webkit-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
-webkit-transform: skew(-15deg) rotate(-6deg);
-moz-transform: skew(-15deg) rotate(-6deg);
-ms-transform: skew(-15deg) rotate(-6deg);
-o-transform: skew(-15deg) rotate(-6deg);
transform: skew(-15deg) rotate(-6deg); }


div.download img:after {
left: auto;
right: 10px;
-webkit-transform: skew(15deg) rotate(6deg);
-moz-transform: skew(15deg) rotate(6deg);
-ms-transform: skew(15deg) rotate(6deg);
-o-transform: skew(15deg) rotate(6deg);
transform: skew(15deg) rotate(6deg); }*/


@media screen and (min-width: 1000px){
	.desktop-only{
		display: block;
	}

	h1{
		margin-top: 1.5em;
	}

	div.article .text,
	div.download .text{
		height: 3.8em;
		margin-bottom: 2em;
	}

	div.article img{
		width: 225px;
		height: 140px;
	}
	
	div.download img{
		width: 225px;
		height: 318px;
	}
	
	div.brand .description{
		height: 290px;
	}
	
	div.bordered{
		border-right: 1px solid #e0e0e0;	
	}

	div.engineering .description{
		height: 175px;	
	}

	.greyed{
		background-color:#eee;
		padding: 0.5em !important;
	}
	
	.no-padding {
		padding: 0px !important;	
	}
	
	.no-padding .title {
		padding-left: 1em;
	}
	
	.director img{
		margin-right: 1em;
		margin-bottom: 2em;
	}
	
	.left{
		float: left !important;
	}

	.right{
		float: right !important;
	}
	
	#main-navigation-wrapper{
		padding: 0px 0 0px 0;
	}

	#main-navigation-wrapper #logo{
		margin: 0px;
	}

	#main-navigation-wrapper li{
		line-height: 67px;
	}
	
	#main-navigation-wrapper li,
	#footer-wrapper li{
		display: inline;
		float: left;
	}
	
	#main-navigation-wrapper a{
		padding: 0px 35px 0px 35px;
	}
	
	#engineering-navigation-wrapper{
		padding: 0px 0 0px 0;
	}

	#engineering-navigation-wrapper #logo{
		margin: 0px;
	}

	#engineering-navigation-wrapper li{
		line-height: 37px;
	}
	
	#engineering-navigation-wrapper li,
	#footer-wrapper li{
		display: inline;
		float: left;
	}
	
	#engineering-navigation-wrapper a{
		padding: 0px 35px 0px 35px;
		width: 200px;
	}

	#footer-wrapper a{
		padding: 0px 20px 0px 20px;
	}

	#header-wrapper{
		display: block;
	}
	
	#content-wrapper{
		padding: 30px 0px 30px 0px;
	}

	#mid-content-wrapper{
		padding: 40px 0px 70px 0px;
	}	
	
	#main-navigation,
	#header,
	#footer,
	#content,
	#mid-content{
		width: 1000px;
		margin: 0em auto;
	}
	
	#mid-content{
		min-height: 300px;
	}
	
	#contact-form ul{
		padding: 0px 25px 0px 25px;
	}
	
	div.one-quarter{
		padding: 0px 10px 0px 10px;
	}

	div.one-quarter:nth-of-type(1),
	div.one-quarter:nth-of-type(5),
	div.one-quarter:nth-of-type(9),
	div.one-quarter:nth-of-type(13),
	div.one-quarter:nth-of-type(17){
		padding: 0px 20px 0px 0px;
	}

	div.one-quarter:nth-of-type(4),
	div.one-quarter:nth-of-type(8),
	div.one-quarter:nth-of-type(12),
	div.one-quarter:nth-of-type(16){
		padding: 0px 0px 0px 20px;
	}

	div.one-third{
		padding: 0px 10px 0px 10px;
	}

	div.one-third:nth-of-type(1),
	div.one-third:nth-of-type(4),
	div.one-third:nth-of-type(7),
	div.one-third:nth-of-type(10){
		padding: 0px 20px 0px 0px;
	}

	div.one-third:nth-of-type(3),
	div.one-third:nth-of-type(6),
	div.one-third:nth-of-type(9){
		padding: 0px 0px 0px 20px;
	}

	div.one-half{
		padding: 0px 40px 0px 0px;
	}

	.charity{
		padding: 10px 10px 10px 10px;		
	}
	
	.sub-section{
	}
	
	.full{
		width: 100%;
	}
	
	.one-quarter{
		width: 25%;
		float: left;
	}

	.three-quarters{
		width: 75%;
		float: left;
	}
	
	.two-quarters,
	.one-half{
		width: 50%;
		float: left;
	}

	.one-third{
		width: 33.333333%;
		float: left;
	}
	
	.two-thirds{
		width: 66.666666%;
		float: left;
	}

	ul.contact li{
		display: inline;
	}

	ul.distinct li{
		padding-right: 1em;
	}
	
	a.view-website{
		width: 125px; position: absolute; right: 20px; top: 70px;	
	}
}