﻿/*+++++++++++++++*/
/*#region GENERAL*/
/*+++++++++++++++*/

html {
    position: relative;
    min-height: 100%;
    font-size: 15px;
    color: #291D39;
}

body {
    color: #291D39;
    overflow-x: hidden;
}

body > #env {
    position: fixed;
    left: 0;
    top: 0;
    background-color: red;
    z-index: 99999;
    padding: 5px;
    color: #FFF;
    font-size: 0.7rem;
}

p {
    margin: 0;
}

a {
    color: unset;
}
a:hover {
    text-decoration: none;
    color: unset;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

kbd {
    border: 1px solid #707070;
    border-radius: 6px;
    background-color: #FFF;
    color: #291D39;
    padding: 0.1rem 0.3rem;
    font-size: 1rem;
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif !important;
}

select option {
    text-transform: capitalize;
}

.main-container {
    height: calc(100vh - 94px);
}
.main-content-container {
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100vh - 94px) !important;
}
.no-focus:focus {
    box-shadow: none;
    outline: none;
}

.no-underline,
.no-underline:hover,
.no-underline:active,
.no-underline:focus {
    text-decoration: none !important;
}

input[type=checkbox],
input[type=radio] {
    display: none !important;
}

.message-container .as-btn {
    min-width: 13rem;
}

.message-container form {
    max-width: 30rem;
}

.mulitple-items-input-container.input-validation-error {
    border-color: #de0000!important;
}

input.input-validation-error,
textarea.input-validation-error,
select.input-validation-error,
button.input-validation-error,
#projects-container.input-validation-error,
select.input-validation-error ~ button.dropdown-toggle {
    border-color: #de0000;
}
input#cron-start-date.input-validation-error,
input#end-date.input-validation-error {
    border-color: #de0000!important;
}

.multiple_emails-container.input-validation-error input {
    color: #DE0000;
}

.field-validation-error {
    width: 100%;
    margin-top: .25rem;
    font-size: 0.85rem;
    color: #de0000;
}

.dropzone-error {
    color: #DE0000;
}

a[disabled],
a[disabled] * {
    cursor: default !important;
    color: #BAB1C5 !important;
}
a[disabled]::before {
    content: none !important;
}

button[disabled].as-btn-no-style *,
button[disabled].as-btn-no-style *::before {
    color: #BAB1C5 !important;
}

/*#endregion*/
/*++++++++++++++*/
/*#region Header*/
/*++++++++++++++*/
.navbar-brand img {
    height: 2.3rem;
}

header {
    height: 3rem;
    z-index: 1022 !important;
}

header .as-a-default {
    margin: 0 1.5rem;
}

header .as-a-default:last-child {
    padding-right: 0;
}

.as-external-link {
    position: relative;
}

.as-external-link::after {
    position: absolute;
    right: -1rem;
    color: #BAB1C5;
    font-size: 0.53rem;
    top: 0.25rem;
}
/*Fix for Edge -> no underline for hover*/
header .nav-link:hover .as-external-link::after {
    text-decoration: underline;
}

header .nav-link:hover .as-external-link::after {
    text-decoration: none !important;
}

header .nav-item > .dropdown-toggle,
header .profile-options > button {
    padding: 0.4rem 0.7rem;
    border-radius: 7px;
}

header .top-nav-profile > button {
    position: relative;
}

header .nav-item > .dropdown-toggle:hover,
header .nav-item > .dropdown-toggle:active,
header .nav-item > .dropdown-toggle:focus,
header .profile-options > button:hover,
header .profile-options > button:active,
header .profile-options > button:focus {
    background-color: #BAB1C5;
    text-decoration: none;
    max-height: 2.5rem;
}

header .nav-item > .dropdown-toggle::after,
header .profile-options > button::after {
    margin: 0;
}

header .dropdown-menu.show {
    margin: 0;
    top: 45px !important;
    border: none;
}
/*header .dropdown-toggle:hover ~ .dropdown-menu {
    display: block;
    margin: 0;
    top: 45px !important;
    border: none;
}
header .profile-options .dropdown-toggle:hover ~ .dropdown-menu {
    left: unset;
    right: 0;
}*/
header .top-nav-profile .profile-options .dropdown-menu.show {
    left: unset;
    right: 0;
}

header .top-nav-profile .profile-options > button > .as-icon-chevron {
    transform: rotate(90deg);
    font-size: 0.7rem;
}

header .top-nav-profile > button > i {
    font-size: 1.3rem;
}

header .user-avatar {
    width: 25px;
    height: 25px;
    border-radius: 5px;
}

