:root {
    --TLcolor1: #0079c1;
    --xTLcolor2: #e5caae;
    --TLcolor2: #D5AB68;
    --TLcolor3: whitesmoke;
    --TLcolor4: gainsboro;
    --TLcolor1_rgb: rgb(104, 146, 213);
    --TLcolor1_rgba: rgba(104, 146, 213, 1);
    --ButtonFontSize: 1rem;
    --ButtonTextColor: white;
    --ButtonTextColor2: black;
    --ButtonFontWeight: 400;
    --GreyedColor: gainsboro;
    --MinorButtonColor: grey;
    --xTLcolor1: #6892d5;

    --QuestionBgColorEven: #FEF7EC;
    --QuestionBorderColorEven: #F3AC3D; 
    --QuestionBgColorOdd: #EEF0FF;
    --QuestionBorderColorOdd: #5665FF;

    --ScoreBoardBgColor: #F5F4ED; 
    --ScoreBoardBorderColor: #E2DDCA;
    --ScoreBoardDDBgColor: #EFEDF5;
    --ScoreBoardDDColor: black;

    --font-serif: "Fraunces", "Times New Roman", Georgia, serif;
    --font-arial: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        /* For browsers wider than 768px */
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .logo-caption {
        display: inline-block;
        font-size: 24px;
        font-weight:bolder;
        vertical-align: middle;
        padding-left: 10px;
    }
}

