/*-----------------------------------------------------------------------------
Stylesheet for Morning Digital Design / www site / base
version:	1.0
date:   	01/01/10
author: 	Morning /
email:  	aleksi.lampinen@morning.fi
-----------------------------------------------------------------------------*/


/*-----------------------------------------------------------------------------
	BROWSWER RESET
-----------------------------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
	}
/* remember to define focus styles! */
:focus {
	outline: 0;
	}
body {
	line-height: 1;
	color: black;
	background: white;
	}
ol, ul {
	list-style: none;
	}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
	}
caption, th, td {
	text-align: left;
	font-weight: normal;
	}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
	}
blockquote, q {
	quotes: "" "";
	}
	
.no-margin {margin: 0 !important}

.last {margin-right: 0 !important}

/*-----------------------------------------------------------------------------
	CLEARFIX
-----------------------------------------------------------------------------*/

/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html] */

.clear { display: inline-block; }   
.clear:after, .container:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}
* html .clear { height: 1%; }
.clear { display: block; }


/*-----------------------------------------------------------------------------
	LAYOUT - MAIN CONTAINERS
-----------------------------------------------------------------------------*/

body {
	overflow: -moz-scrollbars-vertical;
	font-size: 62.5%;
	font-family: helvetica, arial, sans;
	background: #f5f5f0;
	color: #2a2a2a;
	text-align: center;
	}
	
	
#wrap {
	position: relative;
	width: 960px;
	padding: 0 20px;
	margin: 0 auto;
	text-align: left;
	}
	

#header {
	width: 960px;
	height: 120px;
	}
	
	
#menu {
	width: 960px;
	height: 50px;
	margin-left: -5px;
	padding-left: 15px;
	color: #FFF;
	background: url(../images/menubar2.png) no-repeat 0px -1px;
	}
	
#content {
	width: 960px;
	min-height: 200px;
	margin-bottom: 20px;
	}
	
#footer {
	width: 960px;
	height: 100px;
	border-top: 1px solid #cbc7c7;
	}
	
#job {
	display: none;
	position: absolute;
	width: 160px;
	height: 140px;
	left: 50%;
	top: 0;
	margin-left: 170px;
	background: url(../images/job.jpg) no-repeat bottom left;
	}
	
/*-----------------------------------------------------------------------------
	LAYOUT - CONTENT STUFF
-----------------------------------------------------------------------------*/
	
#title {
	float: left;
	width: 600px;
	height: 100px;
	background: url(../images/title.png) no-repeat 10px 30px;
	}	
	
#logo {
	float: right;
	width: 360px;
	height: 72px;
	margin-top: 28px;
	background: url(../images/morning.png) no-repeat top right;
	}
	
#content-left {
	float: left;
	width: 220px;
	min-height: 100px;
	margin: 0px 10px;
	}
	
#content-right {
	float: right;
	width: 700px;
	min-height: 100px;
	margin: 0px 10px;
	}
	
#blog {
	margin-bottom: 15px;
	}
	
#copy {
	float: left;
	width: 300px;
	margin-top: 10px;
	}
	
#end {
	float: right;
	width: 300px;
	text-align: right;
	margin-top: 10px;
	vertical-align: bottom
	baseline: bottom;
	}
	
#works {
	
	}
	
#contact {
	margin-bottom: 15px;
	margin-top: 15px;
	}

body#contactpage #contact {
	margin-bottom: 15px;
	margin-top: 0px;
	}


#map-container {
	width: 682px;
	min-height: 200px;
	padding: 8px;
	background: #FFF;
	}
	
#map-container-border {

	padding: 1px;
	background: #cfcbcb;
	width: 698px;
	height: 268px;
	
	}

#map {
	float: left;
	width: 448px;
	height: 250px;
	border: 1px solid #cfcbcb;
	}

#map-sidebar {
	float: right;
	width: 210px;
	padding-top: 5px;
	}

#tweets {
	overflow: hidden;
	}
	
.error_message {

	}
	
.fb_invalid {
	color: #F1561A;
	font-weight: bold;
	}

textarea {
	padding: 3px;
	font-family: helvetica, arial, sans;
	font-size: 12px;
	}

/*-----------------------------------------------------------------------------
	TYPE
-----------------------------------------------------------------------------*/	
	
p {
	font-size: 1.2em;
	line-height: 15px;
	margin-bottom: 14px;
	}
	