header .dropdown:hover .dropdown-menu {
    display: block;
    top: calc(100% - 1px);
}

/*#endregion*/

/*++++++++++++++++++++*/
/*#region Sidebar left*/
/*++++++++++++++++++++*/
#drag-bar {
    position: absolute;
    right: 0;
    top: 1.5rem;
    bottom: 0;
    background-color: #686074;
    width: 0.25rem;
    cursor: col-resize;
    transition: width ease-in-out .2s;
}

#drag-bar:hover {
    width: 0.5rem;
}
#drag-bar:hover ~ #sidebar-container{
    margin-right: 0.5rem !important;
}

#collapse-sidebar {
    position: absolute;
    right: 0.25rem;
    top: 0.4rem;
    padding: 0;
}

#sidebar #collapse-sidebar div,
#hidden-sidebar div {
    color: #D9D4DF !important;
}

/*#hidden-sidebar {
    top: 0;
    bottom: 0;
    right: 0;
    padding: 0;
    max-width: 100%;
}*/

#sidebar {
    z-index: 1021;
    top: 0;
    left: 0px;
    height: calc(100vh - 94px);
    background-color: #686074;
    font-size: 0.8rem;
}

.sidebar-expanded #collapse-sidebar div {
    transform: rotate(180deg);
}

#sidebar i {
    font-size: 1.8rem;
    /*width: 1.8rem;*/
}
#sidebar .dashboard-icon {
    width: 2rem;
    height: 2rem;
}

#sidebar .dashboard-unread-count.more-left {
    right: 15px;
    transform: translateX(50%);
}

#sidebar i.edit:after {
    position: absolute;
    font-size: 0.8rem;
    top: 0;
    right: 0;
    transform: translate(0.6rem, -20%);
    color: #291D39 !important;
}

#sidebar-container {
    background-color: #F0F0F0;
    padding: 0;
    z-index: 100;
    transition: margin-right ease-in-out .2s;
}

#sidebar-container a,
#sidebar-container .select-list,
#sidebar-container #collapseManageSettingsButton {
    height: 2.9rem;
}
#sidebar-container > a > img,
#sidebar-container > a > .as-popover {
    width: 2rem;
}

/*#sidebar-container > a:hover {
    background-color: #523D6E;
    color: #FFF;
}*/
#sidebar-container .show-on-hover:not(.select-list):hover .sidebar-item-content {
    width: 100%;
    height: 100%;
    align-items: center;
}
.sidebar-collapsed #sidebar-container .show-on-hover:not(.select-list):hover .sidebar-item-content {
    position: absolute;
    left: 0;
    align-items: center;
    width: 239px !important;
    height: 2.9rem;
    border-radius: 0 0.5rem 0.5rem 0;
}
#sidebar-container .show-on-hover:not(.select-list):hover .sidebar-item-content,
#sidebar-container #collapseManageSettingsButton:hover{
    background-color: #BAB1C5;
    color: #FFF !important;
}
#sidebar-container a.active,
#sidebar-container a[data-active='true'] {
    background-color: #523D6E;
    color: #FFF !important;
}
#sidebar .sidebar-hr{
    margin-bottom: 2.25rem !important;
}
.sidebar-collapsed #sidebar-container .small-sidebar-item,
.sidebar-collapsed #sidebar-container a.small-sidebar-item[data-active='true'] {
    width: 4rem;
}
#sidebar-container .show-on-hover:not(.select-list):hover i::before,
#sidebar-container .show-on-hover:not(.select-list):hover i::after,
#sidebar-container #collapseManageSettingsButton:hover > div::after,
#sidebar-container #collapseManageSettingsButton:hover i::before,
#sidebar-container a.active i::before,
#sidebar-container a.active i::after,
#sidebar-container a[data-active='true'] i::before,
#sidebar-container a[data-active='true'] i::after  {
    color: #FFF !important;
}
#sidebar-container #collapseManageSettingsButton:hover .normal-state {
    flex-grow: 1 !important;
}
#sidebar-container #collapseManageSettingsButton:hover .small-state {
    flex-grow: 0 !important;
}
#sidebar-container #collapseManageSettingsButton:hover .small-state:after {
    display: none;
}
#sidebar-container i {
    color: #523D6E;
}

#sidebar-container > a:hover i {
    color: #FFF;
}

.news-button .as-popover {
    justify-self: center;
}

.news-button:hover i {
    color: #523D6E !important;
}

.news-button:hover {
    background: none !important;
    color: #523D6E !important;
}

