
/* 
    Created on : 22 Aug 2023, 4:47:29 pm
    Author     : jeremy
*/

:root {
    display: block;
    --bg1 : #ffffe8;
    --bg2 : #eee;
    --bg2rgb :  243, 225, 218;
    --bg3 : #fafae8;    
    --bg4 : #f8f8d0; /*table headers */
    --bg5 : #ddd;    /*greyed-out lines */
    --bgCon1 : #071873;
    --bgCon1rgb : #4e1006F2;
    --bgCon2 : #888888;
    --bgCon3 : #e0d4d2;
    --bgCon4 : #991111;
    --bgCon5: #ffff00;
    --fg1 : #13359b; /* H1 and relatives */
    --fgCon1 : #f3ebda;  /* text on rollovers, buttons */
    --fg2 : #dd3333; /* errors alerts */
    --fg3 : #00aa22; /* good news */
    --fg4 : #777; /* greyed-out text */
    --fg-navbar : ffff0888;
    --bs-body-font-size: 11pt;
    --bs-body-line-height: 1.4;
    --bs-dropdown-link-active-bg: var(--bg3);
    --bs-navbar-color: var(--fg-navbar);
    --bs-navbar-active-color: var(--fgCon1);
    --bs-accordion-btn-focus-border-color: var(--bgCon5);
    --bs-accordion-btn-focus-box-shadow: var(--bgCon5);
    --bs-accordion-border-color: var(--bgCon2);
    --bs-primary-bg-subtle: var(--bg4);
    --bs-emphasis-color-rgb: var(--fg-navbar);
    --bs-nav-link-color: var(--fg1);
    --bs-body-bg: var(--bg1);
    --bs-tertiary-bg-rgb: var(--bgCon1rgb);
    --bs-table-striped-bg: var(--bg2);
    --bs-border-color: var(--bgCon1);
}

.form-check-input {
    --bs-form-check-bg: #fff;
}

.form-control {
    background-color: #fff;
}

.form-select {
    background-color: #fff;
}

.bg2 {
    background-color: var(--bg2);
}

.bg4 {
    background-color: var(--bg4);
}
h1 {
    border-bottom: 1px solid var(--fg1);   
}

h1, h2, h3, h4, h5 {
    color: var(--fg1);
    font-family:Garamond,Times,serif;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
    font-style: italic;
}

.test {
    border: solid black 1px;
}

.test-red {
    border: solid red 1px;
}

.test-blue {
    border: solid blue 1px;
}

.auth_title_row {
    background-color: black;
}

.title {
        font-size: 2em;
        font-family: 'Times New Roman',Times,serif;
        font-weight: bold;
        color: yellow;
        /* 
        -webkit-text-stroke: 1px black;
        */
    }
    
.navbar {
    max-width: 1320px;
    margin: auto;
}

.active-menu {
    font-weight: 600;
    font-style: italic;
}

.sortButton, .sortButton-active {
    border-top-style: none;
    border-left-style: none;
    border-right-style: none;
    border-bottom: solid #888 1px;
    background-color: inherit;
}

.sortButton-active {
    font-weight: bold;
}
.details tr {
    line-height: 75%;
    padding-bottom: 0px;
}

.navbar-toggler {
     background-color: var(--bg2); 
}

.navbar-toggler-icon {
    background-color: var(--bg2);
    /* --bs-navbar-toggler-icon-bg: var(--bg2); */
    color: var(--fg2);
}

.auth-accordion-header {
    color: var(--fg1);
    font-family:Garamond,Times,serif;
    font-size: calc(1.3rem + 0.6vw);
    font-weight: 500;
}


.bannerImage {
    /* height: 3.5em; */
    width: 70%;
    max-width: 1038px;
    margin: auto;
}

.header {
    background-color: var(--bg4);
}
.darkred, .auth-darkred {
    color: var(--fg2) !important;
    font-weight: bold;
}

.auth-darkgreen, .darkgreen, .importMember {
    color : #008822;
    font-weight : bold;
}

.usePerson {
    color: #888;
    font-weight: bold;
    cursor: pointer;
}

.importMember {
    cursor: pointer;
}
/* light colours only used in traffic light report */
.lightgreen {
    color : #11cc44;
}

