body {
    font-size: 18px;
/ / this is not the "correct" bootstrap way, you should overwrite the bootstrap variables instead
}

h1 {
    font-size: 22px;
    font-weight: bold;
}

#maincontent {
}

#editor {
    overflow-y: scroll;
    height: 414px;
    border-top-style: outset;
    border-bottom-style: inset;
    font-size: 16px;
}

.premisecolor {
    background-color: #FFD700FF;
}

.claimcolor {
    background-color: #ADD8E6FF;
}

.majorClaimcolor {
    background-color: #FFA500FF;
}

.premise {
    background-color: #FFD700FF;
    padding: 3px;
}

.claim {
    background-color: #ADD8E6FF;
    padding: 3px;
}

.majorClaim {
    background-color: #FFA500FF;
    padding: 3px;
}

.highlightedclass {
    border-style: outset;
}

#detailgraph {
    height: 290px;
}


#label-explanations {
    height: 350px;
    resize: none;
    overflow-y: scroll;
}

#discourse-feedback {
    height: 350px;
    overflow-y: scroll;
}

.label {
    font-weight: bold;
}

.elaborationColor {
    background-color: #F1E5AC;
}

.backgroundColor {
    background-color: aqua;
}

.preparationColor {
    background-color: burlywood;
}

.contrastColor {
    background-color: deeppink;
}

.attributionColor {
    background-color: greenyellow;
}

.enablementColor {
    background-color: lightcyan;
}

.explanationColor {
    background-color: darkseagreen;
}

.evaluationColor {
    background-color: lightpink;
}

.temporalColor {
    background-color: yellow;
}

.defaultColor {
    background-color: lightgray;
}

.piechart {
    margin: 0 auto;
}

#claim-premise-modal .modal-dialog {
    max-width: 800px;
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.progress-bar-grad-100 {
    background: linear-gradient(to right, #6EFF33 0%, #00AB00 100%);
}

.progress-bar-grad-80 {
    background: linear-gradient(to right, #F1E5AC 0%, #FFD700 100%);
}

.progress-bar-grad-40 {
    background: linear-gradient(to right, #FFD580 0%, #FFA500 100%);
}

.i-circle-100 {
    background: #00AB00;
    color: #fff;
    padding: 20px 30px;
    border-radius: 50%;
    font-size: 30px;
}

.i-circle-80 {
    background: #FFD700;
    color: #fff;
    padding: 20px 30px;
    border-radius: 50%;
    font-size: 30px;
}

.i-circle-40 {
    background: #FFA500;
    color: #fff;
    padding: 20px 30px;
    border-radius: 50%;
    font-size: 30px;
}

/* DEMO */
#label-explanations {
    height: 350px;
    resize: none;
    overflow-y: scroll;
}

#discourse-feedback {
    height: 350px;
    overflow-y: scroll;
}

.label {
    font-weight: bold;
}

.elaborationColor {
    background-color: #F1E5AC;
}

.backgroundColor {
    background-color: aqua;
}

.preparationColor {
    background-color: burlywood;
}

.contrastColor {
    background-color: deeppink;
}

.attributionColor {
    background-color: greenyellow;
}

.enablementColor {
    background-color: lightcyan;
}

.explanationColor {
    background-color: darkseagreen;
}

.evaluationColor {
    background-color: lightpink;
}

.temporalColor {
    background-color: yellow;
}

.defaultColor {
    background-color: lightgray;
}


/* indicators_index */
.tg {
    border-collapse: collapse;
    border-color: #ccc;
    border-spacing: 0;
}

.tg td {
    background-color: #fff;
    border-color: #ccc;
    border-style: solid;
    border-width: 1px;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 18px;
    overflow: hidden;
    padding: 10px 5px;
    word-break: normal;
}

.tg th {
    background-color: #f0f0f0;
    border-color: #ccc;
    border-style: solid;
    border-width: 1px;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: normal;
    overflow: hidden;
    padding: 10px 5px;
    word-break: normal;
}

.tg-c3ow {
    border-color: inherit;
    text-align: center;
    vertical-align: top
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: left;
    margin-top: 0px;
}

.tab-button {
    background-color: #f2f2f2;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-right: 5px;
    border-radius: 5px;
}

.tab-button:hover {
    background-color: #ddd;
}

#tab_argumentation_dashboard.tab-content, #tab_discourse.tab-content, #tab_suggestions.tab-content, #tab_init {
    display: none;
    padding: 20px;
}

#tab_argumentation_dashboard.tab-content.active, #tab_discourse.tab-content.active, #tab_suggestions.tab-content.active, #tab_init.active {
    display: block;
}

.tab-button.active {
    background-color: white;
}

button:focus {
    outline: 0;
}

.text-black-50 {
    font-size: 15;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#maincontent {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.full-height-row {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.col-xl-4,
.col-xl-8 {
    height: 100%;
    overflow-y: auto;
}

.col-xl-8 {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.col-xl-8 > .rounded.border {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tab-content {
    flex-grow: 1;
    overflow-y: auto;
}

#tab_discourse {
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

#discourse-feedback {
    flex-grow: 1;
    overflow: hidden;
    position: relative; /* required by Cytoscape */
    min-height: 0; /* ensures flex-child doesn't exceed */
}

#discourse-feedback::-webkit-scrollbar {
    display: none;
}

#structuregraph > .vis-network {
    height: 400px;
    min-height: 400px;
    max-height: 400px;
}

.nucleus::before,
.satellite::before {
    display: block;
    text-align: center;
    font-size: 0.75em;
    margin-bottom: -0.3em;
    position: relative;
    top: -0.6em;
}

.nucleus::before {
    content: 'N';
}

.satellite::before {
    content: 'S';
}

.claimcolor {
    background-color: #ADD8E6FF;
}

.majorClaimcolor {
    background-color: #FFA500FF;
}

.relation-label {
    vertical-align: middle;
}

.toggle-wrapper {
    display: inline-block;
    font-family: sans-serif;
}

.toggle {
    cursor: pointer;
    user-select: none;
    display: inline-block;
}

.toggle input {
    display: none;
}

.toggle-track {
    position: relative;
    background: #ddd;
    border-radius: 20px;
    width: 80px;
    height: 36px;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    box-sizing: border-box;
}

.toggle-label {
    font-size: 12px;
    color: #fff;
    z-index: 1;
    pointer-events: none;
}

.toggle-label-on {
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toggle-label-off {
    color: #fff;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.toggle-handle {
    position: absolute;
    background: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    left: 4px;
    top: 4px;
    transition: left 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Toggle ON */
#expert-toggle:checked + .toggle .toggle-track {
    background: #28a745;
}

#expert-toggle:checked + .toggle .toggle-handle {
    left: 48px;
}

#expert-toggle:checked + .toggle .toggle-label-on {
    opacity: 1;
}

#expert-toggle:checked + .toggle .toggle-label-off {
    opacity: 0;
}

#expert-toggle {
    display: none;
}

#sunburst {
    max-height: 300px;
}