﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');


@font-face {
   font-family: 'customFont';
   src: url('/_content/MiTek.Mezz.Layout.UI.Blazor.Shared/fonts/MezzFont/IBMPlexSansMezz.eot');
   src: url('/_content/MiTek.Mezz.Layout.UI.Blazor.Shared/fonts/MezzFont/IBMPlexSansMezz.woff2') format('woff2'), url('/_content/MiTek.Mezz.Layout.UI.Blazor.Shared/fonts/MezzFont/IBMPlexSansMezz.woff') format('woff'), url('/_content/MiTek.Mezz.Layout.UI.Blazor.Shared/fonts/MezzFont/IBMPlexSansMezz.ttf') format('truetype'), url('/_content/MiTek.Mezz.Layout.UI.Blazor.Shared/fonts/MezzFont/IBMPlexSansMezz.svg#customFont') format('svg'), url('/_content/MiTek.Mezz.Layout.UI.Blazor.Shared/fonts/MezzFont/IBMPlexSansMezz.eot?#iefix') format('embedded-opentype');
   font-weight: normal;
   font-style: normal;
}

@font-face {
    font-family: 'miicons';
    src: url('/_content/MiTek.Mezz.Layout.UI.Blazor.Shared/fonts/MiIcons/miicons.eot');
    src: url('/_content/MiTek.Mezz.Layout.UI.Blazor.Shared/fonts/MiIcons/miicons.woff') format('woff'), url('/_content/MiTek.Mezz.Layout.UI.Blazor.Shared/fonts/MiIcons/miicons.ttf') format('truetype'), url('/_content/MiTek.Mezz.Layout.UI.Blazor.Shared/fonts/MiIcons/miicons.eot?#iefix') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@keyframes fadein {
   from {
      opacity: 0;
   }

   to {
      opacity: 1;
   }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
   from {
      opacity: 0;
   }

   to {
      opacity: 1;
   }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
   from {
      opacity: 0;
   }

   to {
      opacity: 1;
   }
}

/* Internet Explorer */
@-ms-keyframes fadein {
   from {
      opacity: 0;
   }

   to {
      opacity: 1;
   }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
   from {
      opacity: 0;
   }

   to {
      opacity: 1;
   }
}

h1 {
    font-size: 21px;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: Segoe UI;
    line-height: 1rem;
    background: var(--backgroundColor);
    color: var(--font-color);
}

.main-app {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
   border: none;
   -webkit-text-fill-color: var(--font-color);
   -webkit-box-shadow: none;
   transition: background-color 5000s ease-in-out 0s;
}

canvas:focus,
input:focus,
textarea:focus,
select:focus {
   outline: none;
}

.bar-input {
   color: var(--font-color);
   vertical-align: middle;
   padding: 5px 10px;
   margin-right: 5px;
   font-size: 12px;
   border: 0px;
   flex: 0;
   min-width: 50px;
   white-space: nowrap;
}

.bar-divider {
   height: 30px;
   width: 1px;
   background-color: #000;
   margin: 0px 5px;
}

/* Top Bar Definitions */
.top-bar-container {
   margin: 2.5px;
}

.top-bar {
    background-color: var(--backgroundColor);
    color: var(--font-color);
    font-size: 14px;
    height: 35px;
    width: 100%;
}

.top-bar, .top-bar-group {
   align-items: center;
   display: flex;
   flex-direction: row;
}

.button-disabled {
   opacity: .3;
}

.bar-menu-content {
    background-color: var(--dropDownMenu-bgColor);
    border-radius: 5px;
    border: 1px solid var(--border-divider-color);
    display: none;
    position: absolute;
    top: 100%;
    left: 0px;
    z-index: 1000;
    flex-wrap: wrap;
    overflow-y: auto;
    max-width: min-content;
    box-shadow: 0px 12px 20px #000000B8;
    -webkit-animation: fadein 0.25s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 0.25s; /* Firefox < 16 */
    -ms-animation: fadein 0.25s; /* Internet Explorer */
    -o-animation: fadein 0.25s; /* Opera < 12.1 */
    animation: fadein 0.25s;
}

.bar-menu-item:hover > .bar-menu-content {
   display: flex;
}

.bar-menu-content .menu-dropdown .bar-menu-content {
   top: 0px;
   left: 100%;
}

.bar-item, .bar-menu-item, .bar-divider {
   margin: 8px 5px;
}

.bar-item {
   white-space: nowrap;
}

.bar-item:first-child {
   margin: 0px 10px;
   color: var(--selection-bar-text-color);
}

.filledStyle{
    background-color: var(--btn-filled-bgColor)
}
.filledStyle:hover {
    background-color: var(--btn-hover-bgColor)
}

.transparentStyle {
   background-color: transparent !important;
}

    .transparentStyle:hover {
        background-color: var(--button-secondary-hover-bgColor) !important;
    }

.menu-dropdown {
   position: relative;
   display: inline-block;
}

.menu-dropdown-icon {
   content: " ";
   width: 16px;
   height: 16px;
   background-color: var(--splash-bgColor);
   margin: 0px 5px 0px 0px;
   border-radius: 15%;
}

.option-picker-menu-content{
   right:34px;
   top:auto;
   left:auto;
   overflow-y:inherit;
   min-width:auto;
   display: inline-flex;
}
.button-no-style {
   background: none;
   color: inherit;
   border: none;
   font: inherit;
   cursor: pointer;
   outline: none !important;
}

.flex-container-row {
    flex-flow: row wrap;
    padding: 0px 5px;
}

.flex-container-column {
    flex-flow: column wrap;
    padding: 0px 5px;
}

.flex-container-column, .flex-container-row {
   display: flex;
   width: 100%;
   height: 100%;
   padding-bottom: 100px; /* Not the best solution, need to fix a combination of flex controls */
   position: relative;
}

.pm-header-title {
    flex: 1;
    align-self: center;
    font-weight: bold;
}

.pm-dialog-icon {
   content: " ";
   width: 28px;
   height: 28px;
   background-color: var(--splash-bgColor);
   margin: 0px 8px 0px 0px;
   border-radius: 15%;
}

.item-property-section-block-label {
    height: 15px;
    margin-left: 0;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight:600;
}

.item-property-spacer {
    margin-top: 4px;
    margin-bottom: 4px;
    margin-right: 3px;
    height: 2px;
    background-color: var(--border-divider-color);
}

.item-property-spacer:last-child {
    display: none;
}

.item-property-section-block-header {
    display: flex;
    justify-content: space-between;
}

.item-property-section-button {
   margin-right: 5px;
   margin-top: 0;
   float: right;
}

.item-property-line-value {
   flex: 1;
   vertical-align: middle;
   padding-right: 10px;
   max-width: 120px;
   min-width: 55px;
   color: var(--font-color);
}

 
.item-property-line-value:focus {
   color: yellow;
   border-bottom: none;
}

.item-line {
   display: flex;
   justify-content: space-between;
   margin-top: 8px;
   margin-bottom: 8px;
   padding-left: 5px;
}

.item-description {
   margin-left: 0;
   margin-top: 3px;
   margin-bottom: 3px;
   text-align: left;
   width:100%;
   overflow: visible;
   font-weight:600;
}

/* The emerging W3C standard that is currently Firefox-only */
* {
    scrollbar-width: thin;
    scrollbar-color: #556481 #425273;
}

/* Works on Chrome/Edge/Safari */
    *::-webkit-scrollbar {
        border-radius: 3px;
        width: 10px;
        background-color: var(--modal-header-bgColor);
    }

*::-webkit-scrollbar-track {
   border-radius: 3px;
}

    *::-webkit-scrollbar-thumb {
        background-color: var(--scroll-bar-thumb-color);
        border-radius: 5px;
        border: 3px solid transparent;
    }

div.scroll-panel {
   overflow-y: auto;
   padding-right: 7px;
   margin-right: 5px;
   margin-left: 2.5px;
   height: 100%;
   width: 100%;
}
.animate-left{position:relative;animation:animateleft 0.4s}@keyframes animateleft{from{left:-300px;opacity:0} to{left:0;opacity:1}}
.animate-right{position:relative;animation:animateright 0.4s}@keyframes animateright{from{right:-300px;opacity:0} to{right:0;opacity:1}}

.hover-text .k-tooltip {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border-radius: 5px;
    color: #304165;
    font: normal normal normal 14px/19px Segoe UI;
    padding: 1px 8px;
}

.revision-dialog-block {
   height: 297px;
}

.top-row {
   height: 3.5rem;
   display: flex;
   align-items: center;
}

.item-property-button {
    padding: 8px;
    border: none;
    font-size: 12px;
    outline: none !important;
    align-content: center;
    margin: 2px;
}
.item-property-button:hover {
   border: 1px;
}

.property-disabled {
   opacity: .6;
}

.menu-context-scrollable {
   max-height: 200px;
   overflow-y: auto;
}

.menu-dropdown-content {
    background-color: var(--dropDownMenu-bgColor);
    border-radius: 5px;
    border: 1px solid var(--border-divider-color);
    display: none;
    position: absolute;
    top: 100%;
    left: 0px;
    z-index: 1000;
    flex-wrap: wrap;
    overflow-y: auto;
    box-shadow: 0px 12px 20px #000000B8;
    -webkit-animation: fadein 0.25s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 0.25s; /* Firefox < 16 */
    -ms-animation: fadein 0.25s; /* Internet Explorer */
    -o-animation: fadein 0.25s; /* Opera < 12.1 */
    animation: fadein 0.25s;
    max-width: 300px;
}

.menu-dropdown:hover > .menu-dropdown-content {
   display: flex;
}

.menu-dropdown-content .menu-dropdown .menu-dropdown-content {
   top: 0px;
   left: 100%;
}

ul.menu-dropdown-content {
   list-style-type: none;
   margin: 0px;
   padding: 0px;
   overflow: hidden;
}

.full-width {
   width: 100%;
}

.half-width {
   width: 49.5%;
}

.canvas-holder {
    overflow: hidden;
    width: 100%;
    height: 100%;
}


.dropdown-highlight:before {
   content: "●";
   font-size: 7px;
   margin-right: 3px;
   margin-left: -7px;
   vertical-align: middle;
   color: #ff9400;
}

.item-property-section-block-largeindent {
   margin-top: 5px;
   margin-left: 30px;
   margin-right: 0px;
}

.item-property-section-block-largeindent-close {
   margin-left: 30px;
   margin-right: 0px;
}

.item-property-section-block-noindent {
   margin-left: 0px;
   margin-right: 0px;
}

/*Statuses*/
.statusable:before {
    content: "●";
    font-size: 11px;
    float: left;
    margin-top: 0.5px;
    margin-right: 5px;
    vertical-align: middle;
    color: gray;
}

.statusable-ok:before {
    content: var(--checkIcon);
}

.statusable-empty:before {
    color: transparent;
}

.statusable-none:before {
    display: none;
}

.statusable-undefined:before {
    content: var(--warningIcon);
}

.statusable-warning:before {
    content: var(--warningIcon);
}

.statusable-error:before {
    content: var(--errorIcon);
    padding: 0px 1px;
}

.statusable-blue:before {
    content: "■";
    color: #006bff;
    margin-top: -4px;
    font-size: 15px;
}

.statusable-disabled {
   color: grey;
}

.statusable-enabled {
   color: white;
}

.statusable-hidden {
   display: none;
}

.dialog-event-item-layout {
    color: var(--font-color);
}

.dialog-event-item-framing {
    color: green;
}

.dialog-event-item-connection {
    color: greenyellow;
}

.dialog-event-item-error {
    color: red;
}

.content {
   padding-top: 1.1rem;
   overflow-y: auto;
}

.navbar-toggler {
   background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
   outline: 1px solid #26b050;
}

.invalid {
   outline: 1px solid red;
}

.validation-message {
   color: red;
}

.swatch-transparent {
    width: 32px;
    height: 32px;
    margin: 4px 2px;
    border-radius: 4px;
    border-color: #fff;
    background: conic-gradient(rgb(180, 180, 180) 25%, rgb(255, 255, 255) 0deg, rgb(255, 255, 255) 50%, rgb(180, 180, 180) 0deg, rgb(180, 180, 180) 75%, rgb(255, 255, 255) 0deg) 0% 0% / 8px 8px;
}

.swatch {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.swatch-mini-transparent {
    width: 8px;
    height: 8px;
    margin: 1px 1px;
    border-radius: 2px;
    border-color: #fff;
    background: conic-gradient(rgb(160, 160, 160) 25%, rgb(255, 255, 255) 0deg, rgb(255, 255, 255) 50%, rgb(160, 160, 160) 0deg, rgb(160, 160, 160) 75%, rgb(255, 255, 255) 0deg) 0% 0% / 8px 8px;
}

.swatch-mini {
    width: 8px;
    height: 8px;
    border-radius: 1px;
}

/* Site Loader */
@keyframes loader-spinner {
   0% {
      transform: translate3d(-50%, -50%, 0) rotate(0deg);
   }

   100% {
      transform: translate3d(-50%, -50%, 0) rotate(360deg);
   }
}

.loader::before {
   animation: 1.2s linear infinite loader-spinner;
   animation-play-state: inherit;
   border: solid 5px #fff;
   border-bottom-color: #015DAB;
   border-radius: 50%;
   content: "";
   height: 92px;
   width: 92px;
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate3d(-50%, -50%, 0);
   will-change: transform;
}

.loader-message {
   color: #fff;
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate3d(-50%, -50%, 0);
   background-color: #000000;
   z-index: 999;
}

#blazor-error-ui {
   background: lightyellow;
   bottom: 0;
   box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
   display: none;
   left: 0;
   padding: 0.6rem 1.25rem 0.7rem 1.25rem;
   position: fixed;
   width: 100%;
   z-index: 1000;
}

   #blazor-error-ui .dismiss {
      cursor: pointer;
      position: absolute;
      right: 0.75rem;
      top: 0.5rem;
   }

@media (max-width: 767.98px) {
   .main .top-row:not(.auth) {
      display: none;
   }

   .main .top-row.auth {
      justify-content: space-between;
   }

   .main .top-row a, .main .top-row .btn-link {
      margin-left: 0;
   }
}

@media (min-width: 768px) {
   app {
      flex-direction: row;
      overflow: hidden;
   }

   .sidebar {
      width: 250px;
      height: 100vh;
      position: relative;
      *top: 0;
   }

   .main .top-row {
      position: relative;
      top: 0;
   }

   .main > div {
      padding-left: 2rem !important;
      padding-right: 1.5rem !important;
   }

   .navbar-toggler {
      display: none;
   }

   .sidebar .collapse {
      /* Never collapse the sidebar for wide screens */
      display: block;
   }
}

@media screen and (max-width: 768px){
   .mobile-menu:hover > .bar-menu-item {
      display: flex;
   }
}