html {
    font-size: var(--font-size);
    line-height: var(--line-height);
    box-sizing: border-box;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    @media (max-width: 900px) {
        html {
            font-size: 15px;
        }
    }
    @media (max-width: 400px) {
        html {
            font-size: 13px;
        }
    }
}

.header {
    font-size: 1.5rem;
}

.footer {
    font-size: 0.75rem;
}


/* Body Style and colours */

body {
    font-size: var(--font-size);
    color: var(--Light-text);
    background: var(--BodyBackGround);
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-weight: var(--font-weight);
    line-height: var(--line-height);
    text-align: left;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    z-index: 1;
}

code,
pre,
samp {
    font-family: monospace;
}


/**
 * BASIC TYPE
 */

a {
    text-decoration: none;
    color: var(--hyperlink);
    /*  text-decoration: underline; */
}

a:hover {
    color: var(--hyperlinkhover);
    text-decoration: underline;
}

img,
video {
    max-width: 100%;
    vertical-align: middle;
}

p {
    margin: 0 0 1em;
}

h1,
h2,
h3,
h4 {
    margin: .5em 0 .75em;
    line-height: 1.3;
}

h1 {
    font-size: 1.5em;
}

h2 {
    font-size: 1.25em;
}

h3 {
    font-size: 1.125em;
}

h4 {
    font-size: 1em;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

b,
strong {
    font-weight: 300;
}

.textcolor {
    color: var(--Light-text);
}

.fa,
.fab,
.fad,
.fal,
.far,
.fas {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-weight: 900;
    line-height: 2;
    font-family: "Font Awesome 5 Free";
}

i.fas.fa-bolt {
    color: yellow;
}


/*Frame for Image   */

.imageframe {
    width: 245px;
    height: auto;
    max-width: 100%;
}


/**
 * CONTENT WRAPPER
 */

.MainWrapper {
    margin: 5px 5px 30px 10px;
    padding: 0.5em;
    max-width: 98%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    background: var(--wrapperBackGround);
}


/* site footer */

.site-footer {
    left: 0px;
    font-size: 12px;
    bottom: 0;
    width: 100%;
    position: fixed;
    z-index: 2;
    background: var(--bg-dark);
}

.sitemessage {
    display: inline-block;
    white-space: nowrap;
    animation: floatText 45s infinite linear;
    padding-left: 100%;
    /*Initial offset*/
}

.sitemessage:hover {
    animation-play-state: paused;
}

@keyframes floatText {
    to {
        transform: translateX(-100%);
    }
}


/* style for index and Function pages */

.indexcontainer {
    text-align: center;
    line-height: 0.471;
    padding: 10px 10px 10px 10px;
}

.indexwrapper {
    margin: 1% auto;
    position: center;
}


/* END OF style for index and Function pages */


/* Error Message colour for the full Site */

.error_message {
    color: var(--Light-text);
    background-color: var(--error_message);
    max-width: max-content;
    text-align: center;
    font-size: var(--font-size);
    padding-right: 33px;
    padding-left: 5px;
}

.display-error {
    color: var(--Light-text);
    background-color: var(--error_message);
    max-width: max-content;
    text-align: center;
    font-size: var(--font-size);
    padding-right: 33px;
    padding-left: 5px;
}


/* Success Message colour for the full Site */

.success_message {
    max-width: max-content;
    text-align: center;
    padding-right: 33px;
    font-size: var(--font-size);
    padding-left: 5px;
    color: var(--Light-text);
    background-color: var(--BGsuccess_message);
}

.display-success {
    max-width: max-content;
    text-align: center;
    padding-right: 33px;
    font-size: var(--font-size);
    padding-left: 5px;
    color: var(--Light-text);
    background-color: var(--BGsuccess_message);
}

.message {
    display: none;
    padding: 15px;
    width: 95%;
    margin: 10px;
    font-size: var(--font-size);
    background-color: #baccdf;
    border: 2px solid #E5AE19;
    border-radius: 25px;
    opacity: 0.9;
    z-index: 6
}

.message p {
    padding: 8px 15px;
}


/* nav bar container */

.bg-dark {
    background-color: var(--bg-darknav)!important;
}

.navbar-dark .navbar-brand:hover,
.navbar-dark .navbar-brand:focus {
    color: var(--Light-text);
}

.navbar-dark .navbar-brand {
    color: var(--Light-text);
    margin-right: 166px;
    width: 0px;
}

.dropdown-menu.show {
    display: block;
    top: 80%;
    left: 0;
    z-index: 99999;
    min-width: 10rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    color: var(--Light-text);
    text-align: left;
    list-style: none;
    background-color: var(--bg-dark);
    background-clip: padding-box;
    border: 1px solid rgba(241, 228, 228, 0.41);
    box-shadow: var(--Box-shadow);
    border-radius: 10px;
    font-weight: 400;
    line-height: 1.471;
    box-sizing: border-box;
    text-transform: capitalize;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.dropdown-menu.show.scrol {
    overflow-y: scroll;
    max-height: 100%;
}

a.dropdown-toggle.nav-link.move-left {
    border: 1px solid rgba(241, 228, 228, 0.41);
    border-radius: 5px;
    width: 100%;
    padding: 0px 10px 0px 10px;
}

a.dropdown-toggle.nav-link.move-left::after {
    display: none !important;
}

i.fas.fa-portrait.size {
    font-size: small;
}

a.dropdown-toggle.nav-link.move-left:hover {
    color: var(--navbarhoverover);
}

.move-left.show {
    margin-left: -155px;
    margin-top: 10px;
    display: block;
}

.dropdown-submenu.show {
    display: block;
    top: 100%;
    left: 0;
    z-index: 99999;
    min-width: 10rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    color: var(--Light-text);
    text-align: left;
    list-style: none;
    background-color: var(--bg-dark);
    background-clip: padding-box;
    border: 1px solidrgba(241, 228, 228, 0.41);
    box-shadow: var(--Box-shadow);
    border-radius: 10px;
    font-weight: 400;
    line-height: 1.471;
    box-sizing: border-box;
    text-transform: capitalize;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}


/*Main Header links hover over colour */

.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--navbarhoverover);
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--Light-text);
}