/*.sidebar-collapsed #sidebar-container > a.news-button:hover .menu-collapsed {
    display: none !important;
}*/
/*#collapseManageSettings,*/
#project-links {
    overflow-y: auto;
    overflow-x: hidden;
}
.sidebar-collapsed #sidebar-container .news-button .as-default-popover ~ .popover {
    width: 14rem;
}
.sidebar-collapsed #sidebar-container .show-on-hover:hover {
    width: 239px !important;
    border-radius: 0 0.5rem 0.5rem 0;
}
.sidebar-collapsed #sidebar-container .show-on-hover:hover > *:not(.sidebar-item-content),
.sidebar-collapsed #sidebar-container .show-on-hover:hover .sidebar-item-content > * {
    display: block !important;
}
.sidebar-collapsed #sidebar-container .show-on-hover.select-list {
    background-color: #D9D4DF;
}
#sidebar-container #collapseManageSettingsButton > div::after {
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
}
#sidebar-container #collapseManageSettingsButton > div:last-child::after {
    position: absolute;
    right: 0.5rem;
    top: 0.2rem;
}
.sidebar-collapsed #sidebar-container .select-list > .col::after {
    position: absolute;
    right: 0.5rem;
    top: 0;
}
.sidebar-collapsed #sidebar-container .select-list > .col::after {
    transform: rotate(0deg);
}
#sidebar-container #collapseManageSettingsButton.sidebarManage-hidden div::after {
    transform: rotate(-90deg);
}
.sidebar-expanded #sidebar-container .select-list > .col::after {
    display: none;
}

/*#sidebar-container > a:hover .menu-collapsed,
.sidebar-collapsed #sidebar-container > .select-list:hover .menu-collapsed {
    display: block !important;
}*/

/* Sidebar sizes when expanded, collapsed and hidden */
.sidebar-expanded #sidebar-container {
    width: 15.5rem;
}

.sidebar-collapsed #sidebar-container {
    width: 4rem;
}
.sidebar-hidden #sidebar-container {
    width: 1rem;
}
#sidebar.sidebar-hidden {
    padding-right: 1rem;
}
#sidebar.sidebar-hidden #hidden-sidebar {
    top: 0;
}


#sidebar a[disabled],
#sidebar a[disabled] i,
#sidebar a[disabled] i::after,
#sidebar #sidebar-container a[disabled]:hover .sidebar-item-content i::before,
#sidebar #sidebar-container a[disabled]:hover .sidebar-item-content i::after,
#sidebar #sidebar-container a[disabled]:hover .sidebar-item-content {
    color: #BAB1C5 !important;
}
#sidebar a[disabled]:hover .sidebar-item-content {
    background: none !important;
}
/*.sidebar-collapsed #sidebar-container .project-links {
    width: 239px !important;
}*/
/*#endregion*/
/*+++++++++++++++++++++*/
/*#region Sidebar right*/
/*+++++++++++++++++++++*/
#drag-bar-right {
    position: absolute;
    left: 0;
    top: 1.5rem;
    bottom: 0;
    background-color: #686074;
    width: 0.25rem;
    cursor: col-resize;
    transition: width ease-in-out .2s;
}
#drag-bar-right:hover {
    width: 0.5rem;
}

#hide-sidebar-right {
    position: absolute;
    left: 0.25rem;
    top: 0.4rem;
    padding: 0;
}

#sidebar-right #hide-sidebar-right div,
#hidden-sidebar-right div {
    color: #D9D4DF !important;
    transform: rotate(180deg);
}

#sidebar-right {
    z-index: 1021;
    top: 0;
    right: 0;
    height: calc(100vh - 94px);
    background-color: #686074;
   /* font-size: 0.8rem;*/
}

.sidebar-right-expanded #hide-sidebar-right div {
    transform: rotate(0deg) !important;
}

#sidebar-right i.edit:after {
    position: absolute;
    font-size: 0.8rem;
    top: 0;
    right: 0;
    transform: translate(0.6rem, -20%);
    color: #291D39 !important;
}

#sidebar-right-container {
    background-color: #FFFFFF;
    padding: 0;
}

/* sidebar-right sizes when expanded, collapsed and hidden */
.sidebar-right-expanded #sidebar-right-container,
.sidebar-right-min-width {
    width: 22.33rem;
}

.sidebar-right-hidden #sidebar-right-container {
    width: 1rem;
}
#sidebar-right.sidebar-right-hidden {
    padding-left: 1rem;
}
#sidebar-right.sidebar-right-hidden #hidden-sidebar-right {
    right: 0;
    top: 0;
}
#sidebar-right.sidebar-right-hidden #hidden-sidebar-right div {
    transform: rotate(180deg);
}
/*#endregion*/

