/************************************************************************/
/* RESET (Thanks to YUI) */

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin:0; padding:0; }

.clear { clear: both; }
.clearfix:after { content: ".";display: block;height: 0;clear: both;visibility: hidden; overflow: hidden;}
.left { float: left; }
.right { float: right; }
.hide { display: none; }

p { margin: .4em 0 .5em 0; }

/************************************************************************/
/* CORE ELEMENT STYLES */

body {
	background-color: #5596c0;
	color: #000;
	font-family: sans-serif;
	padding-bottom: 20px;
}

h3, strong { font-weight: bold; }
em { font-style: italic; }
img, .input_check, .input_radio { vertical-align: middle; }

a { text-decoration: none; }
ul { list-style-image: url('images/bullet-icon.png'); }

input, select, textarea {
	font: normal 12px tahoma, helvetica, arial, sans-serif;
}

#content input, textarea {
	padding: 6px;
	margin-top: -3px;
	margin-left: 2px;
	margin-bottom: 4px;
	border: 1px solid #D4D4D4;
	background: #FCFCFC;
	color: #000000;
	text-shadow: white 0px 1px 0px;
	-webkit-box-shadow: inset rgba(0, 0, 0, 0.1) 0px 1px 3px;
	-moz-box-shadow: inset rgba(0,0,0,0.1) 0px 1px 3px;
	box-shadow: inset rgba(0, 0, 0, 0.1) 0px 1px 3px;
}

#content input[type=file] {
	padding: 0;
	margin-top: 0;
	border: none;
	background: none;
	color: #000000;
	text-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

#content input[type=submit],
#content button {
	background: #1A6DA2 url('insanelymac/highlight_faint.png') repeat-x 0 0;
	border-color: #156191;
	color: white;
	text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0px;
	-moz-box-shadow: rgba(0,0,0,0.25) 0px 1px 3px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.25) 0px 1px 3px;
	box-shadow: rgba(0, 0, 0, 0.25) 0px 1px 3px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	text-decoration: none;
	border-width: 1px;
	border-style: solid;
	padding: 4px 10px;
	cursor: pointer;
	
	margin-top: 2px;
}

	#content input[type=submit]:hover,
	#content button:hover {
		background-color: #267BB1;
		color: white;
	}

#mw-input-wptimecorrection-other,
#mw-input-wpExpiry-other,
#mw-input-wpReason-other
{
	margin-top: 5px !important;
}

.mw-contributions-table .mw-submit {
	margin-top: 0;
}

/* InsanelyMac */

#bg_gradient {
	background-image: url('insanelymac/bg_gradient.png');
	background-repeat: repeat-x;
	height: 580px;
	width: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	z-index:-2;
}

#bg_glow {
	background-image: url('insanelymac/bg_glow.jpg');
	background-repeat: no-repeat;
	background-position: center top;
	height: 400px;
	width: 100%;
	z-index:-1;
	position: absolute;
	left: 0px;
}

#wrapper {
	margin: 0 auto;
	text-align: left;
	min-width: 990px;
	max-width: 1600px;
	width: 94%;
}

	html[lang=de] #wrapper {
		min-width: 1034px;
	}

.fixed-width {
	width: 1100px !important;
}
	html[lang=de] .fixed-width {
		width: 1124px !important;
	}

#header {
	font: normal 11px "lucida grande","lucida sans unicode",verdana,arial,helvetica,sans-serif;
}

	#header a:hover { text-decoration: none; }
	
	#header_banner {
		margin-top: 5px;
		display: inline-block;
		width: 730px;
		height: 90px;
		position: relative;
	}
	
	#header_social{
		float: right;
		width: 250px;
		height: 83px;
	}
	
		#hs_facebook{ float: left; }
		#hs_twitter{ padding-top: 19px; padding-bottom: 13px; }
		#hs_google{ float: left; }
	
	#header_width {
		float: right;
		width: 250px;
		color: #FFFFFF;
	}
	
		#header_width img {
			margin-top: -2px;
			margin-right: 5px;
		}
	
		#header_width a {
			color: #C8E0F0;
		}
		
		#header_width .current_width {
			font-weight: bold;
		}

