/*@import "ie-corners.css";*/

/*
 * Colors:
 * 
 * Page:						#f2f2f2
 * Default text:				#333333
 * Links:						#2f72a3
 * Button border:				#cbdeec
 * Default border:				#c2c2c2
 * Light border:				#e1e1e1
 * Lighter border:				#f1f1f1
 * Dark border:					#97b8d1 (could be calculated from link color)
 * Panel background: 			#ebebeb
 * Dark background:				#808080
 * Summary box:					#2f72a3/#ffffff
 * Nav current section:			#2f72a3/#ffffff
 * Nav available sub sections:	#eff6fb (could be calculated from link color)
 * Alert box:					#790000/#ffffff
 * Light background:			#f7fafd (could be calculated from link color)
 */


/* Page */

body {
	background: #ffffff;
}

#page {
	background: #ffffff;
	color: #333333;
}

#body {
	background: #f2f2f2;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	position: relative;
	height: 1%;
}


/* Links */

a {
	color: #2f72a3;
}


/* Public nav bar */

#nav-bar {
	background: #2f72a3 url(images/top-fade.png) repeat-x left top;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#lteIE6 #nav-bar {
	background-image: none;
}

#nav-bar a {
	color: #ffffff;
}

.public #site-tools a {
	padding-left: 8px;
	background: url(images/bullets/right-small-white.png) no-repeat left 15px;
}

#site-nav a {
	border-right: 1px solid #5f91b6;
}

#site-nav .current a {
	font-weight: bold;
	background: #6395ba url(images/top-fade.png) repeat-x left top;
}

#lteIE6 #site-nav .current a {
	background-image: none;
}

#site-nav .first-child a {
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-bottomleft: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}


/* Public side nav */
/* TODO: not sure this is a good idea, maybe should have different IDs */

.public #side-nav a {
	padding-left: 7px;
	background: url(images/bullets/right-small.png) no-repeat left 5px;
}

.public #side-nav .current a {
	background: none;
}


/* Admin side nav */

.admin #lteIE7 #side-nav ul,
.admin #lteIE7 #side-nav li {
	float: left;
	width: 100%;
}

#side-nav .crumb li.crumb {
	margin-top: 5px;
}

#side-nav li.crumb a {
	background: #ffffff;
	border: 1px solid #c2c2c2;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

#side-nav li.crumb ul {
	background: url(images/side-nav-crumb-arrow.png) no-repeat 8px top;
	position: relative;
	z-index: 1;
	margin-top: -1px;
	padding-top: 6px;
}

#side-nav li.expanded ul {
	background: none;
	margin-top: 0;
	padding-top: 0;
}

#side-nav .crumb li.crumb {
	margin: 0;
}

#side-nav li.expanded span {
	display: block;
	padding: 0 0 6px 0;
	background: url(images/side-nav-arrow-down-blue.png) no-repeat 8px bottom;
	position: relative;
	z-index: 2;
}

#side-nav li.expanded li span {
	background: none;
	padding: 0;
}

#side-nav li.expanded ul {
	margin-top: -6px;
}

#side-nav li.expanded a {
	-moz-border-radius-bottomleft: 0;
	-moz-border-radius-bottomright: 0;
	-webkit-border-bottom-left-radius: 0;
	-webkit-border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	border-bottom: none;
	background: #2f72a3;
	color: #ffffff;
}

#side-nav li.expanded li a {
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	background-color: #eff6fb;
	color: #2f72a3;
}

#side-nav li.expanded li.last-child a {
	-moz-border-radius-bottomleft: 4px;
	-moz-border-radius-bottomright: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: 1px solid #c2c2c2;
}

#side-nav li.expanded li.current a {
	background-image: url(images/side-nav-arrow-left.png);
	background-repeat: no-repeat;
	background-position: left 9px;
}


/* Form elements */

input.text,
textarea,
select {
	border: 1px solid #e1e1e1;
}


/* Buttons */

