:root {
    --color-dark: #424242;
    --color-muted: rgb(119, 119, 119);
    --color-accent: rgb(28, 48, 126);
    --color-grey: #BDBDBD;
    --color-light: #EEEEEE;
}

body {
    position: relative;
    margin: 0px;
    min-height: 100%;
    background-color: var(--color-dark);
    text-align: justify;
}

html {
    height: 100%;
}

/* Reset for buttons that should look like the surrounding text */
.plainBtn {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.shadow {
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
}

.item{
    width: 100%;
}
.itemfig{
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-top: 8%;
    padding-right: 40px;
    padding-bottom: 1%;
    padding-left: 20px;
    max-width:80px;
}

.committeesfig{
    width: 200%;
}

.column{
    padding: 5px;
}

@font-face {
    font-family: "PrimaryFont";
    src: url("../fonts/Primary/GOST_A_.eot?") format("eot"), url("../fonts/Primary/GOST_A_.woff") format("woff"), url("../fonts/Primary/GOST_A_.ttf") format("truetype"), url("../fonts/Primary/GOST_A_.svg#GOST-2.304-81typeA") format("svg");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "MLBMarinersRegular";
    src: url("../fonts/MLBMarinersRegular.ttf")
}

.headerImg {
    height: 45vh;
    max-height: 300px;
    width: 100%;
    display: table;
}

#HeaderImgChild {
    height: 100%;
    max-height: 300px;
    width: 100%;
    background-repeat: no-repeat;
    background-image: var(--header-image);
    background-position: var(--header-position, center);
    background-attachment: scroll;
    background-size: cover;
    z-index: -2;
    position: absolute;
}

@media (max-width: 1000px) {
    #HeaderImgChild {
        background-image: var(--header-image-small, var(--header-image));
    }
}

@media only screen and (max-width: 940px) {
    #HeaderImgChild:has(video) {
        filter: brightness(50%);
    }
}

#HeaderImgChild:before {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    content: "";
    /*adjust brightness here */
    background: hsla(0, 0%, 0%, 0.5);
}

.headerImgTitleWrapper {
    font-family: MLBMarinersRegular;
    vertical-align: middle;
    text-align: center;
    color: white;
    display: table-row;
    height: 100%;
    font-size: 60px;
}

.headerImgTitle {
    display: table-cell;
    vertical-align: middle;
    height: 100%;
    width: 100%;
    text-transform: uppercase;
}

/* Slides cover the whole page (body grows with the content) */
#slideshow>div {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background-image: var(--slide);
    background-repeat: no-repeat;
    background-position: 68% center;
    background-attachment: scroll;
    background-size: cover;
    z-index: -2;
}

#slideshow>div:before {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    content: "";
    /*adjust brightness here */
    background: hsla(0, 0%, 0%, 0.5);
}

/* Use portrait/phone-optimized images on small screens */
@media (max-width: 940px), (orientation: portrait) {
    /* keep the subject a bit higher on tall screens */
    #slideshow > div {
        background-image: var(--slide-mobile);
        background-position: center 10%;
    }
}

/* Page column: content grows so header + content + footer fill at least the
   viewport, and the page only scrolls when the content is taller. */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

.wrapper > * {
    flex-shrink: 0;
}

.logo {
    width: 55px;
}

.headerWrapper {
    width: 98%;
    margin: 0 auto;
    height: 100%;
    display: table;
}

@media only screen and (max-width: 980px) {
    .headerWrapper {
        width: 92%;
    }
}

@media only screen and (min-width: 1240px) {
    .headerWrapper {
        width: 92%;
    }
}

.headerImageClass {
    width: 55px;
    display: table-cell;
    padding: 7.5px 10px 7.5px 0;
}

.headerTitle {
    font-family: PrimaryFont;
    color: white;
    font-size: 35px;
    height: 100%;
    display: table-cell;
    vertical-align: middle;
    text-transform: uppercase;
}

@media only screen and (min-width: 340px) {
    .headerImageClass {
        padding: 7.5px 20px 7.5px 0;
    }
}

@media only screen and (min-width: 400px) {
    .headerImageClass, .logo {
        width: 65px;
    }

    .headerTitle {
        font-size: 40px;
        font-family: MLBMarinersRegular;
        font-weight: lighter;
    }
}

