/* Base
----------------------------------------------------------------------------------------------------*/

body {
	background: url(../images/pattern-stone.png);
	color: #666;
}

.wrapper {
	background: transparent;
	-webkit-box-shadow: none;
	box-shadow: none;
}


#main, #top-a, #top-b, #bottom-a, #bottom-b, #header, #footer {
	margin-left: 4%;
	margin-right: 4%;
} 

#header, #footer {
	padding-left: 15px;
	padding-right: 15px;
}



/* Menus
----------------------------------------------------------------------------------------------------*/

	/* Top Menu */

	#header #menubar {
		border: 1px solid #dadada;
		-moz-border-radius: 5px;
		border-radius: 5px;
		box-shadow: 0 0 3px #e2e2e2, inset 1px -1px 2px #ffffff;
		background: #f5f5f5; /* Old browsers */
		background: -moz-linear-gradient(top,  #ffffff 0%, #f5f5f5 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f5f5f5)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #ffffff 0%,#f5f5f5 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #ffffff 0%,#f5f5f5 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #ffffff 0%,#f5f5f5 100%); /* IE10+ */
		background: linear-gradient(top,  #ffffff 0%,#f5f5f5 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f5f5f5',GradientType=0 ); /* IE6-9 */
	}

	.menu-dropdown {
		margin-bottom: 0;
	}

	.menu-dropdown a.level1, .menu-dropdown span.level1 {
		border-right: 1px solid #dadada;
		border-left: 1px solid white;
		border-top: none;
		border-bottom: none;
		color: #444;
	}

	.menu-dropdown li:first-child a.level1, .menu-dropdown li:first-child span.level1 {
		border-left: none;
	}

	.menu-dropdown li.level1 {
		margin-right: 0;
		padding-bottom: 0;
	}

	.menu-dropdown a.level1 > span, .menu-dropdown span.level1 > span {
		padding: 10px 22px 8px 22px;
	}

	/* Dropdown */

	.menu-dropdown .dropdown {
		top: 50px;
		left: -8px;
		border-top: none;
	}

	.menu-dropdown .dropdown-bg {
		margin: 8px;
	}

	.menu-dropdown .dropdown-bg > div {
		padding: 8px;
		border: 1px solid white;
		border-top: 1px solid white;
		background: whiteSmoke;
		border-radius: 5px;
		-webkit-box-shadow: 0 0 8px rgba(0,0,0,.2);
		box-shadow: 0 0 8px rgba(0,0,0,.2);
	}

	.menu-dropdown li.level2 {
		border-top: 1px solid white;
		border-bottom: 1px solid #dddddd;
	}

	.menu-dropdown li.level2:first-child {
		border-bottom: 1px solid #dddddd;
	}

	.menu-dropdown li.level2:last-child {
		border-bottom: none;
	}


	/* Sidebar Menu */

	.menu-sidebar a.level2 {
		color: #666;
	}

	.menu-sidebar li.level1 {
		border-top: 1px dotted #ddd;
		padding-left: 5px;
		-webkit-transition:background-color linear 0.3s;
		-moz-transition:background-color linear 0.3s;
		-o-transition:background-color linear 0.3s;
		-ms-transition:background-color linear 0.3s;
		transition:background-color linear 0.3s;
	}

	.menu-sidebar li.level1:hover {
		background: #fafafa;
		-webkit-transition:background-color linear 0.3s;
		-moz-transition:background-color linear 0.3s;
		-o-transition:background-color linear 0.3s;
		-ms-transition:background-color linear 0.3s;
		transition:background-color linear 0.3s;
	}

	.menu-sidebar a:hover, .menu-sidebar li > span:hover {
		-webkit-transition:color linear 0.2s;
		-moz-transition:color linear 0.2s;
		-o-transition:color linear 0.2s;
		-ms-transition:color linear 0.2s;
		transition:color linear 0.2s;
	}


/* Tools
----------------------------------------------------------------------------------------------------*/

#menubar .searchbox {
	margin: 10px 10px 0 0;
}

.searchbox {
	width: 100px;
	height: 25px;
	padding: 0 25px 0 30px;
	border: 1px solid #dadada;
	border-radius: 20px;
	background-position: 5px 50%;
	background-color: #fdfdfd;
	-webkit-box-shadow: inset 0 1px 2px #dddddd;
	box-shadow: inset 0 1px 2px #dddddd;
}

* .searchbox input {
	height: 25px;
	-webkit-box-shadow: none;
}

.searchbox.filled button {
	box-shadow: none;
	-webkit-box-shadow: none;
}

