
:root {
   --rz-layout-body-padding: 0;
   --add-10-black: rgba(0, 0, 0, 0.1);
   --add-20-black: rgba(0, 0, 0, 0.2);
   --add-30-black: rgba(0, 0, 0, 0.3);
   --add-40-black: rgba(0, 0, 0, 0.4);
   --add-50-black: rgba(0, 0, 0, 0.5);
   --add-60-black: rgba(0, 0, 0, 0.6);
   --add-70-black: rgba(0, 0, 0, 0.7);
   --add-80-black: rgba(0, 0, 0, 0.8);
   --add-90-black: rgba(0, 0, 0, 0.9);
   --add-10-gray: rgba(127, 127, 127, 0.1);
   --add-20-gray: rgba(127, 127, 127, 0.2);
   --add-30-gray: rgba(127, 127, 127, 0.3);
   --add-40-gray: rgba(127, 127, 127, 0.4);
   --add-50-gray: rgba(127, 127, 127, 0.5);
   --add-60-gray: rgba(127, 127, 127, 0.6);
   --add-70-gray: rgba(127, 127, 127, 0.7);
   --add-80-gray: rgba(127, 127, 127, 0.8);
   --add-90-gray: rgba(127, 127, 127, 0.9);
   --add-10-white: rgba(255, 255, 255, 0.1);
   --add-20-white: rgba(255, 255, 255, 0.2);
   --add-30-white: rgba(255, 255, 255, 0.3);
   --add-40-white: rgba(255, 255, 255, 0.4);
   --add-50-white: rgba(255, 255, 255, 0.5);
   --add-60-white: rgba(255, 255, 255, 0.6);
   --add-70-white: rgba(255, 255, 255, 0.7);
   --add-80-white: rgba(255, 255, 255, 0.8);
   --add-90-white: rgba(255, 255, 255, 0.9);
}

html, body {
   font-family: 'Commissioner', sans-serif;
   font-optical-sizing: auto;
   font-weight: 400;
   font-style: normal;
}

body {
   overflow: hidden;
   margin: 0;
   padding: 0;
}

a, .btn-link {
   color: #006bb7;
}

h3 {
   font-weight: 500;
   margin: .35rem 0;
}

.btn-primary {
   color: #fff;
   background-color: #1b6ec2;
   border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
   box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
   padding-top: 1.1rem;
}

h1:focus {
   outline: none;
}

.valid.modified:not([type=checkbox]) {
   outline: 1px solid #26b050;
}

.invalid {
   outline: 1px solid #e50000;
}

.validation-message {
   color: #e50000;
}

.blazor-error-boundary {
   background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
   padding: 1rem 1rem 1rem 3.7rem;
   color: white;
}

   .blazor-error-boundary::after {
      content: "An error has occurred."
   }

.darker-border-checkbox.form-check-input {
   border-color: #929292;
}

.hg-source-code-editor {
   height: 100%;
   width: 100%;
   padding: 0;
   border: 1px solid var(--bs-gray-500);
}

@media (max-width: 641px) {
   .hg-source-code-editor {
      width: calc(100vw - 4rem);
   }
}

.hg-click-card {
   cursor: pointer;
   transition: all 0.2s ease-in-out;
}

   .hg-click-card:hover {
      transform: scale(1.02);
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
   }

.hg-toolbar {
   border-bottom: 1px solid var(--mud-palette-gray-light);
}

   .hg-toolbar .mud-input > input.mud-input-root-outlined, .hg-toolbar div.mud-input-slot.mud-input-root-outlined {
      padding-top: .45rem;
      padding-bottom: .45rem;
   }

   .hg-website-editor {
      display: grid;
      grid-template-columns: 15rem 1fr;
      grid-template-rows: 3rem 1fr;
      height: 100%;
   }

   .hg-website-editor .hg-toolbar {
      grid-column: 1 / span 2;
   }

   .hg-website-editor .hg-editor-menu {
      grid-column-start: 1;
      grid-row-start: 2;
      height: 100%;
      width: 100%;
   }

   .hg-website-editor .hg-editor-splitters {
      grid-column-start: 2;
      grid-row-start: 2;
      height: 100%;
      width: 100%;
   }

   .hg-website-editor .hg-editor-tabs, .hg-website-editor .hg-editor-tabs .mud-tabs-panels {
      height: 100%;
      width: 100%;
   }

.hg-page-editor-panes {
   display: grid;
   grid-template-rows: 1fr 1fr;
   grid-template-columns: 1fr 1fr;
   height: 100%;
}