.activity-circle {
    width: 2rem;
    height: 2rem;
    font-size: .8rem;
}

#dashboard-container .user-profile-image {
    width: 3rem;
    height: 3rem;
}

/*++++++++++++++*/
/*#region Footer*/
/*++++++++++++++*/
footer {
    bottom: 0;
    z-index: 2147483610;
    height: 45px;
}

footer .footer-bottom,
footer .footer-bottom a {
    color: #291D39;
    font-size: 0.88rem;
}

footer .footer-bottom a::after {
    content: "|";
    margin-left: 0.4em;
    margin-right: 0.4em;
}

footer .footer-bottom a:last-child::after {
    content: "";
    margin-left: 0;
}
/*#endregion*/

/*++++++++++++++++*/
/*#region Dropdown*/
/*++++++++++++++++*/
.as-dropdown.dropdown-menu {
    background-color: #D9D4DF;
    border-radius: 0 0 7px 7px;
}

.as-dropdown.dropdown-menu .dropdown-item,
.as-dropdown.dropdown-menu .dropdown-item.as-external-link::after {
    color: #291D39;
}

.as-dropdown.dropdown-menu .dropdown-item.as-external-link::after {
    right: 0.2rem;
}

.dropdown-item:focus,
.dropdown-item:hover {
    background-color: #F0F0F0;
    color: unset!important;
}

.as-dropdown.dropdown-menu hr {
    border-color: #BAB1C5;
}
/*#endregion*/


/*+++++++++++++++++++++*/
/*#region History Modal*/
/*+++++++++++++++++++++*/
#history-model-modal .as-grid-container {
    grid-template-rows: auto;
}

#history-model-modal .as-grid-container .as-grid-header img {
    height: 1.6rem;
}

#history-model-modal .as-grid-row {
    grid-template-columns: 3.2rem 3.2rem 2fr 1.3fr 6rem;
}

#history-model-modal .as-grid-row:not(:first-child) {
    cursor: auto;
}
/*#endregion*/

/*+++++++++++++++++*/
/*#region Bootstrap*/
/*+++++++++++++++++*/
.accordion .accordion-header .rotate {
    transition: 0.2s all ease-in-out;
}

.accordion .accordion-header[aria-expanded="false"] .rotate {
    transform: rotate(90deg);
}

.accordion .accordion-header[aria-expanded="true"] .rotate {
    transform: rotate(-90deg);
}

.form-group .group-icon > button,
.form-group .group-icon > .icon-container {
    bottom: 0.1rem;
    right: 0.4rem;
    position: absolute;
}
.form-group .group-icon > textarea {
    /*overflow-y: hidden;*/
    overflow: -moz-scrollbars-none;
    -ms-overflow-style: none;
    padding-right: 1.8rem;
}
.form-group .group-icon > textarea::-webkit-scrollbar {
    width: 0 !important
}

.dropdown-item:focus {
    outline: none;
}
.dropdown-item.active, .dropdown-item:active {
    color: inherit;
}
.bootstrap-select {
    background: none;
}

.dropdown.bootstrap-select .dropdown-menu {
    max-width: 500px;
}

.dropdown.bootstrap-select .dropdown-menu li a span.text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
.dropdown.bootstrap-select .bs-ok-default:after {
    content: '\e93c';
    font-family: 'as-icons';
    border: none;
    transform: none;
}
/*#endregion*/

/*++++++++++++*/
/*#region IE11*/
/*++++++++++++*/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /* IE10+ CSS styles go here */

    header {
        position: fixed;
        width: 100%;
        z-index: 999;
    }

    main {
        padding: 45px 0px;
    }

    footer {
        position: fixed;
        width: 100%;
        z-index: 999;
    }

    .as-default-popover ~ .popover {
        box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.45);
    }
}
/*#endregion*/

/***/
#reset-avatar {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}

form .edit-avatar-container {
    height: 194px;
    width: 194px;
    padding-right: 0.8rem;
}

#profile-avatar,
#editprofile-avatar {
    width: 6.6rem;
    height: 6.6rem;
    -o-object-fit: contain;
    object-fit: contain;
    border: 1px solid #BAB1C5;
}

.edit-avatar-container .as-times-circle {
    right: 0;
}

/*Slider*/
input[type=range] {
    -webkit-appearance: none;
    margin: 0;
    width: 100%;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #707070;
}