#mainNavWrapper {
	height: 110px;
	clear: both;
	padding-top: 9px;
	position: relative;
}

.header_hr{
	height: 2px;
	background: url("insanelymac/header_hr.png") repeat-x 0 0;
	position: absolute;
	width: 100%;
	overflow: hidden;
}

a#logo {
	background-repeat: no-repeat;
	background-position: center;
	position: relative;
	z-index: 5;
	margin-top: -7px;
	bottom: -18px;
	display: block;
	float: left;
	height: 99px;
	width: 130px;
}

#mainNav {
	font: normal 13px "lucida grande","lucida sans unicode",verdana,arial,helvetica,sans-serif;
	position: relative;
	bottom: -79px;
	height: 13px;
}

	#mainNav a {
		color: #fff;
		float: left;
		line-height: 13px;
		padding: 0 15px;
		text-decoration: none;
		position: relative;
	}
	
		#mainNav a:first-of-type {
			padding-left: 0;
		}

		#mainNav a:hover,
		#mainNav a.activelink {
			color: #feffc6;
		}

		#mainNav a.activelink:after {
			content: "";
			width: 12px;
			height: 6px;
			background: url("insanelymac/indicator.gif") no-repeat 0 0;
			position: absolute;
			left: 50%;
			margin-left: -6px;
			bottom: -18px;
		}

#searchWrap {
	display: block;
	float: right;
	position: relative;
	z-index: 5;
	top: 60px;
	text-align: left;
	margin-right: 10px;
}

#searchInputWrap {
	background: white url('insanelymac/search_magnify.png') no-repeat 6px 50%;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	border: 0;
	margin: 0;
	margin-right: 10px;
	margin-left: 10px;
	height: 20px;
	width: 140px;
	color: #999;
	font-size: 10px;
	float: left;
	outline: none;
	-webkit-box-shadow: inset rgba(0, 0, 0, 0.2) 0px 1px 3px;
	-moz-box-shadow: inset rgba(0,0,0,0.2) 0px 1px 3px;
	box-shadow: inset rgba(0, 0, 0, 0.2) 0px 1px 3px;
	padding-left: 20px;
}

#searchInput {
	font-size: 12px;
	border: 0;
	padding: 0;
	background: transparent;
	outline: 0;
	margin-top: 3px;
}

#searchButton {
	background-image: url('insanelymac/search_icon.png');
	background-position: center;
	background-repeat: no-repeat;
	background-color: transparent;
	border: none;
	text-indent: -999px;
	height: 20px;
}

#contentWrapper {
	background: #fff;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: rgba(0,0,0,0.4) 0px 1px 6px;
	-moz-box-shadow: rgba(0,0,0,0.4) 0px 1px 6px;
	box-shadow: rgba(0,0,0,0.4) 0px 1px 6px;
	padding: 6px;
	padding-top: 0;
}

#nav_wrap {
	background: url("insanelymac/top_gradient.gif") repeat-x 0 100%;
	margin: 0 -6px;
	padding: 0 6px 16px 6px;
	text-transform: capitalize;
}
	
	html[lang=fr] #nav_wrap {
		text-transform: none;
	}

	#nav_wrap a:hover { text-decoration: none; }
	
	#nav_wrap ul { margin: 0; }

#primary_nav {
	font-size: 12px;
	float: left;
	font-weight: bold;
	margin-right: -3px;
}
	#primary_nav ul { float: left; }
	
	#primary_nav ul { border-right: 1px dotted #e0e0e0; }

	#primary_nav li { margin: 0; position: relative; float: left; }
	
	#primary_nav a,
	#primary_nav h5 {
		color: #777;
		display: block;
		outline: none;
		padding: 0px 11px;
		line-height: 39px;
		height: 39px;
		margin-bottom: 0;
	}
	
	#primary_nav h5 {
		cursor: pointer;
	}

		#primary_nav a:hover, #primary_nav h5:hover,
		#primary_nav a.menu_active, #primary_nav h5.menu_active {
			color: #444;
		}
	
	#primary_nav .selected a {
		position: relative;
		color: #222;
	}
	
	#primary_nav .selected a:after{
		content: "";
		display: block;
		width: 10px;
		height: 7px;
		background: url("insanelymac/primary_nav_active.png");
		position: absolute;
		bottom: -2px;
		left: 50%;
		margin-left: -5px;
	}

