/*
Theme Name: National Infrastructure - twentyeleven
Description: NI theme - a child theme of twentyeleven
Author: IPC
Template: twentyeleven

v1.0 - Accessibility
v1.1 - Accessibility phase 2

*/

@import url("../twentyeleven/style.css");

body {
	background: white;
	color: black;
}

h1, h2, h3, h4, h5, h6 {
	clear: none;
}

ul {
	list-style: disc;
}

li {
	margin-bottom: 5px;
}

table {
	border-collapse: collapse;
}

caption, th, td {
	border: 2px solid #b4b6b5;
	padding: 3px;
}

img, #content img {
	border: none;
	padding: 0;
	margin-top: 0;
}

h4 {
	font-weight: bold;
}

h5 {
	font-style: italic;
}

.entry-content img, .comment-content img, .widget img {
	max-width: none;
}

a, #supplementary a {
	text-decoration: underline;
	font-weight: normal;
}

body, input, textarea, #access ul {
	font: 13px/18px Verdana, sans-serif;
}

#site-title a, #text-9, .home .entry-title a, #projecthead, .entry-content h1, .entry-content h2, .comment-content h1, .comment-content h2, .widget-title, .widgettitle, #supplementary, .widget h2, input#searchsubmit  {
	color: #2b3675
}

#page {
	max-width: 940px;
	margin: 18px auto 0;
}

html#ie6 #page {
	width: 940px;
}

 .entry-title, .singular .entry-title {
	font-size: 20px;
	padding-top: 0 !important;
	line-height: 24px;
}

#branding {
	border-top: none;
}

#branding hgroup, #branding h1, #branding h2 {
	display: inline;
}

#site-title, #site-description {
	margin: 0;
}

#site-title a {
	font-weight: normal;
	font-size: 28px;
}

header div.aside {
	float: right;
	position: relative;
}

header div.aside ul {
	list-style: none;
}

header div.aside li {
	display: inline;
	margin-left: 0;
}

header div.aside#nav_menu-3 {
	top: 7px;
	margin-bottom: 8px;
}

header div.aside#text-9 {
	top: 5px;
	height: 29px;
}

#access, #nav_menu-3 #menu-top-menu, .ipcbutton, #ipc_project_suggest_results div.ipc_selected {
	margin: 0;
	color: white;
	background: #2b3675; /* Old browsers */
	background: -moz-linear-gradient(top, #3e73b0 0%, #2b3675 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3e73b0), color-stop(100%,#1e286d)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #3e73b0 0%,#2b3675 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #3e73b0 0%,#2b3675 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #3e73b0 0%,#2b3675 100%); /* IE10+ */
	background: linear-gradient(top,#3e73b0 0%,#2b3675 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3e73b0', endColorstr='#2b3675',GradientType=0 ); /* IE6-9 */
	border-radius: 6px;
}

#nav_menu-3 #menu-top-menu li a {
	font-weight: normal;
	text-decoration: underline;
	padding: 0 15px;
	line-height: 21px;
	font-size: 12px;
	color: white;
}

/*#access .current-menu-item > a, #access .current-menu-ancestor > a, #access .current_page_item > a, #access .current_page_ancestor > a {*/
/*	font-weight: normal;*/
/*	background: #f9f9f9; !* Show a solid color for older browsers *!*/
/*	!*background: -moz-linear-gradient(#f9f9f9, #e5e5e5);*!*/
/*	!*background: -o-linear-gradient(#f9f9f9, #e5e5e5);*!*/
/*	!*background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); !* Older webkit syntax *!*!*/
/*	!*background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);*!*/
/*	color: #1c2674;*/
/*}*/

#access a {
	padding: 0 12px;
	line-height: 34px;
	font-size: 15px;
}

#access ul ul {
	top: 34px;
	width: 212px;
}

#access ul ul a {
	width: 192px;
}

#access ul ul ul {
	width: 340px;
}

#access ul ul ul a {
	width: 320px;
}

#access ul {
	margin: 0;
}

#access ul li {
	border-right: 1px solid white;
	margin: 0;
}

input#s {
	position: relative;
	height: 13px;
	background: white;
	border-radius: 0;
}

#branding #s:focus,
#branding #s {
	width: 124px;
}

#branding #searchform {
	position: relative;
	float: right;
	margin: 6px 9px;
	right: 0;
	top: 0;
}

#branding #s {
	float: none;
	border: 1px solid white;
	height: 18px;
	padding: 0;
	box-shadow: none;
}

#branding #searchsubmit {
	display: inline;
	background: #f8f9f8;
	border: 1px solid white;
	padding: 0;
}

#branding hgroup, #access div, .singular #content, .left-sidebar.singular #content {
	margin: 0;
}

#main, .singular.page .hentry {
	padding: 0;
}

.page #content {
	width: auto;
}

.page .entry-header, .page .entry-content, .page footer.entry-meta, .page #comments-title {
	width: auto;
}

#content {
	margin: 0;
	padding-top: 20px;
}

#primary h2, .widget-title, .widgettitle, .widget h2 {
	font-size: 16px;
	margin: 20px 0 10px;
}

/*
.page-template-advice-page-php #primary,
.page-template-sidebar-page-php #primary,
.page-template-project-page-php #primary,
.page-template-region-page-php #primary {
	margin-right: 302px;
}

.page-template-project-page-php #primary.ipc_registration_form .entry-content {
	margin-right: 0;
}
 */


