/* Status Controls */
.field-group {
    padding: 0px 10px;
}

.tablinks.active {
    opacity: 1;
}

.tablinks {
    opacity: 0.7;
}

.status-container {
    max-height: 600px;
    overflow-y: auto;
}

.status_block {
    padding: 9px;
    height: 36px;
    color: white;
}

.status-grid {
    display: flex;
}

.status-slider {
    transition: transform 0.5s ease-in-out;
}

.off-screen-left {
    transform: translateX(-110%);
}

.off-screen-right {
    transform: translateX(110%);
}

/* Button Themes */
.info-dark {
    background-color: #404040;
    color: white;
}

.alert {
    border-radius: 0px;
    background-color: #f26f44;
    color: white;
    border: 2px solid #ffffff;
    padding: 10px;
}

.primary {
    background-color: #41729F;
    border-color: #274472;
    color: #ffffff;
}

.secondary {
    background-color: #333333;
    border-color: #333333;
    color: #eeeeee;
}

.tertiary {
    background-color: #666666;
    border-color: #666666;
    color: #ffffff;
}

.danger {
    background-color: #f26f44;
    border-color: #f26f44;
    color: #ffffff;
}

.success {
    background-color: #008000;
    border-color: #008000;
    color: #ffffff;
}

.primary:hover {
    background-color: #274472;
    border-color: #41729F;
    color: #ffffff;
}

.secondary:hover {
    background-color: #999999;
    border-color: #999999;
    color: #eeeeee;
}

.tertiary:hover {
    background-color: #999999;
    border-color: #999999;
    color: #eeeeee;
}

.danger:hover {
    background-color: #ffffff;
    border-color: #f26f44;
    color: #000000;
}

.success:hover {
    background-color: #004d00;
    border-color: #004d00;
    color: #ffffff;
}

/* Avatar */
.close-btn {
    opacity: 0.5;
}

.account:empty {
    display: none;
}