@media (min-width: 768px) {
    .logo-caption {
        display: none;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: var(--font-arial);
    font-feature-settings: "ss01", "kern";
    text-rendering: optimizelegibility;
    margin-bottom: 60px;
    -webkit-font-smoothing: antialiased;

    /*background: #CCDBDE url("/content/images/gradient.jpg");
    background-size: cover;*/
}

@media print {
    body {
        background-image: none !important;
    }
}

/* My Styles */
.textCentre {
    text-align: center !important;
}

.divCentre {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.welcome-pic {
    width: 100% !important;
    margin: 0 auto;
    text-align: center;
}

    .welcome-pic table {
    }

    .welcome-pic td {
        padding: 5px;
        border: var(--TLcolor1) 2px solid;
        border-radius: 10px;
        width: 163px;
        display: block;
        margin: 10px auto;
        /*width: 33%;*/
    }
/*
        .welcome-pic td:first-child {
            width: 33%;
            background-repeat: no-repeat;
            background-size: auto 50%;
            background-position: right center;
            opacity: 1.0;
        }

        .welcome-pic td:last-child {
            width: 33%;
            background-image: url("/content/images/ww-logo.png");
            background-repeat: no-repeat;
            background-size: auto 50%;
            background-position: left center;
            opacity: 1.0;
        }

        .welcome-pic td:nth-child(2) {
            width: 33%;
            padding: 5px;
            border: var(--TLcolor1) 2px solid;
            border-radius: 10px;
            width: 163px;
            display: block;
            margin: 10px auto;
        }
*/
    .welcome-pic img {
        max-width: 150px;
        border: 1px solid var(--TLcolor1);
        border-radius: 10px;
    }

.game-frame-bg {
    /*background-repeat: repeat;
    background-image: url("/content/images/ww_all_pics.jpg");*/
    transition: background 1s linear;
    /*background-color: white !important;*/
    vertical-align: middle;
}

.img-container {
    float: left;
    position: relative;
    left: 50%;
}

.img-fixer-container {
    float: left;
    position: relative;
    left: -50%;
}

.purpose {
    width: 100%;
    margin-left: auto;
    text-align: center;
}

.purpose img {
    padding-right: 10px;
    margin-bottom: 10px;
    max-width: 400px;
}

.nav-item {
    font-size: 1rem !important;
}

.nav-submenu {
    margin-top: 2px;
}

.tick {
    font-size: 2rem;
    /*font-size: 1.5rem;*/
    border: none !important;
    padding: 0 5px 0 0 !important;
}

.questionouter {
    /*border: var(--TLcolor1) 2px solid;
    border-radius: 10px;*/
    padding: 3px 3px 0 3px;
    /*background-color: var(--TLcolor2);*/
    transition: background 1s linear;
    margin-bottom: 0px;
}

.questionouter p:nth-child(odd) {
    background-color: var(--QuestionBgColorOdd);
    border-color: var(--QuestionBorderColorOdd);
}

.questionouter p:nth-child(even) {
    background-color: var(--QuestionBgColorEven);
    border-color: var(--QuestionBorderColorEven);
}

.questionouter > div:nth-child(odd) {
    background-color: var(--QuestionBgColorOdd);
    border-color: var(--QuestionBorderColorOdd);
}

.questionouter > div:nth-child(even) {
    background-color: var(--QuestionBgColorEven);
    border-color: var(--QuestionBorderColorEven);
}

.question {
    margin-top: 0;
    margin-bottom: 3px;
    border: 1px solid transparent;
    border-radius: 10px;
    /*border: 2px solid var(--TLcolor1);
    background-color: whitesmoke;*/
}

    .question span {
        padding: 10px;
        display: inline-block;
        font-size: calc(1rem + .3vw);
        /*width: 100%;*/
    }

    .question div {
        padding: 10px;
        display: inline-block;
        font-size: calc(1rem + .3vw);
    }

    .question ul {
        list-style-type: none;
    }

    .question .ButtonLink {
        margin: 0 10px 10px 10px;
    }

    .question button {
        padding: 10px;
        font-weight: var(--ButtonFontWeight);
        background-color: var(--TLcolor1);
        color: var(--ButtonTextColor);
        margin: 10px;
    }

.QuestionButtons {
    margin-top: 0;
}

.EventRadioButtons {
    line-height: 10px;
    padding-left: 0 !important;
}

    .EventRadioButtons label {
        border-radius: 20px;
        border-color: var(--TLcolor1) !important;
        margin-bottom: 8px;
        font-size: smaller;
        font-weight: var(--ButtonFontWeight) !important;
    }

    .EventRadioButtons .ui-checkboxradio-label {
        background-color: var(--GreyedColor) !important;
        padding: 2px 10px 5px 5px !important;
    }

    .EventRadioButtons .ui-checkboxradio-checked {
        background: var(--TLcolor1) !important;
        padding: 2px 10px 5px 5px !important;
    }

.ButtonLink {
    padding: 5px 10px;
    background-color: var(--TLcolor1);
    color: var(--ButtonTextColor);
    text-decoration: none;
    display: inline-block;
    width: fit-content;
    height: 35px;
    text-align: center;
    border-width: 0;
    border-radius: 10px;
    margin-top: 10px;
    font-size: var(--ButtonFontSize);
    font-weight: var(--ButtonFontWeight);
}

    .ButtonLink:hover {
        color: var(--ButtonTextColor);
    }

    .ButtonLink:visited {
        color: var(--ButtonTextColor);
    }

    .ButtonLink:disabled {
        background-color: lightgrey;
        color: black;
        border: 1px solid black;
    }

.ButtonLinkWide {
    padding: 5px 18px !important;
}

.ButtonLinkMinor {
    background-color: var(--MinorButtonColor);
    padding: 5px 10px;
    color: var(--ButtonTextColor);
    text-decoration: none;
    display: inline-block;
    width: fit-content;
    height: 35px;
    text-align: center;
    border-width: 0;
    border-radius: 10px;
    margin-top: 10px;
    font-size: var(--ButtonFontSize);
    font-weight: var(--ButtonFontWeight);
}

    .ButtonLinkMinor:hover {
        color: var(--ButtonTextColor);
    }

    .ButtonLinkMinor:visited {
        color: var(--ButtonTextColor);
    }

.ButtonLinkMinor:disabled {
    background-color: lightgrey;
    color: black;
    border: 1px solid black;
}

.pairsQuestion {
    width: 100%;
    cursor: pointer;
}

.pairsButton {
    float: right;
    margin: 10px 0 0 0 !important;
}

.HeightAuto {
    height: auto !important;
}

.PlayNow {
    width: 150px !important;
}

.NoTopMargin {
    margin-top: 0 !important;
}

.noMargin {
    margin: 0 !important;
}

.AdminButton {
    padding: 5px 10px;
    background-color: var(--TLcolor1);
    color: var(--ButtonTextColor);
    text-decoration: none;
    display: inline-block;
    width: 100px;
    height: 35px;
    text-align: center;
    vertical-align: middle;
    border-radius: 10px;
}

    .AdminButton:hover {
        color: var(--ButtonTextColor);
    }

    .AdminButton:visited {
        color: var(--ButtonTextColor);
    }

    .AdminButton input[type="submit"] {
        padding: 0 !important;
    }

.PageNav {
  width: 100%;
  margin: 5px 0;
}

.PageNav table {
  width: 100%;
  display: block;
}

.PageNav td {
    padding-right: 8px;
}

.PageNav td:nth-child(6) {
    padding-right: 0 !important;
}

.PageNav text {
    font-weight: bold;
    vertical-align: top;
    text-align: center;
    margin: auto; 
    display: table
}

.PageNav input[type="button"] {
    padding: 0px 10px;
    background-color: var(--TLcolor1);
    border-color: var(--TLcolor1);
    border: none;
    color: var(--ButtonTextColor);
    text-decoration: none;
    display: inline-block;
    width: 40px;
    height: 35px;
    text-align: center;
    vertical-align: middle;
    border-radius: 10px;
    font-weight: bold;
    font-size: 12px;
}

    .PageNav input[type="button"]:hover {
        color: var(--ButtonTextColor);
    }

    .PageNav input[type="button"]:visited {
        color: var(--ButtonTextColor);
    }

    .PageNav input[type="button"]:disabled {
        background-color: gainsboro !important;
        border: 1px solid black !important;
    }

.inline {
    display: inline-block;
}

.SkipButton {
    margin: 0 2px 0 0;
}

.MyH3 {
    font-size: calc(1.3rem + .6vw);
}

.MyH4 {
    font-size: calc(1.275rem + .4vw);
    margin-bottom: 10px;
}

.MyH5 {
    font-size: calc(1.1rem + .3vw);
    margin-bottom: 10px;
}

.editor {
}

    .editor td {
        vertical-align: top;
    }

        .editor td:first-child {
            white-space: nowrap;
            width: 150px;
        }

.OptionSelect {
    padding: 5px 10px;
    background-color: var(--MinorButtonColor);
    color: var(--ButtonTextColor);
    display: inline-block;
    width: fit-content;
    height: 35px;
    text-align: center;
    border-radius: 10px;
    font-size: var(--ButtonFontSize);
}

    .OptionSelect select {
        vertical-align: middle;
        border-radius: 5px;
    }

@media screen and (max-width: 320px) {
    .OptionSelect {
        margin-top: 5px;
    }
}

.floatleft {
    float: left;
}

.floatright {
    float: right;
}

.TLRow {
    vertical-align: top;
}

.TLQCell {
}

.DateCell {
    white-space: nowrap;
    font-weight: bold;
    vertical-align: top;
}

.bold {
    font-weight: bold;
}

.italic {
    font-style: italic;
}

.GoogleLink {
    white-space: nowrap;
    vertical-align: top;
    font-weight: bold;
    margin-left: 10px;
    color: black;
}

    .GoogleLink a:link, a:visited, a:hover, a:active {
        color: black;
    }

.TL_Table {
    border-spacing: 3px;
    border-collapse: separate;
}

.TL_VertBar_Row {
    padding: 0;
    margin: 0;
    /*    margin-top: 3px; */
}

    .TL_VertBar_Row td {
        padding: 0 0 0 4px;
        border: 0;
    }

    .TL_VertBar_Row img {
        width: 10px;
        margin-left: 10px;
        background-image: url('/content/images/10x1_vert_bar.jpg');
    }

    .TL_VertBar_Row span {
        font-size: 1rem;
        font-weight: normal;
        font-style: italic;
        vertical-align: middle;
    }

.TL_Bar_Vert_Gap {
    font-size: 1rem;
    vertical-align: middle;
    margin: 0px;
    padding: 0;
}

.TL_Bar_Outline {
    background: var(--TLcolor1);
    padding: 0;
    box-sizing: border-box;
    border: 1px solid black;
    border-radius: 8px;
    width: 100%;
    height: 20px;
}

.TL_Highlight {
    font-weight: bold;
    font-style: italic;
    color: red;
    font-size: larger;
    padding-top: 5px !important;
}

.Remainder {
    margin-top: 2px !important;
    display: inline-block;
}

.TL_Bar_fill {
    background: var(--TLcolor1);
    color: var(--ButtonTextColor);
    height: 20px;
    width: 100%;
    font-size: 0.85rem;
    font-weight: normal;
    font-style: italic;
    text-align: right;
    vertical-align: top;
    padding: 0 6px 0 0;
    border-radius: 8px;
    text-shadow: 1px 1px 0 black;
}

.TL_Bar_Text {
    font-size: 1rem;
    font-weight: normal;
    font-style: italic;
    text-align: left;
    vertical-align: top;
    display: inline-block;
    color: black;
}

.TL_Bar_Row {
    padding: 0;
    margin-top: 3px;
}

    .TL_Bar_Row td {
        padding: 0 0 0px 4px;
    }

.TL_Circle_Row {
    vertical-align: middle;
}

    .TL_Circle_Row td {
        vertical-align: middle;
    }

    .TL_Circle_Row span {
        vertical-align: middle;
        font-weight: normal;
        font-style: italic;
        color: black;
    }

    .TL_Circle_Row div {
        vertical-align: middle;
        text-align: center;
    }


.TL_Circle {
    background-color: var(--TLcolor1);
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
}

.smOuter {
    width: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
}

.socialmedia {
    width: fit-content;
    text-align: center;
    border: 2px solid var(--TLcolor1);
    padding: 0;
    margin: 0;
    border-radius: 5px;
    /*background-color: white;*/
}

    .socialmedia div {
    }

    .socialmedia span {
        font-size: 1.1rem;
        font-weight: bold;
        text-align: center;
        /* top: -14px; */
        position: relative;
        /*background-color: white;*/
        padding: 0 5px;
        margin: 0;
    }

    .socialmedia ul {
        list-style-type: none; /* Remove bullets */
        padding: 0px 5px 5px 5px;
        margin: 0;
    }

    .socialmedia li {
        display: inline-block;
    }

    .socialmedia img {
        width: 40px;
        height: 40px;
    }

.hidden {
    display: none;
}

.readMore {
    display: inline;
}

@media screen and (max-width: 768px) {
    .readMore {
        display: none;
    }
}

.ReadLess {
    display: inline-block;
}

.moreButton {
    display: none;
}

@media screen and (max-width: 768px) {
    .moreButton {
        display: inline;
        font-weight: bold;
        cursor: pointer;
    }
}

.NewName {
    display: inline-block;
    background-color: var(--TLcolor1);
    color: var(--ButtonTextColor);
    border-radius: 10px;
}

.btn-primary {
    background-color: var(--TLcolor1) !important;
    color: var(--ButtonTextColor) !important;
    border-radius: 10px !important;
}

.nav-link.active {
    background-color: var(--TLcolor1) !important;
    color: var(--ButtonTextColor) !important;
    border-radius: 10px !important;
}

.btn-danger {
    margin-top: 10px;
    border-radius: 10px !important;
}

.LB_Table_Outer {
    border: var(--TLcolor1) 2px solid;
    border-radius: 10px;
    padding: 5px 5px 0 5px;
    overflow-x: auto;
    overflow-y: hidden;
    /*background-color: white;*/
}

.LB_Table {
    /*background-color: white;*/
}

    .LB_Table thead {
        border: 1px solid var(--TLcolor2) !important;
    }

        .LB_Table thead tr {
            background-color: inherit !important;
            color: black !important;
        }

    .LB_Table th {
        vertical-align: top;
        padding: 2px 5px;
        white-space: nowrap;
        font-weight: 500;
        color: var(--ButtonTextColor2) !important;
        /*background-color: var(--TLcolor4) !important;*/
    }

        .LB_Table th:first-child {
            border-top-left-radius: 10px !important;
        }

        .LB_Table th:last-child {
            border-top-right-radius: 10px !important;
        }

    .LB_Table .BoxedRow1 {
        border: 2px solid var(--TLcolor1) !important;
        background-color: var(--TLcolor2) !important;
    }

    .LB_Table .BoxedRow {
        border: 2px solid red;
        color: red !important;
    }

    .LB_Table tr:nth-child(even) {
        /*background-color: var(--GreyedColor);*/
        color: black;
    }

    .LB_Table tr:nth-child(odd) {
        background-color: white;
        color: black;
    }

    .LB_Table a:link, a:visited, a:hover, a:active {
        color: var(--ButtonTextColor2);
    }

    .LB_Table td {
        padding: 2px 5px;
    }

.PointsBar {
}

    .PointsBar #divOuter {
        border: black 1px solid;
        height: 30px;
        width: 100%;
    }

    .PointsBar #divInner {
        height: 100%;
        color: var(--ButtonTextColor);
        width: 1px;
        text-align: left;
        border-radius: 0 10px 10px 0;
        background-color: var(--TLcolor1);
        margin-bottom: 22px;
    }

