* { font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

/* start conversion to color scheme */
/* for now : used to re-color generic stuff like components .. */
.main.brand_reddice {
  --theme-border: #BA0000; /*#2f4f4f; */
  --theme-button-hover: #4e9a03; /*#e64100;  #204d74;*/
  --theme-button: #BA0000; /*#2f4f4f;*/
}

.main.brand_reddice simple-table {
  --simpletable-bg: #A00000; /*darkslategray;*/
  --simpletable-hover: #C00000; /*lightslategray;*/
  --simpletable-bg-hover: #4e9a03;
}


.main.brand_3dice {
  --theme-border: #900000;
  --theme-button: #900000;
  --theme-button-hover: #c00000;
}

.main.brand_3dice simple-table {
  --simpletable-bg: #900000;
  --simpletable-bg-hover: #b00000;
  --simpletable-bglight: #b00000;
  --simpletable-bglight-hover: #900000;
}

.menu.brand_3dice AGL-DropDown .AGLDropDown-body {
    background-color: #c40500;
}
.menu.brand_3dice a:hover{
    color: #fffbe1;
}


a { display: inline-block; }
a:link { text-decoration: none; }
a:visited { text-decoration: none; }
a:hover { cursor: pointer; /*color:white;*/ }

select { border-radius: 3px; border-color: lightgray; padding: 5px; }
textarea,
input:not([type="button"]) { border-radius: 3px; height: 20px; border: 1px solid lightgray; padding: 5px; }

/* TBC remove leftover page specifics here */

/* Basic Table Styling */
.some-table { border: 1px solid #fff; border-collapse: collapse; font-size: 10pt; }
.some-table > tbody > .table-title { font-weight: bold; }
.some-table tr:first-child { font-weight: bold; }
.some-table.hover tr:not(:first-child):hover td { background-color: grey; color: white; }
.some-table tr { border: 1px solid #fff; border-collapse: collapse; }
.some-table tr td { border: 1px solid #fff; background-color: #efefef; border-collapse: collapse; padding: 4px;}
.some-table tr td:nth-child(even) { border: 1px solid #fff; background-color: #e6e6e6; border-collapse: collapse; } 
.some-table.table-colored tr:nth-child(even) { background-color: lightgray; }
.some-table.custom td { padding: 5px 10px; }


/* Tabs */
.tabs { display: flex; align-items: flex-end; user-select: none; }
.tab { padding: 5px 15px; background-color: var(--theme-border); color: white; margin-top: 0px; margin-right: 5px; height: 20px; }
.tab.active { background-color: lightgray; color: black; margin-top: 0px; height: 25px; }
.tab:not(.active):hover { cursor: pointer; background-color: var(--theme-button-hover)/*slategray*/; }

/* FM-MODAL : TBC move to class based ... or implement as a component pls ...*/
#fm-modal {
  position: fixed;
  top: 15%;
  left: 0; 
  right: 0; 
  margin-left: auto; 
  margin-right: auto;
  border-radius: 5px;
  box-shadow: 0px 0px 5px black;
  width: 50%;
  min-height: 15%;
  display: flex;
  flex-direction: column;
  background-color: #eceff2; /* white */
  z-index: 10;
}
#fm-modal > #title,
#fm-modal > #fm-title {
  background-color: var(--theme-border);
  border-bottom: 1px solid black;
  color: white;
  font-size: 18px;
  font-weight: bold;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding: 5px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
#fm-modal > #title > *,
#fm-modal > #fm-title > * {
  flex-grow: 10;
}
#fm-modal > #title > #fm-close,
#fm-modal > #fm-title > #fm-close {
  flex-grow: 0;
}
#fm-modal > #fm-content {
  max-height: 70vh;
  overflow-y: scroll;
  padding: 10px;
}
#fm-modal > #actions,
#fm-modal > #fm-actions {
  text-align: right;
  padding: 10px;
}
#fm-modal > #actions input[type="button"],
#fm-modal > #fm-actions input[type="button"] {
  background-color: var(--theme-border);
  color: white;
  border: 1px black;
  box-shadow: 0;
  padding: 5px;
}
#fm-modal > #actions input[type="button"]:hover,
#fm-modal > #fm- input[type="button"]:hover {
  background-color: var(--theme-button-hover); /*lightslategray;*/
  color: black;
  cursor: pointer;
}
#fm-modal.fm-modal-maximized {
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}
#fm-modal li:hover {
  background-color: lightgray;
}
#fm-modal .tabs {
  width: 100%;
  border-bottom: 1px solid gray;
  display: flex;
  background-color: #527b7b;
  color: white;
}
#fm-modal .tabs > div {
  padding: 10px;
  cursor: pointer;
}
#fm-modal .tabs > div:hover {
  background-color: lightgray;
  color: black;
}


/* some bootstrap .. */
.btn-primary {
    color: #fff;
    background-color: var(--theme-button); /*#337ab7;*/
    border-color: #2e6da4;
}

.btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 6px 12px;
    font-size: 15px; /* 14 */
    /*line-height: 1.42857143; */
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.btn-primary:hover {
    color: #fff;
    background-color: var(--theme-button-hover); /*#286090;*/
    border-color: #204d74;
}

.btn.focus, .btn:focus, .btn:hover {
    color: #fff;
    background-color: var(--theme-button-hover);
    text-decoration: none;
}
.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
    cursor: not-allowed;
    filter: alpha(opacity=65);
    opacity: .65;
    -webkit-box-shadow: none;
    box-shadow: none;
}
