﻿/* #region RESET ------------------------------------------------ */

* {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing : border-box;
}

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

/* new html5 semantic elements */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { 
	display: block;
}

ul, ol {
	list-style-type: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

a {
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

/* tables still need cellspacing="0" in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #cccccc;
	margin: 1em 0;
	padding: 0;
}

input,
select {
	vertical-align: middle;
}

/* #endregion */

/* #region BASE STYLES ------------------------------------------------ */

html,
body {
	height: 100%;
}

html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

html, button, input, select, textarea {
	color: #5F6C75;
	font-family: sans-serif;
}

body {
	font-size: 14px;
	line-height: 1.4;
	margin: 0;
}

::-moz-selection {
	background: #4E809C;
	color: #ffffff;
	text-shadow: none;
}

::selection {
	background: #4E809C;
	color: #ffffff;
	text-shadow: none;
}

p {
	margin-bottom: 1em;
}

/* Links ------------------------------------------------------------- */

a {
	color: #175374;
}

a:visited {
	color: #175374;
}

a:hover {
	color: #4E809C;
}

a:focus {
	outline: 0;
}

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active {
	outline: 0;
}

small {
	font-size: 85%;
}

strong, th {
	font-weight: bold;
}

td, td img {
	vertical-align: top;
} 

sub {
	vertical-align: sub;
	font-size: smaller;
}

sup {
	vertical-align: super;
	font-size: smaller;
}
/* #endregion */

/* #region BASE FORM STYLES ------------------------------------------------ */
/* Indicate that 'label' will shift focus to the associated form element */
label {
	cursor: pointer;
}

/*
 * Correct alignment displayed oddly in IE6/7
 */

legend {
	*margin-left: -7px;
	white-space: normal;
}

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea {
	font-size: 100%;
	margin: 0;
	vertical-align: baseline;
	*vertical-align: middle;
}

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 */

button, input {
	line-height: normal;
}

/* make buttons play nice in IE */
button {
	width: auto; 
	overflow: visible;
}

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 * 3. Correct inner spacing displayed oddly in IE7 (doesn't effect IE6)
 */

button, input[type="button"], input[type="reset"], input[type="submit"] {
	cursor: pointer;
	-webkit-appearance: button;
	*overflow: visible;
}

select {
	cursor: pointer;
}

/* Re-set default cursor for disabled elements */

select[disabled],
button[disabled],
input[disabled] {
	cursor: default;
}

/* Consistent box sizing and appearance */

input[type="checkbox"],
input[type="radio"] {
	cursor: pointer;
	padding: 0;
	*width: 13px;
	*height: 13px;
}

input[type="search"] {
	-webkit-appearance: textfield;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

/*
 * Remove inner padding and border in FF3/4: h5bp.com/l
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

/*
 * 1. Remove default vertical scrollbar in IE6/7/8/9
 * 2. Allow only vertical resizing
 */

textarea {
	overflow: auto;
	vertical-align: top;
	resize: vertical;
}

/* placeholder definitions have to be separate */

::-webkit-input-placeholder {
	color: #B7B7B7;
}

:-moz-placeholder {
	color: #B7B7B7;
}

label.placeholder {
	color: #B7B7B7;
}

.inverted ::-webkit-input-placeholder {
	color: #B7B7B7;
}

.inverted :-moz-placeholder {
	color: #B7B7B7;
}

.inverted label.placeholder {
	color: #B7B7B7;
}

/* hide placeholder onFocus? */

input:focus::-webkit-input-placeholder { color:transparent; }
input:focus:-moz-placeholder { color:transparent; }

/* #endregion */

/* #region TOOLS ------------------------------------------------ */

/* Hide for both screenreaders and browsers */
.hidden {
	display: none;
	visibility: hidden;
}

/* clearfix */
.cf:before,
.cf:after {
    content:"";
    display:table;
}
.cf:after {
    clear:both;
}

/* uppercase text */
.uc {
	text-transform: uppercase;
}

.inverted-text-color,
.inverted-text-color a {
	color: #ffffff;
}

.horizontal-list li {
	display: block;
	float: left;
}

.navigation a {
	display: block;
	text-decoration: none;
}

.no-underline {
	text-decoration: none;
}

.text-bold {
	font-weight: bold;
}

.position-relative {
	position: relative;
}

.rounded-border-all {
	border: 1px solid #D4D4D5;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.rounded-border-bottom {
	border-bottom: 1px solid #D4D4D5;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-bottomright: 5px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

.rounded-border-top-right {
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topright: 5px;
	border-top-right-radius: 5px;
}

.rounded-border-top-left {
	-webkit-border-top-left-radius: 5px;
	-moz-border-radius-topleft: 5px;
	border-top-left-radius: 5px;
}

/* #endregion */

/* #region TITLES ------------------------------------------------ */

.page-title {
	font-size: 18px;
	margin-top: 0;
	margin-bottom: 10px;
	color: #5F6C75;
	font-weight: bold;
}

.chapter-title {
	font-size: 16px;
	margin-bottom: 6px;
}

.fm-grouping-title {
    border-bottom: 1px solid #ddd;
    font-size: 13px;
	font-weight: bold;
    margin: 0 0 10px 0;
	padding-bottom: 2px;
}

/* #endregion */

/* #region LAYOUT ------------------------------------------------ */

#page {
	min-height:100%;
	_height:100%; /* ie6 */
	margin: 0 auto;
	position:relative;
	text-align: left;
}

/* Content */
#content {
	text-align: left;
	font-size: 12px;
	padding-bottom: 50px; /* Height of .footer */
}

#contentInner {
	padding-right: 20px;
	padding-left: 20px;
}

/* Footer */
.footer {
	position: absolute;
	bottom: 0px;
	height: 30px;   /* Height of the footer */
	width: 100%;
	background-color: white;
	z-index: 995;
}

.footer-inner {
    text-align: right;
    padding: 0 20px;
    border-top: 1px solid #afb2b6;
    line-height: 30px;
}

.footer-inner p {
    margin-bottom: 0;
}

.page-width {
	margin: 0 auto;
	text-align: left;
}

.page-content-width {
	width: 100%;
}

/* #endregion */

/* #region Global filter -------------------------------------------------------------------------- */

.global-filter {
    clear: both;
    overflow: hidden;
}

.global-filter > div {
    float: left;
    padding-left: 10px;
}

.global-filter label {
    color: #fff;
    width: auto;
    margin-right: 2px;
    font-size: 11px;
}

.global-filter select {
    width: auto;
    font-size: 11px;
    max-width: 120px;
	min-width: 90px;
}

/* #endregion */

/* #region Tabs -------------------------------------------------------------------------- */

#tabnavigation {
	border-bottom: 1px solid #D4D4D5;
	margin-bottom: 20px;
	padding-top: 12px;
	padding-right: 20px;
	padding-left: 20px;
}

#EditionEditTabs > ul {
	border-bottom: 1px solid #D4D4D5;
	margin-bottom: 20px;
}

