body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.hide {
    display: none!important;
}

/* All anchor links */
a:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem #03ac7d46 !important;
}

/* Remove default outline and add custom glow */
a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.2rem #03ac7d46 !important;
}

input::file-selector-button {
    background: red;
}

/* CUSTOM GLOBAL ELEMENTS */

.infoElement {
    background-color: var(--AgConsoleHighlight);
    padding: 5px 10px;
    font-size: 0.8em;
    color: var(--AgConsoleDark);
}

.infoElement i {
    margin-right: 1em;
}

/* BOOTSRAP COLOURS */

/*--Buttons--*/

.btn:focus,
.btn.focus,
.btn:not(:disabled):not(.disabled):active:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem #03ac7d46 !important; 
}

.btn-primary {
    background-color: #0C966F !important;
    border-color: #03AC7D !important;
}

.btn-success {
    background-color: var(--AgConsole) !important;
    border-color: var(--AgConsoleDark) !important;
}

.btn-warning {
    background-color: var(--AgWarning) !important;
    border-color: var(--AgWarningDark) !important;
    color: #FFFFFF !important;
}

.btn-warning:hover {
    color: #FFFFFF!important;
}

.btn-danger {
    background-color: var(--AgDanger) !important;
    border-color: var(--AgDangerDark) !important;
    color: #FFFFFF !important;
}

.btn-reset {
    border: 1px solid red !important;
    color: red !important;
}

/* CUSTOM COLOURS */

:root {
    /* Colours */
    --AgConsole: #03AC7D;
    --AgConsoleDark: #0C966F;
    --AgConsoleHighlight: #D9FFE6;
    --AgGradient: linear-gradient(180deg,rgba(0, 199, 143, 1) 0%, rgba(0, 150, 108, 1) 100%);
    --AgGradient30: linear-gradient(210deg,rgba(0, 199, 143, 1) 0%, rgba(0, 150, 108, 1) 100%);
    --highlightGrey: #F2F2F2;
    --textGreyDark: #494949;
    --AgWarning: #F2A929;
    --AgWarningDark: #BD7E13;
    --AgDanger: #d0493f;
    --AgDangerDark: #6b1e14;
    /* Box Shadows */
    --BoxShadow: 0px 0px 20px #49494970;
    --BoxShadowSM: 0px 0px 10px #2d2d2d59;
}

/* TEXT COLOURS */

.txt-Agconsole {
    color: var(--AgConsole);
}

.txt-textGreyDark {
    color: var(--textGreyDark);
}

.txt-highlightGrey {
    color: var(--highlightGrey);
}

.txt-AgConsoleHighlight {
    color: var(--AgConsoleHighlight);
}

.txt-AgConsoleDark {
    color: var(--AgConsole);
}


.BoxShadowSM {
    box-shadow: var(--BoxShadowSM);
}

.layout-builder {
    position: fixed;
    width: 400px;
    background: white;
    z-index: 1000;
    right: -400px;
    top: 0;
    bottom: 0;
    box-shadow: 8px 0 10px 3px rgba(0, 0, 0, 0.50);
    overflow: auto;
    transition: right .2s;
}

.layout-builder.show {
    right: 0;
}

.card-body-table {
    width: 100%;
    overflow-x: auto;
}

@media (max-width: 992px) {
    .popupImg {
        display: none;
    }
}

