/*
----------------------------------------------------------------------------------------
*    Lennox Berkeley Society global layout style sheet
*
*    Code (c) 2007-2020 Thomas Daly
----------------------------------------------------------------------------------------
*/

body {
    margin: 0 0 50px 0;
    font-family: Lora, serif;
    font-size: 17px;
    line-height: 1.5rem;
}

/* Link colours: document body text (default): underline when hovering */
a:link, a:visited, a:hover {
    color: #D54000;
    text-decoration: none;
}

a:focus, a:active {
    color: #707070;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    border: none;
    margin: 0px;
    padding: 0px;
    display: inline;
}

/* Main page headings */
h1 {
    font-family:  "Noto Serif";
    font-stretch: normal;
    margin: 40px 0 50px 0;
    font-weight: normal;
    font-size: 34px;
    line-height: 44px;
    font-variant: small-caps;
    color: #444;
    display: block;
    text-align: left;
}

/* Recording album titles, diary headings, page sub headings */
h2 {
    margin: 20px 0 20px 0;
    font-weight: normal;
    font-size: 26px;
    line-height: 34px;
    display: block;
}

/* h3 used for event diary day headings and 'LB works included' in recordings */
h3 {
    margin: 12px 0 12px 0;
    font-weight: 600;
    font-size: 19px;
    line-height: 26px;
    display: block;
}

h4 {
    font-family: "Noto Sans";
    margin: 12px 0 12px 0;
    font-weight: 600;
    font-size: 17px;
    display: block;
}

p, blockquote {
    margin: 12px 0 12px 0;
}

b, strong {
    font-weight: 600;
}

small {
    font-family: "Noto Sans";
}

/* top level bullets */
ul li {
    list-style-position: outside;
    margin: 5px 0 5px 0;
    list-style-type: disc;
}

/* 2nd level bullets */
ul ul li {
    list-style-position: outside;
    margin: 5px 0 5px 0;
    padding-bottom: 0px;
    padding-top: 0px;
    list-style-type: circle;
}

hr {
    border: 0;
    height: 1px;
    background: #333;
    background-image: -webkit-linear-gradient(left, #ccc, #555, #ccc);
    background-image: -moz-linear-gradient(left, #ccc, #555, #ccc);
    background-image: -ms-linear-gradient(left, #ccc, #555, #ccc);
    background-image: -o-linear-gradient(left, #ccc, #555, #ccc);
    clear: both;
}

/*
    Top menu header

    total page width (standard width): = 990
    Wide page created by local overrides in works.css 
    header is the top container <div> that contains the main navigation bar */
#page_header {
    font-family: "Noto Serif";
    font-stretch: normal;
    font-size: 17px;
    line-height: normal;
    box-sizing: border-box;
    width: 990px;
    margin: 0 auto 2px auto;
    padding: 22px 0 0 0;
    background-color: #f0f0f0;
    background-image: url('/images/static/header_gradient.jpg');
    background-repeat: repeat-x;
    background-position: top left;
    border: none;
}

/* container <div> for top green main menu bar */
#page_header #main_menu {
    width: 100%;
    height: 38px;
    margin: 0px;
    border: none;
    background-image: url('/images/static/main_menu_bg.jpg');
    background-repeat: repeat-x;
    background-position: top left;
}

#page_header #main_menu menu {
    height: 38px;
    width: 944px;
    margin: 0 auto 0 auto;
    list-style-type: none;
    padding: 0px;
    background-color: transparent;
}

#page_header #main_menu menu li {
    float: left;
    height: 38px;
    padding: 0px;
    margin: 0px;
    list-style-type: none;
}

/* unselected menu item and current page selected (unlinked) menu item (further modified below) */
#page_header #main_menu menu li a, 
#page_header #main_menu menu li.selected {
    display: block;
    height: 38px;
    padding-left: 13px;
    padding-right: 13px;
    /* Dark green graduated fill background */
    background-image: url('/images/static/main_menu_bg.jpg');
    background-repeat: repeat-x;
    background-position: top left;
    color: #eee;
    font-weight: normal;
    line-height: 36px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
}

/* modifies #main_menu menu li so it appears highlighted (lighter green) on mouse hover */
#page_header #main_menu menu li a:hover {
    background: url('/images/static/main_menu_hover_bg.jpg');
}

/* modifies #main_menu menu li so it appears highlighted (light grey) when page selected */
#page_header #main_menu menu li.selected {
    background: url('/images/static/main_menu_selected_bg.jpg');
    color: #555;
}

/*
#page_header #main_menu menu li.divider {
    background: url('/images/static/main_menu_divider.jpg');
    background-repeat: no-repeat;
    background-position: top left;
    width: 4px;
    height: 38px;
    padding: 0px;
}
*/

