
/****************************************
	Flexbox Helper
****************************************/ 

.grid {
    display: grid;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-right {
    justify-content: flex-end;
}

.flex-center {
    justify-content: center;
}

.space-between {
    justify-content: space-between;
}

.flex-vcenter {
    align-items: center;
}

.flex-start {
    align-content: flex-start;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-wrap-reverse {
    flex-wrap: wrap-reverse;
}

.flex-1 {
    flex: 1;
}

.flex-auto {
    flex: 0 1 auto;
}

.flex-bottom {
    align-items: flex-end;
}

/****************************************
	Start
****************************************/

.empty-message {
    color: white;
}

.file-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.filename {
    margin-top: 10px;
}

.filesize,
.filename {
    color: white;
    text-align: center;
    font-size: 1.5rem;
}

.file video,
.file img {
    width: 100%;
    max-width: 500px;
    height: auto;
    max-height: 70vh;
}

.file {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.input-file-button {
    -webkit-appearance: none;
    border: none;
    background: transparent;
    margin: 0px 15px 0px 0px;
    padding: 0px;    
    cursor: pointer !important;
}

.input-file-button a {
    font-size: 30px;
    color: white;
    cursor: pointer !important;
}

#input-file {
    opacity: 0;
    position: absolute;
    height: 40px;
    width: 40px;
    cursor: pointer;
}

.attachments-container .content {
    flex-direction: row;
    display: flex;
    font-size: 20px;
    flex: 1;
    height: calc(100% - 50px);
}

.attachments-container .file {
    flex: 1;
}

.attachments-container .navigate-button {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    padding: 0px 15px;
}

.attachments-container .fa-download {
    vertical-align: text-bottom;
}

.attachments-container .navigate-button a {
    color: white;
    font-size: 4rem;
    display: flex;
    flex-direction: column;
}

.attachments-container .toolbar .spacer {
    flex: 1;
}

.attachments-container .toolbar .title {
    flex: 0 1 auto;
    color: white;
    font-size: 3rem;
    margin-left: 15px;
    margin-top: 5px;
}

.attachments-container .toolbar .actions {
    flex: 0 1 auto;
    padding: 10px;
}

.attachments-container .toolbar .actions > a {
    margin-right: 15px;
}

.attachments-container .toolbar .actions a {
    color: white;
    font-size: 2.5rem;    
}

.attachments-container .toolbar {
    display: flex;
    flex-direction: row;    
}

.attachments-container {
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.toolbar {
    flex-direction: row;
    flex: 1 1 auto;
}

input[type=checkbox].vcenter, 
input[type=radio].vcenter {
    margin-top: 10px !important;
}
.nav .divider {
    background: whitesmoke;
    opacity: 0.1;
    height: 1px;
    width: 90%;
    margin: 0px 15px;
}

.navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse {
    max-height: unset;
    height: calc(100vh - 50px);
}

select.form-control {
    -moz-appearance: none; /* Firefox */
    -webkit-appearance: none; /* Safari and Chrome */
    appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    border: 1px solid #dfdfdf;
    border-radius: 2px;
    margin-right: 3rem;
    padding-right: 3rem;
    cursor: pointer;
}

select.form-control[multiple] {
    background-image: none;
}

.cell-textarea textarea {
    max-height: 100%;
    width: 100%;
}

.modal-open {
    padding-right: 0px !important;
}

textarea,
input[type=text] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

uib-accordion .panel-heading {
    cursor: pointer;
}

.nav-tabs > li > a{
    background-color: rgba(12, 103, 3, 1);
    border: medium none;
    color:#fff;
}

.nav-tabs > li.active > a{
    background-color: rgb(52, 185, 40) !important;
    color:#fff;
}

.nav-tabs > li > a:hover{
    background-color: rgb(52, 185, 40) !important;
    border: medium none;
    border-radius: 0;
    color:#fff;
}

.selectize-control .selectize-input.disabled {
    opacity: 1 !important;
    background-color: #eee !important;
    color: #555 !important;
}

label {
    margin-top: 7px;
}

.textarea-wrapper {
    margin: 5px 0px;
}

.textarea-full {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 3px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
    /* <-- Apparently some margin are still there even though it's hidden */
}

.panel-overflow {
    overflow: auto;
    max-height: 400px;
}

.panel-grey {
    border-color: #5D5D5D;
}

.panel-grey>.panel-heading {
    background: #5D5D5D;
    color: #ffffff;
    border-color: #5D5D5D;
}

.blank_row {
    height: 12px !important;
    /* Overwrite any previous rules */
}

.responsive-button {
    margin-top: 2px;
    margin-bottom: 2px
}

.accordion-toggle:focus {
    outline: none;
}

.cell-align-center {
    text-align: center;
}

.cell-align-right {
    text-align: right;
}

.original {
    font-weight: bold;
    text-align: center;
}

.new {
    background-color: #84D99D !important;
    font-weight: bold;
    text-align: center;
}

.due-soon {
    background-color: #F5D98A !important;
    font-weight: bold;
    text-align: center;
}

.overdue {
    background-color: #FFA9A9 !important;
    font-weight: bold;
    text-align: center;
}


/*[ui-grid-row] {
  display: table-row;
}
.ui-grid-row, .ui-grid-cell {
  height: auto!important;
}
.ui-grid-cell {
  float: none;
  display: table-cell;
}
.ui-grid-header-cell, .ui-grid-cell-contents {
  white-space: normal;
  padding: 2px;
  word-break: break-word;
}*/

.ui-grid-vtop {
    vertical-align: center !important;
}

@font-face {
    font-family: 'gruppo-regular';
    src: url("../fonts/gruppo-regular.ttf");
}

@-webkit-keyframes uil-reload-css {
    0% {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    50% {
        -ms-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    100% {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes uil-reload-css {
    0% {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    50% {
        -ms-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    100% {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes uil-reload-css {
    0% {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    50% {
        -ms-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    100% {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-ms-keyframes uil-reload-css {
    0% {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    50% {
        -ms-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    100% {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes uil-reload-css {
    0% {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    50% {
        -ms-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    100% {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes uil-reload-css {
    0% {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    50% {
        -ms-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    100% {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes uil-reload-css {
    0% {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    50% {
        -ms-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    100% {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes uil-reload-css {
    0% {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    50% {
        -ms-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    100% {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#inital-input:valid {
    text-transform: uppercase;
}

.uil-reload-css {
    position: relative;
    width: 200px;
    height: 200px;
}

.uil-reload-css>div {
    -ms-animation: uil-reload-css 1s linear infinite;
    -moz-animation: uil-reload-css 1s linear infinite;
    -webkit-animation: uil-reload-css 1s linear infinite;
    -o-animation: uil-reload-css 1s linear infinite;
    animation: uil-reload-css 1s linear infinite;
    display: block;
    position: absolute;
    top: 20px;
    left: 20px;
    width: 160px;
    height: 160px;
    border-radius: 100px;
    border: 20px solid #ffffff;
    border-top: 20px solid rgba(0, 0, 0, 0);
    border-right: 20px solid #ffffff;
    border-bottom: 20px solid #ffffff;
}

.uil-reload-css>div:after {
    content: " ";
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 0 30px 30px 30px;
    border-color: transparent transparent #ffffff transparent;
    display: block;
    -ms-transform: translate(-15px, 0) rotate(45deg);
    -moz-transform: translate(-15px, 0) rotate(45deg);
    -webkit-transform: translate(-15px, 0) rotate(45deg);
    -o-transform: translate(-15px, 0) rotate(45deg);
    transform: translate(-15px, 0) rotate(45deg);
}

html {
    overflow-x: hidden;
}

body {
    background-color: white;
    padding-top: 50px !important;
}

/* ng-cloak */

[ng\:cloak],
[ng-cloak],
[data-ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng.ng-cloak {
    display: none;
}

ul {
    list-style: none;
}

a {
    color: #333;
}

a:hover {
    cursor: pointer;
}

ul.simple-post-list .post-image {
    float: left;
    margin-right: 12px;
}

ul.simple-post-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.callout-box {
    background-color: #546489;
    color: #fff;
    padding: 10px 20px;
}

.body-title {
    border: 1px solid #e3e3e3;
    border-left: 5px solid #234383;
    padding: 0 20px 20px;
}

.featured-box {
    border: 1px solid #e3e3e3;
    border-top: 5px solid #234383;
    padding: 0 20px 20px;
}

.breadcrumbs {
    position: relative;
    border-bottom: 1px solid #E5E5E5;
    background-color: #F5F5F5;
}

.breadcrumb {
    margin-bottom: 0;
}

.cart-btn {
    border-radius: 0;
}

.side-nav>li>ul>li>a {
    color: white !important;
}

.navbar {
    border-radius: 0;
}

.navbar-inverse .navbar-nav>li>a {
    color: white !important;
}

.navbar-inverse .navbar-toggle {
    color: transparent !important;
}

.navbar-inverse .navbar-toggle:focus {
    background-color: transparent !important;
}

.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:active,
.navbar-inverse .navbar-toggle::selection,
.navbar-inverse .navbar-toggle:visited
 {
    background-color: green !important;
}

.navbar-inverse .navbar-toggle {
    border-color: transparent;
}

/* Removed width:auto from navbar-collapse classs; */

.navbar-collapse {
    border-top: 0;
    box-shadow: none;
}

.form-group-addon {
    padding-left: -20px;
}

.form-signin {
    max-width: 330px;
    height: 50vh;
    padding: 15px;
    margin: 0 auto;
    position: relative;
}

.form-signin input {
    height: 100%;
    text-align: center;
}

.row-quote-alert {
    color: red
}

.row-quote-pending {
    color: #DE9100
}

.grid {
    height: 100vh;
}

.ui-grid {
    height: 300px;
}

.top-buffer {
    margin-top: 20px;
}

input[type=text],
input[type=color],
textarea,
.txtarea,
select,
.input-group {
    margin-bottom: 10px;
}

.input-append .btn.dropdown-toggle {
    float: none;
}

.dropdown-menu {
    max-height: 400px;
    overflow: hidden;
    overflow-y: auto;
}

table#budget-table {
    width: 100%;
    background-color: #FFFFFF;
}

table#budget-table td {
    border: 1px solid black;
    border-collapse: collapse;
    padding: 5px;
}

table#budget-table td.budget-table-td {
    width: 40%;
    text-align: right;
    border: 1px solid black;
    border-collapse: collapse;
    padding: 5px;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    background: red;
    cursor: inherit;
    display: block;
}

input[readonly] {
    background-color: white !important;
    cursor: text !important;
}

.order-panel {
    background-color: #E2E2E2;
    padding-top: 10px
}

.btn-site-file {
    width: 300px;
    margin-top: 1px;
    margin-bottom: 1px;
}

.line {
    border-top: 1px dotted black;
    position: relative;
    height: 16px;
}

.line span {
    display: inline-block;
    position: relative;
    background: white;
    bottom: -2px;
    height: 100%;
    padding: 0 5px;
}

.outer-circle {
    overflow: hidden;
    width: 325px;
    height: 325px;
    position: absolute;
    top: 10px;
    left: 0px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    -khtml-border-radius: 50%;
}

.circle-border {
    overflow: hidden;
    width: 345px;
    height: 345px;
    position: absolute;
    left: -10px;
    top: 0px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    -khtml-border-radius: 50%;
    border-color: green;
    border-style: solid;
    border-width: 2px;
}

.inner-circle {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    font-size: 100%;
    height: 100%;
}


/* BEG Content */

.section1,
.section2,
.section3,
.section4,
.section5,
.section6 {
    width: 100%;
    text-align: center;
    height: 16.67%;
}

.section1 {
    background-color: rgba(12, 103, 3, 1);
}

.section2 {
    background-color: rgba(12, 103, 3, .75);
}

.section3 {
    background-color: rgba(12, 103, 3, .75);
}

.section4 {
    background-color: rgba(12, 103, 3, .75);
}

.section5 {
    background-color: rgba(12, 103, 3, .75);
}

.section6 {
    background-color: rgba(12, 103, 3, .75);
}

.login-text {
    color: white;
    font-family: 'gruppo-regular', sans-serif;
    font-weight: bold;
}

.unavailable-icon-color {
    color: red;
}

.available-icon-color {
    color: green;
}

.enabled-icon-color {
    color: white;
}

.disabled-icon-color {
    color: grey !important;
}

.toolbar-button {
    display: inline-block;
    margin-left: 50px;
}

.toolbar {
    width: 100%;
    margin-top: 6px;
}

.toolbar-container {
    position: fixed;
    bottom: 0px;
    left: 0px;
    height: 70px;
    background-color: #222;
    width: 100%;
    text-align: center;
    z-index: 99;
}

.toolbar-break {
    min-height: 70px;
}

.button-icon,
.toolbar-button-container {
    background: transparent;
    border: none;
    outline: none;
}

.busy-container {
    position: fixed;
    right: 0;
    top: 10;
    z-index: 99;
}

.busy-container .busy-indicator {
    background-color: #0c9c00;
    height: 20px;
    width: 88px;
}

.hline {
    width: 50px;
    height: 3px;
    background: linear-gradient(to left, #0c9c00, transparent);
}

.logo {
    width: 40px;
    height: 40px;
    margin: 5px;
}

.titletext {
    font-size: 12pt;
}

.repeater {
    height: 100%;
    -webkit-overflow-scrolling: touch;
}

.footer-text {
    font-size: 10pt;
}

.display-large-screens {
    display: block;
}

.header-margin {
    margin-top: 0px;
    margin-bottom: 10px;
}

.header-margin-lg {
    margin-bottom: 10px;
}

#imaginary_container {
    margin-top: 20%;
    /* Don't copy this */
}

.stylish-input-group .input-group-addon {
    background: white !important;
}

.stylish-input-group .form-control {
    border-right: 0;
    box-shadow: 0 0 0;
    border-color: #ccc;
}

.stylish-input-group button {
    border: 0;
    background: transparent;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    -webkit-text-fill-color: black !important;
}

.task .ui-grid-cell-contents {
    color: black;
    font-size: 12px;
    text-align: center;
}

@media (max-height: 700px) {
    .icon {
        display: none;
    }
    .toolbar-container {
        left: 0px;
        height: 35px;
        white-space: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .toolbar {
        margin-top: 0;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .toolbar-button {
        display: flex;
    }

    .toolbar-break {
        min-height: 50px;
    }
}

@media (max-width: 768px) {
    .enabled-icon-color {
        color: white;
        font-size: 10pt;
    }
    .disabled-icon-color {
        color: grey;
        font-size: 10pt;
    }
    .icon {
        display: none;
    }
    .toolbar-button {
        margin-left: 0px;
        display: flex;
    align-items: center;
    }
    .toolbar-container {
        left: 0px;
        height: 50px;
        overflow-y: auto;
    }
    .toolbar {
        height: 50px;
        margin-top: 0px;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .toolbar-break {
        min-height: 50px;
    }
    .logo {
        width: 15px;
        height: 15px;
        margin: 5px;
    }
    .titletext {
        font-size: 9pt;
    }
    .footer-text {
        font-size: 7pt;
    }
    .display-large-screens {
        display: none;
    }
    .header-margin {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

.bootstrap .tags {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.bootstrap .tags.focused {
    border-color: #66afe9;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.bootstrap .tags .tag-item {
    background: #428bca;
    border: 1px solid #357ebd;
    border-radius: 4px;
    color: #fff;
}

.bootstrap .tags .tag-item.selected {
    background: #d9534f;
    border: 1px solid #d43f3a;
    border-radius: 4px;
    color: #fff;
}

.bootstrap .tags .tag-item button {
    background: transparent;
    color: #000;
    opacity: .4;
}

.bootstrap .autocomplete {
    border-radius: 4px;
}

.bootstrap .autocomplete .suggestion-item.selected {
    color: #262626;
    background-color: #e9e9e9;
}

.bootstrap .autocomplete .suggestion-item em {
    font-weight: normal;
    background-color: #ffff00;
}

.bootstrap .autocomplete .suggestion-item.selected em {
    color: #262626;
    background-color: #ffff00;
}

.ui-grid-pager-control .ui-grid-pager-max-pages-number {
    vertical-align: middle;
}

.hr-popup {
    margin: 0px 0px 10px 0px;
}

.rdo-label {
    font-weight: normal;
}

.popup-row-content {
    padding-left: 30px;
    padding-right: 30px;
}

.popup-textarea {
    width: 100%;
}

video {
    min-height: 100%;
    min-width: 100%;
    object-fit: contain;
    left: 50%;
}  

#interactive.viewport {
    background: rgb(53, 53, 53);
    display: block;
    position: relative;
    height: 250px;
}

#interactive.viewport canvas {
    left: 50%;
    transform: translateX(-50%);
}

#interactive.viewport canvas, video {    
    position: static;
    top: 0px;    
    height: 250px;
}

#interactive.viewport canvas.drawingBuffer, video.drawingBuffer {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
}

.mobile-header {
    background: rgba(12, 103, 3, 1);
    height: 72px;
}

.mobile-header h3 {
    color: white;
    font: bold;
    font-size: 170%;
    margin: 15px 0px 3px 0px;
}

.mobile-header span {
    color: white;
    margin-bottom: 10px;
}

.header-icon {
    font-size: 25px;
}

.mobile-header .header-link-container {
    display: inline-block;
    margin-top: 12px;
}

.mobile-header .header-link,
.mobile-header .header-link:hover {
    color: white;
    text-decoration: none;
    display: inline-block;
    margin-left: 3px;
}

.mobile-header .link-container {
    height: 72px;
    text-align: right;
}

.mobile-button {
    margin-top: 10px;
}

.result-code {
    position: absolute;
    height: 100%;
    top: 0px;
    width: 100%;
}

.img-wrapper {
    width: 100%;
    height: 100%;
}

.result-code img {
    object-fit: contain;
    height: 100%;
    width: 100%;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}

.cross-hair {
    border: red solid 2px;
    background-color: transparent;
    height: 100px;
    position: absolute;
    top: 50%;    
    width: 80%;
    max-width: 300px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.video-container {
    position: relative;
    overflow: hidden;
}

.modal-body .inventory-container {
    margin: 0px 15px;
}

.inventory-container .header-row {
    margin-top: 5px;
    height: auto !important;    
}

.inventory-container .page-header {
    padding-top: 15px;
}

.inventory-container .panel {
    margin: 20px 0px;
    background: rgba(121, 121, 121, 0.2);
}

.inventory-container .name {
    font-size: 110%;
}

.inventory-container .cell {
    height: 100%;
    position: relative;
}

.inventory-container select {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.vcenter {
    margin-top: 7px;
}

.first-row {
    margin-top: 10px;
}

.delete-icon {
    font-size: 20px;
}

.delete-button {
    margin-bottom: 10px;
    width: 100%;
}

.full-screen {
    height: 100vh;
}

.mobile-fluid {
    width: 100%;
}

.time-select {
    display: inline !important;
    width: 75px;
}

.menu-container {
    text-align: center;
    padding: 25% 0;
    height: auto;
}

.menu-button {
    width: 200px;    
}

.mobile-wrapper {
    width: 100%;
    height: 100%;
    padding: 0;
    background-color: #fff;
}

#wrapper {
    height: auto;
}

.mobile-logo {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.log-item {
    margin-bottom: 30px;
}

.labour-item label {
    font-size: 1.2rem;
}

.labour-item {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
}

.pdf-page {
    width: 100%;
    height: 100vh;
}

.pdf-container {
    overflow-y: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pdf-content {
    height: 100%;
    flex: 1;
}

.page-body {
    display: flex;
    flex-direction: row;    
}

.right-nav .body,
.page-body .body {
    width: 100%;
}

.right-nav {
    width: 20%;
    margin: 20px 0px;
}

.right-nav .body {  
    position: fixed;
    top: 80px;
}

.right-nav .nav-container {
    border-left: 4px solid green;
    padding: 0px 10px 5px 10px;
}

.right-nav .title {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgba(12, 103, 3, 1);
}

.action-link a,
.action-link a:active,
.action-link a:hover,
.action-link a::selection,
.action-link a:visited {
    text-decoration: none;
    color: inherit;
}

.action-link i {
    width: 20px;
}

.action-link span {
    text-decoration: underline;
}

.action-link {
    cursor: pointer;
    color: rgba(12, 103, 3, 1);
}

.dropdown-menu {
    max-width: 500px;
}

.day.highlighted {
    background-color: green !important;
}

@media only screen and (max-width: 767px) {
    .top-nav {
        display: none;
    }
}

.day-heading {
    padding: 10px 20px;  
    width: 100%;
    background-color: #B4D6FF;
    color: white;
    position: sticky;
    top: 123px;
    left: 0;
    z-index: 9;
}

.day-heading.today {
    background-color: rgba(30, 144, 255, 1);
}

.detail-entry {
    width: 100%;
}

.popup-container {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);    
    left: 0;
    top: 0;
    z-index: 999999;
}

.popup-title {
    font-size: 20px;
    margin-bottom: 1em;
    flex: 0 1 auto;
}

.popup-content {
    flex: 1;
    overflow-y: auto;
}

.popup-footer {
    flex: 0 1 auto;
}

input[type=color] {
    min-height: 30px;
}

.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    max-width: 90%;
    max-height: calc(100% - 50px);
    padding: 30px;
    border: 1px solid grey;
    border-radius: 10px;
    background-color: white;
    display: flex;
    flex-direction: column;
}

ul[dnd-list] {
    margin: 0;
    padding: 0;
}

ul[dnd-list] li {
    background-color: #fff;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    padding: 10px 15px;
    margin-bottom: -1px;
    min-height: 56px;
    display: flex;
    align-items: center;
}

.handle {
    user-select: none;
    touch-action: none;
}

ul[dnd-list] li:nth-child(2n) {
    background-color: rgba(0, 0, 0, 0.1);
}

.no-tasks {
    padding: 20px;
}

.task-button {
    cursor: pointer;
}

.text {
    margin-left: 10px;
}

.button-wrapper button {
    min-height: 34px;
}

.button-wrapper button:not(:first-child) {
    margin-left: 10px;
}

.btn-action {
    position: relative
}

.attachments-count {
    position: absolute;
    background-color: red;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    z-index: 9;
}

.holiday {
    background-color: red !important;
}

.weekend {
    background-color: lightgray !important;
}

.dates {
    max-width: 800px;
    margin: 0 auto;
}

.button-wrapper button:not(.arrow) {
    min-width: 92px;
}

.task-left {
    padding-right: 30px;
}

button.arrow {
    background-color: #cccccc;
    border-color: #cfcfcf;
}

.subtitle {
    color: white;
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.arrow-wrapper {
    flex-direction: column;
    display: flex;
    align-self: stretch;
    padding-right: 20px;
}

.daterangepicker {
    z-index: 9999999999 !important;
}

.project-grid {
    margin-top: 1em; 
    height: calc(100vh - 300px); 
    min-height: 300px;
    overflow: auto;
}

.month-marker { 
    opacity: 0.5;
    cursor: pointer;
    white-space: nowrap;
}

.lead-select:focus {
    outline: 0;
    border: 0;
}

.lead-select {
    width: 100%;
    margin: 0;
    padding: 0;
    height: 100%;
    border: 0;
    text-align: center;
    background-color: transparent;
}

.label-input-wrapper {
    padding-right: 1em;
    padding-bottom: 1em;
}

.attachments-leads img {
    width: 250px;
    height: auto;
}

.attachments-fi {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: transparent;
}

.attachments-fi .title {
    display: none;
}

.attachments-fi .fa {
    font-size: 15px;
    color: black;
}
.attachments-fi .filename,
.attachments-fi .filesize,
.attachments-fi .empty-message {
    color: black;
}

@media only screen and (max-height: 575.98px) and (orientation: landscape) {
    .project-grid {
        margin-bottom: 60px;
    }
}

@media only screen and (min-width: 768px) {
    .ui-grid-pinned-container-right .ui-grid-viewport,
    .ui-grid-render-container-right .ui-grid-canvas,
    .ui-grid-pinned-container-right .ui-grid-header-viewport,
    .ui-grid-pinned-container-right {
        width: 200px !important;
    }

    .ui-grid-pinned-container-right .ui-grid-cell,
    .ui-grid-header-cell .actions {
        min-width: 200px !important;
        max-width: 200px !important;
    }

    .hide-large {
        display: none !important;
    }
}

@media only screen and (min-width : 992px) {
    .mobile-fluid {
        width: 960px;
    }   
}


@media screen and (max-width: 1199px) {  
    .project-grid {
        height: calc(100vh - 350px); 
    }

    .page-body {
        flex-direction: column-reverse;
    }   

    .right-nav {
        width: 100%;
    }

    .right-nav .body {  
        position: inherit;        
    }

    .right-nav {
        margin-bottom: 0px;
    }

    .daterangepicker {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }

    .daterangepicker.opensright:before,
    .daterangepicker.opensright:after {
        display: none;
    }
}

.ui-grid-render-container-body .ui-grid-header-cell-row > div:last-child .ui-grid-icon-angle-down::before {
    content: '\c350';
}

.modal-body.disabled {
    pointer-events: none;
    opacity: 0.7;
}

.disabled {
    pointer-events: none;
}

.yellow {
    background-color: rgb(255, 242, 161) !important;
}

.red {
    background-color: rgb(255, 147, 133) !important;
}

.ui-grid-cell-contents fieldset {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.pagination-mobile {
    display: none;
}

.notifications-window {
    position: fixed;
    top: 51px;
    width: 300px;
    right: 0px;
    height: calc(100vh - 51px);
    z-index: 99999;
    background: white;
    box-shadow: rgba(33, 35, 38, 0.1) -10px 10px 10px 0px; 
    padding: 15px;
}

.fa-green {
    color: #0C5005;
}

.notification {
    padding-top: 15px;
}

.notificaitons-count {
    background-color: red;
    padding: 5px;
    min-width: 15px;
    height: 15px;
    border-radius: 7.5px;
    position: relative;
    top: -5px;
    left: -5px;
    display: inline-block;
    text-align: center;
    font-size: 10px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.lightbox.out {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.8);
}

.lightbox.out img {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    top: 50%;
    left: 50%;
    padding: 30px;
    transform: translate(-50%, -50%);
}

.lightbox.out .close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

@media screen and (max-width: 767px) {    
    .pagination-mobile {
        position: fixed;
        display: flex;
        left: 0px;
        bottom: 50px;
        width: 100vw;
        background: white;
        padding: 10px 15px;
    }

    .btn-action .text {
        display: none;
    }    

    .button-wrapper button:not(.arrow) {
        min-width: unset;
    }

    .full-mobile {
        min-width: 100%;
    }

    .project-grid {
        height: calc(100vh - 400px); 
    }
}

@media only screen and (max-width : 576px) {
    .curr-month {
        text-align: left !important;
        justify-content: flex-start;
    }

    .month-marker {
        display: none;
    }

    .task-left {
        padding-right: 0px;
    }
    
    .mobile-header span {
        display: none;
    }

    .task-wrapper {
        flex-direction: column;
    }

    .button-wrapper {
        flex-wrap: wrap;
    }
   
    .empty-message {
        color: white;
        font-size: 1.5rem;
    }

    .attachments-container .toolbar .title {
        display: none;
    }

    .mobile-fluid {
        width: unset;
    }

    video {
        object-fit: cover;
    }

    .result-code img {
        object-fit: cover;
    }

    #interactive.viewport canvas, video {
        min-width: 100%;
    }
}

@media print {
    .toolbar-container {
        display: none;
    }
}