#secondary a {
	font-weight: normal;
	text-decoration: underline;
}

.widget {
	margin: 0;
}

.widget p:last-child {
	margin-bottom: 0;
}

.widget-title, .widgettitle, .widget h2 {
	font-weight: bold;
	text-transform: none;
	letter-spacing: normal;
	line-height: normal;
}

#secondary aside, #secondary .sidebar-box {
	border-top: 2px solid #b4b6b5;
	padding: 0 20px 20px;
}

#secondary aside:first-child, #secondary .sidebar-box:first-child {
	border-top: none;
}

.page-template-default .entry-content, .ipc_registration_form .entry-content {
	width: auto;
}

/*
.ipc_registration_form#primary {
	margin: 0 40px;
	width: auto;
}
 */

.home #content {
	padding: 0;
}

.home .entry-header, .home .entry-content, .home footer.entry-meta, .home #comments-title {
	width: auto;
}

/* hack to stop page title appearing in heading tag */
.home .entry-title, .page-template-project-page-php .entry-title, .single-page-documents .entry-title {
	display: none;
}

.home .entry-content .entry-title{
	display: block;
	clear: none;
}

.home .entry-content .entry-title a{
	font-size: 16px;
	font-weight: bold;
}

.home .entry-content form {
	display: none;
}

.home .entry-content h1, .home .entry-content h1 a {
	font-size: 16px;
}

.hentry {
	margin: 0;
}

.hentry, .no-results {
	border-bottom: none;
}

.entry-title {
	padding-top: 26px;
	clear: none;
}

.entry-content {
	padding: 0 0 20px;
}

#primary .entry-content div h2 {
	margin-top: 0;
}

#primary .entry-content div p:last-child {
	margin-bottom: 0;
}

.entry-content h1, .entry-content h2, .comment-content h1, .comment-content h2 {
	margin: 0;
}

.entry-content h1, .comment-content h1 {
	line-height: 24px;
	padding: 3px 0 6px;
}

.entry-content h3, .comment-content h3 {
	font-size: 15px;
	text-transform: none;
	font-style: italic;
	line-height: normal;
}

.entry-content th, .comment-content th {
	font-size: 14px;
	font-weight: bold;
	text-transform: none;
	line-height: normal;
}

.entry-content #slideshow img {
	max-width: 100%;
}

html#ie6 .entry-content #slideshow img {
	width: 100%;
}

#supplementary {
	background: #eff1ee;
	position: absolute;
	left: 0;
	width: 100%;
	padding: 10px 0;
}

#supplementary #first {
	max-width: 940px;
	margin: 0 auto;
}

html#ie6 #supplementary #first {
	width: 940px;
}

#supplementary #first aside div.textwidget div {
	margin: 0 10px 0;
}

#site-generator {
	display: none;
}

body.search #secondary {
	display: none;
}

/*
body.search #primary {
	margin: 0;
}
 */

body.search #content {
	width: auto;
}

/* silly edit buttons */
.singular .entry-meta .edit-link a {
	left: -50px;
}


/* fun with IE7 */

html#ie7 header div.aside#text-9 {
	top: 0;
}

/**** FOR PLUGINS ****/
/* slideshow */

.ipc_slideshow {
	border-radius: 7px;
	height:105px;
	max-width:940px;
	background-color:transparent;
	margin:0 auto 20px;
	overflow:hidden;
}

html#ie6 .ipc_slideshow {
	width:940px;
}

/* datatables */
.dataTables_wrapper caption, .dataTables_wrapper th, .dataTables_wrapper td, .wp-table-reloaded caption, .wp-table-reloaded th, .wp-table-reloaded td {
	border: 0;
}

.dataTables_wrapper div {
	margin-bottom: 5px;
}

.dataTables_wrapper .wp-table-reloaded, .dataTables_wrapper {
	clear: left !important; /* don't push tables down past the right-hand sidebar */
}

/* stop tables getting too wide - overflow hidden doesn't help as we don't want to truncate the table */
#advice-table td div {
	max-width: 611px;
}

html#ie6 #advice-table td div {
	width: 611px;
}

/* projects table on projects page: liprft */
/*
#main .dataTables_length {
	float: none;
}

#main .dataTables_info {
	width: auto;
}

#main .dataTables_paginate {
	float: left;
	margin: -3px 8px 0;
}

#main .dataTables_filter {
	margin-top: -5px;
}

/* new stuff for IPC/NIP templates */

.ipc_js {
	display: none;
}

#ipc_project_suggest_container {
	position: absolute;
}

#ipc_project_suggest_under {
	margin-bottom: 64px;
}

#ipc_project_suggest {
	padding: 5px 1px;
	margin-right: 16px;
}

#ipc_project_suggest_go {
	font-size: 16px;
	padding: 3px 21px 2px;
	position: relative;
	top: 2px;
}

#ipc_project_suggest_results{
	background: white;
	box-shadow: 2px 2px 2px;
	max-height: 400px;
	overflow: auto;
}

#ipc_project_suggest, #ipc_project_suggest_results {
	width: 358px;
}

#ipc_project_suggest_results div.ipc_selected {
	border-radius: 0;
}

#ipc_project_suggest_results div{
	padding: 5px;
	border: 1px solid #ccc;
	cursor: default;
}

body.page-template-region-page-php .entry-content img {
	margin: 0 0 10px 30px;
}

