:root {
    --java-tab-color: #424242;
    --config-tab-color: #424242;
    --config-tab-color-inactive: #757575;
    --background-color: #555555;
}

body {
    overflow: hidden; /* Hide scrollbars */
    margin: 0;
    background-color: var(--background-color);
    font-family: 'Roboto', sans-serif;

    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

* {
    box-sizing: border-box;
}

.rotate {
    animation: rotation 2s infinite linear;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

#header {
    font-family: 'Ubuntu Mono', monospace;
    font-size: large;
    background-color: #212121;
    color: #fafafa;
    height: 38px;
    text-align: center;
}

.grayscale {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    filter: grayscale(100%);
}

.java-editor-error-marker {
    position: absolute;
    background-color: rgba(255, 0, 0, 0.3);
    border-bottom: 1px solid red;
}

#about-div a {
    color: #1565c0;
}

/*table, td, tr, th {*/
/*    background-color: #e0e0e0;*/
/*    border-width: 1px;*/
/*    border-style: solid;*/
/*    border-collapse: collapse;*/
/*    border-color: #9e9e9e;*/
/*}*/

th {
    padding: 4px;
    text-align: left;
    background-color: #bdbdbd;
    color: #212121;
}

table.plansTable th {
    background: none;
    padding: 0;
}

table.docTable th {
    background-color: #616161;
}

table.docTable tr:nth-child(even) {
    background-color: #e0e0e0;
}

table.docTable tr:nth-child(odd) {
    background-color: #bdbdbd;
}

table.plansTable tbody {
    background-color: #e0e0e0;
}

table.docTable td {
    padding: 4px;
    padding-right: 100px;
    color: #212121;
    text-align: left;
    vertical-align: top;
    /*font-family: monospace;*/
}

.plans-icon {
    font-size: 1em;
    vertical-align: middle;
    margin-right: 0.5em;
    padding-left: 4px;
    padding-bottom: 0.2em;
}

.plans-item {
    text-align: left;
    color: #212121;
    min-width: 18em;
    height: 2em;

    border-color: black;
    border-style: solid;
    border-width: 1px;
}

.plans-title {
    text-align: left;
    color: #fafafa;
    min-width: 18em;
    height: 2em;
    background-color: #616161;
    font-weight: 500;

    border-color: black;
    border-style: solid;
    border-width: 1px;

}

.plans-row {

}

.plans-subitem {
    padding-left: 1.8em;
    text-align: left;
    color: #212121;
    min-width: 24em;
    height: 2em;

    border-color: black;
    border-style: solid;
    border-width: 1px;
}

.plans-separator {
    height: 0.75em; !important;
    background-color: #f0f0f0;
}

.plans-indicator {
    text-align: center;
    height: 2.25em;
    width: 12em;

    border-color: black;
    border-style: solid;
    border-width: 1px;
}

table.plansTable {
    border-collapse: collapse;

}

table.plansTable th {
    text-align: center;
}

.x-icon {
    color: #d32f2f;
    font-size: 1.3em;
}

.check-icon {
    color: #388e3c;
    font-variation-settings: 'FILL' 1;
    font-size: 1.3em;
}

input[type=file]::file-selector-button {
    margin: 1px 12px 2px 2px;
    border: none;
    background: #bdbdbd;
    padding: 2px 8px;
    border-radius: 6px;
    color: #212121;
    cursor: pointer;
    transition: background .2s ease-in-out;

    font-weight: bold;

}

input[type=file]::file-selector-button:hover {
    background: #fafafa;
}

#detect-app-container,
#check-app-container,
#format-app-container,
#compile-app-container,
#benchmark-app-container {
    width: 100%;
    height: 100%;
    top: 38px;
    position: absolute;
    display: grid;
    grid-template-rows: 100%;
    grid-template-columns: 50% 50%;
    padding: 0 8px 0 4px;
    margin-top: 6px;

    gap: 2px;
}

#about-container, #doc-container, #plans-container {
    width: 100%;
    height: 100%;
    top: 38px;
    position: absolute;
    padding: 0 0 38px 4px;
    background-color: #f5f5f5;
}

