/* 
Theme Name:		 Nightingale Childtheme For IBPS By NECS
Theme URI:		 http://childtheme-generator.com/
Description:	 Nightingale Childtheme For IBPS By NECS is a child theme of Nightingale
Author:			 John Stephen
Author URI:		 https://www.necsu.nhs.uk/
Template:		 nightingale
Version:		 2.0.0
Text Domain:	 nightingale-childtheme-for-ibps-by-necs
*/

/* Add your custom styles here */

.nhsuk-header__navigation-list {
    border-top: 1px solid white;
}

.nhsuk-breadcrumb__item a:visited {
    color: #005eb8;
}

/* hide title on homepage */
.home .entry-header {
    display: none;
}

.no-top-margin {
    margin-top: 0px;
    min-height: 300px;
    border: 1px solid #d8dde0;
    border-bottom: 4px solid #d8dde0;
}

/* Cookie Banner */

body .cky-consent-container {
    position: static !important;
}

/* Cookie button styles */
.cky-btn {
    border-radius: 5px !important;
    border-bottom: #212b32 4px solid !important;
}

.cky-btn:hover {
    background-color: #00662f;
}

.cky-policy:focus,
.cky-btn:focus {
    background-color: #ffeb3b !important;
    border-color: #212b32 !important;
    border: 0;
    border-bottom: #212b32 4px solid !important;
    color: #212b32 !important;
}

.cky-policy:focus-visible,
.cky-btn:focus-visible {
    outline: 0 !important;
}

/* Jump to content */
.screen-reader-text:focus {
    border: 0 !;
    border-radius: 5px;
    background-color: #ffeb3b;
    color: #212b32;
    border-bottom: #212b32 4px solid;
}

/* Main menu */
.nhsuk-header__navigation-list {
    /*	justify-content: left;  */
}

/*  Breadcrumb */
.nhsuk-breadcrumb {
    background-color: #fff;
}

/* ***** TOPOGRAPHY ***** */

.wp-block-list li {
    line-height: 1.5;
}

/* ***** Home banner ***** */
.homepage-hero {
    margin-bottom: 0px !important;
    min-height: 400px !important;
    z-index: 99999;
}

.homepage-hero .nhsuk-grid-column-two-thirds {
    width: auto;
}

.homepage-hero .nhsuk-hero-content {
    max-width: 60em !important;
    width: auto;
    bottom: 80px;
    margin-left: 20px;
    margin-right: 20px;
    padding-bottom: 40px;
}

.homepage-hero .nhsuk-hero__arrow {
    display: none !important;
}

.nhsuk-hero--image .nhsuk-hero__overlay {
    background-color: transparent;
}

@media (max-width: /*23.4375em*/
	40em) {
    .homepage-hero .nhsuk-hero-content {
        top: 30px;
    }

    /* reduce the gaps between cols on mobile */
    :where(.wp-block-columns.is-layout-flex) {
        gap: 0em;
        margin-top: 30px;
    }

    .cky-btn-accept {
        margin-right: 0 !important;
    }
}

@media (min-width: /*23.4375em*/
	40.065em) and (max-width: 64em) {
    .homepage-hero .nhsuk-hero-content {
        top: 30px;
        margin-right: 40px;
    }
}

/* homepage equal height columns */

.wp-block-column {
    display: flex;
}

.nhsuk-footer {
    flex-direction: column;
}

.nhsuk-footer-default__list-item {
    float: none;
}

.homepage-cards {
    margin-bottom: -12px !important;
}

.homepage-urgent {
    margin-top: 0 !important;
}

.homepage-urgent .nhsuk-care-card__content {
    font-size: 19px !important;
}

/* Hide WordFence 2FA User Profile Section */
body.user-edit-php #wfls-user-settings,
body.user-edit-php #wfls-user-settings + table.form-table {
    display: none !important;
}