#projecthead {
	background: #eff1ee;
	padding: 12px 12px 6px;
	margin-bottom: 6px;
}

#projecthead h1 {
	font-weight: bold;
	font-size: 16px;
}

#projecthead aside div div {
	margin-bottom: 8px;
}

#projecthead aside div div a {
	font-weight: normal;
	text-decoration: underline;
	font-size: 12px;
}

#ipc_project_headline, .header-post li {
	background: white;
	border: 2px solid  #2b3675;
	border-radius: 20px;
	text-align: left;
	margin-bottom: 20px !important;
	padding: 14px;
	list-style: none;
}

.header-post {
	margin: 0;
}

#ipc_project_headline .icon {
	float: left;
	margin-right: 20px;
	position: relative;
	top: -4px;
	margin-bottom: -7px;
}

#ipc_project_headline .ipcbutton {
	float: right;
	line-height: 2em;
	margin: 0 0 0 10px;
	text-decoration: none;
	width: inherit;
}

html#ie7 #ipc_project_headline .ipcbutton {
	width: auto;
}

#ipc_project_headline h1, #ipc_project_headline h2 {
	clear: none;
}

#ipc_project_headline h1 {
	font-size: 20px;
	line-height: 44px;
	font-weight: normal;
}

#ipc_project_headline h2 {
	font-style: italic;
	line-height: normal;
	font-size: 14px;
	margin: 10px 0 0;
}

#ipc_project_headline p {
	/*margin: 0;*/
}

html#ie6 #projectmapzoom {
	filter: chroma(color=black);
}

/* changes to IPC stuff */

.aside p, .widget p {
	word-wrap: break-word;
}

#projectsmap{
	width: 350px;
	height: 350px;
	margin: 0px 0px 10px 20px;
}

#ipc_stage_display {
	margin-bottom: 10px;
	background: url("images/stage/prev-curr-next.png");
	height: 43px;
}

#ipc_stage_display ol {
	list-style: none;
	padding-top: 9px;
	margin: 0;
}

#ipc_stage_display li {
	color: #0b0c0c;
	font-weight: normal;
}

#ipc_stage_display li {
	color: #0b0c0c;
	float: left;
	margin: 4px -15px 4px 16px;
	text-align: center;
	width: 142px;
	z-index: 40;
	position: relative;
}

li#ipc_current_stage {
	color: white;
}

.ipc_project_about {
	background: #e6e7e8;
	padding: 5px;
}

.ipc_history_item {
	min-height: 48px;
	padding: 15px;
	border-left: 2px solid #b4b6b5;
	border-right: 2px solid #b4b6b5;
	border-bottom: 2px solid #b4b6b5;
}

/*  overview enhacements */
.ipc_history_item h1, .ipc_history_item h2, .ipc_history_item h3{

    font-size: 12px !important;
    font-weight: normal;
    color: inherit;
}

.ipc_history_item:first-child {
	border: 2px solid #b4b6b5;
}

.ipc_history_item ul {
	list-style: disc;
}

.ipc_history_item ul, .ipc_history_item div {
	margin-left: 42px;
}

.ipc_history_item li {
	margin-left: 0;
}

.ipcmapsub {
	background: #dedede;
	padding: 5px;
	font-weight: bold;
	margin-bottom: 0;
}

.ipcbuttonsmall {
	width: 126px;
}

#repstable a, #repstable a:hover, #repstable a:active, #repstable a:focus, #advice-table a, #advice-table a:hover, #advice-table a:active, #advice-table a:focus {
	text-decoration: none;
	color: black;
}

a.ipcglossterm {
	font-style: italic;
	text-decoration: none;
	font-weight: inherit;
}

/* left-over from thematic - should change template */
#container {
	float: left;
}

.banner p {
	margin: 0;
}

ol.ipcprojecttabs, ol.ipcprojectsections {
	list-style-type: none;
	margin-left: 0;
}

/* buttons!! */
.ipcbuttongroup {
	background: #e8e8e8;
	/*font-weight: bold;*/
	margin: 4px 0px;
	padding: 4px 8px;
}

.ipcbutton {
	/*background: #ccc;
	background: -moz-linear-gradient(center top, #eee 5%,#aaa 95%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #eee),color-stop(0.95, #aaa));
	text-shadow:#ddd 0px 0.5px 0, #222 0 -0.5px 0; */
	box-shadow: 2px 2px 3px #000;
	-moz-box-shadow: 2px 2px 3px #000;
	margin-left: 5px;
	margin-bottom: 5px;
	padding: 10px;
	text-align: center;
	/*font-weight: bold;*/
	text-decoration: none;
	display: inline-block;
/*	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;*/
}