#user_navigation {
	font-family: Verdana,Geneva,sans-serif;
	color: #222;
	font-weight: bold;
	font-size: 10px;
	line-height: 39px;
	height: 39px;
	overflow: hidden;
	float: right;
}

	#user_navigation a {
		color: #222;
		float: left;
		padding: 0 11px;
		line-height: 39px;
		outline: none;
		height: 39px;
		border-left: 1px dotted #e0e0e0;
	}
	
		#user_navigation a:hover {
			color: #666;
		}
	
	#user_navigation .ipsList_inline li { margin: 0; padding: 0; float: left; }
	
	#user_navigation .user_photo {
		position: relative;
		height: 27px;
		width: auto;
		margin: -3px -6px 0px -6px;
		border: 1px solid #E0E0E0;
		padding: 1px;
		background: white;
	}
	
#pt-userpage a,
#pt-anonuserpage a {
	text-transform: none;
}

#pt-userpage a,
#pt-anonuserpage a {
	background-image: url('insanelymac/header_dropdown.png');
	background-position: right 18px;
	background-repeat: no-repeat;
	margin-right: 7px;
	padding-right: 13px;
}

	#pt-userpage.menu_active,
	#pt-anonuserpage.menu_active,
	#pt-actions.menu_active,
	#pt-tb.menu_active,
	#pt-lang.menu_active{
		background-position: bottom;
		background-color: white;
		color: #323232;
		position: relative;
		z-index: 10000;
	}
	
	#pt-tb img,
	#pt-actions img,
	#pt-lang img {
		margin-top: -2px;
	}

#pt-recentchanges a { color: #5596c0 !important; }
#pt-recentchanges a:hover{ color: #66a4cc !important; }

#pt-anonlogin a,
#pt-login a {
	background-image: url('insanelymac/user_login.png');
	background-position: 9px 12px;
	background-repeat: no-repeat;
	padding-left: 30px;
}

#pt-createaccount a {
	background-image: url('insanelymac/user_register.png');
	background-position: 10px 12px;
	background-repeat: no-repeat;
	padding-left: 31px;
}

#pt-userpage_menucontent,
#pt-anonuserpage_menucontent,
#pt-actions_menucontent,
#pt-tb_menucontent,
#pt-lang_menucontent {
	font-size: 11px;
	font-family: Verdana,Geneva,sans-serif;
}

#pt-actions_menucontent, #pt-tb_menucontent > div,
#pt-tb_menucontent, #pt-actions_menucontent > div,
#pt-lang_menucontent, #pt-lang_menucontent > div {
	width: 260px;
}

html[lang=de] #pt-tb_menucontent, html[lang=de] #pt-tb_menucontent > div {
	width: 340px;
}

	html[lang=de] #pt-tb_menucontent #links li:nth-child(odd) {
		width: 40%;
	}
	
	html[lang=de] #pt-tb_menucontent #links li:nth-child(even) {
		width: 60%;
	}
	
