/*
Theme Name: Leeds Food Aid Network
Theme URI: https://leedsfoodaidnetwork.co.uk
Description: Custom WordPress theme for the Leeds Food Aid Network (FAN), built with Bootstrap 5.
Author: Leeds Food Aid Network
Author URI: https://leedsfoodaidnetwork.co.uk
Version: 2.0.0
Text Domain: leedsfan
Tags: responsive, bootstrap-5, food-aid, accessibility
*/

/* Legacy Bootstrap 2 Helper Classes and Grid for 100% Visual Compatibility */
.pull-right { float: right !important; }
.pull-left { float: left !important; }
.img-rounded { border-radius: 6px; }
.well {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

/* Headings Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 10px 0;
    font-family: inherit;
    font-weight: bold;
    line-height: 20px;
    color: inherit;
}
h1, h2, h3 {
    line-height: 40px;
}
h1 {
    font-size: 38.5px;
}
h2 {
    font-size: 31.5px;
}
h3 {
    font-size: 24.5px;
}

/* Bootstrap 2 Navbar */
.navbar {
    display: block;
    position: static;
    margin-bottom: 20px;
    padding: 0;
}
.navbar-static-top {
    position: static;
    margin-bottom: 20px;
    width: 100%;
}
.navbar-inner,
.navbar-static-top .navbar-inner {
    width: 100%;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
    min-height: 40px;
    background-color: #fafafa;
    background-image: linear-gradient(to bottom, #ffffff, #f2f2f2);
    background-repeat: repeat-x;
    border-bottom: 1px solid #d4d4d4;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

.navbar.hidden-desktop {
    display: block;
    width: 100%;
}
.navbar.hidden-desktop .mega-menu-wrap {
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.container {
    max-width: 1170px;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 1200px) {
    .container {
        width: 1170px;
        max-width: 1170px;
    }
}

/* Bootstrap 2 .row-fluid Grid System */
.row-fluid {
    width: 100%;
}
.row-fluid:before,
.row-fluid:after {
    display: table;
    line-height: 0;
    content: "";
}
.row-fluid:after {
    clear: both;
}
.row-fluid [class*="span"] {
    display: block;
    float: left;
    width: 100%;
    min-height: 30px;
    margin-left: 2.127659574468085%;
    box-sizing: border-box;
}
.row-fluid [class*="span"]:first-child {
    margin-left: 0;
}
.row-fluid .span12 { width: 100%; }
.row-fluid .span11 { width: 91.48936170212765%; }
.row-fluid .span10 { width: 82.97872340425532%; }
.row-fluid .span9  { width: 74.46808510638297%; }
.row-fluid .span8  { width: 65.95744680851064%; }
.row-fluid .span7  { width: 57.44680851063829%; }
.row-fluid .span6  { width: 48.93617021276595%; }
.row-fluid .span5  { width: 40.42553191489362%; }
.row-fluid .span4  { width: 31.914893617021278%; }
.row-fluid .span3  { width: 23.404255319148934%; }
.row-fluid .span2  { width: 14.893617021276595%; }
.row-fluid .span1  { width: 6.382978723404255%; }

.row-fluid .offset12 { margin-left: 104.25531914893617%; }
.row-fluid .offset12:first-child { margin-left: 102.12765957446808%; }
.row-fluid .offset11 { margin-left: 95.74468085106382%; }
.row-fluid .offset11:first-child { margin-left: 93.61702127659574%; }
.row-fluid .offset10 { margin-left: 87.23404255319149%; }
.row-fluid .offset10:first-child { margin-left: 85.1063829787234%; }
.row-fluid .offset9  { margin-left: 78.72340425531914%; }
.row-fluid .offset9:first-child  { margin-left: 76.59574468085106%; }
.row-fluid .offset8  { margin-left: 70.2127659574468%; }
.row-fluid .offset8:first-child  { margin-left: 68.08510638297872%; }
.row-fluid .offset7  { margin-left: 61.70212765957446%; }
.row-fluid .offset7:first-child  { margin-left: 59.574468085106375%; }
.row-fluid .offset6  { margin-left: 53.191489361702125%; }
.row-fluid .offset6:first-child  { margin-left: 51.063829787234035%; }
.row-fluid .offset5  { margin-left: 44.68085106382979%; }
.row-fluid .offset5:first-child  { margin-left: 42.5531914893617%; }
.row-fluid .offset4  { margin-left: 36.170212765957444%; }
.row-fluid .offset4:first-child  { margin-left: 34.04255319148936%; }
.row-fluid .offset3  { margin-left: 27.659574468085104%; }
.row-fluid .offset3:first-child  { margin-left: 25.53191489361702%; }
.row-fluid .offset2  { margin-left: 19.148936170212764%; }
.row-fluid .offset2:first-child  { margin-left: 17.02127659574468%; }
.row-fluid .offset1  { margin-left: 10.638297872340425%; }
.row-fluid .offset1:first-child  { margin-left: 8.51063829787234%; }

@media (max-width: 767.98px) {
    .hidden-phone { display: none !important; }
    .row-fluid [class*="span"] {
        float: none;
        display: block;
        width: 100%;
        margin-left: 0;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .hidden-tablet { display: none !important; }
}
@media (min-width: 992px) {
    .hidden-desktop { display: none !important; }
}

@font-face {
    font-family: 'Maven Pro';
    src: url('font/MavenPro-Regular.ttf');
}

body {
     padding-bottom: 40px;
     background-color: #ededee;
     color: #717274;
     font-family: 'Maven Pro';
}

footer {
    font-size: 8pt;
}

a {
    color: #717274;
    text-decoration: none;
}

.wp-content-well a {
    color: #717274;
    text-decoration: underline;
}

a:hover,
a:focus {
    color: #78ad50;
    text-decoration: none;
}

.wp-content-well a {
	color: #02c1f3;
    text-decoration: underline;
}


#help-message {
    font-size: larger;
}

/* centre align centered images! */
.aligncenter, img.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }

/* content pages some slight highlights */
.wp-content-well h4 {
    color: #222324;
}

.wp-content-well a:focus, a:hover {
    color: #78ad50;
}

.wp-fp-group-pick {
    margin-left: 40px;
}

.wp-content-well ul, p {
    font-size: 12pt;
}

/* Header Style */
.wp-header-img {
    height: 70px;
}

/* Home page style */
.wp-fp-img {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
}

/* front page container */
.fp-wp-container {

}

/* front page well */
.wp-fp-well {
    margin-top: 20px;
    background-color: #ffffff;
    padding: 0px 40px 15px 40px;
    font-size: 14px;
    line-height: 20px;
}

.wp-fp-well h2 {
    font-weight: normal;
    font-size: 31.5px;
    line-height: 40px;
    margin: 10px 0;
}

.wp-fp-well h3 {
    font-weight: normal;
    font-size: 24.5px;
    line-height: 30px;
    margin: 10px 0;
}

.wp-header-menu {
    min-height: 44px;
    background-color: #f9ea74;
    border-radius: 25px;
    font-size: 12pt;
    margin-top: 23px;
}

.wp-header-front-menu {
    min-height: 44px;
    background-color: #bbe0f9;
    border-radius: 4px;
    border: 1px solid #e3e3e3;
    font-size: 12pt;
    margin-top: 5px;
    margin-bottom: -15px;
}

.wp-header-cross {
    position: relative;
    top: 29px;
    height: 50px;
}

/* top yellow menu */
.wp-fp-yellow-menu {
    width: 100%;
    min-height: 44px;
    background-color: #f9ea74;
    border-radius: 25px;
    font-size: 16pt;
}

.wp-fp-yellow-menu ul {
    padding-top: 12px;
}

.wp-fp-yellow-menu li {
    display:inline;
    margin-left: 56px;
}

/* left side */
.wp-fp-left {
    font-size: 14pt;
    line-height: 20px;
}

.wp-fp-left-can {
    float: left;
    margin-bottom: 3px;
    margin-left: 25px;
}

.wp-fp-left-can img {
    margin-right: 5px;
}

.wp-fp-left-down-arrow {
    float: left;
    margin-left: 5px;
    line-height: 0;
}

.wp-fp-fareshare-row {
    margin-left: -30px;
    width: 374px;
    clear: both;
    display: flex;
    align-items: center;
}
.wp-fp-fareshare-row:before,
.wp-fp-fareshare-row:after {
    display: none;
}

.wp-fp-fareshare-row .wp-fp-left-can-box,
.wp-fp-left-can-box {
    width: 150px;
    min-height: 130px;
    max-height: 130px;
    border: solid 13px #56b04e;
    border-radius: 5px;
    margin: 10px 0px 10px 0px;
    padding: 3px;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
    float: none;
    flex-shrink: 0;
}

.wp-fp-left-can-box img {
    display: inline-block;
    vertical-align: middle;
    width: 33px;
    height: 48px;
    margin: 0 1px;
}

.wp-fp-left-can-box p {
    font-size: 14pt;
    line-height: 20px;
    margin: 5px 0 0 0;
    white-space: normal;
    font-weight: normal;
}

.wp-fp-fareshare-row .wp-fp-left-text,
.wp-fp-left-text {
    width: 140px;
    margin-top: 0;
    margin-left: 10px;
    float: none;
    flex-shrink: 0;
}

.wp-fp-left-text h3 {
    text-align: right;
    margin: 0;
    font-size: 24.5px;
    line-height: 28px;
    font-weight: normal;
}

.wp-fp-fareshare-row .wp-fp-left-arrow,
.wp-fp-left-arrow {
    width: 54px;
    margin-top: 0;
    margin-left: 10px;
    float: none;
    flex-shrink: 0;
}

/* right side*/
.wp-fp-right {
    font-size: 14pt;
    line-height: 20px;
    margin-top: 0;
}

.wp-fp-right-can {
    float: left;
    margin-bottom: 3px;
}

.wp-fp-right-can img {
    margin-right: 5px;
}

.wp-fp-right-down-arrow {
    float: left;
    margin-left: 5px;
}

.wp-fp-right-can-box {
    border: solid 13px #56b04e;
    border-radius: 5px;
    margin: 10px 0px 10px 0px;
    padding: 3px;
}

.wp-fp-right-row {
    display: flex;
    align-items: center;
    margin-top: 91px;
    margin-bottom: 93px;
}
.wp-fp-right-row:before,
.wp-fp-right-row:after {
    display: none;
}

.wp-fp-right-row .wp-fp-right-arrow,
.wp-fp-right-arrow {
    width: 50px;
    margin-top: 0;
    float: none;
    flex-shrink: 0;
}

.wp-fp-right-row .wp-fp-right-text,
.wp-fp-right-text {
    width: 180px;
    margin-top: 0;
    margin-left: 10px;
    float: none;
    flex-shrink: 0;
}

.wp-fp-right-text h3 {
    text-align: left;
    margin: 0;
    font-size: 24.5px;
    line-height: 28px;
    font-weight: normal;
}

.wp-fp-yellow-cross {
    position: relative;
    top: 29px;
}

/* bottom blue menu */
.wp-fp-blue-cross {
    float: right;
    position: relative;
    bottom: 40px;
}

.wp-fp-blue-menu {
    width: 100%;
    min-height: 44px;
    background-color: #bbe0f9;
    border-radius: 25px;
    font-size: 16pt;
}

.wp-fp-blue-menu ul {
    padding-top: 12px;
}

.wp-fp-blue-menu li {
    display:inline;
    margin-left: 15px;
}

.wp-fp-blue-container {
    margin-left: 30px;
}

.wp-fp-center {
    margin-top: 25px;
    border-radius: 50%;
    width: 390px;
    height: 390px;
    background-color: #edf2e6;
    margin-left: calc((100% - 390px) / 2);
    font-size: 14px;
    line-height: 20px;
    position: relative;
    box-sizing: border-box;
}

.wp-fp-rotate-text {
    font-size: 18pt;
    line-height: 20px;
    top: 35.5px;
    right: 0;
    left: 0;
    width: 390px;
    margin: 0 auto;
}

.wp-fp-center-img {
    margin-top: 63px;
}

.popover-content {
    font-size: 12pt;
}

.popover-title {
    font-size: 12pt;
}

.wp-content-well {
    background-color: #ffffff;
}

.wp-pages-img-left {
    margin-right: 10px;
}

#background {
    margin-top: 10px;
}

footer img {
    margin-right: 20px;
}

footer p {
    font-size: 10pt;
}

.logo-mobile {
    margin-bottom: 10px;
}

.menu-mobile {
    background-color: #f9ea74;
    border-style: none;
    border-radius: 25px;
}

.menu-mobile a {
    border: 0 none !important;
}

/* Navigation bar adjustments */
.navbar .dropdown-toggle::after {
    display: none !important;
}

.wp-header-front-menu,
.wp-header-menu {
    width: 100%;
}

.wp-header-front-menu .nav,
.wp-header-menu .nav {
    margin: 0;
    padding: 0;
    list-style: none;
}
.wp-header-front-menu .nav:after,
.wp-header-menu .nav:after,
.wp-header-front-menu:after,
.wp-header-menu:after {
    content: "";
    display: table;
    clear: both;
}

.wp-header-front-menu .nav > li,
.wp-header-menu .nav > li {
    float: left;
}

.wp-header-front-menu .nav > li > a,
.wp-header-menu .nav > li > a {
    color: #717274;
    font-size: 12pt;
    font-weight: bold;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    line-height: 24px;
}

.navbar .menu-item {
    margin-right: -10px;
}

/* Inner page active menu item */
.wp-header-menu .nav > .active > a,
.wp-header-menu .nav > .active > a:hover,
.wp-header-menu .nav > .active > a:focus,
.wp-header-menu .nav li.dropdown.active > .dropdown-toggle {
    color: #555555;
    background-color: #e5e5e5;
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
}

.wp-header-menu .nav li.dropdown.open > .dropdown-toggle,
.wp-header-menu .nav li.dropdown.show > .dropdown-toggle {
    background-color: #f9ea74;
    color: #717274;
}

/* Front page active menu item */
.wp-header-front-menu .nav > .active > a,
.wp-header-front-menu .nav > .active > .nav-link,
.wp-header-front-menu .nav > li.active > a,
.wp-header-front-menu .nav > li > a:hover {
    background-color: #d1e9f9;
}

.wp-header-front-menu .navbar .nav li.dropdown.open > .dropdown-toggle,
.wp-header-front-menu .navbar .nav li.dropdown.show > .dropdown-toggle {
    background-color: #bbe0f9 !important;
}

/* Front page buttons */
.fp-btn-row {
    margin-bottom: 30px;
}

.fp-nav {
    color: white;
    font-size: 18pt;
    border-radius: 1px;
    border-style: solid;
    text-shadow: 1px 1px black;
}

.fp-nav h1 {
    font-size: 38.5px;
    line-height: 40px;
    margin: 10px 0;
    font-weight: bold;
}

.fp-nav h1 a,
.fp-nav a:link,
.fp-nav a:visited {
    color: white;
    text-decoration: none;
    display: block;
}

.fp-nav h1 a:hover,
.fp-nav a:hover {
    color: #dadada;
    text-shadow: 1px 1px #393939;
    text-decoration: none;
}

.fp-nav a:active {
    color: #777777;
}

.fp-nav-green {
    background-color: #58ae47;
    border-color: #3f8831;
}

.fp-nav-yellow {
    background-color: #ffe500;
    border-color: #c4b213;
}
.fp-nav-blue {
    background-color: #02c1f3;
    border-color: #02a0c7;
}
.fp-nav-circle {
    border-radius: 50%;
}
.fp-nav-square {
    border-radius: 25%;
}
.fp-nav-mobile h1 {
    font-size: 15pt;
    line-height: 24px;
    margin: 8px 0;
}

/* Diagram & Menus */
.wp-fp-yellow-menu ul,
.wp-fp-blue-menu ul {
    margin: 0;
    padding-left: 0;
    padding-top: 12px;
    list-style: none;
}

.wp-fp-well img {
    max-width: 100%;
    height: auto;
}

/* Popover typography and styling */
.popover-header,
.popover-title {
    font-size: 12pt;
    font-family: 'Maven Pro', sans-serif;
    font-weight: bold;
}

.popover-body,
.popover-content {
    font-size: 12pt;
    font-family: 'Maven Pro', sans-serif;
}

/* Responsive layout adjustments for diagram */
@media (min-width: 980px) and (max-width: 1199.98px) {
    .wp-fp-yellow-menu li {
        margin-left: 25px;
    }
    .wp-fp-blue-menu {
        font-size: 13pt;
    }
    .wp-fp-blue-menu li {
        margin-left: 8px;
    }
    .wp-fp-center-container {
        transform: scale(0.78);
        transform-origin: center top;
        margin-bottom: -90px;
    }
}