.ipcbuttonsm {

	color: white;
	background: #2b3675; /* Old browsers */
	background: -moz-linear-gradient(top, #3e73b0 0%, #2b3675 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3e73b0), color-stop(100%,#1e286d)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #3e73b0 0%,#2b3675 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #3e73b0 0%,#2b3675 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #3e73b0 0%,#2b3675 100%); /* IE10+ */
	background: linear-gradient(top,#3e73b0 0%,#2b3675 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3e73b0', endColorstr='#2b3675',GradientType=0 ); /* IE6-9 */
	border-radius: 6px;
	margin-left: 2px;
	margin-bottom: 2px;
	padding: 4px;
	text-align: center;
	text-decoration: none;
	display: inline-block;

}

.ipcbuttonsm:hover, .ipcbuttonsm:active, .ipcbutton:hover, .ipcbutton:active {
	background: black !important;
	color: white !important;
}

.ipcbuttonon, .ipcbuttonon:hover, .ipcbuttonon:active {
	background: black !important;
	color: white !important;
}

.ipcbuttonsm:active, .ipcbutton:active {
	background: #0b0c0c !important;
}

.ipcbuttonon:active {
	background: #0b0c0c !important;
}


.ipcbuttontiny {
	width: 80px;
}

.ipcbuttonbig {
	width: 330px;
}

.ipcbuttonside {
	width: 230px;
}

.ipcbutton a, a.ipcbutton {
	text-decoration: none;
}

/*.ipcbuttonon, .ipcbuttonon:hover, .ipcbuttonon:active {
	background: #eec;
	background: -moz-linear-gradient(center top, #ffe 5%,#cca 95%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffe),color-stop(0.95, #cca));
	box-shadow: none;
	-moz-box-shadow: none;
}*/

.ipcdisabled, .ipcdisabled:hover, .ipcdisabled:active {
	background: #eee;
	filter: none;
	color: #aaa;
	text-shadow: none;
	box-shadow: 2px 2px 3px #aaa;
	-moz-box-shadow: 2px 2px 3px #aaa;
}

.ipcthree {
	margin-left: 17%;
}

.ipcsmall {
	padding: 2px;
}

.ipcthin {
	padding: 6px 10px;
	width: auto;
	margin-left: 5px;
}

/* repbuttons */
#ipc_repbuttons li {
	list-style: none;
	display: inline;
	margin-left: 5px;
}

ul#ipc_repbuttons {
	text-align: center;
	border-bottom: 1px solid #ccc;
	background: white;
	margin: 0pt -12px;
	padding: 10px;
}

#ipc_repbuttons h2 {
	margin: 0;
	font-size: 100%;
	font-weight: normal;
	color: white;
}

#ipc_repbuttons a.ipcbuttonon h2, #ipc_repbuttons a.ipcbutton:hover h2 {
	color: #2b3675;
}

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

#ipc_repbuttons a.ipcbutton {
	padding: 6px 10px;
	color: white;
}

/* relevant reps redaction */
.redacted{
	background: black;
	margin: 0.5em;
	padding: 0 2.5em;
}

.entry-content img.redacted{
	width: 5em;
	height: 1.5em;
	margin: 0;
	padding: 0;
}

/* form stuff */
#main .ipc-form textarea, #main .ipc-form select {
	width: 600px;
	margin: 5px 0px;
}

#main .ipc-form input:focus, #main .ipc-form textarea:focus, #main .ipc-form select:focus {
	background: #eef;
	color: #666;
}

div.fieldset,
legend, fieldset, .inabox, .ipcInfoField, #main input, #main textarea, #main select {
	border: 1px solid #000;
}

div.fieldset,
fieldset {
	background: #eee;
	margin: 5px 0px;
	padding: 5px 10px;
}

legend {
	size: 1.5em;
	font-weight: bold;
	background: white;
	padding: 0 12px;
	border-radius: 12px;
}

.legend-h4 {
	background: #eee;
	margin: 5px -11px !important;
	padding: 5px 10px !important;
	border-radius: 0;
}

.ipcformmagic {
	display: table;
	width: 100%;
}

.ipcformmagic label, .ipcformmagic input {
	display: table-cell;
}

.ipcformmagic label {
	padding-right: 1em;
	vertical-align: middle;
	width: 20%;
}

#main .ipcformmagic input {
	float: right;
	margin: 5px 0;
	width: 100%;
}

#main input.ipcsubmit {
	margin: 1em auto;
	display: block;
	width: 250px;
}

.ipc-form form ol {
	margin: 0px;
	padding: 0px;
	list-style-position: inside;
}

.ipc-form form ol h2,
.ipc-form form ol h4 {
	clear: right;
	display: inline;
}

.inabox {
	background: #dedede;
	padding: 8px;
	margin: 5px 0px;
}

.projectname {
	font-size: 1.5em;
	font-weight: bold;
	line-height: 1.5;
}

