.selectable{
    cursor:pointer;
}
/*START gameDetail override*/
div.gameDetail {
    display: -webkit-box;
    display: -ms-flexbox;
    display: box;
    display: flex;
    -webkit-box-lines: single;
    -moz-box-lines: single;
    -o-box-lines: single;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-align: center;
    -o-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -o-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

    div.gameDetail > div {
        -webkit-box-flex: 1;
        -o-box-flex: 1;
        box-flex: 1;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        -webkit-align-self: stretch;
        -ms-grid-row-align: stretch;
        align-self: stretch;
        -ms-flex-item-align: stretch;
    }

        div.gameDetail > div:last-child {
            -ms-flex-preferred-size: 40%;
            flex-basis: 40%;
            display: -webkit-box;
            display: -ms-flexbox;
            display: box;
            display: flex;
            -webkit-box-lines: multiple;
            -moz-box-lines: multiple;
            -o-box-lines: multiple;
            -ms-flex-wrap: wrap;
            flex-wrap: wrap;
            -webkit-box-align: center;
            -o-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            -webkit-box-pack: end;
            -o-box-pack: end;
            -ms-flex-pack: end;
            justify-content: flex-end;
            padding-top: 1.5vw;
            padding-bottom: 1.5vw;
        }

            div.gameDetail > div:last-child > span {
                -ms-flex-preferred-size: 40%;
                flex-basis: 40%;
            }

                div.gameDetail > div:last-child > span:last-child {
                    text-align: center;
                }


@media screen and (max-width: 750px) {
    div.gameDetail > div:last-child > span {
        -ms-flex-preferred-size: 80%;
        flex-basis: 80%;
    }

        div.lobbyDiv.gamesList,
        div.gameDetail > div:last-child > span:last-child {
            text-align: left;
        }
}






/*START EXPERIMENT2*/

tr.gameDetail td {
    background-color: rgba(255,255,255,0.05);
    padding: 1.5vw;
}

tr.gameDetail td {
    background-color: rgba(255,255,255,0.05);
    padding: 1.5vw;
}

tr.gameDetail ol {
    margin: 0;
    padding: 0;
    padding-left: 10px;
}

tr.gameDetail li {
    margin: 0;
    margin-top: 0.8vw;
    padding-left: 0;
    margin-left: 20px;
    line-height: 1.6;
    vertical-align: bottom;
    white-space: nowrap;
}

    tr.gameDetail li.p1 {
        color: var(--pTheme1);
    }

    tr.gameDetail li.p2 {
        color: var(--pTheme2);
    }

    tr.gameDetail li.p3 {
        color: var(--pTheme3);
    }

    tr.gameDetail li.p4 {
        color: var(--pTheme4);
    }

    tr.gameDetail li.active:before {
        font-family: 'icomoon';
        content: '\e910';
        position: absolute;
        left: 0;
        font-size: 15px;
        line-height: 15px;
        color: #fff;
    }



    tr.gameDetail li.active:before {
        left: 5px;
        font-size: 20px;
        line-height: 20px;
    }

tr.gameDetail td {
    background-color: rgba(255,255,255,0.05);
    padding: 0.8vw;
}




/*END EXPERIMENT*/


.lobbyDiv a {
    text-decoration: none !important;
}

div.lobbyDiv {
    margin-bottom: 20px;
    padding-bottom: 0px;
}


.tabLink {
    border-bottom: 3px solid rgba(255,255,255,0);
    text-align: center;
}


    .tabLink.activeLink {
        border-bottom: 3px solid #fff;
    }


@media screen and (min-width: 1200px) {

    div.lobbyDiv {
        margin-bottom: 0px;
        padding-bottom: 0px;
    }

    .btn-info {
        background-color: blue;
        color: white;
        width: auto;
    }



    .gridlist {
        display: -ms-grid;
        -ms-grid-columns: 1fr 1fr;
        -ms-grid-rows: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .gridlist-item {
        margin-right: 15px;
    }
}


@media screen and (min-width: 1800px) {
    .gridlist {
        display: -ms-grid;
        -ms-grid-columns: 1fr 1fr 1fr;
        -ms-grid-rows: auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }

    /*.grid-6 {
        display: flex;
        flex-wrap: wrap;
    }*/

}
/*GRID END*/


div.fixedHeightTable {
    max-height: none;
    overflow: unset;
}


.playerRanking {
    cursor: pointer;
}


.ratingOptions div {
    padding-bottom: 10px;
}
/*Somethign in styles.css causing drop downs text to be black*/
select.darkmode option {
    color: #fff;
}


span.pieceCount {
    background-color: rgba(0, 0, 0, 0.5);
}

.historyTable td {
    padding: 0px;
}

.historyTable {
    width: 100%;
    max-width: 440px;
}

    .historyTable td:nth-child(2) {
        text-align: right;
    }



.playerRating {
    white-space: nowrap;
}
/*Responsive tablet fixes*/
@media screen and (max-width: 1024px) {
    main, div#priNav-v2, div#priNav, div#secNav, footer.siteWide, div#carouselIndicator, div#slideNav, div.owl-theme.mktngSlider div.contentHdr {
        padding-left: 0px;
        padding-right: 0px;
    }
}

div.itemHeader span.smallBox h6 {
    top: -3px;
    font-size: 1.3em;
}

/*Experimient with piece colors*/
svg.piece g.base rect.fill {
    opacity: 0.8;
}

ul.playerDash li svg.piece g.base rect.fill {
    opacity: 0.8;
}

ul.playerDash li .p4 svg.piece g.base rect.fill {
    opacity: 0.7;
}



/*.p1 svg.piece g.base rect.fill {
    opacity: 0.9;
}

.p2 svg.piece g.base rect.fill {
    opacity: 0.9;
}

.p3 svg.piece g.base rect.fill {
    opacity: 0.9;
}*/
/*Want to play with piece inner colors etc? See this exampole*/
/*.p1 rect.fill {
    fill: var(--pTheme1);
}
.p2 rect.fill {
    fill: var(--pTheme2);
}
.p3 rect.fill {
    fill: var(--pTheme3);
}
.p4 rect.fill {
    fill: var(--pTheme4);
}*/

/*want to play with boarder colors? See this example */
/*.p1 rect.border {
    stroke: var(--pTheme1);
    opacity: 1;
}
.p2 rect.border {
    stroke: var(--pTheme2);
    opacity: 1;
}
.p3 rect.border {
    stroke: var(--pTheme3);
    opacity: 1;
}
.p4 rect.border {
    stroke: var(--pTheme4);
    opacity: 1;
}
*/
.alert {
    padding: 10px;
    opacity: 0.8;
    border-radius: 8px;
}

.alert-success {
    background-color: darkgreen;
}

.alert-danger {
    background-color: darkred;
}

.alert-warning {
    background-color: darkgoldenrod;
}

/*for darkmode selects:*/
select option {
    background: #000;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.9);
}






select optgroup {
    background: #000;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.9);
}


.formFieldBorder {
    max-width: 500px;
}


div.mblnav {
    display: block;
}

.smallStolenIcon {
    height: 25px;
    width: auto;
    display: inline-block
}


.gameOutcomeResult {
    cursor: pointer;
    margin-bottom: 20px;
}

.playerOutcomeResult.winner {
    color: #ffeebb;
}


div.mblnav.collapse {
    display: none;
}

/*Rating icon*/
span.ratingIcon {
    display: inline-table;
}

    span.ratingIcon img {
        width: 20px;
    }


/*To override to a neutral text color*/
.neutralColor {
    color: #ddd;
}

/*Make the minor size a bit bigger*/
.minor {
    font-size: 0.9em;
}

/*Make the timeRemain show in the color of the player*/
.p1_force {
    color: var(--pTheme1) !important;
}

.p2_force {
    color: var(--pTheme2) !important;
}

.p3_force {
    color: var(--pTheme3) !important;
}

.p4_force {
    color: var(--pTheme4) !important;
}

.cursor-pointer {
    cursor: pointer;
}

/*
        Make the text wider in the action panels
    */
div.actionPanel div.actionInfo div.actionMsg {
    -ms-flex-preferred-size: 90%;
    flex-basis: 90%;
}

/*When pieces are in the defence or attack rows make them flash in sync*/
div.item.attackable svg.piece rect.border {
    stroke: #fff;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-name: flashModded;
    animation-name: flashModded;
    -webkit-animation-duration: 2.5s;
    animation-duration: 2.5s;
}

a.ctaButtonDisabled {
    background-color: #333;
    border-color: #333;
}


/*For shields and covers, when focused, don't expand the size of the piece*/
ul.playerDash div.item.focus svg.utility-piece {
    -webkit-transform: scale(105%) !important;
    transform: scale(105%) !important;
}

/*Reduce padding!*/
@media screen and (max-width: 750px) {
    main, footer.siteWide, div.owl-theme.mktngSlider div.contentHdr {
        padding: 0px;
    }

    div.actionPanel div.actionInfo {
        margin-bottom: 0px;
    }
}





/*Styles for when the player played here*/


/*Indicates actions taken in prev turn*/
div.item.action1HereP1 {
    animation: p1Action1Here 3s linear;
}

div.item.action1HereP2 {
    animation: p2Action1Here 3s linear;
}

div.item.action1HereP3 {
    animation: p3Action1Here 3s linear;
}

div.item.action1HereP4 {
    animation: p4Action1Here 3s linear;
}

@keyframes p1Action1Here {
    20%,70% {
        border: 1px solid var(--pTheme1) !important;
        box-shadow: 0 0 10px 5px var(--pTheme1);
        background-color: var(--pTheme1);
    }
}

@keyframes p2Action1Here {
    20%,70% {
        border: 1px solid var(--pTheme2) !important;
        box-shadow: 0 0 10px 5px var(--pTheme2);
        background-color: var(--pTheme2);
    }
}

@keyframes p3Action1Here {
    20%,70% {
        border: 1px solid var(--pTheme3) !important;
        box-shadow: 0 0 10px 5px var(--pTheme3);
        background-color: var(--pTheme3);
    }
}

@keyframes p4Action1Here {
    20%,70% {
        border: 1px solid var(--pTheme4) !important;
        box-shadow: 0 0 10px 5px var(--pTheme4);
        background-color: var(--pTheme4);
        opacity: 0.8;
    }
}

div.item.action2HereP1 {
    animation: p1Action2Here 4s linear;
}

div.item.action2HereP2 {
    animation: p2Action2Here 4s linear;
}

div.item.action2HereP3 {
    animation: p3Action2Here 4s linear;
}

div.item.action2HereP4 {
    animation: p4Action2Here 4s linear;
}

@keyframes p1Action2Here {
    30%,80% {
        border: 1px solid var(--pTheme1) !important;
        box-shadow: 0 0 10px 5px var(--pTheme1);
        background-color: var(--pTheme1);
    }
}

@keyframes p2Action2Here {
    30%,80% {
        border: 1px solid var(--pTheme2) !important;
        box-shadow: 0 0 10px 5px var(--pTheme2);
        background-color: var(--pTheme2);
    }
}

@keyframes p3Action2Here {
    30%,80% {
        border: 1px solid var(--pTheme3) !important;
        box-shadow: 0 0 10px 5px var(--pTheme3);
        background-color: var(--pTheme3);
    }
}

@keyframes p4Action2Here {
    30%,80% {
        border: 1px solid var(--pTheme4) !important;
        box-shadow: 0 0 10px 5px var(--pTheme4);
        background-color: var(--pTheme4);
        opacity: 0.8;
    }
}

/*Expand the player color to easily use elsewhere*/
.showPlayerColors li.p1 {
    color: var(--pTheme1);
}

.showPlayerColors li.p2 {
    color: var(--pTheme2);
}

.showPlayerColors li.p3 {
    color: var(--pTheme3);
}

.showPlayerColors li.p4 {
    color: var(--pTheme4);
}

.showPlayerColors li {
    margin-bottom: 10px;
}

.hideElement {
    display: none !important;
}

.narrowCTA {
    padding: 6px 7px 3px 7px !important;
    border-radius: 6px !important;
    font-size: 0.8em !important;
}

.mobileChat {
    display: none;
}

#GameChatArea {
    max-height: 80vh;
    overflow-y: scroll;
    display: flex;
    flex-direction: column-reverse;
}

