/*
    This is the primary outside of the game content styling - does not include the frame and main menu
    Key elements:
    section - main content container boxes
    section.popup - used for modals
    nav - outside of section = tabs (currently must be directly below a section)
    nav - inside of section = section bottom right menu
    header - used for section headers, use h1 for large headers 
    data - use for small right floated header, row or body data (wrap each item in a span)
    figure - large feature area or image for section (profile pics etc)
    article - the text body of a section (padded) 
    aside - weaker padded text, use for a note in an article or empty section

    a.row - used for table rows - break into columns using bootstrap col, col-1, col-2... 
    a.row img - main image for a row (will not show on small screens)
    a.row b - main title for a row
    a.row s - highlighted sub text
    a.row span - sub text
    a.row i - fontawesome icons
    a.row dl - score/level bar container
    a.row dd - score/level bars - put color in html
    a.row dt - detail text for level/score bars

    table - standardized styling inside of section (no padding) or article - NOTE: prefer to use a.row above for better responsiveness

    form - use to hold inputs 

    clear - use if floats need to be cleared (section and a.row clear by default - article does not clear)

    .glowbox - use to indicate something should be pressed
 */
:root {
    --brad: 5px;
}

nav {
    height: 40px;
    margin: -40px 0 0 0;
    font-size: 12px;
    text-transform: uppercase;
}
    nav a {
        display: inline-block;
        cursor: pointer;
        white-space: nowrap;

        margin: 0 15px 0 15px;
        line-height: 24px;
        text-align: center;
        color: #669999 !important;
    }

@media screen and (max-width: 500px) {
    nav a {
        margin: 0 8px 0 8px;
    }
}

nav a::before {
    content: '';
    width: 2px;
    height: 4px;
    margin: 0 auto 0 auto;
    border-radius: inherit;
    display: block;
}

nav a::after {
    content: '';
    width: 2px;
    height: 4px;
    margin: 0 auto 0 auto;
    border-radius: inherit;
    display: block;
}

nav a.eselected {
    position: relative;
    color: #cceeee !important;
    box-sizing: border-box;
    background-clip: padding-box;
}

nav a.eselected::before {
    background: linear-gradient(to right, #00ff00, #ffff00);
}

nav a.eselected::after {
    background: linear-gradient(to right, #00ff00, #ffff00);
}


section {
    margin: 0 0 50px 0;
    border-radius: var(--brad);
    position: relative;
    background-image: url('/img/ui/dot.png'), linear-gradient(to bottom, rgba(52,60,60,1) 0, rgba(26,30,30,1) 100px);
    background-repeat: repeat;
    opacity: 0.9;
    box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.75);    
}
    section * {
        box-sizing: border-box !important;
    }
section.popup {
    opacity: 1;
}
@media screen and (max-width: 600px) {
    section {
        opacity: 1;
    }
}

    section::after, form::after, form p::after, .imgbutton::after {
        content: "";
        display: block;
        clear: both;
    }

    section header {
        background: rgba(34,40,40,1);
        padding: 10px;
        font-size: 14px;
        text-transform: uppercase;
        font-family: Oxanium;
        color: rgba(200, 200, 200, 0.75);
        margin: 0 !important;
        border-top-left-radius: var(--brad);
        border-top-right-radius: var(--brad);
        min-height: 38px;
    }

        section header h1 {
            font-size: 17px;
            color: #cceeee;
            margin: 0;
            padding: 0;
            line-height: 23px;
        }


    section nav {
        position: absolute;
        top: 100%;
        right: 0;
        margin: 0;
    }

        section nav.above {
            top: -30px;
        }

        section nav.inside {
            top: auto;
            bottom: -5px;
            right: 10px;
        }

    @media screen and (max-width: 600px) {

        section nav.insidewhensmall {
            top: auto;
            bottom: -5px;
            right: 10px;
        }
    }

    section nav a {
        font-size: 11px;
        text-transform: uppercase;
        color: #88aaaa !important;
        font-weight: bold;
        opacity: 0.4;
    }

        section nav a::after {
            content: " \f105";
            font-family: "Font Awesome 6 Free";
            display: inline-block;
            margin: 0 0 0 3px;
            font-style: normal;
            font-variant: normal;
            text-rendering: auto;
            font-weight: 900;
            -webkit-font-smoothing: antialiased;
            text-align: center;
        }

        section nav a:hover {
            color: #cceeee !important;
            opacity: 1;
        }

        section nav a.eselected {
            opacity: 1;
        }

            section nav a.eselected::before {
                background: none;
            }

            section nav a.eselected::after {
                background: none;
            }


    figure {
        float: right;
        margin: 0 0 0 10px !important;
        padding: 0;
    }

        figure img {
            width: 150px;
            height: 150px;
            border-top-right-radius: var(--brad);
            border-bottom-right-radius: var(--brad);
        }

    @media screen and (max-width: 500px) {
        figure img {
            width: 80px;
            height: 80px;
            border-bottom-right-radius: 0px;
            border-bottom-left-radius: var(--brad);
        }
    }


    article {
        padding: 20px;
        font-size: 13px;
        line-height: 23px;
        color: #bbcccc;
    }

        article hr:first-child {
            display: none;
        }

    .clear::after {
        content: "";
        display: table;
        clear: both;
    }

    article h1, form h1, .form h1 {
        font-size: 24px;
        margin: 0 0 10px 0;
        color: #fff;
        clear: left;
        font-family: Oxanium;
    }

    article h2, form h2, .form h2 {
        font-size: 20px;
        color: #fff;
        margin: 0 0 10px 0;
        clear: left;
        font-family: Oxanium;
    }

    article h3, form h3, .form h3 {
        font-size: 16px;
        color: #fff;
        font-family: Oxanium;
    }

    article h4, form h4, .form h4 {
        font-size: 14px;
        color: #fff;
        font-family: Oxanium;
    }

    article h5, form h5, .form h5 {
        font-size: 13px;
        color: #fff;
        font-family: Oxanium;
    }

    article .featureimage {
        width: 300px;
        float: right;
        margin: 0 0 20px 20px;
        border-radius: 5px;
    }

    @media screen and (max-width: 500px) {
        article .featureimage {
            width: 150px;
        }
    }
    /*article label {
        font-size: 12px;
        text-transform: uppercase;
        line-height: 24px;
        margin: 0 0 0 10px;
        color: #cceeee;
        display: block;
    }*/

    data ul, .detaillist {
        list-style-type: none;
        font-size: 11px;
        line-height: 18px;
        padding: 10px;
        margin: 0;
        color: #cceeee;
    }

    data li {
        margin: 0 0 3px 0;
    }

    aside {
        font-size: 12px;
        opacity: 0.5;
        padding: 20px;
        font-weight: normal;
    }

    data {
        float: right;
        font-size: 11px;
        color: #cceeee;
        text-transform: uppercase;
    }

        data a {
            color: #cceeee !important;
            user-select: none;
        }

        data i {
            font-size: 14px;
            margin: 0 3px 0 0;
            color: rgba(200, 200, 200, 0.5);
            display: inline-block;
            position: relative;
            bottom: -1px;
        }

        data span {
            margin: 0 0 0 10px;
        }

        data .esel {
            border-radius: 3px;
            background-color: #0094ff;
            padding: 4px 5px 4px 5px;
        }

        data span img {
            position: relative;
            top: -1px;
        }

        mark {
            float:right;
            font-size: 11px;
            background-color: #009900;
            color: #fff;
            display:block;
            border-radius: 50%;            
            width: 20px;
            height: 20px;
            line-height: 17px !important;
            text-align:center;
        }


    a.row {
        padding: 20px 10px 20px 20px;
        cursor: pointer;
        line-height: 20px;
        margin: 0 !important;
        border-bottom: solid 1px #222;
    }

        a.row:last-child {
            border-bottom: none;
            border-bottom-right-radius: var(--brad);
            border-bottom-left-radius: var(--brad);
        }

        a.row::after {
            content: '';
            clear: both;
            display: block;
        }

        a.row:hover {
            background: linear-gradient(to bottom, rgba(64,80,80,.25) 0, rgba(34,40,40,.25) 100%);
            box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.75);
        }

        a.row img, td img, a.row .img, td .img {
            width: 60px;
            height: 60px;
            float: left;
            margin: 0 10px 0 0;
            border-radius: var(--brad);
        }

        a.row b, td b {
            color: cyan;
            font-size: 14px;
            font-family: Oxanium;
            font-weight: normal;
            text-transform: capitalize;
        }

        a.row s, td s {
            color: #fff;
            display: block;
            text-decoration: none;
        }

        a.row span s, td span s {
            color: #fff;
            display: inline;
            text-decoration: none;
        }

        a.row p, td p {
            padding: 10px 0 0 0;
            color: #bbcccc;
        }

        a.row span, td span {
            display: block;
            font-size: 12px;
            color: #999;
        }

        a.row i, td i {
            font-size: 14px;
            margin: 0 0 0 0;
            color: rgba(200, 200, 200, 0.5);
            display: inline-block;
        }

        a.row dl, td dl {
            font-size: 11px;
            color: #999;
        }

        a.row dd, td dd {
            background-color: #ff6600;
            height: 24px;
            text-align: right;
            margin: 0 5px 0 0;
            border: solid 1px #ff9900;
            border-top-right-radius: var(--brad);
            border-bottom-right-radius: var(--brad);
            padding: 0;
        }

        a.row dl, td dl {
            margin: 0;
            padding: 0;
            color: #ccc;
        }

        a.row dt, td dt {
            margin: 0;
            padding: 0;
            font-weight: normal;
        }

        a.row strong, td strong {
            font-size: 18px;
            color: #fff !important;
            font-family: Oxanium;
            font-weight: normal;
        }
        a.row.selected {
            background: linear-gradient(to bottom, rgba(200, 102, 0,1) 0, rgba(150, 50, 0,1) 100%);
        }


    @media screen and (max-width: 500px) {
        a.row img, td img, a.row .img, td .img {
            display: none;
        }

        a.row {
            padding: 10px 0 10px 0;
        }

        .rowheader::before {
            display: none;
        }
    }

    /*a.row span b {
        font-size: 12px;
        font-family: Arial;
        color: #fff;
        font-weight: normal;
    }*/

    section table {
        margin: 10px 0 0 0;
        width: 100%;
    }

        section table td {
            vertical-align: top;
            border-top: solid 1px #333;
            padding: 10px 0 10px 10px;
            line-height: 20px;
        }

        section table th, .rowheader {
            text-align: left;
            padding: 10px 0 8px 8px;
            font-size: 16px;
            font-family: Oxanium;
            font-weight: normal;
            height: 20px;
        }

    .rowheader {
        padding: 20px;
    }

    .expand {
        height: 60px;
        overflow: hidden;
    }

        .expand:hover {
            height: auto;
        }

            .expand:hover::after {
                display: none;
            }

        .expand::after {
            content: "\f107";
            font-family: "Font Awesome 6 Free";
            display: block;
            position: absolute;
            width: 14px;
            right: 20px;
            top: 10px;
            font-style: normal;
            font-variant: normal;
            text-rendering: auto;
            font-weight: 900;
            color: #009999;
            -webkit-font-smoothing: antialiased;
            text-align: center;
        }

    /*Modals*/
    section.popup {
        position: absolute;
        max-width: 400px;
        border: solid 2px #224444;
        z-index: 1101;
        box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.75);
        margin: 0;
    }

        section.popup data {
            width: 41px;
            height: 41px;
            text-align: center;
            cursor: pointer;
            font-size: 24px;
        }

            section.popup data:hover {
                background: linear-gradient(to bottom, rgba(64,80,80,.25) 0, rgba(34,40,40,.25) 100%);
            }

            section.popup data i {
                font-size: 24px;
                top: 8px;
                left: 2px;
                bottom: initial;
            }



    /*FORMS*/

    form, .form {
        padding: 20px;
        color: #bbcccc;
    }
        /*form input[type="button"] {
        float: right;
        padding: 10px 20px 10px 20px;
        font-size: 14px;
        text-align: center;
        cursor: pointer;
        margin: 0 10px 10px 0;
        color: #000;
        border-radius: 5px;
        border: none;
    }*/
        form input[type="text"], form input[type="password"], .form input[type="text"], .form input[type="password"] {
            font-size: 16px;
            height: 20px;
            width: 100%;
            height: 35px;
            padding-left: 15px;
            border: none;
            border-radius: 10px;
            margin-bottom: 20px;
            background: #111;
            outline: none;
            color: #fff;
            border: solid 1px #333;
        }

        form p, .form p {
            clear: both;
            padding: 10px 0 10px 0;
        }

        form label, .form label {
            display: block;
            font-size: 12px;
            text-transform: uppercase;
            line-height: 24px;
            margin: 0 0 0 10px;
            color: #999;
        }

        form input[type="file"], .form input[type="file"] {
            display: none;
        }

    .efileupload {
        border: 1px solid #ccc;
        border-radius: 10px;
        display: inline-block !important;
        padding: 6px 12px;
        cursor: pointer;
    }

    div[contenteditable="true"] {
        background-color: #111;
        border-radius: 10px;
        padding: 10px;
        color: #cceeee;
        outline: none;
        border: solid 1px #333;
    }

    form div[contenteditable="true"], .form div[contenteditable="true"] {
        margin-bottom: 20px;
    }

    .button, input[type=button] {
        border-radius: var(--brad);
        font-size: 12px;
        display: inline-block;
        text-transform: uppercase;
        min-width: 120px;
        white-space: nowrap;
        line-height: 12px;
        padding: 10px 5px 8px 5px;
        margin: 0 0 10px 5px;
        text-align: center;
        border: none;
        background: linear-gradient(to bottom, rgba(48,60,60,1) 0, rgba(34,40,40,1) 100%);
        box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.75);
        font-family: Oxanium;
        cursor: pointer;
        color: #fff;
    }

        input[type=button]:active {
            border: none;
        }

        .button:hover, button:hover {
            background: linear-gradient(to bottom, rgba(64,80,80,1) 0, rgba(34,40,40,1) 100%);
            box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.75);
        }

    .smallbutton {
        border-radius: var(--brad);
        font-size: 11px;
        display: inline-block;
        text-transform: uppercase;
        white-space: nowrap;
        line-height: 11px;
        padding: 5px 5px 5px 5px;
        margin: 0 0 5px 0;
        text-align: center;
        border: none;
        background: linear-gradient(to bottom, rgba(48,60,60,1) 0, rgba(34,40,40,1) 100%);
        font-family: Roboto;
        cursor: pointer;
        color: #99bbbb;
    }


    /*Unique buttons for going to the turns with status on them (overriding standard buttons)*/
    .imgbutton {
        border-radius: var(--brad);
        font-size: 16px;
        display: inline-block;
        text-transform: uppercase;
        min-width: 110px;
        white-space: nowrap;
        line-height: 32px;
        padding: 8px;
        margin: 0 0 10px 0;
        text-align: left;
        border: none;
        background: linear-gradient(to bottom, rgba(48,60,60,1) 0, rgba(34,40,40,1) 100%);
        box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.75);
        font-family: Oxanium;
        cursor: pointer;
        color: #fff;
    }

        .imgbutton:hover {
            background: linear-gradient(to bottom, rgba(58,70,70,1) 0, rgba(34,40,40,1) 100%);
        }

        .imgbutton img {
            float: left;
            width: 32px;
            height: 32px;
            margin-right: 5px;
            border-radius: var(--brad);
        }


    /* Reset Select */
    select {
        -webkit-appearance: none;
        -moz-appearance: none;
        -ms-appearance: none;
        appearance: none;
        outline: 0;
        box-shadow: none;
        border: 0 !important;
        background: #111;
        background-image: none;
    }
        /* Remove IE arrow */
        select::-ms-expand {
            display: none;
        }
    /* Custom Select */
    .select {
        position: relative;
        display: flex;
        width: 20em;
        height: 3em;
        line-height: 3;
        background: #222;
        overflow: hidden;
        border-radius: 10px;
        margin: 0 0 20px 0;
        border: solid 1px #333;
    }

    select {
        flex: 1;
        padding: 0 .5em;
        color: #fff;
        cursor: pointer;
    }
    /* Arrow */
    .select::after {
        content: '\25BC';
        position: absolute;
        top: 0;
        right: 0;
        padding: 0 1em;
        background: rgba(34,40,40,1);
        cursor: pointer;
        pointer-events: none;
        -webkit-transition: .25s all ease;
        -o-transition: .25s all ease;
        transition: .25s all ease;
    }
    /* Transition */
    .select:hover::after {
        color: #00ffff;
    }


    /* checkbox styling */
    .checkbox {
        display: block;
        position: relative;
        padding-left: 35px;
        margin-bottom: 12px;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

        /* Hide the browser's default checkbox */
        .checkbox input {
            position: absolute;
            opacity: 0;
            cursor: pointer;
        }

        /* Create a custom checkbox */
        .checkbox span {
            position: absolute;
            top: 0;
            left: 0;
            height: 24px;
            width: 24px;
            background-color: #111;
            border-radius: 3px;
            border: 1px solid #333;
        }

        /* On mouse-over, add a grey background color */
        .checkbox:hover input ~ span {
            border: 1px solid #cceeee;
        }

        /* When the checkbox is checked, add a blue background */
        .checkbox input:checked ~ span {
            border: 1px solid #cceeee;
        }

        /* Create the checkmark/indicator (hidden when not checked) */
        .checkbox span:after {
            content: "";
            position: absolute;
            display: none;
        }

        /* Show the checkmark when checked */
        .checkbox input:checked ~ span:after {
            display: block;
        }

        /* Style the checkmark/indicator */
        .checkbox span:after {
            left: 6px;
            top: 2px;
            width: 5px;
            height: 10px;
            border: solid white;
            border-width: 0 3px 3px 0;
            -webkit-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            transform: rotate(45deg);
            box-sizing: content-box !important;
        }


    .glowbox {
        box-shadow: 0px 0px 12px 2px yellow;
        animation: opacityshift 1s ease infinite alternate;
    }

    @keyframes opacityshift {
        from {
            opacity: 0.5;
        }

        to {
            opacity: 1;
        }
    }

    @media (orientation:landscape) {
        .hide-on-landscape {
            display: none;
        }
    }

    .nonucss * {
        all: initial;
    }/*premium status*/
#eaccountstatus {
    float:left;
    margin: -15px 5px 0 -12px;
    width: 50px;
    height: 50px;
}



/*#erightcolumn {  
    padding: 0 !important;
    margin: 0 0 15px 0;
}
#etitlearea {
    padding: 5px 0 0 0;
    min-height: 90px;
}

#eprofiledesc {
    width: 180px;
    clear: both;
    padding: 20px 0 20px 0;
}
    #eprofiledesc a {
        font-size: 11px;
        text-transform: uppercase;
    }

#elighttabs {
    height: 50px;   
    list-style-type: none;
    margin: 0;
    padding: 0;
    border-top: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#999), color-stop(100%,#ccc));
    
}
    #elighttabs li {
        display:block;
        float: left;
        width: 130px;
        height: 50px;
        line-height: 50px;
        font-size: 14px;
        text-align: center;
        cursor: pointer;
    }
        #elighttabs li.eselected {
            background-color: #fff;
            border-right: solid 1px #ccc;
            border-top: solid 1px #ccc;
            border-left: solid 1px #ccc;
            height: 52px;
            position: relative;
            top: -2px;
            left: -1px;
        }


.esettingsbutton a {
    border: 1px solid #444;
    height: 30px;
    width: 120px;
    line-height: 30px;
    float: left;
    padding: 0 10px 0 10px; 
    margin: 0 0 10px 0;
    text-align: center;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#444), color-stop(100%,#333));
}

.etabcontent {
    
}
.etab {
    padding: 20px;
}*/

/*TenacityHistory*/
/*#etenacityhistory {
    font-size: 14px;
    line-height: 18px;
    padding: 0px 0 0px 0;
}
    #etenacityhistory th {
        font-size: 16px;
        text-align: left;
    }    
    #etenacityhistory tr {
        border-bottom: solid 1px #444;
    }
        #etenacityhistory tr th:first-child {
            padding-left: 10px;

        }     
        #etenacityhistory tr td:first-child {
            padding-left: 10px;

        }        
        #etenacityhistory tr td:last-child {
            padding-right: 10px;
        }
#etenacityhistory td { padding: 10px 0 10px 0; }*/


/*.egameactions a, #ecreategamemenu a, #eleveleditor a, .smallbutton {
    float: left;
    clear: left;
    display: block;
    font-size: 11px !important;
    width: 90px;
    text-align: center;
    margin: 5px 0 5px 5px !important;
    cursor: pointer;
    line-height: 24px !important;
    text-transform: uppercase;
    border-radius: 5px;
    background: linear-gradient(to bottom, rgba(48,60,60,1) 0, rgba(34,40,40,1) 100%);
}
#ecreategamemenu a, #eleveleditor a {
    width: 120px;
}
#ecreategamemenu, #eleveleditor, #emanagegroupsmenu {
    height: 50px;
    padding: 0px 10px 0 0;
}

#epost h1 {
    line-height: 30px;
}
#epost h3 {
    font-weight: bold;
    margin: 0 0 10px 0;
}*/

/*Turn status indicators*/
.eturnstatus0, .eturnstatus1, .eturnstatus2, .eturnstatus-1, .eturnstatus3 {
    background-image: url(/img/ui/statuslinkblue.png);
    background-repeat: no-repeat;
    width: 32px;
    height: 32px;
    float: left;
    margin-right: 5px;
}

.eturnstatus0
{
    background-position: 0 -64px;
}

.eturnstatus1
{
    background-position: 0 -32px;
}

.eturnstatus-1
{
    background-position: 0 -96px;
}
.eturnstatus3 {
    background-position: 0 -128px;
}

/*Game over button*/
.imgbutton.GoodText {
    font-size: 12px;
    line-height: 16px;
}

/*#egamesettings hr {
    border-top: solid 1px #666;
}
.estartgametable img {
    width: 60px;
    height: 60px;
    float: left;
}
.estartgametable>div { clear:left; padding: 10px 10px 50px 10px; border-top: solid 1px #666; }
.estartgametable > div:hover {
    background-color: #444;
    cursor:pointer;
}
.estartgametable span { display:block; padding: 0 0 0 70px; }
.estartgametable .egameactions { float:right; }
.estartgametable h5 { font-size: 14px; color: cyan; padding: 0; }*/


/*.elevelgap {
    border: none !important;
}
.elevelgap td {
    height: 10px;
}
    */

/*History boxes for first, second, third etc.*/
.efinishbox {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#666), color-stop(100%,#333));
    color: #000;
    font-size: 20px;
    width: 60px;
    line-height: 54px;
    height: 60px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
    text-align: center;
    float: left;
    margin: 0 10px 0 0;
    box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.75);
}
.efinishbox1 {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff), color-stop(100%,#DAA520));
    font-size: 26px;
    color: #000;
    
}
.efinishbox2 {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff), color-stop(100%,#bbb));
    font-size: 24px;
    color: #000;
}
.efinishbox3 {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eAb530), color-stop(100%,#90522D));
    font-size: 22px;
    color: #000;
}


/*Fancy progress bars at top of multiplayer and singleplayer*/
.elevelprogress {
    position:absolute;top: 0px;right:5px;width:190px;
    height: 40px;
}
.elevelprogressbar {
    position:absolute;left:0px;top:8px;height:4px;width:190px;background-color: #111;border-radius:2px;
}
    .elevelprogressbar div {
        height: 4px;
        border-radius: 2px;
        box-shadow: 0px 0px 2px 0px rgba(0,255,0,1);
        background: linear-gradient(90deg, rgba(131,252,119,1) 0%, rgba(254,252,64,1) 40px, rgba(254,134,64,1) 120px, rgba(111,64,254,1) 200px);
    }
.elevelprogress span {
    position: absolute;
    left: 0px;
    top: 16px;
    font-size: 11px;
    color: #cceeee;
    text-transform: uppercase;
}

/*Unique buttons for going to the turns with status on them (overriding standard buttons)*/
.eplaybutton {
    margin-top: 8px !important;
    font-size: 16px !important;
    padding: 10px !important;
    line-height: 32px !important;
    text-align: left !important;
    min-width: 120px !important;
    text-transform: uppercase;
    font-family: Oxanium;
    color: #fff;
}

/*consider hover:none instead*/
@media screen and (max-width: 600px) { 
    #eaccountstatus {
        transform: scale(0.7);
        margin: -24px 0 0 -35px;
        width:50px;
        height: 50px;
    }
}





.estartfeed {
    width: 620px;
    margin: 0 0 0 80px;
    color: #666;
    height: 130px;
}
#estartfeedpic {
    float: left;
    margin: 0 20px 0 0px;
    width: 60px;
    height: 60px;    
    border-radius: 5px;
}
.eshowfeed {
    width: 100px;
    float: right;
    display: none;
}
    .eshowfeed div {
        cursor: pointer;
    }
    .eshowfeed div:hover {
        cursor: pointer;
            color: #00ff00;
    }
.efeedmessage {
    text-overflow:ellipsis;
}
.efeedmessage img {
    max-width: 500px;
    max-height: 500px;
}
.ethreadlink, .eignorepost, .eunignorepost {
    text-transform: uppercase;
    color: #666;
    font-size: 11px;
}
    .ethreadlink a {
        color: #666;
    }
.eshowsel {
    font-weight: bold;
    color: #00ff00;
}
#efeed textarea {
    background-color: #666;
    border: solid 1px #555;
    color: #fff;
    padding: 10px;
    overflow: hidden;
}
.eunfocused {
    color: #999 !important;
    cursor: pointer;
}
.eactivityactions a {
    float: right;
    display:block;
    font-size: 11px;
    width: 90px;
    text-align: center;
    background-color: #ccc;    
    margin: 0 0 5px 5px;
    cursor: pointer;
    line-height: 24px;
    text-transform: uppercase;
}

#efeed {
    /*background-color: #000;*/
}
    #efeed a {
        color:#569999 !important;
    }
.efeedline {
    padding: 10px;
    border-bottom: solid 1px #444;
}


.ereply {
    border: solid 1px #444;
    background-color: #333;
    padding: 10px;
    margin: 10px 0 0 0;
}
.ehider {
    display: none;
}
.eignored {
    display: none;
}
.ehidecount, .ehidereplies, .elongthread {
    color: #569999 !important;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 11px;
}
.ehidereplies {
    display: none;
}
.etimeago {
    color: #999;
    font-size: 11px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
}

.efeedtitle {
    font-weight: bold;
    font-size: 14px;
}
.eprivatetitle {
    color: #ff6600;
}
.eprivateme {
    color: yellow !important;
}
.efeedtarget {

}
.ereplies {
    margin: 10px 0 0 0;
}
.efeedactions {
    font-size: 11px;
    text-transform: uppercase;
}
.efeedactions textarea {font-size: 13px; }
.etargetaccount {
    text-transform: capitalize;
}
.elike {
    cursor: pointer;
}
.elikecount span, .ereplylikecount span {
    color: #569999;
}
.elikecount, .ereplylikecount {
    font-size: 11px;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: bold;
}
.ereplylikecount {
    padding: 5px 0 0 0;
    margin: 10px 0 0 0;
    border-top: solid 1px #555;
    font-weight: normal;

}
#ethread {
    background-color: #222;
}
.efromuser {
    color: #ffd800;
    font-weight: bold;
}
.eactsum {
    padding: 20px;
    border-bottom: solid 1px #444;
    cursor: pointer;
}
    .eactsum:hover {
        background-color: #444;
    }
.esumtitle {
    font-size: 16px;
    margin: 0 0px 10px 0;
}
.esumtitle span {
    color: #569999;
    text-transform: capitalize;
}
.esumbody {
    padding: 0 0 0 20px;
    font-size: 12px;
    color: #ccc;
}
    .esumbody span {
        color: #569999;
        text-transform: capitalize;
    }
.esumreplycount {
    font-size: 11px;
    text-transform: uppercase;
    float:right;
    width: 80px;
}
.eshowmore {
    color: #569999;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 11px;
}
.eeditpost, .esaveedit {
    color: #569999;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 11px;
    float: right;
}
.editarea {
    width: 98%;
}

.etargetcategory {
    width: 220px;
    float: left;
    padding: 5px;
    cursor: pointer;
    font-size: 11px;
    text-transform: uppercase;
    overflow: hidden;
    float: left;
}

.ecategorylist tr {
    cursor: pointer;
}

.ecategorylist tr:hover {
    background-color: #666;  
}

#PageControls {
    text-align: right;
    padding: 20px;
    font-size: 11px;
}
#PageControls a {
    display: inline-block;
    border-radius: 5px;
    text-align: center;
    width: 30px;
    height: 20px;
    line-height: 20px;
    cursor: pointer;   
    color: #cceeee !important;
}
#PageControls a:hover {
    background-color: #333 !important;  
}
#PageControls a.selected {
    background-color: #111;  
}



.activitytext {
    background-color: #111;
    font-size: 12px;
    line-height: 20px;
    border-radius: 10px;
    padding: 5px;
    color: #ccc;
    width: calc(100% - 35px);
    outline: none;
    white-space: pre-wrap;
    text-transform: none !important;
}

    .activitytext[placeholder]:empty:before {
        content: attr(placeholder);
        color: #555;
    }

.activitysend {
    width: 30px;
    float: right;
    font-size: 26px;
    padding: 7px 5px 0 5px;    
    cursor: pointer;
    color: rgba(68,80,80,1);
    text-shadow: 0px 2px 7px 0px rgba(0,0,0,0.75);
}



/*Slightly different styles on the account activity feed*/
#eaccountfeed textarea {
    background-color: #444;
    border: solid 1px #555;
    color: #fff;
    padding: 10px;
    overflow: hidden;
}

.eaccountfeedline {
    margin: 10px 0 0 0;
    padding: 10px 0 0 0;
    border-top: solid 1px #222;
}

.ewritereply {
    cursor: pointer;
}

.eaccountfeedtitle {
    text-transform: capitalize;
    font-size: 14px;
    margin: 0 0 5px 0;
    color: #569999;
    display: none;
}

.ereply {
    background-color: transparent;
    border: solid 1px #111;
    border-radius: 5px;
    background-image: url(/img/ui/25percentblack.png);
    margin: 0 0 5px 10px;
    overflow: hidden;
}#eadmin {
    background-color: #333;
    border: solid 1px #444;
    padding: 10px;
}

.widedoc h3 {
    padding: 10px 0 10px 0;
}

#eanalysisinfo {
    position: fixed;
    bottom: 0px;
    right: 0px;
    /*border-top: 1px solid #999;*/
    z-index: 100;
}

#eanalysisindepth td {
    border: solid 1px #444;
    padding: 5px;
}#evgapassistant {
    z-index: 8;
}

#eassistant, #eassistanthalo, #elight {
    position: fixed;
    width: 80px;
    height: 80px;
    right: -10px;
    bottom: 10px;
    cursor: pointer;
}

#eassistanthalo {
    border-radius: 32px;
    box-shadow: 0px 0px 32px 10px yellow, 0px 0px 32px 10px yellow inset;
    animation: speaking 1s ease infinite alternate;
}
#elight {    
    z-index: 10000;
    pointer-events: none;
}

    #elight::before, #elight.yellowglow::after {
        content: "\f25a";
        font-family: "Font Awesome 6 Free";
        display: block;
        position: absolute;
        font-size: 40px;
        left: 12px;
        top: 12px;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        font-weight: 900;
        color: #ffffff;
        -webkit-font-smoothing: antialiased;
        text-align: center;
        pointer-events: none;
    }

    #elight.yellowglow::before, #elight.yellowglow::after {
        content: "\f111";
        left: 0px;
        top: 0px;
    }

    #elight.yellowglow::before {
        animation: yellowglowpulse 0.8s ease infinite alternate;
        color: rgba(255, 255, 0, 0.15);
    }

    #elight.yellowglow::after {
        animation: yellowglowpulse 0.8s 0.4s ease infinite alternate;
        color: rgba(255, 150, 50, 0.15);
    }

    #elight.yellowglow.biglight::before {
        animation: yellowglowpulsebig 0.8s ease infinite alternate;
    }

    #elight.yellowglow.biglight::after {
        animation: yellowglowpulsebig 0.8s 0.4s ease infinite alternate;
    }

    @keyframes yellowglowpulse {
        from {
            transform: scale(0.3);
        }

        to {
            transform: scale(2);
        }
    }
    @keyframes yellowglowpulsebig {
        from {
            transform: scale(0.3);
        }

        to {
            transform: scale(2);
        }
    }

@keyframes speaking {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.5;
    }
}
#scriptoverlay { width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 1000; cursor: pointer;}
/*@keyframes showtap {
    0% {
        opacity: 0.5;
        transform: scale(0.01,0.01);
    }

    100% {
        background: none;
        transform: scale(1,1);
        opacity: 0;
    }
}

.press::after {
    width: 100px;
    height: 100px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: showtap 1s;
    opacity: 0;
}*/
#eassistant img {
    width: 80px;
    height: 80px;
}

#eawin {
    position:fixed;
    background-color: #000;
    border-radius: 10px;
    right: 30px;
    bottom: 30px;
    z-index: 12;
    border-style:solid;
    border-width:medium;
    border-color:rgba(120,120,120,0.5);
    color: #fff;
    padding: 10px;
    overflow: hidden;
    width: 70%;
    height: 80%;
}
/*@media (min-width: 1024px) {
    #eawin { width: 400px; height: 400px; }
}*/


    #eawin b {
        color: #6bff36;
    }

    #eawin h1 {
        font-size: 20px !important;
        line-height: 26px;
        margin: 0 0 10px 0 !important;
        padding: 0 !important;
    }

    #eawin img {
        width: 140px;
        height: 140px;
    }

    #eawin .assistant-smallpic {
        width: 70px;
        height: 70px;
    }

    #eawin [data-topic] {
        color: cyan;
        cursor: pointer;
    }

    #eawin a {
        color: orange;
        cursor: pointer;
    }

    /*#ebacktotoc, #etutclose, #ebacktotut {
        float: right;
        font-size: 11px;
        text-transform: uppercase;
        padding: 0 0 0 20px;
        color: cyan;
        cursor: pointer;
    }*/