html[lang=fr] #pt-tb_menucontent, html[lang=fr] #pt-tb_menucontent > div {
	width: 315px;
}

	html[lang=fr] #pt-tb_menucontent #links li:nth-child(odd) {
		width: 45%;
	}
	
	html[lang=fr] #pt-tb_menucontent #links li:nth-child(even) {
		width: 55%;
	}

	#pt-userpage_menucontent > div,
	#pt-anonuserpage_menucontent > div {
		margin-left: 15px;
		width: 205px;
		text-align: left;
	}
		html[lang=de] #pt-userpage_menucontent > div,
		html[lang=de] #pt-anonuserpage_menucontent > div {
			width: 230px;
		}
		
		html[lang=fr] #pt-userpage_menucontent > div,
		html[lang=fr] #pt-anonuserpage_menucontent > div {
			
		}
		
			html[lang=fr] #pt-userpage_menucontent #links li:nth-child(odd),
			html[lang=fr] #pt-anonuserpage_menucontent #links li:nth-child(odd) {
				width: 60%;
			}
			
			html[lang=fr] #pt-userpage_menucontent #links li:nth-child(even),
			html[lang=fr] #pt-anonuserpage_menucontent #links li:nth-child(even) {
				width: 40%;
			}
	
	#pt-userpage_menucontent a,
	#pt-anonuserpage_menucontent a,
	#pt-actions_menucontent a,
	#pt-tb_menucontent a,
	#pt-lang_menucontent a {
		border-left: none;
		padding: 0;
		font-weight: normal;
		line-height: normal;
		height: auto;
		color: #000;
	}
	
	#pt-tb_menucontent #feedlinks a {
		padding-left: 16px;
	}
	
	#pt-lang_menucontent .interwiki-en a {
		background: url('insanelymac/menu/en.gif');
		background-repeat: no-repeat;
		background-position: 0 1px;
		padding-left: 20px;
	}
	
	#pt-lang_menucontent .interwiki-de a {
		background: url('insanelymac/menu/de.gif');
		background-repeat: no-repeat;
		background-position: 0 1px;
		padding-left: 20px;
	}

	#pt-lang_menucontent .interwiki-es a {
		background: url('insanelymac/menu/es.gif');
		background-repeat: no-repeat;
		background-position: 0 1px;
		padding-left: 20px;
	}
	
	#pt-lang_menucontent .interwiki-fr a {
		background: url('insanelymac/menu/fr.gif');
		background-repeat: no-repeat;
		background-position: 0 1px;
		padding-left: 20px;
	}
	
	#pt-lang_menucontent .interwiki-it a {
		background: url('insanelymac/menu/it.gif');
		background-repeat: no-repeat;
		background-position: 0 1px;
		padding-left: 20px;
	}
	
	#pt-userpage_menucontent #links,
	#pt-anonuserpage_menucontent #links,
	#pt-actions_menucontent #links,
	#pt-tb_menucontent #links,
	#pt-lang_menucontent #links {
		list-style: none;
		border-left: none;
		border-right: none;
		width: 100%;
	}
	
	#pt-actions_menucontent #links,
	#pt-tb_menucontent #links,
	#pt-lang_menucontent #links {
		margin-left: 5px;
	}
	
		#pt-userpage_menucontent #links li,
		#pt-anonuserpage_menucontent #links li,
		#pt-actions_menucontent #links li,
		#pt-tb_menucontent #links li { 
			width: 50%;
			float: left;
			margin: 3px 0;
			white-space: nowrap;
		}
		
		#pt-lang_menucontent #links li { 
			width: 100%;
			margin: 3px 0;
			white-space: nowrap;
		}
	
	#pt-userpage_menucontent #links a,
	#pt-anonuserpage_menucontent #links a,
	#pt-actions_menucontent #links a,
	#pt-tb_menucontent #links a,
	#pt-lang_menucontent #links a {
		display: block;
	}
	
	#pt-userpage_menucontent h4,
	#pt-anonuserpage_menucontent h4 {
		text-transform: none;
	}