.lightred {
    color : #d21;
}

.nav-item {    
    flex: 1;
}

.nav-link {
    color: var(--bs-nav-link-color);
    font-family: 'Open Sans', sans-serif;
}

.currentAuth:hover, .currentAuth_marshalStrike:hover {
    text-decoration: underline;
}
#oldAuthHeading:hover {
    text-decoration: underline;
}

.currentAuth_marshalStrike {
    text-decoration: line-through;
}

.pastQual {    
    background-color: var(--bg5);
    color: var(--fg4);
    /* float: left; */
}
.currentQual {    
    
    /* float: left; */
}

#errorMessage, .alerts {
    text-align : center;
    color : var(--fg2);
    font-weight : bold;
}

img.cardBanner {
    height: 100%;
    vertical-align: top;
}

.auth-fauxButton {
    border-style : solid;
    border-width : 1px;   
    border-radius : 2px;
    border-color : var(--bgCon2);
    margin: 4px 6px;
    padding: 1px 3px 2px 3px;
    line-height: 1.4;
    /* max-height: 1.3em; */
    width: auto;
    vertical-align: middle;
    background-color : var(--bg4);  
    color: var(--bgCon1);
    font-weight: 600;
    &:hover {
        cursor: pointer;
    }
}

.auth-accordion-header {
    font-weight: 600;
}
tr.bt-2 td {
    
    border-top: solid black 2px ;
}

.formButton {
    border-style : solid;
    border-width : 1px;   
    border-radius : 2px;
    border-color : var(--bgCon2);
    margin : 4px;
    font-size : 1em;
    font-weight : 600;
    color : var(--bgCon1);
    background-color : var(--bg4);
    width: auto;
}
.formButton:disabled, .bigButton:disabled {
    color : var(--fg4);
    background-color: var(--bg4);
}

.formButton-Activated {
    border-style : solid;
    border-width : 1px;   
    border-radius : 2px;
    border-color : var(--bgCon1);
    margin : 4px;
    font-size : 1em;
    font-weight : 600;
    color : var(--bgCon3);
    background-color : var(--bg4);
    width: auto;
}

.formButton-Activated a {
    text-decoration: none;
    color: var(--bgCon4);
}

.formButton-Red {
    border-style : solid;
    border-width : 1px;   
    border-radius : 2px;
    border-color : var(--bgCon2);
    margin : 4px;
    font-size : 1em;
    font-weight : 600;
    color : var(--fg2);
    background-color : var(--bg4);
}

.bigButton {
    border-style : solid;
    border-width : 2px;    
    border-radius : 5px;
    border-color : var(--bgCon2);
    font-size : 2em;
    font-weight : bold;
    background-color : var(--bg4);
    color : var(--bgCon1);
    margin : 15px;
}

.bigButton a, .formButton a {
    text-decoration : none;
    color : var(--bgCon1);
}

.auth-breadcrumbs {
    font-size: 0.85em;
    font-variant: small-caps;
    font-style: italic;
    padding: 5px 10px;
   
}

img.auth-helpButton {
    height: 0.9em;
    vertical-align: text-top;
}

.auth-bigCheckBox {
    transform: scale(2);
    margin: 8px;
}

.auth-border {
    border: solid var(--bgCon1);
    border-width: 1px;
}

.auth-clear-bg {
    background-color:   white;
}

.auth-helpHeadBG {
    background-color: var(--bgCon5);
}

.auth-helpBG {
    background-color: white;
}

.editHeadBG {
    background-color: var(--bg4);
}

.amber {
    color: var(--caution);
    font-weight: bold;    
}

.auth-problemHeadBG {
    background-color: var(--fg2);
    & h5 {
        color: white;
    }
}

.auth-hiddenField {
    display : none;
}

.height1_3 {
    max-height: 1.3em;
}

.auth-scaMemTable {
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
    text-align: left;
    vertical-align: middle;
    padding: 6px;
    & td {
        padding-right: 8px;
    }
}

.auth-scaMemTable tbody {
    font-size: 12px;
}
.auth-scaMemTable th, .auth-scaMemTable-centered th{
	padding: 6px;
        background-color : var(--bg4);
        font-weight : bold;
}