.button {
	border: 3px solid #cbdeec;
	-moz-border-radius: 9px;
	-webkit-border-radius: 9px;
	border-radius: 9px;
	background: #2f72a3 url(images/top-fade.png) repeat-x left top;
	float: left;
}

.panel .button {
	margin-bottom: 14px;
}

#lteIE7 .panel .button {
	margin-bottom: 0;
}

.button.big {
	background: #ffffff;
	border-color: #2f72a3;
}

.button input,
.button a {
	float: left;
	border: none;
	background: none;
	color: #ffffff;
	font-weight: bold;
	padding: 2px 10px 3px 10px;
	cursor: pointer;
}

.button.big input,
.button.big a {
	color: #2f72a3;
}

.button a {
	padding: 3px 13px 4px 13px;
}

.button input.small {
	padding: 1px 7px 2px 7px;
}

.button a.small {
	padding: 2px 10px 3px 10px;
}

.button.hover input,
.button:hover input {
	text-decoration: underline;
}

#lteIE7 .button input {
	padding: 2px 12px;
}

#lteIE7 .button input.small {
	padding: 1px 9px;
}

#lteIE7 .button a {
	padding: 3px 12px 4px 12px;
}

#lteIE7 .button a.small {
	padding: 2px 9px 3px 9px;
}

#lteIE6 .button {
	background-image: none;
}

/* File uploader */
span.file-name {
	
}


/* Tabs */

ul.tabs {
	border-top: 1px solid #c2c2c2;
	position: relative;
	z-index: 2;
	bottom: -1px;
	background: #eff6fb;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

ul.tabs li {
	background: url(images/tab-fade-white.png) repeat-x left top;
	position: relative;
	top: -1px;
	margin-bottom: -1px;
	border-top: 1px solid #c2c2c2;
	border-left: 1px solid #c2c2c2;
	border-bottom: 1px solid #c2c2c2;
}

#lteIE6 ul.tabs li {
	background-image: none;
}

ul.tabs li:first-child {
	-moz-border-radius-topleft: 5px;
	-webkit-border-top-left-radius: 5px;
	border-top-left-radius: 5px;
}

ul.tabs li:last-child {
	border-right: 1px solid #c2c2c2;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-right-radius: 5px;
	border-top-right-radius: 5px;
}

ul.tabs li.current+li {
	border-left: none;
}

ul.tabs li.current {
	background-color: #ffffff;
	background-image: url(images/tab-fade-grey.png);
	border-left: 1px solid #c2c2c2;
	border-right: 1px solid #c2c2c2;
	border-bottom-color: #ffffff;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-left-radius: 5px;
	border-top-left-radius: 5px;
}

ul.tabs li.alt.current {
	background-color: #ebebeb;
	background-image: url(images/tab-fade-white.png);
	border-bottom-color: #ebebeb;
}

#lteIE6 ul.tabs li.current {
	border-right: none;
}

#lteIE8 ul.tabs li.last-child {
	border-right: 1px solid #c2c2c2;
}


/* Boxes */