.flip {
    display: block !important;
    transform-style: preserve-3d;
    transition: all 1.5s ease;
}

.pulsing {
    border-radius: 10px;
    border-width: 0;
    box-shadow: 0 0 0 0 var(--TLcolor1_rgba);
    animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    transition: all 300ms ease-in-out;
}

.pulsing5x {
    border-radius: 5px;
    border-width: 0;
    box-shadow: 0 0 0 0 var(--TLcolor1_rgba);
    animation: pulsing 1.25s 5 cubic-bezier(0.66, 0, 0, 1);
    transition: all 300ms ease-in-out;
}

.ButtonLinkPulsing {
    padding: 5px 10px;
    background-color: var(--TLcolor1);
    color: var(--ButtonTextColor);
    text-decoration: none;
    display: inline-block;
    width: fit-content;
    height: 35px;
    text-align: center;
    border-radius: 10px;
    border-width: 0;
    margin-top: 10px;
    font-size: var(--ButtonFontSize);
    box-shadow: 0 0 0 0 var(--TLcolor1_rgba);
    animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    transition: all 300ms ease-in-out;
    /*    -webkit-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -moz-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -ms-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
*/
}

    .ButtonLinkPulsing:hover {
        color: var(--ButtonTextColor);
    }

    .ButtonLinkPulsing:visited {
        color: var(--ButtonTextColor);
    }