.ipsHeaderMenu {
	background: #ffffff;
	padding: 10px;
	-moz-border-radius: 0 0 6px 6px;
	-webkit-border-bottom-right-radius: 6px;
	-webkit-border-bottom-left-radius: 6px;
	border-radius: 0 0 6px 6px;
	overflow: hidden;
	width: 280px;
}
	html[lang=de] .ipsHeaderMenu {
		width: 305px;
	}

	.ipsHeaderMenu .ipsType_sectiontitle { margin-bottom: 8px; border-bottom: 1px solid #F3F3F3 }

.boxShadow {
	-webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 10px;
	-moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 10px;
	box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 10px;
}

.ipsUserPhoto {
	padding: 1px;
	border: 1px solid #d5d5d5;
	background: #fff;
	-webkit-box-shadow: 0px 2px 2px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 2px 2px rgba(0,0,0,0.1);
	box-shadow: 0px 2px 2px rgba(0,0,0,0.1);
}
	
	.ipsUserPhotoLink:hover .ipsUserPhoto {
		border-color: #7d7d7d;
	}
	
	.ipsUserPhoto_medium { width: 50px; height: 50px; }

#content {
	padding: 1em;
	padding-top: 0.5em;
	overflow: auto;
}

	#content a[href^="https://"], .link-https {
		background: url('images/lock-icon.png') center right no-repeat;
		padding-right: 13px;
	}
	
#bodyLayout {
	padding-right: 160px;
}
	
	#bodyContent {
		float: left;
		width: 100%;
	}
	
		.page-Main_Page.action-view #bodyContent,
		.page-Hauptseite.action-view #bodyContent,
		.page-Accueil.action-view #bodyContent,
		.page-Pagina_principale.action-view #bodyContent {
			margin-top: -10px;;
		}
		
		#firstHeading {
			padding-top: 0;
			margin-top: -1px;
		}
		
			.page-Main_Page.action-view h1#firstHeading,
			.page-Hauptseite.action-view h1#firstHeading,
			.page-Accueil.action-view h1#firstHeading,
			.page-Pagina_principale.action-view h1#firstHeading {
				display: none;
			}

	#ad120x600 {
		float: right;
		margin-right: -170px;
		margin-top: 5px;
		width: 160px;
		margin-left: 10px;
	}

.centralauth-login-box img,
.centralauth-logout-box img {
	height: auto;
	width: auto;
	border: none !important;
	padding: 5px;
}

.successbox,
.warningbox, div.mw-warning-with-logexcerpt, div#mw-anon-edit-warning,
.errorbox {
	margin: 1em 0;
	background: #cde3a4 url('insanelymac/highlight.png') repeat-x 0 0;
	padding: 10px;
	border: 1px solid #a8c471;
	text-shadow: rgba(255,255,255,0.55) 0px 1px 0px;
	line-height: 1.6;
	font-size: 12px;
	-webkit-box-shadow: rgba(0,0,0,0.1) 0px 1px 3px;
	-moz-box-shadow: rgba(0,0,0,0.1) 0px 1px 3px;
	box-shadow: rgba(0,0,0,0.1) 0px 1px 3px;
	float: none;
}

	.successbox,
	.successbox a,
	.successbox h3 {
		color: #436500;
	}

	.successbox h3,
	.warningbox h3,
	.errorbox h3 {
		padding: 0;
	}
	
	.errorbox {
		background-color: #f3e3e6;
		border-color: #e599aa;
	}
	
	.errorbox
	.errorbox a,
	.errorbox h3{
		color: #80001c;
	}
	
	.warningbox, div.mw-warning-with-logexcerpt, div#mw-anon-edit-warning {
		background-color: #f3f3f3;
		border-color: #d4d4d4;
		color: #515151;
		margin: 0 0 10px 0;
		clear: both;
	}
	
	.warningbox, div.mw-warning-with-logexcerpt, div#mw-anon-edit-warning,
	.warningbox a, div.mw-warning-with-logexcerpt a, div#mw-anon-edit-warning a,
	.warningbox h3, div.mw-warning-with-logexcerpt h3, div#mw-anon-edit-warning h3 {
		color: #515151;
	}
	
	.successbox a, .warningbox a, .errorbox a, div.mw-warning-with-logexcerpt a, div#mw-anon-edit-warning a { text-decoration: underline; }

#bodyContent {
	line-height: 1.5em;
	font-size: 0.8em;
}

div#userloginForm {
	margin: 0;
}