.formhelp, .formnotice{
	background: #eed;
	background: -moz-linear-gradient(center top, #eed 5%,#ddb 95%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #eed),color-stop(0.95, #ddb));
	padding: 2.5em;
	margin: 8px 0px;
	-moz-border-radius: 2em;
	-webkit-border-radius: 2em;
}

.formhelp:before, .formnotice:before{
	float: left;
	font-size: 3em;
	font-weight: bold;
	font-style: normal;
	color: white;
	background: #474D80;
	background: -moz-linear-gradient(center top, #676DA0 5%,#474D80 95%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #676DA0),color-stop(0.95, #474D80));
	-moz-border-radius: 2.25em;
	-webkit-border-radius: 2.25em;
	margin-right: 8px;
	margin-left: -6px;
	text-align: center;
	min-width: 32px;
	min-height: 32px;
}

.formhelp:before{
	content: "?";
	/*padding: 0 0.2em;*/
	padding: 18px 9px 2px 13px;
}

.formnotice:before{
	content: "!";
	/*padding: 0.25em 0.39em;*/
	padding: 18px 10px 2px 11px;
}

.invalid, .invalid a, .invalid a:hover, .invalid a:active, .invalid a:visited{
	font-weight: bold;
	color: #A64F5E;
}

.invalid:after{
	content: "!";
	font-size: 1.5em;
	color: white;
	background: #A64F5E;
	background: -moz-linear-gradient(center top, #C66F7E 5%,#A64F5E 95%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #C66F7E),color-stop(0.95, #A64F5E));
	padding: 0em 0.4em;
	-moz-border-radius: 0.75em;
	-webkit-border-radius: 0.75em;
	margin-left: 0.5em;
	text-align: center;
}

.ipcformshow {
	border: 2px solid #ccc;
	-moz-border-radius: 0.75em;
	-webkit-border-radius: 0.75em;
	padding: 1em;
	margin-top: 0.5em;
}

.ipcformhead {
	background: #ccc;
	margin: -1em -1em 1em;
	padding-left: 1em;
}

.note{
	position: absolute;
	top: 0;
	right: 0;
}

/*Additional style to aid accessibility on Home page*/
#post-72 .entry-content h2 {
	font-size: 100%;
	font-style: italic;
}




/**
* Single document page styles by Ghazanfar Mir on 24September,2013
*
**/

.container-box{
    width:100%;
    border:1px solid #E8E8E8;
    border-radius: 5px;
    margin-bottom: 10px;

}

.container-box .container-box-title{
    background-color:#E8E8E8;
    color: #666666;
    padding:5px;
    font-weight: bold;
    font-size: 12px;
    border-bottom: 1px solid #E8E8E8;
}


.container-box  .container-box-body{
    padding:5px;
    background-color:#F2F2F2;
}

.stages-list p{
    margin:5px 2px;
    padding:5px 2px;
    font-size: 10px;
}

.breadcrumb{
    padding:10px 10px 10px 0px;
}

.breadcrumb #remove-filter {
    text-align: right;
}

.selected{
    font-weight:bold;
}

#single-document-left .ui-accordion .ui-accordion-content { padding: 0; margin:0;}

#single-document-left .ui-accordion .ui-accordion-header a{
    font-style:normal;
    padding-left: 25px;
    display: inline-block;
    font-size: 11px;
    letter-spacing: 1px;
}
#single-document-left .ui-accordion .ui-accordion-content ul{
    font-size:11px;
    line-height:15px;
    list-style: none;
    margin:5px 2px;
    padding:5px 2px;
}
#single-document-left .ui-accordion .ui-accordion-content ul li{
    font-size:11px;
}

#single-document-left .ui-accordion .ui-accordion-content ul li a{
    text-decoration: none;
}

#single-document-left .ui-accordion .ui-accordion-content ul li a:hover{
    text-decoration: underline;
}

#single-document-left .ui-accordion .ui-accordion-content ul li ul{
}
#single-document-left .ui-accordion .ui-accordion-content ul li ul li {
    list-style: square;
    padding: 0px 0px 0px 5px;
    margin-left: 10px;
    line-height: 15px;
}

#single-document-left .ui-accordion .ui-accordion-content ul li ul li a{
    font-size:10px;
}



#single-document-left .ui-accordion .ui-accordion-header .ui-icon {
    position: absolute;
    left: 0.3em;
    top: 50%;
    margin-top: -8px;
}

.filter-snippet-box{
    padding:10px;
    background-color: #FFF2E6;
    margin-bottom:15px;
    color: gray;
    font-size: 12px;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3), 0px 0px 40px rgba(0, 0, 0, 0.1) inset;
}

.document-body{
    overflow: hidden;
}

.document-body .right{
    margin-left: 110px;
    display: block;
}

.document-body .right a{
    text-decoration: none;
}

.document-body .right a:hover{
    text-decoration: underline;
}


.document-body .left{
    float: left;
    position:relative;
    min-height: 80px;
}

.document-body .left img{
    display: block;
}

.document-metadata{
    color: #666666;
    font-size: 11px;
    font-style: italic;
}

.first-field {
	display: none !important;
}

/* datatables  - TablePress @ 01/10/2013*/
.dataTables_wrapper{
    float:left;
    width: 100%;
}

/* single documents styles */
.filter-list {
    list-style: none;
    padding:0;
    margin:0;
}

.filter-list li {
    font-size: 10px;
	list-style: disc;
    margin-left: 15px;
}

.filter-list li a{
    text-decoration: none;
    color:#222222;
}


.filter-list li a:hover{
    text-decoration: underline;
}

.icon-timetable{
    margin-bottom: 10px;
    display: inline-block;
}

.icon-timetable img{
    margin-right: 5px;
}

.icon-timetable a {
    text-decoration: none;
    padding-left: 10px;
}

.icon-timetable a:hover {
    text-decoration: underline;
}

.icon-timetable a img, .icon-timetable a span {
    vertical-align: middle;
}

.details-component {
	border-left: 5px solid #ccc;
	margin-top: 10px;
	margin-left: 0;
	padding-left: 20px;
}

button.ipcsubmit {
	/*margin: 1em auto;*/
	display: block;
	width: 250px;
	font-size: 20px;
	font: 13px/18px Verdana, sans-serif;
}

button .lds-ellipsis {
	/*margin: 1em auto;*/
	display: block;
	/*width: 250px;*/
	/*background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #eee),color-stop(0.95, #aaa));*/
	/*text-shadow:#ddd 0px 0.5px 0, #222 0 -0.5px 0;*/
	/*box-shadow: 2px 2px 3px #000;*/
	/*-moz-box-shadow: 2px 2px 3px #000;*/
	margin-left: 5px;
	margin-bottom: 5px;
	padding: 10px;
	text-align: center;
	/*font-weight: bold;*/
	text-decoration: none;
	display: inline-block;
}