h1 {
	font: 2.0em/23px "Verdana";
	margin-bottom: 13px;
	}
	
h2 {
	font: 1.5em/16px "Verdana";
	font-weight: normal;
	margin-bottom: 7px;
	}

#map-sidebar h2 {
	color: #ff6600;
	margin-bottom: 15px !important;
	}
	
#title h1 {
	font-size:  2.8em;
	color: #F1561A;
	text-transform: uppercase;
	padding: 75px 0 0 12px;
	}

strong {
	font-weight: bold;
	}

#contact h2 {
	margin-bottom: 10px;
	}
	
/*-----------------------------------------------------------------------------
	LISTS
-----------------------------------------------------------------------------*/

ul {
	margin-bottom: 15px;
	}

#menu ul {
	margin: 0;
	}

ul#category li {
	font-size: 12px;
	margin-bottom: 5px;
	}

/*-----------------------------------------------------------------------------
	LINKS
-----------------------------------------------------------------------------*/

a {
	text-decoration: none;
	color: #FF6600;
	}
	
a:hover {
	color: #2a2a2a;
	text-decoration: underline;
	}

a.button {
	display: block;
	height: 21px;
	width: 120px;
	background: url(../images/button_left.png) no-repeat top left;
	color: #2a2a2a;
	text-decoration: none;
	font-weight: bold;
	margin: 0px 0px 10px -1px;
	}
	
a.button span {
	display: block;
	position: relative;
	left: 10px;
	height: 16px;
	background: url(../images/button_right.png) no-repeat top right;
	padding: 5px 0px 0px 20px;
	font-size: 1.1em;
	}
	
a.button:hover {
	background: url(../images/button_left_hover.png) no-repeat top left;
	} 
	
a.button:hover span {
	display: block;
	position: relative;
	left: 10px;
	height: 16px;
	background: url(../images/button_right_hover.png) no-repeat top right;		
	padding: 6px 0px 0px 21px;
	} 
	
a.button2 {
	display: block;
	height: 21px;
	width: 120px;
	background: url(../images/button2_left.png) no-repeat top left;
	color: #2a2a2a;
	text-decoration: none;
	font-weight: bold;
	margin: 20px 0px 20px -1px;
	}
	
a.button2 span {
	display: block;
	position: relative;
	left: 10px;
	height: 16px;
	background: url(../images/button2_right.png) no-repeat top right;
	padding: 5px 0px 0px 30px;
	font-size: 1.1em;
	}
	
a.button2:hover {
	background: url(../images/button2_left_hover.png) no-repeat top left;
	} 
	
a.button2:hover span {
	background: url(../images/button2_right_hover.png) no-repeat top right;		
	padding: 6px 0px 0px 31px;
	} 

	

#menu a {
	display: block;
	float: left;
	height: 39px;
	margin: 8px 35px 0 10px;
	font: 1.3em/16px "arial";
	color: #2a2a2a;
	padding: 0px 0 0 0;
	}

#menu a:hover {
	color: #ff6600;
	text-decoration: underline;
	}
	
#menu a.menuactive {
	height: 39px;
	font-weight: bold;
	cursor: default;
	background: url(../images/menu_indicator2.png) no-repeat bottom center;
	}

#menu a.menuactive:hover {
	color: #2a2a2a;
	text-decoration: none;
	}
	
.boxgrid a {
	display: block;
	height: 60px;
	margin-top: -60px;
	padding-top: 60px;
	}

.boxgrid a:hover {
	color: #FF6600;
	}
	
ul#category img {
vertical-align: bottom
	}


/*-----------------------------------------------------------------------------
	SLIDING BOXES
-----------------------------------------------------------------------------*/

.boxgrid-border {
	float:left; 
	width: 225px;
	height: 150px;
	margin:0 9px 8px 0; 
	background: #cfcbcb;
	padding: 1px;
	
	}

.boxgrid {
	width: 225px;
	height: 150px;
	background:#1a1a1a; 
	overflow: hidden; 
	position: relative; 
	}
	
.last { 
	margin:0 0px 10px 0 !important; 	
	}

.boxgrid img { 
	position: absolute; 
	top: 0; 
	left: 0; 
	border: 0;
	padding: 5px;
	width: 215px;
	height: 140px;
	background: #FFF;
	}