.dropdown-item:focus,
.dropdown-item:hover {
    color: var(--Light-text);
    text-decoration: none;
    background-color: var(--navbarfocus);
    box-shadow: 0 0 5px var(--navbarhoveroverbs);
    border-radius: 2px;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: var(--Light-text);
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
    margin-right: 40px;
}


/* Mobile Screen Icon top right Style */

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    content: "";
    background-position-x: center;
    background-position-y: center;
    background: rgb(64, 121, 139) none no-repeat scroll;
    background-size: auto;
    background-origin: padding-box;
    background-clip: border-box;
    border-color: rgba(73, 246, 10, 0.94);
}

.nav {
    -ms-flex-wrap: wrap;
    flex-wrap: unset;
    display: contents;
}

.navbar-dark .navbar-toggler {
    color: rgba(255, 255, 255, .5);
    border-color: #49f60a;
}

.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.dropdown-submenu {
    position: relative;
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: var(--Light-text);
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.dropdown-submenu .dropdown-menu {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: var(--Light-text);
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    top: 0;
    left: 80%;
    margin-top: -1px;
}


/* end of nav  menu  */


/* Buttons for Site  */

.btn-callsign {
    padding: 2px 10px 2px 10px;
    margin-right: 13px;
    margin-left: 0;
    font-size: 14px;
    line-height: 15px;
    border-radius: 1.2rem;
    color: var(--CallSignButtonText);
    background-color: var(--CallSignButton);
}

.btn:hover {
    color: var(--Dark-text);
    text-decoration: none;
    background-color: var(--hyperlinkhover);
}


/* end of button with callsign lh */


/* pause button on lhd start */

.myButton {
    width: inherit;
    padding: 5px;
    background-color: #f70303;
    box-sizing: border-box;
}

.pause {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
    box-sizing: border-box;
}


/* Pause button lh end */


/* All Input Fields start */

input {
    border-radius: 1.2rem;
    margin-top: 37px;
}

.fa-user-lock {
    color: var(--Light-text);
}


/* green thumbs up icon s in input field */

input:required:invalid,
input:focus:invalid {
    background: url('/assets/images/invalid.png') no-repeat right top;
}


/*red thumbs up icon s in input field */

input:required:valid {
    background: url('/assets/images/valid.png') no-repeat right top;
}

input[type="submit"] {
    background: linear-gradient(to bottom, rgb(33, 136, 56) 5%, rgb(33, 136, 56) 85%);
    border: 1px solid #0F799E;
    color: var(--Light-text);
    width: 84px;
    height: 24px;
    margin-top: 15px;
    font-weight: 700;
    text-shadow: 0 1px 0 #13506D;
    cursor: pointer;
    border-radius: 1.2rem;
}

input[type=submit]:hover {
    background: linear-gradient(to bottom, rgb(33, 136, 56) 5%, rgb(33, 136, 56) 85%);
}


/* Add a green text color and a checkmark when the requirements are right */

.valid {
    color: #008000;
}

.valid:before {
    position: relative;
    left: -15px;
    content: "✔";
}


/* Add a red text color and an "x" when the requirements are wrong */

.invalid {
    color: red;
}

.invalid:before {
    position: relative;
    left: -15px;
    content: "✖";
}

.autocomplete {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99999;
    /* makes dropdown menu say ontop */
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: var(--BackGround);
    border-bottom: 1px solid #d4d4d4;
    z-index: auto;
}

.autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: #0b7df7;
    ;
}

.autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: DodgerBlue;
    color: var(--Light-text);
}


/* Making the label break the flow */

.floating-label {
    position: absolute;
    top: 0;
    left: 0;
    user-select: none;
    z-index: auto;
}


/* Hide the browser-specific focus styles */

.floating-label-field {
    color: inherit;
    border-width: 0;
    z-index: auto;
}

.floating-label-field:focus {
    outline: 0;
    /* box-shadow: 0;*/
}

.floating-label-field::placeholder {
    color: inherit;
}


/* Make the label and field look identical on every browser */

.floating-label,
.floating-label-field {
    font: inherit;
    line-height: 1.5;
    display: block;
    width: 100%;
}

.floating-label-field,
.floating-label-wrap {
    position: relative;
}


/* Input Style #1 */

.floating-label-field--s1 {
    transition: border-color .25s ease-in-out;
    color: rgba(255, 255, 255, .75);
    border-bottom: 3px solid rgba(255, 255, 255, .05);
    background-color: greenyellow;
}

.floating-label-field--s1+.floating-label {
    transition: transform .25s, opacity .25s ease-in-out;
    transform-origin: 0 0;
    opacity: .5;
}

.floating-label-field--s1:focus,
.floating-label-field--s1:not(:placeholder-shown) {
    border-color: greenyellow;
}

.floating-label-field--s1:focus+.floating-label,
.floating-label-field--s1:not(:placeholder-shown)+.floating-label {
    transform: translate(.25em, -30%) scale(.8);
    opacity: .25;
}

.floating-label-field--s1:valid:not(:placeholder-shown) {
    border-color: rgba(46, 213, 115, .3);
}

.floating-label-field--s1:invalid {
    border-color: rgba(233, 236, 29, 0.527);
}


/* Input Style #2 */

.floating-label-field--s2 {
    transition: background-color .25s ease-in-out;
    border: 2px solid rgb(255, 255, 255);
    border-radius: 5px;
    background-color: var(--DatatablesBG);
    color: var(--Light-text);
}