#doc-div, #about-div, #plans-div {
    overflow-y: auto;
    overflow-x: hidden;
    color: #212121;
    padding: 20px 10% 32px;
}

.docTable {
    width: 80%;
    table-layout: fixed;
}

.plansTableHeader {
    font-weight: bold;
    color: #fafafa;
    background-color: #424242;
    display: inline-block;
    width: 60%;
    border-radius: 0.75em;
    height: 2em;
    align-content: center;
    margin-bottom: 0.5em;
}

.tableHeader {
    font-weight: bold;
    color: #fafafa;
}


.tab-container {
    background-color: var(--background-color);
    padding: 4px;
    margin-bottom: 46px;
    position: relative;
    display: flex;
    flex-direction: column;
}

#gitRepoUrlTextLabel, #zipFileTextLabel {
    color: #f0f0f0;
    font-size: 0.85em;
    font-weight: 500;
}

#gitRepoUrlTextHint {
    color: #9e9e9e;
    font-size: 0.75em;
    font-weight: 100;
    font-style: italic;
}

input:focus {
    outline: #9e9e9e solid 1px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active{
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fafafa;
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: inset 0 0 20px 20px #272822;
}

#gitRepoUrlText {
    margin-top: 10px;
    width: 100%;
    background-color: #272822;
    color: #f0f0f0;
    border: none;
    padding: 4px;
}

#fileInput {
    width: 100%;
}

#fileInputContainer {
    margin-top: 10px;
    width: 100%;
    background-color: #272822;
    color: #f0f0f0;
    border: none;
    padding: 2px;
    text-align: left;
}

.editor {
    position: relative;
    width: 100%;
    height: 100%;
    font-size: 14px;
    background-color: #272822;
}

.html-container {
    position: relative;
    width: 100%;
    height: 100%;
    font-size: 1em;
    color: #f0f0f0;
    background-color: #272822;
    padding: 0.5em;
    display: table;
    overflow-y: auto;
}

.html-div-container {
    position: absolute;
}

#detect-gitrepo-url {

    position: relative;
    top: 33%;
    transform: translateY(-33%);
    -ms-transform: translateY(-33%);
    -moz-transform: translateY(-33%);
    -webkit-transform: translateY(-33%);
    -o-transform: translateY(-33%);

    background-color: #616161;
    padding-top: 10px;
    padding-left: 2.5%;
    padding-right: 2.5%;
    /*padding-bottom: 15px;*/
    /*text-align: center;*/
    margin-left: 10%;
    margin-right: 10%;
    border-radius: 6px;
}

#detect-zipfile {

    position: relative;
    top: 33%;
    transform: translateY(-33%);
    -ms-transform: translateY(-33%);
    -moz-transform: translateY(-33%);
    -webkit-transform: translateY(-33%);
    -o-transform: translateY(-33%);

    background-color: #616161;
    padding-top: 10px;
    padding-left: 2.5%;
    padding-right: 2.5%;
    /*padding-bottom: 15px;*/
    /*text-align: center;*/
    margin-left: 10%;
    margin-right: 10%;
    border-radius: 6px;
}

#progress-container, #progress-container_zip {
    position: inherit;
    top: 30px;

    background-color: #212121;
    padding: 4px 4px 4px 4px;
    border-radius: 8px;

    text-align: left;
    color: #e0e0e0;
    height: 20px;

    margin-left: -1%;
    margin-right: -1%;
}

#progress-bar, #progress-bar_zip {
    width: 0;
    height: 100%;

    background-color: #0277bd;
    border-radius: 4px;
}

#progress-text, #progress-text_zip {
    display: block;
    margin-top: 10px;

    font-size: 0.8em;
    color: #bdbdbd;
}

@keyframes animate-stripes {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 60px 0;
    }
}

