* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: palegoldenrod;
    margin: 0;
    padding: 0;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size:1.2em;
}

h1, h2, h3, h4 {font-weight:bold;}
h1 {font-size:2em;color:navy;}
h2 {font-size:1.75em;color:navy;}
h3 {font-size:1.5em;color:#9a031e;}
h4 {font-size:1.3em;color:navy;}

header {
    background-color: navy;
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
    color:#ffffff;
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
}

header a {
    color:#fff;
}

.header {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.header ul {
    margin:0;
    padding:0;
    list-style:none;
    overflow:hidden;
    background-color:navy;
}

.header li a {
    display:block;
    padding:20px 20px;
    border-right: 1px solid #0000d4;
    text-decoration: none;
}

.header li a:hover, .header .menu-btn:hover {
    background-color: #0000d4;
}

.header .logo {
    display: flex;
    flex-direction: row;
    flex-wrap:nowrap;
    justify-content: center;
    align-items: center;
    
    float:left;
    font-size:1.1em;
    padding:10px 20px;
    text-decoration: none;
}

.header .menu {
    clear:both;
    max-height:0;
    transition: max-height .2s ease-out;
}

.header .menu-icon {
    cursor: pointer;
    display: inline-block;
    float:right;
    padding:28px 20px;
    position:relative;
    user-select:none;
}

.header .menu-icon .navicon {
    background: #ffffff;
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 18px;
}

.header .menu-icon .navicon:before, .header .menu-icon .navicon:after {
    background:#ffffff;
    content:'';
    display:block;
    height:100%;
    position:absolute;
    transition: all .2s ease-out;
    width:100%;
}

.header .menu-icon .navicon:before {
    top:5px;
}

.header .menu-icon .navicon:after {
    top:-5px;
}

.header .menu-btn {
    display:none;
}

.header .menu-btn:checked ~ .menu {
    max-height:270px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
    background:transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

@media only screen and (max-width: 950px) {
    .header [data-alttext] > span {
        display: none;
    }
    .header [data-alttext]::before {
        content: attr(data-alttext);
    }
}

/* 48em = 768px */

@media (min-width: 48em) {
    .header li {
      float: left;
    }
    .header li a {
      padding: 20px 30px;
    }
    .header .menu {
      clear: none;
      float: right;
      max-height: none;
    }
    .header .menu-icon {
      display: none;
    }
}

article {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 60px 5%;
    background: rgba(255,255,255,0.9)
}

article a {
    color: navy;
    text-decoration: none;
}

article a:hover {
    text-decoration: underline;
}

article span.anchor {
    display:block;
    height:80px; /* same height as header -ish */
    margin-top: -80px;  /* same height as header -ish */
    visibility: hidden;
}

section {
    text-shadow: 1px 1px #ffffff;
    border: 1px solid #eeeeee;
    border-radius:20px;
    background-color:#ffffff;
    background-image:url("../images/monk-logo-350x350-faded.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
    margin:0 0 20px 0;
    padding:20px 30px;
}

section ul {
    column-width: 400px;
    margin:60px 0;
}

section ul > li {
    margin:0 30px 30px 0;
}

.hero-banner {
    padding:20px 40px;
    background-image:url("../images/fmtc-members-faded.jpg");
    background-size:cover;
    text-align: center;
    font-weight:bold;
    color:#333333;
}

.hero-icons {
    display: flex;
    flex-direction: row;
    flex-wrap:nowrap;
    justify-content: center;
    align-items: center;
}
.hero-icons img {
    width: clamp(25%, 75px, 100%);
}

.hero-icons img:hover {
    filter: drop-shadow(0px 0px 3px yellow);
}

summary:hover {
    cursor: pointer;
}

summary::marker {
    content: "";
}

summary img {
    max-width:100%;
}

.about-us {
    display:flex;
    flex-direction: row;
    flex-wrap:wrap;
    justify-content: center;
    align-items: center;
}

.about-us > div {
    flex-grow: 1;
    flex-basis: 300px;
}

.british-tri {
    padding:0px 40px;
    text-align: center;
    font-weight: bold;
}

.british-tri img {
    width: 100%;
    max-width: 300px;
    min-width: 200px;
}

.accordion__item__title {
    display: block;
    padding: 20px;
    cursor: pointer;
    background: #eee;
    color: #333;
    position: relative;
  }
  .accordion__item__title:after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    font-size: 2rem;
    line-height: 2rem;
    margin-top: -1rem;
    font-weight: bold;
  }
  .accordion__item:nth-of-type(2n) .accordion__item__title {
    background: #ddd;
  }
  .accordion__item__content {
    display: none;
    padding: 20px;
  }
  .accordion__item__content:target {
    display: block;
    background:#ffffff;
    scroll-margin-top: 130px;
  }


.sportexpectations {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
    align-content: flex-start;
    gap:0px;
}

.sportexpectations > details {
    flex-grow:1;
    flex-basis: 200px;
    text-align: center;
    margin:10px;
    padding: 20px;
    border:1px solid #eeeeee;
    border-radius:10px;
    width:100%;
}

.sportexpectations > details:hover {
    box-shadow: 5px 5px 5px #eeeeee;
}

.sportexpectations > details > summary {
    font-weight: bold;
}

@media (max-width: 800px) {
    .sportexpectations > details {
        flex-basis: 800px;
    }
    .sportexpectations img {
        max-width:150px;
    }
}

.policies {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
    align-content: flex-start;
    gap:20px;
}

.policies > div {
    flex-grow:1;
    flex-basis: 360px;
    text-align: center;
}

.policies img {
    max-height:25px;
}

.contact-methods {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
    align-content: flex-start;
    gap:20px;
}

.contact-form {
    flex-grow:2;
    flex-basis:400px;
    padding:9px;
    border:1px solid #e3e3e3;
    background-color:#f5f5f5;
    border-radius:3px;
    box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);
}

.contact-details {
    flex-grow:1;
    flex-basis:200px;
}

.form-group {
    margin-bottom:15px;
}

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

.form-error {
    color:red;
}

.form-control {
    display:block;
    width:100%;
    height:34px;
    padding:6px 12px;
    font-size:14px;
    line-height:1.43;
    color:#555;
    background-color:#fff;
    border:1px solid #ccc;
    border-radius:4px;
    box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
textarea.form-control {
    height:auto;
}

.form-input-group {
    position:relative;
    display:table;
    border-collapse: separate;
    width:100%;
}

.form-input-group-addon {
    padding:6px 12px;
    font-size:14px;
    font-weight:400;
    line-height:1;
    color:#555;
    text-align:center;
    background-color:#eee;
    border:1px solid #ccc;
    border-radius:4px;
}

.form-input-group .form-control {
    display:table-cell;
}

.form-button {
    float:right;
    color:#fff;
    background-color:#337ab7;
    border:1px solid #2e6da4;
    border-radius:4px;
    display:inline-block;
    padding:6px 12px;
    margin-bottom:0;
    font-size:14px;
    font-weight:400;
    line-height:1.43;
    text-align:center;
    white-space:nowrap;
    vertical-align:middle;
    touch-action:manipulation;
    cursor:pointer;
    user-select:none;

}

footer {
    text-align: center;
    margin-bottom:20px;
}

.privacy-box {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.41); /* Black w/ opacity */
}

.privacy-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close-privacy {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-privacy:hover, .close-privacy:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}