body {
	font-size: 12px;
	font-family: Helvetica, Arial, Tahoma, sans-serif;
	line-height: 135%;
	margin: 0;
	padding: 0;
	color: #111;
}

body {
	background-color: #f9f9f9;
}

td {
	text-align: left;
}

#container {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto 0 auto;
	padding: 0 20px 0 14px;
}

br.clear {
	clear: both;
}

textarea {
	resize: vertical;
}

.table .pagination {
	margin-bottom: 0;
}

legend {
	font-weight: bold;
	margin: 30px 0;
	padding-bottom: 10px;
	padding-left: 10px;
	border-bottom: 2px solid #ccc;
}

/* Login 
---------------------------------------------------------------------------------------------
*/

.login-selector .box {
	margin-top: 100px;
}

.login-selector #nav .fa {
	font-size: 12px;
	position: relative;
	top: -1px;
	margin-right: 2px;
}


/* Header
---------------------------------------------------------------------------------------------
*/

#header {
	height: 77px;
	clear: both;
	background: #003e7e;
	background-image: -webkit-linear-gradient(top,#024895 0,#003e7e 100%);
	background-image: linear-gradient(to bottom,#024895 0,#003e7e 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff024895', endColorstr='#ff003e7e', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
	padding-left: 20px;
	padding-right: 20px;
}

.logo {
	margin-top: 24px;
	float: left;
}

#welcome {
	list-style: none;
	padding: 31px 0 0 0;
	margin: 0;
	width: 50%;
	float: right;
	text-align: right;
	color: #8d9599;
}

#welcome li {
	display: block;
	float: right;
	padding: 0 8px 0 8px;
	border-left: 1px solid #8d9599;
}

#welcome li:last-child {
	border-left: 0px solid #8d9599;
}

#welcome li a {
	color: #faa71c;
	text-decoration: none;
	font-weight: bold;
}

#welcome li a:hover,
#welcome li a:focus {
	color: #fff;
}

/* Nav
---------------------------------------------------------------------------------------------
*/

.fixed {
	position: fixed;
	width: 100%;
}

#nav {
	height: 43px;
	text-align: left;
	width: 100%;
	clear: both;
	background: #222;
	background-image: -webkit-linear-gradient(top,#3c3c3c 0,#222222 100%);
	background-image: linear-gradient(to bottom,#3c3c3c 0,#222222 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
	border: 1px solid #292929;
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 1px 1px 3px rgba(0,0,0,0.4);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 1px 1px 4px rgba(0,0,0,0.6);
	padding-left: 15px;
	padding-right: 15px;
	top: 0;
	z-index: 1000;
}

.nav-link {
	position: relative;
	float: left;
}

.nav-link > a {
	display: block;
	color: #ccc;
	font-size: 14px;
	font-weight: lighter;
	text-decoration: none;
	padding: 13px 15px;
}
	
.nav-link > a:hover,
.nav-link > a:focus,
.nav-link > a:active {
	color: #ccc;
	background-color: #666;
	background-color: rgba(255,255,255,0.1);
}
	
/* drop down menu */

.nav-dropdown {
	position: absolute;
	left: 0;
	top: 100%;
	z-index: 1001;
	text-align: left;
	display: none;
	background: #222222;
	background-image: -webkit-linear-gradient(top,#3c3c3c 0,#222222 100%);
	background-image: linear-gradient(to bottom,#3c3c3c 0,#222222 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
	border: 1px solid #292929;
	border-top:0;
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 1px 1px 3px rgba(0,0,0,0.4);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 1px 1px 4px rgba(0,0,0,0.6);
	border-radius:0 0 5px 5px;
}

.nav-link:hover > .nav-dropdown {
	display: block;
}

.nav-dropdown a {
	display:block;
	white-space: nowrap;
	color: #ccc;
	padding: 12px 20px;
	text-transform: capitalize;
	font-size: 13px;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus,
.nav-dropdown a:active {
	color: #ccc;
	background-color: #666;
	background-color: rgba(255,255,255,0.1);
}

/* Main Div
---------------------------------------------------------------------------------------------
*/

#adminmain {
	padding: 20px 0 0 0;
	clear: both;
}

#left_area {
	float: left;
	width: 80%;
}

#right_area {
	float: right;
	width: 18.5%;
	line-height: 135%;
}

.box {
	background-color: #fff;
	margin-bottom: 20px;
	border :1px solid #d5d5d5;
	border-radius: 5px;
}

.box h1.title { 
	text-transform: capitalize;
	padding: 10px;
	margin: 0;
	font-size: 13px;
	color: #555;
	border-radius: 4px 4px 0 0;
	background: #e9e9e9;
	background-image: -webkit-linear-gradient(top,#fafafa 0,#e9e9e9 100%);
	background-image: linear-gradient(to bottom,#fafafa 0,#e9e9e9 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffafafa', endColorstr='#ffe9e9e9', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
	border-bottom: 1px solid #d5d5d5;
}

.box .padder {
	padding: 12px 6px;
	margin: 0;
	text-align: left;
	clear: both;
}

#right_area .box .padder {
	padding: 10px;
	margin: 0;
	text-align: left;
}

a {
	color: #0066cc;
	text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color: #024895;
	text-decoration: none;
}

a:focus,
button:focus {
	outline:0 !important;
}

/* Footer Div
---------------------------------------------------------------------------------------------
*/

#footer {
	clear: both;
	text-align: right;
	color: #bfbfbf;
	font-size: 12px;
	margin-bottom: 20px;
	font-weight: bold;
	position: relative;
	top: -10px;
}

#footer a {
	color: #bfbfbf;
}