@keyframes auto-progress {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

.html-container::-webkit-scrollbar {
    height: 0.67em;
    width: 0.67em;
}

.html-container::-webkit-scrollbar-track {
    background-color: #000;
}

.html-container::-webkit-scrollbar-thumb {
    background-color: #757575;
    border: 0.15em solid #000;
}

.html-container::-webkit-scrollbar-corner {
    background-color: #212121;
}


.ace_scrollbar::-webkit-scrollbar {
    height: 0.67em;
    width: 0.67em;
}

.ace_scrollbar::-webkit-scrollbar-track {
    background-color: #000;
}

.ace_scrollbar::-webkit-scrollbar-thumb {
    background-color: #757575;
    border: 0.15em solid #000;
}

.ace_scrollbar::-webkit-scrollbar-corner {
    background-color: #212121;
}

::selection {
    background: #0d47a1;
    color: #e3f2fd;
}

::-moz-selection {
    background: #0d47a1;
    color: #e3f2fd;
}

#benchmark-input-configuration-text {
    min-width: 2em;
    display: inline-block;
}

.output-button {
    background-color: #757575;
    float: right;
    height: 2em;
    border: none;
    border-radius: 0.6em;
    color: #fafafa;
    padding-top: 0.3em;
    padding-bottom: 0.6em;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-variant: small-caps;
    display: inline-block;
    font-size: 0.8em;
    cursor: pointer;

    box-shadow: 0 4px 8px -4px #212121;
}

.output-button:hover {
    background-color: #424242;
    transition-duration: 0.3s;
}

#detect-style-button {
    background-color: #1565c0;
    height: 2em;
    border: none;
    border-radius: 0.6em;
    color: #fafafa;
    padding-top: 0.3em;
    padding-bottom: 0.5em;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-variant: small-caps;
    display: inline-block;
    font-size: 0.8em;
    cursor: pointer;
    float: right;
    margin-right: 6px;

    box-shadow: 0 4px 8px -4px #212121;
}

#detect-style-button:hover {
    background-color: #0d47a1;
    transition-duration: 0.3s;
}

#detect-style-button:disabled {
    background-color: #64b5f6;
    color: #212121;
    transition-duration: 0.1s;
    cursor: default;
    box-shadow: none;
}

.output-button:disabled {
    background-color: #9e9e9e;
    color: #757575;
    transition-duration: 0.1s;
    cursor: default;
    box-shadow: none;
}

#check-button {
    background-color: #c62828;
    height: 2em;
    border: none;
    border-radius: 0.6em;
    color: #fafafa;
    padding-top: 0.3em;
    padding-bottom: 0.5em;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-variant: small-caps;
    display: inline-block;
    font-size: 0.8em;
    cursor: pointer;
    float: right;
    margin-right: 6px;

    box-shadow: 0 4px 8px -4px #212121;
}

#check-button:hover {
    background-color: #b71c1c;
    transition-duration: 0.3s;
}

#check-button:disabled {
    background-color: #e57373;
    color: #212121;
    transition-duration: 0.1s;
    cursor: default;
    box-shadow: none;
}

#format-button {
    background-color: #ef6c00;
    height: 2em;
    border: none;
    border-radius: 0.6em;
    color: #fafafa;
    padding-top: 0.3em;
    padding-bottom: 0.5em;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-variant: small-caps;
    display: inline-block;
    font-size: 0.8em;
    cursor: pointer;
    float: right;
    margin-right: 6px;

    box-shadow: 0 4px 8px -4px #212121;
}

#format-button:hover {
    background-color: #e65100;
    transition-duration: 0.3s;
}

#format-button:disabled {
    background-color: #ffb74d;
    color: #212121;
    transition-duration: 0.1s;
    cursor: default;
    box-shadow: none;
}

#compile-button {
    background-color: #558b2f; /* 800 */
    height: 2em;
    border: none;
    border-radius: 0.6em;
    color: #fafafa;
    padding-top: 0.3em;
    padding-bottom: 0.5em;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-variant: small-caps;
    display: inline-block;
    font-size: 0.8em;
    cursor: pointer;
    float: right;
    margin-right: 6px;

    box-shadow: 0 4px 8px -4px #212121;
}