@media only screen and (min-width: 450px) {
    .headerImageClass, .logo {
        width: 75px;
    }

    .headerTitle {
        font-size: 45px;
    }
}

.logoTitle {
    height: 100%;
    display: table-cell;
}

.nav {
    display: table-cell;
    height: 100%;
    vertical-align: middle;

}

/* The full menu needs ~1160px; below that use the side menu */
@media only screen and (max-width: 1159px) {
    .nav {
        display: none;
    }
}

.primFontHead {
    font-family: PrimaryFont;
    letter-spacing: 2px;
    font-weight: 600;
}

.secondFontHead {
    font-family: 'Karla', sans-serif;
}

.fullH {
    height: 100%;
}

.floatR {
    float: right;
}

.link {
    vertical-align: middle;
    text-decoration: none;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    white-space: nowrap;
    color: white;
    text-align: center;
    text-transform: uppercase;
    font-size: 19px;
    padding: 0 10px;
    width: 100%;
    cursor: pointer;
}

@media only screen and (min-width: 1070px) {
    .link {
        padding: 0 13px;
    }
}

@media only screen and (min-width: 1090px) {
    .link {
        padding: 0 18px;
    }
}

.navIcon {
    vertical-align: middle;
    margin: -4px 8px -2px 0;
}

.navMenu {
    height: 100%;
    display: table;
    float: right;
}

.dropdown {
    height: 100%;
    display: table-cell;
    vertical-align: middle;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

.marginLeft {
    margin-left: 12px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #212121;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    font-size: 14px;
}

.dropdown-content a {
    float: none;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    width: 170px;
}

.active {
    color: var(--color-grey);
}

.dropdown-content a.active {
    background-color: #333;
}

.dropdown-content a:hover {
    background-color: var(--color-dark);
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block;
}

.dropdown:hover .link,
.dropdown:focus-within .link {
    color: var(--color-grey);
}

.mainHome {
    padding-top: 35px;
    width: 92%;
    margin: 0 auto;
    flex: 1 0 auto;
}

.mainTitle {
    font-family: PrimaryFont;
    color: white;
    font-size: 60px;
    text-transform: uppercase;
}

.mainEvents {
    padding-top: 70px;
    padding-bottom: 50px;
}

.mainEventsHead a {
    color: inherit;
    text-decoration: none;
}

.mainEventsHead {
    color: white;
    font-size: 32px;
    border-bottom: 1px solid white;
    display: inline-block;
    padding: 5px 3px;
}

.mainEventsContent {
    color: white;
}

.footer {
    width: 100%;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 25px 0px;
    display: flow-root;
    color: var(--color-light);
    font-family: 'Montserrat', sans-serif;
}

.footerWrapper,
.indexFooterWrapper {
    margin: 0px auto;
    display: table;
    width: 100%;
}

.indexFooterWrapper {
    width: 92%;
}

.footerRight {
    width: 20%;
    display: table-cell;
    padding-right: 20px;
}

.footerRightContent {
    float: right;
}

.socialLogo {
    padding: 0px 5px;
    opacity: .7;
    display: table-cell;
    height: 100%;
    vertical-align: middle;
    text-align: center;
}

.socialLogo:hover {
    opacity: 1;
}

.footerLeft {
    display: table-cell;
    width: 80%;
    vertical-align: top;
    padding-left: 20px;
}

@media only screen and (min-width: 940px) {
    .footerRight {
        padding-right: 72px;
    }

    .footerLeft {
        padding-left: 72px;
    }
}

.indexFooterLeft {
    display: table-cell;
    width: 50%;
    vertical-align: middle;
}

.lastUpdated {
    padding-top: 12px;
    font-size: 11px;
    opacity: .5;
}

.footerHead {
    text-transform: uppercase;
    padding-bottom: 6px;
}

.noTextDec {
    text-decoration: none;
    color: inherit;
}

.main {
    display: table;
    line-height: 1.5;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    flex: 1 0 auto;
}

.mainContentHead {
    padding-bottom: 24px;
    font-weight: bold;
    display: table-cell;
    font-size: 22px;
    text-align: left;
}

@media only screen and (min-width: 980px) {
    .mainContentHead {
        font-size: 28px;
    }
}

.mainLeft {
    display: table-cell;
    padding: 72px 50px;
    font-size: 15px;
    width: 71%;
    background: white;
}

#eventMain {
    padding: 72px 25px;
}