input[type=range]::-webkit-slider-thumb {
    border: 1px solid #FFFFFF;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #523D6E;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -8px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #707070;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #707070;
}

input[type=range]::-moz-range-thumb {
    border: 1px solid #FFFFFF;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #523D6E;
    cursor: pointer;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    border-width: 16px 0;
    color: transparent;
}

input[type=range]::-ms-fill-lower {
    background: #707070;
}

input[type=range]::-ms-fill-upper {
    background: #707070;
}

input[type=range]::-ms-thumb {
    border: 1px solid #FFFFFF;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #523D6E;
    cursor: pointer;
    margin-top: 0px;
}

input[type=range]:focus::-ms-fill-lower {
    background: #707070;
}

input[type=range]:focus::-ms-fill-upper {
    background: #707070;
}

/* modal */
.scrollable-content{
    overflow: hidden;
    overflow-y: auto;
}

/* custom viewer style */

/* viewer loading icons */
.adsk-viewing-viewer .spinner .bounce1,
.adsk-viewing-viewer .spinner .bounce2,
.adsk-viewing-viewer .spinner .bounce3 {
    background: #523D6E;
}

/* toolbar */
.adsk-viewing-viewer.light-theme .adsk-button.active,
.adsk-viewing-viewer.light-theme .adsk-button:focus {
    color: #5bb592 !important;
}

.adsk-viewing-viewer.light-theme .adsk-button:hover {
    color: #5bb592 !important;
    border: 1px solid #5bb592 !important;
}

.adsk-viewing-viewer.light-theme .adsk-control-group {
    color: #291d39 !important;
}

/* IoT */
#iotTools {
   background-color: #5bb592;
}
#iotTools .as-icon-iot{
    color: #fff;
}

.vwr-issue-pin, .vwr-sensor-pin {
    cursor: pointer !important;
    /*pointer-events: 'none';*/
    width: 35px;
    height: 35px;
    position: absolute;
    overflow: visible;
}

    .vwr-issue-pin > svg {
        width: 35px;
        height: 35px;
    }

    .vwr-sensor-pin > svg {
        width: 50px;
        height: 50px;
    }

#iotMenu {
    width: 100px;
    position: absolute;
    z-index: 20;
    border-radius: 4px;
    bottom: 100px;
    text-align: center;
    right: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    cursor: pointer;
    padding: 2px 5px;
}

#iotMenu > div{
    padding: 2px 0px;
}

    #iotMenu > div:hover {
        background-color: #BAB1C5;
        color: #fff;
    }

    #iotMenu .active {
        background-color: rgb(82, 61, 110);
        color: #fff;
        margin-left: -5px;
        margin-right: -5px;
        padding: 2px 5px;
    }

#viewer-progress-box,
#resetmodels-box {
    position: absolute;
    top: 20px;
    left: 20px;
    min-width: 19rem;
    min-height: 3.5rem;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.75);
    padding: 8px;
    border-radius: 4px;
    text-align: center;
}

#resetmodels-box {
    top: 80px;
}


#as-vwr-button-container {
    position: absolute;
    bottom: 15px;
    right: 10px;
    z-index: 20;
}

.as-vwr-button-topright-container {
    position: absolute;
    top: 15px;
    right: 10px;
    z-index: 20;
}


#as-vwr-button-container .cc-control {
    display: inline-block;
    margin: 0 5px;
    font-size: 17px;
    opacity: .9;
    text-align: center;
    box-shadow: none;
    border-radius: 5px;
}

#as-vwr-button-container .adsk-button {
    height: 24px;
    width: 24px;
}

.cm-icon,
.cm-element-detail-icon,
.cm-sbestek-icon,
.cm-issue-icon {
    font-family: 'as-icons' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 8px !important;
}
.cm-element-detail-icon:before {
    content: "\e915";
    color: #523D6E;
}
.cm-sbestek-icon:before {
    content: "\e95b";
    color: #523D6E;
}
.cm-issue-icon:before {
    content: "\e90d";
    color: #523D6E;
}

/*context menu*/
.as-context-menu {
    background-color: #D9D4DF;
    border-radius: 7px;
    text-align: left;
    min-width: 10rem;
    padding: .5rem 0;
    z-index: 1000;
}
.as-context-menu button {
    padding: .25rem 1.5rem;
}
.as-context-menu button:hover {
    background-color: #F0F0F0;
}

.pillr-geopoint{
    background-image: url('/img/maps-icon.png') !important;
    background-repeat: no-repeat !important;
    height: 80px !important;
    background-color: transparent !important;
}