#compile-button:hover {
    background-color: #33691e; /* 900  */
    transition-duration: 0.3s;
}

#compile-button:disabled {
    background-color: #aed581; /* 300 */
    color: #212121;
    transition-duration: 0.1s;
    cursor: default;
    box-shadow: none;
}

#benchmark-button {
    background-color: #00838f; /* 800 */
    height: 2em;
    border: none;
    border-radius: 0.6em;
    color: #fafafa;
    padding-top: 0.3em;
    padding-bottom: 0.5em;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-variant: small-caps;
    display: inline-block;
    font-size: 0.8em;
    cursor: pointer;
    float: right;
    margin-right: 6px;

    box-shadow: 0 4px 8px -4px #212121;
}

#benchmark-button:hover {
    background-color: #006064; /* 900  */
    transition-duration: 0.3s;
}

#benchmark-button:disabled {
    background-color: #4dd0e1; /* 300 */
    color: #212121;
    transition-duration: 0.1s;
    cursor: default;
    box-shadow: none;
}

#benchmark-output-explanation-button-div {
    height: 100%;
    display: grid;
    place-content: center;
}

#benchmark-output-explanation-text-title {
    color: #e0e0e0;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1em;
}

#benchmark-output-explanation-text-subtitle {
    color: #9e9e9e;
    text-align: center;
    margin-bottom: 2em;
}

#benchmark-output-explanation-error {
    color: #e64a19;
    text-align: center;
    margin-top: 1.5em;
    height: 2em;
}

#benchmark-output-explain-button {
    background-image: linear-gradient(to right, #00838f 0%, #283593 51%, #00838f 100%);
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    display: block;
    place-self: center;
}

#benchmark-output-explain-button:hover {
    background-position: right center; /* change the direction of the change here */
    text-decoration: none;
}

#benchmark-output-explain-button:disabled {
    background-image: none;
    background-color: #9e9e9e;
    color: #757575;
    transition-duration: 0.1s;
    cursor: default;
    box-shadow: none;
}

#header-title-icon {
    font-size: 1em;
    font-weight: bold;
    color: #757575;
    vertical-align: middle;
}

#benchmark-output-explanation-editor-div h2 {
    color: #fafafa;
    margin-block-start: 0;
}

#benchmark-output-explanation-editor-div code {
    color: #ffa000;
    background-color: #212121;
    padding: 0.2em;
}

#benchmark-output-explanation-editor-div strong {
    color: #26c6da;
    font-weight: normal;
}

#benchmark-output-explanation-editor-div li {
    margin-bottom: 0.33em;
}

.header-button {
    float: left;

    background-color: #212121;
    height: 1.5em;
    border: none;
    border-radius: 0.6em;
    color: #bdbdbd;
    padding-top: 0.1em;
    padding-bottom: 0.1em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.75em;

    margin-left: 0.5em;
    margin-right: 0.2em;

    font-family: 'Roboto', sans-serif;
    display: inline-block;
    cursor: pointer;

    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    text-decoration-color: #757575;
}

.header-button-last {
    margin-right: 2em;
}

.header-button:hover {
    color: #fafafa;
    transition-duration: 0.3s;
    background-color: #212121;
}

.header-button-selected {
    color: #f5f5f5;
    text-decoration: underline;
}

.header-app-button {
    float: left;

    border: 1.5px solid #757575;
    height: fit-content;
    background-color: #212121;
    margin-left: 0.5em;
    margin-right: 0.5em;

    border-radius: 0.6em;
    color: #bdbdbd;
    padding-top: 0.1em;
    padding-bottom: 0.1em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    text-align: center;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.75em;

    font-family: 'Roboto', sans-serif;
    display: inline-block;
    cursor: pointer;
}

.header-token-button {
    float: right;
    border: none;
}

.header-token-credits {
    float: right;
    font-family: 'Roboto', sans-serif;
    font-size: small;
    margin-top: 0.2em;
    color: #757575;
}

.header-app-button:hover:not(.detect-app-button-selected, .check-app-button-selected, .format-app-button-selected, .compile-app-button-selected, .benchmark-app-button-selected) {
    color: #fafafa;
    transition-duration: 0.3s;
    background-color: #616161;
    border-color: #fafafa;
}