.button-default {
	padding: 3px 10px;
	border: 1px solid #e2e2e2;
	-moz-border-radius: 6px;
	border-radius: 6px;
	box-shadow: 0px 1px 1px #e2e2e2, inset 1px -1px 1px #ffffff;
	-webkit-box-shadow: 0px 1px 1px #e2e2e2, inset 1px -1px 1px #ffffff;
	background: #f5f5f5; /* Old browsers */
	background: -moz-linear-gradient(top,  #ffffff 0%, #f5f5f5 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f5f5f5)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffffff 0%,#f5f5f5 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffffff 0%,#f5f5f5 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffffff 0%,#f5f5f5 100%); /* IE10+ */
	background: linear-gradient(top,  #ffffff 0%,#f5f5f5 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f5f5f5',GradientType=0 ); /* IE6-9 */
}

.button-primary {
	padding: 3px 10px !important;
	font-size: inherit !important;
}


/* Modules
----------------------------------------------------------------------------------------------------*/

.mod-box {
	padding: 15px;
	border-radius: 6px;
	background: white;
	border: 1px solid #d7d7d7;
	-webkit-box-shadow: 0px 2px 3px rgba(0,0,0,.1);
	box-shadow: 0px 2px 3px rgba(0,0,0,.1);
}

.mod-box.border-right {
	border-radius: 0;
	border-right: 1px solid #E5E5E5;
	border-left: none;
	border-top: none;
	border-bottom: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	margin-right: 0;
	padding-right: 30px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.mod-box.border-left {
	border-radius: 0;
	border-left: 1px solid #E5E5E5;
	border-right: none;
	border-top: none;
	border-bottom: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	margin-left: 0;
	padding-left: 30px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.mod-box.clean {
	border-radius: 0;
	border-left: none;
	border-right: none;
	border-top: none;
	border-bottom: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	padding-top: 5px;
	padding-bottom: 5px;
	background: transparent;
}


.mod-box.border-left.clean {
	border-left: 1px solid #E5E5E5;
}

.mod-box.border-right.clean {
	border-right: 1px solid #E5E5E5;
}

.mod-box.underline h3.module-title {
	border-bottom: 1px solid #DDD;
	padding-bottom: 5px;
}

.mod-box.underline h3.module-title span.color {
	padding-bottom: 5px;
}

.mod-box.center {
	text-align: center;
}

#bottom-b .mod-box, .mod-box.transparent {
	background: transparent;
}

#sidebar-a .mod-box.border-right {
	padding-right: 25px;
	margin-right: 10px;
}

#sidebar-b .mod-box.border-left {
	padding-left: 25px;
	margin-left: 10px;
}

.mod-box.striped {
	background: url(../images/pattern-diagonal-grey.png) white;
	padding: 15px;
	border-radius: 4px;
	border: 1px solid #d7d7d7;
	-webkit-box-shadow: inset 0 2px 3px rgba(0,0,0,.1);
	box-shadow: inset 0 2px 3px rgba(0,0,0,.1);
}

#footer {
	font-size: 80%;
	border-top: 1px solid #E5E5E5;
	padding: 20px 40px 20px 30px;
	
	color: #8C8C8C;

	text-align: right;
}

#footer .module {
	float: left;
	margin-right: 30px;
	text-align: left;
}

.callout h3 {
	font-size: 20px;
}

.callout a.button-more {
	font-size: 100%;
	padding: 8px 18px;
	margin: 0 20px;
}

.mod-box.callout {
	padding: 20px 18px;
}

.social p {
	padding-top: 20px;
}

.social a {
	padding: 0 3px;
}


/* System
----------------------------------------------------------------------------------------------------*/

button {
	border: 1px solid #c6c6c6;
	-moz-border-radius: 6px;
	border-radius: 6px;
	box-shadow: 0px 1px 1px #c8c8c8, inset 0 1px 0 #f6f6f6;
	box-shadow: 0px 1px 1px #c8c8c8, inset 0 1px 0 #f6f6f6;
	background: #dbdbdb;
	padding: 5px 8px;
	color: #666;
}

input[type="button"] {
	border: 1px solid #000000;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: white;
	background: #262626;
	padding: 5px 8px;
	box-shadow: 0px 1px 1px #bfbfbf, inset 0 1px 0 #676767;
}

input, textarea {
	border: 1px solid #dadada;
	border-radius: 5px;
	-webkit-box-shadow: inset 1px 1px 2px rgba(0,0,0,.15);
	box-shadow: inset 1px 1px 2px rgba(0,0,0,.15);
	padding: 5px;
}

label {
	line-height: 2em;
}

fieldset {
	border-radius: 8px;
}

h1, h2, h3, h4, h5, h6 {
	color: #222;
}

.icon.email, .icon.print {
	font-size: 11px;
}

#system .title a {
	color: #222;
}

#system .title a:hover {
	color: #666;
}

#system .pagination {
	margin-top: 30px;
	text-align: center;
}

#system .pagination a, #system .pagination strong {
	border-radius: 15px;
	-webkit-box-shadow: 0 2px 2px rgba(0,0,0,.1);
	box-shadow: 0 2px 2px rgba(0,0,0,.1);
	border: 1px solid #d7d7d7;
	font-size: 13px;
}

#totop-scroller {
	top: 18px;
}

a.button-more, p.links a, .button-primary {
	display: inline-block;
	margin: 0 5px;
	font-size: 12px;
	border-radius: 6px;
	padding: 0 15px;
	color: white;
	/*font-family: MavenProRegular;*/
	font-weight: bold;
	letter-spacing: -1px;
	box-shadow: 0px 1px 2px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.4);
	text-shadow: 0 -1px 2px rgba(0,0,0,.4);
	border: 1px solid #0099c3;
	-webkit-transition:box-shadow linear 0.2s;
	-moz-transition:box-shadow linear 0.2s;
	-o-transition:box-shadow linear 0.2s;
	-ms-transition:box-shadow linear 0.2s;
	transition:box-shadow linear 0.2s;

}

a.button-more:hover, p.links a:hover, .button-primary:hover {
	-webkit-transition:box-shadow linear 0.2s;
	-moz-transition:box-shadow linear 0.2s;
	-o-transition:box-shadow linear 0.2s;
	-ms-transition:box-shadow linear 0.2s;
	transition:box-shadow linear 0.2s;
}

