/* Standalone header and footer styles used by DfE template */
/* For legacy applications (header, footer, article header) just link to this CSS file only */
/* All style here will appear via @import in dfe2014.css */

@import url("//fonts.googleapis.com/css?family=Patua+One");
@import url("//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css");

/* Application framework grid layout ================================================================== */

.row {
	padding-right: 18px;
	padding-top: 18px;
	padding-bottom: 18px;
}
.columns-one,
.columns-two,
.columns-three {
	float: left;
	padding-left: 18px;
}
.columns-one {
	width: 33.333%;
}
.columns-two {
	width: 66.667%;
}
.columns-three {
	width: 100%;
}

/* Generic styles ================================================================== */

.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
    content: " ";
    display: table;
}
.clearfix:after,
.row:after {
    clear: both;
}

.invisible {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}
a.skiplink:focus,
a.skiplink:active {
	clip:rect(auto, auto, auto, auto);
	display: block;
	position: absolute;
	width: 100%;
	color: #fff;
	background-color: #104f75;
	padding: 10px;
	font-weight: bold;
	text-decoration: none;
}
/*input,*/
input[type=search] {
	-webkit-appearance: none;
	border-radius: 0;
}
::-webkit-input-placeholder {
   color: #0b0c0c;
}
:-moz-placeholder { /* Firefox 18- */
   color: #0b0c0c;
}
::-moz-placeholder {  /* Firefox 19+ */
   color: #0b0c0c;
}
:-ms-input-placeholder {  
   color: #0b0c0c;
}
.dfe2014-button {
	border: 0;
	background-color: #104f75;
	color: #fff;
	font-weight: bold;
	padding: 7px 9px;
	display: inline-block;
}
.dfe2014-button-icon {
	position: relative;
	display: inline-block;
	vertical-align: top;
	background-color: #104f75;
	width: 32px;
	height: 32px;
	padding: 0;
}
.dfe2014-button-icon input {
	position: absolute;
	background-color: transparent;
	width: 100%;
	text-indent: -1000em;
}
.dfe2014-button-icon .invisible {
	text-indent: -1000em;
}
.dfe2014-button-icon i {
	width: 100%;
	height: 32px;
	color: #fff;
	padding-top: 5px;
}

/* Horizontal lists ================================================================== */

.dfe2014-list-horizontal {
	margin: 0;
	list-style: none;
	padding: 0;
}
.dfe2014-list-horizontal li {
	float: left;
	margin-right: 30px;
}

/* Font awesome icons sizing ================================================================== */


i.fa {
	font-size: 20px;
}

/* Inline form ================================================================== */

.dfe2014-form-inline p {
	float: left;
	margin: 0 5px 7px 0;
}
.dfe2014-form-inline .dfe2014-form-buttons {
	margin-left: -5px;
}
.dfe2014-form-inline p.dfe2014-form-inline-checkradio {
	margin-left: 10px !important;
	margin-right: 20px !important;
}
.dfe2014-form-inline-checkradio input[type=checkbox] {
	margin-top: 10px;
}

/* AF 2014 header ================================================================== */

.dfe2014-header {
	border-bottom: 8px solid #104f75;
}

/* AF 2014 logo bar ================================================================== */

.dfe2014-header-logo-org {
	display: inline-block;
	border-left: 2px solid #104f75;
	padding: 1px 0 0 44px;
	font-size: 18px;
	font-weight: 400;
	background: url(../img/org_crest.png) no-repeat 6px top;
}
.dfe2014-header-logo-org:hover,
.dfe2014-header-logo-org:focus {
	color: #0b0c0c;
}
.dfe2014-header-logo-org span {
	color: #0b0c0c;
}

/* AF 2014 title bar ================================================================== */