.hg-page-editor-panes .hg-editor-pane {
   border-left: 1px solid var(--mud-palette-gray-light);
   border-right: 1px solid var(--mud-palette-gray-light);
   grid-column: 1 / span 2;
   grid-row: 1 / span 2;
}

.hg-page-editor-panes .hg-editor-pane-off {
   grid-column: 1 / span 2;
   grid-row: 1 / span 2;
}

.hg-page-editor-panes .hg-editor-pane-bottom {
   grid-column: 1 / span 2;
   grid-row: 1;
}

.hg-page-editor-panes .hg-editor-pane-right {
   grid-column: 1;
   grid-row: 1 / span 2;
}

.hg-page-editor-panes .hg-preview-pane-off {
   visibility: collapse;
   display: none;
}

.hg-page-editor-panes .hg-preview-pane-bottom {
   grid-column: 1 / span 2;
   grid-row: 2;
}

.hg-page-editor-panes .hg-preview-pane-right {
   grid-column: 2;
   grid-row: 1 / span 2;
}

.hg-settings-wrap {
   display:flex;
   height: 100%;
}

   .hg-settings-wrap .hg-settings { 
      width: 100%;
      display: flex;
      flex-direction: column;
      overflow-y: auto;
      padding: 1rem;
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      gap: .15rem;
   }

.hg-data-editor {
   display: grid;
   grid-template-columns: 15rem 1fr;
   height: 100%;
}

   .hg-data-editor .hg-editor-pane {
      display: flex;
      flex-direction: column;
   }

   .hg-data-editor .hg-editor-list {
      border-left: 1px solid var(--mud-palette-gray-light);
      border-right: 1px solid var(--mud-palette-gray-light);
   }

.hg-data-cell {
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
   max-height: 2rem;
   max-width: 15rem;
}

.hg-click-grid .mud-table-row {
   cursor: pointer;
}

.hg-website-editor .mud-toolbar {
   min-height: 0;
   background-color: var(--mud-palette-surface-variant);
   display: flex;
   gap: .25rem;
   grid-column: 1 / span 2;
}

.hg-assets {
   display: flex;
   flex-direction: row;
   flex-wrap: wrap;
}

   .hg-assets .hg-asset-card {
      width: 200px;
      height: 200px;
      position: relative;
   }

   .hg-assets .hg-asset-thumb {
      height: 100px;
      width: 100px;
      margin: auto;
      display: flex;
   }

      
      .hg-assets .hg-asset-thumb img {
         height: auto;
         width: auto;
         max-height: 100px;
         max-width: 100px;
         margin: auto;
         border-radius: .35rem;
      }

   .hg-assets .hg-asset-title {
      font-size: 0.8rem;
      text-align: center;
      font-weight: bold;
      text-transform: uppercase;
      height: 2.5rem;
      align-content: center;
   }

   .hg-assets .mud-card-content {
      padding: 0 1rem;
   }

.hg-dialog-80 {
   height: 80vh !important;
}

.hg-editor-menu .mud-nav-link {
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
}

.hg-options-tools {
   width: 7rem;
   justify-content: center;
   background-color: var(--add-20-gray);
   padding: .75rem 0;
   border-radius: .5rem;
}


/* ---------------------------------
   Helpers
------------------------------------ */

.hg-height-100p {
   height: 100%;
}

.hg-width-100p {
   width: 100%;
}

.hg-height-100vh {
   height: 100vh;
}

.hg-thin-scroll {
   scrollbar-width: thin;
}

.hg-thin-scroll::-webkit-scrollbar {
   width: 6px;
}

.hg-thin-scroll::-webkit-scrollbar-track {
   background: rgba(0, 0, 0, 0.05);
}

.hg-thin-scroll::-webkit-scrollbar-thumb {
   background-color: rgba(0, 0, 0, 0.2);
   border-radius: 3px;
}

.hg-x-thin-button.mud-button-root, .hg-x-thin-button .mud-button-root {
   padding-right: 0 !important;
   padding-left: 0 !important;
}


.hg-thin-button.mud-button-root, .hg-thin-button .mud-button-root {
   padding-right: 6px !important;
   padding-left: 6px !important;
}

.hg-scroll-wrap {
   position: relative;
   height: 100%;
}

   .hg-scroll-wrap .hg-scroll-content {
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      overflow-y: auto;
      overflow-x: auto; 
      width: 100%;
   }

.chat-scroll-container {
   height: calc(100vh - 34rem);
   min-height: 0;
   overflow-y: auto;
}

.hg-grid-auto-1fr-auto-rows {
   display: grid;
   grid-template-rows: auto 1fr auto;
   height: 100%;
   min-height: 0;
}

