.header-wrapper {
padding-bottom: 0px;
padding-top: 20px;
}

.entry-header {
padding-top: 0px;
padding-bottom: 0px;
}

.page-content {
padding: 0;
}

/* Increase width on media devices to allow full width */
.page-content,
.entry-content,
.entry-summary,
.entry-footer,
.post-navigation,
.posts-navigation,
.comments-wrapper,
.respond-wrapper {
	max-width: 100%;
}

/* Button background and text colour */
.button, .faux-button, .wp-block-button__link, .wp-block-file .wp-block-file__button, input[type="button"], input[type="reset"], input[type="submit"], .bg-accent, .bg-accent-hover:hover, .bg-accent-hover:focus, :root .has-accent-background-color, .comment-reply-link {
background-color: #2F5496;
color: #D6E0F2;
}

/* Submenu background and text colour */
.main-navigation ul ul > li > a {
color: #D6E0F2;
background-color: #2F5496;
}

/* Text colour - pages and navigation men */
.main-navigation a, .main-navigation a:visited, .main-navigation li.current-menu-item, .post-navigation a, .site-title a, .site-title a:visited, .menu-toggle, .comment-header cite a, .contact-info-area, .contact-info-area a, body, th {
color: #2F5496;
}

/* Menu text colour */
.main-navigation .sub-menu a, .main-navigation .sub-menu a:visited {
color: white;
}

/* Centralise and padding on slideshow paginator bullets */
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets, .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-custom {
justify-content: center !important;
padding: 10px 0 10px !important;
}

/* Centralise and padding on slideshow paginator numbers */
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-simple, .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-custom .swiper-pagination-simple {
    font-size: 14px;
    line-height: 16px;
    text-align: center !important;
    width: 100%;
}

/* Page Title Settings */
.entry-title {
background-color: #D6E0F2;
padding: 15px;
max-width: 100% !important;
width: auto;
margin-bottom: 25px;
}

/* Quote blocks match para margin and settings */
.wp-block-pullquote {
border-bottom: 2px solid #D6E0F2;
border-top: 4px solid #2F5496;
color: #2F5496;
margin-bottom: 1.8em;
margin-top: 0;
padding: 2em 0;
}

/* Margins and gap between grid rows particularly noticeable on mobile */
.wp-block-jetpack-layout-grid {
margin-bottom: 0 !important;
grid-row-gap: 0;
}

/* Links other than main menu including contents links */
a, a:visited {
color: #ca2017;
}

/* Margin and padding between blocks */
*[class^="wp-block"] .alignwide, *[class^="wp-block"] .alignfull {
margin-bottom: 0;
padding-bottom: 0;
}

/* Remove space from bottom of a group block */
.wp-block-group {
margin-bottom: 0 !important;
}

/* Remove space from bottom of a cover block */
:where(.wp-block-cover-image:not(.has-text-color)), :where(.wp-block-cover:not(.has-text-color)) {
margin-bottom: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
margin-bottom: 0;
padding-top: 0;
padding-bottom: 5px;
margin-top: 0;
}

.wp-block-media-text .wp-block-media-text__content {
padding: 0 2%;
}

.wp-block-media-text {
margin-top: 1.5em;
}

/* reduce distance of dots from bottom of GP slider */
.slick-dots {
 bottom: -10px;
text-align: left;
}

/* add 1px padding to images at top (lines up GP info page) */
.wp-block-image img {
    padding-top: 2px;
}

/* button colours standard dark blue */
.button, .header-search, .main-navigation ul ul a, button, input[type=button], input[type=reset], input[type=submit] {
    background-color: #2f5496;
}

/* Change colour of buttons when pressed to yellow from red default */
a:visited {
color: #F7A809;
}

/* Change colour  of filebird grid boxes */
#filebird-document-library div.fbdl-gridview-container .fbdl-grid .fbdl-grid-item {
background-color: #D6E0F2 !important;
}

/* Change background colour of filebird grid to transparent */
#filebird-document-library div.fbdl-gridview-wrapper {
background-color: #f6f8fc !important;
}

/* Change background colour of filebird listview to transparent */
#filebird-document-library div.fbdl-listview-wrapper {
background-color: #f6f8fc !important;
}

