﻿:root {
    --font-awesome-family: "Font Awesome 6 Pro";
}

body {
	background-color: var(--default-background);
	font-family: Arial, Helvetica, sans-serif;
    overflow-y:auto;
}

/* variable settings */

@media (max-width: 480px) {
    body {
        font-size:8px !important;
    }

    .btn {
        font-size:8px !important;
    }

    h1 {
        font-size:12px !important;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    body {
        font-size:10px !important;
    }

    .btn {
        font-size:10px !important;
    }

    h1 {
        font-size:20px !important;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    body {
        font-size:12px !important;
    }

    .btn {
        font-size:12px !important;
    }

    h1 {
        font-size:28px !important;
    }
}

@media (min-width: 980px) {
    body {
        font-size:14px !important;
    }

    .btn {
        font-size:14px !important;
    }

    h1 {
        font-size:36px !important;
    }
}


/*
#backDiv {
    margin-top:5px;
}
*/
.greenText {
    color: var(--positive-colour);
}
 
.redText {
    color: var(--negative-colour);
}

.larger {
    font-size: larger;
}

.edit,
.clickEdit,
.showChild,
.exButton1,
.exButton2,
.exButton3,
.perms {
    background-color: transparent !important;
    color: var(--oxidised-copper) !important;
    text-align: center;
    vertical-align: middle;
}

.edit:hover,
.clickEdit:hover,
.showChild:hover,
.exButton1:hover,
.exButton2:hover,
.exButton3:hover {
    background-color: var(--oxidised-copper) !important;
    color: var(--alternate-text) !important;
    cursor: pointer;
}

.undelete {
    color: var(--positive-colour) !important;
    background-color: transparent !important;
    text-align: center;
    vertical-align: middle;
}

.undelete:hover {
    color: var(--default-background) !important;
    background-color: var(--positive-colour) !important;
    cursor: pointer;
}

.add {
    background-color: var(--oxidised-copper);
    color: var(--alternate-text);
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
}

.addExtra {
    background-color: var(--oxidised-copper);
    color: var(--alternate-text);
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
}

span.add {
    max-width:25px;
    padding:3px;
}

span.add a {
    text-decoration:none;
    color:#ffffff;
}

span.add a:hover {
    text-decoration:none;
    color:#ffffff;
}

.psswrd {
	background-color:#98c6ff;
    color:#FFFFFF;
    text-align: center;
    vertical-align: middle;
    cursor:pointer;
}

.noButton {
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
}
 
.exButton1A {
    background-color: #84669a;
    color: white;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
}

.edit_inv {
    color: #98c6dd;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
}

.view {
	background-color:#ff9933 !important;
    color:#FFFFFF;
    text-align: center;
    vertical-align: middle;
    cursor:pointer;
}

.custedit {
	background-color:#98c6dd;
    color:#FFFFFF;
    text-align: center;
    vertical-align: middle;
    cursor:pointer;
}

/*ensures header not filled in to match*/
td.subbutton {
	background-color:#ff9933;
    color:#FFFFFF;
    text-align: center;
    vertical-align: middle;
    cursor:pointer;
}

.delete {
    background-color: inherit;
    color: var(--negative-colour);
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
}

.delete:hover {
    background-color: var(--negative-colour) !important;
    color: var(--alternate-text) !important;
}

.delete_inactive {
	background-color:#dddddd;
    color:#FFFFFF;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid white;
}

.secondaryTitle {
    margin: -20px -20px 10px -20px;
    padding: 10px;
}

.secondaryTitle {
    margin-top: 15px !important;
    background-color: #f9f9f9 !important;
}

#searchDiv div {
    padding-left: 5px;
    float: left;
}

#switchSearch {
    outline: none;
    box-shadow: none;
}

#pageTitle h4,
.secondaryTitle h4 {
    font-weight: bold;
    display: inline-block;
}


/*TODO - Move the bits below to header.*/

.usr_nametag {
    display: inline-block;
    min-width: 200px;
    font-size: large;
}

.usr_nametag:hover {
    color: white;
}

.usr_initials {
    display: inline-block;
    border-radius: 50%;
    background-color: #d2ccce;
    float: left;
    margin-right: 5px;
}

