/* GENERATED FILE - DO NOT EDIT. Built by bin/build.php from commit b31535d; change the source in git and rebuild. */
/* ===================================
    Base styles: reset, layout grid, navbar, dropdowns, tabs
    Own code, replaces Bootstrap 3 CSS, bootsnav.css and animate.css.
    Class names (.row, .col-md-6, .navbar, .bootsnav, .dropdown-menu, .nav-tabs, ...) are kept as plain
    styling hooks so the templates, style.css and responsive.css work unchanged; no library code is left. Loaded before style.css, which builds on it.
    Breakpoints: 768px (sm), 992px (md, desktop navbar), 1200px (lg).
====================================== */

/* ===================================
    Reset
====================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: clamp(var(--u), 1.5vw, calc(1.25 * var(--u)));
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;
}

[hidden] {
    display: none;
}

a {
    color: #337ab7;
    text-decoration: none;
    background-color: transparent;
}

a:hover,
a:focus {
    color: #23527c;
    text-decoration: underline;
}

a:focus-visible {
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

strong {
    font-weight: 700;
}

small {
    font-size: 85%;
}

sub,
sup {
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
}

sup {
    top: -.5em;
}

sub {
    bottom: -.25em;
}

img {
    border: 0;
    vertical-align: middle;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 0;
}

code {
    padding: 2px 4px;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    font-size: 90%;
    color: #c7254e;
    background-color: #f9f2f4;
    border-radius: 4px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
}

h1, h2, h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

h4, h5, h6 {
    margin-top: 10px;
    margin-bottom: 10px;
}

h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }

p {
    margin: 0 0 10px;
}

ul {
    margin-top: 0;
    margin-bottom: 10px;
}

ul ul {
    margin-bottom: 0;
}

/* Forms */
button,
input,
select,
textarea {
    margin: 0;
    font: inherit;
    color: inherit;
}

button,
select {
    text-transform: none;
}

button,
input[type=button],
input[type=submit] {
    -webkit-appearance: button;
    appearance: button;
    cursor: pointer;
}

button[disabled],
input[disabled] {
    cursor: default;
}

textarea {
    overflow: auto;
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}

[role=button] {
    cursor: pointer;
}

/* ===================================
    Layout: container and 12-column grid (flexbox)
====================================== */

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Columns in a row line up and wrap like the float grid this replaces. */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

/* A row holding one centred column (.center-col), or no columns at all (the escola gallery strip), is block
   layout: children are full width and their margins collapse with each other but stay inside the row,
   exactly as in the float grid this replaces. */
.row:has(> .center-col),
.row:not(:has(> [class*="col-"])) {
    display: flow-root;
}

.col-xs-2, .col-xs-5, .col-xs-12,
.col-sm-4, .col-sm-6, .col-sm-8, .col-sm-10, .col-sm-12,
.col-md-2, .col-md-4, .col-md-5, .col-md-6, .col-md-8, .col-md-9, .col-md-12,
.col-lg-5, .col-lg-8 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-xs-12 { width: 100%; }
.col-xs-5 { width: 41.66666667%; }
.col-xs-2 { width: 16.66666667%; }

@media (min-width: 768px) {
    .col-sm-12 { width: 100%; }
    .col-sm-10 { width: 83.33333333%; }
    .col-sm-8 { width: 66.66666667%; }
    .col-sm-6 { width: 50%; }
    .col-sm-4 { width: 33.33333333%; }
}

@media (min-width: 992px) {
    .col-md-12 { width: 100%; }
    .col-md-9 { width: 75%; }
    .col-md-8 { width: 66.66666667%; }
    .col-md-6 { width: 50%; }
    .col-md-5 { width: 41.66666667%; }
    .col-md-4 { width: 33.33333333%; }
    .col-md-2 { width: 16.66666667%; }
    .col-md-offset-1 { margin-left: 8.33333333%; }
}

@media (min-width: 1200px) {
    .col-lg-8 { width: 66.66666667%; }
    .col-lg-5 { width: 41.66666667%; }
}