.box {
	position: relative;
	z-index: 1;
	background: #ffffff;
	border: 1px solid #c2c2c2;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

/* Cancel top left rounded corner if box has tabs above it */
ul.tabs+.box {
	-moz-border-radius-topleft: 0;
	-webkit-border-top-left-radius: 0;
	border-top-left-radius: 0;
}

.form-box {
	background: #f7fafd;
}

.summary-box {
	background: #2f72a3 url(images/top-fade.png) repeat-x left top;
	padding-top: 5px;
	border: none;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.alert-box {
	background-color: #790000;
}

#lteIE6 .summary-box {
	background-image: none;
}

.summary-box table {
	border-collapse: separate;
	border-left: 2px solid #2f72a3;
	border-right: 2px solid #2f72a3;
	border-bottom: 2px solid #2f72a3;
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

#lteIE7 .summary-box table {
	border-collapse: collapse;
}

.alert-box table {
	border-color: #790000;
}

.summary-box thead th {
	color: #ffffff;
}

.summary-box thead th h2,
.summary-box thead th a {
	color: #ffffff;
}

.summary-box table tbody {
	background: #ffffff;
}


/* Tables */

.table-standard {
	background: #ffffff;
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

.box>div.table-header:first-child {
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border-bottom: 1px solid #ffffff;
}

div.table-header {
	background: #808080;
	color: #ffffff;
}

div.table-header .actions {
	border: none;
}

div.table-header .actions a {
	color: #ffffff;
}

div.table-header .actions a.plus {
	background: url(images/bullets/plus.png) no-repeat left 4px;
	padding-left: 10px;
}

.js-enabled .table-standard .filters h2 a {
	padding-left: 10px;
	background: url(images/bullets/right.png) no-repeat left 5px;
}

.js-enabled .table-standard .open h2 a {
	padding-left: 11px;
	background: url(images/bullets/open.png) no-repeat left 7px;
	position: relative;
	left: -1px;
}

.table-standard .filters {
	background: #ebebeb;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.table-standard .filters fieldset {
	border-right: 1px solid #ffffff;
	min-height: 8em;
}

#lteIE6 .table-standard .filters fieldset {
	height: 8em;
}

.table-standard .panel table {
	border-left: 1px solid #e1e1e1;
	border-right: 1px solid #e1e1e1;
}

.table-standard table:first-child thead tr:first-child :first-child {
	-moz-border-radius-topleft: 5px;
	-webkit-border-top-left-radius: 5px;
	border-top-left-radius: 5px;
}

.table-standard .panel table:first-child thead tr:first-child :first-child {
	-moz-border-radius-topleft: 0;
	-webkit-border-top-left-radius: 0;
	border-top-left-radius: 0;
}

.table-standard table:first-child thead tr:first-child :last-child {
	-moz-border-radius-topright: 5px;
	-webkit-border-top-right-radius: 5px;
	border-top-right-radius: 5px;
}

.table-standard .panel table:first-child thead tr:first-child :last-child {
	-moz-border-radius-topright: 0;
	-webkit-border-top-right-radius: 0;
	border-top-right-radius: 0;
}

.table-standard thead .header td,
.table-standard thead .header th {
	background: #808080;
	color: #ffffff;
	border-bottom: 1px solid #ffffff;
}

.table-standard thead td,
.table-standard thead th {
	background: #2f72a3;
	color: #ffffff;
}

.table-standard thead th {
	border-right: 2px solid #ffffff;
}

.table-standard thead th.last-child {
	border-right: none;
}

.table-standard thead th a {
	color: #ffffff;
}

.table-standard tbody td {
	border-bottom: 1px solid #e1e1e1;
	border-right: 2px solid #ffffff;
}

.table-standard col.vote {
	background: #eff6fb;
}

.table-standard tbody td.last-child,
.table-standard tbody th.last-child {
	border-right: none;
}

.table-standard tbody tr.last-child td,
.table-standard tbody tr.last-child th {
	border-bottom: none;
}

.table-standard .actions {
	border-top: 1px solid #e1e1e1;
}

.pagination {
	background: #ebebeb;
}

.pagination.top {
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.pagination.bottom {
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

.pagination a,
.pagination strong {
	border: 1px solid #ebebeb;
	padding: 0 3px;
}

.pagination a:hover,
.pagination a:focus {
	border: 1px solid #2f72a3;
	background-color: #ffffff;
	text-decoration: none;
}

.pagination a.previous:hover,
.pagination a.previous:focus,
.pagination a.next:hover,
.pagination a.next:focus {
	border-color: #ebebeb;
	background-color: transparent;
	text-decoration: underline;
}

.pagination a.previous {
	padding-left: 10px;
	background: url(images/bullets/left.png) no-repeat left 5px;
}

.pagination a.next {
	padding-right: 10px;
	background: url(images/bullets/right.png) no-repeat right 5px;
}


/* Discussions */

table.discussion td,
table.discussion th {
	border-right: 1px solid #e1e1e1;
	border-bottom: 3px solid #e1e1e1;
}


/* Sortable lists */

.sortable {
	background: #f7fafd;
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

.panel .sortable {
	border-left: 1px solid #e2e2e2;
	border-right: 1px solid #e2e2e2;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
}

.sortable .last-child {
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

.panel .sortable .last-child {
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	border-bottom: 3px solid #e2e2e2;
}

.panel .sortable .last-child.open {
	border-color: #97B8D1;
}

.panel .sortable li .last-child {
	border-bottom: none;
}

.sortable h3,
.sortable h5 {
	margin-right: 70px;
}

form .sortable h5 {
	margin-right: 15em;
}

.js-enabled h4 a {
	background: url(images/bullets/right.png) no-repeat left 4px;
	padding-left: 10px;
}

.js-enabled .open h4 a {
	background: url(images/bullets/open.png) no-repeat left 5px;
	padding-left: 12px;
	margin-left: -2px;
}

.sortable li {
	border-top: 3px solid #e1e1e1;
}

.js-enabled .sortable li.open {
	background: #ffffff;
	border-top: 3px solid #97b8d1;
}

.sortable li.first-child,
.js-enabled .sortable li.first-child,
.js-enabled .sortable li.next-to-open {
	border-top: none;
}

.js-enabled .sortable ul ul {
	border-top: 2px solid #e1e1e1;
	border-bottom: 3px solid #97b8d1;
}

.js-enabled .sortable .last-child ul {
	border-bottom: none;
}	

.sortable li li {
	background: #ffffff;
	border-top-width: 1px;
}

/* Up / Down buttons */

.sortable li .actions {
	border: none;
	right: 9px;
	top: 11px;
}

.sortable li li div.actions {
	top: 9px;
}

.sortable .actions a,
.sortable .actions span {
	font-size: 0;
	line-height: 0;
	width: 17px;
	height: 17px;
	display: block;
	float: left;
	margin-left: 6px;
	text-indent: -999em;
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: center center;
}

.sortable .actions a.up {
	background-image: url(images/bullets/arrow-up.png);
}

.sortable .actions a.down {
	background-image: url(images/bullets/arrow-down.png);
}

.sortable .actions span.up {
	background-image: url(images/bullets/arrow-up-off.png);
}

.sortable .actions span.down {
	background-image: url(images/bullets/arrow-down-off.png);
}

.sortable .actions a:hover,
.sortable .actions a:focus {
	width: 15px;
	height: 15px;
	border: 1px solid #2f72a3;
	background-color: #ffffff;
}

.sortable li li fieldset.actions {
	top: 6px;
}

.sortable fieldset.actions legend.acc span {
	width: auto;
	height: auto;
}

.sortable fieldset label {
	top: -31px;
}

#lteIE7 .sortable li li fieldset.actions {
	position: absolute;
	top: 7px;
}

#lteIE7 .sortable fieldset label {
	top: -32px;
}

#lteIE7 .sortable fieldset label {
	top: -32px;
}


/* Simple details table */

table.simple-details {
	border-top: 1px solid #f1f1f1;
}

table.simple-details td,
table.simple-details th {
	border-bottom: 1px solid #f1f1f1;
}

table.simple-details th {
	border-right: 10px solid #ffffff;
}


/* Ratings table */

.box>table.ratings:first-child thead tr:first-child :first-child {
	-moz-border-radius-topleft: 5px;
	-webkit-border-top-left-radius: 5px;
	border-top-left-radius: 5px;
}

.box>.grid-two-col>.col-right>table.ratings:first-child thead tr:first-child :last-child,
.box>table.ratings:first-child thead tr:first-child :last-child {
	-moz-border-radius-topright: 5px;
	-webkit-border-top-right-radius: 5px;
	border-top-right-radius: 5px;
}

table.ratings thead td,
table.ratings thead th {
	background: #ebebeb;
	border-right: 2px solid #ffffff; 
}

table.ratings tbody td,
table.ratings tbody th {
	border-bottom: 1px solid #f1f1f1;
	border-right: 2px solid #ffffff; 
}

table.ratings td.last-child,
table.ratings th.last-child {
	border-right: none;
}

table.ratings .average td,
table.ratings .average th {
	border-bottom: none;
}


/* Panels */

.box .grid-two-col {
	background: url(images/light-border.png) repeat-y center top;
}

.grid-showcase .grid-side-col {
	background: url(images/light-border.png) repeat-y 410px top;
}

.box .panel {
	border-top: 1px solid #e1e1e1;
}

.box .first-panel {
	border-top: none;
}

.box .panel:first-child {
	border-top: none;
}

.box .col .panel {
	border-top: none;
	border-bottom: 1px solid #e1e1e1;
}

.box .col .panel:last-child {
	border-bottom: none;
}

.box .col .last-panel {
	border-bottom: none;
}

.box .actions {
	border-top: 1px solid #e1e1e1;
}

.box .actions a.previous {
	padding-left: 10px;
	background: url(images/bullets/left.png) no-repeat left 6px;
}

.box .actions a.next {
	padding-right: 10px;
	background: url(images/bullets/right.png) no-repeat right 6px;
}

.box .actions p.message {
	padding: 6px 0 5px 0;
}


/* Assessments */

.assessment {
	background: url(images/light-border.png) repeat-y 320px 0;
	border-top: 3px solid #e2e2e2;
}

.assessment.first-child {
	border-top: none;
}

.assessment .panel {
	border: none;
}


/* Question selector */

.question-selector {
	background: #ebebeb url(images/dark-border.png) repeat-y 33% top;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border-bottom: 1px solid #c2c2c2;
}

.question-selector ul {
	background: url(images/dark-border.png) repeat-y 67% top;
}

.question-selector ul ul {
	background: none;
}

/* Cancel top left rounded corner if the box has tabs above */
ul.tabs+.box>.question-selector {
	-moz-border-radius-topleft: 0;
	-webkit-border-top-left-radius: 0;
	border-top-left-radius: 0;
}

.question-selector li li a {
	background: #2f72a3;
}

.question-selector li li.current {
	background: url(images/question-current.png) no-repeat center bottom;
}

.question-selector li li.current a {
	background: #333333;
}


/* Quotes */

.editorial div.quote {
	padding-top: 20px;
	background: url(images/misc/quote-open.png) no-repeat top left;
}

.editorial div.quote q {
	display: block;
	padding-bottom: 20px;
	background: url(images/misc/quote-close.png) no-repeat bottom right;
}


/* Showcase side menu */

.showcase-shortcuts li a {
	padding-left: 20px;
}

.icon-link {
	background: url(images/icons/link.png) no-repeat left 2px;
}

.icon-doc {
	background: url(images/icons/doc.png) no-repeat left 2px;
}

.icon-rss {
	background: url(images/icons/rss.png) no-repeat left 2px;
}

.icon-print {
	background: url(images/icons/print.png) no-repeat left 2px;
}

.icon-bubble {
	background: url(images/icons/bubble.png) no-repeat left 2px;
}

.icon-email {
	background: url(images/icons/email.png) no-repeat left 2px;
}

.icon-friend {
	background: url(images/icons/friend.png) no-repeat left 2px;
}

.icon-share {
	background: url(images/icons/share.png) no-repeat left 2px;
}

ul.related a {
	padding-left: 10px;
	background: url(images/bullets/right-small.png) no-repeat 2px 7px;
}


/* Popup messages */

.popup {
	margin-left: -233px;
	border: 3px solid #cccccc;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}


table.networks-table {
    /* float: right; */
    border: none;
}

    table.networks-table .noshow {
        display: none;
    }

    table.networks-table th {
        border: none;
    }

    table.networks-table td {
        border: none;
    }

    table.networks-table tr {
        border: 1px solid #d0d0d0;
    }

        table.networks-table tr:first-child {
            border: none;
        }

            table.networks-table tr:first-child > th {
                font-weight: bold;
            }