.Pulsing {
    box-shadow: 0 0 0 0 var(--TLcolor1_rgba);
    -webkit-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -moz-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -ms-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    transition: all 300ms ease-in-out;
}

/* Animation */

@-webkit-keyframes pulsing {
    to {
        box-shadow: 0 0 0 20px rgba(232, 76, 61, 0);
    }
}

@-moz-keyframes pulsing {
    to {
        box-shadow: 0 0 0 20px rgba(232, 76, 61, 0);
    }
}

@-ms-keyframes pulsing {
    to {
        box-shadow: 0 0 0 20px rgba(232, 76, 61, 0);
    }
}

@keyframes pulsing {
    to {
        box-shadow: 0 0 0 20px rgba(232, 76, 61, 0);
    }
}

.growEvent {
    width: 10px;
    height: 10px;
    overflow: hidden;
    clip: auto;
    white-space: nowrap;
    margin: 0 auto 5px auto !important;
}

.bullet {
    display: list-item;
    margin-left: 5px;
}

.HowToPlay {
}

    .HowToPlay p {
        margin: 5px 0 15px 0;
    }

    .HowToPlay table {
        border-width: 0;
        border-style: solid;
        width: 98%;
        margin-left: 20px;
    }

    .HowToPlay td {
        margin: 0 10px 0 0;
        vertical-align: top;
    }