.usr_initials_inner {
    display: table-cell;
    border-radius: 50%;
    background-color: var(--submenu-grey);
    width: 45px;
    height: 45px;
    vertical-align: middle;
    text-align: center;
}

.usr_name {
    display: flex;
    clear: right;
    height: 45px;
    justify-content: left;
    overflow: hidden;
    align-items: center;
}

.prePage {
    padding:10px;
    background:#ffffff;

    border-top-style:solid;
    border-top-width:5px;
    border-top-color: #CCCCCC;
    border-top-left-radius:15px;
    border-top-right-radius:15px;
    
    border-bottom-style:solid;
    border-bottom-width:0px;
    border-bottom-color: #CCCCCC;
    border-bottom-left-radius:15px;
    border-bottom-right-radius:15px;

    margin-bottom:5px;
    overflow: auto;
}
/*
.button {
  font: bold 11px Arial;
  text-decoration: none;
  background-color: #EEEEEE;
  color: #333333;
  padding: 2px 6px 2px 6px;
  border-top: 1px solid #CCCCCC;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #333333;
  border-left: 1px solid #CCCCCC;
}
*/
.color-ok {
    color:#009900;
}

.color-notok {
    color:#990000;
}

.blockHead {
	border-radius: 13px 13px 0px 0px;
	padding-left:0px;
	text-align:center;
	font-weight:bold;
	background:rgba(125,125,125,1);
	color:rgba(255,255,255,1);
}


/*if no border you need this next bit*/

#aedDataTable thead th,
#aedDataTable2 thead th {
    border-top: 0px !important;
}

/*
#aedDataTable th,
#aedDataTable2 th {
    background-color: #b7b7b7;
}
*/

.dataTable th {
    background-color: #b7b7b7;
}

.dataTables_length {
    float: right !important;
}
.dataTables_filter {
    float: left !important;
}

.dataTables_filter input {
    width: 400px;
}

#aedDataTable thead th.view,
#aedDataTable tfoot th.view {
    cursor: default;
    background-color: transparent;
}

#aedDataTable thead th.delete,
#aedDataTable tfoot th.delete,
#aedDataTable2 thead th.delete,
#aedDataTable2 tfoot th.delete {
    cursor: default;
    background-color: transparent;
}

#aedDataTable input,
#aedDataTable2 input {
    width: 100%;
}

#aedDataTable tbody tr.warning
 {
    background-color: #f7d2d2 !important;
}

#aedDataTable tbody tr.warning .sorting_1 {
    background-color: #edc5c5 !important;
}
#aedDataTable a,
#aedDataTableSysLog a {
    color: inherit;
}

div.dataTables_showAct {
    float: right;
    margin-right: 25px;
    margin-top:3px;
}

.dataTables_wrapper .dt-buttons {
    margin-top:5px;
}

.dataTables_wrapper .dataTables_info {
    clear: none !important;
}

.table-grouped > tbody > tr.indentMe > td:first-of-type {
    position: relative;
    left: 20px;
}


.subTable {
    padding-left: 50px;
    width: 100%;
}

.override.even {
    background-color: #ffeeee !important;
}

.override.odd {
    background-color: #f9e8e8 !important;
}

.paginate_button {
    border: 1px solid #006699;
    color: #006699;
    background-color: #f2f2f2;
    padding: 2px 6px 2px 6px;
    margin: 0 3px 0 3px;
    text-decoration:none;
    cursor:pointer;
}
.paginate_button:hover,
.paginate_button.current {
    border: 1px solid #006699;
    color: #fff;
    background-color: #006699;
    padding: 2px 6px 2px 6px;
    margin: 0 3px 0 3px;
    text-decoration: none;
}

.paginate_button.current {
    cursor:default;
}
/*
th.edit {
    background-color: #9bd683 !important;
}

*/

.caps {
	text-transform:uppercase;
}/* prevent this affecting placeholders */
::-webkit-input-placeholder { /* WebKit browsers */
    text-transform: none;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    text-transform: none;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    text-transform: none;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    text-transform: none;
}

.moreInfo {
    color: #0000DD;
    cursor:pointer;
}

.inputPage .row,
.inputPopup .row {
    padding-bottom: 5px;
}

.inputPage .fieldname {
    text-align:right;
}