#ebacktotoc::before, #etutclose::before, #ebacktotut::before, #eifacehelp::before {
    float: right;
    width: 30px;
    height: 30px;
    /*border: 1px solid #fff;*/
}
#ebacktotoc::before, #etutclose::before, #ebacktotut::before, #eifacehelp::before {
    content: "";
    font-family: "Font Awesome 6 Free";
    display: block;
    position: relative;
    left: 0;
    top: 0;
    width: 30px;
    line-height: 30px;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-weight: 900;
    color: #00ffff;
    -webkit-font-smoothing: antialiased;
    text-align: center;
}
#etutclose::before {
    content: "\f00d";
    /*right: 100px;*/
}
#ebacktotoc::before {
    content: "\f015";
    /*right: 140px;*/
}
#ebacktotut::before {
    content: "\f075";
    /*right: 180px;*/
}
#eifacehelp::before {
    content: "\f059";
}
#TipsGiven li {
    margin-top: 10px;
}
.tiptext { font-size: 11px; padding: 0 0 10px 0;}
/*OLD STYLES*/
#trainer {
    position: fixed;
    width: 64px;
    height: 90px;
    right: 10px;
    bottom: 0px;
    z-index: 1000;
    cursor: pointer;
    background-repeat: no-repeat;
}

    .startButtonInTaskWindow {
        font-size: medium;
        left: 15px;
        position: absolute;
        bottom: 60px;
        margin: 0px 0px 0px 0px;
        padding: 0px 0px 0px 0px;
    }



    #trainer.taskIncomplete {
        background-image: url("https://mobile.planets.nu/img/trainers/Paranoid-android-Mini.png");
    }

    #trainer.taskComplete {
        background-image: url("https://mobile.planets.nu/img/trainers/Paranoid-android-Mini-glow.png");
        bottom: 11px;
    }

    #trainerWindow {
        position: fixed;
        width: 400px;
        height: 400px;
        background-color: #000;
        border-radius: 10px;
        right: 40px;
        bottom: 30px;
        z-index: 990;
        border-style: solid;
        border-width: medium;
        border-color: rgba(120,120,120,0.5);
        color: #fff;
    }

    #infoWindow {
        display: none;
        position: fixed;
        width: 300px;
        height: 60px;
        background-color: #000;
        border-radius: 10px;
        right: 40px;
        bottom: 50px;
        z-index: 990;
        border-style: solid;
        border-width: medium;
        border-color: rgba(120,120,120,0.5);
    }

    #trainer.disabled {
        background-image: url("img/trainers/Paranoid android Mini Disabled.png")
    }

    .TaskOK {
        display: block;
        width: 40px;
        line-height: 20px;
        text-align: center;
        border-radius: 5px;
        background-color: #666;
        color: #fff;
        margin: 10px 0 0 0;
        cursor: pointer;
    }

    .taskWindowImageDisplay {
        float: right;
        margin: 0 0 10px 10px;
        width: 140px;
        height: 140px;
        border-style: solid;
        border-width: medium;
        border-color: rgba(120,120,120,0.5);
    }

    .taskWindowImage {
        position: absolute;
        width: 140px;
        height: 140px;
        display: none;
        right: 10px;
        top: 70px;
    }

    #trainerWrench {
        position: fixed;
        width: 48px;
        height: 48px;
        background-image: url("img/trainers/Repair.png");
        right: 15px;
        top: 140px;
        z-index: 1000;
    }


    #CloseAssist {
        z-index: 1100;
        right: 5px;
        top: 5px;
        position: absolute;
    }

    #tasktitle {
        font-weight: bold;
        font-size: medium;
    }

    .taskbodywithpic {
        font-size: small;
    }

    .taskbodyfull {
        font-size: 12px;
    }

        .taskbodyfull b, .taskbodywithpic b {
            font-weight: normal;
            color: #00aa00;
        }

    #infoText {
        color: #F0F0F0;
        font-size: medium;
        font-family: Arial;
        margin: 10px 10px 10px 10px;
    }

    #tutorialText {
        color: #F0F0F0;
        font-family: Arial;
        margin: 10px 10px 10px 10px;
    }

    .closeButton {
        right: 50px;
        position: absolute;
        bottom: 12px;
    }

    .tasknum {
        font-size: 11px;
        left: 265px;
        position: absolute;
        bottom: 12px;
        margin: 0px 0px 0px 0px;
        padding: 0px 0px 0px 0px;
    }

    .showHistory {
        font-size: 11px;
        left: 20px;
        position: absolute;
        bottom: 12px;
        margin: 0px 0px 0px 0px;
        padding: 0px 0px 0px 0px;
    }

    #assistcrumb {
        font-size: 11px;
        left: 20px;
        position: absolute;
        bottom: 12px;
        margin: 0px 0px 0px 0px;
        padding: 0px 0px 0px 0px;
    }

    .showDoc {
        font-size: 11px;
        left: 100px;
        position: absolute;
        bottom: 12px;
        margin: 0px 0px 0px 0px;
        padding: 0px 0px 0px 0px;
    }

    .disableButton {
        font-size: medium;
        left: 100px;
        position: absolute;
        bottom: 12px;
        margin: 0px 0px 0px 0px;
        padding: 0px 0px 0px 0px;
    }


    .taskTitle:hover {
        -webkit-stroke-width: 5.3px;
        -webkit-stroke-color: #FFFFFF;
        -webkit-fill-color: #FFFFFF;
        text-shadow: 1px 0px 20px yellow;
        -webkit-transition: width 0.3s; /*Safari & Chrome*/
        transition: width 0.3s;
        -moz-transition: width 0.3s; /* Firefox 4 */
        -o-transition: width 0.3s; /* Opera */
        cursor: pointer;
    }

    .showHistory:hover {
        -webkit-stroke-width: 5.3px;
        -webkit-stroke-color: #FFFFFF;
        -webkit-fill-color: #FFFFFF;
        text-shadow: 1px 0px 20px yellow;
        -webkit-transition: width 0.3s; /*Safari & Chrome*/
        transition: width 0.3s;
        -moz-transition: width 0.3s; /* Firefox 4 */
        -o-transition: width 0.3s; /* Opera */
        cursor: pointer;
    }

    .showDoc:hover {
        -webkit-stroke-width: 5.3px;
        -webkit-stroke-color: #FFFFFF;
        -webkit-fill-color: #FFFFFF;
        text-shadow: 1px 0px 20px yellow;
        -webkit-transition: width 0.3s; /*Safari & Chrome*/
        transition: width 0.3s;
        -moz-transition: width 0.3s; /* Firefox 4 */
        -o-transition: width 0.3s; /* Opera */
        cursor: pointer;
    }

    .closeButton:hover {
        -webkit-stroke-width: 5.3px;
        -webkit-stroke-color: #FFFFFF;
        -webkit-fill-color: #FFFFFF;
        text-shadow: 1px 0px 20px yellow;
        -webkit-transition: width 0.3s; /*Safari & Chrome*/
        transition: width 0.3s;
        -moz-transition: width 0.3s; /* Firefox 4 */
        -o-transition: width 0.3s; /* Opera */
        cursor: pointer;
    }

    .nextButton, .prevButton {
        cursor: pointer;
    }

        .nextButton:hover {
            -webkit-stroke-width: 5.3px;
            -webkit-stroke-color: #FFFFFF;
            -webkit-fill-color: #FFFFFF;
            text-shadow: 1px 0px 20px yellow;
            -webkit-transition: width 0.3s; /*Safari & Chrome*/
            transition: width 0.3s;
            -moz-transition: width 0.3s; /* Firefox 4 */
            -o-transition: width 0.3s; /* Opera */
            cursor: pointer;
        }

        .prevButton:hover {
            -webkit-stroke-width: 5.3px;
            -webkit-stroke-color: #FFFFFF;
            -webkit-fill-color: #FFFFFF;
            text-shadow: 1px 0px 20px yellow;
            -webkit-transition: width 0.3s; /*Safari & Chrome*/
            transition: width 0.3s;
            -moz-transition: width 0.3s; /* Firefox 4 */
            -o-transition: width 0.3s; /* Opera */
            cursor: pointer;
        }

    .prevButtonGrey {
        color: #505050;
    }

    .nextButtonGrey {
        color: #505050;
    }

    .hoverClass:hover {
        cursor: pointer;
        -webkit-stroke-width: 5.3px;
        -webkit-stroke-color: #FFFFFF;
        -webkit-fill-color: #FFFFFF;
        text-shadow: 1px 0px 20px yellow;
        -webkit-transition: width 0.3s; /*Safari & Chrome*/
        transition: width 0.3s;
        -moz-transition: width 0.3s; /* Firefox 4 */
        -o-transition: width 0.3s; /* Opera */
    }

    .prevButtonGrey:hover {
        cursor: pointer;
        -webkit-stroke-width: 5.3px;
        -webkit-stroke-color: #FFFFFF;
        -webkit-fill-color: #FFFFFF;
        text-shadow: 1px 0px 20px yellow;
        -webkit-transition: width 0.3s; /*Safari & Chrome*/
        transition: width 0.3s;
        -moz-transition: width 0.3s; /* Firefox 4 */
        -o-transition: width 0.3s; /* Opera */
    }

    .taskNumbering {
        right: 50px;
        position: absolute;
    }

/*.hintText {
    width: calc(100% - 40px);
    position: absolute;
    bottom: 0px px;
    padding: 10px;
    background-color: #000;
    z-index: 200;
    text-align: center;
    height: 35px;
    margin: 10px;
    border: 1px #fff solid;
    border-radius: 10px;
    box-shadow: 0px 0px 5px 5px yellow;
}*/

/*.hintText {
    width: calc(100% - 40px);
    position: absolute;
    bottom: 0px;
    padding: 10px 10px 0px 10px;
    background-color: #000;
    z-index: 200;
    text-align: center;
    height: 55px;
    margin: 10px 10px 0px 10px;
    border: 1px #fff solid;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: 0px 0px 5px 5px #aa0;
    background-color: #111;
}*/

.hintText {
    color: #fff;
    position: absolute;
    padding: 5px;
    border-radius: 10px;
    z-index: 200;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
    animation: 0.3s hintTextGrow;
    font-family: 'Oxanium';
    font-size: 18px;
    text-shadow: 0 0 5px yellow;
}

@keyframes hintTextGrow {
    from {
        transform: scale(0.001);
    }
    to {
        transform: scale(1);
    }
}
/*JOSHUA - ONLY VERY SLIGHTLY MODIFIED ON .CodeMirror and .CodeMirror-scroll*/

/* BASICS */

.CodeMirror {
    /* Set height, width, borders, and global font properties here */
    font-family: monospace;
    border: dotted 1px #999;
    _position: relative; /* IE6 hack */
    overflow-y: auto;
    line-height: 1em;
    overflow-x: scroll;
}

.CodeMirror-scroll {
    /* Set scrolling behaviour here */
    overflow: auto;
}

/* PADDING */

.CodeMirror-lines {
    padding: 4px 0; /* Vertical padding around content */
}

.CodeMirror pre {
    padding: 0 4px; /* Horizontal padding of content */
}

.CodeMirror-scrollbar-filler {
    background-color: white; /* The little square between H and V scrollbars */
}

/* GUTTER */

.CodeMirror-gutters {
    border-right: 1px solid #ddd;
    background-color: #f7f7f7;
}

.CodeMirror-linenumbers {
}

.CodeMirror-linenumber {
    padding: 0 3px 0 5px;
    min-width: 20px;
    text-align: right;
    color: #999;
}

/* CURSOR */

.CodeMirror div.CodeMirror-cursor {
    border-left: 1px solid black;
}
/* Shown when moving in bi-directional text */
.CodeMirror div.CodeMirror-secondarycursor {
    border-left: 1px solid silver;
}

.CodeMirror.cm-keymap-fat-cursor div.CodeMirror-cursor {
    width: auto;
    border: 0;
    background: transparent;
    background: rgba(0, 200, 0, .4);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#6600c800, endColorstr=#4c00c800);
}
    /* Kludge to turn off filter in ie9+, which also accepts rgba */
    .CodeMirror.cm-keymap-fat-cursor div.CodeMirror-cursor:not(#nonsense_id) {
        filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    }
/* Can style cursor different in overwrite (non-insert) mode */
.CodeMirror div.CodeMirror-cursor.CodeMirror-overwrite {
}

/* DEFAULT THEME */

.cm-s-default .cm-keyword {
    color: #708;
}

.cm-s-default .cm-atom {
    color: #219;
}

.cm-s-default .cm-number {
    color: #164;
}

.cm-s-default .cm-def {
    color: #00f;
}

.cm-s-default .cm-variable {
    color: black;
}

.cm-s-default .cm-variable-2 {
    color: #05a;
}

.cm-s-default .cm-variable-3 {
    color: #085;
}

.cm-s-default .cm-property {
    color: black;
}

.cm-s-default .cm-operator {
    color: black;
}

.cm-s-default .cm-comment {
    color: #a50;
}

.cm-s-default .cm-string {
    color: #a11;
}

.cm-s-default .cm-string-2 {
    color: #f50;
}

.cm-s-default .cm-meta {
    color: #555;
}

.cm-s-default .cm-error {
    color: #f00;
}

.cm-s-default .cm-qualifier {
    color: #555;
}

.cm-s-default .cm-builtin {
    color: #30a;
}

.cm-s-default .cm-bracket {
    color: #997;
}

.cm-s-default .cm-tag {
    color: #170;
}

.cm-s-default .cm-attribute {
    color: #00c;
}

.cm-s-default .cm-header {
    color: blue;
}

.cm-s-default .cm-quote {
    color: #090;
}

.cm-s-default .cm-hr {
    color: #999;
}

.cm-s-default .cm-link {
    color: #00c;
}

.cm-negative {
    color: #d44;
}

.cm-positive {
    color: #292;
}

.cm-header, .cm-strong {
    font-weight: bold;
}

.cm-em {
    font-style: italic;
}

.cm-emstrong {
    font-style: italic;
    font-weight: bold;
}

.cm-link {
    text-decoration: underline;
}

.cm-invalidchar {
    color: #f00;
}

div.CodeMirror span.CodeMirror-matchingbracket {
    color: #0f0;
}

div.CodeMirror span.CodeMirror-nonmatchingbracket {
    color: #f22;
}

/* STOP */

/* The rest of this file contains styles related to the mechanics of
   the editor. You probably shouldn't touch them. */

.CodeMirror {
    line-height: 1;
    position: relative;
    overflow: hidden;
}

.CodeMirror-scroll {
    /* 30px is the magic margin used to hide the element's real scrollbars */
    /* See overflow: hidden in .CodeMirror, and the paddings in .CodeMirror-sizer */
    margin-bottom: -30px;
    margin-right: -30px;
    padding-bottom: 30px;
    padding-right: 30px;
    height: 100%;
    outline: none; /* Prevent dragging from highlighting the element */
    position: relative;
}

.CodeMirror-sizer {
    position: relative;
}

/* The fake, visible scrollbars. Used to force redraw during scrolling
   before actuall scrolling happens, thus preventing shaking and
   flickering artifacts. */
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler {
    position: absolute;
    z-index: 6;
    display: none;
}

.CodeMirror-vscrollbar {
    right: 0;
    top: 0;
    overflow-x: hidden;
    overflow-y: scroll;
}

.CodeMirror-hscrollbar {
    bottom: 0;
    left: 0;
    overflow-y: hidden;
    overflow-x: scroll;
}

.CodeMirror-scrollbar-filler {
    right: 0;
    bottom: 0;
    z-index: 6;
}

.CodeMirror-gutters {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    z-index: 3;
}

.CodeMirror-gutter {
    height: 100%;
    display: inline-block;
    /* Hack to make IE7 behave */
    *zoom: 1;
    *display: inline;
}

.CodeMirror-gutter-elt {
    position: absolute;
    cursor: default;
    z-index: 4;
}

.CodeMirror-lines {
    cursor: text;
}

.CodeMirror pre {
    /* Reset some styles that the rest of the page might have set */
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    border-width: 0;
    background: transparent;
    font-family: inherit;
    font-size: inherit;
    margin: 0;
    white-space: pre;
    word-wrap: normal;
    line-height: inherit;
    color: inherit;
    z-index: 2;
    position: relative;
    overflow: visible;
}

.CodeMirror-wrap pre {
    word-wrap: break-word;
    white-space: pre-wrap;
    word-break: normal;
}

.CodeMirror-linebackground {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
}

.CodeMirror-linewidget {
    position: relative;
    z-index: 2;
    overflow: auto;
}

.CodeMirror-wrap .CodeMirror-scroll {
    overflow-x: hidden;
}

.CodeMirror-measure {
    position: absolute;
    width: 100%;
    height: 0px;
    overflow: hidden;
    visibility: hidden;
}

    .CodeMirror-measure pre {
        position: static;
    }

.CodeMirror div.CodeMirror-cursor {
    position: absolute;
    visibility: hidden;
    border-right: none;
    width: 0;
}

.CodeMirror-focused div.CodeMirror-cursor {
    visibility: visible;
}

.CodeMirror-selected {
    background: #d9d9d9;
}

.CodeMirror-focused .CodeMirror-selected {
    background: #d7d4f0;
}

.cm-searching {
    background: #ffa;
    background: rgba(255, 255, 0, .4);
}

/* IE7 hack to prevent it from returning funny offsetTops on the spans */
.CodeMirror span {
    *vertical-align: text-bottom;
}

@media print {
    /* Hide the cursor when printing */
    .CodeMirror div.CodeMirror-cursor {
        visibility: hidden;
    }
}


.CodeMirror-foldmarker {
    color: blue;
    text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
    font-family: arial;
    line-height: .3;
    cursor: pointer;
}

.CodeMirror-foldgutter {
    width: .7em;
}

.CodeMirror-foldgutter-open,
.CodeMirror-foldgutter-folded {
    color: #555;
    cursor: pointer;
}

    .CodeMirror-foldgutter-open:after {
        content: "\25BE";
    }

    .CodeMirror-foldgutter-folded:after {
        content: "\25B8";
    }
.moreTitleIcon {
    font-size: 14px;
    padding: 0 0.75ex;
}

.iconInline {
    width: 14px;
    height: 14px;
    font-size: 10px;
    line-height: 14px;
    text-align: center;
    display: inline-block;
    margin: 0 1ex;
}

.iconButton {
    width: 40px;
    height: 40px;
    font-size: 18px;
    line-height: 40px;
    text-align: center;
    display: inline-block;
}

.iconEncircle {
    border: solid 1px;
    border-radius: 50%;
}

.errorUI {
    display: grid;

    place-items: center;

    margin: 0 2em 2em 2em;
    height: calc(100% - 40px);
}

    .errorUI .warningSign {
        background-color: #ff6;
        color: black;
        text-align: center;
        border-radius: 50%;
    }

@media (orientation: portrait) {
    .errorUI {
        grid-template-columns: auto;
        text-align: center;
        padding: 0 1em;
    }

        .errorUI .warningSign {
            width: 40vw;
            height: 40vw;
            line-height: 40vw;

            font-size: 32vw;
        }
}

@media (orientation: landscape) {
    .errorUI {
        grid-template-columns: auto auto;
        column-gap: 2em;
    }

        .errorUI .warningSign {
            width: 40vh;
            height: 40vh;
            line-height: 40vh;

            font-size: 32vh;
        }
}

.help p {
    max-width: unset !important;  /* override #MoreScreen; we reaaalllllly should be a different screen */
}

.bottomButton {
    position: absolute;
    bottom: 8px;
    /* set left or right in JS */
    height: 45px;
    width: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    background-color: black;
    font-size: 14px;
    color: cyan;
}

    .bottomButton.disabled {
        color: #666;
    }

    .bottombuttonnormal {
        color: #666;
    }

    .bottombuttonselected {
        color: #0ff;
    }

.bottomLabel {
    position: absolute;
    bottom: 8px;
    /* set left or right in JS */

    height: 45px;
    line-height: 45px;
    text-align: center;

    font-size: 14px;
    color: cyan;
}
.leftBubble {
    left: 0;
    top: 0;
    position: absolute;
    border: 1px solid grey;
    border-radius: 50%;
    font-size: 10px;
    width: 15px;
    height: 15px;
    display: inline-block;
    line-height: 15px;
    background: black;
    text-align: center;
}

.bigLeftBubble {
    left: 5px;
    top: 5px;
}

.rightBubble {
    right: 0;
    top: 0;
    position: absolute;
    font-size: 10px;
    width: 15px;
    height: 15px;
    display: inline-block;
    line-height: 15px;
    background: black;
    border-radius: 50%;
    color: green;
}

.bigRightBubble {
    right: 5px;
    top: 5px;
}

.bubble3digit {
    top: -5px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
}
.rightBubble.bubble3digit {
    right: -5px;
}
.leftBubble.bubble3digit {
    right: -5px;
}

.subText {
    position: absolute;
    bottom: 1ex;
    font-size: 10px;
    line-height: 10px;
}

.narrow {
    transform: scale(0.5, 1);
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    } 
}

.portalSpin {
    animation: spin 180s linear infinite;
}

.rulesetdesc, .rulesetstatic {
    border: solid 3px #666;
    padding: 10px;
    color: #999;
    margin: 0 0 10px 0;
    position: relative;
}

.rulesetdesc {
    cursor: pointer;
}

    .rulesetdesc:hover {
        background-color: #444;
    }

    .rulesetdesc span, .rulesetstatic.rselect span {
        display: block;
        color: cyan;
        font-size: 16px;
        margin: 0 0 5px 0;
    }

.rulesetstatic span {
    display: block;
    font-size: 16px;
    margin: 0 0 5px 0;
}

.rselect {
    border: solid 3px #33ff33;
}
@font-face {
    font-family: Oxanium;
    src: url('/img/fonts/OxaniumRegular-JRRnn.ttf') format('truetype');
}

@font-face {
    font-family: Roboto;
    src: url('/img/fonts/Roboto-Regular.ttf') format('truetype');
}


body {
    color: #fff;
    font-family: Arial;
    background-color: #000;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background-image: url(/img/ui/starbacking.jpg);
}
#container {
    background-image: url('/img/backgrounds/overthehorizon-opt.jpg');
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
}
#eframe {
    color: #fff;
    font-family: Arial;
    font-size: 13px;
    line-height: 18px;

    background-color: rgba(0, 0, 0, .5);
    min-height: 100vh;
    padding-bottom: 100px;
}
#etopbar {
    font-family: Oxanium;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 13;
    height: 60px;
    border-bottom: solid 1px #333;
    background-color: #111;
    overflow: hidden;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#333333), color-stop(100%,#111111));
    background: rgb(17,17,17);
    background: linear-gradient(0deg, rgba(17,17,17,1) 0%, rgba(34,40,40,1) 100%);
    background: linear-gradient(to bottom, rgba(52,60,60,1) 0, rgba(26,30,30,1) 100%);
    width: 100%;
}
#elogo {
    cursor: pointer;
    float: left;
    margin: -63px 0 0 10px;
}

#eservertime {
    line-height: 60px;
    text-align: right;
    font-size: 20px;
    padding: 0 60px 0 0;
    cursor: pointer;
    user-select: none;
}

    #eservertime::before {
        content: "";
        font-family: "Font Awesome 6 Free";
        display: block;
        position: absolute;
        width: 14px;
        top: -1px;
        right: 25px;
        font-size: 24px;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        font-weight: 900;
        -webkit-font-smoothing: antialiased;
        text-align: center;
        color: #ff9900;
        content: "\f0c9";
        color: rgba(98,120,120,1);
    }

    #eservertime.updateneeded::before {
        content: "";
        font-family: "Font Awesome 6 Free";
        display: block;
        position: absolute;
        width: 14px;
        top: -1px;
        right: 25px;
        font-size: 24px;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        font-weight: 900;
        -webkit-font-smoothing: antialiased;
        text-align: center;
        content: "\f35b";
        color: #ff3333;
    }



/*Emperor text in the top bar*/
#eheader {
    font-size: 20px;
    text-align: center;
    line-height: 20px;
    text-transform: uppercase;
    text-shadow: 2px 2px 2px #666;
    max-width: 500px;
    margin: 10px auto 0 auto;
    color: #fff !important;
}

    #eheader span {
        font-size: 16px;
        display: block;
    }

#eframe a {
    text-decoration: none;
    cursor: pointer;
    color: cyan;
}

    #eframe a:hover {
        text-decoration: none;
    }



.backbutton::before {
    content: "\f060";
    font-family: "Font Awesome 6 Free";
    display: block;
    position: absolute;
    left: 0px;
    top: 15px;
    width: 30px;
    line-height: 30px;
    font-size: 20px;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-weight: 900;
    color: #cceeee;
    -webkit-font-smoothing: antialiased;
    text-align: center;
}   

    #eframemessage {
        display: none;
        position: relative;
        z-index: 3;
        margin: 60px auto -40px auto;
        padding: 10px 10px;
        list-style-type: none;
        max-width: 600px;
        font-size: 14px;
        background-color: #104010;
        border-radius: 5px;
        border: #333 solid 1px;
    }

    #emainmenu {
        position: fixed;
        right: 0px;
        top: 19px;
        width: 60px;
        background-color: #222;
        background: linear-gradient(0deg, rgba(17,17,17,1) 0%, rgba(34,40,40,1) 100%);
        font-family: Oxanium;
        z-index: 10;
        border-bottom-left-radius: 20px;
        border-top-left-radius: 20px;
        display: none;
        overflow: hidden;
    }

        #emainmenu a {
            display: block;
            height: 40px;
            padding: 0px 15px 0px 15px;
            font-size: 12px;
            line-height: 40px;
            cursor: pointer;
            text-align: left;
            border-top: solid 1px #222;
            color: #fff;
            position: relative;
        }

            #emainmenu a span {
                display: none;
            }

            #emainmenu a:hover {
                background: radial-gradient(circle, rgba(17,17,17,1) 0%, rgba(50,60,60,1) 100%);
                background-size: 400px 400px;
                border-top: solid 1px rgba(50,60,60,1);
            }

    @media screen and (min-width: 1600px) {
        #emainmenu a:hover span {
            display: block;
            position: absolute;
            left: -110px;
            width: 100px;
            text-align: right;
            top: 0;
            opacity: 0.5;
        }
    }


    #emainmenu i {
        display: inline-block;
        width: 30px;
        line-height: 40px;
        text-align: center;
        font-size: 16px;
        color: rgba(98,120,120,1);
    }

    #emainmenu .esel {
        background-color: #555;
        background: radial-gradient(circle, rgba(17,17,17,1) 0%, rgba(34,80,80,1) 100%);
        color: #fff;
        background-size: 200px 200px;
        border-top: solid 1px rgba(34,80,80,1);
    }

        #emainmenu .esel i {
            color: #fff;
        }

    #emainmenu.openmenu {
        width: 150px;
        display: block;
        overflow: hidden;
    }

        #emainmenu.openmenu a span {
            display: inline-block;
            padding: 0 0 0 5px;
        }

        #emainmenu.openmenu a:hover span {
            display: inline;
            position: relative;
            left: auto;
            top: auto;
            opacity: 1;
            text-align: left;
            width: auto;
        }

    #esignout {
        /*border-bottom-left-radius: 20px;*/
    }

    #eshowmenu {
        border-top-left-radius: 20px;
    }

    #econtent {
        padding-top: 80px;
    }

    @media screen and (min-width: 800px) {
        #econtent {
            padding-right: 60px;
        }

        #emainmenu {
            display: block;
        }
    }

    .econtentnarrow {
        max-width: 400px !important;
    }

/*Smaller top bar on small screens*/
@media screen and (max-width: 600px) {
    #etopbar {
        position: fixed;
        height: 40px;
    }
    #econtent { 
        padding-top: 60px;
    }
    #eservertime {
        line-height: 40px;
        font-size: 16px;
    }
        #eservertime::before{
            font-size: 20px;
        }
    #elogo {
        margin: -56px 0 0 10px;
    }
        #elogo img {
            width: 150px;
            height: 150px;
        }
    #emainmenu {
        top: 0px;
    }
    .backbutton::before {
        top: 5px;
    }
}

    /*#epush {
    height: 30px;
}
#efooter {
    position: relative;
    z-index: 3;
    height: 30px;
    line-height: 30px;
    border-top: solid 1px #333;
    margin: 10px 0 0 0;
    background-color: #111;
    overflow: hidden;
    display:none;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#333), color-stop(100%,#111));
}
#efootermenu {
    position: relative;
    z-index: 3;
    margin: 0 auto 0 auto;
    padding: 0;
    list-style-type:none;
}
#efootermenu li {
    padding: 0 10px 0 10px;
    font-size: 11px;
    cursor: pointer;
    text-transform:uppercase;
}
    #efootermenu li a {
        color: #fff;
    }

.eviewcontent {
    float:left;
    width: 80%;
}
.esubmenu {
    float: right;
    width: 20%;
}
.elabel {
    float:left;
    width:115px;
    color:#A0A0A0;
}
.elabelvalue {
}

.estandardbutton {
    width: 150px;
    padding: 10px 0 10px 0;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    margin: 0 0 8px 0;
    color: #000;
    clear: right;
}

.esubmenu hr {
    clear: both;
    border: none;
    margin: 15px;
    width: 150px;
    float: right;
}*/
    /*.eclear {
    clear: both;
}*/

    /*.eselect {
    
    height:38px;
    font-size: 14px;
    margin:0 0 10px 0;
    padding:5px;
    width:150px;
}*/



    /*AJAX INDICATOR (NO IMAGES)*/
    #eindi {
        background-image: url(/img/ui/indicator.gif);
        display: none;
        position: absolute;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        z-index: 11;
    }

    /*** SIGN IN FORM AND SIGN UP FORM ***/
    /*.esignform {
    position: relative;
    max-width: 320px;
    margin: 0 auto !important;
}*/
    /*.econtentform p {
    padding: 5px;
    margin: 0;
    clear: both;
}*/
    /*.esignform input[type="checkbox"] {
    margin: 5px 5px 0 0;
}
    .esignform select {
        width: 245px;
    }*/
    /*.econtentbody input[type="text"], .econtentbody input[type="password"] {
    font-size: 16px;
    height: 20px;
    width: 100%;
    height: 35px;
    padding-left: 15px;
    border: none;
    border-radius: 10px;
    margin-bottom: 20px;
    background: #fff;
    outline: none;
    color: #000;
}*/


    /*.esignform input[type="button"] {
    float: right;
}
#esigninstatus { clear: both; padding: 10px; }*/

    /*.esignform label {
    font-size: 12px;
    text-transform: uppercase;
    line-height: 24px;
    margin: 0 0 0 10px;
    color: #999;
}
.esignform label a {
    float:right;
    display: block;
    font-size: 11px;
}*/
    #eselectlang {
        float: right;
        width: auto;
    }

    /*POPUPS*/
    /*.esimplewin {
    position: absolute;
    max-width: 400px;
    border: solid 2px #666;
    color: #fff;
    z-index: 1101;
    border-radius: 5px;
    box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.75);
}
.esimplewin section { margin: 0; }*/

    /*.esimplewin a { color: #00ffff; }
    .esimplewin a:hover {
        color: #33ffff;
        text-decoration: none;
    }
.esimplewintitle {
    background: linear-gradient(to bottom, #444 5%, #333 100%);
    
    font-size: 20px;
    height: 40px;
    line-height: 40px;
    padding: 0 0 0 10px;
    font-family: Arial;
    cursor: move;
    color: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.esimplewinclose {
    height: 40px;
    width: 40px;
    font-weight: bold;
    text-align:center;
    float: right;
    cursor: pointer;
    border-top-right-radius: 10px;
}
    .esimplewinclose:hover {
        background-color: #ff6a00;
    }
.esimplewincontent {
    padding: 20px;
    font-family:Arial;
    font-size: 13px;
    line-height: 18px;
}
    .esimplewincontent form{
        padding: 0 !important;
    }*/
    #eoverlay {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: #000;
        z-index: 1000;
        opacity: 0.3;
        display: none;
    }

    /*.esimplewinbtn
{
    padding: 5px;
    background-color: #555;
    margin: 5px;
    display: block;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
}
.esimplewinbtn:hover
{
    background-color: #666;
}*/

    #eappnotification {
        width: 300px;
        border-radius: 10px;
        position: fixed;
        margin: 0 auto;
        background-image: linear-gradient(to bottom, #668899, #223333);
        border: 2px solid #444;
        top: 2px;
        left: calc(50% - 150px);
        z-index: 10000;
        padding: 3px;
        color: #ffffff;
    }


    /*.esimplewin span
{
    padding: 0 5px 0 5px;
    background-color: #ccc;
    margin: 0 5px 0 0;
    display: block;
    float: left;
    width: 80px;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
}*/

    /*COMMON STYLES*/
    /*.evaluelist {
    font-size: 14px;
    margin: 0;
    padding: 0;
    list-style-type:none;
    text-align: right;
}
    .evaluelist li {
        clear: left;
        margin: 0 0 10px 0;
    }
    .evaluelist label {
        text-align: left;
        display: block;
        float: left;
        color: #666;
        min-width: 115px;
    }*/


    /*.elargeinput {    
    border: solid 1px #eee;
    height: 34px;
    font-size: 12px;
    color: #333;
    padding-left: 10px;
    outline: none;
}*/

    /*.elargeselect {
    height:34px;
    font-size: 14px;
    margin:0 0 10px 0;
    padding:5px;
    width:150px;
}
.esmall {
    width:64px !important;
}

.gradbutton {
    border-radius: 10px;
    background-image: linear-gradient(to bottom, #00aacc, #006666);
}
.gradlightbutton {
    border-radius: 10px;
    background-image: linear-gradient(to bottom, #668899, #223333);
}*/


    /* pagination */
    /*#epagination {
    display: inline-block;
    float: right;
    margin: 10px auto;
}
#epagination span, #epagination div{
    background-color: #FFFFFF;
    border-color: #DDDDDD;
    border-image: none;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    line-height: 18px;
    padding: 2px 12px;
    text-decoration: none;
    float:left;
    font-size:11px;
}
    #epagination span:hover, .active {
    background:#EEEEEE!important;
    color: #999999;
    cursor:pointer;
    }
    #epagination span:hover {
    color:#990000
    }*/


    #eecmap canvas {
        background-color: rgba(0,0,0,.75);
    }
/*#GameOverviewLoc 
{
    width: 800px;
    height: 400px;
    z-index:0;
}*/

/*.GameInfoTurn, .GamePlayButton, .GameResignButton, #ehostcontrols
{
    position: absolute;
    text-align:center;
    text-transform:uppercase;

    padding: 5px; 
}

.GameInfoTurn 
{
    right: 20px;
    top: -18px;
    font-size: 13px; 
    background-color: #222;
    border: solid 1px #555;
}*/

/*#ehostcontrols {
    right: 300px;
    top: -18px;
    font-size: 13px; 
    background-color: #222;
    border: solid 1px #555;
}
    #ehostcontrols span {
        padding: 0 5px 0 0;
        color: cyan;
        cursor: pointer;
    }

@media screen and (max-width: 600px) {

    #ehostcontrols {
        right: 20px;
        top: -52px;
    }

}*/

    /*.GamePlayButton, .GameResignButton {
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
        background-color: #444;
        border: solid 2px #555;
        right: -74px;
        width: 60px;
        cursor: pointer;
    }

        .GamePlayButton:hover, .GameResignButton:hover {
            background-color: #555;
        }

    .GamePlayButton {
        top: 90px;
        font-weight: bold;
        color: #00ffff;
        font-size: 16px;
        line-height: 30px;
    }

    .GameResignButton {
        top: 140px;
        color: #cc0000;
        font-size: 12px;
        line-height: 16px;
    }*/

    /*#GameContent {
        position: relative;
        margin: 50px 0 0 0;
        margin-top: 50px;
        margin-bottom: 50px;
        max-width: 800px;
    }*/

    #egamelocmap {
        position: absolute;
        z-index: 1;
        left: -300px;
        top: -100px;
    }

#egameinfo {
    z-index: 3;
    position: relative;
}

        #egameinfo:before {
            content: "";
            position: absolute;
            right: 100%;
            top: 50px;
            width: 0;
            height: 0;
            border-top: 30px solid transparent;
            border-right: 60px solid #555;
            border-bottom: 30px solid transparent;
            z-index: 3;
        }

    /*#egametabs #etabs li {
        width: 80px;
    }*/


    #egamecircle {
        z-index: 2;
        position: absolute;
        top: 68px;
        left: -75px;
        width: 20px;
        height: 20px;
        border-radius: 20px;
        border: solid 2px #00ff00;
    }



    /*.GameInfoTitle {
        font-size: 22px;
        line-height: 26px;
        margin: 0 0 5px 0;
        padding: 20px;
    }*/

    /*.SectorDescription {
        font-size: 14px;
        line-height: 20px;
        padding: 0 20px 20px 20px;
    }
    .GameInfoSubTitle {
        font-size: 14px;
        line-height: 20px;
    }

        .SectorDescription [data-help] {
            cursor: help;
        }

    #egameinfoMenu {
        margin: 0;
        padding: 0;
        position: absolute;
        bottom: 10px;
    }

        #egameinfoMenu li {
            display: block;
            float: left;
            padding: 10px 20px 10px 20px;
            cursor: pointer;
        }

            #egameinfoMenu li.selected {
                background-color: #999;
                border-radius: 5px;
            }*/

    /*#GamePlayers {
        position: relative;
        top: 40px;
        width: 800px;
        padding: 0 0 100px 0;
        z-index: 1;
        color: #fff;
    }*/

    /*#GameEvents, #GameAllies, #GameScoreData, #GameMilitaryScore, #GamePlanetScore {
        display: none;
        width: 696px;
        background: #444;
        border: solid 2px #555;
        border-radius: 5px;
        padding: 10px;
    }*/

    /*.eplayeractionlink {
        float: right;
        line-height: 40px;
        color: cyan;
        cursor: pointer;
        text-transform: lowercase;
    }*/

    /*#escoredata {
        padding: 20px 10px 20px 10px;
    }

        #GameEvents td, #escoredata th, #escoredata td {
            text-align: left;
            padding: 5px 0 5px 0;
        }*/

    /*#GameMilitaryScore, #GamePlanetScore {
        background-color: #000;
        width: 900px;
    }*/

    /*#GameScoreContent {
        position: relative;
        top: 40px;
        padding: 0 0 100px 0;
        z-index: 1;
        color: #fff;
    }*/

    /*.PlayerPlanets {
        width: 300px;
        float: right;
        font-size: 11px;
        color: #ccc;
        line-height: 20px;
    }

        .PlayerPlanets img {
            width: 16px;
            height: 16px;
            margin: 2px;
            float: left;
        }*/

    .PlayerDisplay .RaceIcon {
        width: 40px;
        height: 40px;
        float: left;
        margin: 0 5px 0 0;
    }

    .PlayerDisplay .CommandShip {
        width: 40px;
        height: 40px;
        margin: 0 5px 0 0;
        float: left;
    }

    .PlayerDisplay {
        border-bottom: solid 1px #333;
        padding: 10px 10px 10px 10px;
    }

    .PlayerStatus00 {
        background: #006600;
        cursor: pointer;
    }

    .PlayerStatus30 {
        background: #111111;
    }

    /*missed turns*/
    .PlayerStatus11 {
        background: #cc6600;
    }

    .PlayerStatus12, .PlayerStatus13, .PlayerStatus14, .PlayerStatus15 {
        background: #660000;
    }

    .PlayerDisplay .PTurnStatus {
        margin: 4px 0 0 0;
        width: 32px;
        height: 32px;
        float: right;
    }

    .PlayerDisplay .PTurnStatusEnhance {
        background-color: #222;
        border-radius: 16px;
    }

    .PlayerDisplay .FloatClear {
        clear: both;
    }

    .PlayerDisplayContent {
        font-size: 14px;
        line-height: 18px;
        color: #fff;
        padding: 5px;
        display: block;
        float: left;
        margin: 0 5px 0 0;
        width: 270px;
        overflow: hidden;
        height: 40px;
        text-transform: uppercase;
    }

        .PlayerDisplayContent b {
            text-transform: uppercase;
            display: inline-block;
            overflow: hidden;
            max-width: 200px;
        }

    .PlayerDisplay span {
        font-weight: normal;
        font-size: 11px;
        text-transform: uppercase;
        display: block;
        color: #ccc;
        white-space: nowrap;
    }

    /*#ScoreDisplay {
        left: 4000px;
        top: 1500px;
        width: 900px;
        z-index: 5;
    }*/



    /*#LeaderBoardContent {
        border-radius: 10px;
        margin: 10px 10px 10px 10px;
        background-color: #222222;
        border-color: rgba(0,0,0,1);
        border-style: solid;
        border-width: thin;
    }

    #NuLeaderBoardContainer {
        left: 100px;
        top: 100px;
        width: 1000px;
        height: 7660px;
        border-radius: 10px;
        background-color: #222222;
    }

    #NuProfileContainer {
        left: 100px;
        top: 100px;
        width: 500px;
        background-repeat: repeat;
        border-radius: 10px;
        background-image: url(/img/ui/25percentblack.png);
    }

    #NuProfileHistoryContainer {
        left: 1700px;
        top: 100px;
        width: 500px;
        border-radius: 10px;
        background-repeat: repeat;
        background-image: url(/img/ui/25percentblack.png);
    }

    #ScoreMenu {
        padding: 0;
        margin: 20px auto 20px 80px;
        list-style-type: none;
        font-size: 20px;
    }

        #ScoreMenu li {
            display: inline;
            padding: 0 20px 0 0;
            font-size: 12px;
            text-transform: uppercase;
            cursor: pointer;
        }

    #LeaderMenu {
        padding: 0;
        margin: 20px auto 20px 20px;
        list-style-type: none;
        font-size: 16px;
        background-color: #222222;
    }


        #LeaderMenu li {
            display: inline;
            padding: 0 0 0 0;
            margin: 0 35px 0 0;
            font-size: 12px;
            text-transform: uppercase;
            cursor: pointer;
            font-weight: bold;
            background-color: #222222;
        }*/

    .TeamGroup {
        border: solid 2px #666;
        /*float: left;*/
        margin: 0px 0 35px 0;
        border-radius: 5px;
    }

        .TeamGroup .PlayerDisplay:last-of-type {
            border-bottom: none;
        }

    .TeamTitle {
        text-align: center;
        padding: 5px;
        line-height: 20px;
    }

    div.google_chart svg g g g g rect {
        stroke-width: 0px;
        fill: red;
    }

    #echartdisplay {
        position: relative;
        left: -120px;
        width: 1000px;
        margin: 0 0 0 0;
    }