/* container <div> for grey submenu bar immediately under main green bar */
#page_header #submenu {
    font-family: "Noto Sans";
    font-size: 15px;
    width: 100%;
    height: 30px;
    margin: 4px 0px 0px 0px;
    padding: 0px;
    border: none;
    background-image: url('/images/static/sub_menu_bg.jpg');
    background-repeat: repeat-x;
    background-position: top left;
}

#page_header #submenu menu {
    height: 30px;
    /* margin-left will be set locally by page_header.php, 
    as x-position depends on site section */
    margin: 0px auto 0px 0px;
    list-style-type: none;
    padding: 0px;
    background-color: transparent;
}

#page_header #submenu menu li {
    float: left;
    height: 30px;
    padding: 0px;
    margin: 0px;
    list-style-type: none;
}

/* unselected menu item */
#page_header #submenu menu li a,
/* selected (unlinked) menu item */
#page_header #submenu menu li.selected {
    display: block;
    height: 30px;
    margin: 0px;
    padding: 0 8px 0 8px;
    background-image: url('/images/static/sub_menu_bg.jpg');
    background-repeat: repeat-x;
    background-position: top left;
    color: #555;
    font-weight: normal;
    line-height: 30px;
    text-align: center;
    text-decoration: none;
}

/* modifies header #submenu menu li so it appears highlighted on mouse over or selected */
#page_header #submenu menu li a:hover, 
#page_header #submenu menu li.selected {
    background: none;
    background-color: #fff;
    text-decoration: none;
    color: #555;
}

#page_header #selected_tab {
    background-image: url('/images/static/selected_tab.gif');
    background-position: bottom center;
    width: 88px;
    height: 28px;
    color: #ffffff;
}

main {
    box-sizing: border-box;
    width: 990px;
    margin: 0 auto 0 auto;
    padding: 10px 70px 40px 70px;
    background-color: #f4f4f4;
    border-top: none;
    border-left: 1px solid;
    border-right: 1px solid;
    border-bottom: 1px solid;
    border-color: #EAEAEA;
}

section, .section {
    padding: 8px 0px 8px 0px;
}

/* Modifies <section>
.formsection {
    padding-left: 70px;
    padding-right: 70px;
    padding-top: 20px;
    padding-bottom: 5px;
}
 */

.formsection table {
    border: none;
    margin-left: 0px;
    margin-right: auto;
}

.formsection td {
    vertical-align: middle;
    text-align: left;
    padding: 2px 0px 2px 0px;
}

.formsection h1 {
    margin-top: 0px;
}

/* total footer width: 1 + 30 + 928 + 30 + 1 = 990 */
#page_footer {
    font-family: "Noto Sans";
    font-size: 0.9rem;
    color: #777;
    box-sizing: border-box;
    width: 990px;
    margin: 0 auto 20px auto;
    padding: 20px 30px 20px 30px;
    text-align: center;
    clear: both;
}

/* Appied to the links at the foot of each page */
#page_footer nav {
    margin: 10px 0 0 0;
}

/* footer links colour */
#page_footer a:link, footer a:visited {
    color: #777;
}

.first-para {
    margin-top: 60px;
}

/* Embedded images with captions.  Apply .image-right, .image-left and .image-center to <figure> container element */
.image-right {
    margin: 4px 0px 10px 25px;
    float: right;
    clear: right;
}

.image-left {
    margin: 4px 25px 10px 0px;
    float: left;
    clear: left;
}

.image-center {
    margin: 30px auto 30px auto;
    text-align: center;
    width: 100%;
}

.image-left,
.image-right,
.image-center {
    box-sizing: border-box;
    height: auto;
}

.image-left img,
.image-right img,
.image-center img {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: auto;
}

/* Optional image border - apply to <img> */
.image-border {
    border: 1px solid #ccc;
}

.image-left figcaption,
.image-right figcaption,
.image-center figcaption {
    font-family: "Noto Sans";
    display: block;
    font-weight: 600;
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.3rem;
}

.image-left figcaption {
    text-align: left;
}

.image-right figcaption {
    text-align: right;
}

.image-center figcaption {
    text-align: center;
}

/* Two-column layout */

.two-col {
    column-count: 2;
    margin-top: 30px;
}

.two-col div {
    break-inside: avoid;
}

.two-col h2 {
    margin: 0px 0px 14px 0px;
}

/* Forms and buttons */

textarea {
    font-family: "Noto Sans";
    font-size: 16px;
    padding: 15px;
    border: 1px solid;
    border-color: #ADC8DC;
}

textarea.invalid {
    background-color: #FFFFF0;
    border: 1px inset;
    border-color: #FFA8A8;
}