a.doclink
{
	font-weight: bold;
}
h3.doclink
{
	font-weight: bold;
	padding-bottom: 10px;
}


/**
 *	Accessibility Tabbing Focus
 *	Based on GDS conventions Jun 2020
 */
a:focus {
	color: #0b0c0c;
}

/* inputs shouldn't have background */
a.change-settings-button-wrapper:focus,
div.moove-gdpr-button-holder button.mgbutton:focus,
span.more:focus,
#repstable a:focus,
#access a:focus,
iframe:focus,
a:focus {
	outline: 3px solid transparent !important;
	color: #0b0c0c !important;
	background-color: #ffdd00 !important;
	box-shadow: 0 -2px #ffdd00, 0 4px #0b0c0c !important;
	text-decoration: none !important;
}

th.sorting:focus,th.sorting_asc:focus,th.sorting_desc:focus,
input[type=search]:focus,
textarea:focus,
select:focus,
input:focus {
	outline: 3px solid transparent !important;
	color: #0b0c0c !important;
	box-shadow: 0 -4px #ffdd00, 0 6px #0b0c0c !important;
	text-decoration: none !important;
	background: white !important;
}

a:focus, /* Includes the blue button links */
select:focus, /* The above shadow styling has no effect */
div.menu ul li a:focus {
	background: #ffdd00 !important;
}

#advice-table a:focus,
#repstable a:focus {
	display: block !important;
	background: white !important;
}

/*
	Accessibility Contrast
	https://design-system.service.gov.uk/styles/colour/
*/

a.paginate_button.disabled{ /* tablepress previous / next button */
	color: #626a6e !important;
}

li#ipc_current_stage {
	color: black !important;
	font-weight: bold;
}

.ipcprojecttabs li {
	float: left;
	margin: 0;
	background: #b1b4b6;
}

div.container-box-body.stages-list {
	background: white;
}

#primary .entry-content div h2,
.container-box .container-box-title {
	color: #0b0c0c !important;
}

div.container-box-body.stages-list h3.ui-accordion-header {
	border: 1px solid #b1b4b6;
	border-radius: 0;
	background: white;
}

div.container-box-body.stages-list  .ui-accordion .ui-accordion-header a {
	color: #0b0c0c !important;
}

div.entry-content table.tablepress tr:hover td {
	background: white !important;
	color: #0b0c0c !important;
}

div.entry-content table.tablepress tr.odd:hover td {
	background: rgb(249, 249, 249) !important;
}


div.entry-content table.tablepress tr:hover td a {
	color: #0b0c0c !important;
}

#access li:hover > a, #access ul ul :hover > a, #access a:focus {
	background: #003078 url("");
	color: white;
}

div.tabs-wrapper {
	/*background-color: white;*/
}

ol.ipcprojecttabs {
	/*border-bottom: 1px solid #b1b4b6;*/
	height: 45px !important;
	margin-top: 10px;
}

ol.ipcprojecttabs li {
	position: relative;
	margin-right: 5px;
	margin-bottom: 20px;
	margin-left: 0;
	padding: 10px;
	float: left;
	background-color: #f3f2f1;
	text-align: center;
	font-size: 14px;
	line-height: 1.31579;
	font-weight: 400 !important;
}

ol.ipcprojecttabs li a {
	text-underline: none;
}

ol.ipcprojecttabs li a.ipctab {
	color: #0b0c0c;
	font-weight: 400;
}

ol.ipcprojecttabs li.ipcbuttonon {
	position: relative;
	margin-top: -5px;
	padding-top: 14px;
	padding-right: 19px;
	/*padding-bottom: 16px;*/
	padding-left: 19px;
	border: 1px solid #b1b4b6;
	border-bottom: none; /*1px solid white;*/
	background-color: #fff !important;
}

ol.ipcprojecttabs li.ipcbuttonon a {
	text-decoration: none;
}

.h3-h2 {
	margin-bottom:10px;
	margin-top:20px;
	color:#2B3675;
	font-size:13px;
	font-weight:bold;
}

.col-half-left {
	width: 49%;
	float: left;
}

.col-half-right {
	width: 49%;
	float: right;
}

.ipc-form ol h3 {
	color: #0b0c0c;
	font-size: 16px;
	margin: 20px 0 10px;
	clear: right;
	display: inline;
	font-style: normal;
	font-weight: bold;
	letter-spacing: normal;
}

#projectstable_paginate {
	text-align: right !important;
	float: none !important;
}

.form-error {
	display: block;
	clear: both;
}
.form-error.invalid {
	width: 100%
}
label.block-label {
	width: 100%;
	display: block;
	clear: both !important;
}

a.error-anchor:link, a.error-anchor:visited {
	color: #A64F5E !important;
}

/* Added Oct 2020 as part of  Notify release */

.widget ul li {
	color: #2B3675;
	font-size: 13px;
}


.govuk-button {
	font-family: "GDS Transport",arial,sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-weight: 400;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.1875;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: inline-block;
	position: relative;
	width: 100%;
	margin-top: 0;
	margin-bottom: 22px;
	padding: 8px 10px 7px;
	border: 2px solid transparent;
	border-radius: 0;
	color: #fff;
	background-color: #00703c;
	-webkit-box-shadow: 0 2px 0 #002d18;
	box-shadow: 0 2px 0 #002d18;
	text-align: center;
	vertical-align: top;
	cursor: pointer;
	-webkit-appearance: none;
}