@import url('gamespacedock.css');
#CreateGameWindow label {
    width: 150px;
    display:block;
    float: left;
    line-height: 22px;
    height: 22px;
}
#LaunchSim {
    background-color: #000;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    padding: 10px;
    margin: 0 0 5px 5px;
    float: right;
    cursor: pointer;
}
.BasicFlatButton {
    background-color: #000;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    padding: 10px;
    margin: 0 0 5px 5px;
    float: left;
    cursor: pointer;
}
#BasicTrainingInfo {
    width: 600px;
    padding: 20px;
}
#MessageInbox {
    clear: both;
}
#MessageInbox table {
    margin: 0 0 10px 0;
}
#MessageInbox tr:hover {
    background-color: #333;
    cursor: pointer;
}
#MessageInbox th {
    text-align:left;
    border-bottom: solid 1px #999;
    padding: 0 5px 5px 5px;
}
#MessageInbox td {
    border-bottom: solid 1px #999;
    padding: 10px 5px 10px 5px;
}
#MessageInbox td span { font-size: 11px; display:inline;color:#fff; }
#MessageInbox td input { position: relative; }
#MessageInbox td input[type=text] { width: 70px; }
#MessageInbox form label { color: #fff; }
.MessageSubject {
    font-size: 18px;
    padding: 10px 0 10px 0;
}

.MessageBody {
    padding: 0 0 30px 0;
}
.MessageType {
    width: 100px;
}
.FilterMenu {
    padding: 0;
    list-style-type: none;
    margin: 0;
}
.FilterMenu li {
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    display: block;
    float: left;
    padding: 0 5px 0 5px;    
    margin: 0 10px 10px 0;
    line-height: 20px;
    cursor: pointer;
}
.FilterMenu li:hover { 
    background-color: #999;
}
.FilterMenu .SelectedFilter {
    background-color: #666;
}

.SettingsBlock {
    /*width: 260px;*/
    width: 100%;
    box-sizing: border-box !important;
    border-radius: 10px;
    border: solid 1px #666;
    background-color: #444;
    font-size: 13px;
    color: #fff;
    overflow: hidden;
}
.SettingsBlockTitle {
    padding: 10px;
    background-color: #555;
    font-size: 14px;
}
.SettingsBlockContent {
    padding: 10px;
    padding-bottom: 5px;
    border-top: solid 1px #666;
}
.SettingsBlockContent div {
    padding-bottom: 5px;
}
.SettingsBlockContent div.NonStandard {
    padding-bottom: 5px;
    color: yellow;
}
.SettingsBlockContent b {
    display: inline-block;
    width: 150px;
}
.SettingsBlockContent span {
    display: block;
    font-size: 12px;
    color: #ccc;
    padding-left: 5px;
}
.NewActivity {
    float:left;
    color:#000;
    background-color:#880;
    font-size:10px;
    font-weight:600;
    border-radius:5px;
    margin-right:5px;
    padding:0px 4px;
}
/****VCR WINDOW*****/

/*****WINDOWS****/
.Window
{ 
    position: absolute; 
    overflow: hidden; 
    background-color: #fff; 
    color: #333333; 
    font-family: arial;
    border-radius: 10px;
}
.WHeader
{
    border-top: solid 2px #ccc;
    border-left: solid 2px #ccc;
    border-right: solid 2px #ccc;
    background-color: #eee; 
    
    height: 32px; 
    line-height: 32px; 
    border-bottom: solid 1px #ccc; 

}

.WCorner {}

.WTitle 
{ 
    cursor: move; 
    font-size: 18px; 
    padding-left: 5px;   
    color: #666; 
}

.WClose 
{ 
    background-image: url(/img/ui/close.gif); 
    background-repeat: no-repeat; 
    background-position: center;
    float:right; 
    width: 16px; 
    height: 27px;
    line-height: 27px; 
    margin: 0px 5px 0 0;
    border-radius: 3px;
}

.WContent 
{ 
    border-bottom: solid 2px #ccc;
    border-left: solid 2px #ccc;
    border-right: solid 2px #ccc;
    overflow: visible;  
}

.WContent a:hover
{
    text-decoration: none;
    color: #333;
}

.WFooter {}


#VCRSimWin {
    z-index: 100;
    background-color: transparent;
}
#NextVCR, #RunVCR {
    background-image:  url(/img/game/smallrightarrow2.png);
    background-repeat: no-repeat;
    background-position: right center;
    padding: 0 20px 0 0;
    margin: 0 20px 0 10px;
}
#PrevVCR {
    background-image: url(/img/game/smallleftarrow2.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding: 0 0 0 20px;
}
#StopVCR {
    margin: 0 20px 0 0;
}
#VCRSim {
    background-color: #111;
    padding: 10px;
    z-index: 100;
    color: #fff;
    line-height: 22px;
    font-size: 14px;
}
#SimButtons, #PlayButtons {
    float: right;
    margin: 0;
    padding: 0;
}
#SpeedButtons {
    float: right;
    margin: 0 20px 0 0;
    padding: 0;
}
#CameraButtons {
    float: left;
    margin: 0 0 0 20px;
    padding: 0;
    background-color: #eee;
}
#SimButtons li {
    display: inline;
    list-style-type: none;    
}
#ShipVsPlanetButton {
    margin: 0 30px 0 0;
    padding: 5px;
}
#ShipVsShipButton {
    margin: 0 10px 0 0;
    padding: 5px;
}
#SpeedButtons li, #CameraButtons li {
    display: inline;
    list-style-type: none;
    padding: 5px;
    margin: 0 10px 0 0;
}
.SelectedSpeed{
    background-color: #ccc;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}
#PlayButtons li {
    display: inline;
    list-style-type: none;
}
.SimSuperShort {
    width: 100px !important;
 }
.SimExtraShort {
    margin-left: 10px;
    width: 125px;
}
.SimShort {
    width: 130px !important;
}
.SimExtraMed {
    width: 160px !important;
    margin-left: 10px;
}
.SimLong {
    width: 100% !important;
}

#VCRSim span {
    color: #006600;
    margin: 0 0 0 5px;
}
#VCRSim p, #BattleSim p {
    padding: 0;
    margin: 0;
    clear: left;
}
#LeftSide, #RightSide, #SimResults {
    background-color: #111;
    width: 300px;
    float: left;
    margin: 0px 10px 10px 0px;
    border-radius: 10px;
}
/*
#RightSide, #PlanetSide {
    margin: 10px 0 0 0;

    width: 450px;
    float: right;
}
*/
#SimControls {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 100px;
}
#BattleSim {
    background-color: #111;
}
#BattleSim .lval, .BattleSimWin .lval {
    margin-right: 0px;
    display: inline-block;
    min-width: 130px;
    width: 50%;
}
    #BattleSim .lval b {
        display: inline-block;
        width: 80px;
    }    
    .BattleSimWin .lval b {
        display: inline-block;
        width: 70px;
    }
.SimButton {
    float:left;
    display:block;
    font-size: 11px !important;
    width: 90px;
    text-align: center;
    background-color: #333;
    margin: 5px 0 5px 5px !important;
    cursor: pointer;
    line-height: 24px !important;
    text-transform: uppercase;
    border-radius: 2px;
}

#BattleSim input[type=text], #BattleSim select, #BattleSim input[type=number], #BattleSim input[type=tel] {
    font-size: 16px;
}
.BattleSimWin input[type=text], .BattleSimWin select, .BattleSimWin input[type=number], .BattleSimWin input[type=tel] {
    font-size: 16px;
}
#BattleSim input[type=text], #BattleSim select, .BattleSimWin input[type=text], .BattleSimWin select {
    -webkit-appearance: none;
}

#VCRSim select, #BattleSim select, .BattleSimWin select {
    /*border: 1px solid #222;*/
    border: 0;
    /*border-radius: 10px;*/
    height: 30px;
    background-color: transparent;
    color: #006600;
}
#VCRSim input, #BattleSim input, .BattleSimWin input {
    border: 0;
    /*border-radius: 10px;*/
    height: 30px;
    background-color: transparent;
    color: #006600;
}
#VCRSim input[type=text], #BattleSim input[type=text], #BattleSim input[type=number], #BattleSim input[type=tel] {
    width: 40px;
    margin: 0 0 0 0px;
    padding: 0px;     
}
.BattleSimWin input[type=text], .BattleSimWin input[type=text], .BattleSimWin input[type=number], .BattleSimWin input[type=tel] {
    width: 60px;
    margin: 0 0 0 0px;
    padding: 0px;
}
#VCRSim label {
    float: left;
    width: 120px;
}
#BattleSim label {
    float: left;
    width: 100px;
}
.BattleSimWin label {
    float: left;
    width: 100px;
    color: #006600;
    padding-left: 10px;
}
.BattleSimWin h6 {
    font-size: 13px;
    color: #aaa;
    border-top: 1px solid #333;
    clear: both;
    padding-top: 5px;
}
#VCRSim a, #BattleSim a, .BattleSimWin a {
    color: cyan;
    cursor: pointer;
}
#VCRSim input[type=checkbox], #BattleSim input[type=checkbox] {
    vertical-align: middle;
    width: 20px;
    margin: 0 0 0 0px;
}
.BattleSimWin input[type=checkbox] {
    vertical-align: middle;
    width: 20px;
    margin: 0 0 0 0px;
}
#MultiSimUtilWin {
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
#MultiSimUtilWin::-webkit-scrollbar {
    display: none;
}
#Battlefield {
    position: relative;
    width: 900px;
    height: 200px;
    background-color: #000;
    overflow: hidden;
    background-image: url(/img/ui/starbacking.jpg);
}
#BattlePaper {
    position: absolute;
    width: 900px;
    height: 360px;
    left: 0;
    top: 0;
    z-index: 11;
    pointer-events: none;
}
#LeftImg {
    left: 30px;
}
#RightImg {
    left: 640px;
}
#LeftImg, #RightImg, #BaseImg {
    position: absolute;
    top: 0;
    width: 200px;
    height: 200px;
    display:none;
    z-index: 10;
}
#BattleDist {
    width: 900px;
    position: absolute;
    height: 30px;
    top: 330px;
    color: #00ff00;
    text-align: center;
}
#BattleResult {
    text-align: center;
    width: 900px;
    position: absolute;
    height: 30px;
    top: 0px;
}

#TurnSummary img {
    width: 90px;
    height: 90px;
    position: relative;
    top: -10px;
}
#TurnSummary .iconholder {
    width: 90px;
    height: 70px;
    overflow:hidden;
}
#LeftImage, #RightImage 
{
    
}
#TurnSummary span {
    border-radius: 5px;
    text-align: center;
    display: block;
    float: left;
    font-size: 11px;
    text-transform: uppercase;
    margin: 0 0px 15px 0;
    width: 90px;
    height: 80px;
    cursor:pointer;
}

.DashPane { 
    outline: none;
}

.RelationImg {
    width: 80px;
    height: 80px;
}
.SelectedCheck {
    width: 30px;
    height: 30px;
    margin: 0 10px 0 10px;
}
.RelationIcons img {
    width: 30px;
    height: 30px;
}
#DashboardContent h3 {
    color: #fff;
}
#SetDiplomacy tr {
    cursor: pointer;
}
#MessageTo {
    width: 500px;
}
.ChooseTo {
    width: 250px;
    float: left;
}
#MessageBody {
    width: 500px;
    height: 120px;
    background-color: #333;
    border: solid 2px #000;
    color: #fff;
}
#MessageButtons {
    width: 500px;
}
#MessageBodyDiv {
    padding: 10px 0 10px 0;
    clear: left;
}
/*
#OutboundMessages {
    width: 500px;
    clear: both;
    padding: 10px 0 0 0;
}
#OutboundMessages td {
    vertical-align: top;
    border-bottom: solid 1px #666;
    padding: 10px 0 10px 0;
}
#OutboundMessages span {
    cursor: pointer;
    padding: 5px; 
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background-color: #000;
    margin: 10px 5px 10px 5px;
}
.MessageHeader {
    color: #35cdbd;
    font-weight: bold;
    cursor: pointer;
}
*/
.OutMessageButtons {
    text-align: right;
    font-size: 11px;
    text-transform: uppercase;
}
.OutMessageButtons span {
    padding: 0 0 0 10px;    
}
.TinyIcon{
width: 30px;
height: 30px;
margin: 0 5px 0 0;
}

#SecondMenu{
    position: absolute;
    top: -100px;
    right: 20px;
    padding: 0;
    margin: 0;
    min-width:140px;
    z-index: 7;
    color: #fff;
border-bottom-left-radius: 10px 10px;
border-bottom-right-radius: 10px 10px;
background-color: #006666;
list-style-type: none;
}

#SecondMenu li {
display: block;
float: left;
padding: 10px;
cursor: pointer;
}
/*

#SendMessageResult {
    clear: both;
    padding: 10px 0 10px 0;
    width: 500px;
}
*/



#PDashboardContent { 
    position: relative;
}
#PlanetsDashboard {
    color: #fff;
    width: calc(100% - 20px);
    padding: 0;
    margin: 0 auto 0 auto;
    border-top-right-radius: 10px 10px;
    border-bottom-right-radius: 10px 10px;
    position: absolute;
    top: 60px;
    left: 0;
    background-image: url(https://mobile.planets.nu/img/game/dashboardbg.png);
    background-repeat: repeat-x;        
}
#PlanetsDashboard.inmessaging{
    width: calc(100% - 360px);
}
#GameTitle {
    text-align: left;
    padding: 5px 40px 20px 0;
    position: absolute;
    left: 20px;
    top: 10px;
    color: #fff;
    cursor: pointer;
}
#TitleBack {
    position: absolute;
    left:-15px;
    top: 8px;
    color: #fff;
    font-size:24px;
}
#DashboardLeft {
    width: 200px;
    float: left;
    height: 100%;
    background-image: url(https://mobile.planets.nu/img/game/dashboardbg.png);
}
#DashboardContent {
    overflow: hidden;
    outline: none;
    padding: 10px;
}
.DashPane {
    width: 100%;
    height: 100%;
}
#RaceStrip {
    background-repeat: no-repeat;
    width: 80px;
    height: 100%;
    float: left;
}
#DashboardMenu { 
    font-size: 13px;
    line-height: 18px;
    padding: 0 0 0 90px;
}
#DashboardMenu h1 {
    font-family: Arial;
    margin: 0 0 5px 0;
    padding: 0;
    font-size: 20px;
    line-height: 24px;
}
#DashboardMenu ul {
    padding: 10px 0 0 0;
    margin: 0;
    list-style: none;
    font-size: 14px;
    line-height: 22px;
}
#DashboardMenu li {
    cursor: pointer;
}
#GameStatusSummary {
    text-align: center;
    text-transform: uppercase;
    font-size: 11px;
    margin: 0 auto 0 auto;
    color: #fff;
    position: absolute;
    bottom: 5px; 
}
#GameStatusSummary span { font-size: 11px; color: #999; }

#TurnReadyContainer {
    position: absolute;
    font-size: 14px;
    bottom: 25px;
    left: 15px;
    width: 140px;
}
    #TurnReadyContainer a {
        color: #fff;
    }
    #TurnReadyContainer a:visited {
        color: #fff !important;
    }
#TurnReadyButton:hover {
    color: #00ffff;
    text-decoration: none;
    cursor: pointer;
}
#TurnReadyButton.TurnReady, #TurnReadyButton.TurnNotReady {
    background-image: url(/img/game/turnready3.png);
    background-repeat: no-repeat;
    color: #fff;
    font-size: 14px;
    width: 140px;
    height: 34px;
    line-height: 32px;
    text-align: center;
    display: block;
}
#TurnReadyButton.TurnReady {
    padding: 0 30px 0 0;
}
#TurnReadyButton.TurnNotReady {
    background-position: 0 -34px;
}
.ListPlanet img { 
    width: 30px; 
    float: left; 
    margin: 0 5px 0 0; 
}
.ListPlanet {
    font-size: 16px;
    line-height: 30px;
    float: left;
    margin: 0 20px 5px 0;
    cursor: pointer;
    width: 200px;
    height: 30px;
    overflow: hidden;
}
#PlanetTable td, #ShipTable td {
    border-bottom: solid 1px #666;
}


/***FORUM POST***/

.forumInfo{
    float: left;
    position: absolute;
    bottom: 20px;
}
.DashPane .forumInfo a{ 
    color: white;
}
.forumTitle{ 
    font-weight:bold; 
}
.postContent{
    font-size:10px;
}

#DashboardSpace {
    float: left;
    width: 100%;
    height: 10%;
}
/*ADVANTAGES*/
.ActiveAdvantageSummary {
    font-size: 16px;
    height: 40px;
}
.ActiveAdvantageSummary span {
    color: #00ff00;
}
.AdvantageSet h3 {
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: bold;
    padding: 0;
}
.AdvantageSet td {
    vertical-align: top;
    padding: 0 0 20px 0;
}
.AdvantageSet tr {
    border-bottom: solid 1px #fff;
}
.AdvantageSet img {
    width: 80px;
    height: 80px;
    float: left;
    margin: 0 10px 10px 0;
}
.AdvantageSet span {
    float: right;
    display: block;
    background-color: #333;
    border-radius: 5px;
    width: 40px;
    height: 40px;
    font-size: 14px;
    color: #fff;
    text-align: center;
    line-height: 40px;
   
}
.AdvantageSet {
    border-right: solid 2px #333;
    padding: 0 20px 0 20px;
    width: 600px;
    color: #fff;
    float: left;
}
    .AdvantageSet h1 {
        margin: 0 0 10px 0;
        padding: 0;
        text-align: center;
        font-size: 14px;
        text-transform: uppercase;
    }


.activeadv {
    background-color: #333;
    margin: 0 0 10px 0;
}
.etargetplayer {
    width: 220px;
    float: left;
    padding: 5px;
    cursor: pointer;
    font-size: 11px;
    text-transform: uppercase;
}
.etargetsel {
    background-color: #99cc99;
}
#epublicboard.etargetsel {
    background-color: #ff9966;
}
#eselecttarget {
    margin: 0 0 10px 0;
    border: solid 1px #333;
}
#egamefeed textarea {
    background-color: #444;
    border: solid 1px #555;
    color: #fff;
    padding: 10px;
    overflow: hidden;
}

#egamefeed .ereply {
    background-color: #444;
    border: solid 1px #333;
    color: #fff;
}

.egamefeedline {
    border-bottom: solid 1px #444;
    margin: 10px;
}
.ewritereply {
    cursor: pointer;
}
.egamefeedtitle {
    font-size: 13px;
}
    .egamefeedtitle span {
        color: #fff !important;
    }


#gameover {
    position: absolute;
    width: 500px;
    height: 350px;
    border:double 10px #666;
    background-color: #333;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    font-size: 16px;
    z-index: 11;
}
    #gameover td {
        padding: 0 0 5px 0;
    }

#eclosegameover {
    width: 100px;
    font-size: 16px;
    background-color: #666;
    color: #fff;
    margin: 20px auto 0 auto;
    padding: 10px;
    text-align: center;
    cursor: pointer;
}
#finishtrophy {
    height: 100px;
    float: right;
    position: relative;
    top: -10px;
    right: -10px;
}

#WinCondition {
    position: absolute;
    bottom: 30px;
    padding: 0 0 0 10px;
}

.TurnReady {
    color: cyan;
}

.cutscene {
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    overflow: hidden;
}

@media (orientation:landscape) {
    .cutscene {
        max-width: 700px !important;
        max-height: 380px !important;
    }
}

@media (orientation:portrait) {
    .cutscene {
        max-width: 350px !important;
        max-height: 700px !important;
    }
}.CleanTable {
    padding: 0;
    border-spacing: 0;
    border-collapse: collapse;
    word-wrap: break-word;
}
.CleanTable td, .CleanTable th { padding: 0; }

.LeftBlind, .RightBlind {
position: absolute;
top: 0;
z-index: 1100;
background-color: #000;
}
.LeftBlind {
left: 0;
}
.RightBlind {
right: 0;
}
.lightblind { opacity: 0.2; }

#ExitWin {
    z-index: 1200;
    color: #fff;
    text-align: center;
    max-width: 90%;
}
#ExitWin h1 {
    padding-bottom: 40px;
}
#ExitWin span {
    background-color: #333;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    padding: 20px;
    font-size: 16px;
    margin: 5px 0 5px 20px;
    cursor: pointer;
    display: inline-block;
    white-space: nowrap;
}

#FullScreenTip {
    position: absolute;
    left: 40%;
    top: 0px;
    height: 30px;
    width: 200px;
    background-image: url(/img/game/fullscreentip2.png);
    background-repeat: no-repeat;
}

#DebugWin {
    position: absolute;
    z-index: 1000;
    background-color: #000;
    color: #fff;
    left: 10px;
    bottom: 10px;
    padding: 10px;
}

#PlanetsMenu {

    padding: 0 10px 0 10px;
    margin: 0;
    position: absolute;
    right: 0;
    z-index: 6;
    color: #fff;
    border-bottom-left-radius: 10px 10px;
    background-color: #111;
    list-style-type: none;
}
#PlanetsMenu li {
    display: block;
    float: left;
    padding: 10px;
    cursor: pointer;
}
#PlanetsMenu.inmessaging {
    right: 340px;
}

.LoadingText {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
    font-size: 20px;
    z-index: 1150;
    text-align: center;
    height: 40px;
    font-family: Oxanium, Arial;
}
.LoadingText span {
    font-size: 11px;
    line-height: 30px;
}
.WorkingIndicator {
    position: absolute;
    top: -20px;
    height: 20px;
    width: 80px;
    z-index: 101; /* Place *over* MapScreenContainer */
    font-size: 11px;
    border-bottom-left-radius: 5px 5px;
    border-bottom-right-radius: 5px 5px;
    background-color: #347778;
    color: #fff;
    text-align: center;
    background: linear-gradient(to bottom, #84a7a8 0, #347778 100%);
    background: linear-gradient(to bottom, rgba(0, 30, 30, 0.8) 0, rgba(0, 60, 60, 0.8) 100%);
}

#PLogoBar {
    width: 100%;
    border-bottom: solid 1px #39C; 
}
#PLogoBar img { margin: 15px 0 0 5px; }
#PLogoBar a  
{
    position: absolute;
    right:120px;
    font-size: 11px;
    text-transform: uppercase;
    margin: 15px 30px 0 0;
    color: #ccc;
}

#PlanetsContainer {
    font-family: Arial;
    font-size: 13px;
    line-height: 18px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    background-color: #000;
    }

/*DISABLE SELECT*/
#PlanetsContainer * {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

input, textarea, #GameActivity *, .Selectable {
    -webkit-user-select: text !important;
    -khtml-user-select: text !important;
    -moz-user-select: text !important;
    -o-user-select: text !important;
    user-select: text !important;
}

#NotificationBar {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 30px;
    overflow: hidden;
    pointer-events: none;
}

.GameNotification {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    white-space: nowrap;
    display: inline-block;
    color: #ccc;
    position: absolute;
    pointer-events: all;
}

#PlanetsDashboardContainer {
    
    /*background-image: url(/img/backgrounds/gazebo2k1351920-opt.jpg);*/
    background-image: url(/img/backgrounds/close_planets-wallpaper-opt.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;   
    overflow: hidden;
} 

#PlanetsContainer {
    overflow:hidden;
    width: 100%;
}
    #PlanetsContainer [data-topic] {
        cursor: help;
    }
    #PlanetsContainer * {
        box-sizing: content-box;
    }

#PlanetsActivity {
    width: 400px;
    height: 100%;
    position: absolute;
    right: -385px;
    z-index: 5;
}
#PlanetsActivityBar {
    position: absolute;
    left: 0;
    top: 0;
    width: 15px;
    float: left;
    height: 100%;
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#333), color-stop(100%,#111));
    cursor: pointer;
}
#PlanetsActivityBarText {
    position: absolute;
    left: -17px;
    top: 45%;
    color: #fff;
    text-transform: uppercase;
    font-size: 11px;
    -webkit-transform: rotate(-90deg); 
    -moz-transform: rotate(-90deg);	
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
    cursor: pointer;
}


#PlanetsContainer h1 {
font-size: 24px;
padding: 0;
margin: 0;
line-height: 18px;
}
#PlanetsContainer h1, h2, h3 {
font-weight: normal;
padding: 0;
margin: 0;
}
    #PlanetsContainer a {
        text-decoration: none;
    }
        #PlanetsContainer a:visited {
            color: cyan;
        }

#PlanetsMapContainer {
    background-image: url(/img/game/starbacking2.jpg); 
    position: relative;
    overflow: hidden;    
}

#PlanetsContainer table {
    border-collapse: separate;
}


/*Messaging*/
#Messaging, #MultiSimWin {
    position: absolute;
    right: -37px;
    top: 0px;
    width: 360px;
    height: 100%;
    background-color: #111;
    padding-right: 17px;
    overflow-y: scroll;
    z-index: 9;
    border-left: solid 3px #222;
    border-radius: 0;
    opacity: 1;
    background-image: url('/img/ui/dot.png'), linear-gradient(to bottom, rgba(26,30,30,1) 0, rgba(13,15,15,1) 100px);
}
    #Messaging header, #MultiSimWin header {
        background-color: rgba(26,30,30,1);
        cursor: pointer;
    }

    #MultiSimWin header {
        position: sticky;
        z-index: 1;
        top: 0px;
    }

    #MultiSimItems.twocolumns {
        display: grid;
    }
#MultiSimControls div {
    float: right;
    height: 40px;
}

#MultiSimItems.twocolumns.hasresults .CombatSimItemDetails {
    display: none;
}
.CombatSimItem, .CombatSimItem .lval {
    font-size: 11px;
}
.CombatSimItem .ItemTitle {
    font-size: 9px;
}

.CombatSimItemPieChart {
    height: 30px;
    width: 30px;
    margin: 5px;
    border-radius: 50%;
}
.CombatSimItemResults {
    width: 60px;
    font-size: 11px;
}
.CombatSimItemTool {
    height: 40px;
    width: 20px;
    line-height: 40px;
    min-width: 40px;
    text-align: center;
    z-index: 1;
    font-size: 20px;
    color: #0ff;
    float: left;
}
    .CombatSimItemTool::before {
        line-height: 40px;
    }
    .CombatSimItemTool.CombatSimItemToolDisabled {
        color: #888;
    }
    /***rNav***/
    #rNav {
        font-size: 11px;
        position: absolute;
        left: 400px;
        top: 10px;
        height: 16px;
        line-height: 16px;
        padding: 5px;
        color: #fff;
    }

#replayNav {
    font-size: 11px;
    position: absolute;
    line-height: 16px;
    padding: 0px;
    color: #fff;
    left: 10px;
    top: 60px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    border: 1px solid #333;
}
#replayNavStep {
    width: 280px;
    display: block;
    border: 2px solid #333;
    margin-bottom: 5px !important;
}
#rNav span, #replayNav span {
    padding: 7px;
    background-color: #333;
    border-radius: 5px 5px;
    -moz-border-radius: 5px 5px;
    -webkit-border-radius: 5px 5px;
    margin: 0 
}
#rNav a, #replayNav a {
    border-radius: 5px 5px;
    -moz-border-radius: 5px 5px;
    -webkit-border-radius: 5px 5px;
    font-size: 11px;
    color: #fff;
    margin: 0 7px 0 7px;
    background-color: #000;
    cursor: pointer;
}
#replayNav a {
    padding: 7px;
    border: 2px solid #888;
    display: inline-block;
}
#replayPausePlay {
    font-family: 'Lucida Sans Unicode';
    font-size: 36px !important;
    padding: 15px !important;
    width: 32px;
    float: right;
    clear: both;
}
/*.rNavLeft {
    background-image: url(/img/game/smallleftarrow2.png);
    background-repeat: no-repeat;
    background-position: left 9px;
    padding: 7px 7px 7px 22px;
}
.rNavRight {
    background-image: url(/img/game/smallrightarrow2.png);
    background-repeat: no-repeat;
    background-position: right 9px;
    padding: 7px 22px 7px 7px; position:relative;
    left:-5px;
}
.rNavFirst { 
    padding: 7px;
    position:relative;
    left:5px;
}*/
#rNav a:hover {
    text-decoration: none;
    color: #35cdbd;
}
#rNav #idleAll {
    background-color: black;
}
.rIdle, .rNavToggle, .rNavReplay, .replayFirst {
    background-repeat: no-repeat;
    padding: 7px;
}
.rNavReplay, .replayFirst, .replayNext, .replayPrev, .replayClose {
    background-repeat: no-repeat;
    padding: 7px;
}

#replayStep {
  display: none;
  width: 500px;
  height: 100px;
  line-height: 100px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50px;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  font-size: 36px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -50px 0 0 -250px;
  /*box-shadow: 0px 0px 30px 1px rgba(0, 0, 0, 0.6);*/
}

/*** SCROLL BARS ***/
/*
 * CSS Styles that are needed by jScrollPane for it to operate correctly.
 *
 * Include this stylesheet in your site or copy and paste the styles below into your stylesheet - jScrollPane
 * may not operate correctly without them.
 */

.jspContainer
{
	overflow: hidden;
	position: relative;
outline: none;
}

.jspPane
{
	position: absolute;
outline: none;
}

.jspVerticalBar
{
	position: absolute;
	top: 0;
	right: 0;
	width: 12px;
	height: 100%;
	background: transparent;
}

.jspHorizontalBar
{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 16px;
	background: transparent;
}

.jspVerticalBar *,
.jspHorizontalBar *
{
	margin: 0;
	padding: 0;
}

.jspCap
{
	display: none;
}

.jspHorizontalBar .jspCap
{
	float: left;
}

.jspTrack
{
	background: transparent;
	position: relative;
}

.jspDrag
{
	background: #333;
	position: relative;
	top: 0;
	left: 0;
	cursor: pointer;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
}

.jspHorizontalBar .jspTrack,
.jspHorizontalBar .jspDrag
{
	float: left;
	height: 100%;
}

.jspArrow
{
	background: #50506d;
	text-indent: -20000px;
	display: block;
	cursor: pointer;
}

.jspArrow.jspDisabled
{
	cursor: default;
	background: #80808d;
}

.jspVerticalBar .jspArrow
{
	height: 16px;
}

.jspHorizontalBar .jspArrow
{
	width: 16px;
	float: left;
	height: 100%;
}

.jspVerticalBar .jspArrow:focus
{
	outline: none;
}

.jspCorner
{
	background: #eeeef4;
	float: left;
	height: 100%;
}

/* Yuk! CSS Hack for IE6 3 pixel bug :( */
* html .jspCorner
{
	margin: 0 -3px 0 0;
}


/***LEFT CONTENT FRAME***/
/*.LeftContent {
    position: absolute;
    z-index: 10;
    top: 0px;
    left: -420px;
    width: 320px;
    background-image: url(/img/game/lbg.png);
    background-repeat: repeat-x;
    background-color: #f3f5f5;
    box-shadow: 3px 3px 3px #666;
    -moz-box-shadow: 3px 3px 3px #666;
    -webkit-box-shadow: 3px 3px 3px #666;

}
    .LeftContent .jspContainer {
        overflow: auto;
    }
@media screen and (orientation:portrait) {
    .LeftContent { width: 100%; overflow: auto !important; }
}*/

#MoreScreen {
    display: none;
    position: absolute;
    z-index: 16;
    color: #fff;
    bottom: 95px;
    left: -100px;
    background-color: #111;
    font-size: 12px;
    color: #999;
    
    border-right: solid 2px #222;
    border-bottom: solid 2px #222;
    min-height: 320px;
    padding-bottom: 40px;
    transform-origin: top left;
}

    #MoreScreen p {
        padding: 5px 5px 5px 10px;
        margin: 0;
        max-width: 180px;
    }
    #MoreScreen .moresub {
        max-width: 185px;
        background-size: 212px auto;
        background-position: center center;
        padding: 80px 5px 5px 10px;
        height: 50px;
    }
    #MoreScreen .moresub .lval {
        background-color: #111;
        border-radius: 5px;
        margin: 0 0 5px 0;
        padding: 0 5px 0 5px;
    }
    #MoreScreen .lval b {
        display: inline-block;
    }
/*    #MoreScreen .moresub:hover .lval {
        display:none;
    }*/
    #MoreScreen .jspVerticalBar, #eawin .jspVerticalBar, #LeftContent .jspVerticalBar {
        width: 2px;
    }
    #MoreScreen .ItemSelection {
        width: 175px;
    }



#MoreScreen section { border-radius: 0; }
    #MoreScreen section header {
        border-radius: 0;
    }
    #MoreScreen figure img {border-radius:0;}

#morebottom {
    background: linear-gradient(to bottom, #222 5%, #000 100%);
    width: 100%;
    height: 40px;
    line-height: 40px;
    bottom: 0;
    position: absolute;
    cursor: pointer;
    z-index: 13;
    font-size: 11px;
}
    #morebottom::before {
        font-family: "Font Awesome 6 Free";
        display: block;
        float: left;
        padding: 0 3px 0 3px;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        font-weight: 900;
        -webkit-font-smoothing: antialiased;
        content: "\f100";
    }

#morebottomcontent{
    position: absolute;
    z-index: 14;
    bottom: 0;
    right: 0;
    height: 40px;
    line-height: 40px;
    padding: 0 5px 0 0;
}

/***HOVER BOX FOR FLEET***/
#HoverContent {
    position: absolute;
    bottom: 240px;
    right: 0px;
    border: solid 5px #333;
    background-color: #000;
    display: none;
    z-index: 30;
    transform-origin: top left;
}

    #HoverContent .ItemSelection {
        border-bottom: 0;
    }

.BoxContent {
    position: absolute;
    z-index: 10;
    background-color: #111;
    cursor: pointer;
    bottom: -280px;
    height: 280px;
    left: 0;
    width: 100%;
    color: #fff;
    overflow: hidden;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    box-shadow: 0px -2px 5px 0px rgba(0,0,0,0.3);
    transform-origin: top left;
}
#MainFleetContainer {
    position: absolute;
    left: 0;
    top: 40px;
    width: 120px;
    height: 200px;
    background-color: #000;
    overflow: hidden;
}
.MainScreenPic {
    float: left;
    width: 120px;
}
.ArtifactPic {
    width: 24px;
}
#BoxContainer {
    position: absolute;
    top: 40px;
    left: 120px;
    height: 200px;
}

#rNavTop {
    /*top: 240px;*/
    top: auto;
    bottom: 0px;
    position: absolute;
    background: linear-gradient(to bottom, #222 5%, #000 100%);
    width: 100%;
    height: 40px;
    line-height: 40px;
    color: #666;
    font-size: 11px;
}
    #rNavTop::before {
        font-family: "Font Awesome 6 Free";
        display: block;
        float: left;
        padding: 0 3px 0 8px;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        font-weight: 900;
        -webkit-font-smoothing: antialiased;
        content: "\f107";
    }
    #rNavTop .spacer {
        width: 60px;
        border-left: solid 1px #444;
    }
    #rNavTop div {
        float: right;
        height: 40px;
    }

    .BoxTopTitle .rNavState {
        color: #999;
        font-size: 11px;
        float: right;
        padding: 0px 0 0px 5px;
        border-left: solid 1px #444;
        text-align: center;
        min-width: 50px;
    }
        .BoxTopTitle .rNavState i {
            color: #993300;
        }

        #rNavTop .rNavLeft {
            background-image: url(/img/game/smallleftarrow2.png);
            background-repeat: no-repeat;
            background-position: 14px 13px;
            padding: 0;
            width: 49px;
            border-left: solid 1px #444;
        }

#rNavTop .rNavRight {
    background-image: url(/img/game/smallrightarrow2.png);
    background-repeat: no-repeat;
    background-position: 20px 13px;
    padding: 0;
    width: 49px;
    border-left: solid 1px #444;    
}

@media screen and (min-width: 500px) {
    .BoxContent { width: 360px; }
}

@media screen and (orientation:landscape) {

    .BoxContent {
        top: 0px;
        bottom: auto;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 8px;
    }

    #rNavTop::before {
        content: "\f100";
    }

    #HoverContent {
        top: 35px;
        left: 250px;
        bottom: auto;
        right: auto;
    }

    #MoreScreen {
        top: 0px;
        bottom: auto;
        border-right: none;
        border-bottom: none;
        border-bottom-right-radius: 8px;
    }
    #morebottom { border-bottom-right-radius: 8px; }
}
/*LARGE FORMAT AND TINY SCREEN IS IN SPACEDOCK CSS FILE*/


/***READY CHECKBOX***/
#readyCheckBox {
    background-image: url(/img/game/threereadycheckspace.png);
    width: 50px;
    height: 40px;
    float: right;
    background-repeat: no-repeat;
    cursor: pointer;
    border-left: solid 1px #444;
}

.readyCheckBox0 {
    background-position: 17px -53px;
}

.readyCheckBox1 {
    background-position: 17px -20px;
}

.readyCheckBox2 {
    background-position: 17px 12px;
}

.BoxTopTitle, .MoreTitle {
    background: linear-gradient(to bottom, #444 5%, #222 100%);
    height: 40px;
    overflow: hidden;
    color: #fff;
    background-color: #111;
    font-size: 12px;
    line-height: 40px;
    cursor:pointer;
    padding: 0 5px 0 5px;
    width: calc(100% - 10px);
}
.BoxTitle {
    padding: 4px 0 0 0;
    line-height: 16px;
}
.BoxTitle span {
    display:block;
    font-size: 10px;
    color: #ffff00;
}
.NoteTitle span {
    color: #00cccc;
}
.MoreTitle img:first-child {
    height: 40px;
    width: 40px;
    float: left;
    padding: 0 0 0 5px;
}
    .MoreTitle img:last-child {
        height: 40px;
        width: 40px;
        float: right;
        padding: 0 20px 0 0;
    }
    .MoreTitle span {
        font-size: 11px;
        color: #ccc;
    }
.MoreTitle .lval { min-width: 70px;  float:left; }
#ssupplies {
    float: right;
    width: 160px;
    margin-top: 5px;
    padding: 4px;
    border: solid 1px transparent;
}
.MoreTitle .formrowselected, .moretopiconselected {
    border: solid 1px #666 !important;
}

#topbuttonbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 240px;
}
/*.BoxContainer{
    overflow-y: scroll;
    width: 120px;
}*/
.CloseLeftScreen {
    background-image: url(/img/game/closebutton.png);
    background-repeat: no-repeat;
    width: 250px;
    height: 32px;
    background-position: left center;
    cursor: pointer;
    position: absolute;
}