#footer a:hover,
#footer a:focus,
#footer a:active {
	color: #999;
}


/* e107 Admin Styles
---------------------------------------------------------------------------------------------
*/

.right_menuButton {
	position: relative;
	top: 0;
	left: 0;
	border-bottom: 1px solid #ddd;
	margin: 0 -10px;
}

.right_menuButton:first-child {
	margin-top: -10px;
}

.right_menuButton:last-child {
	border-bottom: 0;
	margin-bottom: -10px;
}

.right_menuButton:last-child a {
	border-radius: 0 0 5px 5px;
}

.right_menuButton a {
	color: #000;
	padding: 12px 15px;
	display: block;
}

.right_menuButton a:hover,
.right_menuButton a:focus {
	background-color: #e5e5e5;
}

.right_menuButton.active a {
	margin-right: -1px;
	marign-left: -1px;
	padding-left: 35px;
	background: #003e7e;
	background-image: -moz-linear-gradient(top,#024895,#003e7e);
	background-image: -webkit-gradient(linear,0 0,0 100%,from(#024895),to(#003e7e));
	background-image: -webkit-linear-gradient(top,#024895,#003e7e);
	background-image: -o-linear-gradient(top,#024895,#003e7e);
	background-image: linear-gradient(to bottom,#024895,#003e7e);
	color: #fff;
	font-weight: bold;
}

.right_menuButton .fa {
	position: absolute;
	top: 50%;
	margin-top: -6px;
	left: 15px;
}

.smalltext, .smallblacktext, .nextprev, .helpbox {
	font-size: 10px;
	line-height: 135%;
}

table {
	margin-left: auto;
	margin-right: auto;
}

.indent {
	border: #999 1px dashed;
	padding: 5px;
	margin: 5px;
	background-color: #f7f7f9;
}

.nextprev {
	border: 0px;
	text-align: center;
	padding: 2px;
	background-color: #f7f7f9;
}

.fborder, .border{
	border-collapse: collapse;
	border-spacing: 0px;
}

.forumheader, .forumheader2, .forumheader3, .forumheader4, .fcaption, .finfobar {
	padding: 10px;
	border-bottom: 1px solid #D6D6D6;
}

table.fborder tr:last-child td {
	border-bottom:0;
}

.fcaption, .forumheader5 {
	font-weight:bold;
}

.searchhighlight {
	text-decoration: underline;
	color: #ff0000;
	font-weight: bold;
}

.helpbox {
	border: 0px;
}

/* Control Panel
---------------------------------------------------------------------------------------------
*/

.controlpanel-links-container {
	padding: 15px;
}

.controlpanel-links-container a {
	display: block;
	max-width: 160px;
	margin: auto;
	padding: 15px;
	font-weight: bold;
	color: #333;
	background-color: #fff;
	border: 1px solid transparent;
	border-radius: 5px;
	-webkit-transition: border ease-in-out .075s,box-shadow ease-in-out .075s,background-color ease-in-out .075s;
	        transition: border ease-in-out .075s,box-shadow ease-in-out .075s,background-color ease-in-out .075s;
}

.controlpanel-links-container a:hover,
.controlpanel-links-container a:focus {
	color: #333;
	background-color: #f2f2f2;
	border: 1px solid #668bb2;
	-webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.4);
	        box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.4);
}

.controlpanel-links-container-linkname {
	font-size: 14px;
	margin-top: 15px;
}

/* Bootstrap
---------------------------------------------------------------------------------------------
*/

/* Alerts */
.alert {
	text-shadow: 0 1px 0 rgba(255, 255, 255, .2);
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
	background-repeat: repeat-x;
}

.alert-success {
	background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
	background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#c8e5bc));
	background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
	border-color: #b2dba1;
}

.alert-info {
	background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
	background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#b9def0));
	background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
	border-color: #9acfea;
}

.alert-warning {
	background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
	background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#f8efc0));
	background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
	border-color: #f5e79e;
}

.alert-danger {
	background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
	background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#e7c3c3));
	background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
	border-color: #dca7a7;
}

/* Buttons */
.btn {
    position: relative;
	background-repeat: repeat-x;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
	        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}

.btn:active,
.btn.active {
    background-image: none;
	-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
	        box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

.btn-default {
	text-shadow: 0 1px 0 #fff;
	background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
	background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0));
	background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
	border-color: #dbdbdb;
	border-color: #ccc;
}

.btn-default:hover,
.btn-default:focus {
	background-color: #e0e0e0;
	background-position: 0 -15px;
}

.btn-default:active,
.btn-default.active {
	background-color: #e0e0e0;
	border-color: #dbdbdb;
}

.btn-default:disabled,
.btn-default[disabled],
.btn-default:disabled:hover,
.btn-default[disabled]:hover {
	background-color: #e0e0e0;
	background-image: none;
}

.btn-primary {
	background-color: #003e7e;
	background-image: -webkit-linear-gradient(top, #024895 0%, #003e7e 100%);
	background-image: -o-linear-gradient(top, #024895 0%, #003e7e 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#024895), to(#003e7e));
	background-image: linear-gradient(to bottom, #024895 0%, #003e7e 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff024895', endColorstr='#ff003e7e', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
	border-color: #003e7e;
}

.btn-primary:hover,
.btn-primary:focus {
	background-color: #003e7e;
	background-position: 0 -15px;
}

.btn-primary:active,
.btn-primary.active {
	background-color: #003e7e;
	border-color: #2b669a;
	box-shadow: inset 0 3px 5px rgba(0,0,0,.4);
}

.btn-primary:disabled,
.btn-primary[disabled],
.btn-primary:disabled:hover,
.btn-primary[disabled]:hover  {
	background-color: #2d6ca2;
	background-image: none;
}

.btn-success {
	background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
	background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641));
	background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
	border-color: #3e8f3e;
}

.btn-success:hover,
.btn-success:focus {
	background-color: #419641;
	background-position: 0 -15px;
}

.btn-success:active,
.btn-success.active {
	background-color: #419641;
	border-color: #3e8f3e;
}

.btn-success:disabled,
.btn-success[disabled],
.btn-success:disabled:hover,
.btn-success[disabled]:hover  {
	background-color: #419641;
	background-image: none;
}

.btn-danger {
	background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
	background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a));
	background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
	background-repeat: repeat-x;
	border-color: #b92c28;
}

.btn-danger:hover,
.btn-danger:focus {
	background-color: #c12e2a;
	background-position: 0 -15px;
}

.btn-danger:active,
.btn-danger.active {
	background-color: #c12e2a;
	border-color: #b92c28;
}

.btn-danger:disabled,
.btn-danger[disabled],
.btn-danger:disabled:hover,
.btn-danger[disabled]:hover  {
	background-color: #c12e2a;
	background-image: none;
}

.btn.loading {
    opacity: 1;
}

.btn.loading:before {
    content: "";
    position: absolute;
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    z-index: 2;
    display: block;
    background-color: rgba(255,255,255,.65);
}

.btn.loading:after {
    content: "\f1ce";
    position: absolute;
    top: calc(50% - 7px);
    left: calc(50% - 7px);
    z-index: 2;
    display: inline-block;
    width: 16px;
    border-radius: inherit;
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Pagination */
.pagination > li > a,
.pagination > li > span {
	color: #003e7e;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
	background-color: #003e7e;
	border-color: #003e7e;
}

/* Form */
.form-control:focus {
	border-color: #024895;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(2,72,149,.4);
	        box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(2,72,149,.4);
}

.checkbox label,
.checkbox-inline label,
.radio label,
.radio-inline label {
	line-height: 20px;
}

.checkbox input[type=checkbox],
.checkbox-inline input[type=checkbox],
.radio input[type=radio],
.radio-inline input[type=radio] {
	margin-top: 2px;
}

/* Nav */

.nav-pills a,
.nav-pills a:hover,
.nav-pills a:focus {
	color: #003e7e;
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
	background-color: #003e7e;
}

.nav-pills > li + li {
	margin-left: 5px;
}

@media (min-width: 768px) {
	.form-horizontal .control-label {
		padding-top: 8px;
	}
}

/* Panel */
.panel {
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
			box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.panel-default > .panel-heading {
	background-image: -webkit-linear-gradient(top,#fafafa 0,#e9e9e9 100%);
	background-image: linear-gradient(to bottom,#fafafa 0,#e9e9e9 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffafafa', endColorstr='#ffe9e9e9', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

/* Progress Bar */
.progress-bar {
	background:#003e7e;
	background-image: -webkit-linear-gradient(top,#024895 0,#003e7e 100%);
	background-image: linear-gradient(to bottom,#024895 0,#003e7e 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff024895', endColorstr='#ff003e7e', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
	linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)
}

.progress-striped .progress-bar {
	background-image: -webkit-linear-gradient(45deg,rgba(255,255,255,.12) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.12) 50%,rgba(255,255,255,.12) 75%,transparent 75%,transparent);
	background-image: linear-gradient(45deg,rgba(255,255,255,.12) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.12) 50%,rgba(255,255,255,.12) 75%,transparent 75%,transparent);
}

/* Well */
.well {
	background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
	background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#f5f5f5));
	background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
	background-repeat: repeat-x;
	border-color: #dcdcdc;
	-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
	        box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
}

/* elFinder Bootstrap 3 Fix
---------------------------------------------------------------------------------------------
*/

.dialogelfinder *,
.dialogelfinder *:before,
.dialogelfinder *:after {
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}