.govuk-button {
	font-size: 1.1875rem;
	line-height: 1;
	margin-bottom: 32px;
	width: auto;
}

.govuk-button:link, .govuk-button:visited, .govuk-button:active, .govuk-button:hover {
	color: #fff;
	text-decoration: none;
}

.govuk-button:hover {
	background-color: #005a30;
}

.govuk-button:active::before {
	top: -4px;
}

.govuk-button:active {
	top: 2px;
}

.govuk-button:focus:not(:active):not(:hover) {
	border-color: #fd0;
	color: #0b0c0c;
	background-color: #fd0;
	-webkit-box-shadow: 0 2px 0 #0b0c0c;
	box-shadow: 0 2px 0 #0b0c0c;
}

.govuk-hint,
.govuk-label {
	font-size: 15px !important;
}

.govuk-button {
	font-size: 1.5rem;
}

/* bootstrap refinements */
header#branding {
	margin: 0;
	padding: 0;
}

header#branding ul.navbar-nav {
	margin: 0;
}

header#branding .navbar.navbar-expand-lg {
	padding: 5px 3px 3px 3px;
}

header#branding .navbar input.search {
	font-size: 10px;
	padding: 3px;
}






body,
/*.container,*/
#main,
#page,
#primary,
#content,
#secondary {

	/*
		note, the auto gives a bottom scrollbar!
		maybe container isn't needed here?
		it's the negative padding
	*/
	margin: 0;
	padding: 0;
	float: none;
	width: auto;
	/*max-width: initial;*/
}
#page {
	max-width: 940px;
	padding: 0 15px 15px;
}

.hentry {
	padding: 0;
	margin: 0;
}



.img-fluid {
	width: 100%
}

.project-image {
	max-width: 100% !important;
	height: auto !important;
}

nav.navbar {
	margin: 20px 0;
	padding: 0 !important;
}

.navbar {
	margin: 0;
	color: white;
	background: #2b3675; /* Old browsers */
	background: -moz-linear-gradient(top, #3e73b0 0%, #2b3675 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3e73b0), color-stop(100%,#1e286d)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #3e73b0 0%,#2b3675 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #3e73b0 0%,#2b3675 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #3e73b0 0%,#2b3675 100%); /* IE10+ */
	background: linear-gradient(top,#3e73b0 0%,#2b3675 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3e73b0', endColorstr='#2b3675',GradientType=0 ); /* IE6-9 */
	border-radius: 6px;
}

.navbar-nav li {
	margin-bottom: 0;
	border-right: 1px solid #fff;
}

.navbar-light .navbar-nav .nav-link:link,
.navbar-light .navbar-nav .nav-link:visited {
	color: white;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:active {
	color: white;
	background: #003078;
}

.navbar-light .navbar-nav .active > .nav-link {
	color: white;
}

.navbar-light .navbar-nav .active {
	background: white;
}

.navbar a:link,
.navbar a:visited,
.navbar a:hover,
.navbar a:active {
	text-decoration: none;
}

.navbar a:matches(:hover, :focus, .active) {
	color: black;
}

.navbar ul > li > ul > li {
	font-size: 13px
}

.home-right-panel {
	background: white;
}

.navbar ul > li {
	padding-left: 8px !important;
}

.navbar ul li a.dropdown-item {
	padding-left: 8px;
}

.navbar ul > li.active {
	background: #f8f9fa !important;
}

/* Bootstrap DD testing end */


@media (min-width: 768px) {
	.home-right-panel-border {
		border-left: 1px solid #ccc;
		padding-left: 10px;
		margin-left: 10px;
	}

	.navbar ul > li {
		padding-left: 0 !important;
	}
}

/* Footer 2nd col justify */
@media (min-width: 992px) {
	.text-right-lrg {
		text-align: right;
	}
}

#main #secondary {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

#branding #searchform {
	top: 0 !important;
}
#branding #searchform {
	position: initial;
	float: initial;
	padding: 4px;

}

.navbar-toggler {
	margin: 6px 3px 0;
	width: 47px;
	height: 34px;
	background-color: #7eb444;
}

.navbar-toggler .line {
	width: 100%;
	float: left;
	height: 2px;
	background-color: #fff;
	margin-bottom: 5px;
}

.menu-top-menu-container {
	padding-top: 4px;
	margin-right: -2px;
}

#searchform {
	/*border: 1px solid black;*/
	padding: 2px;
	padding-right: 0;
	margin: 5px;
	margin-right: 0;
}

#searchform input[type="text"]{
	border: 1px solid black;
}

#searchform input[type="submit"]{
	border: 1px solid black;
}

#searchform {
	position: relative;
	float: right;
	margin: 6px 9px;
	right: 0;
	top: 0;
}

.navbar #searchform {
	border: 0;
	padding: 2px;
	padding-right: 0;
	margin: 5px;
	margin-right: 0;
}

.navbar #searchform input[type="text"]{
	border: none;
	font-size: 13px !important;
	line-height: 18px !important;
	padding: 5px !important;
}

.navbar #searchform input[type="submit"]{
	border: 1px solid black;
	padding: 3px !important;
}

.navbar ul > li a:focus {
	color: black !important;
}


#accordion h3 {
	margin-bottom: 1px;
}

/* header search form */
#searchform input[text]  {
	width: 100%
}



