/* Copyright (C) YOOtheme GmbH, http://www.gnu.org/licenses/gpl.html GNU/GPL */

/*
 * Modules Style Sheet - Defines general module defaults, headings, badges and icons
 */


/* Module Badges
----------------------------------------------------------------------------------------------------*/

.module { position: relative; }

.module .badge {
	position: absolute;
	top: 0px;
	right: 0px;
	z-index: 1;
}


/* Module Icons
----------------------------------------------------------------------------------------------------*/

.module .module-title .icon {
	display: block; 
	position: relative;
	top: -6px;
	width: 30px;
	height: 30px;
	margin-right: 5px;
	overflow: hidden;
	float: left;
}


/* Module Defaults
----------------------------------------------------------------------------------------------------*/

.deepest > *:first-child { margin-top: 0; }
.deepest > *:last-child { margin-bottom: 0; }


/* Module Headings
----------------------------------------------------------------------------------------------------*/

.module .module-title { margin: 0 0 15px 0; }

/* Subtitles */
.module .module-title span.title { display: block; }

.module .module-title span.subtitle {
	display: block;
	margin-top: 2px;
	line-height: 14px;
	font-size: 12px;
	text-indent: 1px;
}

/* Module Start
----------------------------------------------------------------------------------------------------*/
/* Module Layouts
----------------------------------------------------------------------------------------------------*/

.module { margin: 0; }

#headerbar .module {
	width: 100%;
	max-width: 770px;
}

#top-b .module:first-child, #top-c .module:first-child {
	background: url(../images/line_stripes.png) 0 0 repeat-x;
	text-align: center;
}

#bottom-a .grid-box:first-child .module { margin-right: 40px; }
#bottom-a .grid-box:last-child .module { margin-left: 40px; }

#footer .module {
	width: 50%;
	text-align: left;
	text-transform: uppercase;
	float: left;
}


/* Module Titles
----------------------------------------------------------------------------------------------------*/

.module .module-title { margin: 0; }

#top-a .module-title {
	position: absolute;
	top: 10px;
	right: 0;
	left: 0;
	font-size: 24px;
	text-align: center;
	text-shadow: 0 1px 1px rgba(0,0,0,0.5);
}

#top-b .module-title, #top-c .module-title {
	position: relative;
	top: -12px;
	display: inline-block;
	min-height: 30px;
	margin: 0 15px;
	padding: 0 10px;
	background-position: 0 -40px;
	background-repeat: repeat-x;
	line-height: 31px;
	font-size: 20px;
	text-align: center;
	text-transform: uppercase;
}

#top-b .module-title:before,
#top-b .module-title:after,
#top-c .module-title:before,
#top-c .module-title:after {
	top: 0;
	width: 15px;
	min-height: 30px;
	background-repeat: no-repeat;
}

#top-b .module-title:before,
#top-c .module-title:before {
	left: -15px;
	background-position: 0 0;
}

#top-b .module-title:after,
#top-c .module-title:after {
	right: -15px;
	background-position: 0 -80px;
}

#top-d .module-title { padding-left: 44px; padding-top:14px; }
#top-d .module-title:before {
	top:3px;
	margin-top:10px;
	left: 0;
	width: 28px;
	height: 23px;
	background: url(../images/retina/icon_stats.png) 0 50% no-repeat;
	opacity: 0.2;
}

#bottom-a .module-title {
	position: relative;
	display: inline-block;
	padding-right: 55px;
	color: rgba(255,255,255,0.3);
}
#bottom-a .grid-box:first-child .module-title:before {
	top: -8px;
	right: 0;
	width: 46px;
	height: 33px;
	/*background: url(../images/retina/icon_twitter.png) 100% 50% no-repeat;*/
	opacity: 0.2;
}

#bottom-a .grid-box:last-child .module-title { display: none; }