@import "OpenSans.css";

* {
    margin: 0;
    padding: 0;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    font-family: "Open Sans", serif;
}

body {
    min-width: 100%;
    min-height: 100%;

    letter-spacing: 0.5pt;

    overflow: hidden;
}

.ui-custom p {
    margin: 0;
}

.hidden {
    display: none !important;
}

.ui-container {
    display: block;
    position: absolute;

    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.ui-container-table {
    display: table;
    position: relative;
}

/**
 * UI shelf description.
 */

.ui-shelf-container {
    z-index: 999;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.ui-shelf {
    display: block;
    padding: 15px;

    width: calc(100% - 250px);
    height: auto;

    background-color: #fafafa;

    overflow-x: auto;
    overflow-y: hidden;

    pointer-events: none;
}

.ui-shelf > * {
    pointer-events: all;
}

.ui-shelf-items-container {
    white-space: nowrap;

    padding: 0 10px;

    min-width: 100%;
}

.ui-shelf.ui-shelf-upper {
    position: absolute;
    left: 0;
    top: 0;

    background: linear-gradient(180deg, #41474e38 -80%, #41474e00);
}

.ui-shelf.ui-shelf-bottom {
    position: absolute;

    left: 0;
    bottom: 0;

    padding: 10px;
    padding-top: 0;

    text-align: center;
    line-height: 40pt;

    background: linear-gradient(0, #41474e38 -80%, #41474e00);

    pointer-events: all;
}

/**
 * Viewport description.
 */

.ui-viewport, .ui-viewport canvas {
    display: block;
    position: absolute;

    width: calc(100% - 250px);
    height: 100%;
}

.ui-viewport .canvas-container.disabled {
    pointer-events: none;
}

.ui-viewport .ui-controls-container {
    display: block;
    position: absolute;

    width: 100%;
    height: 100%;

    padding-bottom: 60px;
    padding-top: 60px;
}

/**
 * Button elements.
 */

.ui-button {
    display: inline-block;
    position: relative;

    width: 37px;
    height: 37px;

    padding: 4px;
    margin: 5px 2px;

    font-size: 8pt;
    text-transform: uppercase;

    background: white;

    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    border: none;

    vertical-align: middle;

    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);

    cursor: pointer;

    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;

    -webkit-transition: all 150ms ease-out;
    -moz-transition: all 150ms ease-out;
    -ms-transition: all 150ms ease-out;
    -o-transition: all 150ms ease-out;
    transition: all 150ms ease-out;
}

.ui-button.busy {
    color: #505050;

    background: #eaeaea;
    background: -moz-repeating-linear-gradient(45deg, #eaeaea,#eaeaea 10px,#dadada 10px,#dadada 20px);
    background: -webkit-repeating-linear-gradient(45deg, #eaeaea,#eaeaea 10px,#dadada 10px,#dadada 20px);
    background: repeating-linear-gradient(45deg, #eaeaea,#eaeaea 10px,#dadada 10px,#dadada 20px);
    background-size: 200%;

    animation: animation-button-busy 1s linear infinite;
}

.ui-button:not(.ui-icon) {
    text-align: center;
}

.ui-button.ui-button-group > p {
    display: inline-block;

    font-size: 8pt;
    text-transform: uppercase;

    margin: -10px 0;
}

.ui-controls .ui-button:not(.ui-button-fluid) > p {
    font-size: 100%;

    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.ui-button input {
    display: none;
}

.ui-button.ui-button-fluid, .ui-button-group {
    width: auto;
    height: auto;

    line-height: 22pt;
    padding-left: 10px;
    padding-right: 10px;
}

.ui-button.ui-button-fill {
    text-align: center;
    width: 100%;
}

.ui-button-group:after {
    content: '';
    position: absolute;
    display: block;

    right: 0;
    top: 0;

    width: 0;
    height: 0;

    border-style: solid;
    border-width: 0 8px 8px 0;
    border-color: transparent #5d5d5d transparent transparent;
}

.ui-button-group-container {
    padding: 10px;
    margin: 0 0 20px -10px;
}

.upload-buttons {
    display: none;
}

.modal-container .app-mode-radios {
    display: flex;
}

.modal-container .app-mode-radios label {
    font-size: 11pt;
}

.modal-container .app-mode-radios input[type="radio"] {
    opacity: 0;
    position: fixed;
    width: 0;
}

.modal-container .app-mode-radios input[type="radio"]:checked + label {
    background-color: #f5f5f5;

    -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3), 0 -3px 0 rgb(94, 194, 227) inset;
    -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3), 0 -3px 0 rgb(94, 194, 227) inset;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3), 0 -3px 0 rgb(94, 194, 227) inset;
}

@media only screen and (max-width: 768px) {
    .ui-button.ui-button-fluid.ui-button-mobile {
        width: 95%;
        font-size: 13pt;
    }
    .modal-container .header-container p.header {
        text-align: start;
    }
    .ui-viewport .ui-controls-container .ui-controls-left {
        padding-left: 10px;
        padding-top: 0;
    }
    .ui-dropbox {
        display: none;
    }
    .upload-buttons {
        display: block;
    }
    .upload-buttons > .ui-button {
        width: 100%;
    }

    .modal-container .app-mode-radios label {
        font-size: 8pt;
    }
}

.ui-button-group-container > * {
    display: block;
    margin-top: 5px;
}

.ui-button.ui-button-fluid > * {
    line-height: 30pt;
}

.ui-button.ui-button-toggle {
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25), 0 -3px 0 rgb(68, 160, 222) inset;
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25), 0 -3px 0 rgb(68, 160, 222) inset;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25), 0 -3px 0 rgb(68, 160, 222) inset;
}

.ui-button.ui-button-toggle:not(.active) {
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.ui-button.ui-button-toggle:not(.active) {

}

.ui-button:not(.disabled):hover {
    background-color: white;

    -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 -3px 0 rgb(84, 203, 237) inset;
    -moz-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 -3px 0 rgb(84, 203, 237) inset;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 -3px 0 rgb(84, 203, 237) inset;
}

.ui-button:not(.disabled):active {
    background-color: #f5f5f5;

    -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3), 0 -3px 0 rgb(94, 194, 227) inset;
    -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3), 0 -3px 0 rgb(94, 194, 227) inset;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3), 0 -3px 0 rgb(94, 194, 227) inset;
}