.dfe2014-header-title {
	border-top: 1px solid #e9e9e9;
	position: relative;
}
.dfe2014-header-title h1 {
	font:normal 26px 'Patua One', Georgia, Times, "Times New Roman", serif;
	margin: -3px 0 0 0;
}
.dfe2014-header-title h1 a {
	color: #104f75;
}
#dfe2014-search p {
	margin: 0;
}
#dfe2014-search-button {
	display: none;
}
.dfe2014-header input[type=search] {
	width: 89%;
	width: calc(100% - 32px);
	width: -webkit-calc(100% - 32px);
	width: -moz-calc(100% - 32px);
}
.dfe2014-header-nav {
	padding-top: 10px;
	clear: both;
	position: relative;
	top: 5px;
	left: -4px;
}
.dfe2014-header-nav .dfe2014-list-horizontal {
	clear: both;
}
.dfe2014-header-nav li {
	font-weight: bold;
	margin: 0 4px 5px 0;
}
.dfe2014-header-nav li a {
	display: block;
	padding: 2px 7px;
	color: #104f75;
}
.dfe2014-header-nav li a:hover,
.dfe2014-header-nav li a:focus {
	background-color: #e5f0f7;
	text-decoration: none;
}
.dfe2014-header-nav li a.item-current {
	background-color: #104f75;
	color: #fff;
}

/* AF 2014 sign in bar ================================================================== */

.dfe2014-header-signin {
	border-top: 1px solid #e9e9e9;
	padding-bottom: 13px;
}
p.dfe2014-form-validation-message {
	float: none;
	padding: 7px 10px;
	border: 1px solid #f0b3b3;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background-color: #f9dfdf;
	margin-bottom: 15px;
}
p.dfe2014-form-validation-message .fa {
	top: 2px;
	position: relative;
	margin-right: 3px;
}

/* AF 2014 sign out bar ================================================================== */

.dfe2014-header-signout {
	border-top: 1px solid #e9e9e9;
}
.dfe2014-header-signout p {
	margin: 0;
	float: left;
}
.dfe2014-header-signout p + p {
	float: right;
}

/* Article header ================================================================== */

.dfe2014-articleheader {
	border-bottom: 1px solid #e9e9e9;
	margin-bottom: 30px;
}
.dfe2014-articleheader-breadcrumb {
	padding: 0;
	margin: 0 0 10px 0;
	list-style: none;
}
.dfe2014-articleheader-breadcrumb li {
	float: left;
	color: #666;
	margin: 0;
}
.dfe2014-articleheader-breadcrumb li i {
	font-size: 12px;
	margin-right: 10px;
}
.dfe2014-articleheader-breadcrumb li + li {
	margin-left: 10px;
}
.dfe2014-articleheader-breadcrumb a {
	color: #666;
	text-decoration: underline;
	font-weight: normal;
}
.dfe2014-articleheader .dfe2014-smalltext {
	margin: 20px 0 0 0;
}
.dfe2014-articleheader h1 {
	font:normal 40px/1em 'Patua One', Georgia, Times, "Times New Roman", serif;
	margin: 20px 0 0 0;
}
.dfe2014-smalltext + h1 {
	margin-top: 7px;
}
.dfe2014-articleheader h1 +.dfe2014-smalltext {
	margin-top: 13px;
}
.dfe2014-articleheader-subtitle {
	font-size: 18px;
	margin: 20px 0 0 0;
}
.dfe2014-articleheader-subtitle p {
	margin: 0;
}
.dfe2014-articleheader-subtitle p + p {
	margin-top: 1em;
}

.dfe2014-articleheader-emphasis {
	background-color: #104f75;
	color: #fff;
	padding-top: 7px;
	margin-bottom: 10px;
}

/* AF 2014 footer ================================================================== */

.dfe2014-footer {
	clear: both;
	margin-top: 40px;
	border-top: 1px solid #e9e9e9;
	padding-bottom: 30px;
}
.dfe2014-footer li {
	margin-bottom: 0.5em;
}

/* AF 2014 app footer ================================================================== */

.dfe2014-footer-app {
	padding-bottom: 10px;
}
.dfe2014-footer-app h2 {
	float: left;
	margin: -2px 30px 0 0;
	font: normal 18px 'Patua One', Georgia, Times, "Times New Roman", serif;
}
.dfe2014-footer-app h2 a {
	color: #104f75;
}
.dfe2014-footer-app + .dfe2014-footer {
	margin-top: 0;
}