: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;
    --xTLcolor1: #6892d5;
}

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: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 60px;
    /*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;
}

    .welcome-pic table {
    }

    .welcome-pic td {
        width: 33%;
    }
        .welcome-pic td:first-child {
            width: 33%;
            /*background-image: url("/content/images/ww-logo.png");*/
            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;
            /*background-color: white;*/
        }

    .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: 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;
}

.question {
    margin-top: 0;
    margin-bottom: 3px;
    border: 2px solid var(--TLcolor1);
    border-radius: 10px;
    background-color: whitesmoke;
}

    .question span {
        padding: 10px;
        display: inline-block;
        font-size: calc(1rem + .3vw);
    }

    .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;
    }

.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);
    }

.ButtonLinkWide {
    padding: 5px 18px !important;
}

.HeightAuto {
    height: auto !important;
}

.PlayNow {
    width: 150px !important;
}

.NoTopMargin {
    margin-top: 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);
    }

.PageNavButton {
    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;
}

    .PageNavButton:hover {
        color: var(--ButtonTextColor);
    }

    .PageNavButton:visited {
        color: var(--ButtonTextColor);
    }

.PageNavButtonDisabled {
    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(--TLcolor1);
    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(--TLcolor1);
    border-radius: 10px;
    padding: 2px 8px;
    width: fit-content;
    margin: 0 auto 15px auto;
}

    .scoreboard table {
        border: 0;
        padding: 0;
        border-spacing: 2px;
        border-collapse: separate;
        margin: auto;
        font-size: calc(1rem + .3vw);
        font-weight: var(--ButtonFontWeight);
        line-height: calc(1.3rem + .3vw);
    }

    .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);
        color: var(--ButtonTextColor);
        text-align: center;
        cursor: pointer;
        padding: 0 3px 3px 3px;
    }

.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;
}

.align-right {
    text-align: right !important;
}

.my-navbar {
    padding: 0 !important;
    margin: 0 !important;
}

.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 {
    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;
    /*background-color: var(--TLcolor3);*/
}

.my-nav-tab-selected {
    padding: 5px 8px !important;
    margin-bottom: -1px !important;
    color: var(--ButtonTextColor) !important;
    background-color: var(--TLcolor1) !important;
}

.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;
}

    .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;
    }

.inline {
    display:inline !important;
    width: fit-content !important;
}