.ui-button.disabled {
    background-color: rgb(232, 232, 232);

    -webkit-box-shadow: 0 -3px 0 rgb(169, 169, 169) inset;
    -moz-box-shadow: 0 -3px 0 rgb(169, 169, 169) inset;
    box-shadow: 0 -3px 0 rgb(169, 169, 169) inset;

    cursor: not-allowed;
}

/**
 * Viewport panels.
 */

.ui-viewport .ui-controls {
    display: block;
    position: absolute;

    height: 100%;

    padding: 40px;

    z-index: 999;
    pointer-events: none;
}

.ui-shelf-container > div, .ui-properties {
    z-index: 999;
}

.ui-controls > * {
    display: block;
    margin: 10px 0;

    pointer-events: all;
}

.ui-viewport .ui-controls-left {
    left: 0;
}

.ui-viewport .ui-controls-right {
    right: 0;
}


/**
 * Properties.
 */
.ui-properties {
    display: block;
    position: absolute;

    width: 250px;
    height: 100%;

    right: 0;
    padding: 0 0;

    overflow-x: hidden;
    overflow-y: auto;

    background-color: #41474e;
}

.ui-properties-container {
    width: 100%;
}

.ui-properties-block {
    display: block;

    color: white;
    background-color: #54626f;

    padding: 5px;
    margin: 5px;
}

.ui-properties-block .ui-properties-header {
    padding: 10px;

    color: #ffffff;

    text-transform: uppercase;
    font-weight: 200;
    font-size: 12pt;

    background-color: #44a0de;
}

.ui-properties-block > .ui-properties-content {
    display: block;

    margin-left: 10px;
    margin-right: 10px;

    font-size: 11pt;
}

.ui-properties-block > .ui-properties-content > *:first-child {
    margin-top: 5px;
}

.ui-properties-block > .ui-properties-footer:not(:empty) {
    padding: 10px;
}

/**
 * Paragraphs.
 */
p {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 11pt;
}

p.small {
    font-weight: 200;
    font-size: 10pt;
}
.deviation p.small:before {
    content: '!';
    color: red;
    font-weight: bold;
    font-size: 16px;
    margin-right: 5px;
}

/**
 * Units related.
 */
.units-quad:after {
    content: '\00B2';
}

/**
 * Title.
 */

.title-version {
    position: absolute;

    top: 50%;
    right: 25px;

    color: #44a0de;
    font-weight: 100;
    font-size: 20pt;

    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}


.title-version-history ul {
    list-style-type: none;
}

.title-version-history li:hover {
    color: mediumturquoise;
}

.ui-form-field-group .tool-mode-field {
    display: none;
}

@media screen and (max-width: 1024px) {
    .ui-form-field-group .tool-mode-field {
        display: block;
    }
}

.modal-container > .ui.selection.config-list > .storageConfigItem {
    background-color: #d7f2fa;
}

.manual-version {
    margin-top: 30px;
    font-weight: bold;
    text-transform: uppercase;
}

.manual-version > .selectize-control {
    margin: -40px 0 0 150px;
}

.search-icon {
    width: 23px;
    /* Set image size */
    height: 23px;
    background-color: white;
    /* White background for the image */
    border-radius: 5px;
    /* Rounded corners */
    margin-right: 6px;
    /* Add spacing between the image and text */
    transition: all 0.3s ease;
    /* Smooth transition for hover effects */
}

.search-icon:hover,
.search-icon:active {
        background-color: #f0f0f0;
        /* Light gray background on hover or click */
        transform: scale(1.1);
        /* Slightly enlarge the image on hover or click */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        /* Add a subtle shadow */
    }


.ui-info-item .title-container {
    display: flex;
    /* Align items in a row */
    align-items: center;
    /* Vertically align items */
    justify-content: space-between;
}

.ui-info-item .title {
    margin-right: 10px;
    /* Add spacing between the title and the link */
    font-weight: bold;
}

.ui-info-item .search-link {
    display: flex;
    /* Align the image and text horizontally */
    align-items: center;
    /* Vertically align the image and text */
    text-decoration: none;
    /* Remove underline from the link */
    color: #007BFF;
    /* Blue color for links */
    font-size: 14px;
    /* Adjust font size if needed */
}

.ui-info-item .search-icon {
    width: 20px;
    /* Set image size */
    height: 20px;
    background-color: white;
    /* White background for the image */
    border-radius: 4px;
    /* Optional: Add rounded corners for better aesthetics */
    margin-right: 5px;
    /* Add spacing between the image and text */
}

.detector-number {
    text-transform: none !important;
    /* Override any uppercase transformation */
}