.cctext {
	font-size:9px;
	color: #e0edf5;
	text-indent: 30px;
	margin-top: 10px;
	text-shadow: rgba(0,0,0,0.3) 0px 1px 1px;
	font-family: "lucida grande","lucida sans unicode",verdana,arial,helvetica,sans-serif;
	width: 100%;
}

	.cctext a,
	.cctext a:visited {
		font-size:9px;
		color: #FFFFFF;
	}
		.cctext a:hover {
			text-decoration: none;
			color: #e0edf5;
		}
		
	.cctext img {
		float: right;
		vertical-align: top;
		margin-right: 30px;
	}

/************************************************************************/
/* TYPOGRAPHY */

.ipsType_pagetitle, .ipsType_subtitle {
	font: 300 26px/1.4 Helvetica, Arial, sans-serif;
	color: #323232;
}

.ipsType_pagedesc {
	color: #7f7f7f;
	line-height: 1.5;
}

.ipsType_pagedesc a { text-decoration: underline; }

.ipsType_sectiontitle { 
	font-size: 16px;
	font-weight: normal;
	color: #595959;
	padding: 5px 0;
}

.ipsList_inline { list-style: none; }

/************************************************************************/
/* Preferences */

#mw-prefs-form {
	padding-left: 150px;
	padding-top: 20px;
}

#preferences {
	position: relative;
	border: 1px solid gainsboro;
	background-color: #ffffff;
}

	#preferences fieldset {
		border: 0;
		margin: 0;
	}
	
	#preferences .prefsection {
		padding: 9px;
		min-height: 285px;
	}
		
		#preferences .prefsection fieldset {
			border: none;
			border-top: solid 1px #CCC;
		}
		
		#preferences .prefsection fieldset legend {
			margin-left: 10px;
		}
		
		#preferences .prefsection td.mw-label {
			font-weight: bold;
		}
		
		#preferences .prefsection td.htmlform-tip {
			color: #A4A4A4;
			font-size: 11px;
		}
	
	
	#preferences .mainLegend {
		margin-bottom: 10px;
		border-bottom: 1px solid #F3F3F3;
		font-size: 20px;
		text-transform: capitalize;
		width: 100%;
		
		padding: 0;
		padding-bottom: 6px;
		padding-top: 12px;
	}
	
		html[lang=fr] #preferences .mainLegend {
			text-transform: none;
		}
	
#preftoc {
	margin-top: 10px;
	border-top: 1px solid #DBE4EF;
	border-left: 1px solid #DBE4EF;
	list-style: none;
	width: 150px;
	margin-left: -150px;
	float: left;
	position: relative;
	text-transform: capitalize;
}

	html[lang=fr] #preftoc {
		text-transform: none;
	}
	
	#preftoc li {
		background: #f6f8fb;
		color: #808080;
		border-bottom: 1px solid #DBE4EF;
		font-size: 13px;
		margin: 0;
		line-height: normal;
	}
		
		#preftoc li a {
			display: block;
			padding: 10px 8px;
			outline: 0;
			color: #8d8d8d;
			-webkit-transition: background-color 0.1s ease-in-out;
			-moz-transition: background-color 0.3s ease-in-out;
		}
			
			#preftoc li a:hover {
				background: #eaeff5;
				color: #808080;
				text-decoration: none;
			}
			
			#preftoc li.selected a {
				position: relative;
				z-index: 8000;
				border-right: 1px solid #fff;
				background: #fff;
				color: #353535;
				font-weight: bold;
			}
			
.mw-prefs-buttons {
	background: #ECECEC url('insanelymac/highlight.png') repeat-x 0 0;
	border-top: 1px solid #CCC;
	padding: 15px 6px 15px 6px;
	text-align: center;
}
		
	.mw-prefs-buttons a {
		font-size: 0.9em;
		font-weight: bold;
		color: #AD2930;
		font-family: Verdana,Geneva,sans-serif;
		font-size: 10px;
		margin-left: 10px;
	}