/*   
Theme Name: Noomus
Theme URI: 
Description: 
Author: Eero Louhenperä
Author URI: http://www.modula.fi/
Template: sandbox
Version: 1.0
Tags: sandbox
*/

@import url('css/base.css');
@import url('css/grid.css');

/* Noomus

tummansininen 		#003c68		0,60,104
harmaa 				#bfcfd8		191,207,216
turkoosi			#3ba8db		59,168,219
oranssi				#ff4b33		255,75,51

-------------------------------------------------------------- */


/* Debug
-------------------------------------------------------------- */

/*.column { border-top: 1px dashed red; }
*/
.modal {
	margin: 6px auto;
	border: solid 1px #bfcfd8;
	background: -webkit-gradient(linear, left top, left bottom, from(rgb(255,255,255)), to(rgb(230,230,230)));
	-webkit-box-shadow: 0px 3px 6px rgba(0,0,0,0.25);
	-moz-box-shadow: 0px 3px 6px rgba(0,0,0,0.25);
    -moz-border-radius: 6px;	
    border-radius: 6px;
}

.access { margin: 0;}

/* Grid setup
-------------------------------------------------------------- */

.wordpress {
	background: #eee url(images/bg_eee_fff.png) repeat-x; 
}

#wrapper { font-size: 13px; }
#header { height: 110px; }
#blog-title a { display:block; height: 65px; width: 220px; margin-top: 22px; margin-left: 10px; background: transparent url(images/noomus.png) no-repeat; }

.smaller { font-size: 80%; }

#news {
	line-height: 2em;
	color: #3ba8db;
}
.news_cat a { margin-left: 10px; }
.latest_news a {padding-left: .5em; color: #333; }
.latest_news a:hover {color: #ff4b33; }
.published_home { border: none; font-size: 11px; color: #aaa;}
.rss {float: right; margin-right: 10px; }

#container {
	border-top: solid 1px #ddd;
	border-right: solid 1px #ccc;
	border-bottom: solid 1px #ccc;
	border-left: solid 1px #ccc;
	background: #fff;
	-webkit-box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
}
#container { padding-bottom: 1em; }

#footer { padding: 1.5em 0; text-align: center; }

#extras { margin-left: 20px; margin-top: 300px; padding: 0;}
#extras img { text-align: center; padding-top: 15px; }

#page_image { margin-left: 20px; padding: 0; }

/* Sidebars
-------------------------------------------------------------- */

.xoxo { list-style: none; margin: 0; }
.xoxo ul { margin-left:1em; list-style: none; }
.xoxo li ul, #searchform .text { 
	margin-top: 1em; 
	margin-bottom: 2em; 
}

#searchform .text {
	padding: 1px 8px 0;
	height: 20px;
	border: 1px solid #999;
	-moz-border-radius: 10px; border-radius: 10px;  
}
.xoxo a { color: ; }
.xoxo a:hover { color: #ff4b33; }


.widgettitle {
	font-size: 16px;
	font-weight: normal;
	color: #fff;
	line-height: 1.8em;
	letter-spacing:.6px;
	padding-left: 13px;
	margin: 0;
}

.textwidget { padding: 10px 13px 1px 13px; }

#searchform .text { margin-left: 1em; width: 75% }

/* Markets
-------------------------------------------------------------- */

#markets {
	border-top: solid 1px #ddd;
	border-right: solid 1px #ccc;
	border-bottom: solid 1px #ccc;
	border-left: solid 1px #ccc;
	background: #fff;
	padding-bottom: 5px;
}

#markets .column { 
	background: #003c68; /* The Fallback */
	background: rgba(255,255,255,0.8); 
	margin-top: 10px;
	margin-bottom: 4px;
	overflow: hidden;
}

#fourth  { 
	height: 297px;
	font-size: 21px;
	text-align: center;
	background: #bfcfd8; /* The Fallback */	
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F2FAFF), to(#BFCFD8));
	background: -moz-linear-gradient(40% 75% 90deg,#BFCFD8, #F2FAFF);
}
#fourth .widgettitle { 
	padding-top: 60px; 
	font-size: 24px; 
	color: #003C68;
	text-shadow: 1px 1px 1px rgba(255,255,255,0.6);
}
#fourth .textwidget { 
	color: #003C68; 
	text-shadow: 0px 1px 1px rgba(255,255,255,0.6);
}
#fourth a { color: #003C68; }
#fourth a:hover { color: #ff4b33; }

#primary, #secondary, #third {
	color: #fff;
	background: #003c68; /* The Fallback */
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#005491), to(#003C68), color-stop(.4,#003C68));
	background: -moz-linear-gradient(19% 40% 90deg,#003C68, #005491);
		
	height: 290px;		/* oma hack. testattava. */
	padding-bottom: 190px;
	margin-bottom: -290px;
}
#primary .widgettitle, #secondary .widgettitle, #third .widgettitle {
	text-align: center;
	line-height: 1.2em;
	padding-top: 15px;
}

#primary .textwidget, #secondary .textwidget, #third .textwidget {
	text-align: center;

}

#primary a, #secondary a, #third a {
	display: block;
	margin-top: 10px;
	float: right;
	margin-right: 100px;
	background: #3ba8db;
	font-size: 11px;
	color: #003c68;
	padding: 1px 8px 0;
	-moz-border-radius: 10px; border-radius: 10px; 	
}

#primary a:hover, #secondary a:hover, #third a:hover {
	background: #ff4b33;
	color: #fff;
}

/* Call to action
-------------------------------------------------------------- */

#front_img {
	height: 297px;
	background: url(http://www.noomus.fi/img/marika2_380.jpg);
}