.ui-tabs {
	position: relative;
	zoom: 1;
}

.ui-tabs-nav {
}

	.ui-tabs-nav li {
		margin-left: 6px;
		position: relative;
		top: 1px;
		z-index: 2;
	}

		.ui-tabs-nav li:first-child {
			margin-left: 0;
		}

	.ui-tabs-nav a {
		border: 1px solid transparent;
		border-top-left-radius: 4px;
		border-top-right-radius: 4px;
		border-bottom: none;
		color: #6F90A7;
		text-transform: none;
		padding: 8px;
	}

.ie9 .ui-tabs-nav a {
}

.ui-tabs-nav .ui-state-hover a {
	color: #175374;
}

.ui-tabs-nav .ui-tabs-active a,
.ui-tabs-nav .ui-tabs-selected a {
	background-color: #ffffff;
	border-color: #D4D4D5;
	color: #175374;
	cursor: default;
	font-weight: bold;
}

li.ui-tabs-active,
.ui-tabs-nav .ui-state-hover {
}

.ui-tabs-active a {
}

.ui-tabs-panel {
	clear: both;
	border: 1px solid #D4D4D5;
	padding: 17px 10px 10px;
}

	.ui-tabs-panel.border-top {
	}

.ui-tabs-hide {
	display: none;
}

/* #endregion */