.boxgrid p { 
	padding: 0 0 0 15px; 
	color:#FFF; 
	font-weight:bold; 
	}

.boxgrid h1 {
	color: #FFF;
	padding: 9px 0px 0 15px;
	font-size: 16px;
	margin-bottom: 5px;
	}
	
.boxgrid h2 {
	padding: 0 0 0 15px;
	}
	
.boxgrid a {
	}
				
.boxcaption { 
	float: left; 
	position: absolute; 
	background: #000; 
	height: 100px; 
	width: 100%; 
	opacity: .8; 
	/* For IE 5-7 */
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
	/* For IE 8 */
	-MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	}

.captionfull .boxcaption {
	top: 260;
	left: 0;
	}

.caption .boxcaption {
	top: 220;
 	left: 0;
	}	
	
/*-----------------------------------------------------------------------------
	CUSTOMER LOGOS 
-----------------------------------------------------------------------------*/

#clients {
	margin-top: 10px;
	}

#clients img {
	margin: 10px 1px;
	}

div.rounded {
	position: relative;
	height: 78px;
	width: 130px;
	background: #FFF;
	top: 1px;
	left: 1px;
	}

div.fadehover {
	position: relative;
	width: 132px;
	height: 80px;
	float: left;
	margin: 0 10px 8px 0;
/*	border: solid 1px #cfcbcb;*/
	background: #cfcbcb;
	}
 
img.a {
	position: absolute;
	left: 0;
	top: 0;
        z-index: 10;
	}
 
img.b {
	position: absolute;
	left: 0;
	top: 0;
	}
	
img.blog {
	margin: 0 20px 10px 0;
	padding: 10px;
	background: #FFF;
	border: solid 1px #cfcbcb;
	}

label {
	display: block;
	font-size: 12px;
	}
	
label.label {
	display: inline;
	}
	
.contactform input {
	margin-bottom: 10px;
	}
	
.contactform legend {
	display: none;
	}
	
.contactform {
	background: #FFF;
	width: 658px;
	height: 375px;
	padding: 15px 20px 10px 20px;
	}
	
.contactform-border {
	padding: 1px;
	background: #cfcbcb;
	width: 698px;
	height: 400px;
	margin-top: 10px;
	}
	
div.submit {
	margin-top: 15px;
	}
	
.CGBlogSummaryIcon {
	float: left;
	width: 24px;
	height: 24px;
	margin: 0 8px 5px 0;
	}
	
.blogSummary {
	float: left;
	width: 600px;
	}
	
#CGBlogPostDetailContent {
	width: 600px;
	}

.odd {

	}
	
.odd, .even {	
	padding: 10px 0;
	border-top: dashed 1px #cfcbcb;
	}
	
hr {
 color: #cfcbcb;
background-color: #cfcbcb;
height: 10px;
	}

label {

	}
	
#detail-category {
	display: none;
	font-weight: bold;
	font-size: 10px;
	margin-bottom: 0px;
	}
	
	
/*-----------------------------------------------------------------------------
	FLIP 
-----------------------------------------------------------------------------*/


.sponsorListHolder{
	margin-bottom:30px;
}

.sponsor{
	width:225px;
	height:150px;
	float:left;
	margin:4px;
	
	/* Giving the sponsor div a relative positioning: */
	position:relative;
	cursor:pointer;
}

.sponsorFlip{
	/*  The sponsor div will be positioned absolutely with respect
		to its parent .sponsor div and fill it in entirely */

	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	border:1px solid #ddd;	
	background:url("img/background.jpg") no-repeat center center #FFF;
}

.sponsorFlip:hover{
	border:1px solid #999;
	
	/* CSS3 inset shadow: */
	-moz-box-shadow:0 0 30px #999 inset;
	-webkit-box-shadow:0 0 30px #999 inset;
	box-shadow:0 0 30px #999 inset;
}

.sponsorFlip img{
	/* Centering the logo image in the middle of the sponsorFlip div */
	
	position:absolute;
	top:5px;
	left:5px;
	width: 215px;
	height: 140px;
	
}

.sponsorData{
	/* Hiding the .sponsorData div */
	display:none;
}

.sponsorDescription{
	font-size:11px;
	padding:50px 10px 20px 20px;
	font-style:italic;
}

.sponsorURL{
	font-size:10px;
	font-weight:bold;
	padding-left:20px;
}


