﻿:root {
    --RBR-Default-Colour: #8f0d34;
    --Group-Colour: #D3D3D3;
    --Button-Group-Colour: #D3D3D3;
}

#header {
    background-color: var(--RBR-Default-Colour);
    color: white;
    padding: 1px;
    height: 75px;
    line-height: 75px;
    border: 2px;
}

#content {
    float: none;
    width: 100%;
    margin: 10px;
}

#sidebar {
    float: left;
    margin: 10px;
    padding: 10px;
    width: 100px;
}

#footer {
    text-align: center;
    clear: both;
}

h1, h3, h5 {
    text-align: center;
}

dt {
    font-weight: bold;
    margin: 10px;
}

dd {
    margin: 10px;
    padding: 10px;
    border: dotted 1px grey;
}

.button {
    box-shadow: inset 0px 1px 0px 0px #f5978e;
    background: linear-gradient(to bottom, #f24537 20%, var(--RBR-Default-Colour) 100%);
    background-color: #f24537;
    border-radius: 6px;
    border: 1px solid #d02718;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 15px;
    font-weight: bold;
    max-width: 190px;
    min-width: 100px;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #810e05;
}

.button-enable {
    box-shadow: inset 0px 1px 0px 0px #00a004;
    background: linear-gradient(to bottom, #008003 5%, #017804 100%);
    background-color: #008003;
    border-radius: 6px;
    border: 1px solid #008003;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 15px;
    font-weight: bold;
    max-width: 190px;
    min-width: 100px;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #810e05;
}

.button:hover {
    background: linear-gradient(to bottom, var(--RBR-Default-Colour) 5%, #ba0c2f 100%);
    background-color: #c62d1f;
}

.button:active {
    position: relative;
    top: 1px;
}

table {
    border-collapse: collapse;
    width: 100%;
    border-spacing: 20px 10px;
    border: 1px solid #dbdbdb
}

th {
    background-color: var(--Group-Colour);
    text-align: center;
    padding: 8px;
}

td {
    text-align: center;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

.td1, .th2 {
    text-align: left;
}

.th3 {
    text-align: center;
}

.container {
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

body {
}
/* Remove the navbar's default margin-bottom and rounded borders */
.navbar {
    margin-bottom: 0;
    border-radius: 0;
    background-color: var(--RBR-Default-Colour);
    height: 20px;
}

/* Set height of the grid so .sidenav can be 100% (adjust as needed) */
.row.content {
    height: 450px
}

/* Set gray background color and 100% height */
.sidenav {
    padding-top: 20px;
    background-color: #f1f1f1;
    height: 100%;
}

/* Set RBR background color, white text and some padding */
footer {
    background-color: var(--RBR-Default-Colour);
    color: white;
    padding: 15px;
}

input[type=text], input[type=password], input[type=email], input[type=number] {
    margin: auto;
}

.form-control {
    max-width: 200px;
}

.form-input {
    max-width: 200px;
    float: left;
    width: 200px;
    height: 20px
}

.form-group {
    border-style: ridge;
}

.card {
    height: 150px;
    padding: 5px;
    border-radius: 5px;
    background-color: var(--Group-Colour);
}

.button-container {
    text-align: center;
    margin: auto;
}

.table-container {
    text-align: center;
    justify-content: center;
    flex-direction: column;
    display: none;
}

#errorMessage {
    color: red;
}

#infoMessage {
    color: green;
}

.centeredImg {
    border: 5px solid var(--Group-Colour);
    border-radius: 5px;
    display: block;
    width: 80%;
    height: 80%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.collapsible {
    background-color: var(--Group-Colour);
    color: black;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

.active, .collapsible:hover {
    background-color: #f2f2f2;
}

.collapsible:after {
    content: '\002B';
    color: black;
    font-weight: bold;
    float: left;
    margin-left: 5px;
    margin-right: 5px;
}

.active:after {
    content: "\2212";
}

.Icon {
    cursor: pointer;
    margin-right: 3px;
    margin-left: 3px;
    width: 15px;
    height: 15px;
    display: block;
}

.FlagIcon {
    margin-right: 3px;
    margin-left: 3px;
    width: 15px;
    height: 15px;
    display: inline-flex;
    filter: grayscale(0);
}
.FlagIconGreyed {
    margin-right: 3px;
    margin-left: 3px;
    width: 15px;
    height: 15px;
    display: inline-flex;
    filter: grayscale(1);
}

.TranslationLabel{
    width:80px;
}

.content {
    padding: 0 0px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #f1f1f1;
}

.edit-button-container {
    display: inline-block;
    float: left;
    white-space: nowrap;
    background-color: none;
    border-radius: 15px;
    height: 20px;
    margin-right: auto
}
.card-text-margin{
    margin-top:0px;
    margin-bottom:0px;
    text-align:left;
}