.CloseScreen { 
    background-image: url(/img/ui/close.gif);
    background-repeat: no-repeat;
    float: right; 
    padding: 8px 8px 8px 20px;
    width: 16px;
    height: 16px; 
    background-position: center center;
    cursor: pointer;
}
.TitleBar { 
    line-height: 32px;
    height: 32px; 
    font-size: 12px;
    overflow:hidden;
    border-bottom: solid 1px #ccc;
    background-image: url(/img/game/sepbar.png);
    background-repeat: repeat-x;
    background-position: left bottom;
    background-color: #fff;
    position: relative;
}
.DarkBar { 
    color: #fff;
    clear: both;
    line-height: 20px;
    height: 20px; 
    font-size: 12px;
    background-image: url(/img/game/darkbar2.png);
    background-repeat: repeat-x;
    padding: 0 5px 0 5px;
}
.SepBar, .BuildBar { 
    line-height: 28px;
    height: 28px; 
    font-size: 12px;
    border-bottom: solid 1px #ccc;
    background-image: url(/img/game/sebbar34.png);
    background-repeat: repeat-x;
    padding: 0 0 0 5px;
}
.BuildBar { 
    cursor: pointer;
}    
.BuildBar .SepTitle {
    padding: 0 0 0 30px;
    background-image: url(/img/game/sepbutton.png);
    background-repeat: no-repeat;
    background-position: left center;
}

.MoreActionButton {
    padding: 0 20px 0 20px;
    display: inline;
    line-height: 24px;
    height: 24px; 
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    background-image: url(/img/game/sepbar.png);
    background-repeat: repeat-x;
    border: solid 1px #ccc;
    text-align: center;
    color: #333;
}
.SepTitle { 
    font-size: 14px;
}
.SepTitle span {
    font-size: 12px;
}
/*.TopTitle { 
    font-size: 18px;
    width: 300px;
    height: 32px;
    overflow: hidden;
    padding: 0 0 0 20px;
    position: absolute;
}*/

.TopTitle::before {
    font-family: "Font Awesome 6 Free";
    display: block;
    float: left;
    padding: 0 3px 0 3px;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    content: "\f100";
    color: #00cccc;
}

.TopTitle {
    height: 32px;
    overflow: hidden;
    font-size: 11px;
    line-height: 32px;
    float:left;
}

/*.TitleBar .rNavState {
    float: right;
    color: #999;
    font-size: 11px;
    float: right;
    border-left: solid 1px #444;
    padding: 0px 0 0px 0;
    width: 60px;
    text-align: center;
}

.TitleBar .rNavLeft {
    background-image: url(/img/game/smallleftarrow2.png);
    background-repeat: no-repeat;
    background-position: 9px 13px;
    padding: 0;
    float: right;
    width: 39px;
    height: 40px;
    border-left: solid 1px #444;
    left: 0;
}

.TitleBar .rNavRight {
    background-image: url(/img/game/smallrightarrow2.png);
    background-repeat: no-repeat;
    background-position: 15px 13px;
    padding: 0;
    width: 39px;
    height: 40px;
    float: right;
    border-left: solid 1px #444;
    left: 0;
}*/





.SepContainer {
    padding: 3px;
    line-height: 12px;
    font-size: 12px;
    overflow: hidden;
}
.SepSummary {
    font-size: 11px;
    padding: 3px;
}


#PlanetScreen table {
    margin: 0;
    padding: 0;
}
#PlanetScreen td {
    vertical-align: top;
}
.TempText { float: right; position: relative; right: -30px; margin: 0 8px 0 0; }
.TempMoreText { float: right; margin: 0 8px 0 0; }
.SepButton, .DarkButton { 
    float: right; 
    padding: 0 30px 0 10px;
    margin: 0 5px 0 0;
    background-image: url(/img/game/sepbutton.png);
    background-repeat: no-repeat;
    background-position: right center;
    cursor: pointer;
}
.SepButton {
    border-left: solid 1px #ccc;
}
.SepButton span, .DarkButton span {
    color: green;
}
.headright { width: 80px; padding: 0 0 0 10px; }
.head {
    width: 75px;
}
.widehead {
    width: 90px;
}
.colpic {
    width: 60px;
}
.colpic img { 
    width: 60px;
    border: double 3px #ccc;
}
#Colony .val { width: 120px; }
.fcd, .val, .fc { 
    text-align: right;
    padding: 0 5px 0 0;
    width: 50px;
    font-weight: bold;
    color: #006600;
}
.fc {
    cursor: pointer;
}
.costval {
    text-align: right;
    padding: 0 5px 0 0;
    width: 50px;
}
.textval {
    font-weight: bold;
    color: #006600;
}
.fc span { 
    padding: 2px 5px 2px 5px;
    color: #000066;
    font-size: 14px;
    border: solid 1px #ccc;
}
.fc i {
    padding: 2px 5px 2px 5px;
    color: #FFF;
    font-size: 14px;
    border: solid 1px #ccc;
    text-decoration: none;
}
.fcd span { 
    padding: 2px 5px 2px 5px;
    color: #a7f5fe;
    font-size: 14px;
    border: solid 1px #ccc;
}
.valsup {
    font-size: 11px;
    color: #666;
    font-weight: normal;
}
.ValButton {
    padding: 5px 15px 5px 0;
    text-align: right;
    float: right;
    color: #347778;
}
.ValLink {
    padding: 0 15px 0 0;
    text-align: right;
    color: #347778;
}

#OrdersScreen::after, #ShipMissions::after {
    content: "";
    display: table;
    clear: both;
}
    #ShipMissions .SelectBox {
        width: 150px;
        margin: 5px 0 0 5px;
    }

#TransferScreen {

}
#TransferScreen .formrow label { width: 95px; }
#mkt, #lfm, #ssup, #unall, #unalldone, #buyt, #buyf, #buildpartstoggle, .morebottomicon, .moretopicon {
    float: right;
    width: 40px;
    height: 28px;
    font-size: 12px;
    text-align: center;
    line-height: 28px;
    margin: 6px 2px 0 7px;
    cursor: pointer;
    color: #99cccc;
}
#ssup, #unall, #buyt, #buyf, #mkt, #lfm, #buildpartstoggle, .morebottomicon, .moretopicon {
    height: 12px;
    padding: 7px 0 7px 0;
    letter-spacing: 1px;
}

.morebottomicon, .moretopicon {
    position: relative;
}
.smallmorebottomicons .morebottomicon {
    width: 30px;
    border-radius: 5px;
}
#ssup {
    color: #99ff99;
}
#buildpartstoggle {
    color: #669999;
    height: 24px;
    padding: 1px 0 1px 0;
}
#unalldone {
    width: auto !important;
}
#unallbottom, #foreigntransfer, #sendtomultisim {
    height: 12px !important;
    padding: 14px 0 14px 0;
    width: 50px;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
    color: #99cccc;
}
.mkt::before {
    font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free" !important;
    content: "\f067\f1d1";
    color: #99cccc;
    letter-spacing: 1px;
}
.lfm::before {
    font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free" !important;
    content: "\f067\f0fb";
    color: #99cccc;
    letter-spacing: 1px;
}
.buyt::before {
    font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free" !important;
    content: "\f155\f1d1";
    color: #99cccc;
    letter-spacing: 1px;
}
.buyf::before {
    content: "\f155\f0fb";
    color: #99cccc;
    letter-spacing: 1px;
}
#mtarget, #ftarget, #dtarget {
    clear: both;
    float: right;
    background-color: #111;
    text-align: center;
    font-size: 12px;
    line-height: 12px;
    padding: 5px 0 5px 0;
    width: 32px;
    margin: 5px 125px 0 0;
    cursor: pointer;
}

    .mtarget::before, .ftarget::before, .dtarget::before {
        content: "\f2f6";
        color: #ccc;
    }

.subscreentitle {
    padding: 0 0 5px 0;
    font-size: 12px;
    line-height: 22px;
    height: 22px;
    text-align: center;
}

#BuildTorpsScreen .formrow label {
    width: 155px;
}




.ColTaxRateDisplay {
    width: 100px;
    font-size: 30px;
    color: #fff;
    text-align: center;
}
#TaxEditScreen {
    /*font-size: 16px;
    line-height: 20px;*/
    min-width: 150px;
    margin-left: 15px;
    background-color: #111;
    border: solid 2px #222;
    border-radius: 10px;
}
#TaxEditScreen p {
    margin: 0;
    padding: 0;
}
.TaxTitle { 
    line-height: 68px;
}

#SurveyPic {
    margin: 0 10px 0 0;
}

/***NOTE SCREEN***/
#EditNote {
    margin: 5px 0 5px 0;
    width: 100%;
    height: 80px;
    background-color: #333;
    border: solid 2px #000;
    color: #fff;
    box-sizing: border-box;
}
#EditNotePane { padding: 5px; }
#ShipNameText {
    margin-top: 5px;
    width: 100%;
    background-color: #333;
    border: solid 2px #000;
    color: #fff;
    box-sizing: border-box;
}
#NoteColorSelection {
    margin: 10px 0 10px 0;
}
.NoteColor {
    width: 40px;
    height: 40px;
    margin: 0 10px 10px 0;
    border: solid 1px #333;
    padding: 0px;
}
.SelectedColor {
    border: solid 1px #fff;
}
.DipColor 
{
    width: 20px;
    height: 20px;
    border: solid 1px #333;
}

input[type="color"] {
	-webkit-appearance: none;
	border: none;
}
input[type="color"]::-webkit-color-swatch-wrapper {
	padding: 0;
}
input[type="color"]::-webkit-color-swatch {
	border: none;
}

input[type="color"]::-moz-color-swatch,
input[type="color"]::-moz-focus-inner {
    border: none;
}

input[type="color"]::-moz-focus-inner {
    padding: 0;
}

.AutoAdjustHappinesCheckBox{
    margin-top:10px;
}
#PlanetFCText {
    color: #fff;
    font-size: 30px;
    line-height: 42px;
    height: 40px;
    background-color: transparent;
    border: solid 1px #fff;
    width: 80px;
    text-align: center;
    float: left;
    margin: 0 0 5px 5px;
}
#BuildingScreen input {
    color: #fff;
    font-size: 14px;
    line-height: 16px;
    background-color: transparent;
    border: solid 1px #999;
    width: 30px;
    text-align: center;
}
.SellSuppliesTable {
    margin: 10px 0 10px 0;
    padding: 0;
    border-spacing: 0;
    border-collapse: collapse;
}
.SellSuppliesTable td {
    line-height: 18px;
    vertical-align: top;
}
/*#StarbaseScreen {
    overflow:hidden;
}*/
#BuildShipScreen {
    overflow:hidden;
}

#BuildStarbaseScreen img {
    width: 100px;
    height: 100px;
}
#BuildingStarbaseMessage {
    font-size: 24px;
    text-transform: uppercase;
    line-height: 24px;
    font-family: Oxanium;
    text-align: center;
    place-self: center;
    color: green;
}

#FleetContainer {
}
.FleetPic {
    float: left;
    position: relative;
    border: solid 1px transparent;
    cursor: pointer;
}
.FleetPic img {
    width: 50px;
}
.FleetPic:hover { background-color: #333; }
.imgcloaked {
    opacity: 0.5;
}
.FleetBad {
    background-color: #660000;
}
.FleetNeutral {
    background-color: #333366;
}
.FleetCurrent {
    background-color: #006666;
}
.fleetidle { float: left; position:relative; }

    .fleetidle::after {
        content: "\f111";
        font-family: "Font Awesome 6 Free";
        display: block;
        position: absolute;
        width: 6px;
        line-height: 6px;
        font-size: 6px;
        top: 3px;
        left: 3px;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        font-weight: 900;
        color: #993300;
        -webkit-font-smoothing: antialiased;
        text-align: center;
    }


.SelectBox {
    font-size: 12px;
    background-color: #222;
    border: solid 1px #666;
    margin: 0 0 5px 5px;
    cursor: pointer;
    text-align: center;
    float: left;
    width: 80px;
    line-height: 16px;
    opacity: 0.9;
    height: 42px;
    color: #fff;
}

.FullWidthBox {
    width: 307px !important;
}

    .SelectBox span {
        display: block;
        font-size: 11px;
        color: #999;
        line-height: 13px;
    }

#OrdersScreen div.OrangeBox {
    background-color: #cc3300;
    border: solid 1px #ffcc66;
    color: #ffcc66;
}
#OrdersScreen div.RedBox {
    background-color: #660000;
    border: solid 1px #ffcccc;
    color: #ffcccc;
}
#OrdersScreen { padding: 5px 0 0 5px;}


.TransferTitle {
    padding: 0 0 5px 0;
    margin: 0 0 10px 0;
    border-bottom: solid 1px #35cdbd;
}
.TransferVal {
    width: 60px;
    font-weight: bold;
    color: #41dc31;
    text-align: right;
    padding: 0 10px 0 0;
}
.TransferTotalText {
    text-align: right;
}


/***LEFT-RIGHT ARROWS***/
/*.LeftRight1000 {
    width: 177px;
    height: 20px;
}
.LeftRight100 {
    width: 139px;
    height: 20px;
}
.LeftRight10 {
    width: 101px;
    height: 20px;
}
.LeftRight {
    height: 20px;
    width: 43px;
    overflow: hidden;
}    
    
.LeftRight .sa {
    margin-right: 5px;
}
.sa {
    width: 17px;
    height: 20px;
    margin: 0 1px 0 1px;
    background-image: url(/img/game/updownleftright.png);
    background-repeat: no-repeat;
    cursor: pointer;
}*/
.lrtext-small {
    width: 25px;
    height: 24px;
    line-height: 24px;
    float: left;
    text-align: center;
    font-size: 11px;
    color: white;
}
.sac-small {
    width: 35px;
    height: 24px;
    float: left;
    cursor: pointer;
    border: solid 1px #333;
    border-radius: 3px;
    margin: 0 1px 0 1px;
}
.sa-small {
    width: 17px;
    height: 20px;
    margin: 2px 10px;
    background-image: url(/img/game/updownleftright.png);
    background-repeat: no-repeat;    
}
.LeftRight1000-small {
    width: 212px;
    height: 20px;
}
.LeftRight100-small {
    width: 184px;
    height: 20px;
}
.LeftRight10-small {
    width: 136px;
    height: 20px;
}
.LeftRight-small {
    height: 20px;
    width: 54px;
    overflow: hidden;
} 


.lrtext {
    width: 25px;
    height: 40px;
    line-height: 40px;
    float: left;
    text-align: center;
    font-size: 11px;
    color: white;
}
.sac {
    width: 35px;
    height: 40px;
    float: left;
    cursor: pointer;
    border: solid 1px #333;
    border-radius: 3px;
    margin: 0 1px 0 1px;
}
.sa {
    width: 17px;
    height: 20px;
    margin: 10px 10px 10px 10px;
    background-image: url(/img/game/updownleftright.png);
    background-repeat: no-repeat;    
}
.sac:hover .rights {
    background-position: -136px 0;
}
.sac:hover .lefts {
    background-position: -119px 0;
}

.lefts { 
    background-position: -42px 0;
}
.rights { 
    background-position: -59px 0;
}
.rights:hover {
    background-position: -136px 0;
}
.lefts:hover {
    background-position: -119px 0;
}
.LeftRight1000 {
    width: 340px;
    height: 20px;
}
.LeftRight100 {
    width: 280px;
    height: 20px;
}
.LeftRight10 {
    width: 200px;
    height: 20px;
}
.LeftRight {
    height: 20px;
    width: 86px;
    overflow: hidden;
}


/*MORE SCREEN ACTIONS*/
.tformtitle {
    width: 280px;
    height: 20px;
    line-height: 20px;
    margin-left: 88px;
}

    .tformtitle span {
        min-width: 80px;
        display: inline-block;
    }

#tform {
    clear:right;
}
#totalnolabel {position:relative; }
#totalnolabel div { font-size: 12px; color: #ccc; position: absolute;}
.formrow {
    height: 32px;
    line-height: 32px;
    cursor: pointer;
}
    .formrow .firstval { width: 47px; color: #fff; display:inline-block; text-align: right; font-size: 12px; }
    .formrow label {
        display: inline-block;
        width: 110px;
        cursor: pointer;
        font-size: 11px;
        color: #ccc;
        margin: 0;
        padding: 0;
        white-space: nowrap;
    }
        .formrow label::before {
            font-family: "Font Awesome 6 Free";
            display: inline-block;
            width: 20px;
            font-size: 12px;
            font-style: normal;
            font-variant: normal;
            text-rendering: auto;
            font-weight: 900;
            -webkit-font-smoothing: antialiased;
            text-align: center;
        }

        .formrow .secondval {
            color: #ccffff;
            display: inline-block;
            font-size: 12px;
            min-width: 47px;
        }

        .formrow div span {
            color: #999;
            font-size: 11px;
        }
    .formrowval {
        display: inline-block;
        font-size: 12px;
    }
.formrowdisabled {opacity: 0.5; }
.formrowselected, .morebottomiconselected, .moretopiconselected {
    background-color: #333 !important;
}
#tcontrol, .morerightpanel {
    position: absolute;
    width: 0;
    height: 0;
    right: 0;
    top: 40px;
    width: 120px;
    height: calc(100% - 80px);
    z-index: 11;
    background-color: #333;
}

/*@media only screen and (orientation: landscape) {
    #tcontrol {
        left: 450px;
        bottom: auto;
        top: 20px;
    }
}*/

    #tcontrol div {
        display: block;
        font-size: 13px;
        width: 48px;
        height: 48px;
        line-height: 48px;
        margin: 2px;
        border-radius: 5px;
        text-align: center;
        letter-spacing: 1px;
        text-transform: uppercase;
        cursor: pointer;
        border: solid 1px #222;
        position: absolute;
        background-color: #111;
        color: #fff;
        background: linear-gradient(to bottom, #555 5%, #444 100%);
        transition: all 0.4s ease-in;
    }


.tc1:hover, .tc10:hover, .tc100:hover, .tc1000:hover {
    background: linear-gradient(to bottom, #129767 5%, #004608 100%);
}

.tc_1:hover, .tc_10:hover, .tc_100:hover, .tc_1000:hover {
    background: linear-gradient(to bottom, #a90329 5%, #6d0019 100%);
}

#tcontrol::before {
    font-family: "Font Awesome 6 Free";
    display: block;
    position: absolute;
    right: 7px;
    bottom: 114px;
    width: 54px;
    font-size: 18px;
    text-align: center;
    line-height: 54px;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
}

.leftright::before {
    bottom: 10px !important;
    right: 33px !important;
}

.tc_1 {
    bottom: 88px;
    right: 59px;
}

.tc1 {
    bottom: 140px;
    right: 59px;
}

.tc_100 {
    right: 7px;
    bottom: 62px;
}

.tc100 {
    bottom: 166px;
    right: 7px;
}

.tc_1000 {
    right: 7px;
    bottom: 10px;
}

.tc1000 {
    bottom: 218px;
    right: 7px;
}

.tc_10 {
    bottom: 36px;
    right: 59px;
}

.tc10 {
    bottom: 192px;
    right: 59px;
}



.leftright .tc_1 {
    bottom: 62px;
    right: 59px;
}

.leftright .tc1 {
    bottom: 62px;
    right: 7px;
}

.leftright .tc_100 {
    bottom: 166px;
    right: 59px;
}

.leftright .tc100 {
    bottom: 166px;
    right: 7px;
}

.leftright .tc_1000 {
    bottom: 218px;
    right: 59px;
}

.leftright .tc1000 {
    bottom: 218px;
    right: 7px;
}

.leftright .tc_10 {
    bottom: 114px;
    right: 59px;
}

.leftright .tc10 {
    bottom: 114px;
    right: 7px;
}


#sellsupplies {
    clear:both;
    padding: 3px;
}
    #sellsupplies::after {
        content: "";
        display: table;
        clear: both;
    }

#sellsupplies span { font-size: 11px; color: #999; }
/***UP-DOWN ARROWS***/
/*.UpDown1000 {
    width: 20px;
    height: 173px;
}
.UpDown100 {
    width: 20px;
    height: 133px;
}
.UpDown10 {
    width: 20px;
    height: 93px;
}
.UpDown {
    width: 20px;
    height: 45px;
    overflow: hidden;
}
.UpDown .uda { 
    margin: 0 0 5px 0;
}
.ups { 
    float: left;
    background-position: 0 0;
}
.downs { 
    float:left;
    background-position: -20px 0;
}
.ups:hover {
    background-position: -77px 0;
}
.downs:hover {
    background-position: -97px 0;
}
.udtext { 
    width: 20px;
    height: 13px;
    line-height: 13px;
    float: left;
    text-align: center;
    font-size: 11px;
    color: #fff;
}
.uda {
    width: 20px;
    height: 20px;
    background-image: url(/img/game/updownleftright.png);
    background-repeat: no-repeat;
    cursor: pointer;
}*/

.UpDown1000 {
    width: 176px;
    height: 93px;
}
.UpDown100 {
    width: 132px;
    height: 93px;
}
.UpDown10 {
    width: 88px;
    height: 93px;
}
.UpDown {
    width: 44px;
    height: 93px;
    overflow: hidden;
}
.ups { 
    height: 40px;        
}
.downs { 
    height: 40px;   
}
.ups .uda {
    background-position: 0 0;
}
.downs .uda {
    background-position: -20px 0;
}
.ups .udsac:hover .uda {
    background-position: -77px 0;
}
.downs .udsac:hover .uda {
    background-position: -97px 0;
}
.udtext { 
    height: 13px;
    line-height: 13px;
    text-align: center;
    font-size: 11px;
    color: #fff;
}
.ups .udsac {
    float: left;
}
.downs .udsac {
    float: right;
}
.udsac {
    width: 40px;
    height: 40px;  
    border: solid 1px #333;
    border-radius: 3px;
    margin: 1px;
}
.uda {
    width: 20px;
    height: 20px;
    margin: 10px;
    background-image: url(/img/game/updownleftright.png);
    background-repeat: no-repeat;
    cursor: pointer;
}

/***FONT-COLORS***/
.VeryBadText {
    color: #ff0404 !important;
}
.UnknownText {
    color: #ccc !important;
}
.BadText {
    color: #ff3333 !important;
}
.GoodText {
    color: #009999 !important;
}
.AllyText {
    color: #666699 !important;
}
.SubText {color: #999; }
.GreatText {
    color: #48b03d !important;
}
.NeutralText {
    color: yellow !important;
}
.WarnText {
    color: #ff6600 !important;
}

.CornerBorder {
    position: relative;
    background-color: #111;
    border: 1px solid #333366;
    margin: 0 0 5px 5px;
    padding: 5px;
    width: 100px;
}
    .CornerBorder:before {
        content: '';
        position: absolute;
        top: -1px;
        left: -1px;
        border: 1px solid #111;
        width: 112px;
        border-radius: 15px;
    }

.CornerBorderMed{
    height: 80px;
}
    .CornerBorderMed:before {
        height: 92px;
    }


/*.readyCheckBox {
    background-image:url(/img/game/threereadycheckspace.png);
    width:18px;
    height:30px;
    background-repeat: no-repeat;
    color:transparent;
}*/
/*#readyCheckBox {
    display: inline-block;
    width: 22px;
    height: 22px;
    background: #333;
    border-radius: 50%;
    transform: rotate(45deg);
    border: solid 1px #333;
    z-index: 13;
}

    #readyCheckBox:before {
        content: "";
        position: absolute;
        width: 3px;
        height: 11px;
        background-color: #00ff00;
        left: 11px;
        top: 5px;
    }

    #readyCheckBox:after {
        content: "";
        position: absolute;
        width: 5px;
        height: 3px;
        background-color: #00ff00;
        left: 7px;
        top: 13px;
    }
    .readyCheckBox0:after, .readyCheckBox0:before {
        display: none;
    }
    .readyCheckBox2 {
        border: solid 1px #00ff00 !important;
    }*/

.ClearFix::after {
    content: "";
    display: table;
    clear: both;
}

.childpane {
    height: 100%;
    box-sizing: border-box;
    width: calc(100% + 50px);
    overflow-y: scroll;
    overflow-x: hidden;
}
    .childpane::after {
        content: "";
        display: table;
        clear: both;
    }

#SelectLocation {
    outline: none;
    position: absolute;
    right: 0px;
    top: calc(100% - 330px);
    z-index: 15;
    color: #ccc !important;
    background-color: #000;
    border-left: solid 1px #444;
    /*border-top: solid 3px #222;
    box-shadow: 1px 1px 5px 0px rgba(100,100,100,1);*/
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    width: 120px;
    display: none;
    overflow: hidden;
    transform-origin: top right;
}
.mousepresent { right: 50px !important; border-right: solid 1px #444 !important; border-bottom-right-radius: 8px !important; }
.mousepresent.inmessaging {
    right: 390px !important;    
}

#ScanTitle {
    height: 40px;
    color: #fff;
    padding: 0;
    cursor: pointer;
    font-size: 11px;
    line-height: 15px;
    background: linear-gradient(to bottom, #444 5%, #222 100%);
    width: 120px;
}
#ScanTitle div { padding: 5px 0 0 3px; width: 200px; }
#ScanTitle span { font-size: 11px; color: #ccc; display:block; padding-left: 5px; }
/*.scantitle { font-size: 12px !important; margin-bottom: 3px !important; }*/
#ScanTitle div::before {
    font-family: "Font Awesome 6 Free";
    position: absolute;
    display: block;
    right: 3px;
    top: 5px;
    line-height: 15px;
    color: #ccc;
    font-size: 11px;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    content: "\f101";
}



.ItemSelection img {  
    position: absolute;
    right: 5px;
    top: 20px;
    width: 40px;
    height: 40px;
}
.ItemSelection .ItemTextWrap {
    margin-right: 50px;
}
/*.ItemSelection .sval { 
    position: absolute;
    right: 0;
    top: -20px;
}*/
.ItemSelection {
    position: relative;
    font-size: 11px;
    line-height: 15px;
    cursor: pointer;
    color: #ccc;
    float: left;
    background-color: #000;
    padding: 6px 0 4px 3px;
    min-height: 66px;
    border-bottom: solid 1px #222;
    width: 120px;
}
.NativeDesc { clear: left; display:block;}
.ItemSelection hr { margin: 0; height: 3px; border: none; clear: both; padding: 0;}
.surveyOnly {
    display: none;
}

/*.ItemSelection table {
    width: 220px;
}*/
.ItemTitle {

    color: #fff;
    margin: -7px -2px 5px -3px;
    padding: 0 5px 0 3px;
    height: 20px;
    line-height: 20px;
    overflow: hidden;
    background: linear-gradient(to bottom, #222 5%, #151515 100%);
}
.MyItem {
    /*background: linear-gradient(to bottom, #002200 5%, #111 100%) !important;*/
}
.EnemyItem, .EnemyObject .BoxTopTitle, .EnemyItem .ItemTitle {
    background: linear-gradient(to bottom, #440000 5%, #330000 100%) !important;
}
.AllyItem, .AllyObject .BoxTopTitle, .AllyItem .ItemTitle {
    background: linear-gradient(to bottom, #222244 5%, #111133 100%) !important;
}
.UnknownObject .BoxTopTitle {
    background: linear-gradient(to bottom, #222200 5%, #111100 100%) !important;
}
.UnknownItem {
    background: linear-gradient(to bottom, #222200 5%, #111100 100%) !important;
}
.SelectedItem {
    background: linear-gradient(to bottom, #002222 5%, #001111 100%) !important;
}
.ReportItemSelection img {
    width: 60px;
    height: 60px;
    border-radius: 7px;
}
.ReportItemSelection {
    clear: left;
    padding: 5px;
    border-bottom: solid 1px #999;
    font-size: 13px;
    line-height: 15px;
    cursor: pointer;
}

#Alerts {
    position: absolute;
    color: #cceeee;
    width: 240px;
    z-index: 9;
    right:0;
    left:0;
    margin: 0 auto 0 auto;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0, rgba(0, 60, 60, 0.8) 100%);
    background: linear-gradient(to bottom, #222 5%, #000 100%);
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    backdrop-filter: blur(6px);
}

.alertsconfirm {
    z-index: 1500 !important;
}

@media screen and (orientation:landscape) {
    #Alerts {
        left: auto;
        right: 80px;
    }

        #Alerts.inmessaging {
            right: 420px;
        }
}
.Task {
    height: 40px;
    line-height: 40px;
    font-size: 13px;
    padding: 0 10px 0 10px;
    margin: 1px 0 0 0;
    /*background-color: #222;*/
    cursor: pointer;
    
    /*background: linear-gradient(to bottom, #333 5%, #222 100%);
    background: linear-gradient(to bottom, #222 5%, #000 100%);*/
    border-bottom: solid 1px #333;
}
#TaskTitle {
    height: 40px;
    font-size: 26px;
    line-height: 44px;
    padding: 0 10px 0 10px;
    /*background-color: #222;*/
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    cursor: pointer;
    text-align: center;
    /*background: linear-gradient(to bottom, #333 5%, #222 100%);*/
    background: linear-gradient(to bottom, #333 5%, #222 100%);
    /*background-color: #222;*/
    width: 50px;
    margin: 0 auto 0 auto;
    position: absolute;
    top: -40px;
    right: calc(50% - 35px);
}
    #TaskTitle::before, .Task::before{
        content: "\f0ae";
        font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free";
        display: inline-block;
        width: 25px;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        font-weight: 900;
        color: #00ffff;
        -webkit-font-smoothing: antialiased;
        text-align: center;
    }
    #TaskTitle span{
        position: absolute;
        bottom: 4px;
        right: 2px;
        color: #fff;
        width: 14px;
        height: 14px;
        line-height: 14px;
        font-size: 10px;
        border: solid 1px #999;
        background: linear-gradient(to bottom, #222 5%, #111 100%);
        border-radius: 50%;
        opacity: 0.8;
        display:none;
    }
.combatplay, .combatpause, #MultiSimTools div {
    height: 30px;
    font-size: 16px;
    line-height: 40px;
    padding: 0 10px 0 10px;
    cursor: pointer;
    text-align: center;
    width: 30px;
    margin: 0 auto 0 auto;
    position: relative;
}
    .combatplay::before, .combatpause::before, #MultiSimTools div::before {
        font-family: "Font Awesome 6 Free";
        display: inline-block;
        width: 30px;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        font-weight: 900;
        color: #00ffff;
        -webkit-font-smoothing: antialiased;
        text-align: center;
    }
.combatplay::before {
    content: "\f04b";
}
.combatpause::before {
    content: "\f04c";
}

.reports, .warnings {
    height: 30px;
    font-size: 16px;
    line-height: 40px;
    padding: 0 10px 0 10px;
    cursor: pointer;
    text-align: center;
    width: 30px;
    margin: 0 auto 0 auto;
    position: relative;
}
.reports span, .warnings span {
        position: absolute;
        bottom: 2px;
        right: 6px;
        color: #fff;
        width: 14px;
        height: 14px;
        line-height: 14px;
        font-size: 10px;
        border: solid 1px #999;
        background: linear-gradient(to bottom, #222 5%, #111 100%);
        border-radius: 50%;
        opacity: 0.8;
}
.reports::before {
    content: "\f15c";
    font-family: "Font Awesome 6 Free";
    display: inline-block;
    width: 30px;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-weight: 900;
    color: #00ffff;
    -webkit-font-smoothing: antialiased;
    text-align: center;
}
.warnings::before {
    content: "\f071";
    font-family: "Font Awesome 6 Free";
    display: inline-block;
    width: 30px;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-weight: 900;
    color: yellow;
    -webkit-font-smoothing: antialiased;
    text-align: center;
}
    .reports::before {
        content: "\f15c";
        font-family: "Font Awesome 6 Free";
        display: inline-block;
        width: 30px;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        font-weight: 900;
        color: #00ffff;
        -webkit-font-smoothing: antialiased;
        text-align: center;
    }

    .warnings::before {
        content: "\f071";
        font-family: "Font Awesome 6 Free";
        display: inline-block;
        width: 30px;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        font-weight: 900;
        color: yellow;
        -webkit-font-smoothing: antialiased;
        text-align: center;
    }
div.report, div.warning, div.artifact {
    padding: 5px;
    color: #fff;
    border-bottom: 1px solid #999;
}
div.artifact span{
    color: #ccc;
}
.TasksUp {
    bottom: -1px;
}
.TasksDown {
    top: calc(100%);
}
.reportstask::before {
    content: "\f15c";
}
.infotask::before {
    content: "\f05a";
}
.helptask::before {
    content: "\f059";
}
.kin::before {
    content: "\f3bb";
}
.map::before {
    content: "\f279";
    color: #99ff99;
}
.idle::before {
    content: "\f017";
    color: #993300;
}
.demo::before, .demo2::before {
    content: "\f03d"; 
}
.settings::before {
    content: "\f013";
}
.endturn::before {
    content: "\f04e";
    color: #99ffff;
}
.endturnconfirm::before {
    content: "\f071";
    color: #ffff00;
}
.exit::before {
    content: "\f00d";
    color: #99ffff;
}
.checkmark::before {
    content: "\f00c";
    color: #00cc00;
}
.playtask::before {
    content: "\f04b";
    color: #00cc00;
}
.vcr::before {
    content: "\f071";
    color: #ffff00;
}
.Task::after {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    display: block;
    width: 30px;
    float: right;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-weight: 900;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    text-align: center;
}
.endturn::after, .endturnconfirm::after {
    content: "";
}
#CloneTech {
    position:absolute;
    left:160px;
    top: 0px;
}
/*@media screen and (orientation:portrait) {
    #SelectLocation .lval {
        line-height: 12px;
        font-size: 10px;
        width: 40px;
    }
    #SelectLocation .lval span {
        font-size: 9px;
    }
    #SelectLocation { left: 0; border: 0; width: 120px; height: 200px;  }
    #ScanTitle { display: none; }


    .ItemSelection img {
        position: absolute;
        width: 120px;
        height: 120px;
        left: 0;
        top: 0;
        opacity: 0.5;
    }

    .ItemSelection {
        position: relative;
        font-size: 10px;
        line-height: 12px;
        cursor: pointer;
        width: 120px;
        color: #ccc;
        float: left;
        background-color: #000;
        padding: 6px 0 4px 3px;
        min-height: 66px;
    }
    .ItemTitle { display: none;}


}*/

.leveldescription {
    color: white;
}
    .leveldescription span {
        display: block;
        color: #bbcccc
    }

#GameList {
    font-size: 16px;
    line-height: 24px;
}
#GameList td { padding: 10px 0 0 0; }
#GameList .ActionColumn {
    text-align: right;
}
#GameList .ColumnHeader {
    font-weight: bold;
    border-bottom: solid 1px #ccc;
}

#CreateGameWindow {
    
    width: 500px;
}
.GameButtons { text-align: center; padding: 10px; }




#PlanetsMap { 
    /*background-image: starbacking.jpg; */
    position: absolute;
    /*width: 4000px;
    height: 4000px;
    background-color: #000033;*/
}
#PlanetsMap canvas 
{
    
}

.MapHtmlCanvas {
    pointer-events: none;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
}

#MapScreenContainer * {
    pointer-events: auto;
}
#PlanetsImgCover {
    position: absolute;
    width: 4000px;
    height: 4000px;
    z-index: 2;
    background-image: url(/img/game/transparentbg.png);
}
#PaperDiv { 
    position: absolute;
    z-index: 3;
}

.maphelper {
    position: absolute;
    width: 40px;
    height: 20px;
    background-color: #999;
    color: #fff;
    cursor: pointer;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
}
#MapTip { 
    position: absolute;
    top: 100px;
    left: 250px;
    z-index: 4;
}
#mapbuttons {
    width: 0;
    height: 0;
    position:absolute;
    right: 0;
    top: 130px;
    z-index: 7;
    display:none; 
}
#mapbuttons.inmessaging { right: 340px; }

.mapbutton {
    border-radius: 50%;
    position: absolute;
    right: 10px;
    font-size: 13px;
    color: #fff;
    width: 30px;
    height: 30px;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    background-color: #333;
}
.mapbutton.toolactive {
    box-shadow: 0px 0px 0px 2px #0000ff;
}
    .mapbutton:hover {
        opacity: 1;
        /*box-shadow: 0px 0px 0px 2px #00cccc;*/
    }
    .mapbutton::before {
        content: "";
        font-family: "Font Awesome 6 Free";
        display: block;
        position: absolute;
        left:0;
        top:0;
        width: 30px;
        line-height: 30px;
        font-size: 14px;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        font-weight: 900;
        color: #00ffff;
        -webkit-font-smoothing: antialiased;
        text-align: center;
    }
    .mapbutton::after {
        content: "";
        display:block;
        position:absolute;
        left: -10px;
        top:-10px;
        width: 50px;
        height: 50px;
    }
    #todashboard{top:5px; z-index: 16; display:none; }
    #tomessaging {
        top: 50px;
        z-index: 16;
    }
    #tomultisim {
        top: 90px;
        z-index: 16;
    }
        #tomessaging span, #tomultisim span {
            position: absolute;
            top: -2px;
            right: -2px;
            color: #fff;
            width: 14px;
            height: 14px;
            line-height: 14px;
            font-size: 10px;
            border: solid 1px #999;
            background: linear-gradient(to bottom, #222 5%, #111 100%);
            border-radius: 50%;
            opacity: 0.8;
        }

        #todashboard.inmessaging, #tomessaging.inmessaging, #tomultisim.inmessaging {
            right: 350px;
        }
    

#todashboard::before {
    content: "\f077";
}

#tomessaging::before {
    content: "\f086";
}
#tomultisim::before {
    content: "\f6de";
}

#zoomout {
    bottom: 150px;
}
    #zoomout::before {
        content: "\f068";
    }

#zoombig {
    bottom: 250px;
}
    #zoombig::before {
        content: "\f0fe";
    }
.zoombigout::before {
    content: "\f146" !important;
}

#zoomin {
    bottom: 200px;
}
    #zoomin::before {
        content: "\f067";
    }

    #maptools::before {
        content: "\f142";
    }

.Measure::before {
    content: "\f545";
}
.Toggles::before {
    content: "\f205";
}
.ShowMinerals::before {
    content: "\f1c0";
}
.SettingsTool::before {
    content: "\f013";
}
.ViewToggles::before {
    content: "\f06e";
}
.ViewTools::before {
    content: "\f0ad";
}
.DrawTool::before {
    content: "\f303";
}
.Names::before {
    content: "\f02b";
}
.Search::before {
    content: "\f002";
}
.BattleSim::before {
    content: "\f6de";
}
.HypCircle::before {
    content: "\f192";
}
.ClearMap::before {
    content: "\f00d";
}
.MapToolsBack::before {
    content: "\f107";
}
.Connections::before {
    font-family: "Font Awesome 6 Brands" !important;
    content: "\f3b2";
}
.Combats::before {
    /*content: "\f666";*/
    content: "\f185";
}
.ShipScanRange::before {
    content: "\f2ce";
}
.ShipHistory::before {
    content: "\f5eb";
}
.Eraser::before {
    content: "\f12d";
}
.Audio::before {
    content: "\f028";
}
.UsePlanetPics::before, .UsePlanetPics_false::before {
    content: "\f57d";
}
.UsePlanetPics_true::before {
    content: "\f111";
}