/* TBC - bottom scrollbar ...*/
#page {
	margin: 0 auto;
}

#header,
#main #content {
	margin: auto 0;
}
a.nav-link:hover {
	color: white !important;
}

html body table.tablepress {
	width: 100% !important;
}

html body table.tablepress td {
	width: auto !important;
}

/* Cookie Plugin Begin */
div.moove-gdpr-info-bar-container {
 	background:black;
}

div.moove-gdpr-info-bar-container div.moove-gdpr-info-bar-content div.moove-gdpr-cookie-notice a:link,
div.moove-gdpr-info-bar-container div.moove-gdpr-info-bar-content div.moove-gdpr-cookie-notice a:visited,
div.moove-gdpr-info-bar-container div.moove-gdpr-info-bar-content div.moove-gdpr-cookie-notice a:hover,
div.moove-gdpr-info-bar-container div.moove-gdpr-info-bar-content div.moove-gdpr-cookie-notice a:active {
	color: white !important;
}

div.moove-gdpr-info-bar-container div.moove-gdpr-info-bar-content div.moove-gdpr-cookie-notice p {
	font-style: normal !important;
	font-weight: normal !important;
	font-size: 13px !important;
	font-family: Verdana !important;
	color: white !important;
}

div.moove-gdpr-info-bar-container .moove-gdpr-button-holder button {
	border: 3px solid white !important;
}

@media (min-width: 768px) {
	div.moove-gdpr-button-holder {
		margin-top: 130px;
	}
}

@media (max-width: 768px) {
	div.moove-gdpr-info-bar-container a.change-settings-button-wrapper,
	div.moove-gdpr-button-holder {
		width: 49%;
		float: left;
		margin-top: -10px;
	}
	div.moove-gdpr-button-holder .moove-gdpr-infobar-allow-all {
		padding: 10px 30px;
		font-size: 14px !important;
		width: 100%;
		line-height: 33px;
	}

	.moove-gdpr-info-bar-content button.mgbutton {
		padding: 8px 20px !important;
	}
}

@media (max-width: 767.98px) {

	div.moove-gdpr-info-bar-container a.change-settings-button-wrapper,
	div.moove-gdpr-button-holder {
		width: 49%;
		float: left;
		margin-top: -10px;
		text-align: center;
		display: block;
	}
	div.moove-gdpr-button-holder .moove-gdpr-infobar-allow-all {
		padding: 10px 30px;
		font-size: 14px !important;
		width: 100%;
		line-height: 33px;
	}

}

@media (max-width: 575.98px) {
	div.moove-gdpr-info-bar-container a.change-settings-button-wrapper,
	div.moove-gdpr-button-holder {
		width: 100%;
		margin: 10px;
		text-align: center;
	}
	div.moove-gdpr-button-holder {
		margin: 5px;
		margin-right: 3px;
	}
}

div.moove-gdpr-info-bar-container a.change-settings-button-wrapper {
	font-size: 14px !important;
	line-height: 20px;
	color: #fff;
	/*font-weight: 700;*/
	text-decoration: none;
	border-radius: 0;
	padding: 8px 30px;
	transition: all .3s ease;
	border: none;
	display: inline-block;
	margin: 3px 4px;
	white-space: nowrap;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	background-color: #2b3675;
	border: 3px solid white;
	font-family: Nunito, sans-serif !important;
	text-decoration: none !important;
}

div.moove-gdpr-info-bar-container a.change-settings-button-wrapper:link,
div.moove-gdpr-info-bar-container a.change-settings-button-wrapper:visited,
div.moove-gdpr-info-bar-container a.change-settings-button-wrapper:hover,
div.moove-gdpr-info-bar-container a.change-settings-button-wrapper:active,
div.moove-gdpr-info-bar-container a.change-settings-button-wrapper:link span,
div.moove-gdpr-info-bar-container a.change-settings-button-wrapper:visited span,
div.moove-gdpr-info-bar-container a.change-settings-button-wrapper:hover span,
div.moove-gdpr-info-bar-container a.change-settings-button-wrapper:active span {
	color: white !important;
	text-decoration: none !important;
}

div.moove-gdpr-info-bar-container div.moove-gdpr-info-bar-content div.moove-gdpr-cookie-notice a:focus,
div.moove-gdpr-info-bar-container div.moove-gdpr-info-bar-content div.moove-gdpr-cookie-notice a:focus span{
	color: black !important;
}

a.change-settings-button-wrapper {
	padding: 9px !important;
	margin-top: 3px !important;
}

/* Cookie Plugin End */

/*.navbar-light .navbar-nav .nav-link:link, .navbar-light .navbar-nav .nav-link:visited*/

html ul > li > ul > li > ul > li.dropdown {
	/*background: lightsteelblue !important;*/
}

html ul > li > ul > li > ul > li.dropdown a {
	color: black !important;
}

html ul > li > ul > li > ul > li > ul > li.dropdown a {
	color: black !important;
}

details.govuk-details summary.govuk-details__summary {
	font-size: 13px;
	font-family: Verdana, sans-serif;
	color: black;
}

div.govuk-details__text.details-component {
	font-size: 13px;
	font-family: Verdana, sans-serif;
	color: black;
}

details.govuk-details summary.govuk-details__summary span.govuk-details__summary-text {
	font-size: 13px;
	font-family: Verdana, sans-serif;
	text-decoration: none;
	color: black;
}