@media only screen and (max-width: 600px) {
    .mainLeft {
        padding: 48px 20px;
    }
}

.mainRight {
    display: none;
    background: #f1f1f1;
    padding: 72px 50px;
    text-align: initial;
}

/* The Events sidebar holds the calendar buttons: on narrow screens show it below the content. */
.mainRightEvents {
    display: table-caption;
    caption-side: bottom;
}

@media only screen and (max-width: 600px) {
    .mainRightEvents {
        padding: 48px 20px;
    }
}

@media only screen and (min-width: 940px) {
    .mainRight {
        display: table-cell;
    }
}

@media only screen and (min-width: 1050px) {
    .mainLeft, #eventMain, .mainRight {
        padding: 72px 60px;
    }
}

@media only screen and (min-width: 1090px) {
    .mainLeft, #eventMain {
        padding: 72px 80px;
    }

    .mainRight {
        padding: 72px 72px;
    }
}

.mainTextColor {
    color: var(--color-muted);
}

.mainContentText {
    padding-bottom: 24px;

}

.socialButton:hover {
    box-shadow: 0 0 4px 3px rgba(0, 0, 0, 0.15);
    transition: .3s;
    cursor: pointer;
}

.socialButton {
    padding: 15px 20px;
    display: block;
    color: #FFF;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    box-shadow: none;
    margin: 16px 0px;
}

.btnInsta {
    background-color: #E33E5C;
}

.btnWiki {
    background-color: #808080;
}

.btnFB {
    background-color: #4b70ab;
}

.btnYT {
    background-color: #FF0000;
}

.btnFlickr {
    background-color: #0063DC;
}

.btnAddCal {
    padding: 9px 20px;
    margin: 11px 0px;
}

.btnCal1 {
    background-color: rgba(28, 48, 126, 0.8);
}

.black {
    color: black;
}

.black1 {
    background-color: var(--color-dark);
}

#preEventsContent {
    line-height: 1.3;
    padding-left: 5px;
    font-size: 21px;
    font-family: PrimaryFont;
    margin-top: 6px;
}

/* Home page upcoming events (js/HomeEvents.js) */
.homeEvents {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    max-width: min(460px, calc(100vw - 40px));
}

.homeEvent {
    display: flex;
    align-items: stretch;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 6px;
    overflow: hidden;
    backdrop-filter: blur(3px);
}

.homeEventDate {
    flex: 0 0 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    background: var(--color-accent);
    font-family: PrimaryFont;
    line-height: 1;
    text-transform: uppercase;
}

.homeEventWeekday,
.homeEventMonth {
    font-size: 14px;
    letter-spacing: 1px;
    opacity: 0.85;
}

.homeEventDay {
    font-size: 32px;
    font-weight: 600;
    margin: 3px 0;
}