.ShowWideGrid::before, .ShowWideGrid_false::before {
    content: "\f00a";
}

.ShowWideGrid_true::before {
    content: "\f111";
}
.EmptyMapButton {
    visibility: hidden;
    pointer-events: none;
}

.robot::before {
    content: "\f544";
}
.music::before {
    content: "\f001";
}
.sound::before {
    content: "\f0f3";
}
.mapbuttondisabled::before {
    color: #999 !important;
}

.Draw_circle::before {
    content: "\f111" !important;
    font-weight: normal !important;
}
.Draw_line::before {
    content: "\f5ee" !important;
}
.Draw_point::before {
    content: "\f05b" !important;
}
.Draw_text::before {
    content: "\f031" !important;
}
.Draw_edit::before {
    content: "\f044" !important;
}

.SetUIScale::before {
    content: "\f2d2" !important;
}

#OverlaySelectbar {
    width: 100%;
}
#OverlaySelectbar.selected, .DrawnItem.selected {
    background-color: #222;
}
#EditDrawnItem {
    position: absolute;
    top: 0px;
    right: 0px;
    height: 100%;
    width: 30px;
    text-align: right;
}
#EditDrawnItem::before {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    color: #00ffff;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    content: "\f044";
}
.DrawRightSideButton {
    width: 50px;
    height: 30px;
    border: 1px solid #333;
    color: #00ffff;
    line-height: 30px;
    text-align: center;
    font-size: 13px;
    margin-top: 5px;
}
.DrawingControl::before {
    border: 1px solid #666;
    border-collapse: collapse;
    font-family: "Font Awesome 6 Free";
    display: block;
    line-height: 30px;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-weight: 900;
    color: #00ffff;
    -webkit-font-smoothing: antialiased;
    text-align: center;
}

.DrawingControl.selected {
    background-color: #0000ff;
}

#mover {
    position: absolute;
    bottom: 280px;
    right: 0px;
    width: 127px;
    height: 127px;
    opacity: 0.4;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
    background-image:url(/img/ui/mover.png);
}
#mover:hover { opacity: 1; }
@media screen and (orientation:landscape) {
    #mover { bottom: 0; right: 340px; }
}

/***HOVER CONTENT***/
#PlanetsLoc {
    position: absolute;
    top: 48px;
    right: 10px;
    color: #fff;    
}
.ItemSelection_border{
	/*background-image:url(/img/game/backgroundBox.png);*/
}
.minCorrection{
    min-height: 30px !important;
}
.coordDisplay{
    font-size:12px; 
}
.enemyShipStyle{
    color: white;
}
.zoomDisplay {

    padding-left: 5px;
}
.titleSelectionBox {
    float: left;
    line-height: 9px;
    padding: 8px 9px 9px 10px;
}

.ItemSelectionBox {
    border-top: 1px solid #999999;
    clear: left;
    cursor: pointer;
    font-size: 11px;
    line-height: 14px !important;
    min-height: 0 !important;
    padding: 6px 8px 8px 10px;
}
.GoodTextNote{
    max-width: 200px;
    color: #009999;
}

/***FIND OBJECT***/
#FindObjectFeature {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background-color: #222;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    -moz-border-radius-bottomright: 10px 10px;
    -moz-border-radius-bottomleft: 10px 10px;
    -moz-border-radius-topright: 10px 10px;
    -moz-border-radius-topleft: 10px 10px;
    -webkit-border-bottom-right-radius: 10px 10px;
    -webkit-border-bottom-left-radius: 10px 10px;
    -webkit-border-top-right-radius: 10px 10px;
    -webkit-border-top-left-radius: 10px 10px;
    font-family: Arial;
    font-size: 13px;
    line-height: 18px;
    padding: 10px;
    top: 10px;
    display: none;
    position: absolute;
    right: 220px;
    color: white;
    z-index: 13;
    width: 280px;
    height: 100px;
    top: 30%;
    left: 50%;
    margin-left: -135px;
    margin-top: -26px;
    border: solid 3px #333;
    box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.75);
}
#ID-NameInputText {
	background-color: #555;
	width: 179px;
	color: white;
	margin-bottom: 10px;
	border: solid 1px #666;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-color: #666;
	border-right-color: #666;
	border-bottom-color: #666;
	border-left-color: #666;
}
#FindObjectFeatureTitle{
	font-family: Verdana,Arial;
	font-size: 11px;
	height: 22px;
	background-color: #444;
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	-moz-border-radius-bottomright: 10px 10px;
	-moz-border-radius-bottomleft: 10px 10px;
	-moz-border-radius-topright: 10px 10px;
	-moz-border-radius-topleft: 10px 10px;
	-webkit-border-bottom-right-radius: 10px 10px;
	-webkit-border-bottom-left-radius: 10px 10px;
	-webkit-border-top-right-radius: 10px 10px;
	-webkit-border-top-left-radius: 10px 10px;
	width: 150px;
	margin-bottom: 10px;
	text-align: center;
	line-height: 21px;
}
#FindObjectFeatureFindButton{
	float: right;
	text-align: center;
	width: 50px;
	border-radius: 5px 5px;
	-moz-border-radius: 5px 5px;
	-webkit-border-radius: 5px 5px;
	border-top-left-radius: 5px 5px;
	border-top-right-radius: 5px 5px;
	border-bottom-right-radius: 5px 5px;
	border-bottom-left-radius: 5px 5px;
	font-size: 11px;
	color: white;
	margin: 0 5px 0 5px;
	margin-top: 0px;
	margin-right: 5px;
	margin-bottom: 0px;
	margin-left: 5px;
	background-color: black;
	cursor: pointer;
}
#FindObjectFeatureFindButton a:hover{
	text-decoration: none;
	color: white;
}
#FindObjectFeatureFindButton a:hover{
	text-decoration: none;
	color: #35CDBD;
}
.FindRadioButtons{
	left: 135px;
	padding-bottom: 8px;
    position: relative;
}
#FindObjectFeatureCancelButton{
	float: right;
	text-align: center;
	width: 50px;
	border-radius: 5px 5px;
	-moz-border-radius: 5px 5px;
	-webkit-border-radius: 5px 5px;
	border-top-left-radius: 5px 5px;
	border-top-right-radius: 5px 5px;
	border-bottom-right-radius: 5px 5px;
	border-bottom-left-radius: 5px 5px;
	font-size: 11px;
	color: white;
	margin: 0 5px 0 5px;
	margin-top: 0px;
	margin-right: 5px;
	margin-bottom: 0px;
	margin-left: 5px;
	background-color: black;
	cursor: pointer;
}
#FindObjectFeatureCancelButton a:hover{
	text-decoration: none;
	color: white;
}
#FindObjectFeatureCancelButton a:hover{
	text-decoration: none;
	color: #35CDBD;
}
/*** MAP CONTROLS MENU ***/
#MapControls, #EditControls {
    display: none;
    position: absolute;
    right: 0px;
    z-index: 16;
    top: 130px;
}
#MapControls .mapbutton { 
    position: relative;
    margin-bottom: 10px;
}

#MapControls.inmessaging {
    right: 340px;
}

#ResourceTool {
    position: absolute;
    right: 40px;
    z-index: 16;
    top: 160px;
    width: 130px;
    height: 30px;
}

#MarkingTool {
    position: absolute;
    right: 40px;
    z-index: 16;
    top: 40px;
    width: 170px;
    height: 30px;
}
#AudioTool {
    position: absolute;
    right: 40px;
    z-index: 16;
    top: 160px;
    width: 170px;
    height: 30px;
}
#ViewTool {
    position: absolute;
    right: 40px;
    z-index: 16;
    top: 120px;
    width: 170px;
    height: 30px;
    transform: scaleY(-1);
}
#ViewTool .mapbutton {
    transform: scaleY(-1);
}
#ResourceTool .mapbutton, #AudioTool .mapbutton, #ViewTool .mapbutton, #MarkingTool .mapbutton {
    position: relative;
    margin-left: 10px;
    margin-bottom: 10px;
    float:right; 
}
/*#MapControls>div {
    line-height: 30px;
    color: #fff;
    width: 100px;
    float:left;
    cursor: pointer;
}*/
#EditControls {
    width: 320px !important;
}
#MapToolsMenu, #EditToolsMenu {
    float:right;
    clear: both;
    cursor: pointer;
    color: #999;
    margin: 0 10px 0 0;
    width: 35px;
    line-height: 30px;
    display:inline-block;
    text-align:center;
}


    /*MapTools li {
        border: dotted 1px #666;
        display: block;
        float: left;
        width: 90px;
        height: 30px;
        line-height: 30px;
        text-align: center;
        margin: 0 0 5px 5px;
        cursor: pointer;
        background-color: #333;
    }
    #MapTools li.selectedmaptool {
        background-color: #35CDBD;
    }*/

.PlanetName {
    position: absolute;
    z-index: 5;
    color: #ccc;
    font-size: 11px;
    line-height: 11px;
}
.VCRPin {
    position: absolute;
    z-index: 8;
    color: #ffff00;
    font-size: 40px;  
    background-image: url(/img/game/vcr.png);
    width: 40px;
    height: 40px;
    background-size: contain;
    cursor: pointer;
    pointer-events: auto;
}
    /*.VCRPin::before {
        content: "\f071";
        font-family: "Font Awesome 6 Free";
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        font-weight: 900;
        -webkit-font-smoothing: antialiased;
        text-align: center;
    }*/


.Pin {
    position: absolute;
    z-index: 9;
    color: #ccc;
    font-size: 12px;
    line-height: 13px;
    padding: 12px;
    background-color: #222;
    border: 1px #777 solid;
    border-radius: 20px;
    border-top-left-radius: 0px;
    width: 200px;
}
.CurrentPin {
    border: 1px #ff0 solid !important;
}
.SmallPin {
    width: auto;
}
.StoryPin {
    padding: 0px;
    border: 1px #ff0 solid;
    width: auto;
    cursor: pointer;
}
.TinyPin {
    padding: 0px;
    border: 1px #ccc solid;
    width: auto;
    cursor: pointer;
}
.PinFlag {
    border: 5px #990 solid;
    width: 20px;
    height: 20px;
    cursor: pointer;
    border-radius: 15px;
    border-top-left-radius: 0px;
    position: absolute;
    background-color: #099;
    transform-origin: 0px 0px;
    box-sizing: border-box;
}
.PinImage {
    height: 50px !important;
    width: 50px !important;
    /*position: absolute;*/
    z-index: 9;
    border-radius: 20px;
}
.StoryPinImage {
    height: 60px !important;
    width: 60px !important;
    border-radius: inherit;
    border-top-left-radius: inherit;
}
.PinIcon::before {
    display: block;
    font-family: "Font Awesome 6 Free";
    line-height: 40px !important;
    height: 40px !important;
    width: 40px !important;
    font-size: 28px !important;
    text-align: center;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-weight: 900;
    color: #ff6600;
    -webkit-font-smoothing: antialiased;
}
.TinyPin .PinIcon::before {
    line-height: 22px !important;
    height: 22px !important;
    width: 22px !important;
    font-size: 14px !important;
}
.PinFloatImage {
    float: left;
    padding-right: 10px;
    padding-bottom: 10px;
}
.AcademyResource {
    float: right;
    margin-right: 20px;
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 10px;
}

.mappin {
  position:relative;
  padding:15px;
  margin:1em 0 3em;
  color:#000;
  background:#f3961c; /* default background for browsers without gradient support */
  -webkit-border-radius:10px;
  -moz-border-radius:10px;
  border-radius:10px;
}

.pinicon_default::before {
    content: "\f15c";
}
.pinicon_combat::before {
    content: "\e4dc";
}
.pinicon_groundcombat::before {
    content: "\e4e9";
}
.pinicon_civilwar::before {
    content: "\fc58";
}
.pinicon_rioting::before {
    content: "\f556";
}
.pinicon_privateer::before {
    content: "\f714";
}
.pinicon_climatedeath::before {
    content: "\f2cb";
}

/* creates triangle */
.mappin:after {
  content:"";
  position:absolute;
  bottom:-15px; /* value = - border-top-width - border-bottom-width */
  left:50px; /* controls horizontal position */
  border-width:15px 15px 0; /* vary these values to change the angle of the vertex */
  border-style:solid;
  border-color:#f3961c transparent;
  /* reduce the damage in FF3.0 */
  display:block;
  width:0;
}

.HomeSectionUnlock {
    cursor: pointer;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.0);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: auto;
    text-align: center;
    padding: 10px;
    color: #666;
}/*#PlanetsContainer.Narrow .HullImg { 
    top: 75px;
    left: 145px;
    width: 250px;
}
#PlanetsContainer.Narrow .HullEngines { 
    width: 190px;
}
#PlanetsContainer.Narrow .HullBeams { 
    width: 200px;
    left: 290px;
    top: 50px;
}
#PlanetsContainer.Narrow .HullAux { 
    width: 200px;
    left: 290px;
    top: 250px;
}*/
/*#PlanetsContainer.Narrow .EngineBar,#PlanetsContainer.Narrow .EngineBarRed,#PlanetsContainer.Narrow #EngineLegend div {
    margin-left: 20px;
}*/
/*#PlanetsContainer.Narrow .BuyActions {
    width: 55px;
}
#PlanetsContainer.Narrow .BuyActions div {
    float: left;
    cursor: pointer;
    color: #2ab0a8;
    padding: 0 0 0 5px;
}
#PlanetsContainer.Narrow #MoreScreen {
    padding: 5px 10px 10px 5px;
}*/
i.inline::before {
    display: inline-block;
}
.SelectBox:hover {
    box-shadow: 0px 0px 0px 2px #00cccc;
}
.SelectedBox {
    box-shadow: 0px 0px 0px 2px #00ffff;
}
.GreenBox {
    background-color: #99ff99;
    color: #006600;
}
.RedBox {
    background-color: #ffcccc;
    color: #660000;
}
.OrangeBox {
    background-color: #ffcc66;
    color: #cc3300;
}
.planet {
    width: 30px;
    height: 30px;
    background-color: #333;
    border-radius: 50%;
    position:absolute;
    left: 0;
    top: 0;
    z-index: 10;
    display:none;
}

.planetring {
    width: 230px;
    height: 230px;
    border-radius: 50%;
    border: dotted 1px #222;
    position: absolute;
    left: -40px;
    top: -40px;
}
.allocitem {
    float: left;
    width: 50%;
    height: 17px;
    white-space: nowrap;
}
.buildpoddesc {
    position: absolute;
    left: 0px;
    bottom: 0px;
}
.sval {
    float: right;
    font-size: 12px;
    color: #ccffcc;
}

    .sval::before {
        content: "";
        font-family: "Font Awesome 6 Free";
        display: inline-block;
        width: 12px;
        margin: 0 2px 0 0;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        font-weight: 900;
        color: #999;
        -webkit-font-smoothing: antialiased;
        text-align: center;
    }

.workers {
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    white-space: nowrap;
    overflow-x: hidden;
}
.workers::before {
    font-family: "Font Awesome 6 Free";
    display: inline-block;
    width: 20px;
    font-weight: 900;  /* Or FontAwesome won't have the chars */
    text-align: center;
}

.lval {
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    position: relative;
    font-family: arial;
    min-width: 160px;
    margin-right: 10px;
}
    .lval::before {
        content: "";
        font-family: "Font Awesome 6 Free";
        display: inline-block;
        width: 17px;
        margin-right: 3px;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        font-weight: 900;
        color: #999;
        -webkit-font-smoothing: antialiased;
        text-align: center;
    }
.lval>span {  position: absolute; left: 55px;font-size: 10px; color: #999;top:0; white-space:pre; }
.lval>span>span { position: absolute; left: 32px; top: 0; }
.lval b { display:none; font-weight: normal; font-size: 11px; width: 80px; color: #999; text-transform: capitalize;}
.lval b::after { content: ":"; }
.lval label { font-weight: normal;font-size: 11px; color: #999; padding: 0;margin:0;display:inline;}
.tval {
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    position: relative;
    font-family: arial;
    float: left;
    text-align: center;
    width: 38px;
    padding-top: 30px;
    background-color: #222;
    white-space: nowrap;
}

    .tval::before {
        content: "";
        font-family: "Font Awesome 6 Free";
        display: block;
        position: absolute;
        width: 38px;
        top: 0;        
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        font-weight: 900;
        color: #00ffff;
        -webkit-font-smoothing: antialiased;
        text-align: center;
    }

    .tval span {
        position: absolute;
        display:none;
        top: 15px;
        font-size: 10px;
        color: #999;
        display:block;
        width:38px;
        left: 0;
        letter-spacing: 1px;
    }


.vval {
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    position: relative;
    font-family: arial;
    float: left;
    text-align: right;
    width: 40px;
    padding-right: 80px;
    white-space: nowrap;
}

    .vval::before {
        content: "";
        font-family: "Font Awesome 6 Free";
        display: block;
        position: absolute;
        width: 14px;
        left: 44px;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        font-weight: 900;
        color: #00ffff;
        -webkit-font-smoothing: antialiased;
        text-align:center;
    }

    .vval>span {
        position:absolute;
        right:-30px;
        font-size: 10px;
        color: #999;
        display: inline-block;
        width: 88px;
        text-align: left;
    }
    .vval>span>i {
        color: #666;
    }

.mval {
    font-size: 10px;
    line-height: 10px;
    white-space: nowrap;
    color: #fff;
}

.mval::before {
    content: "";
    font-family: "Font Awesome 6 Free";
    display: inline-block;
    width: 12px;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    margin-right: 2px;
}

.ival {
    font-size: 12px;
    line-height: 12px;
    white-space: nowrap;
}

.ival::before {
    font-family: "Font Awesome 6 Free";
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    min-width:15px;
    text-align:center;
    /*margin-right: 2px;*/
}

.ival b {
    display: inline-block;
    font-weight: normal;
    color: #999;
    text-transform: capitalize;
    margin: 0 5px 0 5px;
}

.ival b::after {
    content: ":";
}

.faicon::before {
    content: "";
    font-family: "Font Awesome 6 Free";
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    text-align: center;
}
.objtitle {    
    font-size: 12px;
    height: 20px;
    padding: 0 0 0 5px;
}



.total::before, .noicon::before, .nocolon::after {
    content: "" !important;
}

.planeticon::before {
    content: "\f57d";
}

.shipicon::before {
    content: "\f197";
}

.starbaseicon::before {
    content: "\f7bf";
}

.starbase::before {
    color: #99cccc;
    content: "\f7bf";
}

.buildings::before {
    color: #ffcc00;
    content: "\f494";
}

.mines::before {
    color: #ffcc00;
    content: "\f275";
    content: "\f664";
}

.factories::before {
    color: #ffcc00;
    content: "\f1b2";
    content: "\f64f";
    content: "\f275";
}

.defense::before {
    color: #ffcc00;
    content: "\f5a6";
    content: "\f05b";
}

.starbasedefense::before {
    color: #ff9900;
    content: "\f5a6";
    content: "\f05b";
}
.techlevels::before {
    content: "\f080";
}
.advantage::before {
    color: #999;
    content: "\f0d0";
}

.shield::before {
    color: #669999;
    content: "\f3ed";
}

.fcv::before {
    color: #993300;
    /*content: "\f519";*/
    content: "\f1eb";
}

.cargo::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 600;
    color: #999999;
    content: "\f1b2";
}

.devlevel::before, .developmentlevel::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 600;
    color: #999999;
    content: "\f012";
}

.mc::before, .megacredits::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 600;
    color: #99ff99;
    content: "\f155";
}

.gigacredits::before {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 100;
    color: #33ff33;
    content: "\f260";
}
.achievement::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 100;
    color: #ffd700;
    content: "\f005";
}

.supplies::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 600;
    color: #99ff99;
    content: "\f1b3";
}
.sellsupplies::before, .Suppliesbar::before, .StarbaseSuppliesbar::before, .ssup::before, .ssupplies::before {
    font-family: "Font Awesome 6 Free" !important;
    color: #99ff99;
    content: "\f1b3\f155";
    letter-spacing: 1px;
}
.tax::before, .nativetax::before {
    content: "\f541";
    color: #ccc;
}
.resting::before, .harvest::before, .mining::before, .burrowing::before, .liquify::before, .terraforming::before {
    content: "\f541";
    color: #ccc;
}
.minerals::before {
    font-family: "Font Awesome 6 Free" !important;
    content: "\f2a1";
    color: #00ffff;
}
.neu::before, .neutronium::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    content: "\f7e4";
    color: #ccffff;
}

.dur::before, .duranium::before {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 900;
    color: #00ffff;
    content: "\f399";
}

.tri::before, .tritanium::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    color: #00ffff;
    content: "\f037";
    display: inline-block;
    transform: rotate(180deg);
}

.mol::before, .molybdenum::before {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 900;
    color: #00ffff;
    content: "\f3cb";
}
.transfer::before {
    color: #ccffff;
    content: "\f362";
}
.hot {
    color: #ff3300;
}
    .hot::before {
        color: #ff3300;
        margin: 0;
        content: "\f2c7";
    }
.warm {
    color: #996600;
}
    .warm::before {
        color: #996600;
        margin: 0;
        content: "\f2c8";
    }
.temperate {
    color: #009999;
}
    .temperate::before {
        color: #009999;
        margin: 0;
        content: "\f2c9";
    }
.cool {
    color: #669999;
}
    .cool::before {
        color: #669999;
        margin: 0;
        content: "\f2ca";
    }
.cold {
    color: #fff;
}
    .cold::before {
        color: #fff;
        margin: 0;
        content: "\f2cb";
    }
.therm::before {
    color: #669999;
    margin: 0;
    content: "\f2c9";
}

.automationicon::before {
    content: "\f544" !important;
}
.automationicon.automationon::before {
    color: #48b03d !important;
}


.clanscapacity::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #ff9900;
    content: "\e591";
}
.clans::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #ff9900;
    content: "\f0c0";
}
.hulltech::before, .shipsat::before {
    color: #669999;
    content: "\f197";
}
.enginetech::before {
    color: #669999;
    font-family: "Font Awesome 6 Brands" !important;
    content: "\f2dd";
}
.beamtech::before {
    font-family: "Font Awesome 6 Brands" !important;
    color: #669999;
    content: "\f50d";
}
.torptech::before {
    font-family: "Font Awesome 6 Brands" !important;
    color: #669999;
    content: "\f2b0";
}
.torpedo::before, .torp1::before, .torp2::before, .torp3::before, .torp4::before, .torp5::before, .torp6::before, .torp7::before, .torp8::before, .torp9::before, .torp10::before, .torp11::before {
    font-family: "Font Awesome 6 Brands" !important;
    color: #ff9900;
    content: "\f1d1";
}
.fighters::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 600;
    color: #ff9900;
    content: "\f0fb";
}
.warp::before {
    color: #ccffff;
    content: "\f22c";
    content: "\f1ce";
    content: "\f3c5";
    transform: rotate(90deg);
}
.fuelneed::before {
    color: #ccffff;
    content: "\f46a";
}
.arrival::before {
    color: #ccffff;
    content: "\f017";
}
.arrival { width: 40px; }
.enemy::before {
    color: #993300;
    content: "\f556";
}
.mission::before {
    color: #993300;
    content: "\f124";
}
.crew::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 600;
    color: #339933;
    content: "\f4fb";    
}
.proto::before {
    color: #c111c1;
    content: "\f67b";
}
.damage::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 600;
    color: #ff3300;
    content: "\f071";
}
.clone::before {
    color: #339933;
    content: "\f46c";
}
.riots::before {
    color: #ff3300;
    content: "\f071";
}
.civilwar::before {
    color: #ff3300;
    content: "\f071";
}
.cloak::before {
    color: #009999;
    content: "\f070";
    content: "\f2a8";
}
.special::before {
    color: #cc6600;
    content: "\f152";
}
.ionstorm::before {
    color: #ffff00;
    content: "\f0e7";
}
.radiation::before {
    color: #ff9900;
    content: "\f7ba";
}
.visibility::before {
    color: #00cc66;
    content: "\f06e";
}

.beammission i {
    color: #fff;
    font-size: 20px;
    vertical-align: middle;
}

.burrow::before {
    font-family: "Font Awesome 6 Brands" !important;
    color: #ccc;
    content: "\f459";
}

.larva::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #ccc;
    content: "\f188";
}


.cols::before, .coltaxrate::before {
    color: #ff9900;
    content: "\f0c0";
}
.natives::before, .nativetaxrate::before, .nativeclans::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #a000a0;
    content: "\f0c0";
}
.food::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #a000a0;
    content: "\f6d7";
}
.nhap::before {
    color: #ccc;
    content: "\f118";
}
.chap::before {
    color: #ccc;
    content: "\f118";
}
.happy::before {
    color: #ccffcc;
    content: "\f580";
}
.neutral::before {
    color: #ccc;
    content: "\f11a";
}
.unhappy::before {
    color: #ff6633;
    content: "\f119";
}
.angry::before {
    color: #ff3300;
    content: "\f556";
}


.engine, .beam, .torp, .bay {
    position: relative;
    font-size: 10px;
    font-family: arial;
    color: #ccffff;
    text-align: center;
    width: 30px;
    line-height: 30px;
    display: inline-block;
    margin: auto auto;
}

    .engine::before, .beam::before, .torp::before, .bay::before {
        position: absolute;
        font-family: "Font Awesome 6 Free";
        display: block;
        float: right;
        font-size: 30px;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        font-weight: 900;
        -webkit-font-smoothing: antialiased;
    }
    .engine::before {
        font-family: "Font Awesome 6 Brands" !important;
        color: #ccffff;
        content: "\f3db";
        content: "\f2dd";
    }

.part1 { transform: scale(0.2, 0.2); }
.part2 { transform: scale(0.3, 0.3); }
.part3 { transform: scale(0.4, 0.4); }
.part4 { transform: scale(0.4, 0.4); }
.part5 { transform: scale(0.5, 0.5); }
.part6 { transform: scale(0.6, 0.6); }
.part7 { transform: scale(0.7, 0.7); }
.part8 { transform: scale(0.8, 0.8); }
.part9 { transform: scale(0.9, 0.9); }
/*.part1::before, .part2::before, .part3::before, .part4::before {
    color: #cc99ff;
}
.part5::before, .part6::before, .part7::before {
    color: #ccccff;
}*/

.hull::before {
    font-family: "Font Awesome 6 Free" !important;
    content: "\f135";
    color: #7bb;
}
.eng::before {
    color: #669999
}
.eng::before {
    font-family: "Font Awesome 6 Brands" !important;
    content: "\f2dd";
}
.torp::before {
    font-family: "Font Awesome 6 Brands" !important;
    content: "\f2b0";
}
.quantumtorp::before {
    font-family: "Font Awesome 6 Brands" !important;
    content: "\f50a" !important;
}
.launcher {
    color: #669999
}
    .launcher::before {
        font-family: "Font Awesome 6 Brands" !important;
        color: #669999;
        content: "\f2b0";
    }
.beam::before {
    font-family: "Font Awesome 6 Brands" !important;
    content: "\f50d";
}
.beamweapon {
    color: #669999
}
    .beamweapon::before {
        font-family: "Font Awesome 6 Brands" !important;
        color: #669999;
        content: "\f50d";
    }
.bay::before {
    color: #ccffff;
    content: "\f0c8";
}
.fighterbay {
    color: #669999
}
.fighterbay::before {
    color: #669999;
    content: "\f0c8";
}

.combatmass::before, .hullmass::before, .totalmass::before {
    color: #669999;
    content: "\f496";
}

.location::before, .waypoint::before, .nextturnloc::before {
    color: #993300;
    content: "\f1e0";
}

.experience::before {
    color: #66cc66;
    content: "\f5a2";
}

.notes::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 600;
    color: #99cccc;
    content: "\f044";
}

.tantrumcharge {
    color: #669999
}
    .tantrumcharge::before {
        font-family: "Font Awesome 6 Free" !important;
        color: yellow;
        content: "\f0e7";
    }
.showdefense .fighters { color: #669999; }
.showdefense .fighters::before, .buildpoddesc .fighters::before { color: #669999; }

.esmall {
    font-size: 11px;
    width: 19px;
    line-height: 19px;
}

    .esmall::before {
        font-size: 19px;
    }

.LeftBox {
    width: 120px;
    /*border-right: solid 2px #222;*/
    /*border-bottom: solid 2px #222;*/
    /*border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;*/
    padding-top: 4px;
    padding-bottom: 4px;
    position: relative;
    /*background: linear-gradient(to bottom, #333 5%, #000 100%);*/
}
    .LeftBox::after {
        content: "";
        display: block;
        clear: both;

    }
.buttonoverlay {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    background-color: #006600;
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    text-align: center;
    width: 100px;
    height: 30px;
    line-height: 30px;
    background: linear-gradient(to bottom, #006600 5%, #003300 100%);
    z-index: 40;
}
/*.LeftBox:hover .buttonoverlay { display: block; }*/

#BuildScreen {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: #111;
    border-right: solid 2px #222;
    border-top: solid 2px #222;
    border-bottom: solid 2px #222;
    padding: 4px 0 2px 0;
    width: 185px;
}

/*#BuildScreen .subscreentitle {
    position:relative;
    left: -65px;
    z-index: 15;
}*/
#MoneyData { padding: 9px 0 9px 0; }
#MiningData div, #MoneyData div {
    height: 20px;
    line-height: 20px;
    padding: 0 0 0 5px;
    font-size: 11px;
    color: #999;
}
#MiningData div span, #MoneyData div span {
    display: inline-block;
    width: 80px;
    color: #ccc;
}
#SpaceDock { 
    width: 320px;
    height: 335px;
    position: relative;
}
#SpaceDockbar {
    position: absolute;
    left: 140px;
    top: 0;
    /*border-top-right-radius: 10px;
    border-bottom-right-radius: 0px;*/
    width: 100px;
    height: 140px;
    /*border-right: solid 2px #222;
    border-top: solid 2px #222;*/
    border-bottom: 0;
    z-index: 12;
    margin: 0;
    padding: 0;
}
#Friendlybar {
    position: absolute;
    bottom: 6px;
    left: 140px;
}
#PodLaunchbar { position: absolute; bottom: 0; left: 0; width: 240px; }
#PodWarpbar {
    position: absolute;
    bottom: 0px;
    right: 0;
    width: 160px;
    padding: 0;
}

#Colonybar {
    position: absolute;
    width: 140px;
    left: 100px;
    top: 0;
}
    #Colonybar .vval, #NativeColonybar .vval {
        width: 62px;
    }
        #Colonybar .vval::before, #NativeColonybar .vval::before {
            left: 66px;
        }
#NativeColonybar {
    position: absolute;
    width: 140px;
    left: 100px;
    top: 68px;
}

.CornerImg {
    height: 0;
    width: 0px;
    background-position: center center;
    background-size: auto 200px;
    float: left;
}

#Ordersbar {
    left: 120px;
    bottom: 21px;
    position: absolute;
}
    #Ordersbar .lval { width: 150px; }
    #StarbaseDefensebar {
        position: absolute;
        left: 70px;
        top: 0px;
    }
#BuildTorpsbar {
    position: absolute;
    left: 70px;
    top: 75px;
}
#StarbaseFriendlybar {
    position: absolute;
    left: 120px;
    bottom: -4px;
}
#Resourcesbar .vval { padding-right:90px; }
    #Resourcesbar .vval > span {
        width: 68px;
    }
        #Resourcesbar .vval > span div {
            width: 30px;
            display: inline-block;
        }
.nativetype {
    font-size: 11px;
    color: #999;
}
#coltaxrate { margin-bottom: 8px; }
#coltaxrate::after {
    content: "";
    display: block;
    clear: both;
}
#nativetaxrate::after {
    content: "";
    display: block;
    clear: both;
}

.showmines, .showfactories, .showdefense .showstarbasedefense { display:none; }

.squeeze #Ammobar .lval, .squeeze #Suppliesbar .lval, .squeeze #Cargobar .lval {
    line-height: 18px !important;
}
/*.squeeze #Ammobar, .squeeze #Suppliesbar, .squeeze #Cargobar {
    padding-top: 2px;
    padding-bottom: 2px;
}*/
.MoreTitle .mainTitle {
    padding: 4px 0 0 0;
    line-height: 16px;
}
.MoreTitle .subTitle {
    font-size: 11px;
    line-height: 16px;
    color: #888;
}

.scRow {
    display: grid;
    align-items: center;
    padding: 2ex 0 2ex 1ex;
    border-left: solid 5px transparent;
}

    .scoring .fin {
        height: 100px;
    }

    .scoring .finTrophy {
        float: right;
        height: 100px;
        padding-right: 10px;
    }

    .scoring .finTitle {
        font-size: 18px;
        color: white;
        padding: 20px;
    }
    .scoring .finText {
        padding: 0 20px;
    }

    .scRow.blocked {    
        border-left: solid 5px #840;
    }

    .scRow.friendly {
        border-left: solid 5px #025;
    }

    .scRow.shareIntel {
        border-left: solid 5px #048;
    }

    .scRow.allied {
        border-left: solid 5px #06b;
    }

    .scoringHeader {
        width: calc(100% - 100px);
        position: absolute;
        right: 0;
        height: 40px;
        padding: 0;
        color: grey;
    }

        .scoringHeader .indicator {
            height: 40px;
            line-height: 40px;
        }

        .scoringHeader .sorter {
            text-align: center;
            position: relative;
            display: grid;
        }

        .scoringHeader .active {
            color: grey;
        }

        .scoringHeader .caret {
            position: absolute;
            bottom: 3px;
            width: 100%;
        }

    .scoring .image {
        width: 40px;
        height: 40px;

        background-size: cover;
        background-position: center center;
        border-radius: 50%;
    }

    .scoring .ident {
        display: grid;
        grid-template-columns: auto;
        overflow-x: hidden;

        margin-left: 1.5ex;
    }

        .scoring .ident .raceName, .scoring .ident .team {
            font-size: 120%;
            white-space: nowrap;
            color: white;
        }

        .scoring .ident .extraName {
            white-space: nowrap;
        }

    .scoring .score {
        text-align: right;
        font-weight: bold;
    }
    .scoring .majorScore {
        font-size: 160%;
        color: white;
    }

    .scoring .minorScoreChange {
        font-size: 75%;
    }

.plChPositive {
    color: #4f4;
}
.plChNegative {
    color: #f44;
}

.scFooterRow {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 0 5px 0 5px;
        
}
    .scFooterRow .nowrap {
        white-space: nowrap;
    }

    .scFooterRow .total {
        color: #666;
    }

.playerUI {
    padding: 0 1em;
    display: grid;
    grid-template-columns: auto;
    row-gap: 1em;
    place-items: center;
}

.playerUI .avatar {
    display: inline-block;
    width: 50vw;
    height: 50vw;
    max-width: 380px;
    max-height: 380px;

    background-size: cover;
    background-position: center center;
    border-radius: 5%;
}

    .playerUI .scores {
        display: grid;
        grid-template-columns: auto auto auto auto;
        row-gap: 0.5ex;
        column-gap: 0.5ex;
        align-items: center;  /* vertical */
        place-content: stretch stretch;  /* hor ver */
    }

    .playerUI .score {
        display: inline-block;
        font-size: 140%;
        text-align: right;
        color: white;
    }

    .playerUI .scoreChange {
        text-align: right;
    }

    .playerUI .scoreLabel {
    }

    .playerUI .alliance {
        display: grid;
        grid-template-columns: 80px auto 80px;
        column-gap: 0.5ex;
        align-items: center;  /* vertical */
        place-content: stretch stretch;  /* hor ver */
    }

    .alliance.blocked {
        background-color: #310;
    }

    .alliance.friendly {
        background-color: #013;
    }

    .alliance.shareIntel {
        background-color: #024;
    }

    .alliance.allied {
        background-color: #036;
    }

    .playerUI .given {
        width: 80px;
        height: 80px
    }

    .playerUI .text {
        text-align: center;
    }

    .playerUI .received {
        width: 80px;
        height: 80px;
    }

.diplomacyUI {
}

    .diplomacyUI .diplLevel {
        display: grid;
        grid-template-columns: auto auto;
        column-gap: 0.5ex;
        padding: 0.5ex 0;
    }

    .diplomacyUI .currentLevel {
        background-color: #226;
    }

    .diplomacyUI .diplLevel:hover {
        background-color: #114;
    }

    .diplomacyUI .diplIcon {
        width: 60px;
        height: 60px;
        grid-area: 1 / 1 / 3 / 2;
    }

    .diplomacyUI .diplLabel {
        color: white;
    }

    .diplomacyUI .diplDescr {
        font-size: 10px;
        line-height: 12px
    }

.bottomAsStatus {
    padding-top: 0.5ex;
    padding: 2px 1ex;
    line-height: 11px;  /* to make 3 lines fit in the bottom bar */
}
/*#egames {
    background: linear-gradient(to bottom, rgba(52,60,60,1) 0, rgba(26,30,30,1) 100px);
    border-radius: 5px;
}*/
/*.egamedescription {
    padding: 20px;
    line-height: 20px;
}

    .egamedescription::after {
        content: '';
        clear: both;
        display: block;
    }

    .egamedescription img {
        width: 60px;
        height: 60px;
        float: left;
        margin: 0 10px 0 0;
    }

    .egamedescription a {
        font-size: 14px;
        font-family: Oxanium;
    }

    .egamedescription span {
        display: block;
        font-size: 12px;
        color: #999;
    }

        .egamedescription span b {
            color: #fff;
            font-weight: normal;
        }


.egamedescription {
    vertical-align: top;
}*/

/*#egames .egamedescription a  {
    font-size: 14px;
    margin: 0 0 5px 0;
}
#egames .egamedescription span {
    display: block;
    font-size: 12px;
    line-height: 18px;
    color: #999;
}*/


.racepick, .mappick {
    cursor: pointer;
    line-height: 30px;
}/*#Movement {
    position: absolute;
    bottom: 0;
}
#FuelStatus, #WarpStatus, #FuelNeeded, #ArrivalStatus{
    float: left;
    height: 30px;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}
#FuelStatus { width: 80px; }
#WarpStatus {
    width: 40px;
    margin: 0 0 0 2px;
}
#FuelNeeded {
    width: 40px;
    margin: 0 0 0 2px;
}
#ArrivalStatus { width: 80px; margin: 0 0 0 2px; }
.BoxStatus {
    text-align: center;
    color: #000;
    font-size: 11px;
    line-height: 14px;
}
.BoxVal {
    text-align:center;
    font-size: 12px;
    line-height: 16px;
}
.BoxVal span { font-size: 10px }*/