.inputPage .rec {
    font-style: italic;
}

.inputPage input[type="text"]:not(.ignoreInputCSS),
.inputPage input[type="number"]:not(.ignoreInputCSS),
.inputPage input[type="email"]:not(.ignoreInputCSS),
.inputPage textarea,
.inputPage select,
.inputPage .controlWidth,
.inputPage .pickerWrapper {
    width: 100%;
    max-width: 500px;
}

.reqd {
    font-weight: bold;
}

#ajax_page {
    float:right;
}

.section{
    background-color:#FFFFFF;
    min-height:100%; 

    border-top-style:solid;
    border-top-width:5px;
    border-top-color: #CCCCCC;
    border-top-left-radius:15px;
    border-top-right-radius:15px;

    border-bottom-style:solid;
    border-bottom-width:5px;
    border-bottom-color: #CCCCCC;
    border-bottom-left-radius:15px;
    border-bottom-right-radius:15px;
}

.section-title {
    padding:10px;
    font-weight:bold;
	font-size:large;
	height:30px;
	vertical-align: middle;
}

.section-body {
    padding:10px 10px 10px 20px;
}

.popupBack,
.loginOuter {
    display: table;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: var(--layer-second);
    background-color: rgba(80,80,80,.85);
}

.loginMiddle {
    display: table-cell;
    vertical-align: middle;
}

.loginInner {
    margin-left: auto;
    margin-right: auto;
    width: 400px;
    border: 1px solid black;
    border-radius: 5px;
    background-color: #e0e0e0;
}

.loginbox-title {
    /*background-color: #868686;*/
    background-color: white;
    color: black;
    text-align: center;
    padding: 10px 5px 0px 5px;
    margin-bottom: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.loginbox-title img {
    width: 100%;
}
.engageSpace {
    margin-top: 15px;
    font-weight: bolder;
    font-size: larger;
    text-align: justify;
}

.engageSpace:after {
    content: "";
    display: inline-block;
    width: 100%;
}
/*
.loginbox-body {
    padding-top: 25px;
    padding: 10px;
    background-color: #e0e0e0;
}
*/
.loginbox-body {
    padding: 0px 10px 20px 10px;
    /*background-color: #e0e0e0;*/
}

.loginbox-body input {
    background-color: #e3e3e3;
}

.loginbox-body .input-group {
    margin-bottom: 25px;
}

.loginbox-body .input-group .input-group-prepend,
.login-styling .input-group .input-group-prepend {
    background-color: #868686;
    padding: 8px 8px 5px 8px;
    color: white;
    font-size: large;
}

.loginbox-body .show-hide-password a {
    float:right;
    margin-top: 8px;
    /*
    left: 310px;
    position: absolute;
    top: 8px;
    */
    z-index: 5;
    cursor: pointer;
    color: darkgray;
}

.login-styling .show-hide-password a {
    float:right;
    margin-top: 8px;
    margin-left: 3px;
    z-index: 5;
    cursor: pointer;
    color: darkgray;
}

.loginbox-body #btn-login {
    width:100%;
}

.loginbox-body .wide-but {
    width: 100%;
}

.smallFloatRight {
    font-size: x-small;
    float: right;
}

.smallFloatRight a {
    text-decoration: none;
    color: black;
}

.smallFloatRight a:hover {
    text-decoration: underline;
    color: black;
}

.autocompleteSelect {
    background-color: transparent;
}

.input-group .input-group-append {
    margin: auto;
    margin-left: -15px;
    font-weight: bold;
    font-size: medium;
    z-index: -1;
}

.inlineBlock {
    display: inline-block;
}

.ui-autocomplete {
    max-height:500px;
    overflow-y: auto;
}

.activeChevron {
    color:blue;
    cursor:pointer;
    font-weight:bold;
}

.normalLink {
    color: #007bff !important;
    text-decoration:underline !important;
}

.highlight {
    background-color: #cfd4e9;
}

.inlinePlusButton {
    background-color: #28a745;
    padding: 8px 8px 5px 8px;
    color: white;
    /*font-size: large;*/
    cursor:pointer;
}


#purpleMonsterDiv {
    background-color: red;
    color: white;
    z-index: 999;
    max-height: 30px;
    width: 100%;
    position: fixed;
    bottom: 0;
    padding: 7px 10px 20px 10px;
    font-size: smaller;
}