/* Document list odd colours */
table tbody>tr:nth-child(odd)>th, table tbody>tr:nth-child(odd)>td {
background-color: #D6E0F2 !important;
}

/* Document list even colours */
table.dataTable tbody tr {
background-color: #8EAADB !important;
}

/* Document list text change to black */
table.dataTable tbody th, table.dataTable tbody td {
color: initial !important;
}

/* Aligh text in document list to vertical centre */
table.dataTable th, table.dataTable td {
align-content: center !important;
}

/* Increase padding on right of documet list table to centralise download button */
table.dataTable tbody th, table.dataTable tbody td {
padding-right: 1.1em !important;
}

/* Hide renamed shortcode box for wp docs needed on the page for tabs to work */
.hide-shortcode {
display: none;
}

/* Hide menu toggle button from theme menu on mobile */
button.menu-toggle {
display: none
}

/* H4 Title background transparent to remove title background colour on post grid and underline */
.overlay h4 {
background-color: transparent;
	margin-left: 0px;
}

/* Remove left padding from H4 title in post grid */
h4.entry-title {
padding-left: 0;
}

/* Change post grid header dot to another colour */
.tpg-widget-heading-wrapper.heading-style1 .tpg-widget-heading:before {
background-color: #2F5496;
}

/* Change shortcode heading box colour in post grids */
.tpg-widget-heading {
background-color: #2f5496 !important;
color: white !important;
}

/* Change shortcode heading box triangle colour in post grids */
.tpg-widget-heading:after {
border-top: 12px solid #2f5496 !important;
}

/* Change post grids heading from 28 to 20px */
.tpg-widget-heading {
font-size: 20px !important;
}

/* Post grids pagination colour */
.rt-pagination .pagination-list>.active>a, .rt-pagination .pagination-list>.active>a:focus, .rt-pagination .pagination-list>.active>a:hover, .rt-pagination .pagination-list>.active>span, .rt-pagination .pagination-list>.active>span:focus, .rt-pagination .pagination-list>.active>span:hover {
background-color: #2F5496;
border-color: #2F5496;
}

/* Post grids pagination top margin */
.rt-tpg-container .rt-pagination-wrap {
margin-top: 0;
}

.rt-pagination {
margin-top: 0;
margin-bottom: 25px;
}

/* Post grids increase margin above the header to help with border colour when using background colour */
.tpg-widget-heading-wrapper {
margin-top: 25px;
}

/* Cover in layout box to have no margin - subscribe cover on homepage */
.alignfull > *, .alignwide > * {
margin-left: 0;
margin-right: 0;
}

/* Change background colour of address book contact cards */
.contact-list-contact-container {
background-color: antiquewhite;
}

/* Jobs search bar background colour */
.job_filters .search_jobs {
background-color: #D6E0F2;
}

/* Hide RSS feed block on jobs search bar */
.job_filters .showing_jobs {
display: none !important;
}

/* Custom List spacing of lines */
.entry-content {
line-height: 1.4;
}

/*DFlip book thumbnail bigger size */
.df-popup-thumb {
width: 75%;
}

/*DFlip book centralised */
.df-element[data-lightbox], .df-element[data-df-lightbox] {
margin-left: 2.5em !important;
}

/* Increase margin after site logo */
.custom-logo {
margin-bottom: 10px;
}

/* Align main menu in center on bigger screens */
@media screen and (min-width: 768px) {
    .menu-wrapper {
        display: flex; align-items:center;
			display: flex; flex-direction:column;
	}
}

/* Bring D-flip z-index forwaard so is over content when hover */
.df-element[data-lightbox], .df-element[data-df-lightbox] {
z-index: 99;
}

/* Filebird table increase table title font size */
#filebird-document-library div.fbdl-search-control .fbdl-title h2 {
font-size: 1em !important;
}

/* Change the caption font style of youtube embeds */
[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
opacity: 1;
color: black;
padding: 10px 5px 10px 5px;
}

/* Margin after large font size on exams page */
.has-large-font-size {
margin-bottom: 15px;
margin-top: 15px;
}

/* Youtube embed padding to match gallery on exams page */
.wp-block-embed {
padding: 5px;
}

/* Add padding for mobiles */	
@media (max-width: 768px) {
    .mobile-padding {
        padding-left: 16px;
        padding-right: 16px;
    }
}