#Warpbar {
     position:absolute;
      left: 88px;
      bottom: 0px;
      width: 160px;
      padding: 0;
}
#Warpbar .GreenBox {
    background-color: #003300; 
    color: #99ff99;
}

#Warpbar .RedBox {
    background-color: #330000;
    color: #ff3300;
    font-weight: bold;
}

#Warpbar .OrangeBox {
    color: #ffff00;
    background-color: #333300;
}
/*#ShipOrdersbar { font-size: 11px; color: #99ff99; }
#ShipOrdersbar label {
    width: 65px;
    padding: 0 0 0 5px;
    color: #999;
}
#ShipOrdersbar span { color: #666; }*/
#Ammobar, #Cargobar, #Suppliesbar, #Buildingsbar, #Resourcesbar { padding-left: 2px; }
#ShipStatusbar {
    position: absolute;
    top: 0px;
    left: 100px;
}
#ShipStatusbar .lval {line-height: 14px; }
    #ShipStatusbar .lval span {
        width: 100px;
        margin: 0;
        left: 20px;
    }
#MovementDetailsbar {
    width: auto;
}
/*Reverse warpbar and shipstatus when in landscape*/
/*@media screen and (orientation:landscape) {
    #Warpbar { bottom: 0px; top: auto; }
    #ShipStatusbar {top: 0px; bottom: auto; }
}*/
#Buildingsbar .lval > span >span {
    left: 25px;
}
#Missionbar {
    position: absolute;
    left: 100px;
    top: 56px;
}
#Enemybar {
    position: absolute;
    left: 100px;
    top: 86px;
    height: 30px;
    overflow: hidden;
    width: 140px;
}
/*#Missionbar .lval, #Enemybar .lval { width: 300px; }*/
    #Missionbar .lval span, #Enemybar .lval span, #Ordersbar .lval span {                
        position: absolute;
        left: 20px !important;
        top: 13px;
    }


#ShipFriendlybar {
    position: absolute;
    top: 116px;
    left: 100px;
}
#ShipSpecialbar {
    position: absolute;
    top: 116px;
    left: 150px;
    border: dotted 1px #333;
    width: 105px;
}
.speciallight {
    border: solid 1px #003300 !important;
    background-color: #003300;
}
    .speciallight .lval {
        color: #99ff99 !important;
    }
.speciallight .special::before {
    content: "" !important;
}
.jettison {
    font-size: 16px;
    text-align: center;
    color: #ffff00;
    font-weight: bold;
    line-height: 60px;
}

.Assessment { float: right; padding-right: 8px; color: #ffff00; }#Resourcesbar.InSpacedock{
    background: none;
    border: 0;
}

#BuildShipData {
    position:absolute;
    right: 0px;
    top: 0px;
    width: 120px;
}
#BuildShipData div {
    border-bottom: solid 1px #555;
    text-align:center;
    color: #99ff99;
    height: 39px;
    cursor: pointer;
}
#BuildShipData div span {
    display:block;
    color: #fff;
    font-size: 11px;
}
#BuildShipData.IsBuilding{
    opacity: 0.5;
}
#BuildBox {
    position: relative;
    float: left;
    background-color: #000;
    width: 200px;
    height: 200px;
}
#BuildShipPic {
    height: 100px;
    width: 100px;
    float: right;
    background-image: url("https://mobile.planets.nu/img/game/starbacking.jpg");
    border: solid 1px #222;
}
#NoBuildYet {
    position: absolute;
    top: 35px;
    border-radius: 12px;
    background-color: #006600;
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    text-align: center;
    width: 80px;
    height: 30px;
    margin-left: 10px;
    line-height: 30px;
    background: linear-gradient(to bottom, #006600 5%, #003300 100%);
}
#StarbaseClone {
    position: absolute;
    top: 85px;
    background-color: rgba(17, 17, 17, 0.9);
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    text-align: center;
    width: 98px;
    height: 15px;
    line-height: 15px;
}
#StarbaseCloneWarn {
    position: absolute;
    top: -5px;
    right: -5px;
    height: 20px;
    width: 20px;
    line-height: 20px;
    padding: 5px;
}

#BuildShipHulls {overflow: hidden;}
#SpacedockData { width: 100px; float:left; }
#SpacedockData span {
    display:block;
    overflow:hidden;
    height: 12px;
    line-height: 12px;
    color: #99ff99;
    font-size: 10px;
}
#BuildPartName {
    position: absolute;
    left: 0;
    top: 200px;
    font-size: 13px;
    padding-left: 5px;
    color: #fff;
}

#BuildPartCost .lval span {
    position: absolute;
    left: 3px !important;
    top: 17px;
}

#BuildPartCost {
    position:absolute;
    right: -5px;
    top: 202px;
    font-size: 11px;
    color: #999;
    width: 65px;
}
.partcost {
    position:absolute;
    left: -55px;
    top: 0;
}

#BuildPartCost .lval {
    width: 100px
}
#BuildPartInfo {
    position: absolute;
    top: 220px;
    width: 195px;
    height: 90px;
    line-height: 15px;
    font-size: 11px;
    padding: 0 5px 0 5px;
}
    .BuildPartProp {
        width: 90px;
        float: left;
    }
        .BuildPartProp label {
            width: 50px;
            margin: 0;
        }
        .BuildPartProp span {
            color: #00ffff;
        }

#BuildPartSpecial { clear: left; padding-top: 1px; line-height: 13px; width: 195px !important; }
#BuildPart {
    position: absolute;
    right: 0px;
    top: 160px;
    height: 40px;
    width: 120px;
    text-align: center;
    line-height: 40px;
    color: #999;
    display:none;
    cursor: pointer;
}
#BuildButton {
    position:absolute;
    right: 0px;
    top: 160px;
    height: 40px;
    width: 120px;
    text-align: center;
    line-height: 40px;

    font-size: 16px;
    background: linear-gradient(to bottom, #003300 5%, #009900 100%);
    color: #fff !important;
    cursor: pointer;
}
#BuildButton.BuildCancel {
    background: linear-gradient(to bottom, #330000 5%, #990000 100%);
}
#BuildButton.PodCancel {
    top: 0px !important;
    bottom: auto !important;
    z-index: 15;
}
.greenButton {
    background: linear-gradient(to bottom, #003300 5%, #009900 100%);
    color: #fff !important;
    border: 0;
    border-radius: 0.5em;
}

.CancelOrderButton {
    display:block;
    float:left;
    margin: 5px 0 0 10px;
    height: 40px;
    width: 120px;
    text-align: center;
    line-height: 40px;
    font-size: 16px;
    background: linear-gradient(to bottom, #330000 5%, #990000 100%);
    color: #fff !important;
    cursor: pointer;
}


#BuildPart div { float:left; width: 40px; height: 40px;line-height: 40px; text-align:center; font-size: 16px; color: #fff; }
#BuildPartUp {
}
#BuildPartDown {
}
#BuildPartOK {
    background: linear-gradient(to bottom, #003300 5%, #009900 100%);
    color: #fff !important;
}


.BuildContainer {
    overflow: hidden;
}
.LoadBuyDisabled  {
    /*opacity: 0.5;*/
}
.LoadBuyDisabled::before {
    content: "\f023";
    font-family: "Font Awesome 6 Free";
    display: block;
    position: absolute;
    bottom: 0px;
    right: 0px;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-weight: 900;
    color: #666;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    font-size: 10px;
}
/*.LoadBuyDisabled>div::before { color: #ff6600; }*/

.LoadBuy, .LoadBuyDisabled {
    background-color: #000;
    border: solid 2px transparent;
    line-height: 15px;
    font-size: 11px;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
}
    .LoadBuy:hover, .LoadBuyDisabled:hover {
        cursor: pointer;
        border: solid 2px #56E4D5;
    }
.LoadBuySelected {
    position: relative;
    color: #fff;
    border: solid 2px #56E4D5 !important;
    line-height: 15px;
    font-size: 11px;
    text-align: center;
    display: flex;
    align-items: center;
}
.LoadBuySelected img {
    opacity: 1 !important;
}
/*.LoadBuyDisabled {
    cursor: pointer;
    background-color: #000;
    border: solid 2px #000;
    border-radius: 3px;
    display: flex;
    align-items: center;
    position: relative;
}*/
#WeaponCount { position: absolute; right: 10px; bottom: 20px; width: 60px; height: 20px; padding: 5px; text-align: right; }
.buystock {
    position: absolute;
    left: 2px;
    bottom: 1px;
    line-height: 10px;
    font-size: 10px;
    color: #fff;
    text-align: right;
}
#SelectEngine, #SelectBeam, #SelectLauncher {
    border: solid 2px #333;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
}

#BuyHull {
    position: relative;
}
.HullImg { 
    position: absolute;
    top: 50px;
    left: 165px;
    width: 300px;
}
.HullSepcs, .HullEngines, .HullBeams, .HullAux {
    position: absolute;

    height: 100px;
    background-image: url(/img/game/hullspeclines.png);
    background-repeat: no-repeat;
}
.HullSpecs { 
    width: 160px;
    left: 10px;
    top: 50px;
    background-position: -500px 0;
}
.HullEngines { 
    width: 210px;
    left: 20px;
    top: 250px;
    background-position: right -100px;
    padding: 0 100px 0 0;
    z-index: 10;
}
.HullBeams { 
    width: 230px;
    left: 370px;
    top: 50px;
    background-position: 0px -300px;
    padding: 0 0 0 100px;
}
.HullAux { 
    width: 230px;
    left: 370px;
    top: 250px;
    background-position: 0px -200px;
    padding: 0 0 0 100px;
}
#HullPurchase {
    position: absolute;
    top: 350px;
    left: 20px;
    width: 350px;
    padding: 10px;
    height: 120px;
    border: solid 2px #333;
}
#HullPurchase .val, #ShipPurchase .val {
    color: #fff;
}

#ShipPurchase {
    position: absolute;
    top: 355px;
    left: 23px;
    width: 550px;
    padding: 10px;
    height: 150px;
    border: solid 2px #333;
    border-radius: 5px;
}
 
.CostTable {
    width: 180px;
}
.CostTableTd {
    width: 195px;
}

#BuildShipCost {
    width: 450px;
}

#HullsInStock {
    font-size: 30px;
    height: 70px;
    line-height: 70px;
    padding: 0 0 20px 0;
}
#HullSpecial {
    position: absolute;

    top: 350px;
    left: 400px;
    width: 200px;
    height: 100px;
    padding: 10px;
}
.SpecNum, .SpecNum2 {
    font-size: 15px;
    font-weight: bold;
}
.SpecNum {
    width: 60px;
}
.SelectedStock {
    background-color: #006600;
    color: #fff;
}
#BuildShipMessage {
    position: absolute;
    top: 350px;
    left: 25px;
    font-size: 30px;
    line-height: 40px;
    font-family: Century Gothic;
    color: green;
}
#BuildShipError { 
    position: absolute;
    top: 535px;
    left: 25px;
}
#AssemblyHullSpecial {
    position: absolute;
    top: 535px;
    left: 150px;
    width: 450px;
    height: 40px;
}

#BuyShipBox {
    padding: 0 0 0 10px;
}
/*#BuildShipButton {
    position: absolute;
    top: 550px;
    left: 15px;
    width: 120px;
}*/
#CancelShipButton {
    position: absolute;
    top: 400px;
    left: 25px;
    width: 120px;
}
/*#ClearShipButton {
    position: absolute;
    top: 400px;
    left: 185px;
    width: 120px;
}*/
#AssemblyBack {
    position: absolute;
    top: 565px;
    left: 25px;
}
#PodCancel {
    position: absolute;
    top: 565px;
    left: 135px;
}
#PodLaunch {
    position: relative;
}
#PodLaunch img{
    width: 60px;
    height: 60px;
    position:absolute;
    right: 5px;
    top: 5px;
    background-color: #000;
    border: solid 1px #666;
}
/*#SpaceDock img {
    width: 100px;
    height: 100px;
    float: left;
    margin: 0 10px 10px 0;
    background-color: #000;
    border: solid 1px #666;
}
#SpaceDock h2 {
    font-family: Arial;
    font-size: 16px;
    line-height: 20px;
}
#SpaceDock {
    line-height: 14px;
}*/

#EngineGraph {
    padding: 2px 2px 0 5px;
    height: 75px;
    position: relative;
    margin-top: -15px;
}

.EngineBar, .EngineBarRed, #EngineLegend div {
    width: 8px;
    float: left;
    margin-left: 8px;
}

.EngineBar {
    background-color: #35cdbd;
    border: solid 1px #56e4d5;
}

.EngineBarRed {
    background-color: #d02a18;
    border: solid 1px #fa371d;
}

#EngineLegend {
    clear: both;
    padding: 0 0 0 5px;
    border: solid 2px #000;
}

    #EngineLegend div {
        font-size: 11px;
        text-align: center;
        border: solid 1px #000;
    }

#GraphTitle {
    text-align:center;
    font-size: 11px;
    clear: left;
    padding-right: 10px;
}


.OptimalEngine {
    background-color: #35cdbd;
    border: solid 1px #56e4d5;
    width: 16px;
    height: 16px;
    float: left;
    margin: 0 10px 0 0;
}

.BarTitle {
    clear: left;
    padding: 0 0 4px 0;
    line-height: 11px;
    font-size: 11px;
    color: #666;
}
#BeamGraph {
    padding: 6px 0 10px 0;
    line-height: 15px;
    font-size: 11px;
    height: 100px;
}
.DamageBar, .KillBar, .SweepBar {
    height: 5px;
    margin: 4px 5px 2px 0;
    float: left;
}
.DamageBar {
    background-color: #d02a18;
    border: solid 1px #fa371d;
}
.KillBar {
    background-color: #35cdbd;
    border: solid 1px #56e4d5;
}
.SweepBar {
    background-color: #66d032;
    border: solid 1px #7ff446;
}
.BuyActions {
    width: 80px;
}
.BuyActions div {
    float: left;
    cursor: pointer;
    color: #2ab0a8;
    padding: 0 5px 0 5px;
}
#ShipHulls .SepContainer, #ShipEngines .SepContainer, #ShipLaunchers .SepContainer, #ShipBeams .SepContainer, #ShipAssembly .SepContainer {
    line-height: 16px;
}
.selectpart { color: #ffcc00 !important; }
    .selectpart::after {
        font-family: "Font Awesome 6 Free";
        display: inline-block;
        padding: 0 0 0 3px;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        font-weight: 900;
        -webkit-font-smoothing: antialiased;
        content: "\f101";
    }

/*Large screens*/
@media screen and (orientation:landscape) and (min-height: 550px) {
    .BoxContent {
        height: 550px;
        width: 400px;
    }

    #MainFleetContainer {
        top: 40px;
        height: 200px;
        width: 400px;
    }

    .MainScreenPic {
        width: 200px;
    }

    #BoxContainer {
        top: 250px;
        padding-left: 10px;
        left: 0;
        height: 250px;
    }

    /*Make left content bigger on large screens*/
    #LeftContent .lval {
        font-size: 13px;
        line-height: 24px;
        min-width: 180px;
    }
    #LeftContent .lval::before {
        width: 20px;
    }
        #LeftContent .lval > span {
            font-size: 11px;
            left: 145px;
        }
    #LeftContent .lval > span > span {
        position: absolute;
        left: 35px;
        top: 0;
    }
    #LeftContent .lval b {
        font-size: 12px;
        width: 80px;
    }
    #LeftContent .lval label {
        font-size: 12px;
    }

    #LeftContent .lval b, section .lval b {
        display: inline-block;
    }
    #Buildingsbar .lval > span > span {
        position: absolute;
        left: 25px;
        top: 0;
    }


    #LeftContent .vval {
        font-size: 13px;
        line-height: 24px;
        width: 70px;
        padding-right: 100px;
    }

        #LeftContent .vval::before {
            width: 16px;
            left: 76px;
        }

        #LeftContent .vval > span {
            right: -30px;
            font-size: 11px;
            width: 98px;
        }
    #LeftContent .tval {
        font-size: 13px;
        line-height: 23px;
        width: 44px;
        padding-top: 35px;
    }

        #LeftContent .tval::before {
            width: 44px;
        }

        #LeftContent .tval span {
            top: 18px;
            font-size: 12px;
            width: 44px;
        }
    .BoxTopTitle {font-size: 13px; }
    /*#rNavTop {
        top: 510px;
        top: auto;
        bottom: 0px;
    }*/

    #HoverContent {
        left: 410px;
        /*left: 100%;*/
    }


    #Colonybar, #NativeColonybar {
        left: 210px;
    }
    #NativeColonybar { top: 88px; }
    .nativetype { font-size: 12px;width: 160px; white-space: nowrap; overflow: hidden; }
    #Friendlybar {
        left: 284px;
    }

    #ShipStatusbar, #Missionbar, #Warpbar, #Enemybar, #ShipFriendlybar {
        left: 200px;
    }
    #ShipStatusbar .lval { line-height: 18px; }
    #ShipSpecialbar { left: 260px; top: 150px;}
    #Warpbar {
        width: 180px;
    }
    #PodWarpbar { width: 180px; }
    #Missionbar {top: 70px;}
    #Enemybar { top: 110px; }
    #ShipFriendlybar { top: 150px; }
    
    #Missionbar .lval span, #Enemybar .lval span {
        position: absolute;
        left: 25px !important;
        top: 15px;
    }

    #SpaceDockbar {
        left: 280px;
    }
    #SpacedockData { width: 130px; }
    #SpacedockData span { font-size: 11px; height: 15px;line-height:15px; }

    #StarbaseDefensebar, #BuildTorpsbar {
        left: 140px;
    }

    #StarbaseFriendlybar, #Ordersbar {
        left: 250px;
    }
    #Ordersbar { bottom: 41px; }
    #StarbaseFriendlybar { bottom: 10px; }

    #SelectLocation {
        width: 175px;
        top: 0px;
        right: 0;
        left: auto;
        min-height: 0;
        border-bottom-left-radius: 8px;
        border-top: none;
        border-top-left-radius: 0;
        border-bottom: solid 1px #444;
        border-right: none;
        border-left: solid 1px #444;
    }
    .scanlock {
        border-left: solid 1px #FFA500 !important;
        border-bottom: solid 1px #FFA500 !important;
        border-right: solid 1px #FFA500 !important;
    }
    .ItemSelection {
        width: 175px;
    }
    #ScanTitle { width: 175px; font-size: 12px; }
        #ScanTitle div::before {
            display:none;
            content: "\f00d";
        }
    .scanlock #ScanTitle div::before {
        display:block;
    }

    #SelectLocation .lval {
        font-size: 13px;
        line-height: 21px;
        min-width: 175px;
    }
        #SelectLocation .lval::before {
            width: 20px;
        }
        #SelectLocation .lval > span {
            font-size: 11px;
            left: 65px;
        }

    .formrow .firstval {
        font-size: 13px;
    }
    .formrow .secondval {
        font-size: 13px;
    }

    #ShipStatusbar .lval > span {
        left: 20px;
    }

    #SuperRefit .lval > span {
        left: 20px;
    }

    #StarbaseTechbar b, #StarbaseDefensebar b, #BuildTorpsbar b {
        width: 60px;
    }

    .squeeze #Ammobar .lval, .squeeze #Suppliesbar .lval, .squeeze #Cargobar .lval {
        line-height: 22px !important;
    }
}

/*Larger screens*/
/*@media screen and (orientation:landscape) and (min-height: 620px) {
    .BoxContent.ShipScreen {
        height: 620px;
    }
}*/

/*Very small screens*/
@media screen and (max-width: 359px) {

    #Colonybar, #NativeColonybar { left: 60px; }
    #Friendlybar { left: 125px; }
    #Buildingsbar .lval span {display:none; }
    #Suppliesbar .lval span {display:none; }
    #Resourcesbar .lval span span {display: none; }
    
    #Warpbar .tval { width: 32px; }
    #Warpbar .tval::before { width: 32px; }
    #Warpbar .tval span { width: 32px; }
    #Warpbar {left: 73px; }
    #Missionbar, #ShipStatusbar, #Enemybar, #ShipFriendlybar { left: 80px; }
    #StarbaseDefensebar, #BuildTorpsbar { left: 50px; }
    #SpaceDockbar { left: 100px; }
    #Ordersbar, #StarbaseFriendlybar { left: 100px; }
}
.onhome #econtent { padding: 0;}
#eframe.onhome {
    padding: 0;
}

#estarthome {
    background-image: url('/img/start/stars.jpg');
    background-repeat: repeat;
    text-align: center;
}
    #estarthome h3 {
        font-family: Oxanium;
        font-size: 24px;
        line-height: 40px;
        background: -webkit-linear-gradient(45deg, #99ffff, #99ff99 80%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.sectionfade {
    -webkit-mask-image: -webkit-gradient(linear, left 90%, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
}
.sectionfadeup {
    -webkit-mask-image: -webkit-gradient(linear, left 10%, left top, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
}

#sectionwelcome {
    background-image: url('/img/start/1.png');
    min-height: 800px;
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: right bottom;
    font-family: Oxanium;
    position: relative;
}
    #sectionwelcome #mainwelcome {
        width: 540px;
        position: absolute;
        right: 20%;
        top: 200px;
        font-size: 20px;
        line-height: 30px;
        padding: 20px;
    }

#sectionwelcome h1 {
    font-size: 60px;
    text-transform:uppercase;
    font-weight: bold;
}

.bignotchedbutton {
    background-color: #009999;
    font-size: 40px;
    line-height: 80px;
    padding: 4px 40px 0 40px;
    --notchSize: 20px;
    /*clip-path: polygon(0 calc(100% - var(--notchSize)), var(--notchSize) 100%, 100% 100%, 100% 0, 0 0);*/
    border-bottom-left-radius: 24px;
    border-top-right-radius: 24px;
    display:inline-block;
    text-transform: uppercase;
    cursor: pointer;
    color: #fff !important;
}
.bignotchedbutton:hover {
    background-color: #00aaaa;
}



#sectionscreens {
}

#sectionscreens img
{
    width: 30%;
    margin: 10px;
    border-radius: 5px;
    border: solid 4px #111;
}
@media screen and (max-width: 800px) {
    #sectionscreens img {
        width: 45%;
    }
}
@media screen and (max-width: 500px) {
    #sectionscreens img {
        width: 90%;
    }
}


    /*section races*/
    .pix {
    }

        .pix img {
            border-radius: 10px;
            width: 300px;
        }

        .pix h1 {
            font-size: 24px;
            margin: 10px 0 0px 0;
            padding: 0;
        }
        .pix h3 {
            line-height: 30px !important;
        }


    #sectiontestimonials {
        background-image: url('/img/start/3.png');
        min-height: 1200px;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center bottom;
        font-family: Oxanium;
        position: relative;
        padding: 400px 0 0 0;
        text-align: center;
    }

    .etestimonials {
        font-size: 20px;
        line-height: 30px;
        height: 220px;
        overflow: hidden;
        text-align: center;
        position: relative;
        z-index: 4;
    }

        .etestimonials blockquote {
            margin: 20px auto 20px auto;
            text-shadow: 2px 2px 10px #111;
            text-align: center;
            max-width: 600px;
            padding: 20px;
            border-radius: 20px;
            display: inline-block;
        }

        .etestimonials p {
            font-size: 14px;
            color: #ccc;
            margin: 10px 0 0 0;
        }


    @media screen and (max-width: 800px) {
        #sectionwelcome #mainwelcome {
            top: 80px;
            left: 0;
            width: 100vw;
        }

        #sectionwelcome h1 {
            font-size: 40px;
        }

        .bignotchedbutton {
            background-color: #009999;
            font-size: 30px;
            line-height: 60px;
            padding: 4px 20px 0 20px;
        }
    }
/*
#toc ul {
    display: none;
}

#toc ul ul {
    display: block;
}

.tocselected {
    background-color: #666;
}
*/

.docsleftimg {
    width: 150px;
    height: 150px;
    float: left;
    margin: 0 10px 10px 0;
    background-color: #000;
    border-radius: 5px;
}@font-face {
  font-family: 'planetsnuicons';
  src:
    url('/img/fonts/planetsnuicons.ttf?xympdma') format('truetype'),
    url('/img/fonts/planetsnuicons.woff?xympdma') format('woff'),
    url('/img/fonts/planetsnuicons.svg?xympdma#planetsnuicons') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icomoon-"]:before, [class*=" icomoon-"]:before {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'planetsnuicons' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    /*line-height: 1;*/
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    color: #099;
}

.icomoon-baysicon1:before {
    content: "\e900";
}

.icomoon-baysicon2:before {
    content: "\e901";
}

.icomoon-baysicon3:before {
    content: "\e902";
}

.icomoon-baysicon4:before {
    content: "\e903";
}

.icomoon-baysicon5:before {
    content: "\e904";
}

.icomoon-baysicon6:before {
    content: "\e905";
}

.icomoon-baysicon7:before {
    content: "\e906";
}

.icomoon-baysicon8:before {
    content: "\e907";
}

.icomoon-baysicon9:before {
    content: "\e908";
}

.icomoon-baysicon10:before {
    content: "\e909";
}

.icomoon-beamicon1:before {
    content: "\e90a";
}

.icomoon-beamicon2:before {
    content: "\e90b";
}

.icomoon-beamicon3:before {
    content: "\e90c";
}

.icomoon-beamicon4:before {
    content: "\e90d";
}

.icomoon-beamicon5:before {
    content: "\e90e";
}

.icomoon-beamicon6:before {
    content: "\e90f";
}

.icomoon-beamicon7:before {
    content: "\e910";
}

.icomoon-beamicon8:before {
    content: "\e911";
}

.icomoon-beamicon9:before {
    content: "\e912";
}

.icomoon-beamicon10:before {
    content: "\e913";
}

.icomoon-engineicon1:before {
    content: "\e914";
}

.icomoon-engineicon2:before {
    content: "\e915";
}

.icomoon-engineicon3:before {
    content: "\e916";
}

.icomoon-engineicon4:before {
    content: "\e917";
}

.icomoon-engineicon5:before {
    content: "\e918";
}

.icomoon-engineicon6:before {
    content: "\e919";
}

.icomoon-engineicon7:before {
    content: "\e91a";
}

.icomoon-engineicon8:before {
    content: "\e91b";
}

.icomoon-engineicon9:before {
    content: "\e91c";
}

.icomoon-torpicon1:before {
    content: "\e91d";
}

.icomoon-torpicon2:before {
    content: "\e91e";
}

.icomoon-torpicon3:before {
    content: "\e91f";
}

.icomoon-torpicon4:before {
    content: "\e920";
}

.icomoon-torpicon5:before {
    content: "\e921";
}

.icomoon-torpicon6:before {
    content: "\e922";
}

.icomoon-torpicon7:before {
    content: "\e923";
}

.icomoon-torpicon8:before {
    content: "\e924";
}

.icomoon-torpicon9:before {
    content: "\e925";
}

.icomoon-torpicon10:before {
    content: "\e926";
}

.icomoon-torpicon11:before {
    content: "\e927";
}

/*#mcenter {
}
#Inbox {
    background-color: #111;
    border-left: solid 1px #333;
    border-top: solid 1px #333;
    border-right: solid 1px #333;
    color: #fff;
    height: calc(100vh - 140px);
}
#Inbox a { color: cyan; }
#InboxContent {
    height: calc(100% - 80px);
    position: relative;
    overflow: hidden;
    width: 100%;
}
#InboxTitle {
    background-color: #333;
    height: 40px;
    font-size: 20px;
    width: 100%;
    text-align: center;
    line-height: 40px;
}
#InboxHeader {
    background-color: #333;
    border-bottom: #444;
    height: 40px;
}
.spaceheader {
    height: 40px;
    line-height: 40px;
    width: 33%;
    font-size: 11px;
    float:left;
    text-align: center;
    text-transform:capitalize;
    cursor:pointer;
}
.InboxTabSelected {
    background-color: #111;
}

.InboxMessageInfo {
    color: #999;
    text-align:center;
    padding: 20px;
}
.eunread {
    border-radius: 50%;
    display: inline-block;
    background-color: green;
    color: #fff;
    padding: 0 5px 0 5px;
    line-height: 18px;
    margin-left: 5px;
}


.ThreadFrom {
    color: cyan;
}

.ThreadReaction {text-align:right; color: darkcyan; }

.InboxTag {
    width: 100%;
    font-size: 14px;
    line-height: 58px;
    padding: 10px;
    border-bottom: solid 1px #333;
    cursor: pointer;
    color: cyan;
    height:78px;
}
#InboxActions{
    border-top: solid 1px #444;
    background-color: #333;
    font-size: 11px;
    text-transform: uppercase;
    width: 100%;
    color: cyan;
    position: absolute;
    bottom:0;
}
#InboxActions div {
    width: 100%;
    line-height: 20px;
    float:left;
    padding: 10px;
    text-align: center;
    cursor: pointer;
}
#InboxBack {
    position: absolute;
    left: 0;
    top: 0; 
    padding:10px;cursor:pointer;width: 40px;display:none;

}

#InboxWrite {
    position: absolute;
    bottom: 0px;
    width: 100%;
    padding: 10px;
    background-color: #333;
}
#InboxTextMessage {
    background-color: #fff;
    font-size: 12px;
    line-height: 20px;
    border-radius: 10px;
    padding: 5px;
    color: #333;
    width: calc(100% - 35px);
    outline: none;
    white-space: pre-wrap;
}
    #InboxTextMessage[placeholder]:empty:before {
        content: attr(placeholder);
        color: #555;
    }

#InboxSendButton{
    width: 30px;
    float:right;
    font-size: 26px;
    padding: 2px 5px 0 5px;
    line-height: 30px;
    cursor: pointer;
}
#InboxMessages {
    overflow-y: scroll;
    max-height: calc(100% - 50px);
    padding-right: 17px; 
    box-sizing: content-box;
    width: calc(100% + 17px);
}
.InboxMessage {
    width: 100%;
    font-size: 11px;
    text-transform: uppercase;
    padding: 10px;
    cursor: pointer;
    white-space: pre-line; 
    border-bottom: solid 1px #444;
}
.ThreadBody {
    font-size: 12px;
    color: #fff;
    text-transform: none;
    line-height: 16px;
    margin-top: 3px;
    clear: both;
    margin-left: 15px;
    overflow-x: hidden;
}
.InboxIndicator {
    background-image: url(/img/ui/indicator.gif);
    position: absolute;
    width: 50px;
    height: 50px;
    z-index: 11;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}*/




.thread {
    width: 100%;
    padding: 10px;
    border-bottom: solid 1px #333;
    cursor: pointer;
}
.thread:last-of-type {
    border: none;
}
.threadheader {
    font-size: 11px;
    text-transform: uppercase;
}
.threadheader a {
    color: cyan !important;
}
.threadreply {
    background-color: transparent;
    border: solid 1px #111;
    background-image: url(/img/ui/25percentblack.png);
    margin: 10px 0 0px 20px;
    padding: 10px;
}
.threadbody {
    padding: 5px 0 0 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.threadaction {
    font-size: 11px;
    text-transform: uppercase;
    color: #569999 !important;
}

.threadmoretext {
    display:none;
}
.threadimg {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    margin: 5px 0 0 0;
    float: left;
}

@media screen and (max-width: 500px) {
    .threadimg {
        display: none;
    }
}

.threadstart { 
    margin: 10px 0 10px 0;
    position: relative;
}

.threadstart::after {
    content: "";
    display:block;
    clear: both;
}

.threadtext {
    background-color: #111;
    font-size: 12px;
    line-height: 20px;
    border-radius: 10px;
    padding: 5px;
    color: #ccc;
    width: calc(100% - 35px);
    outline: none;
    white-space: pre-wrap;
    text-transform: none !important;
}

    .threadtext[placeholder]:empty:before {
        content: attr(placeholder);
        color: #555;
    }

.threadsend {
    width: 30px;
    float: right;
    font-size: 26px;
    padding: 7px 5px 0 5px;
    cursor: pointer;
    color: rgba(68,80,80,1);
    text-shadow: 0px 2px 7px 0px rgba(0,0,0,0.75);
}
.threadattach {
    position: absolute;
    right: 50px;
    top: 13px;
    opacity: 0.5;
    font-size: 16px;
    cursor:pointer;
    border: none;
    padding: 0;
}
.threadattach input[type="file"] { 
    display: none;
}

.threadattachments {
    overflow: hidden;
    max-height: 120px;
}
.threadattachments img {
    border-radius: 5px;
    /*width: 100px;*/
    /*set height instead of width so scrolls can get right length even before imgs have loaded*/
    height: 100px;
    margin: 10px;
}
/*.eleaderrace {
    margin: 0 0 30px 0;
}
    .eleaderrace h3 {
        margin: 0 0 20px 10px;
    }*/

/*#eplayerlist h2 {
    margin: 0 0 20px 10px;
}*/
/*.eachievement, .etonssunk, .ecaptured, .edefense {
    height: 20px;
    border: solid 1px #444;
    min-width: 100px;    
    overflow: hidden;
}
    .eachievement div {
        height: 20px;
        background-color: #000099;
    }
    .etonssunk div {
        height: 20px;
        background-color: #990000;
    }
    .ecaptured div {
        height: 20px;
        background-color: yellow;
    }
    .edefense div {
        height: 20px;
        background-color: brown;
    }*/

/*.eplayerlist td {
    vertical-align: top;
    padding: 10px 0 10px 10px;
}
.eplayerlist tr:hover {
    background-color: #333;
}
.eplayerlist th {
    text-align: left;
    padding: 0 0 8px 8px;
    font-size: 16px;
}*/

#LevelBuilderTools {
    width: 500px;
    background-color: #111;
    padding-bottom: 40px;
}

#LevelBuilderMenu, #LevelBuilderTitle {
    background: linear-gradient(to bottom, #222 5%, #000 100%);
    width: 100%;
    height: 40px;
    line-height: 40px;
    bottom: 0;
    position: absolute;
    cursor: pointer;
    z-index: 13;
    font-size: 11px;
}

#LevelBuilderTitle {
    position: relative;
}

#LevelBuilderMenu .button {
    font-size: 18px;
    display: inline-block;
    text-transform: uppercase;
    min-width: 40px;
    white-space: nowrap;
    line-height: 18px;
    padding: 12px 0px 10px 0px;
    margin: 0 0 0px 5px;
    text-align: center;
    float: right;
}

#LevelBuilderMenu div {
    float: right;
    width: 40px;
    height: 28px;
    font-size: 18px;
    text-align: center;
    line-height: 18px;
    padding: 12px 0px 10px 0px;
    cursor: pointer;
    color: #99cccc;
}

#LevelBuilderTools {
    position: absolute;
    right: 0px;
    bottom: 0px;
    z-index: 8;
}

#LevelBuilderTools .button {
    min-width: 80px;
}
#ecloc {
    position: absolute;
    top: 60px;
    right: 70px;
    padding: 5px;
    border-bottom-left-radius: 8px;
    border-top: none;
    border-bottom-right-radius: 8px;
    border-bottom: solid 1px #444;
    border-right: solid 1px #444;
    border-left: solid 1px #444;
    background-color: rgba(26,30,30,1);
}
/*NOTE FROM JOSHUA - THIS HAS BEEN CUSTOMIZED*/

/* basic scrollbar styling */
/* vertical scrollbar */
.mCSB_container{
	width:auto;
	margin-right:30px;
	overflow:hidden;
}
.mCSB_container.mCS_no_scrollbar{
	margin-right:0;
}
.mCS_disabled>.mCustomScrollBox>.mCSB_container.mCS_no_scrollbar,
.mCS_destroyed>.mCustomScrollBox>.mCSB_container.mCS_no_scrollbar{
	margin-right:30px;
}
.mCustomScrollBox>.mCSB_scrollTools{
	width:16px;
	height:100%;
	top:0;
	right:0;
}
.mCSB_scrollTools .mCSB_draggerContainer{
	position:absolute;
	top:0;
	left:0;
	bottom:0;
	right:0; 
	height:auto;
}
.mCSB_scrollTools a+.mCSB_draggerContainer{
	margin:20px 0;
}
.mCSB_scrollTools .mCSB_draggerRail{
	width:2px;
	height:100%;
	margin:0 auto;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
}
.mCSB_scrollTools .mCSB_dragger{
	cursor:pointer;
	width:100%;
	height:30px;
}
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
	width:4px;
	height:100%;
	margin:0 auto;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
	text-align:center;
}
.mCSB_scrollTools .mCSB_buttonUp,
.mCSB_scrollTools .mCSB_buttonDown{
	display:block;
	position:relative;
	height:20px;
	overflow:hidden;
	margin:0 auto;
	cursor:pointer;
}
.mCSB_scrollTools .mCSB_buttonDown{
	top:100%;
	margin-top:-40px;
}
/* horizontal scrollbar */
.mCSB_horizontal>.mCSB_container{
	height:auto;
	margin-right:0;
	margin-bottom:30px;
	overflow:hidden;
}
.mCSB_horizontal>.mCSB_container.mCS_no_scrollbar{
	margin-bottom:0;
}
.mCS_disabled>.mCSB_horizontal>.mCSB_container.mCS_no_scrollbar,
.mCS_destroyed>.mCSB_horizontal>.mCSB_container.mCS_no_scrollbar{
	margin-right:0;
	margin-bottom:30px;
}
.mCSB_horizontal.mCustomScrollBox>.mCSB_scrollTools{
	width:100%;
	height:16px;
	top:auto;
	right:auto;
	bottom:0;
	left:0;
	overflow:hidden;
}
.mCSB_horizontal>.mCSB_scrollTools a+.mCSB_draggerContainer{
	margin:0 20px;
}
.mCSB_horizontal>.mCSB_scrollTools .mCSB_draggerRail{
	width:100%;
	height:2px;
	margin:7px 0;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
}
.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger{
	width:30px;
	height:100%;
}
.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
	width:100%;
	height:4px;
	margin:6px auto;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
}
.mCSB_horizontal>.mCSB_scrollTools .mCSB_buttonLeft,
.mCSB_horizontal>.mCSB_scrollTools .mCSB_buttonRight{
	display:block;
	position:relative;
	width:20px;
	height:100%;
	overflow:hidden;
	margin:0 auto;
	cursor:pointer;
	float:left;
}
.mCSB_horizontal>.mCSB_scrollTools .mCSB_buttonRight{
	margin-left:-40px;
	float:right;
}
.mCustomScrollBox{
	-ms-touch-action:none; /*MSPointer events - direct all pointer events to js*/
}