.avatar {
    background: rgba(155, 0, 0, 1);
    color: white;
    border-color: white;
    border-style: solid;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 24px;
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.avatar:hover {
    border-color: gray;
}

.avatar p {
    font-size: 24px;
    color: white;
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.accountPallet div p {
    line-height: 9em;
    margin: 1em 0em;
}

a:hover {
    cursor: pointer;
}

/* Project/CutFile Progress Bar */
.progress-bar {
    background-color: darkgray;
    height: 25px;
    padding: 1px;
    width: 180px;
    margin: 0px 0;
}

.progress-bar span {
    display: inline-block;
    float: left;
    height: 100%;
    transition: width .4s ease-in-out;
}

.blue span {
    background-color: #3440ad;
}

.green span {
    background-color: #008000;
}

.lightgreen span {
    background-color: #648f64;
}

.progress-bar p {
    line-height: 1.25;
    position: absolute;
    margin-left: 4px;
    margin-top: 2px;
    font-size: 14px;
    -webkit-text-fill-color: white;
}

/* jQuery DataTable Fields */
.dt-button-collection {
    margin-top: 2px !important;
    margin-left: 30px;
}

.buttons-colvis {
    margin-left: 20px;
}

.buttons-columnVisibility {
    color: #666666;
    background: #a8a8a8;
    padding: 0.3em;
    border-radius: 3px;
}

.active {
    color: #3d3d3d;
    background: #eeeeee;
}

/* Parts Table Machine Buttons */
.buttonGroup {
    margin: 0px;
    width: auto;
}

.buttonGroup td {
    padding: 0px;
}

.table_small td {
    padding: 8px 4px;
}

/* Modal Progress Bar */
progress[value] {
    -webkit-appearance: none;
    appearance: none;
    width: 250px;
    height: 20px;
}

#projectprogress {
    width: 160px;
}

progress::-webkit-progress-bar {
    background-color: #d4d4d4;
    width: 100%;
}

progress {
    background-color: #d4d4d4;
}

progress::-webkit-progress-value {
    background-color: green !important;
}

progress::-moz-progress-bar {
    background-color: green !important;
}

progress {
    color: green;
}

/* Enhanced Select */
.select2 {
    max-width: 360px !important;
    min-width: 360px;
}

.select2-selection {
    height: 40px !important;
}

.select2-selection__rendered {
    height: 40px !important;
    padding-top: 5px;
}

.select2-selection__arrow {
    height: 40px !important;
}

.select2-results__option--highlighted {
    background-color: #008000 !important;
}

.search-choice {
    padding: 8px 20px 8px 8px !important;
    background-image: none !important;
    background-color: #F3F3F3 !important;
}

.chosen-choices {
    min-height: 42px;
    background-image: none !important;
}

.chosen-container .chosen-results li {
    line-height: 25px;
}

/*  3D Viewer Controls */
.ui {
    position: absolute;
    margin: 10px;
    opacity: 0.75;
}

.tools {
    position: absolute;
    left: 0px;
    right: 0px;
    margin-inline: auto;
    width: fit-content;
    bottom: 10px;
}

.tools_right {
    position: absolute;
    top: 100px;
    right: 10px;
}

.properties {
    margin: 0;
}

.properties td {
    padding: 0.75em;
}

.toolbar {
    /*background-color: black;*/
    box-sizing: border-box;
    padding: 4px;
}

.dropup {
    position: relative;
    display: inline-block;
}

.dropup-content {
    display: none;
    position: absolute;
    background-color: #404040;
    width: 180px;
    bottom: 46px;
    z-index: 1;
}

.dropup-palette {
    width: 240px;
    padding: 10px;
    background-color: #fbfbfb;
}

.dropup:hover .dropup-content {
    display: block;
}

.dropup:hover .info-dark {
    background-color: #008000;
}

.dropleft {
    position: relative;
    display: inline-block;
}

.dropleft-content {
    display: none;
    position: absolute;
    background-color: #404040;
    width: 180px;
    top: 0px;
    right: 65px;
    z-index: 1;
}

.dropleft-palette {
    width: 240px;
    padding: 10px;
    background-color: #fbfbfb;
}

.dropleft:hover .dropleft-content {
    display: block;
}

.dropleft:hover .info-dark {
    background-color: #008000;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #404040;
    top: -10px;
    right: -10px;
    z-index: 1;
}

.dropdown-palette {
    padding: 10px;
    min-width: 320px;
    background-color: #fbfbfb;
    border-color: black;
    border-style: solid;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .info-dark {
    background-color: #008000;
}

/* Sub Menu with Animation */
ul.sidenav {
    font-size: 1.2em;
    float: left;
    width: 280px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #ffffff;
}

ul.sidenav li a {
    color: #e3e3e3;
    display: block;
    color: #008000;
    text-decoration: none;
    width: 280px;
    padding: 10px 10px 10px 35px;
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
    transition: color 600ms ease,
        border-top 600ms ease,
        background-color 600ms ease;
}

ul.sidenav li[disabled] a {
    color: #fff !important;
}

ul.sidenav li a {
    text-decoration: none !important;
}

ul.sidenav li a:hover {
    background: #008000;
    border-top: 1px solid #1a4c76;
    color: #fff
}

ul.sidenav li span {
    display: none;
}

ul.sidenav li a:hover span {
    display: block;
    font-size: 0.8em;
    padding: 10px 0;
}

/* Hide Out Of Stock Logo*/
.out-of-stock {
    display: none;
}

/* Toggle Buttons */
.switch-field {
    display: flex;
    overflow: hidden;
    margin: 0 5px;
}

/* Switch Field */
.switch-field input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}

.switch-field label {
    background-color: #ffffff;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1;
    text-align: center;
    padding: 8px 16px;
    margin: 1px !important;
    border: 1px solid rgba(0, 0, 0, 0);
    transition: all 0.1s ease-in-out;
}

.switch-field label:hover {
    cursor: pointer;
}

.switch-field input:checked+label {
    background-color: #008000;
    color: #FFFFFF;
    box-shadow: none;
}

.switch-field label:first-of-type {
    /* border-radius: 4px 0 0 4px; */
    border-radius: 0 0 0 0;
}

.switch-field label:last-of-type {
    /* border-radius: 0 4px 4px 0; */
    border-radius: 0 0 0 0;
}

/* Project Files */
.chart_container {
    position: relative;
    padding: 10px;
    margin-right: 10px;
    background: #fbfbfb;
    min-height: 300px;
    min-width: 300px;
    border: 1px solid;
    border-radius: 8px;
}

.file_container {
    position: relative;
    padding: 10px;
    margin-right: 0px;
    background: #fbfbfb;
    min-height: 300px;
    min-width: 300px;
    border: 1px solid;
    border-radius: 0px;
}

.file_container.highlight {
    background: #333333;
}

.delete-image-div {
    position: absolute;
    margin-top: -3px;
    margin-left: -3px;
    width: 26px;
    height: 26px;
    background-color: #C90000;
    cursor: pointer;
    border-radius: 5px;
}

.delete-image-button {
    width: 30px;
    height: 30px;
    background-color: #C90000;
    cursor: pointer;
    border-radius: 5px;
}

.pin-image-div {
    position: absolute;
    margin-top: 25px;
    margin-left: -3px;
    width: 26px;
    height: 26px;
    background-color: #DDD;
    cursor: pointer;
    border-radius: 5px;
}

.pin-image-button {
    width: 30px;
    height: 30px;
    background-color: #DDD;
    cursor: pointer;
    border-radius: 5px;
}

.unpin-image-div {
    position: absolute;
    margin-top: 25px;
    margin-left: -3px;
    width: 26px;
    height: 26px;
    background-color: #333;
    cursor: pointer;
    border-radius: 5px;
}

.unpin-image-button {
    width: 30px;
    height: 30px;
    background-color: #333;
    cursor: pointer;
    border-radius: 5px;
}

.view-image-button {
    width: 30px;
    height: 30px;
    background-color: #41729F;
    color: #FFF;
    cursor: pointer;
    border-radius: 5px;
}

.file_table {
    table-layout: fixed;
}

.file_table_button {
    padding: 0.4em;
    width: 50px;
}

.chart_container_footer {
    position: absolute;
    bottom: 0;
    width: 96%;
    height: 40px;
}

.thumbnail {
    width: 100px;
    border: 2px solid;
    border-radius: 8px;
}