.footer a:link, a:visited, a:hover, a:active {
    color: black;
}

.profile-icon {
    display: inline;
}

.profile-text {
    display: none;
}

@media screen and (max-width: 768px) {
    .profile-icon {
        display: none;
    }
    .profile-text {
        display: inline;
    }
}

.myCheckBox {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0;
    vertical-align: top;
    border-width: 2px;
    border-color: black;
    color: black;
    background-color: white;
    font-size: larger;
}

.choices_outer {
    float: right !important;
    border: 0px solid black !important;
    padding: 0 !important;
}

.choices {
    border: 1px solid black;
    border-radius: 50%;
    height: 25px;
    width: 25px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 5px 0 5px;
    padding: 0 !important;
    cursor: pointer;
    background-color: var(--GreyedColor);
    color: black;
}

.choices_outer_dt {
    border: 0px solid black !important;
    padding: 0 0 20px 0 !important;
}

.choices_dt {
    border: 1px solid black;
    border-radius: 10px;
    height: 35px;
    width: fit-content;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 20px 10px 0 0;
    padding: 5px 10px;
    cursor: pointer;
    background-color: var(--GreyedColor);
    color: black;
}

.choices_unsel {
}

.choices_sel {
    background-color: var(--TLcolor1);
    color: var(--ButtonTextColor);
}