.layout-builder .layout-builder-toggle.shw i {
    -webkit-animation: spin 2s linear infinite;
    -moz-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.dataTables-wrapper {
    flex-direction: column;
    align-content: flex-end;
    justify-content: flex-start;
    align-items: stretch;
}

canvas {
    height: 100% !important
}

@-webkit-keyframes spin {
    100% {
	  -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes spin {
    100% {
	  -moz-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
	  transform: rotate(360deg);
    }
}

.layout-builder .layout-builder-toggle.hdn {
    display: none;
}

.layout-builder.show .layout-builder-toggle.hdn {
    display: flex;
}

.layout-builder .layout-builder-toggle {
    cursor: pointer;
    width: 50px;
    height: 50px;
    color: white;
    background: black;
    position: fixed;
    top: 50%;
    margin-left: -50px;
    display: flex;
    font-size: 23px;
    justify-content: center;
    align-items: center;
    margin-top: -25px;
}

.layout-builder .layout-builder-body {
    padding: 30px;
}

.layout-builder .layout-builder-body .custom-control input[type="checkbox"]:checked + label {
    color: black;
}

.layout-builder .layout-colors {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
}

.layout-builder .layout-colors .layout-color-item {
    width: 40px;
    height: 40px;
    background: red;
    margin: 10px;
    border-radius: 3px;
    overflow: hidden;
    border: 5px solid transparent;
    cursor: pointer;
}

.layout-builder .layout-colors .layout-color-item.active {
    box-shadow: 0px 0px 0px 1px black
}

.layout-builder .layout-colors .layout-color-item span {
    display: block;
    height: 45%;
}

.layout-builder .layout-colors .layout-color-item span:first-child {
    background: black;
    transform: rotate(15deg);
    width: 110%;
    height: 70%;
    margin-top: -5px;
}

.layout-alert {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px 10px;
}

@media (max-width: 992px) {
    .layout-builder {
	  display: none;
    }


}

@media (max-width: 768px){
    .searchBar {
        flex-direction: column
    }
}

.bg-white {
    background-color: white !important;
}

.bg-gray {
    background-color: #EFEFEF !important;
}

.bg-theme {
    background-color: var(--AgConsole) !important;
}

.form-container {
    border: 2px solid #9F0000;
    width: 450px;
    border-radius: .50rem;
}

.footerArea {
    bottom: 0;
    position: fixed;
    width: 75%;
}

.myNavBtn {
    border-radius: 10px 10px 0 0;
    font-size: large;
}

.container {
    max-width: inherit;
}

#myWidthOverlay > section {
    position: absolute;
    margin-top: 10%;
}
/*
@media screen and (max-width: 1200px) {
    #myMainContainer {
        display: none !important;
    }

    #myWidthOverlay {
        display: block !important;
    }

    body {
        background-color: white !important;
    }
}

@media screen and (min-width: 1200px) {
    #myMainContainer {
        display: block !important;
    }

    #myWidthOverlay {
        display: none !important;
    }

    body {
        background-color: #e7ebee !important;
    }
}*/

/** MAPPING STYLES**/

.mapContainer {
    overflow: hidden;
}

/** MODAL STYLES**/

.modal-body > .modal-title {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 0.5em;
    color: var(--textGreyDark);
}

/* Accordian List */

.SearchInput {
    border-radius: 5px;
    padding: 4px;
    border: 1px solid #CCC;
}

.button {
    height: 40px;
    width: 100%;
    margin-top: 20px;
    background-color: #119029;
    color: #FFF;
    font-weight: 500;
    text-align: center;
    line-height: 40px;
    border-radius: 5px;
    box-shadow: none;
}

.button:hover {
    background-color: #09761e;
    cursor: pointer;
}

.farmForm {
    height: 100%;
}

.button2 {
    height: 30px;
    width: 200px;
    margin: 0px 0px 15px 0px;
    background-color: #ffffff;
    color: #323232;
    font-weight: 600;
    text-align: center;
    line-height: 30px;
    border-radius: 3px;
    border: solid 1px #CCC;
}

.button2:hover {
    background-color: #115bd1;
    cursor: pointer;
}

.containDiv {
    position: absolute;
    height: inherit;
    width: 100%;
    top: 0;
    bottom: 0;
    right: 0;
}

.LocationsList {
    flex: 1;
    padding: 15px;
    margin-bottom: 0px;
    background: #FFF;
    padding: 4px;
    border-radius: 5px;
    border: 1px solid #CCC;
    overflow-y: auto;
}

.LocationsList > li a {
    display: flex;
    padding: 15px 10px 15px 10px;
    height: 23px;
    width: 100%;
    line-height: 2;
    align-items: center;
    font-size: 14px;
    border-radius: 5px;
    white-space: nowrap;
}

.LocationsList > li ul li a {
    padding-left: 30px;
    height: 23px;
    width: 100%;
    line-height: 2;
    align-items: center;
    font-size: 14px;
    transition: background 0.3s;
    white-space: nowrap;
}

.LocationsList > li ul li ul li a {
    padding-left: 45px;
    height: 23px;
    width: 100%;
    line-height: 2;
    align-items: center;
    font-size: 14px;
    transition: background 0.3s;
    white-space: nowrap;
}

.LocationsList > li a:hover {
    background: #efefef;
    cursor: pointer;
    transition: background 0.3s;
}

.LocationsList ul {
    padding-left: 0px;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

/*.FeatureList {
    overflow: auto;
    height: 240px;
    background: #FFF;
    border-radius: 5px;
    border: 1px solid #CCC;
}*/

.resize {
    min-height: 100px;
    resize: vertical;
}

.dropMenu {
    box-sizing: border-box;
    margin-left: auto;
    float: right;
    animation: spinReturn 0.3s forwards;
}

.plus::before {
    font-family: "themify";
    font-size: 10px;
    content: "\e61a";
}

.rotate {
    animation: spin 0.3s forwards;
}

.Pcolour {
    background: var(--AgConsoleHighlight);
}

.aSelected {
    box-shadow: inset 0px 0px 0px 1px var(--AgConsole);
    -webkit-box-shadow: inset 0px 0px 0px 1px var(--AgConsole);
    -moz-box-shadow: inset 0px 0px 0px 1px var(--AgConsole);
    box-shadow: inset 0px 0px 0px 1px var(--AgConsole);
    border-radius: 3px;
    background: var(--AgConsoleHighlight);
}

    .aSelected > Farm:hover {
        box-shadow: inset 0px 0px 0px 1px var(--AgConsole);
        -webkit-box-shadow: inset 0px 0px 0px 1px var(--AgConsole);
        -moz-box-shadow: inset 0px 0px 0px 1px var(--AgConsole);
        box-shadow: inset 0px 0px 0px 1px var(--AgConsole);
        border-radius: 3px;
        background: var(--AgConsoleHighlight);
    }

.targetA {
    box-sizing: border-box;
    margin-left: auto;
    float: right;
}

    .targetA::after {
        font-family: "themify";
        font-size: 10px;
        content: "\e607";
        color: var(--AgConsoleDark);
    }

/** VERTICAL NAVIGATION STYLES**/

.navigation-icon-menu {
    background: var(--AgGradient)!important;
}

.navIcon i {
    font-size: 1.5em;
    opacity: 0.5;
    color: #FFF!important;
}

.navigation .navigation-icon-menu ul li.active a i {
    opacity: 0.95 !important;
    color: #FFF !important;
}

.navIcon img {
    height: 30px;
}

/** NOTIFICATION STYLES**/

.notiHeading {
    background: var(--AgGradient)
}

figure.avatar.avatar-state-info:before {
    background: var(--AgConsole);
}

/** DATA DISPLAY **/
.summaryCard {
    color: var(--textGreyDark) !important;
}

.summaryCardImg {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: auto;
    color: #FFF;
    font-size: 2em;
    border-radius: 5px 0px 0px 5px;
}

.summaryCardTxt {
    margin: 1em 1em 1em 1.5em;
}

/** LOGIN **/

.loginCard {
    box-shadow: var(--BoxShadow);
}

/** OVERVIEW **/

.loadOverview {
    width: 35px;
    height: 35px;
    padding: 4px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #25b09b;
    --_m: conic-gradient(#0000 10%,#000), linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: l3 1s infinite linear;
}

@keyframes l3 {
    to {
        transform: rotate(1turn)
    }
}

/** LOADERS **/

.GWLoader {
    z-index: 1000;
    /*margin-left: -1rem;
    margin-top: -1rem;*/
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: grayscale(100%);
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-content: center;
}

/* Notifications */

/* Tables */

.dropdown-item.active, .dropdown-item:active {
    background-color: var(--highlightGrey)!important;
}


/** USER PROFILES **/

.empInfPhoto {
    width: 150px;
    height: 150px;
    overflow: hidden;
    margin-right: 2em;
    background-color: var(--highlightGrey);
    border-radius: 5px;
    text-align: center;
}

.empInfPhoto img {
    height: 150px;
    width: auto;
}

.profDownload {
    height: 200px;
    width: 200px;
}

.natIdDownload {
    height: 200px;
    width: auto;
}

.mediaContainer {
    text-align: center;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid grey;
    background-color: var(--highlightGrey);
}

.mediaContainer img {
    height: 200px;
    width: auto;
}

/* TASK CREATION */

.unitBoxTxt {
    border-radius: 5px 0px 0px 5px !important;
}

.unitBox {
    width: auto;
    height: calc(1.5em + .75rem + 3px);
    color: #8c8c8c;
    font-weight: 600;
    text-align: center;
    padding: 7px;
    margin-left: -1px;
    background-color: var(--highlightGrey);
    border: 1px solid #CCC;
    border-radius: 0px 5px 5px 0px;
    box-sizing: border-box;
}

/* Task Selection */

.brightness {
}

.brightness {
    cursor: pointer;
    width: 45px;
    height: 45px;
    margin: 10px
}

.radio {
    cursor: pointer;
    width: 50px;
    padding: 5px;
}

.radioBorder {
    opacity: 15%;
    padding: 5px;
}

    .radioBorder:hover {
        opacity: 60%;
    }

.Selected {
    border: 2px solid var(--AgConsole);
    border-radius: 10px;
}

/** BUTTON lOAD **/

.spinBtLoad {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 5px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/** SWEET ALERT **/

.swal2-styled.swal2-confirm {
    background-color: var(--AgConsole)!important;
}

.swal2-styled:focus {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgb(25, 235, 132, 0.40)!important;
}

/** CALENDAR STYLING **/

.day-start {
    background-color: #FFFFFF !important;
}

.day-start > .day-content {
    background-color: var(--AgConsole) !important;
    margin: 2px;
    color: #FFFFFF !important;
}

.day-start > .day-content:hover {
    background-color: var(--AgConsoleDark) !important;
}