﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.CheatHeight {
    height: calc(100vh - 60px);
}

.FullScreenBlocker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /* IE 8 */
    filter: alpha(opacity=50); /* IE 5-7 */
    -moz-opacity: 0.5; /* Netscape */
    -khtml-opacity: 0.5; /* Safari 1.x */
    opacity: 0.5; /* Good browsers */
    background-color: rgba(0,0,0,10);
    z-index: 10;
}
.LoadTxtContainer {
    background-color: #2a2a2a;
    vertical-align: middle;
    top: 33%;
    left: 50%;
    margin-top: -50px;
    margin-left: -100px;
    width: 200px;
    height: 100px;
    padding: 10px;
    position: fixed;
    border: 5px solid #ffffff;
    border-radius: 10px 10px 10px 10px;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
    z-index: 11;
}

.editPlayerListContainer {
    width: 100%;
    height: 100px;
    max-height: 100px;
    -ms-transition: max-height 0.15s ease-out;
    -o-transition: max-height 0.15s ease-out;
    -webkit-transition: max-height 0.15s ease-out;
    transition: max-height 0.15s ease-out;
}

.editPlayerListContainer:focus {
        height: 500px;
        max-height: 500px;
    }

.ManageMatchupContainer {
    display: flex;
}

@media (min-width: 800px) {
    .HiddenIfLarge {
        display: none;
    }
}
    @media (max-width: 800px) {
        .ManageMatchupContainer {
            flex-flow: column;
        }
    }

    .MatchupFlexHolder {
        display: flex;
        flex-flow: wrap;
    }
.ScenarioImage {
    max-width: min(750px, 100%);
}
.ScenarioDensity {
    cursor: pointer;
    border-width: 1px 1px 0 1px;
    border-style: solid;
    border-color: #d5d5d5;
    padding: 5px 10px 5px 10px;
    display: inline-block;
    width: 75px;
    background-color: #d2d2d2;
    text-align: center;
}
.SelectedDensity {
    background-color: white;
    border-color: #565656;
}

.ScenarioRow {
    height: 140px;
    white-space: nowrap;
}

.ScenarioRowHeaderCell {
    -ms-transform: translate(10px, 51px) rotate(300deg);
    -webkit-transform: translate(10px, 51px) rotate(300deg);
    transform: translate(10px, 51px) rotate(300deg);
    width: 30px;
}

    .ScenarioText {
        border-bottom: 1px solid #ccc;
        padding: 5px 10px;
    }

    .MatchupContainer {
        padding-right: 70px;
        padding-top: 70px;
    }

    .OpponentListTitle {
        border-bottom: 1px solid #ccc;
        padding-right: 10px;
    }

.MatchupCell {
    text-align: center;
    padding: 3px 3px;
    border: 1px solid #ccc;
}

.MatchupInput {
    color: inherit;
    display: inline;
    width: 25px;
    text-align: center;
    border: none;
    -moz-appearance: textfield;
}

    .MatchupInput::-webkit-inner-spin-button {
        display: none;
        -webkit-appearance: none;
    }

.MatchupColour-0 {
    background: rgb(23, 0, 0) !important;
    color: rgb(255, 255, 255) !important;
}

.MatchupColour-1 {
    background: rgb(205, 1, 1) !important;
    color: rgb(255, 183, 183) !important;
}

.MatchupColour-2 {
    background: rgb(255, 171, 0) !important;
    color: rgb(42, 24, 0) !important;
}

.MatchupColour-3 {
    background: rgb(245, 255, 0) !important;
    color: rgb(31, 32, 0) !important;
}

.MatchupColour-4 {
    background: rgb(0, 255, 2) !important;
    color: rgb(0, 42, 6) !important;
}

    .MatchupColour-5 {
        background: rgb(54, 34, 255) !important;
        color: rgb(171, 216, 255) !important;
    }

.MatchupColour-Missing {
        background-color: #e5e5e5;
        color: black;
    }

.ListHolder {
    width: 100%;
    height: 80vh;
    position: sticky;
    top: 0;
    overflow-y: scroll;
    padding-top: 56px;
    
}
/*.ListHolderResizer {
    content: '';
    height: 100%;
    border-left: dashed gray 2px;
    position: relative;
    right: 0;
    width: 10px;
    padding-right: 5px;
    padding-left: 5px;
    cursor: ew-resize;
}*/
/*@media(max-width: 800px) {
    .ListHolder {
        width: 100% !important;
    }
    .ListHolderResizer {
        display: none;
    }
}*/
.MatchupCommented {
    border: 3px dotted #a63ad2;
}
.MatchupSelected {
    border: 3px solid #646464;
}
.CommentContainer {
    position: relative;
    background: #e1e1e1;
    border-radius: .4em;
    padding: 0 3px 0 3px;
    max-width: fit-content;
    min-width: 100%;
}
    .CommentContainer:after {
        content: '';
        position: absolute;
        left: 50%;
        width: 0;
        height: 0;
        border: 10px solid transparent;
    }
.LowerComment {
    text-align: right;
    margin-top: 5px;
}
    .LowerComment:after {
        top: 0;
        border-bottom-color: #e1e1e1;
        border-top: 0;
        border-left: 0;
        margin-left: 75px;
        margin-top: -10px;
    }
.UpperComment {
    text-align: left;
    margin-bottom: 5px;
}
    .UpperComment:after {
        bottom: 0;
        border-top-color: #e1e1e1;
        border-bottom: 0;
        border-right: 0;
        margin-left: -85px;
        margin-bottom: -10px;
    }
    /* MatchupMagic */
    .MagicMatchupContainer {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
.RoundScenrario {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    background: #fff;
    border: 2px solid #666;
    color: #666;
    text-align: center;
    font: 32px Arial, sans-serif;
    margin: 0px 20px 0px 20px;
}
    .RoundScenrario:hover {
        color: #666;
    background: #d5e9ff;
        cursor: pointer;
    }
.RoundSelected {
    background: #3f90fd;
    color: white;
}
    .RoundSelected:hover {
        background: #5a9ffc;
        color: rgb(224, 224, 224);
    }

    .PlayerPool {
        border: rgb(156, 156, 156) solid 1px;
        padding: 4px;
        min-width: 150px;
    }

    .MatchingContainer {
        border: rgb(156, 156, 156) solid 1px;
        padding: 4px;
    }

.RoundContainer {
    padding: 4px;
    display: flex;
    flex-flow: column;
    align-items: stretch;
    text-align: center;
}

.PairingContainer {
        padding: 4px;
        display: flex;
        flex-flow: row;
    }

    .Pairing {
        padding: 0px 15px 0px 15px;
    }

    .ScenarioDropTarget {
        color: #747474;
    }

    .SelectedRound {
        border: #83baf8 dashed 3px;
    }

    .Player {
        white-space: nowrap;
    }

    .Holdings {
        border: rgb(156, 156, 156) solid 1px;
        margin-top: 15px;
        text-align: center;
    }
.MagicCommentContainer {
    width: 100%;
    height: 100px;
}
#sync-container {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.LowerOpacity{
    opacity: 15% !important;
}