.submit_warning {
    color: red !important;
    font-size: 18px !important;
    padding: 0 0 0 10px !important;
}

.scoreboard {
    text-align: center !important;
    border: 2px solid var(--ScoreBoardBorderColor);
    border-radius: 10px;
    background-color: var(--ScoreBoardBgColor);
    padding: 2px 8px;
    width: 100%;
    margin: 0 auto 15px auto;
}

    .scoreboard table {
        width: 90%;
        margin: 0 auto;
        text-align: center;
        border: 0;
        padding: 0;
        border-spacing: 2px;
        border-collapse: separate;
        font-size: calc(1rem + .3vw);
        font-weight: var(--ButtonFontWeight);
        line-height: calc(1.3rem + .3vw);
    }

    .scoreboard td {
        width: 33%;
        margin: 0 auto;
        text-align: center;
    }

    /*
    .scoreboard td:nth-child(odd) {
        text-align: right;
    }

    .scoreboard td:nth-child(even) {
        text-align: left;
        padding-right: 5px;
    }

    .scoreboard td:nth-child(3) {
        padding-left: 15px;
    }
*/
    .scoreboard select {
        font-weight: var(--ButtonFontWeight);
        font-size: 1rem;
        border-radius: 10px;
        /*background-color: var(--TLcolor1);*/
        background-color: var(--ScoreBoardDDBgColor);
        color: var(--ScoreBoardDDColor);
        text-align: center;
        cursor: pointer;
        padding: 6px 3px;
    }

    .scoreboard option:disabled {
        font-weight: bold;
    }

.nowrap {
    white-space: nowrap !important;
}

.no-margin-top {
    margin-top: 0 !important;
}

.no-margin-bottom {
    margin-bottom: 0 !important;
}

.no-margin-left {
    margin-left: 0 !important;
}

.no-padding {
    padding: 0 !important;
}

.align-right {
    text-align: right !important;
}

.my-navbar {
    padding: 0 !important;
    margin: 0 !important;
}

.my-navbar ul {
    float: right;
    text-align: right;
    margin-right: 15px;
}

.my-navbar form {
    float: right;
}

.my-navbar-admin-action {
    color: var(--TLcolor1) !important;
    font-weight: bold;
}

.my-navbar-brand {
    padding: 0 !important;
    margin: 0 !important;
}

.my-navbar-brand img {
    max-height: 80px;
    max-width: 80px;
    padding: 0 !important;
    margin: 0 !important;
}

.my-container-fluid {
}

.my-nav-tab-outer {
    /*border-width: 2px;
    border-color: var(--TLcolor1);
    border-style: solid;
    border-top-left-radius: 0;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;*/
    padding: 5px;
    /*background-color: white;*/
}

.my-nav-tab-caption {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    font-size: calc(1rem + .3vw);
    padding: 0 5px 0 20px;
}

.my-nav-tab-list {
    margin: 0;
    padding: 0;
}

.my-nav-tab {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    font-size: calc(1rem + .3vw);
    font-weight: var(--ButtonFontWeight);
    padding: 0px 8px;
    margin-bottom: -1px;
    border-width: 2px 2px 2px 2px;
    border-style: solid;
    border-color: var(--TLcolor1);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    cursor: pointer;
    color: black;
    line-height: 1.3;
    /*background-color: var(--TLcolor3);*/
}

.my-nav-tab-selected {
    padding: 0 8px !important;
    margin-bottom: -1px !important;
    color: var(--ButtonTextColor) !important;
    background-color: var(--TLcolor1) !important;
}

.my-nav-tab-pulsing {
/*    border-width: 0; */    
    box-shadow: 0 0 0 0 var(--TLcolor1_rgba);
    animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    transition: all 300ms ease-in-out;
}