/* default scrollbar colors and backgrounds (default theme) */
.mCustomScrollBox>.mCSB_scrollTools{
	opacity:0.75;
	filter:"alpha(opacity=75)"; -ms-filter:"alpha(opacity=75)"; /* old ie */
}
.mCustomScrollBox:hover>.mCSB_scrollTools{
	opacity:1;
	filter:"alpha(opacity=100)"; -ms-filter:"alpha(opacity=100)"; /* old ie */
}
.mCSB_scrollTools .mCSB_draggerRail{
	background:#000; /* rgba fallback */
	background:rgba(0,0,0,0.4);
	filter:"alpha(opacity=40)"; -ms-filter:"alpha(opacity=40)"; /* old ie */
}
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
	background:#fff; /* rgba fallback */
	background:rgba(255,255,255,0.75);
	filter:"alpha(opacity=75)"; -ms-filter:"alpha(opacity=75)"; /* old ie */
}
.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{
	background:rgba(255,255,255,0.85);
	filter:"alpha(opacity=85)"; -ms-filter:"alpha(opacity=85)"; /* old ie */
}
.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
	background:rgba(255,255,255,0.9);
	filter:"alpha(opacity=90)"; -ms-filter:"alpha(opacity=90)"; /* old ie */
}
.mCSB_scrollTools .mCSB_buttonUp,
.mCSB_scrollTools .mCSB_buttonDown,
.mCSB_scrollTools .mCSB_buttonLeft,
.mCSB_scrollTools .mCSB_buttonRight{
	background-image:url(mCSB_buttons.png);
	background-repeat:no-repeat;
	opacity:0.4;
	filter:"alpha(opacity=40)"; -ms-filter:"alpha(opacity=40)"; /* old ie */
}
.mCSB_scrollTools .mCSB_buttonUp{
	background-position:0 0;
	/* 
	sprites locations are 0 0/-16px 0/-32px 0/-48px 0 (light) and -80px 0/-96px 0/-112px 0/-128px 0 (dark) 
	*/
}
.mCSB_scrollTools .mCSB_buttonDown{
	background-position:0 -20px;
	/* 
	sprites locations are 0 -20px/-16px -20px/-32px -20px/-48px -20px (light) and -80px -20px/-96px -20px/-112px -20px/-128px -20px (dark) 
	*/
}
.mCSB_scrollTools .mCSB_buttonLeft{
	background-position:0 -40px;
	/* 
	sprites locations are 0 -40px/-20px -40px/-40px -40px/-60px -40px (light) and -80px -40px/-100px -40px/-120px -40px/-140px -40px (dark) 
	*/
}
.mCSB_scrollTools .mCSB_buttonRight{
	background-position:0 -56px;
	/* 
	sprites locations are 0 -56px/-20px -56px/-40px -56px/-60px -56px (light) and -80px -56px/-100px -56px/-120px -56px/-140px -56px (dark) 
	*/
}
.mCSB_scrollTools .mCSB_buttonUp:hover,
.mCSB_scrollTools .mCSB_buttonDown:hover,
.mCSB_scrollTools .mCSB_buttonLeft:hover,
.mCSB_scrollTools .mCSB_buttonRight:hover{
	opacity:0.75;
	filter:"alpha(opacity=75)"; -ms-filter:"alpha(opacity=75)"; /* old ie */
}
.mCSB_scrollTools .mCSB_buttonUp:active,
.mCSB_scrollTools .mCSB_buttonDown:active,
.mCSB_scrollTools .mCSB_buttonLeft:active,
.mCSB_scrollTools .mCSB_buttonRight:active{
	opacity:0.9;
	filter:"alpha(opacity=90)"; -ms-filter:"alpha(opacity=90)"; /* old ie */
}

/*scrollbar themes*/
/*dark (dark colored scrollbar)*/
.mCS-dark>.mCSB_scrollTools .mCSB_draggerRail{
	background:#000; /* rgba fallback */
	background:rgba(0,0,0,0.15);
}
.mCS-dark>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
	background:#000; /* rgba fallback */
	background:rgba(0,0,0,0.75);
}
.mCS-dark>.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{
	background:rgba(0,0,0,0.85);
}
.mCS-dark>.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCS-dark>.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
	background:rgba(0,0,0,0.9);
}
.mCS-dark>.mCSB_scrollTools .mCSB_buttonUp{
	background-position:-80px 0;
}
.mCS-dark>.mCSB_scrollTools .mCSB_buttonDown{
	background-position:-80px -20px;
}
.mCS-dark>.mCSB_scrollTools .mCSB_buttonLeft{
	background-position:-80px -40px;
}
.mCS-dark>.mCSB_scrollTools .mCSB_buttonRight{
	background-position:-80px -56px;
}
/*light-2*/
.mCS-light-2>.mCSB_scrollTools .mCSB_draggerRail{
	width:4px;
	background:#fff; /* rgba fallback */
	background:rgba(255,255,255,0.1);
	-webkit-border-radius:1px;
	-moz-border-radius:1px;
	border-radius:1px;
}
.mCS-light-2>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
	width:4px;
	background:#fff; /* rgba fallback */
	background:rgba(255,255,255,0.75);
	-webkit-border-radius:1px;
	-moz-border-radius:1px;
	border-radius:1px;
}
.mCS-light-2.mCSB_horizontal>.mCSB_scrollTools .mCSB_draggerRail{
	width:100%;
	height:4px;
	margin:6px 0;
}
.mCS-light-2.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
	width:100%;
	height:4px;
	margin:6px auto;
}
.mCS-light-2>.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{
	background:rgba(255,255,255,0.85);
}
.mCS-light-2>.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCS-light-2>.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
	background:rgba(255,255,255,0.9);
}
.mCS-light-2>.mCSB_scrollTools .mCSB_buttonUp{
	background-position:-32px 0;
}
.mCS-light-2>.mCSB_scrollTools .mCSB_buttonDown{
	background-position:-32px -20px;
}
.mCS-light-2>.mCSB_scrollTools .mCSB_buttonLeft{
	background-position:-40px -40px;
}
.mCS-light-2>.mCSB_scrollTools .mCSB_buttonRight{
	background-position:-40px -56px;
}
/*dark-2*/
.mCS-dark-2>.mCSB_scrollTools .mCSB_draggerRail{
	width:4px;
	background:#000; /* rgba fallback */
	background:rgba(0,0,0,0.1);
	-webkit-border-radius:1px;
	-moz-border-radius:1px;
	border-radius:1px;
}
.mCS-dark-2>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
	width:4px;
	background:#000; /* rgba fallback */
	background:rgba(0,0,0,0.75);
	-webkit-border-radius:1px;
	-moz-border-radius:1px;
	border-radius:1px;
}
.mCS-dark-2.mCSB_horizontal>.mCSB_scrollTools .mCSB_draggerRail{
	width:100%;
	height:4px;
	margin:6px 0;
}
.mCS-dark-2.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
	width:100%;
	height:4px;
	margin:6px auto;
}
.mCS-dark-2>.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{
	background:rgba(0,0,0,0.85);
}
.mCS-dark-2>.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCS-dark-2>.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
	background:rgba(0,0,0,0.9);
}
.mCS-dark-2>.mCSB_scrollTools .mCSB_buttonUp{
	background-position:-112px 0;
}
.mCS-dark-2>.mCSB_scrollTools .mCSB_buttonDown{
	background-position:-112px -20px;
}
.mCS-dark-2>.mCSB_scrollTools .mCSB_buttonLeft{
	background-position:-120px -40px;
}
.mCS-dark-2>.mCSB_scrollTools .mCSB_buttonRight{
	background-position:-120px -56px;
}
/*light-thick*/
.mCS-light-thick>.mCSB_scrollTools .mCSB_draggerRail{
	width:4px;
	background:#fff; /* rgba fallback */
	background:rgba(255,255,255,0.1);
	-webkit-border-radius:2px;
	-moz-border-radius:2px;
	border-radius:2px;
}
.mCS-light-thick>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
	width:6px;
	background:#fff; /* rgba fallback */
	background:rgba(255,255,255,0.75);
	-webkit-border-radius:2px;
	-moz-border-radius:2px;
	border-radius:2px;
}
.mCS-light-thick.mCSB_horizontal>.mCSB_scrollTools .mCSB_draggerRail{
	width:100%;
	height:4px;
	margin:6px 0;
}
.mCS-light-thick.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
	width:100%;
	height:6px;
	margin:5px auto;
}
.mCS-light-thick>.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{
	background:rgba(255,255,255,0.85);
}
.mCS-light-thick>.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCS-light-thick>.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
	background:rgba(255,255,255,0.9);
}
.mCS-light-thick>.mCSB_scrollTools .mCSB_buttonUp{
	background-position:-16px 0;
}
.mCS-light-thick>.mCSB_scrollTools .mCSB_buttonDown{
	background-position:-16px -20px;
}
.mCS-light-thick>.mCSB_scrollTools .mCSB_buttonLeft{
	background-position:-20px -40px;
}
.mCS-light-thick>.mCSB_scrollTools .mCSB_buttonRight{
	background-position:-20px -56px;
}
/*dark-thick*/
.mCS-dark-thick>.mCSB_scrollTools .mCSB_draggerRail{
	width:4px;
	background:#000; /* rgba fallback */
	background:rgba(0,0,0,0.1);
	-webkit-border-radius:2px;
	-moz-border-radius:2px;
	border-radius:2px;
}
.mCS-dark-thick>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
	width:6px;
	background:#000; /* rgba fallback */
	background:rgba(0,0,0,0.75);
	-webkit-border-radius:2px;
	-moz-border-radius:2px;
	border-radius:2px;
}
.mCS-dark-thick.mCSB_horizontal>.mCSB_scrollTools .mCSB_draggerRail{
	width:100%;
	height:4px;
	margin:6px 0;
}
.mCS-dark-thick.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
	width:100%;
	height:6px;
	margin:5px auto;
}
.mCS-dark-thick>.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{
	background:rgba(0,0,0,0.85);
}
.mCS-dark-thick>.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCS-dark-thick>.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
	background:rgba(0,0,0,0.9);
}
.mCS-dark-thick>.mCSB_scrollTools .mCSB_buttonUp{
	background-position:-96px 0;
}
.mCS-dark-thick>.mCSB_scrollTools .mCSB_buttonDown{
	background-position:-96px -20px;
}
.mCS-dark-thick>.mCSB_scrollTools .mCSB_buttonLeft{
	background-position:-100px -40px;
}
.mCS-dark-thick>.mCSB_scrollTools .mCSB_buttonRight{
	background-position:-100px -56px;
}
/*light-thin*/
.mCS-light-thin>.mCSB_scrollTools .mCSB_draggerRail{
	background:#fff; /* rgba fallback */
	background:rgba(255,255,255,0.1);
}
.mCS-light-thin>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
	width:2px;
}
.mCS-light-thin.mCSB_horizontal>.mCSB_scrollTools .mCSB_draggerRail{
	width:100%;
}
.mCS-light-thin.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
	width:100%;
	height:2px;
	margin:7px auto;
}
/*dark-thin*/
.mCS-dark-thin>.mCSB_scrollTools .mCSB_draggerRail{
	background:#000; /* rgba fallback */
	background:rgba(0,0,0,0.15);
}
.mCS-dark-thin>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
	width:2px;
	background:#000; /* rgba fallback */
	background:rgba(0,0,0,0.75);
}
.mCS-dark-thin.mCSB_horizontal>.mCSB_scrollTools .mCSB_draggerRail{
	width:100%;
}
.mCS-dark-thin.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
	width:100%;
	height:2px;
	margin:7px auto;
}
.mCS-dark-thin>.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{
	background:rgba(0,0,0,0.85);
}
.mCS-dark-thin>.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCS-dark-thin>.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
	background:rgba(0,0,0,0.9);
}
.mCS-dark-thin>.mCSB_scrollTools .mCSB_buttonUp{
	background-position:-80px 0;
}
.mCS-dark-thin>.mCSB_scrollTools .mCSB_buttonDown{
	background-position:-80px -20px;
}
.mCS-dark-thin>.mCSB_scrollTools .mCSB_buttonLeft{
	background-position:-80px -40px;
}
.mCS-dark-thin>.mCSB_scrollTools .mCSB_buttonRight{
	background-position:-80px -56px;
}

/***
Spectrum Colorpicker v1.8.0
https://github.com/bgrins/spectrum
Author: Brian Grinstead
License: MIT
***/

.sp-container {
    position:absolute;
    top:0;
    left:0;
    display:inline-block;
    *display: inline;
    *zoom: 1;
    /* https://github.com/bgrins/spectrum/issues/40 */
    z-index: 9999994;
    overflow: hidden;
}
.sp-container.sp-flat {
    position: relative;
}

/* Fix for * { box-sizing: border-box; } */
.sp-container,
.sp-container * {
    -webkit-box-sizing: content-box;
       -moz-box-sizing: content-box;
            box-sizing: content-box;
}

/* http://ansciath.tumblr.com/post/7347495869/css-aspect-ratio */
.sp-top {
  position:relative;
  width: 100%;
  display:inline-block;
}
.sp-top-inner {
   position:absolute;
   top:0;
   left:0;
   bottom:0;
   right:0;
}
.sp-color {
    position: absolute;
    top:0;
    left:0;
    bottom:0;
    right:20%;
}
.sp-hue {
    position: absolute;
    top:0;
    right:0;
    bottom:0;
    left:84%;
    height: 100%;
}

.sp-clear-enabled .sp-hue {
    top:33px;
    height: 77.5%;
}

.sp-fill {
    padding-top: 80%;
}
.sp-sat, .sp-val {
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
}

.sp-alpha-enabled .sp-top {
    margin-bottom: 18px;
}
.sp-alpha-enabled .sp-alpha {
    display: block;
}
.sp-alpha-handle {
    position:absolute;
    top:-4px;
    bottom: -4px;
    width: 6px;
    left: 50%;
    cursor: pointer;
    border: 1px solid black;
    background: white;
    opacity: .8;
}
.sp-alpha {
    display: none;
    position: absolute;
    bottom: -14px;
    right: 0;
    left: 0;
    height: 8px;
}
.sp-alpha-inner {
    border: solid 1px #333;
}

.sp-clear {
    display: none;
}

.sp-clear.sp-clear-display {
	background-position: center;
	background-image: url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==);
}

.sp-clear-enabled .sp-clear {
    display: block;
    position:absolute;
    top:0px;
    right:0;
    bottom:0;
    left:84%;
    height: 28px;
}

/* Don't allow text selection */
.sp-container, .sp-replacer, .sp-preview, .sp-dragger, .sp-slider, .sp-alpha, .sp-clear, .sp-alpha-handle, .sp-container.sp-dragging .sp-input, .sp-container button  {
    -webkit-user-select:none;
    -moz-user-select: -moz-none;
    -o-user-select:none;
    user-select: none;
}

.sp-container.sp-input-disabled .sp-input-container {
    display: none;
}
.sp-container.sp-buttons-disabled .sp-button-container {
    display: none;
}
.sp-container.sp-palette-buttons-disabled .sp-palette-button-container {
    display: none;
}
.sp-palette-only .sp-picker-container {
    display: none;
}
.sp-palette-disabled .sp-palette-container {
    display: none;
}

.sp-initial-disabled .sp-initial {
    display: none;
}


/* Gradients for hue, saturation and value instead of images.  Not pretty... but it works */
.sp-sat {
    background-image: -webkit-gradient(linear,  0 0, 100% 0, from(#FFF), to(rgba(204, 154, 129, 0)));
    background-image: -webkit-linear-gradient(left, #FFF, rgba(204, 154, 129, 0));
    background-image: -moz-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
    background-image: -o-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
    background-image: -ms-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
    background-image: linear-gradient(to right, #fff, rgba(204, 154, 129, 0));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";
    filter : progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr='#FFFFFFFF', endColorstr='#00CC9A81');
}
.sp-val {
    background-image: -webkit-gradient(linear, 0 100%, 0 0, from(#000000), to(rgba(204, 154, 129, 0)));
    background-image: -webkit-linear-gradient(bottom, #000000, rgba(204, 154, 129, 0));
    background-image: -moz-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
    background-image: -o-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
    background-image: -ms-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
    background-image: linear-gradient(to top, #000, rgba(204, 154, 129, 0));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";
    filter : progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81', endColorstr='#FF000000');
}

.sp-hue {
    background: -moz-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: -ms-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: -o-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: -webkit-gradient(linear, left top, left bottom, from(#ff0000), color-stop(0.17, #ffff00), color-stop(0.33, #00ff00), color-stop(0.5, #00ffff), color-stop(0.67, #0000ff), color-stop(0.83, #ff00ff), to(#ff0000));
    background: -webkit-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
}

/* IE filters do not support multiple color stops.
   Generate 6 divs, line them up, and do two color gradients for each.
   Yes, really.
 */
.sp-1 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#ffff00');
}
.sp-2 {
    height:16%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#00ff00');
}
.sp-3 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00', endColorstr='#00ffff');
}
.sp-4 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff', endColorstr='#0000ff');
}
.sp-5 {
    height:16%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff', endColorstr='#ff00ff');
}
.sp-6 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff', endColorstr='#ff0000');
}

.sp-hidden {
    display: none !important;
}

/* Clearfix hack */
.sp-cf:before, .sp-cf:after { content: ""; display: table; }
.sp-cf:after { clear: both; }
.sp-cf { *zoom: 1; }

/* Mobile devices, make hue slider bigger so it is easier to slide */
@media (max-device-width: 480px) {
    .sp-color { right: 40%; }
    .sp-hue { left: 63%; }
    .sp-fill { padding-top: 60%; }
}
.sp-dragger {
   border-radius: 5px;
   height: 5px;
   width: 5px;
   border: 1px solid #fff;
   background: #000;
   cursor: pointer;
   position:absolute;
   top:0;
   left: 0;
}
.sp-slider {
    position: absolute;
    top:0;
    cursor:pointer;
    height: 3px;
    left: -1px;
    right: -1px;
    border: 1px solid #000;
    background: white;
    opacity: .8;
}

/*
Theme authors:
Here are the basic themeable display options (colors, fonts, global widths).
See http://bgrins.github.io/spectrum/themes/ for instructions.
*/


/*Edited for planets.nu*/

.sp-container {
    border-radius: 0;
    background-color: #111;
    border: solid 1px #333;
    padding: 0;
}
.sp-container, .sp-container button, .sp-container input, .sp-color, .sp-hue, .sp-clear {
    font: normal 12px "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
.sp-top {
    margin-bottom: 3px;
}
.sp-color, .sp-hue, .sp-clear {
    border: solid 1px #333;
}

/* Input */
.sp-input-container {
    float:right;
    width: 100px;
    margin-bottom: 4px;
}
.sp-initial-disabled  .sp-input-container {
    width: 100%;
}
.sp-input {
   font-size: 12px !important;
   border: 1px inset;
   padding: 4px 5px;
   margin: 0;
   width: 100%;
   background:transparent;
   border-radius: 3px;
   color: #fff;
}
.sp-input:focus  {
    border: 1px solid orange;
}
.sp-input.sp-validation-error {
    border: 1px solid red;
    background: #fdd;
}
.sp-picker-container , .sp-palette-container {
    float:left;
    position: relative;
    padding: 10px;
    padding-bottom: 300px;
    margin-bottom: -290px;
}
.sp-picker-container {
    width: 172px;
    border-left: solid 1px #333;
}

/* Palettes */
.sp-palette-container {
    border-right: solid 1px #333;
}

.sp-palette-only .sp-palette-container {
    border: 0;
}

.sp-palette .sp-thumb-el {
    display: block;
    position:relative;
    float:left;
    width: 24px;
    height: 15px;
    margin: 3px;
    cursor: pointer;
    border:solid 2px transparent;
}
.sp-palette .sp-thumb-el:hover, .sp-palette .sp-thumb-el.sp-thumb-active {
    border-color: orange;
}
.sp-thumb-el {
    position:relative;
}

/* Initial */
.sp-initial {
    float: left;
    border: solid 1px #333;
}
.sp-initial span {
    width: 30px;
    height: 25px;
    border:none;
    display:block;
    float:left;
    margin:0;
}

.sp-initial .sp-clear-display {
    background-position: center;
}

/* Buttons */
.sp-palette-button-container,
.sp-button-container {
    float: right;
}

/* Replacer (the little preview div that shows up instead of the <input>) */
.sp-replacer {
    margin:0;
    overflow:hidden;
    cursor:pointer;
    padding: 4px;
    display:inline-block;
    *zoom: 1;
    *display: inline;
    border: solid 1px #333;
    background: #111;
    color: #333;
    vertical-align: middle;
	border-radius: var(--brad);
}
.sp-replacer:hover, .sp-replacer.sp-active {
    border-color: #444;
    color: #444;
}
.sp-replacer.sp-disabled {
    cursor:default;
    border-color: silver;
    color: silver;
}
.sp-dd {
    padding: 2px 0;
    height: 16px;
    line-height: 16px;
    float:left;
    font-size:10px;
}
.sp-preview {
    position:relative;
    width:25px;
    height: 20px;
    border: solid 1px #222;
    margin-right: 5px;
    float:left;
    z-index: 0;
}

.sp-palette {
    *width: 220px;
    max-width: 220px;
}
.sp-palette .sp-thumb-el {
    width:16px;
    height: 16px;
    margin:2px 1px;
    border: solid 1px #d0d0d0;
}

.sp-container {
    padding-bottom:0;
}


/* Buttons: http://hellohappy.org/css3-buttons/ */
.sp-container button {
  background-color: #eeeeee;
  background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
  background-image: linear-gradient(to bottom, #eeeeee, #cccccc);
  border: 1px solid #ccc;
  border-bottom: 1px solid #bbb;
  border-radius: 3px;
  color: #333;
  font-size: 14px;
  line-height: 1;
  padding: 5px 4px;
  text-align: center;
  text-shadow: 0 1px 0 #eee;
  vertical-align: middle;
}
.sp-container button:hover {
    background-color: #dddddd;
    background-image: -webkit-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: -moz-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: -ms-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: -o-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: linear-gradient(to bottom, #dddddd, #bbbbbb);
    border: 1px solid #bbb;
    border-bottom: 1px solid #999;
    cursor: pointer;
    text-shadow: 0 1px 0 #ddd;
}
.sp-container button:active {
    border: 1px solid #aaa;
    border-bottom: 1px solid #888;
    -webkit-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    -moz-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    -ms-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    -o-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
}
.sp-cancel {
    font-size: 11px;
    color: #d93f3f !important;
    margin:0;
    padding:2px;
    margin-right: 5px;
    vertical-align: middle;
    text-decoration:none;

}
.sp-cancel:hover {
    color: #d93f3f !important;
    text-decoration: underline;
}


.sp-palette span:hover, .sp-palette span.sp-thumb-active {
    border-color: #000;
}

.sp-preview, .sp-alpha, .sp-thumb-el {
    position:relative;
    /*background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);*/
}
.sp-preview-inner, .sp-alpha-inner, .sp-thumb-inner {
    display:block;
    position:absolute;
    top:0;left:0;bottom:0;right:0;
}

.sp-palette .sp-thumb-inner {
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=);
}

.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=);
}

.sp-clear-display {
	background-repeat: no-repeat;
	background-position: center;
	/*background-image: url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==);*/
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAMjSURBVDhPtZLrT9NQGIf3T0oCBi+w4abRzY1EowhMcIhoot9MjPGLicZvchEYEYwmIAoDVDQajdArrdCObW3XduPne87YCTFeYoxdnvQ957TPen7viYAuL7RRDYsCL7TYNPx6FVa4A5vWi4RF89W6x9eswKO5Kq1V+Z2N2RUJag5GN1owJccEY5tt2HVWMbh1FR1SB7rkLk6H3Ims3oM1t4i2zTHE5ClBy8ZjOLWQCV2SRDGrpQV5JY6yu44b5i0k1SS61QwnpaYwYuSw7pYRV/JIa7OCKEndg8I5LSM4KGSSbq2b0xS+9xrCjDYn+Cfh+u+Efq1MmbVySZMJqR1Fd4VnGKNME0qCw+qsfglrThHt0gSXNmmlTCu1ALzLlXAJbrgqqASvaTaACQmfUMBnrHE+YQUGvqKGPaq28I6eaLJKK+yK1Op1XHr+DbkFC0P79L7YhuT6eHTfxpW+HQwPMCzk+ndw944F72sVLy8aWB4wsTzI+IaFC1vY26sj4gQ1HH8iIfVUFXRNyXi36+LGVQOnTmpInmlw+pSGi706dldd5GMqZpOaYPKYgtCnDF0SxkjQPacJEnkF70subo6YXJRJ65wUvdh3WUfprYuZhIpnGV0wHSVh8D+EP9sy+wO+5eFfbdnBdExpbJfmGZNHSVglYZ2CvPzaxMjKtmBgyYQS+Hjw0Eb/FQuDww2yOQu379nwJB/zgzZeXWcUOfPUuD368WODgg6sUdubLNPYqwPaF+DDEvCx0IDV6hd6zUNQXkToFAR+aZGrIqEXYrN1HEp8RiAdmUTp5Tb0/l7InVEoJ+IcORqDdr4XFXsJ0kQ7lPwJgTTWisDboXNIQcrRaWiZZwIlMYNKwYZxbQjqmSS0dIajJlMwskPwSm9IEoc2lxbIU52Uof0nYe4vhFESFklIh1HuJGF6X0j3H4VqOt2AaiObOyA8KxBfyFq9cWgUcmxaIB2eQHmRMuzrgXy8Awplx2C1fq4Hjr0MabyNf1WTzdGWRoasM4FNXWtS9OBbDnUSCCtlBFsGAtNEYJjwqQ7LZVD/qcs6dZfG+/gVOhkAvgOyhSAHQFAyvQAAAABJRU5ErkJggg==);
}


/*styles for jquery autocomplete plugin*/
.autocomplete-suggestions { border: 1px solid #999; background: #666; color: #eee; overflow: auto; font-size: 14px;}
.autocomplete-suggestion { padding: 1px 2px; white-space: nowrap; overflow: hidden; }
.autocomplete-selected { background: #333; }
.autocomplete-suggestions strong { font-weight: normal; color: #fff; }
.autocomplete-group { padding: 2px 5px; }
.autocomplete-group strong { display: block; border-bottom: 1px solid #000; }#BlurScreen {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 101;
}

@supports (not (backdrop-filter: none)) and (not (-webkit-backdrop-filter: none)) {
    #BlurScreen {
        background-color: rgba(0, 0, 0, 0.8);
    }
}

.BrightenImg {
    filter: brightness(1.5);
}
 /*
#MoreScreen {
    background: none;
    background-color: rgba(0,0,0, 0.8);
    border: none;
    width: 340px;
    z-index: 102;
    
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}


#MoreScreen .ItemSelection {
    width: calc(100%-20px);  
}*/
    /*.MoreTitle {
    background: none;
    background-color: #001111;
    opacity: 0.9;
}

#tcontrol, .formrowselected {
    background-color: #002222 !important;
}
    #tcontrol div {
        background: linear-gradient(to bottom, #005555 5%, #004444 100%);
    }*/

    .BottomInfoBox {
        font-size: 13px;
        line-height: 17px;
        color: #fff;
        position: relative;
        float: left;
        text-align: center;
        width: 43px;
    }
    .BottomInfoBox.clans::before {
        margin: auto;
    }
    .BottomInfoBox.megacredits {
        width:50px;
        margin-right: 13px;
    }
        .BottomInfoBox.megacredits span{
            width: 50px;
        }
        .BottomInfoBox.megacredits div {
            width: 50px;
        }




    .BottomInfoBox::before {
        font-family: "Font Awesome 6 Free";
        display: block;
        font-size: 11px;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        font-weight: 900;
        -webkit-font-smoothing: antialiased;
        text-align: center;
        margin: auto;
    }

    .BottomInfoBox .LevelBar {
        position: absolute;
        left: 15%;
        width: 70%;
        bottom: 0px;
        /*background-color: #630;*/
        background: linear-gradient(to top, #310, #620);
        z-index: -1;
        /*border-top-left-radius: 50% 200%;*/
        /*border-top-right-radius: 50% 200%;*/
    }

        .BottomInfoBox span {
            line-height: 16px;
            font-size: 10px;
            color: #aaa;
            display: block;
            width: 43px;
            letter-spacing: 1px;
            margin-bottom: -2px;
            margin-top: -2px;
        }

        .BottomInfoBox.GreenBox {
            background-color: #003300;
            color: #99ff99;
        }

        .BottomInfoBox.RedBox {
            background-color: #330000;
            color: #ff3300;
            font-weight: bold;
        }

        .BottomInfoBox.OrangeBox {
            color: #ffff00;
            background-color: #333300;
        }

    .HeaderBar {
        background: linear-gradient(to top, #444 5%, #222 100%);
        height: 40px;
        overflow: hidden;
        color: #fff;
        background-color: #111;
        font-size: 12px;
        line-height: 40px;
        cursor: pointer;
        padding: 0 5px 0 5px;
        position: absolute;
        width: calc(100% - 10px);
        z-index: 80;
    }
        .HeaderBar.HeaderBarSubtext {
            line-height: 30px;
        }
        .HeaderBar.HeaderBarSubtext span {
            line-height: 16px;
            font-size: 10px;
        }

        .HeaderBar .HeaderEquip {
            color: #009999;
        }

        .HeaderBar .HeaderEquip i {
            color: #cff;
        }


        .HeaderBar .rNavState {
            color: #999;
            font-size: 11px;
            float: right;
            padding: 0px 0 0px 5px;
            border-left: solid 1px #444;
            text-align: center;
            min-width: 50px;
            line-height: 40px;
        }

.HeaderBar .rNavState i {
                color: #993300;
            }
#bottombuttonbar {
    z-index: 150;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 75px;
    background-color: #111;
    background: linear-gradient(to bottom, #222 5%, #000 100%);
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-column-gap: 7px;
    max-width: 420px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
}

#leftBottomButtons {
    height: 75px;

    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 6px;
    padding-left: 3px;
}

#middleBottomButtons {
    display: grid;
    text-align: center;
}

#rightBottomButtons {
    height: 75px;

    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    column-gap: 6px;
    padding-right: 3px;
}

#MoreScreen.MoreFullScreen {
    /*min-width: 320px;*/ /* max-width on a Moto G4 */
    max-width: 420px;
    top: 20px;
    /*left: 20px;*/
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    bottom: auto;
    /*min-height: 500px;*/ /* max-height on a Moto g4 */
    /*max-height: calc(100vh - 140px);*/
    border: none;
    width: calc(100% - 40px);
    height: calc(100% - 140px);
    border-bottom-right-radius: 0px;
    min-height: unset;
    background: linear-gradient(to bottom, #222 5%, #000 100%);
}
/*#MoreScreen.MoreFullScreen.MoreTransfer {
    height: 320px;
}*/
#MoreScreen.MoreFullScreen.MoreTransferTarget, #MoreScreen.MoreFullScreen.MoreTransfer {
    height: calc(100% - 245px);
}

#MoreScreen.MoreShowHud {
    height: calc(100% - 245px);
}

#MoreScreen.MoreFullScreen.MoreTransferTarget #morebottomcontent, #MoreScreen.MoreFullScreen.MoreTransfer #morebottomcontent {
    box-sizing: border-box;
    width: 100%;
    padding: 0px 5px;
}

#MoreScreen.MoreFullScreen .formrow {
    height: 40px;
    line-height: 40px;
    cursor: pointer;
}

#MoreScreen.MoreFullScreen #BuildTorpsScreen .formrow {
    height: 32px;
    line-height: 32px;
    cursor: pointer;
}

#MoreScreen.MoreFullScreen #tcontrol{
    position: absolute;
    width: 0;
    height: 0;
    right: 0;
    top: 40px;
    width: 120px;
    height: 320px;
    z-index: 11;
    background-color: #333;
}

/*#MoreScreen.MoreFullScreen.MoreTransfer #totalnolabel {
    display: none;
}*/

/*#MoreScreen.MoreFullScreen.MoreTransfer .formrow .firstval {
    display: none;
}*/

#MoreScreen.MoreFullScreen .ItemSelection {
    width: calc(100% - 5px);
}

#MoreScreen.MoreFullScreen #morebottom::before {
    content: "";
}

#MoreScreen.MoreFullScreen #Messaging, #MoreScreen.MoreFullScreen #MultiSimWin {
    position: relative;
    right: initial;
    top: initial;
    width: auto;
    height: auto;
    background-color: #111;
    padding-right: 0px;
    overflow-y: visible;
    z-index: 0;
    border-radius: 0;
    opacity: 1;
    background-image: none
}

#MoreScreen.MoreFullScreen .threadstart {
    position: absolute;
    bottom: 0px;
    width: 100%;
    z-index: 15;
    height: 40px;
}

#MoreScreen.MoreFullScreen .threadsend {
    position: absolute;
    bottom: 0px;
    right: 0px;
    z-index: 20;
    padding: 7px 0px 7px 10px;
    /*font-size: 18px;*/
}
#MoreScreen.MoreFullScreen .threadattach {
    position: absolute;
    top: initial;
    bottom: 0px;
    left: 0px;
    z-index: 20;
    padding: 7px 0px 7px 10px;
    width: 30px;
    font-size: 26px;
    margin-bottom: 0px;
}
#MoreScreen.MoreFullScreen .threadtext {
    position: absolute;
    bottom: 4px;
    left: 40px;
    z-index: 20;
    width: calc(100% - 90px);
    padding: 5px;
}


.MoreBottomAddition {
    width: 100%;
    position: absolute;
    top: 100%;
    background-color: #111;
}

.MoreBottomAddition .lval b {
    display: none !important;
}

.MoreBottomAddition .lval {
    line-height: 24px;
}

.HideLabels .lval b {
    display: none !important;
}

#bottombuttonbar .lval {
    line-height: 18px;
}

.sidefleet .fleetidle {
    float: none;
    position: relative;
}

.sidefleet .fleetidle::after {
    content: "\f111";
    font-family: "Font Awesome 6 Free";
    display: block;
    position: absolute;
    width: 6px;
    line-height: 6px;
    font-size: 6px;
    top: 17px;
    right: 3px;
    left: initial;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-weight: 900;
    color: #993300;
    -webkit-font-smoothing: antialiased;
    text-align: center;
}

.EquipIcon {
    filter: brightness(2);
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
}

#bottombuttonbar .tval {
    width: 40px;
    padding-top: 20px;
}

#bottombuttonbar .tval::before {
    width: 40px;
    top: 0;
}

#bottombuttonbar .tval span {
    top: 15px;
    width: 40px;
}
#MapTopButtons {
    width: 100%;
    height: 50px;
    position: absolute;
    left: 0px;
    top: 5px;
    pointer-events: none;
    display: flex;
    z-index: 80;
}
#MapBottomButtons {
    width: 100%;
    height: 50px;
    position: absolute;
    left: 0px;
    top: 5px;
    pointer-events: none;
    z-index: 80;
    font-family: Arial;
}

    #MapBottomButtons *, #MapToolsMobile *, .ChildrenEnabled * {
        pointer-events: auto;
    }

.mapbottombutton {
    height: 50px;
    min-width: 50px;
    line-height: 50px;
    text-align: center;
    color: #0ee;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 0, 0, 0.8), rgba(0, 30, 30, 0.8) 95%, rgba(0, 60, 60, 0.8));
    background: radial-gradient(closest-side, #000000, #222 95%);
    margin: 0px 0 0 5px;
}

.mapbottombutton i {
    line-height: 50px;
}

.largeBottomButton {
    position: relative;
    top: -25px;
    width: 75px;
    height: 75px;
}
.mapbottombutton.largeBottomButton i {
    font-size: 32px;
    line-height: 75px;
}
#MapToolsMobile {
    position: absolute;
    right: 0;
    bottom: 5px;
    pointer-events: none;
    z-index: 81;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
#MapToolsMobile img {
    position:absolute;
    bottom: 0;
    right: 0;
}

.MapToolsMobileSet {
    pointer-events: none !important;
    background: linear-gradient(to right, #333, #111);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}


#ScanMobile {
    position: absolute;
    top: 60px;
    pointer-events: none;
    z-index: 80;
    right: 0px;
    max-width: 100px;
    background-color: #000;
}
#ScanMobile img { width: 30px; height: 30px;padding: 0 0 2px 2px; }
#ScanMobile .lval { line-height: 18px; }
#ScanMobile .ItemSelection { max-width: 95px; }
    #ScanMobile .ItemSelection img {
        top: 45px;
    }
.SmallScan {
    background: none;
    position: absolute;
    top: 100%;
    right: 0;
}

    /*#ScanMobile #ScanTitle {
        height: 20px;
    }
        #ScanMobile #ScanTitle div {
            padding: 0 0 0 3px;
        }
        #ScanMobile #ScanTitle div::before {
            display:none;
        }
        #ScanMobile #ScanTitle span {
            display: none;
        }*/
        .SmallScan .ItemSelection {
    min-height: 30px;
    float:none;
    background-color: none;
    background: none;
    border:none;
    width: 40px;
}

            .SmallScan .ItemSelection img {
                right: unset;
                width: 30px;
                height: 30px;
                top: 5px !important;
            }
    .SmallScan .ItemSelection.EnemyItem {
        background-color: none !important;
        background: none !important;
    }

    .SmallScan .ItemSelection div, .SmallScan .ItemSelection b {
        display: none;
    }
        .SmallScan .ItemSelection div.ival, .SmallScan .ItemSelection div.mval, .SmallScan .ItemSelection div.lval {
            display: block;
            /*position: absolute;*/
            font-size: 10px;
        }