.auth-scaMemTable tr:nth-child(2n+1), .auth-scaMemTable-centered tr:nth-child(2n+1) {    
    background-color : var(--bg2);
}

.auth-scaMemTable tr:nth-child(2n+0), .auth-scaMemTable-centered tr:nth-child(2n+0) {    
    background-color : var(--bg3);
    
}

.auth-scaMemTable tr.subItem td{
    font-size: 11px;   
    color : var(--fg4);
}

.auth-tallRows {
    line-height: 1.75rem;
}

.auth_rowTitle {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 2px;
    border-top: solid black 1px;
}

.auth_categoryName {
    font-size: 1.1em;
    font-weight: bold;
}

.auth-futureWarrant td {
    color: var(--fg4);
    font-style: italic;
}

.auth-shortListItem {
    cursor: pointer;
    &:hover {
        text-decoration: underline;
    }
}
.z-above {
    z-index: 9999;
}

.z-below {
    z-index: -1;
}

.auth-smallBlock {
    width: 80%;
    margin: auto;
}

.auth-highlightRow td {
    font-weight: 600;
}

.auth-rowTitle {
    font-weight: bold;
    font-size: larger;
    background-color: var(--bg2);
}

.auth-text-end {   
  text-align: right;
}

.label, label {
    font-weight: 600;
}

.auth-discreet {
    --bs-accordion-active-bg: var(--bg2);
    --bs-accordion-button-border-width: 1px;
    --bs-accordion-btn-focus-border-color: var(--bgCon4);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.05rem rgba(0, 0, 0, 0.25);
    --bs-accordion-btn-padding-y: 4px;
    --bs-accordion-btn-padding-x: 20px;
    border-bottom: solid 1px;
    font-family: var(--bs-font-sans-serif);
    --bs-gutter-x:  0;

    &:focus {
        --bs-accordion-button-focus-border-color: var(--fg1);
        --bs-accordion-button-focus-bg: var(--bg2);
        --bs-dropdown-link-hover-color: var(--bgCon1rgb);
    }
    & .accordion-button {
        font-weight: bold;
        color: var(--bgCon1);
    }    
}

table.tempCard { 
    width: 83mm;
    background-color: #ffffbb;
    height: 46mm;
    border-right-style: solid;
    border-left-style: solid;
    border-bottom-style: solid;
    border-top-style: solid;
    border-right-width: 2px;
    border-left-width: 2px;
    border-bottom-width: 2px;
    border-top-width: 2px;
    vertical-align: top;
    background-image: url(/LochacArmscomsmall.gif) ;
    background-position: left top;
    background-repeat: no-repeat;
    top: 20px;
    position: relative;
    bottom: 15px;
    margin-top: 20px;
}
.tempCardTitle {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-align: left;
    top: -5px;
    left: 102px;
    position: relative;
}
.tempCardDetails {
    font-family: 'Times New Roman',Times,serif;
    font-size: 12px;
    text-align: left;
    top: 2px;
    position: relative;
    left: 100px;
    line-height: 12px;
}

.staticTable {
    width: 100%;
}

@media screen and (max-width: 576px) {
    .bannerImage {
        display: none;
    }
    .title {
        font-size: 1.5em;
        font-family: Arial,Helvetica,sans-serif;
    }
}

@media screen and (max-width: 768px) {
    .auth-text-end {   
        text-align: left !important;
    }
    .bigButton {
        font-size: 1.5em;
        margin: 10px;
    }
    .formButton-shrink {
        transform: scale(.7);
        font-size: smaller;
        margin: 0;
    }
    .auth-smallblock {
        width: 100%;
    }
    .auth-scaMemTable tbody {
        font-size: 10px;
    }
}
@media screen and (min-width: 980px) {
    .auth-lg-float-end {
        text-align: right;
        float: right;
    }
    
}
@media screen and (min-width: 768px) {
    .auth-md-float-end {
        text-align: right;
        float: right;
    }
}
@media screen and (min-width: 576px) {
    .auth-sm-float-end {
        text-align: right;
        float: right;
    }
}

@media screen and (max-width: 1200px) {
  .bigInput {
      width: 100%;
  }
  
}