.my-nav-tab0 {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    font-size: calc(1rem + .3vw);
    font-weight: var(--ButtonFontWeight);
    padding: 0px 8px;
    margin-bottom: -10px;
    border-width: 2px 2px 0 2px;
    border-style: solid;
    border-color: var(--TLcolor1);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    cursor: pointer;
    color: black;
    line-height: 1.3;
    /*background-color: var(--TLcolor3);*/
}

.my-nav-tab-selected0 {
    padding: 5px 8px !important;
    margin-bottom: -1px !important;
    color: var(--ButtonTextColor) !important;
    background-color: var(--TLcolor1) !important;
    line-height: 1.3;
}
/*
.QAPrompt {
    font-size: calc(1.1rem + .3vw);
    margin: 2px 0 2px 2px;
    padding-bottom: 0;
    width: 100%;
}

.QANext-outer {
    vertical-align:middle;
}

.QANext {
    margin-top: 0;
    margin-left: auto;
}
    .QANext a {
        margin: 0 2px 0 auto;
        white-space: nowrap;
    }
*/

.horizontal-list {
    border: 1px solid black;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100%;
}

    .horizontal-list li:first-child {
        border: 1px solid black;
        float: left;
        height: 55px;
        padding-top: 8px;
    }

    .horizontal-list li:nth-child(2) {
        border: 1px solid black;
        float: right;
        white-space: nowrap;
    }

    .horizontal-list a {
        border: 1px solid black;
        vertical-align: middle;
    }

.QATable {
    width: 100%;
    font-size: calc(1.1rem + .3vw);
    margin-bottom: 5px;
    display: block;
}

    .QATable td:first-child {
        text-align: left;
        vertical-align: middle;
        padding: 5px 5px 0 5px;
    }

    .QATable td:nth-child(2) {
        text-align: right;
        vertical-align: top;
        padding: 0 0 5px 5px;
        white-space: nowrap;
    }

.QAPrompt {
    width: 100%;
    font-size: calc(1.3rem + .3vw);
    font-weight: bold;
    margin-bottom: 0;
    display: block;
}

.QANextQuestion {
    vertical-align: top;
    display: block;
    margin-bottom: 5px;        
    text-align: right;
}

    .QANextQuestion a {
        margin-top: 0 !important;
    }

.QAPass {
    vertical-align: top;
    display: block;
    margin-bottom: 5px;        
    text-align: right;
}
    .QAPass a {
        margin-top: 0 !important;
    }


.inline {
    display:inline !important;
    width: fit-content !important;
}


.ResultSymbols {
    display: inline-block;
    padding: 0;
    margin: 0;
}

    .ResultSymbols li {
        border-top: 1px solid black;
        border-left: 1px solid black;
        border-bottom: 1px solid black;
        display: inline-block;
        padding: 0;
        margin: 0;
    }

        .ResultSymbols li:last-child {
            border: 1px solid black;
            display: inline-block;
            padding: 0;
            margin: 0;
        }

.EventAdmin {
}

.EventAdmin th {
    font-weight: bold !important;
    padding-right: 10px;
}

.EventAdmin td {
    padding-right: 10px;
}

.xEventAdmin input[type="number"] {
    width: 70px;
}
 
.gameMenu {
    margin: 0 auto;
}

    .gameMenu h1 {
        text-align: center;
        font-weight: 300;
    }

    .gameMenu ul {
        margin: 0 auto;
        padding: 0;
        width: 100%;
        text-align: center;
        list-style-type: none;
    }

    .gameMenu li {
        width: 90%;
        max-width: 500px;
        border: 2px solid black;
        border-radius: 10px;
        margin: 10px auto;
        cursor: pointer;
        line-height: 20px;
    }

    .gameMenu li:hover {
        box-shadow: 0 5px 15px rgba(255, 0, 0, 0.8);
    }

    .gameMenu li p {
        padding: 5px;
        margin: 0;
    }

    .gameMenu li div:first-child {
        padding: 5px 0 0 0;
        font-weight: bold;
        font-size: larger;
    }

    .gameMenu li div:last-child {
        padding: 0 5px 5px 5px;
        margin: 0;
    }