#purpleMonsterDiv div {
    float: left;
}

#purpleMonsterDiv div:last-of-type {
    margin-left: 5px;
    margin-top: -4px;
}


@keyframes add-shadow-pulse {
    0% {
        box-shadow: 0 0 0 0px rgba(24, 100, 41, 0.2);
    }

    100% {
        box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
    }
}

.add-animate-me {
    animation: add-shadow-pulse 1s infinite;
}

.noPad {
    padding: 0px !important;
}

.matchPadding {
    padding-top: 20px;
    padding-left: 12px;
}

.matchPaddingTopOnly .fas {
    padding-top: 20px;
}

.xhair {
    cursor: grab;
}

.ui-datepicker-trigger {
    margin-left:5px;
}

.disabled:hover {
    cursor:not-allowed;
}

.nav-tabs {
    margin: 0px -20px 10px -20px;
    padding-left: 10px;
    padding-right: 10px;
}

.nav-tabs .nav-item:first-child {
    margin-left:20px;
}

.nav-tabs .active {
    font-weight:bold;
}

.nav-tabs .nav-link {
    color:inherit;
}



/* FRONT PAGE ROLLOVER BUTTONS */

.sok-tile-row {
    font-family: Arial;
    overflow: hidden;
}

.sok-tile {
    text-align: center;
    display: inline-block;
    font-size: 25px;
    color: white;
    background-color: var(--oxidised-copper); /*#00a9de;*/
    width: 150px;
    height: 150px;
    line-height: 150px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 25px;
    margin-right: 10px;
}

.sok-tile.external {
    /*background-color: #00de5a;*/
    background-color: #46e26d;
}

.sok-tile-name {
    text-align: center;
    font-size: 13px;
    line-height: 13px;
    padding: 10px;
    background-color: var(--oxidised-copper-dark); /*#0072c6;*/
    height: 35px;
    width: 100%;
    position: relative;
    top: -35px;
}

.sok-tile i.fas {
    font-size: 50px;
}

.sok-tile.external .sok-tile-name {
    background-color: #00a541;
}

.no-access {
    background-color: #cccccc;
}

.sok-tile:hover .sok-tile-name {
    width: 100%;
    position: relative;
    top: -150px;
    -webkit-transition-duration: .5s; /* Safari */
    transition-duration: .5s;
}

.help {
    font-size: small !important;
    float: none !important;
    clear: both !important;
    vertical-align: super;
}

.help::after {
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    content: "\f059";
}

.spacer {
    font-size: small !important;
    float: none !important;
    clear: both !important;
    vertical-align: super;
    color:white;
}

.spacer::after {
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    content: "\f5c2";
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #cccccc;
    font-size: smaller;
    margin-bottom:5px;
}

/*.separator::before,*/

.separator::before {
    content: '';
    flex: 1;
    border-bottom: 1px solid #cccccc;
    max-width:20px;
}

.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #cccccc;
}

.separator:not(:empty)::before {
    margin-right: .25em;
}

.separator:not(:empty)::after {
    margin-left: .25em;
}

.pickerWrapper {
    display: inline-block;
    position: relative;
}

.pickerWrapper:after {
    font-family: 'Font Awesome 6 Pro';
    content: '\f073';
    color: #666666;
    position: absolute;
    right: 6px;
    top: 2px;
}

.lengthContainer {
    width:fit-content;
}

.lengthContainer .lengthCount {
    float:right;
    font-size:small;
    color:#cccccc;
}


/*calendar specific - incomplete late decision*/


.inactiveResource {
    display: none !important;
}

.inactiveResourceWithJobs {
    background-color: #fcf7fc;
}

.inactiveResourceWithJobs:hover {
    cursor: not-allowed;
}

div.nwd.inactiveResourceWithJobs {
    background-color: #e6cce1;
}

.inactiveResourceWithJobs .res_nametag {
    background-color: #faafed;
}

#filterDiv {
    float: right;
    margin-bottom: 10px;
    margin-right: 250px;
}

#filterDiv div {
    float: right;
    margin-left: 5px;
}

.boldMe {
    font-weight: bold;
}