.floating-label-field--s2+.floating-label {
    visibility: hidden;
    transition: transform .25s, visibility .5s, opacity .5s ease-in-out;
    opacity: 0;
}

.floating-label-field--s2:focus+.floating-label,
.floating-label-field--s2:not(:placeholder-shown)+.floating-label {
    visibility: visible;
    transform: translateY(-88%);
    opacity: .9;
}

.floating-label-field--s2:valid:not(:placeholder-shown) {
    border-color: rgb(173, 239, 200);
    background-color: var(--DatatablesBG);
}

.floating-label-field--s2:invalid {
    border-color: rgb(245, 174, 6);
    background-color: #353635;
}

.floating-label-field--s3 {
    padding: 1.5em;
    transition: border-color .25s ease-in-out;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 5px;
    background-color: transparent;
}

.floating-label-field--s3+.floating-label {
    position: absolute;
    top: .75em;
    left: .75em;
    display: inline-block;
    width: auto;
    margin: 0;
    padding: .75em;
    transition: transform .25s, opacity .25s, padding .25s ease-in-out;
    transform-origin: 0 0;
    color: inherit;
}

.floating-label-field--s3:focus,
.floating-label-field--s3:not(:placeholder-shown) {
    border-color: rgba(255, 255, 255, .1);
}

.floating-label-field--s3:focus+.floating-label,
.floating-label-field--s3:not(:placeholder-shown)+.floating-label {
    z-index: auto;
    padding: .75em;
    transform: translate(0, -2em) scale(.9);
    color: rgba(255, 255, 255, .25);
    background-color: #2A3F54;
}


/* Common Styles */


/* Identical inputs on all browsers */

.floating-label-field--s1:not(textarea),
.floating-label-field--s2:not(textarea),
.floating-label-field--s3:not(textarea) {
    max-height: 3em;
}

.floating-label-field--s1,
.floating-label-field--s1+.floating-label,
.floating-label-field--s2,
.floating-label-field--s2+.floating-label {
    padding: 0.5em;
    ;
}

.floating-label-field--s1+.floating-label,
.floating-label-field--s2+.floating-label {
    z-index: auto;
}

.floating-label-field--s1::placeholder,
.floating-label-field--s3::placeholder {
    color: transparent;
}


/**
* MEDIA SETTINGS
*/

@media only screen and (min-width: 1024px) {
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.65em;
    }
    h3 {
        font-size: 1.25em;
    }
    h4 {
        font-size: 1em;
    }
    .w-full--d {
        width: 100%;
    }
    .w-three-quarters--d {
        width: 75%;
    }
    .w-two-thirds--d {
        width: 66.66666%;
    }
    .w-half--d {
        width: 50%;
    }
    .w-third--d {
        width: 33.33333%;
    }
    .w-quarter--d {
        width: 25%;
    }
}

@media only screen and (max-width: 1023px) and (min-width: 768px) {
    h1 {
        font-size: 1.75em;
    }
    h2 {
        font-size: 1.45em;
    }
    .tgif-grid--3 .tgif-grid-cell {
        width: 80%;
    }
    .w-full--t {
        width: 100%;
    }
    .w-three-quarters--t {
        width: 75%;
    }
    .w-two-thirds--t {
        width: 66.66666%;
    }
    .w-half--t {
        width: 50%;
    }
    .w-third--t {
        width: 33.33333%;
    }
    .w-quarter--t {
        width: 25%;
    }
}

@media only screen and (max-width: 767px) {
    .lab-share {
        text-align: right;
    }
    .w-full--m {
        width: 100%;
    }
    .w-three-quarters--m {
        width: 75%;
    }
    .w-two-thirds--m {
        width: 66.66666%;
    }
    .w-half--m {
        width: 50%;
    }
    .w-third--m {
        width: 33.33333%;
    }
    .w-quarter--m {
        width: 25%;
    }
}


/* end of input fields for all site */