.YearSliderContainer {
    width: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.YearSlider {
    max-width: 80%;
    width: 80%;
    margin: 0 auto;
    padding: 0 !important;
    text-align: center;
    height: 15px;
    border-radius: 5px;  
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
    -webkit-transition: .2s;
    -webkit-appearance: none;
}   
        
.YearSlider:hover {
    opacity: 1;
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) 
    and -moz- (Firefox) to override default look) */

.YearSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%; 
  background: var(--TLcolor1);
  cursor: pointer;
}

.YearSlider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--TLcolor1);
  cursor: pointer;
}

.PinpointTable {
    width: 100%;
}

.PinpointYear {
    width: 100%;
    text-align: center;
    font-size: 24px !important;
    font-weight: bold !important;
    padding: 0 !important;
}

/* Styles for Sequence game */
.Sequence {
}

.Sequence table {
    width: 100%;
    margin: 0 auto;
    border: 0;
    border-spacing: 0 4px;
    border-collapse: separate;    
    font-size: calc(1rem + .3vw);
    border-color: transparent;
    border-style: solid;
    background-color: transparent;
}

.Sequence tr {
    transition: all 0.3s ease;
    transform: translateY(0);
}

.Sequence tr.dragging {
    background-color: #f0f8ff;
    opacity: 0.8;
    cursor: move;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.Sequence tr.dropped {
    background-color: #d1e7dd; /* Flash a highlight color */
    transform: translateY(0);
}

.Sequence td {
    width: fit-content;
    vertical-align: top;
    padding: 0 5px;
    border-width: 2px;
    border-radius: 10px;
    /*background-color: whitesmoke;

    cursor: all-scroll;*/
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10+ and Edge */
}

.Sequence tr:nth-child(even) {
    background-color: var(--QuestionBgColorEven);
}

.Sequence tr:nth-child(odd) {
    background-color: var(--QuestionBgColorOdd);
}

.SeqAnswer {
    user-select: text !important;
}

.Sequence p {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    font-style: italic;
    background-color: transparent !important;
}

.SequenceDrag {
    cursor: grabbing !important;
    box-shadow: 0 0 6px red;
}

.newSeqCell {
    border-color: red;
}

.newSeqCellOK {
    border: 3px solid green !important;
}

.newSeqEvent {
}

.newSeqEvent table {
    width: 100%;
    margin: 10px 0;
    border-collapse: separate;
}

.newSeqEvent td {
    width: 100%;
    vertical-align: top;
    padding: 0 5px;
    border: 2px solid red;
    border-radius: 10px;
    background-color: whitesmoke;
    font-size: calc(1rem + .3vw);
}

.SeqButtons {
}

.SeqButtons table {
    width: 100%;
    margin: 0 auto 3px auto !important;
}

.SeqButtons td {
}

.SeqButtons td:first-child {
    text-align: left;
    width: 25%;
}

.SeqButtons td:nth-child(2) {
    text-align: center;
    width: 50%;
}

.SeqButtons td:last-child {
    text-align: right;
    width: 25%;
}
/*
tr.nodrop td {
    border-bottom: 1px solid #00bb00;
    color: #00bb00;
}
tr.nodrag td {
    border-bottom: 1px solid #FF6600;
    color: #FF6600;
}

td.dragHandle {

}

td.showDragHandle {
	background-image: url("/content/images/updown2.gif");
	background-repeat: no-repeat;
	background-position: center center;
	cursor: grabbing;
}

.tDnD_whileDrag td {
    background-color: #eee;
    -webkit-box-shadow: 6px 3px 5px #555, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset;
}
*/
/* End of styles for Sequence game */

.rotate90Clock {
    transform: rotate(90deg);

    /* Legacy vendor prefixes that you probably don't need... */ 
    -webkit-transform: rotate(90deg);    /* Safari */
    -moz-transform: rotate(90deg);       /* Firefox */ 
    -ms-transform: rotate(90deg);        /* IE */  
    -o-transform: rotate(90deg);         /* Opera */
}

.rotate90AntiClock {
    transform: rotate(-90deg);

    /* Legacy vendor prefixes that you probably don't need... */ 
    -webkit-transform: rotate(-90deg);    /* Safari */
    -moz-transform: rotate(-90deg);       /* Firefox */ 
    -ms-transform: rotate(-90deg);        /* IE */  
    -o-transform: rotate(-90deg);         /* Opera */
}