/* ===================================
    Helpers
====================================== */

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-uppercase { text-transform: uppercase; }

/* In a flex row (the header) this pushes the item to the end */
.pull-right {
    float: right !important;
    margin-left: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===================================
    Buttons and alerts (look comes from style.css)
====================================== */

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.btn:hover,
.btn:focus {
    color: #333;
    text-decoration: none;
}

.btn:focus-visible {
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.btn:active {
    background-image: none;
    outline: 0;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

.btn[disabled] {
    cursor: not-allowed;
    box-shadow: none;
    opacity: .65;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert > p {
    margin-bottom: 0;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

/* ===================================
    Nav lists and tabs (behaviour in js/site.js)
====================================== */

.nav {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav > li {
    position: relative;
    display: block;
}

.nav > li > a {
    position: relative;
    display: block;
    padding: 10px 15px;
}

.nav > li > a:hover,
.nav > li > a:focus {
    text-decoration: none;
    background-color: #eee;
}

.nav-tabs {
    border-bottom: 1px solid #ddd;
}

.nav-tabs > li {
    margin-bottom: -1px;
}

.nav-tabs > li > a {
    margin-right: 2px;
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
}

.tab-content > .tab-pane {
    display: none;
}

.tab-content > .active {
    display: block;
}

/* Tab panes fade in: js/site.js removes .in, shows the pane, then adds .in back */
.fade {
    opacity: 0;
    transition: opacity .15s linear;
}

.fade.in {
    opacity: 1;
}

/* ===================================
    Dropdown menus
====================================== */

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}

/* Opened by tapping the arrow (mobile menu), see js/site.js */
.open > .dropdown-menu {
    display: block;
}

/* ===================================
    Navbar (fixed header). Below 992px the menu collapses behind the toggle button.
====================================== */

.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.navbar-fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    border-width: 0 0 1px;
}

.navbar-default {
    background-color: #f8f8f8;
    border-color: #e7e7e7;
}

.navbar-nav {
    margin: 7.5px -15px;
}

.navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar-nav > li > .dropdown-menu {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.navbar-default .navbar-nav > li > a {
    color: #777;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #333;
    background-color: transparent;
}

.navbar-toggle {
    position: relative;
    float: right;
    padding: 9px 10px;
    margin: 8px 15px 8px 0;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.navbar-toggle:focus {
    outline: 0;
}

.navbar-toggle:focus-visible {
    outline: 2px solid #EC540C;
}

.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background-color: #888;
}

.navbar-toggle .icon-bar + .icon-bar {
    margin-top: 4px;
}

.navbar-collapse {
    padding-right: 15px;
    padding-left: 15px;
    overflow-x: visible;
    -webkit-overflow-scrolling: touch;
}

/* Site navbar (header.php): colours and spacing shared by all sizes */
nav.navbar.bootsnav {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 99999;
    padding: var(--u);
    width: 100%;
    background-color: #fff;
}

nav.navbar.bootsnav ul.nav > li > a {
    color: #1A265A;
    background-color: transparent !important;
}

nav.navbar.bootsnav ul.nav li.active > a,
nav.navbar.bootsnav ul.nav li.active > a:hover,
nav.navbar.bootsnav ul.nav li.active > a:focus {
    color: #EC540C;
    background-color: transparent;
}

nav.navbar.bootsnav .navbar-toggle {
    background-color: transparent !important;
    border: none;
    padding: 0;
    position: relative;
    top: 5px;
}

nav.navbar.bootsnav ul.nav ul.dropdown-menu {
    background-color: #fff;
    border: none;
    padding: 10px;
    margin-top: calc(-3 * var(--u));
}

nav.navbar.bootsnav ul.nav ul.dropdown-menu > li > a {
    color: #232323;
    padding: 10px 15px;
    background-color: transparent;
    transition: background-color 0.3s;
}

nav.navbar.bootsnav ul.nav ul.dropdown-menu > li > a:hover,
nav.navbar.bootsnav ul.nav ul.dropdown-menu > li > a:focus {
    color: #EC540C;
    background-color: transparent;
}

/* Desktop: menu in one row, submenus open on hover or keyboard focus */
@media (min-width: 992px) {
    .navbar-toggle {
        display: none;
    }

    .navbar-collapse {
        display: block;
        width: auto;
        padding-right: 0;
        padding-left: 0;
        overflow: visible;
    }

    .navbar-nav {
        display: flex;
        margin: 0;
    }

    .navbar-nav > li > a {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    /* Kept rendered but invisible so it can fade, and so a short trip across the gap
       between the link and the menu doesn't close it (the hide waits 0.2s) */
    nav.navbar.bootsnav li.dropdown > ul.dropdown-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.2s ease, visibility 0s linear 0.2s;
    }

    nav.navbar.bootsnav li.dropdown:hover > ul.dropdown-menu,
    nav.navbar.bootsnav li.dropdown:focus-within > ul.dropdown-menu {
        visibility: visible;
        opacity: 1;
        transition: opacity 0.3s ease, visibility 0s;
    }
}

@media (min-width: 1024px) {
    nav.navbar.bootsnav ul.nav > li > a {
        padding: 18px 15px;
    }

    nav.navbar.bootsnav li.dropdown ul.dropdown-menu {
        border-radius: 0;
        border: none;
    }

    nav.navbar.bootsnav li.dropdown ul.dropdown-menu > li a:hover,
    nav.navbar.bootsnav li.dropdown ul.dropdown-menu > li:last-child > a {
        border-bottom: none;
    }
}

/* Phones and tablets: stacked menu below the bar, opened by the toggle button */
@media (max-width: 991px) {
    nav.navbar.bootsnav .navbar-toggle {
        display: inline-block;
        float: right;
        margin-right: 0;
        margin-top: 0;
        padding-right: 30px;
    }

    /* Never taller than the screen below the bar; scrolls only when it doesn't fit */
    nav.navbar.bootsnav .navbar-collapse {
        display: none;
        border: none;
        margin-bottom: 0;
        max-height: calc(100vh - var(--nav-height, 80px));
        max-height: calc(100dvh - var(--nav-height, 80px));
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    nav.navbar.bootsnav .navbar-collapse.in {
        display: block;
    }

    nav.navbar.bootsnav .navbar-nav {
        float: none !important;
        padding-left: 30px;
        padding-right: 30px;
        margin: 0 -15px;
    }

    nav.navbar.bootsnav .navbar-nav > li > a {
        display: block;
        width: 100%;
        padding: 10px 0;
        border-top: 1px solid #e0e0e0;
        margin-bottom: -1px;
    }

    nav.navbar.bootsnav .navbar-nav > li:first-child > a {
        border-top: none;
    }

    nav.navbar.bootsnav ul.navbar-nav.navbar-left > li:last-child > ul.dropdown-menu {
        border-bottom: 1px solid #e0e0e0;
    }

    nav.navbar.bootsnav ul.nav li.dropdown ul.dropdown-menu {
        width: 100%;
        position: relative !important;
        background-color: transparent;
        border: none;
        padding: 0 0 0 15px !important;
        margin: 0 0 -1px 0 !important;
        border-radius: 0;
        border-bottom: 1px solid #e0e0e0;
    }

    nav.navbar.bootsnav ul.nav li.dropdown ul.dropdown-menu > li > a {
        display: block;
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
        padding: 10px 0;
        color: #6f6f6f;
    }

    nav.navbar.bootsnav ul.nav ul.dropdown-menu li a:hover,
    nav.navbar.bootsnav ul.nav ul.dropdown-menu li a:focus {
        background-color: transparent;
    }
}

@media (max-width: 767px) {
    .navbar-nav .open .dropdown-menu > li > a {
        line-height: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fade,
    nav.navbar.bootsnav li.dropdown > ul.dropdown-menu {
        transition: none !important;
    }
}