.header-app-button:active:not(.detect-app-button-selected, .check-app-button-selected, .format-app-button-selected, .compile-app-button-selected, .benchmark-app-button-selected) {
    color: #fafafa;
    transition-duration: 0.3s;
    background-color: #212121;
    border-color: #fafafa;
}

.detect-app-button-selected {
    color: #2196f3;
    background-color: #000000;
    border-color: #64b5f6;
}

.check-app-button-selected {
    color: #f44336;
    background-color: #000000;
    border-color: #e57373;
}

.format-app-button-selected {
    color: #ff9800;
    background-color: #000000;
    border-color: #ffb74d;
}

.compile-app-button-selected {
    color: #8bc34a; /* 500 */
    background-color: #000000;
    border-color: #aed581; /* 300 */
}

.benchmark-app-button-selected {
    color: #00bcd4;
    background-color: #000000;
    border-color: #4dd0e1;
}

.header-app-button-icon {
    font-size: 1em;
    vertical-align: middle;
}

.header-token-button-icon {
    font-size: 1em;
    vertical-align: middle;
    margin-right: 0.5em;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#header-title-text {
    font-weight: bold;
    float: left;
    background: #c875ff;
    background: linear-gradient(127deg, rgba(200, 117, 255, 1) 0%, rgba(255, 69, 69, 1) 55%, rgba(252, 176, 69, 1) 100%);    color: #000000;
    padding-left: 0.5em;
    padding-right: 0.5em;
    padding-top: 0.5em;
    margin-left: 0.75em;
    margin-right: 1em;
    height: 38px;
}

#header-buttons {
    padding-top: 0.5em;
}

.box-separated {
    margin-left: 2px;
}

.box-title {
    font-weight: bold;
    font-size: 0.75em;

    color: #fafafa;
    height: 42px;
    padding: 0 10px 0 10px;

    border: none;
    border-top: 2px solid #e0e0e0;
    border-radius: 2px 2px 0 0;
    background-color: #a0a0a0;
}

.box-subtitle {
    font-size: 1.125em;
    font-variant: small-caps;

    color: #bdbdbd;
}

.box-title-button {
    cursor: pointer;
    background-color: #82b1ff;
}

.box-title-button-active {
    background-color: var(--config-tab-color);
    border-top-color: #e0e0e0;
    color: #fafafa;
}

.box-title-button-inactive {
    background-color: var(--config-tab-color-inactive);
    border-top-color: #616161;
    color: #bdbdbd;
}

.box-title-button-inactive:hover {
    cursor: pointer;
    background-color: #212121;
    color: #9e9e9e;
    border-top-color: #9e9e9e;
}

.hint-div {
    /*margin-top: 14px;*/

    padding-bottom: 6px;
    background-color: var(--java-tab-color);
    position: relative;
    display: flex;
    flex-direction: column;
    border: none;
    border-radius: 0 0 4px 4px;
}

.hint-label-text {
    float: left;
    line-height: 1em;
    font-size: small;
    padding: 6px 8px 6px 8px;
    background-color: #212121;
    margin: 0 8px 2px 8px;
    border-radius: 4px;
}

#detect-input-hint-content {
    text-shadow: 0 0 2px #212121;
    color: #ff4040;
}

#detect-output-hint-content {
    color: #9e9e9e;
}

.button-icon {
    font-size: 14px;
    vertical-align: middle;
}

.output-button-left {
    position: revert;
    display: inline-block;
    margin-right: 6px;
}

.output-button-right {
    margin-right: 5px;
}

.content-container {
    width: 100%;
    height: 100%;
    padding: 8px 8px 8px 8px;
    background-color: var(--java-tab-color);
    border-radius: 0 4px 0 0;
    position: relative;
}

.li-about {
    padding-top: 0.6em;
}

.li-about-detect {
    padding-top: 0.4em;
    margin-left: 2em;
}


ul {
    padding-left: 1em;
}