.gameChatHolder {
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 75px;
    max-width: 1200px;
}


submit {
    cursor: pointer;
}

div.overlayBoard {
    background-color: rgba(0,0,0,0.95);
}

.diceActionPanel {
    background-color: rgba(0,0,0,1)!important;
}

.chatOverlay{
    z-index:9999;
}

span.isoSVG-lg {
    display: inline-block;
    width: 125px;
    height: 125px;
    position: relative;
    margin-bottom: -4px;
    margin-left: 4px;
    margin-right: 4px;
}

.createHeightBelowActions{
    display:none;
}


@media screen and (min-width: 601px) {
    .mobileOnly {
        display: none;
    }

}

@media screen and (max-width: 600px) {
    .mobileChat {
        display: block;
        width: 100%;
        text-align: right;
        margin-right: 10px;
        padding-top: 10px;
        background-color: transparent;
    }

    .desktopChat {
        display: none;
    }

    
    .desktopOnly {
        display: none;
    }
}


    @media screen and (max-width: 769px) {
        .desktopGamesSettings {
            display: none;
        }
    }

    @media screen and (min-width: 770px) {
        .desktopGamesSettings {
            text-align: center;
            padding-top: 20px;
            margin-top: -100px;
        }
    }

    @media screen and (max-width: 600px) {
        .createHeightBelowActions {
            display: block;
            height: 120px;
            text-align: right;
            margin-right: 10px;
            padding-top: 10px;
            background-color: transparent;
        }

        div.itemHeader span.smallBox {
            padding: 5px 2px 2px 2px;
            margin-right: 5px;
        }
    }

    div.actionPanel {
        background-color: rgba(0,0,0,0.9) !important;
    }

    .founder-color {
        color: gold;
    }
    /*
    style="white-space:nowrap; @(IsMobile ? "display:block;padding-bottom:5px;" : "display:inline-block:padding-left:10px;")

*/
    .game-list-desc-item {
        white-space: nowrap;
        display: inline-block;
        padding-left: 10px;
    }

    .game-list-desc-item-mob {
        white-space: nowrap;
        display: block;
        padding-left: 0px;
        padding-bottom: 5px;
        padding-top: 5px;
    }



.landingBackground {
    background-image: url('/images/imagery/Three-Arrows-silhouette.jpg')
}

@media screen and (max-width:750px) {
    .landingBackground {
        background-image: url('/images/imagery/Three-Arrows-silhouette.jpg');
        background-repeat: no-repeat;
        background-position: left center;
        background-size: auto 100%;
    }
}

textarea.auto-resize {
    overflow: hidden;
    resize: none;
    min-height: 40px;
    background-color:black;
    color:white;
    border: 0px;
}

textarea.auto-resize:focus {
    outline: none;
}