.homeEventBody {
    flex: 1;
    min-width: 0;
    padding: 9px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.homeEventTitle {
    text-align: left;
    font-family: PrimaryFont;
    font-size: 21px;
    letter-spacing: 0.5px;
    line-height: 1.15;
}

.homeEventMeta {
    font-family: 'Karla', sans-serif;
    font-size: 14px;
    opacity: 0.85;
    text-align: left;
}

.homeEventTime {
    margin-right: 8px;
}

.homeEventLocation a {
    color: inherit;
}

.homeEventLocation::before {
    content: "·";
    margin-right: 8px;
}

.homeEventEmpty {
    font-family: PrimaryFont;
    font-size: 21px;
}

.boardRightDiv {
    padding: 15px 0px;
}

.boardYear {
    padding-bottom: 4px;
}

.dispTable {
    display: table;
}

.dispCell {
    display: table-cell;
}

.vertMiddle {
    vertical-align: middle;
}

.fullWidth {
    width: 100%;
}

.borderRight {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.jOrL {
    display: table-cell;
    padding: 2px 15px;
    opacity: .7;
}

.formerBoardYear {
    font-weight: 600;
    color: black;
}

.tableRow {
    display: table-row;
}

.formerBoards {
    padding-top: 40px;
}

.formerBoards summary {
    cursor: pointer;
    list-style: none;
}

.formerBoards summary::-webkit-details-marker {
    display: none;
}

.formerBoards summary::before {
    content: "\25B8\00A0";
}

.formerBoards[open] summary::before {
    content: "\25BE\00A0";
}

.formerBoard {
    padding-bottom: 18px;
}

.formerBoardPhoto {
    display: block;
    width: 100%;
    max-width: 640px;
    height: auto;
    margin: 6px 0 10px;
}

.formerBoardMembers {
    display: table;
    width: 100%;
}

.formerBoardName {
    display: table-cell;
    width: 40%;
}

.formerBoardFunction {
    display: table-cell;
}

.mainContentSubHead {
    font-weight: bold;
    display: table-cell;
    font-size: 17px;
}

.TULogo {
    margin-bottom: 14px;
    margin-top: 15px;
}

@media only screen and (min-width: 475px) {
    .TULogo {
        margin-left: 14px;
        float: right;
    }
}

.UFvideo {
    display: none;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    min-height: 100%;
    filter: brightness(50%);

}

@media only screen and (min-width: 940px) {
    .UFvideo {
        display: block;
    }
}

.mapLocation {
    width: 100%;
    height: 50%;
    margin-top: 5px;
}

#tableEventsContent {
    border-spacing: 0 15px;
    border-collapse: collapse;
    min-width: 50%;
    width: 100%;
}

tr:first-of-type {
    border-top: none;
}

tr:last-of-type {
    border-bottom: none;
}

.eventRow {
    border: 1px solid rgba(0, 0, 0, .12);
    border-right: none;
    border-left: none;
    cursor: pointer;
}

.eventRow:hover {
    background-color: #f2f2f2;
}

.eventCell {
    text-transform: uppercase;
    padding: 15px 0px;
    width: 15%;
    color: var(--color-muted);
    font-weight: 600;
    text-align: center;
    font-size: 13px;
}

@media only screen and (min-width: 940px) {
    .eventCell {
        text-align: left;
    }
}

.boardContainer {
    max-width: 290px;
    width: 80%;
    background-color: #f1f1f1;
    padding: 0 20px 20px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.075);
    text-align: center;
    display: inline-block;
    min-height: 220px;
    vertical-align: top;
    margin: 20px 0px;
}

.Container-middle {
    margin: 20px 0;
}

@media only screen and (min-width: 475px) {
    .Container-middle {
        margin: 20px 40px;
    }
}

.boardAvatar {
    border-radius: 100px;
    overflow: hidden;
    height: 120px;
    width: 120px;
    position: relative;
    margin: auto;
    top: -30px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 0 5px #fff;
    display: table;

}

.boardAvatarSrc {
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 100px;
    transition: all 0.3s ease-in-out;
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.boardName {
    font-size: 19px;
}

.boardFunction {
    color: var(--color-muted);
}

.boardEmail {
    color: var(--color-muted);
}

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

@media only screen and (min-width: 740px) {
    .boardWrapper {
        display: flex;
        max-width: 775px;
    }

    .boardContainer {
        max-width: 190px;
    }

    .containerBL {
        margin-left: 16.25%;
    }

    .containerBR {
        margin-right: 16.25%;
    }
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    background-color: #fff;
    overflow-x: hidden;
    visibility: hidden;
    transition: width 0.25s, visibility 0.25s;
}

@media only screen and (min-width: 1160px) {
    .sidenav {
        display: none;
    }
}

.sidenav.open {
    width: 280px;
    visibility: visible;
}

.sidenav a[aria-current] .sidenavItem {
    font-weight: bold;
    background-color: rgba(0, 0, 0, .08);
}

.sidenavItem {
    padding: 8px 8px 8px 20px;
    text-decoration: none;
    font-size: 17px;
    color: black;
    display: block;
    background-color: inherit;
}

.sidenavItemText {
    width: 180px;
    white-space: nowrap;
}

.menuBtn {
    display: none;
    font-size: 50px;
    cursor: pointer;
    color: white;
    z-index: 1;
    vertical-align: middle;
    width: 30px;
    text-align: center;
    padding-right: 10px;
    user-select: none;
    -webkit-tap-highlight-color: rgba(255,255,255,0);
}

@media only screen and (min-width: 340px) {
    .menuBtn {
        padding-right: 25px;
    }
}

@media only screen and (max-width: 1159px) {
    .menuBtn {
        display: table-cell;
    }
}

.closebtn {
    display: table-cell;
    font-size: 30px;
    text-decoration: none;
    color: black;
    padding-right: 14px;
    padding-top: 14px;
    vertical-align: top;
}

#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
    cursor: pointer;
    transition: 0.5s;
}