.maptoolmobile {
    height: 50px;
    width: 50px;
    line-height: 50px;
    text-align: center;
    color: #930;
    color: #cceeee;
    /*border-radius: 50%;*/
    border-radius: 50%;
    /*background: radial-gradient(closest-side, rgba(0, 0, 0, 0.8), rgba(0, 30, 30, 0.8) 120%, rgba(0, 60, 60, 0.8));
    background: radial-*/gradient(closest-side, #000000 25%, rgba(0, 0, 0, 0) 95%);
    font-size: 18px;
    margin: 0 0 5px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /*filter: drop-shadow(0 3px 3px #000);
    box-shadow: 0px 0px 3px 4px #000000;*/
}
.maptoolmobile.toolactive {
    background-color: rgba(68, 68, 102, 0.5);
    /*box-shadow: 0px 0px 0px 2px #668;*/
}

.Card {
    background: linear-gradient(to bottom, #333, #222);
    padding: 10px;
    margin: 8px;
    width: calc(100% - 36px);
    border-radius: 10px;

    cursor: pointer;
    color: #ccc;

    display: grid;
    grid-template-columns: 80px auto;
    grid-column-gap: 10px;
}

.ColonyTitle {
    text-align: center;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 5px 10px;
    width: calc(100% - 50px);
    margin: 0px auto;
    border-radius: 10px;
}

.ColonyTitle .lval {
    display: inline-block;
    width: 25%;
    min-width: 0px;
}

.ColonyInfoBlock {
    font-size: 14px;

    padding-left: 1ex;
    overflow: hidden;
    white-space: nowrap;
}

    .ColonyInfoBlock .vval {
        width: 62px;
    }

    .ColonyInfoBlock .vval::before {
        left: 66px;
    }

    .ColonyInfoBlock .lval b {
        display: none !important;
    }

.MoreFullScreen #Alerts {
    position: relative;
    margin: 0px;
    width: 100%;
}

.MoreFullScreen #TaskTitle {
    display: none;
}

.MoreFullScreen .Task.endturn, .MoreFullScreen .Task.exit {
    display: none;
}

.ObjectListTable td span {
    display: initial;
    color: #fff;
}

.ObjectListTable div {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.ObjectDetails {
    color: #fff;
}

.DetailHeader {
    width: calc(100% - 10px);
    background-color: #333;
    background: linear-gradient(to bottom, #333 5%, #151515 100%);
    height: 25px;
    line-height: 25px;
    color: #fff;
    padding: 0px 5px;
    margin-top: 5px;
    text-align: center;
    display: none;
}

.DetailHeader .ival {
    float: right;
    line-height: 25px;
}

.DetailHeader ~ textarea {
    width: calc(100% - 10px) !important;
    margin: 5px !important;
    resize: none;
}

.DetailHeader ~ div {
    padding-left: 5px;
    padding-right: 5px;
    padding: 5px;
    border-bottom: 1px solid #333;
}

.DetailHeader ~ div {
    padding-left: 5px;
    padding-right: 5px;
    padding: 5px;
    border-bottom: 1px solid #333;
}

.ObjectDetails div.report, .ObjectDetails div.warning {
    /*border-bottom: 1px solid #333;*/
    /*border: none;*/
}

.ObjectDetails div.report:last-child, .ObjectDetails div.warning:last-child {
    /*border: none;*/
}

.ival.report::before {
    content: "\f15c";
    color: #00ffff;
}

.ival.warning::before {
    content: "\f071";
    color: yellow;
}

.ObjectDetails .showdefense div {
    padding-left: 0px !important;
}

.ObjectDetails .lval {
    white-space: nowrap;
}

.ObjectDetails .lval > span {
    font-size: 11px;
    left: 160px;
}

.ObjectDetails .lval > span > span {
    left: 63px;
    width: 90px;
}

/*.ObjectDetails.ShipDetails .lval > b {
    width: 100px;
}*/

.ObjectDetailsDivider {
    height: 10px;
}

.MoreFullScreen #EditNote {
    height: calc(100% - 50px);
    resize: none;
}

.lval.notes {
    color: #00cccc;
}

.sidefleet {
    background: linear-gradient(to left, #222 5%, #111 100%);
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.sidefleet .jspVerticalBar {
    width: 0px;
    right: unset;
    left: 0px;
}

.HudNumber {
    position: absolute;
    width: 100%;
    text-align: center;
    /*background: linear-gradient(to right, transparent, black, black, transparent);*/
    font-size: 12px;
    line-height: 20px;
    color: #ff9900;
}

.fleetitem {
    position: relative;
    overflow: hidden;
/*    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;*/
}

.fleetscrollcontrol {
    font-size: 20px;
    width: 55px;
    height: 25px;
    padding: 5px 5px 0 0;
    line-height: 30px;
    text-align: center;
    position: absolute;
    color: #0ff;
    z-index: 80;
    background: linear-gradient(to left, #222 5%, #111 100%);
}

.MobileFuelGauge {
    width: 172px;
    border-radius: 5px;
    overflow: hidden;
    margin: auto;
}

.ResourceBar {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: auto auto auto auto;

    white-space: nowrap;
    grid-row-gap: 3px;
    font-size: 13px;
    line-height: 13px;
    margin: 4px auto 0 auto;
    text-align: center;  /* overrule from BODY */
    color: #fff;
}

@media screen and (min-width: 400px) {

    .BottomInfoBox.megacredits {
        margin-right: 20px;
        margin-left: 10px;
    }
}
.cargoaction {
    display: block;
    font-size: 11px;
    padding-top: 17px;
    line-height: 14px;
    position:relative;
    text-align: center;
}
.cargoaction::before {
    position: absolute;
    top: 20px;    
}

.shipammo {
    padding-top: 6px;
    font-size: 10px;
    color: #ccc;
}
.shipammo span {
    padding-left: 5px;
}

.HudDamageBubble {
    position: absolute;
    padding: 0px;
    border-radius: 50%;
    left: 70%;
    bottom: 70%;
    background-color: rgba(120, 0, 0, 0.8);
    font-size: 8px;
    background: radial-gradient(rgba(80, 0, 0, 0.8) 50%, red);
    width: 25px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-weight: 900;
    color: #fff;
}

.HudDetailsBubble {
    position: absolute;
    margin-top: 0px;
    background-color: rgba(0, 0, 0, 0.8);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    line-height: 25px;
    text-align: center;
}
.HudDetailsBubble::before {
     margin: 0px;
}

.ListSortedDown::after {
    font-family: "Font Awesome 6 Free";
    display: block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    position: absolute;
    bottom: 0px;
    content: "\f0d7" ;
}

.ListSortedUp::after {
    font-family: "Font Awesome 6 Free";
    display: block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    position: absolute;
    bottom: 0px;
    content: "\f0d8";
}

#WarningAndReportIcons {
    position: absolute;
    top: 40px;
    left: 0px;
    z-index: 70;
    background-color: rgba(0, 0, 0, 0.5);
    border-bottom-right-radius: 10px;
    height: 30px;
    width: 30px;
    pointer-events: none;
    display:none;
}

#WarningAndReportIcons * {
    pointer-events: none !important;
}

    @keyframes animshipdetails {
        from {
        width: 100%;
        margin-left: -50%;
        margin-left: 0%;
        object-position: 50% 65%;
    }

    to {
        width: 100px;
        margin-left: calc(50% - 50px);
        object-position: 50% 50%;
    }
}

.AnimShipDetails {
animation-name: animshipdetails;
animation-duration: 60s;
animation-iteration-count: infinite;
animation-direction: alternate;
}

.WOW {
    animation: wow 1s 1;
}
@keyframes wow {
    from {

    }
    to {
        transform: scale(10);
        opacity: 0;
        /*display: none;*/
    }
}

#homesectormc {
    position: relative;
}
.mcaddedtoken {
    animation: mcaddedtokenmove 0.5s ease-in forwards;
    position: absolute;
    top: 0px;
    left: 0px;
    pointer-events: none;
}
@keyframes mcaddedtokenmove {
    from {

    }
    to {
        transform: translate(0px, 0px) scale(1);
    }
}
.icomoon-beamicon1:before, .icomoon-beamicon2:before, .icomoon-beamicon3:before,
.icomoon-engineicon1:before, .icomoon-engineicon2:before, .icomoon-engineicon3:before,
.icomoon-torpicon1:before, .icomoon-torpicon2:before, .icomoon-torpicon3:before {
    color: #699;
}

.icomoon-beamicon4:before, .icomoon-beamicon5:before, .icomoon-beamicon6:before,
.icomoon-engineicon4:before, .icomoon-engineicon5:before, .icomoon-engineicon6:before,
.icomoon-torpicon4:before, .icomoon-torpicon5:before, .icomoon-torpicon6:before
{
    color: #099;
}

.icomoon-beamicon7:before, .icomoon-beamicon8:before, .icomoon-beamicon9:before,
.icomoon-engineicon7:before, .icomoon-engineicon8:before,
.icomoon-torpicon7:before, .icomoon-torpicon8:before, .icomoon-torpicon9:before {
    color: #996;
}

.icomoon-beamicon10:before,
.icomoon-engineicon9:before,
.icomoon-torpicon10:before, .icomoon-torpicon11:before {
    color: #c90;
}
/*#expInfo {
    margin: 20px;
    width: 300px;
}
    #expInfo td {
        padding: 5px 0 0 0;
    }*/

.ehulldescription {
    vertical-align: top;
}
.ehulldescription span {
    display: block;    
}
.ehulldescription .lval b {
    display: inline-block;
}
/*#ehulllist {
    padding: 0px 0 0 0;
    font-size: 13px;
}
    #ehulllist tr {
        border-bottom: solid 1px #444;
    }
#ehulllist th {
    text-align: center;
    font-weight: normal;
    padding: 0 0 5px 0;
}
#ehulllist th.emainheader {
    text-align: center;
    font-weight: bold;
    padding: 0 0 5px 0;
}
#ehulllist td {
    text-align: center;
    padding: 8px 0 8px 0;
}*/
.ehullrow:hover {
    background-color: #444;
    cursor: pointer;
}.replay {
    position: absolute;
    bottom: 0;
    height: 60px;
    width: 100%;
    z-index: 80;  /* match bottom bar and vgap.more */
    background: linear-gradient(to bottom, #222, black);

    max-width: 420px;
    left: 50%;
    transform: translateX(-50%);
}

#replayBar {
    position: absolute;
    bottom: 60px;
    z-index: 150;
    width: 100%;
    height: 40px;
    display: grid;
}

#replayLabel {
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    justify-self: center;
    background: #222;
    border-radius: 20px 20px 0 0;
    padding: 0 1em;
    color: cyan;
}
/*#PieChart
{
   
    background-image: url("img/ui/50percentblack.png");
    border-radius: 10px;
    border-color:rgba(120,120,120,0.5);
    border-style:solid;
    border-width:thin;
     z-index:5;
}*/

/*#Scores
{
    background-color:rgba(120,120,120,0);
    border-radius: 10px;
     z-index:5;
}*/

/*dt { display:block; clear:left; float:left; text-align:left; margin:3px 3px 3px 3px; }
dd { float:left; display:inline-block; border:solid 1px #000; overflow:hidden; }*/


.PlanetCount
{
    background-color: #009999;
    height: 18px;
    border: solid 1px #00ffff;    
}

.MilitaryScore {
    background-color: #009900;
    border: solid 1px #00ff00;
    height: 18px;
}

.ShipScore {
    background-color: #99ff00;
    border: solid 1px #ffff00;
    height: 18px;
}

/*#PlanetPie
{
   
    background-image: url("img/ui/50percentblack.png");
    border-radius: 10px;
    border-color:rgba(120,120,120,0.5);
    border-style:solid;
    border-width:thin;
    z-index:5;
}

#OwnedPlanetPie
{
   
    background-image: url("img/ui/50percentblack.png");
    border-radius: 10px;
    border-color:rgba(120,120,120,0.5);
    border-style:solid;
    border-width:thin;
     z-index:5;
}*/


/*#ScoreBoard
{

    background-image: url("img/ui/50percentblack.png");
    border-radius: 10px;
    border-color:rgba(120,120,120,0.5);
    border-style:solid;
    border-width:thin; 
     z-index:5;
}*/

/*#GameEventContainer
{

    background-image: url("img/ui/50percentblack.png");
    border-radius: 10px;
    border-color:rgba(120,120,120,0.5);
    border-style:solid;
    border-width:thin; 
    padding:10px 10px 10px 10px;
     z-index:5;
}*/


/*#PlanetBoard
{
  
    background-image: url("img/ui/50percentblack.png");
    border-radius: 10px;
    border-color:rgba(120,120,120,0.5);
    border-style:solid;
    border-width:thin;
     z-index:5;
}*/


/*#ScoreData
{
    padding: 10px;
    color: #fff;
    text-align: left;
  
    width:850px;
    background-image: url("img/ui/50percentblack.png");
    border-radius: 10px;
    border-color:rgba(120,120,120,0.5);
    border-style:solid;
    border-width:thin;
     z-index:5;
}
    
#ScoreTeamData
{
   
    padding: 10px;
    color: #fff;
    text-align: left;
    z-index:5;
   
    width:850px;
    background-image: url("img/ui/50percentblack.png");
    border-radius: 10px;
    border-color:rgba(120,120,120,0.5);
    border-style:solid;
    border-width:thin;
}*/

/*#TeamTable {
    margin: 10px;
}
    #TeamTable tr {
        
    }
    #TeamTable td {
        padding: 10px 0 20px 0;
    }*/

/*#eteamtable td span {
    font-size: 11px;
    color: #ccc;
    margin: 0 0 0 5px;
}*/#estart {
    padding: 0 0 100px 0;
    position: absolute;
}
#edashmenu {
    padding: 0;
    margin: 0;
    list-style-type:none;
}

    #edashmenu li {
        cursor:pointer;
        width: 126px;
        display: block;
        height: 131px;
        font-size: 11px;
        border: solid 1px #333;
        color: #ccc;
        padding: 20px;
        margin: 10px 10px 0 0;
        float: left;
        text-align: center;
        background-color: #111;
    }
        #edashmenu li.elarge {
            width: 918px;
            text-align: left;
        }
        #edashmenu li.ebigbox {
            width: 560px;
            height: 315px;
        }
        #edashmenu li div {
            text-align: center;
            margin: 0 0 5px 0;
            font-size: 14px;
            color: #fff;
        }
        #edashmenu li h1 {
            margin: 0;
            padding: 0 0 10px 0;
            font-size: 30px;
            color: #fff;
        }
        #edashmenu li b {
            color: #fff;
        }
        #edashmenu li div b {
            font-weight: bold;
            font-size: 24px;
            line-height: 34px;
            display: block;
            margin: 0 0 5px 0;
        }
        #edashmenu li span {
            font-size: 14px;
            display:block;
            color: #990000;
            margin: 0 0 5px 0;
            text-align: center;
        }
        #edashmenu li:hover {
            background-color: #333;
        }
        #edashmenu li.etestimonial {
            width: 740px;
            text-align: left;
            font-size: 24px;
            line-height: 30px;
            color: #fff;
        }
        #edashmenu li.etestimonial p{
            text-align: right;
            font-size: 16px;
            color: #ccc;
        }
    #edashmenu blockquote {
        display: none;
    }

#estory {
    font-size: 14px;
    line-height: 20px;
            
}

#moon {
 background-image: url('/img/ui/phobos144.jpg');
  width: 70px;
  height: 70px;
  /* a black shadow from left and white from right */
  box-shadow: inset 16px 0 40px 3px rgba(0,0,0,0.9), inset -3px 0 5px 2px rgba(255,255,255,0.16);
  background-size: 144px 72px;
  margin: 80px auto;
  border-radius: 50%;
  position: absolute;
  -webkit-animation-name: move,scale,rotate;
  -webkit-animation-duration: 30s,30s,10s;
  -webkit-animation-iteration-count: infinite,infinite,infinite;
  -webkit-animation-timing-function: ease-in-out,linear,linear;
  animation-name: move,scale,rotate;
  animation-duration: 30s,30s,10s;
  animation-iteration-count: infinite,infinite,infinite;
  animation-timing-function: ease-in-out,linear,linear;
}

@-webkit-keyframes move {
  0%   { left: 550px; top: 200px; z-index: -1; }  
  70%  { left: -50px; top: -100px; z-index: -1; }
  100% { left: 550px; top: 200px; z-index: 100; }
}

@-webkit-keyframes scale {
  0%  { transform: scale(1);   }
  32% { transform: scale(0.4); animation-timing-function:  ease-in; }
  70% { transform: scale(1); animation-timing-function:  ease-in; }
  75% { transform: scale(1.2);  animation-timing-function:  ease-in-out; }
  86% { transform: scale(2);  }  
  98% { transform: scale(1.2); }
  100%{ transform: scale(1); }
}
 
@-webkit-keyframes rotate {
  0% { background-position: 0px 0; }
  100% { background-position: 144px 0; }
}

@keyframes move {
  0%   { left: 550px; top: 200px; z-index: -1; }  
  70%  { left: -50px; top: -100px; z-index: -1; }
  100% { left: 550px; top: 200px; z-index: 100; }
}

@keyframes scale {
  0%  { transform: scale(1);   }
  32% { transform: scale(0.4); animation-timing-function:  ease-in; }
  70% { transform: scale(1); animation-timing-function:  ease-in; }
  75% { transform: scale(1.2);  animation-timing-function:  ease-in-out; }
  86% { transform: scale(2);  }  
  98% { transform: scale(1.2); }
  100%{ transform: scale(1); }
}
 
@keyframes rotate {
  0% { background-position: 0px 0; }
  100% { background-position: 144px 0; }
}

#esphere {
 background-image: url('/img/ui/europa1024.jpg');  
  box-shadow: inset 16px 0 40px 3px rgba(0,0,0,0.9), inset -3px 0 5px 2px rgba(255,255,255,0.16);
  border-radius: 50%;
  position: relative;
  -webkit-animation-name: srotate;
  -webkit-animation-duration: 100s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  animation-name: srotate;
  animation-duration: 100s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  width:425px;
  height:425px;
  margin: 40px 85px 40px 85px;
}

@-webkit-keyframes srotate {
  0% { background-position: 0px 0; }
  100% { background-position: 1024px 0; }
}
 
@keyframes srotate {
  0% { background-position: 0px 0; }
  100% { background-position: 1024px 0; }
}


@import url(https://fonts.googleapis.com/css?family=Droid+Sans:400,700);
@import url(https://fonts.googleapis.com/css?family=Gravitas+One);
@import url(https://fonts.googleapis.com/css?family=Holtwood+One+SC);

@font-face {
	font-family: 'PlanetX';
	src: url('/img/fonts/Planetxv2.ttf') format('truetype');
}

#eplanet1 {
    background-image: url(/img/planets/63.png);
    width: 400px;
    height: 400px;
    position: absolute;
    left: -300px;
    top: -50px;
}

#eplanet2 {
    background-image: url(/img/planets/172.png);
    width: 400px;
    height: 400px;
    position: absolute;
    left: 750px;
    top: 400px;
}

#estarbase {
    background-image: url(/img/icons/starbase120.png);
    width: 120px;
    height: 120px;
    position: absolute;
    left: 1150px;
    top: 350px;
}

#eship1 {
    background-image: url(/img/hulls/44.png);
    width: 400px;
    height: 400px;
    position: absolute;
    left: -450px;
    top: 450px;
}
#eship2 {
    background-image: url(/img/hulls/45.png);
    width: 400px;
    height: 400px;
    position: absolute;
    left: -350px;
    top: 550px;
}

#eship3 {
    background-image: url(/img/hulls/42.png);
    width: 400px;
    height: 400px;
    position: absolute;
    left: -600px;
    top: 600px;
}

#eship4 {
    background-image: url(/img/hulls/40.png);
    width: 400px;
    height: 400px;
    position: absolute;
    left: 950px;
    top: -250px;
}

#eww2, #eww1 {
    background-image: url(/img/screenshots/warpwell.png);
    width: 630px;
    height: 621px;
    position: absolute;
}
#eww2 {
    left: 650px;
    top: 300px;
}

#eww1 {
    left: -400px;
    top: -150px;
}

#escreenshots {
    float:right;
    text-align: center;
    cursor: pointer;
    color: #009900 !important;
    text-transform: uppercase;    
    font-size: 11px !important;
    border: solid 2px #ccc;
    position: relative;
    top: -40px;
    right: -40px;
    background-color: black;
}
    #escreenshots:hover {
        border: solid 2px #fff;
    }

.buyform {
    background: linear-gradient(to bottom, rgba(58,70,70,1) 0, rgba(52,60,60,1) 30px);
    padding: 15px;
    margin: 20px 0 50px 0;
    border-radius: 5px;
}
#ebuycreditform label {
    display: inline !important;
}

#ebuycreditform ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#ebuycreditform li {
    padding: 10px;
    margin: 0 0 5px 0;
}
#ebuycreditform span {
    font-size: 12px;
}

#ebuycredit, #ecompletesubscription, #ecompletecreditspurchase {
    background: #3498db;
    background-image: linear-gradient(to bottom, #00eeff, #006363);
    border-radius: 5px;
    font-family: Arial;
    color: #ffffff !important;
    font-size: 14px;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-block;
}

.estarthome {
    background-position: center top;
    background-repeat: no-repeat;
    position:relative;
    overflow: hidden;
}


#echat {
    margin: -30px auto 20px auto;
    max-width: 600px;
    position: relative;
    padding: 30px 30px 200px 30px;
    min-height: 1500px;
    border: solid 3px #222;
    border-radius: 20px;
    background-color: #111;
    box-shadow: 0px 0px 16px 2px rgba(100,100,100,0.75);
}

#echat.quick {
    margin: -30px auto 20px auto;
    max-width: 600px;
    position: relative;
    padding: 30px 30px 30px 30px;
    min-height: 0px;
    border: solid 3px #222;
    border-radius: 20px;
    background-color: #111;
    box-shadow: 0px 0px 16px 2px rgba(100,100,100,0.75);
}
    .chatimage {
        max-width: 100%;
        border-radius: 20px;
    }
.chatcontainer {
    clear: both;
    margin-bottom: 10px;
}
    .chatcontainer::after {
        content: "";
        display: table;
        clear: both;
    }
    .chatcontainer input {
        font-size: 20px;  
        border-radius: 5px;
        border-color: #3498db;
        padding: 5px;
        margin: 0 10px 0 0;
    }

.chattext {
    padding: 20px;
    font-size: 14px;
    line-height: 20px;
    border-radius: 20px;
    background-color: #333;
    color: #fff;
    display: inline-block;
    text-shadow: 0 -2px -2px rgba(255,255,255,.3);
    position: relative;
}
    .chattext:after {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 0;
        height: 0;
        border: 13px solid transparent;
        border-right-color: #333;
        border-left: 0;
        border-top: 0;
        margin-top: -6.5px;
        margin-left: -13px;
    }

.chattextright {
    padding: 20px;
    font-size: 14px;
    line-height: 20px;
    border-radius: 20px;
    background-color: #3498db;
    color: #fff;
    display: inline-block;
    text-shadow: 0 -0.05em 0.1em rgba(0,0,0,.3);
    position: relative;
    float: right;
}
    .chattextright::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        width: 0;
        height: 0;
        border: 13px solid transparent;
        border-left-color: #3498db;
        border-right: 0;
        border-top: 0;
        margin-top: -6.5px;
        margin-right: -13px;
    }

.chatbutton {
    background: #3498db;
    background-image: linear-gradient(to bottom, #00eeff, #006363);
    border-radius: 5px;
    font-family: Arial;
    color: #ffffff !important;
    font-size: 14px;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-block;
}
#startplaying {
    background-image: linear-gradient(to bottom, #00ee00, #006300);
}

.toggleFullScreen::after {
    content: '\f065';
}
    .toggleFullScreen::after:fullscreen {
        content: '\f066' !important;
    }

.buttonhelper {
    color: #999;
    font-size: 11px;
    padding: 10px;
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}

    .videoWrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.chatselectimage {
    width: 70px;
    height: 70px;
    border: solid 2px transparent;
    float: left;
    padding: 5px;
    margin: 5px;
}
.chatselectimage:hover { border: solid 2px #666; }
    .chatimageselected, .chatimageselected:hover {
        border: solid 2px #3498db;
    }
.chatinputerror{
    display: block;
    color: #999;
    font-size: 12px;
    padding-top: 10px;
}
#chatscrollindicator {
    position: fixed;
    bottom: 10px;
    right: 10px;
    border-radius: 50%;
    background-color: #333;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    padding: 4px 0 0 0;
}


.homescreen {
    background-image: url(/img/maps/2000.png);
    background-repeat: no-repeat;
    background-position: center -300px;
}
.homescreen #eheader { display: none; }
    .homescreen #econtent { padding: 0 10px 0 10px;}

#racesleft {
    position: absolute;
    left: -100px;
    top: 400px;
}
#racesright {
    position: absolute;
    right: -100px;
    top: 400px;
}
#racesleft img, #racesright img { width: 70px;height: 70px; margin-top: 100px; opacity: 0.7; display:block; }

/*#racesleftquick {
    position: absolute;
    left: -100px;
}
#racesrightquick {
    position: absolute;
    right: -100px;
}*/
#racesleftquick img, #racesrightquick img { width: 70px;height: 70px; margin: calc((100vh - 450px) / 6) 0px; opacity: 0.7; display:block; }

.homelogo {
    text-align: center;
    background-image: url(/img/tour/logo.png);
    background-size: 600px 600px;
    background-repeat: no-repeat;
    background-position: center center;
    height: 600px;
    margin-top: -170px;
}

@media screen and (max-width: 600px) {
    .homelogo { 
        background-size: 300px 300px;
        height: 300px;
        margin-top: -70px;
    }
    #echat {
        margin-top: -50px;
    }
}


.storybutton {
    width: 300px;
    height: 150px;
    background-image: url(/img/story/portals.jpg);
    background-size: 600px 300px;
    background-position: center center;
    margin: 20px auto 40px auto;
    border-radius: 10px;
    border: solid 2px #333;
    position: relative;
    cursor: pointer;
    display: block;
}

    .storybutton::before {
        content: "\f144";
        font-family: "Font Awesome 6 Free";
        display: block;
        font-size: 60px;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        font-weight: 900;
        color: #fff;
        -webkit-font-smoothing: antialiased;
        text-align: center;
        position: relative;
        top: 60px;
    }
    .storybutton span { position: absolute; bottom: -20px; left: 0; width: 300px; display: block; text-align: center; font-size: 11px; color: #999; }



.welcomescreen {
    background-image: url(/img/tour/tourscreen1.jpg);
    background-repeat: no-repeat;
    background-position: center 0;
    box-shadow: 0 0 18px 18px black inset;
    min-height: 800px; 
}

    .welcomescreen #eheader {
        display: none;
    }



/*** SIGN IN FORM AND SIGN UP FORM ***/
.ewelcomeform {
    background-color: #222;
    border: solid 2px #333;
    padding: 30px;
    position: relative;
    margin: 0 auto;
    border-radius: 20px;
}

    .ewelcomeform p {
        width: 259px;
        padding: 5px;
        margin: 0;
    }

    .ewelcomeform input[type="checkbox"] {
        margin: 5px 5px 0 0;
    }

    .ewelcomeform select {
        width: 245px;
    }

    .ewelcomeform input[type="text"], .ewelcomeform input[type="password"] {
        width: 80%;
        font-size: 16px;
        height: 20px;
    }

    .ewelcomeform input[type="button"] {
        border: 0;
        background-color: #666;
        border: solid 1px #333;
        color: #fff;
        width: 80px;
        padding: 3px 5px 3px 5px;
        text-transform: uppercase;
        cursor: pointer;
        float: right;
    }

    .ewelcomeform label {
        font-size: 14px;
        line-height: 24px;
    }

        .ewelcomeform label a {
            float: right;
            display: block;
            font-size: 11px;
        }

.ewelcomeform #eselectlang {
    float: right;
    width: auto;
}

.ontimeline #econtent {
    padding-right: 0px;
}

.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
    font-family: Roboto;
}

    .timeline:before {
        top: 0;
        bottom: 0;
        position: absolute;
        content: " ";
        width: 4px;
        background-color: #eeeeee;
        left: 50%;
        margin-left: -2px;
        border-radius: 50%;
    }

    .timeline > li {
        margin-bottom: 20px;
        position: relative;
    }

        .timeline > li:before,
        .timeline > li:after {
            content: " ";
            display: table;
        }

        .timeline > li:after {
            clear: both;
        }

        .timeline > li:before,
        .timeline > li:after {
            content: " ";
            display: table;
        }

        .timeline > li:after {
            clear: both;
        }

        .timeline > li > .timeline-panel.timeline-locked {
            width: 84px !important;
            margin-left: calc(46% - 84px);
        }

        .timeline > li > .timeline-panel.timeline-locked.timeline-haspic {
            width: 160px !important;
            margin-left: calc(46% - 160px);
        }

        .timeline > li:nth-child(even) > .timeline-panel.timeline-locked {
            margin-left: 0px;
            margin-right: calc(46% - 84px);
        }
        .timeline > li:nth-child(even) > .timeline-panel.timeline-locked.timeline-haspic {
            margin-left: 0px;
            margin-right: calc(46% - 160px);
        }

        .timeline > li > .timeline-panel {
            width: 46%;
            float: left;
            border: 1px solid #d4d4d4;
            border-radius: 2px;
            padding: 20px;
            position: relative;
            -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
            box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
            border-radius: 10px;
            background-color: rgba(0,0,0,.5);
            z-index: 10;
        }

            .timeline > li > .timeline-panel:before {
                position: absolute;
                top: 26px;
                right: -15px;
                display: inline-block;
                border-top: 15px solid transparent;
                border-left: 15px solid #ccc;
                border-right: 0 solid #ccc;
                border-bottom: 15px solid transparent;
                content: " ";
            }

            .timeline > li > .timeline-panel:after {
                position: absolute;
                top: 27px;
                right: -14px;
                display: inline-block;
                border-top: 14px solid transparent;
                border-left: 14px solid #fff;
                border-right: 0 solid #fff;
                border-bottom: 14px solid transparent;
                content: " ";
            }

        .timeline > li > .timeline-badge {
            color: #fff;
            width: 50px;
            height: 50px;
            line-height: 50px;
            font-size: 12px;
            text-align: center;
            position: absolute;
            top: 16px;
            left: 50%;
            margin-left: -25px;
            background-color: #999999;
            z-index: 0;
            border-top-right-radius: 50%;
            border-top-left-radius: 50%;
            border-bottom-right-radius: 50%;
            border-bottom-left-radius: 50%;
        }

        .timeline > li:nth-child(even) > .timeline-panel {
            float: right;
        }

            .timeline > li:nth-child(even) > .timeline-panel:before {
                border-left-width: 0;
                border-right-width: 15px;
                left: -15px;
                right: auto;
            }

            .timeline > li:nth-child(even) > .timeline-panel:after {
                border-left-width: 0;
                border-right-width: 14px;
                left: -14px;
                right: auto;
            }

.timeline-badge.primary {
    background-color: #2e6da4 !important;
}

.timeline-badge.success {
    background-color: #3f903f !important;
}

.timeline-badge.warningbadge {
    background-color: #f0ad4e !important;
}

.timeline-badge.danger {
    background-color: #d9534f !important;
}

.timeline-badge.info {
    background-color: #5bc0de !important;
}

.timeline-title {
    margin-top: 0;
    color: inherit;
}
.timeline-heading p, .timeline-clock {
    color: #666;
    font-size: 12px;
}
.timeline-body > p,
.timeline-body > ul {
    margin-bottom: 0;
}

.timeline-body > p + p {
    margin-top: 5px;
}

.timeline-unlocks {
    opacity: 0.5;
}
.timeline-unlocks a:not(:last-of-type)::after {
    content: ", "
}

@media (max-width: 767px) {
    ul.timeline:before {
        left: 40px;
    }

    ul.timeline > li > .timeline-panel {
        width: calc(100% - 90px);
        width: -moz-calc(100% - 90px);
        width: -webkit-calc(100% - 90px);
    }

    ul.timeline > li > .timeline-badge {
        left: 15px;
        margin-left: 0;
        top: 16px;
    }

    ul.timeline > li > .timeline-panel {
        float: right;
    }

        ul.timeline > li > .timeline-panel:before {
            border-left-width: 0;
            border-right-width: 15px;
            left: -15px;
            right: auto;
        }

        ul.timeline > li > .timeline-panel:after {
            border-left-width: 0;
            border-right-width: 14px;
            left: -14px;
            right: auto;
        }

    .timeline > li > .timeline-panel.timeline-locked {
        width: 84px !important;
        margin-right: calc(100% - 84px - 90px);
    }

        .timeline > li > .timeline-panel.timeline-locked.timeline-haspic {
            width: 160px !important;
            margin-right: calc(100% - 160px - 90px);
        }

    .timeline > li:nth-child(even) > .timeline-panel.timeline-locked {
        margin-left: 0px;
        margin-right: calc(100% - 84px - 90px);
    }

        .timeline > li:nth-child(even) > .timeline-panel.timeline-locked.timeline-haspic {
            margin-left: 0px;
            margin-right: calc(100% - 160px - 90px);
        }
}

#etourbox {
    background-color: #111;
    border: 5px solid #333;
    padding: 20px;
    text-align: center;
    max-width: 800px;
    position:relative;
    border-radius: 20px;
    font-size: 14px;
    line-height: 24px;
}
#etourstart {
    background-color: #258291;    
    border-radius: 5px;
    color: #fff !important;
    padding: 10px;
    text-transform: uppercase;
    margin: 20px auto 20px auto;
    display:block;
    width: 150px;
}

.tourbackground1, .tourbackground2, .tourbackground3, .tourbackground4, .tourbackground5, .tourbackground6 {
    height: 1000px;
    padding-top: 850px;
    border: solid 5px #333;
    margin-bottom: 50px;
    background-repeat: no-repeat !important;
    max-width: 800px;
}
.tourbackground1 {
    background-image: url(/img/tour/tourscreen1.jpg) !important;
    background-position: center 0;
}
.tourbackground2 {
    background-image: url(/img/tour/tourscreen2.jpg) !important;
    background-position: center 0;
}
.tourbackground3 {
    background-image: url(/img/tour/tourscreen3.jpg) !important;
    background-position: 15% -120px;
}
.tourbackground4 {
    background-image: url(/img/tour/tourscreen4.jpg) !important;
    background-position: left 0;
}
.tourbackground5 {
    background-image: url(/img/tour/tourscreen5.jpg) !important;
    background-position: 70% -200px;
}
.tourbackground6 {
    background-image: url(/img/tour/tourscreen6.jpg) !important;
    background-position: right 0;
}


.battle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: center;
    justify-items: center;
}

.battle .name {
    color: white;
    font-size: 14px;
    height: 20px;
    overflow: hidden;
}

.battle .simple {
    width: 90%;
    max-width: 200px;
    white-space: nowrap;
}

.battle .icon {
    font-size: 15px;
    padding: 0 0.5ex;
}

.battle .bar {
    width: 90%;
    max-width: 200px;
    padding: 0 0.5ex;
    border: 1px solid #333;
    margin-top: 0.5ex;
}

.battlefield {
    background: black;
    border: solid #222;
    border-width: 1px 0;
    margin: 1ex 0;
    height: 30vh;
    width: 100%;
    grid-column: 1/3;

    display: grid;  /* ships/planet before replay */
    grid-template-columns: auto auto;
    justify-content: space-around;
    position: relative;  /* anchor during replay */
}

.battlefield * {
    position: absolute;
}

.battlefield .radialShield {
    top: -25px;
    left: -25px;
    border-radius: 50%;
}

.battlefield .explosion {
    position: absolute;
}

.battlefield .explosion .ring {
    position: absolute;
    border-radius: 50%;
}

.battlefield .timer {
    bottom: 5px;
    width: 100%;
    text-align: center;
}

.battlefield .result {
    text-align: center;
    color: white;
    font-size: 14px;
    bottom: 1ex;
}

.battle .weaponBar {
    width: 90%;
    max-width: 200px;
    display: inline-grid;
    grid-template-columns: repeat(10, 1fr);
}

.battle .weapon {
    width: 12px;
    height: 12px;
    margin: 1px;
    background: #333;  /* before charging */
}

.battle .tube {
    border-radius: 50%;
}

.battlefield .fighter {
    position: absolute;
    top: 1px;
    width: 12px;
    height: 12px;
    line-height: 12px;
}

.battleResult {
    grid-column: 1/3;
    width: 100%;
    text-align: center;
    font-size: 14px;
}

.controls {
    width: 100%;
    height: 40px;
    display: grid;
    grid-auto-flow: column;
    place-items: center;
    font-size: 16px;
}

.control {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: cyan;
}

.togglePlayback {
    border: 1px solid #088;
    border-radius: 50%;
}

.events .group {
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    padding: 0 10px;
    border-bottom: solid 1px #333;
}

.events .group .vital {
    color: yellow;
}

.events .group .resizeTheIcon {
    width: 14px;  /* match the font size */
    text-align: center;
    color: #bbb;
}

.events .single {
    padding: 1ex;
    border-bottom: 1px solid #333;
    display: grid;
    grid-template-columns: 80px auto 80px;
    grid-column-gap: 1ex;
}

.events .single .left {
    width: 80px;
    height: 80px;
}
.events .single .right {
    width: 80px;
    height: 80px;
}

.EventPin {
    padding: 1ex;
    border: 1px solid grey;
    width: auto;
    max-width: 200px;
}

.guide {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;

    z-index: 100;

    display: grid;
}

.guide .cover {
    background-color: rgba(120, 120, 120, 0.5);
}

.guide .topLeft {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    position: relative;
}

.guide .topLeft span {
    position: absolute;
    bottom: 0;
    right: 0;
    text-align: right;
}

.guide .top {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.guide .topRight {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    position: relative;
}

.guide .topRight span {
    position: absolute;
    bottom: 0;
    left: 0;
}

.guide .left {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.guide .center {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.guide .right {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.guide .bottomLeft {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}

.guide .bottom {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
}

.guide .bottomRight {
    grid-column: 3 / 4;
    grid-row: 3 / 4;
}
.planning {
    display: grid;
    grid-template-columns: 90%;
    place-content: space-around;
    max-width: 480px;
    margin: auto;
    font-size: 14px;
}

.planning .Objective {
    display: grid;
    grid-template-columns: 40px auto 40px;

    height: 40px;
    line-height: 40px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    background: linear-gradient(to bottom, #333 5%, #222 100%);
    margin: 2px 0;
}

.Objective span {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.white { color: white }
.yellow { color: yellow }
.green { color: #0f0 }

.planning .center {
    text-align: center;
}

.planning .highlight {
    color: white;
    font-size: 16px;
}

.planning .missed {
    padding: 5px;
}
.planning .one {
    color: white;
    background-color: #a50;
}
.planning .two {
    color: white;
    background-color: #a11;
}

.planning .disabled {
    background: black;
    color: #888;
    border: 1px solid #333;
}

.bottomButtonDisabled {
    color: #888 !important;
}

.planning .button {
    width: calc(100% - 40px);
}
.timeMachineMain {
    display: grid;
}

.timeMachineMain {
    grid-template-columns: 1fr 1fr 1fr;
}

.timeMachineLoadTurn {
    background: linear-gradient(to bottom, #444 5%, #222 100%);
    margin: 0.5ex;
    height: 40px;
    font-size: 18px;
    line-height: 40px;
    text-align: center;
}