#sixth .textwidget {
	margin-top: -1em;
	height: 0px; 
	text-align: center; 
	_background: rgba(255,0,0,0.5); 
}

#cta {
	position: relative;
	top: -280px;
	left: 260px;
	display: block;
	height: 100px; 
	width: 100px;
	line-height: 100px;
	font-size: 12px;
	text-align: center;
	background: transparent url(http://www.noomus.fi/img/pallo.png) no-repeat; 
	color: #fff; 
	-moz-border-radius: 55px; border-radius: 55px; 
	
	-webkit-transform: rotate(15deg);
	-moz-transform: rotate(15deg);
	transform: rotate(15deg);
	
	-webkit-transition: all .15s ease-in-out;
}

#cta:hover {
	-webkit-transform: scale(1.05) rotate(15deg);
	-moz-transform: scale(1.05) rotate(15deg);
}


/* Aside
-------------------------------------------------------------- */

#aside { 
	margin-top: 1.5em;	
	color: #ccc;
	
	border-top: solid 1px #ccc;
	border-right: solid 1px #bbb;
	border-bottom: solid 1px #bbb;
	border-left: solid 1px #bbb;
	-webkit-box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
	
	background: #eee; /* The Fallback */
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#eee), to(#ddd));
	background: -moz-linear-gradient(19% 75% 90deg,#ddd, #eee);
}

#aside a:link { color: #555; }
#aside a:hover { color: #ff4b33; }


#aside .xoxo li.widget { width: 290px; float: left; margin-left: 30px; }
#aside .xoxo li.widget:first-child { margin-left: 5px;}

#aside .widgettitle { margin-top: 10px; color: #003c68; }

/* Entries
-------------------------------------------------------------- */

#content { background: #fff; }
.hentry, .navigation, #comments { padding: 0 20px;  }

h3.entry-title, .page-title { 
	font-weight: normal;
	color: #ff4b33;
	line-height: 1.2em;
	margin-left: 10px;
}
h4.entry-title {margin-top: 25px; }

.page-title { margin-top: 28px; margin-left: 20px; color: #003c68; }

.entry-content { margin-top: 20px; font-size: 13px; margin-bottom: 1.5em	}

.page .entry-content {
	-moz-column-count: 2;
	-moz-column-gap: 3.6em;
	-moz-column-rule: 1px dashed #ccc;
	-webkit-column-count: 2;
	-webkit-column-gap: 3.6em;
	-webkit-column-rule: 1px dashed #ccc;
}	
	
.entry-content p:first-child {
}

.entry-meta { font-size: 12px; color: #aaa; padding: 10px; }

.nav-previous { float: left; margin-top: 1em;}
.nav-next { float: right; margin-top: 1em;}

.kids .page_item { font-size: 13px; }
.current_page_item a { color: #333; } /* the current Page */


/* Comments
-------------------------------------------------------------- */

#comments { clear:both; border-top:1px solid #fff; }

/* Menu
-------------------------------------------------------------- */

.menu_row {
	width: 960px;
	margin: 0 auto;
	overflow: visible;
}
#access {
    overflow: visible;
    z-index:100;
}

/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
	margin:			0;
	padding:		0;
	list-style:		none;
	font-size: 14px;
}
.sf-menu {
	line-height:	1.0;
}
.sf-menu ul {
	position:		absolute;
	top:			-999em;
	width:			12em; /* left offset of submenus need to match (see below) */
}
.sf-menu ul li {
	width:			100%;
}
.sf-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu li {
	float:			left;
	position:		relative;
}
.sf-menu a {
	display:		block;
	position:		relative;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	left:			0;
	top:			2.5em; /* match top ul list item height */
	z-index:		99;
}
ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
	left:			12em; /* match ul width */
	top:			0;
}
ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {
	left:			12em; /* match ul width */
	top:			0;
}

/*** THEMATIC SKIN ***/
.sf-menu {
	margin-top: 1.5em;		/* Vertical distance from content box */
    border-right:1px solid #ccc;
	float:right;
	-webkit-box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
}
.sf-menu a {
	border-left:1px solid #ccc;
	border-top: 1px solid #ddd;
	border-bottom:1px solid #ccc;
	padding:9px 13px;
	font-size: 13px;
	text-decoration:none;
}

.sf-menu .current_page_item a,
.sf-menu .current_page_ancestor a,
.sf-menu .current_page_parent a {
    _border-top-color:#333;
}
.sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color:			#666;
}
.sf-menu li {
	background:		#fff;
}
.sf-menu li li {
	background:		#fff;
}
.sf-menu li li li {
	background:		#9AAEDB;
}
.sf-menu li:hover, .sf-menu li.sfHover,
.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
    background:     #fafafa;
	outline:		0;
    border-bottom-color:#bfcfd8;
}
.sf-menu ul {
    border-right:1px solid #ccc;
    border-bottom:1px solid #ccc;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	top:32px; /* overriding essential styles */
	-webkit-box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
}
.sf-menu ul ul {
    margin-top:0;
}
.sf-menu ul a {
    background:#fafafa;
	border-bottom:none;
}
.sf-menu a:hover {
    color: #FF4B33;
}

/* Forms
-------------------------------------------------------------- */

.text, textarea { 

}
textarea { margin-bottom: 1em; }
		
		
/* Plugins 
-------------------------------------------------------------- */

.langswitch { float: right; margin-right: 4px; font-size: 12px; }
.langswitch ul { margin: 0; }
.langswitch li { display: inline; list-style-type: none; }
.langswitch a {	padding: .2em .5em;  color: #555; }
.langswitch a:hover { background: #ff4b33; color: #fff; }


.breadcrumb { margin: 30px 0 30px 20px; font-size: 12px; color: #999; }