/*scheduler section*/
.res_initials_inner1 {
    background: #c8171f;
    background: -moz-radial-gradient(center 45deg,circle cover, #f9d0be, #c8171f);
    background: -webkit-gradient(radial, 40% 40%, 0, 40% 40%, 50, from(#f9d0be), to(#c8171f));
}

.res_initials_inner2 {
    background: #00a1ee;
    /* Fallback */
    background: -moz-radial-gradient(center 45deg,circle cover, #cde6f9, #00a1ee);
    background: -webkit-gradient(radial, 40% 40%, 0, 40% 40%, 50, from(#cde6f9), to(#00a1ee));
}

.res_initials_inner3 {
    background: #fcb83d;
    background: -moz-radial-gradient(center 45deg,circle cover, #fcf3a6, #fcb83d);
    background: -webkit-gradient(radial, 40% 40%, 0, 40% 40%, 50, from(#fcf3a6), to(#fcb83d));
}

.res_initials_inner4 {
    background: #4d8d00;
    /* Fallback */
    background: -moz-radial-gradient(center 45deg,circle cover, #d1e5b2, #4d8d00);
    background: -webkit-gradient(radial, 40% 40%, 0, 40% 40%, 50, from(#d1e5b2), to(#4d8d00));
}


/* NOTIFICATIONS */
.notification {
    padding: 20px;
    width: 50%;
    min-height: 100px;
    height: fit-content;
    position: relative !important;
}

.nonurgent {
    border-radius: 25px;
    border: 2px solid #73AD21;
}

.nonurgent .gotoIcon {
    color: green;
}

.nonurgent h4 {
    color: green;
}

.urgent {
    border-radius: 25px;
    border: 2px solid red;
    color: red;
}

.urgent .gotoIcon {
    color: red;
}

.urgent h4 {
    color: red;
}

.statusSelect {
    height: 31px;
    width: 100%;
}

.dropdown-menu {
    max-height: 500px;
    overflow-y: scroll;
}

dl dl {
    margin-left: 1em;
}

.unbulleted-list,
.unbulleted-list ul,
.unbulleted-list ul ul
{
    list-style-type: none;
}

.unbulleted-list li span {
    font-weight:bold;
}
.helpMe {
    color: black;
    text-decoration: none;
    float: right;
}

dl dl {
    margin-left: 1em;
}

.unbulleted-list,
.unbulleted-list ul,
.unbulleted-list ul ul
{
    list-style-type: none;
}

.unbulleted-list li span {
    font-weight:bold;
}
dl dl {
    margin-left: 1em;
}

.unbulleted-list,
.unbulleted-list ul,
.unbulleted-list ul ul
{
    list-style-type: none;
}

.unbulleted-list li span {
    font-weight:bold;
}
.helpMe {
    color: black;
    text-decoration: none;
    float: right;
}

dl dl {
    margin-left: 1em;
}

.unbulleted-list,
.unbulleted-list ul,
.unbulleted-list ul ul
{
    list-style-type: none;
}

.unbulleted-list li span {
    font-weight:bold;
}dl dl {
    margin-left: 1em;
}

.unbulleted-list,
.unbulleted-list ul,
.unbulleted-list ul ul
{
    list-style-type: none;
}

.unbulleted-list li span {
    font-weight:bold;
}
.helpMe {
    color: black;
    text-decoration: none;
    float: right;
}

dl dl {
    margin-left: 1em;
}

.unbulleted-list,
.unbulleted-list ul,
.unbulleted-list ul ul
{
    list-style-type: none;
}

.unbulleted-list li span {
    font-weight:bold;
}
dl dl {
    margin-left: 1em;
}

.unbulleted-list,
.unbulleted-list ul,
.unbulleted-list ul ul
{
    list-style-type: none;
}

.unbulleted-list li span {
    font-weight:bold;
}
.helpMe {
    color: black;
    text-decoration: none;
    float: right;
}

dl dl {
    margin-left: 1em;
}

.unbulleted-list,
.unbulleted-list ul,
.unbulleted-list ul ul
{
    list-style-type: none;
}

.unbulleted-list li span {
    font-weight:bold;
}

.indent {
    margin-left:10px;
}

.birthday {
    font-size: xx-large;
    font-weight: bolder;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}