.button {
    font-family: "Noto Sans", sans-serif;
    height: 34px;
    color: #f9f9f9;                /* Text foreground colour: off-white */
    background-color: #fff;
    border: none;
    border-radius: 3px;
    padding: 2px 10px 2px 10px;
    font-size: 14px;
    font-weight: 600;
    vertical-align: middle;
    text-align: center;
    background-image: url('/images/static/button_large_bg.gif');
    background-repeat: repeat-x;
    background-position: center;
    cursor: pointer;
}

.button_small, #button_small_1, #button_small_2, #button_small_3 {
    font-family: "Noto Sans", sans-serif;
    height: 28px;
    color: #f9f9f9;                 /* Text foreground colour: off-white */
    background-color: #fff;
    border: none;
    border-radius: 3px;
    padding: 2px 12px 2px 12px;
    font-size: 12px;
    font-weight: 600;
    vertical-align: middle;
    text-align: center;
    background-image: url('/images/static/button_small_bg.gif');
    background-repeat: repeat-x;
    background-position: top;
    cursor: pointer;
}

input.inputfield, .inactive_field, select.inputfield {
    font-family: "Noto Sans", sans-serif;
    height: 26px;
    padding: 2px 6px 2px 6px;
    border-color: #ADC8DC;
    background-color: #fff;
    border-width: 1px;
    border-style: solid;
    vertical-align: middle;
}

select.inputfield {
    height: 28px;
}

/* Inactive field shows a greyed out and inactive text input field.  Applied to <div> */
.inactive_field {
    width: 200px;
    color: #666;
    background-color: #f0f0f0;
}

input.invalid {
    background-color: #FFFFF0;
    border: 1px inset;
    border-color: #FFA8A8;
}

.notes {
    font-family: "Noto Sans";
    font-size: 0.9rem;
    line-height: 1.2rem;
    margin: 6px 0 6px 0;
}

.rule {
    width: 100%;
    height: 2px;
    margin: 20px 0 20px 0;
    clear: both;
    border-top: 1px solid;
    border-top-color: #aaa;
}

.errortext {
    font-family: "Noto Sans";
    color: #B70404;
    font-size: 0.9em;
    margin-top: 2px;
}

.caption {
    font-family: "Noto Sans";
    margin-top: 0px;
    font-size: 95%;
}

/* Download, cd and event icons that appear throughout site */
.icon {
    vertical-align: absmiddle;
}

/* Download, cd and event icons link colours */
.icon a:link {
    text-decoration: none;
}

.icon a:hover {
    background-color: transparent;
    text-decoration: none;
}



/* Home page */

.main-full-width {
    padding: 10px 0px 20px 0px;
}

.home-section .two-col {
    column-gap: 30px;
}

.home-section {
    padding: 30px 40px 30px 40px;
}

.home-section h2 {
    font-family: "Noto Serif";
    font-weight: normal;
    margin-bottom: 30px;
    padding-bottom: 8px;
    text-align: center;
    border-bottom: 2px solid;
    border-bottom-color: #ccc;
}

.home-section h3 {
    font-size: 24px;
    line-height: normal;
    font-weight: normal;
    margin: 0 0 14px 0;
}

.home-album {
    clear: both;
    margin: 20px 0px 20px 0px;
}

.home-album br {
    display: block;
    clear: both;
}

.home-album-image {
    clear: both;
    margin: 4px 0px 4px 8px;
    float: right; 
    clear: right; 
    display: inline-block; 
    border: none;
    width: 120px; 
    height: 120px;
    font-size: 12px;
}

.home-album-image img {
    display: block;
}

.home-work-title {
    font-weight: normal;
    font-size: 20px;
}

/* News page */

#news p {
    text-align: justify;
}

#news h3 {
    margin: 30px 0 30px 0;
}

/* Membership/joining page */

#membership h1, #membership p {
    text-align: center;
}

#membership .journal {
    float: left;
    width: 272px;
    box-shadow: 2px 2px 3px #aaaaaa;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
}

#membership .journal img {
    width: 272px;
    display: block;
}

/* Articles page */

#articles #google-search {
    margin-bottom: 50px;
}

#articles h2 {
    margin: 10px 0 10px 0;
    font-size: 22px;
}

#articles p {
    margin: 10px 0 10px 0;
}

#articles hr {
    margin: 15px 0 15px 0;
}

/* Biography pages */

#book_ad {
    font-family: "Noto Sans";
    width: 230px;
    margin-left: 30px;
    margin-top: 20px;
    margin-bottom: 30px;
    border: 1px solid;
    border-color: #bbb;
    float: right;
    padding: 14px;
    background-color: #fff;
    font-size: 0.8em;
}

#book_ad .reviews {
    font-style: italic;
    margin-top: 10px;
}

/* Links page */
#links ul {
    padding: 0px;
}

#links li {
    list-style-position: initial;
    list-style-type: none;
}