.sidenavHeader {
    color: var(--color-accent);
    font-family: MLBMarinersRegular;
    font-size: 25px;
    padding: 22px 8px 14px 20px;
    display: table-cell;
}

.divider {
    margin: .8rem 0 .4rem;
    border-top: 1px solid rgba(0, 0, 0, .2);
}

.divider-grey {
    margin: .7rem 0 .3rem;
    border-top: 1px solid rgba(238, 238, 238, .4);
}

.sidenavLink:hover {
    background-color: rgba(0, 0, 0, .05);
}

.sidenavSubheader {
    cursor: initial;
    color: rgba(0, 0, 0, .54);
    text-transform: uppercase;
}

.mainNews {
    color: white;
    font-family: PrimaryFont;
    text-align: right;
    font-size: 30px;
    vertical-align: top;
    display: none;
}

.mainNewsMobile {
    display: block;
    text-align: left;
    vertical-align: bottom;
}

@media only screen and (min-width: 940px) {
    .mainNews {
        display: block;
    }

    .mainNewsMobile {
        display: none;
    }
}

.homeLeft {
    width: 50%;
}

/* Home page join text and achievements (_includes/HomeNews.html) */
.homeNews {
    font-family: 'Karla', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

.homeNews h2, .homeNews h3 {
    margin: 0 0 10px;
    font-family: PrimaryFont;
    font-weight: 600;
    line-height: 1.2;
}

.homeNews h2 {
    font-size: 34px;
}

.homeNews h3 {
    font-size: 26px;
}

.homeNews p {
    margin: 0 0 12px;
}

.homeNews a {
    color: white;
}

.homeJoin {
    max-width: 560px;
    margin: 16px 0 48px auto;
}

.homeAchievements {
    margin-bottom: 36px;
}

.homeAchievements ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.homeAchievements li {
    margin-bottom: 4px;
}

.homePlace {
    font-weight: bold;
}

.homeAchievementMeta {
    opacity: 0.75;
    white-space: nowrap;
}

.mainNewsMobile.homeNews {
    margin-top: 25px;
}

.mainNewsMobile .homeJoin {
    margin-left: 0;
}

.darkLink {
    color: var(--color-dark);
}

.footerLink {
    color: var(--color-light);
}

.flexWrap {
    display: flex;
    flex-wrap: wrap;
}

.practiceCalendar {
    border: solid 1px #777;
}

.clinicTable {
    width: 100%;
    max-width: 500px;
    border-collapse: collapse;
}

.clinicTable, .clinicTable th, .clinicTable td {
    border: 1px solid black;
}

.clinicTable th, .clinicTable td {
    padding: 10px;
    text-align: center;
}

.clinicTable th {
    background-color: #f2f2f2;
}

/* Markdown pages (_layouts/text.html): match .mainContentHead, .mainContentSubHead and .mainContentText */
.text h2 {
    clear: right;
    margin: 0;
    padding-bottom: 24px;
    font-size: 22px;
    text-align: left;
}
.text h3 {
    margin: 0;
    font-size: 17px;
}
.text p, .text ul, .text ol, .text table {
    margin: 0 0 24px;
    color: var(--color-muted);
}
.text p:has(+ ul, + ol), .text ul:has(+ p), .text ol:has(+ p) {
    margin-bottom: 0;
}
.text ul, .text ol {
    padding-left: 0;
    list-style-position: inside;
}
.text a {
    color: var(--color-dark);
}
.text .photoRight {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
@media only screen and (min-width: 600px) {
    .text p:has(> .photoRight) {
        float: right;
        clear: right;
        margin-left: 24px;
    }
}
.text::after {
    content: "";
    display: block;
    clear: both;
}
.text .photoGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: start;
}
.text .photoGrid img {
    display: block;
    width: 100%;
    height: auto;
}
.text .photoGrid br {
    display: none;
}
.text h3 + .boardWrapper {
    margin-top: 24px;
}
@media only screen and (min-width: 980px) {
    .text h2 {
        font-size: 28px;
    }
}

.text .wfdfLogo {
    float: right;
    width: 160px;
    margin: 4px 0 12px 16px;
}

.inactiveCalendars { margin-top: 1em; }
.inactiveCalendars summary { cursor: pointer; margin-bottom: 0.5em; }
