/*
#####################################################################################

  LESS-based CSS for HTML Widgets

  Version Date: 10-Jun-2024

  Building widget.css
  ===================
  From the development Test menu, use the "Build CSS files from LESS" option
#####################################################################################
*/

@import url(widget_beta_styling.less);
@import url('https://fonts.googleapis.com/css?family=Comfortaa');

/* LESS compiler tweaks */
@filtergrayscale: ~"grayscale(100%)";

@font-face { font-family:isdi; src:url('dashicons.woff'); }
@font-face { font-family:isse; src:url('segmdl2.woff'); }

@font-face {
  font-family:isfa;
  src:url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/webfonts/fa-solid-900.woff');
  font-weight:400;
}

* {
  box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;
  -webkit-text-size-adjust:100%;
}

html {
  font-family:'Open Sans', Sans-serif, 'Helvetica Neue', Helvetica, Verdana, Arial;
  font-size:14px;
  height:100%;
}

button {
  font-family:'Open Sans', Sans-serif, 'Helvetica Neue', Helvetica, Verdana, Arial;
}

body {
  min-height:100%;
  margin:0;
}

/* iOS Safari (stop page being able to be dragged which sometimes interferes with scrollable divs) */
html, body {
  bottom:0;
  left:0;
  position:fixed;
  right:0;
  top:0;
  overflow:auto;
  -webkit-overflow-scrolling: touch;
}

h1 {
  color: navy;
  font-size:20px;
  margin:8px 0 8px 0;
}
h1:first-child {
  margin-top:0;
}

h2 {
  color: navy;
  font-size:16px;
  margin:8px 0 4px 0;
}

h3 {
  color: navy;
  font-size:14px;
  margin:8px 0 4px 0;
}

hr {
  background-color:#c0c0c0;
  border:none;
  height:1px;
  margin:0.5em 0 0.5em 0;
  overflow:hidden;
}


/*
======================================================
Symbols
======================================================
*/
.is-symbol-bookmark::before {font-family:isfa; font-weight:normal; content:"\F02E";}
.is-symbol-close::before {font-family:isse; font-weight:normal; content:"\E711";}
.is-symbol-recent::before {font-family:isse; font-weight:normal; content:"\E2AD";}
.is-symbol-plus::before {font-family:isse; font-weight:normal; content:"\E109";}
.is-symbol-search::before {font-family:isse; font-weight:normal; content:"\E1A3";}


/* 
======================================================
Layout
======================================================
*/
div.is-widget-content:not(.is-widget-form)
{
  padding:4px;
}


/*
======================================================
Wait
======================================================
*/
.is-wait-block
{
  position:fixed;
  left:0;
  right:0;
  top:0;
  bottom:0;
  background-color:rgba(0, 0, 0, 0.8);
  overflow:hidden;
  z-index:9999999;
}

.is-wait
{
  margin: 20% auto;
  position: relative;
  width: 48px;
  height: 24px;
}

.is-wait > div {
  width: 16px;
  height: 16px;
  background-color: #ffffff;

  border-radius: 100%;
  display: inline-block;
  animation: wait 1.4s infinite ease-in-out both;
}

.is-wait > div.is-wait1 {
  animation-delay: -0.32s;
}

.is-wait > div.is-wait2 {
  animation-delay: -0.16s;
}

.is-wait-block > label
{
  color:white;
  display:block;
  margin-top:-20%;
  padding-top:12px;
  position:relative;
  text-align:center;
}

@keyframes wait {
  0%, 80%, 100% { 
     transform: scale(0);
  } 40% { 
     transform: scale(1.0);
  }
}

/* 
======================================================
Form
======================================================
*/
div.is-widget-form:not(.is-widget-form-body)
{
  bottom:0;
  display:flex; display:-webkit-box; display:-webkit-flex;
  flex-direction:column; -webkit-flex-direction:column;
  left:0;
  position:fixed;
  right:0;
  top:0;
  z-index:2;
}

div.is-widget-form header
{
  background-color:#f8f8f8;
  border-bottom:1px solid #e0e0e0;
  flex:none; -webkit-flex:none;
  box-shadow:0px 2px 6px 0px rgba(0,0,0,0.25);
}
div.is-widget-form > header > .header
{
  font-size: 16px;
  font-weight:normal;
  padding: 4px 4px 0 4px;
}
div.is-widget-form > header > .summary
{
  font-size: 11px;
  font-weight:normal;
  padding: 0 4px 4px 4px;
  margin: 0;
  max-height:22px;
  overflow:hidden;
  vertical-align:middle;
}

div.is-widget-form-body
{
  flex:1 100%; -webkit-flex:1 100%;
  overflow:auto;
  padding:4px;
  position:relative;
  -webkit-overflow-scrolling:touch;
}

div.is-widget-form > footer
{
  border-top:1px solid #d0d0d0;
  flex:none; -webkit-flex:none;
  padding:8px;
  text-align:right;
}
div.is-widget-form > footer:empty
{
  display:none;
}

/* Input Form */
table.is-form {
  border-collapse:collapse;
  font-size:12px;
  width:100%;
}

table.is-form input,
table.is-form textarea,
table.is-form select {
  border-radius:2px;
  margin:0;
  outline:none;
}

table.is-form input:focus,
table.is-form textarea:focus,
table.is-form select:focus {
  box-shadow:inset 0 -1px 0 #5B9DCC, 2px 2px 2px rgba(0,0,0,0.1);
}
table.is-form input[type='range'] {
  box-shadow:none;
}

table.is-form input:focus:not(.is-readonly):not(.is-invalid),
table.is-form textarea:focus:not(.is-readonly):not(.is-invalid),
table.is-form select:focus:not(.is-readonly):not(.is-invalid) {
  border-bottom:1px solid #5B9DCC;
  transition:border-color 0.2s, box-shadow 0.2s;
}

table.is-form > tbody > tr > th,
table.is-form > tr > th {
  font-weight:normal;
  padding:0 0 4px 8px;
  text-align:left;
}

table.is-form > tbody > tr > th.top,
table.is-form > tr > th.top {
  vertical-align:top;
}

table.is-form > tbody > tr > th.top > label,
table.is-form > tr > th.top > label {
  line-height:20px;
}

table.is-form > tbody > tr.narrow,
table.is-form > tr.narrow {
  > td, th {
    padding-bottom:0 !important;

    > span.is-checkbox > label {
      margin-bottom:0 !important;
    }
  }
}

table.is-form > tbody > tr > th.indent1,
table.is-form > tbody > tr > td.indent1,
table.is-form > tr > th.indent1,
table.is-form > tr > td.indent1 {
  padding-left:28px !important;
}

table.is-form > tbody > tr > th.indent2,
table.is-form > tbody > tr > td.indent2,
table.is-form > tr > th.indent2,
table.is-form > tr > td.indent2 {
    padding-left: 56px !important;
}

table.is-form > tbody > tr > th > label,
table.is-form > tr > th > label {
  font-weight:normal;
}

table.is-form > tbody > tr > th label.is-label-heading,
table.is-form > tr > th label.is-label-heading {
  display:inline-block;
  color:#0000A0;
  font-weight:bold;
  font-size:1.05em;
  margin-bottom:4px;
  margin-left:-8px;
  margin-top:12px;
}

table.is-form > tbody > tr > td,
table.is-form > tr > td {
  padding:0 0 4px 0;
  text-align:left;
}

table.is-form > tbody > tr > td > input:not(:first-child),
table.is-form > tbody > tr > td > select:not(:first-child),
table.is-form > tr > td > input:not(:first-child),
table.is-form > tr > td > select:not(:first-child) {
  margin-left: 4px;
}

table.is-form > tbody:last-child > tr:last-child > td,
table.is-form > tbody:last-child > tr:last-child > th {
  padding-bottom:0;
}

table.is-form > tbody > tr > th label:not(.is-label-heading, .is-file-upload),
table.is-form > tr > th label:not(.is-label-heading, .is-file-upload) {
  padding-right:4px;
}

table.is-form > tbody:first-of-type > tr:first-child > th label.is-label-heading {
  margin-top:0;
}

label.is-label-heading.topmost {
  margin-top:0 !important; /* Where we can't reliably target a label being the topmost row, we add this class via code in widget_ui.UpdateTabStyles */
}


/* Stacked form (works better for Bootstrap) */
table.is-form.stack > tbody > tr > th,
table.is-form.stack > tbody > tr > td
{
  display:block;
  margin:0;
  padding:0;
  position:relative;
}

table.is-form.stack > tbody > tr > th label
{
  display:block;
  font-weight:600;
  margin-top:8px;
  padding-bottom:2px;
}

/* Responsive (stack vertically) */
@media screen and (max-width:640px)
{
  table.is-form:not(.no-collapse) > tbody > tr > th
  {
    display:block;
    margin:0;
    padding:0 4px 0 8px;
    position:relative;
  }

  table.is-form > tbody > tr > td > table.is-form > tbody > tr > th /* Nested, e.g., AccountPaymentDetails control so don't pad already padded captions */
  {
    padding-left:0;
  }

  table.is-form:not(.no-collapse) > tbody > tr > th label
  {
    display:block;
    font-weight:600;
    margin-top:8px;
    padding-bottom:2px;
  }

  table.is-form:not(.no-collapse) > tbody > tr > th label.is-combobox
  {
    margin-top:0;
  }

  table.is-form:not(.no-collapse) > tbody > tr > th label.is-label-heading
  {
    display:inline-block; /* If displayed block, any 'tip' icons appear right-aligned without this */
    font-weight:bold;
  }

  table.is-form:not(.no-collapse) > tbody > tr > td
  {
    display:block;
    margin:0;
    padding:0 0 4px 8px;
    position:relative;
  }

  table.is-form:not(.no-collapse) > tbody > tr > td textarea
  {
    resize:both;
  }

  table.is-form:not(.no-collapse) > tbody > tr > td > input,
  table.is-form:not(.no-collapse) > tbody > tr > td > select
  {
    display:block;
    margin-top:4px;
    margin-left:0;
  }

  table.is-form:not(.no-collapse) > tbody > tr > td > input:first-child,
  table.is-form:not(.no-collapse) > tbody > tr > td > select:first-child
  {
    margin-top:0;
  }

  table.is-form > tbody > tr > td > table.is-form > tbody > tr > td
  {
    padding-left:0;
  }
}


/*
=================
Form Actions Menu
=================
*/
.is-form-actions-menu {
  /* Background overlay */
  background-color:rgba(0, 0, 0, 0.75);
  bottom:0;
  left:0;
  position:absolute;
  right:0;
  top:0;
  z-index:8; /* Just below Modal forms */

  /* Menu container */
  > div {
    background-color:#ffffff;
    //border:1px solid darken(desaturate(@MODAL_HEADING_BGCOLOUR, 15%), 10%);	
    border: 1px solid #a7a7a7;
    border-radius:12px;
    bottom:8px;
    height:96%;
    left:8px;
    margin-left:auto;
    margin-right:auto;
    margin-top:auto;
    margin-bottom:auto;
    max-width:800px;
    max-height:1024px;
    overflow:hidden;
    position:absolute;
    right:8px;
    top:8px;
    width:75%;

    /* Showing animation */
    transition:all 0.2s ease-in-out;
    &.showing {
      opacity:0;
      transform:scale(0.8);
    }

    /* Inner container for scrolling */
    > div {
      bottom:0;
      left:0;
      overflow:auto;
      position:absolute;
      top:34px;
      right:0;
      -webkit-overflow-scrolling:touch;

      /* Actions list */
      > ul {
        display:block;
        list-style:none;
        margin:0;
        padding:8px;

        /* Action item */
        > li {
          /* Group heading */
          &.heading {
            //color:@THEME_BGCOLOUR_CONTRAST;
            color: #d24726;
            border-bottom:1px solid;
            font-size:15px;
            font-weight:bold;
            margin-bottom:4px;
            margin-top:8px;
            padding:4px 4px 4px 0;

            &:first-child {
              margin-top:0;
            }

            &.is-filtered-out-category-visible {
              display:list-item !important;
              font-size:12px !important;
              opacity: 1 !important;
            }
          }

          /* Record actions are formatted differently */
          &.record-action {
            display:inline-block;
            min-width:80px;

            > button {
              border-bottom:none;

              & span {
                line-height:20px;
              }
            }

            &[fincc_actionid="FormDetails"] {
              float:right;

              > button > span {
                color:navy;
                font-size:10px;
              }
            }
          }

          /* Hide "Record" heading */
          &.heading.record-action {
            display:none;
          }

          /* Action */
          > button {
            background-color:transparent;
            border:none;
            border-bottom:1px solid rgba(0, 0, 0, 0.05);
            color:#404040;
            cursor:pointer;
            display:block;
            font-size:13px;
            height:32px;
            outline:none;
            text-align:left;
            width:100%;

            &:hover {
              background-color:rgba(0, 0, 0, 0.075);
            }

            small {
              color:rgba(0,0,0,0.5);
              font-size:12px;
            }

            i {
              border-radius:2px;
              display:inline-block;
              font-size:10px;
              font-style:normal;
              color:rgba(0,128,0,0.6);
              padding:2px;
            }

            &:disabled {
              color:#a0a0a0;
              cursor:not-allowed;

              > img {
                opacity:0.5;
              }
            }

            /* Icon */
            > img {
              height:16px;
              margin-right:8px;
              vertical-align:middle;
              width:16px;
            }
          }

          /* Custom/ Customised Action (will help troubleshoot if we can easily identify customised actions */
          &.custom > button {
            color: navy;

            &::after {
              background-color:rgba(0,0,200,0.15);
              border-radius:4px;
              content:" ";
              height:8px;
              margin-top:5px;
              position:absolute;
              right:14px;
              width:8px;
            }
          }
        }
      }
    }

    /* Caption */
    > div.caption {
      //background-color:darken(desaturate(@MODAL_HEADING_BGCOLOUR, 15%), 10%);
      background-color: hotpink;
      border-bottom:1px solid #D2D2D2;
      color:white;
      font-size:18px;
      font-weight:normal;
      height:34px;
      line-height:34px;
      left:0;
      overflow:hidden;
      padding:0 40px 0 8px;
      position:absolute;
      right:0;
      text-align:left;
      top:0;

      /* Filter textbox */
      > input {
        background-color:rgba(0,0,0,0.3);
        border:1px solid rgba(0, 0, 0, 0.1);
        border-radius:8px 8px 0 0;
        color:white;
        line-height:20px;
        padding:4px;
        position:absolute;
        width:100%;
        left:0;
        top:0;
        bottom:0;
        right:0;

        &::-webkit-input-placeholder {
          color:rgba(255,255,255,0.5);
          font-weight:normal !important;
        }
        &::-moz-placeholder {
          color:rgba(255,255,255,0.5);
          font-weight:normal !important;
        }

        &:focus {
          background-color:rgba(0,0,0,0.5);
        }
      }

      /* Close button */
      > a {
        color:rgba(255,255,255,0.6);
        cursor:pointer;
        position:absolute;
        top:0;
        right:8px;
        z-index:100;

        > span:before
        {
          font-size:18px;
          font-weight:normal;
        }

        &:hover
        {
          color:rgba(255,255,255,1);
        }
      }
    }
  }
}



/*
================
Dashboard Layout
================
*/
div.is-dashboard-container
{
  display:flex;
  flex-flow:column nowrap;
  overflow:hidden;
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
}

div.is-dashboard-container > .heading
{
  background-color:rgba(0,0,0,0.09);
  border-bottom:1px solid rgba(0,0,0,0.05);
  flex: 0 auto;
  padding:4px 4px 0 4px;
  position:relative;
}

div.is-dashboard-container > .heading > h1:first-child,
div.is-dashboard-container > .heading > div:first-child > h1:first-child
{
  margin:0 0 2px 0;
}

div.is-dashboard-container > .column-container
{
  display:flex;
  flex: 1 auto;
  flex-flow:row nowrap;
  position:relative;
}

div.is-dashboard-container > .column-container > .column
{
  border-left:4px solid rgba(0,0,0,0.1);
  display:flex;
  flex: 1 auto;
  flex-flow:column nowrap;
  position:relative;
}
div.is-dashboard-container > .column-container > .column.first
{
  border-left:none;
}

div.is-dashboard-container > .column-container > .column > div > h1:first-child,
div.is-dashboard-container > .column-container > .column > div > h2:first-child
{
  margin-top:0;
}

div.is-dashboard-container > .column-container > .column > .panel
{
  background-color:white;
  border-top:4px solid rgba(0,0,0,0.1);
  display:flex;
  flex-direction:column;
  overflow:auto;
  padding:0;
  position:relative;
  flex: 1 auto;
  flex-grow: 1;

  -webkit-overflow-scrolling:touch;
}
div.is-dashboard-container > .column-container > .column > .panel.first
{
  border-top:none;
}
div.is-dashboard-container > .column-container > .column > .panel > div:first-child
{
  padding-top:0 !important;
}
div.is-dashboard-container > .column-container > .column > .panel > div > h1:first-child,
div.is-dashboard-container > .column-container > .column > .panel > div > h2:first-child
{
  margin-top:0;
}

div.is-dashboard-container > .column-container > .column > .panel > div.panel-heading
{
  flex-grow:0;
  padding:4px !important;
}

div.is-dashboard-container div.panel-heading h1:first-child,
div.is-dashboard-container div.panel-heading h2:first-child
{
  margin:0;
}

div.is-dashboard-container > .column-container > .column > .panel > div.panel-body
{
  flex: 1 auto;
  position:relative;
}

div.is-dashboard-container > .column-container > .column > .panel > div.panel-body.align-center
{
  display:flex;
  justify-content:center;
}
div.is-dashboard-container > .column-container > .column > .panel > div.panel-body.align-center > div
{
  flex-grow:0;
  flex-shrink:0;
}

div.is-dashboard-container > .column-container > .column > .panel > .panel-zoom
{
  background-color:rgba(0,0,0,0.2);
  border-radius:11px;
  color:white;
  cursor:pointer;
  width:22px;
  height:22px;
  line-height:22px;
  position:absolute;
  right:2px;
  text-align:center;
  top:2px;
  z-index:999;
}
div.is-dashboard-container > .column-container > .column > .panel > .panel-zoom::before
{
  font-size:12px;
  font-family:isse; font-weight:normal; content:"\E8AD";
}
div.is-dashboard-container > .column-container > .column > .panel > .panel-zoom:hover
{
  background-color:rgba(0,0,0,0.5);
}
div.is-dashboard-container > .column-container > .column > .panel.zoomed > .panel-zoom
{
}
div.is-dashboard-container > .column-container > .column > .panel.zoomed > .panel-zoom::before
{
  content:"\E92C";
}

div.is-dashboard-container > .column-container > .column > .panel.zooming
{
  border:1px solid rgba(0,0,0,0.2);
  box-shadow:1px 2px 8px 2px rgba(0, 0, 0, 0.25);	
  position:fixed;
  margin:auto;
  width:25%;
}

div.is-dashboard-container > .column-container > .column > .panel.zoomed
{
  border:none;
  height:100% !important;
  max-height:100% !important;
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  width:100%;
  z-index:9999; /* Ensure we're in front of any sticky grid headers */

  transition:all ease 0.25s;
}

@media print {
  div.is-dashboard-container > .column-container > .column > .panel > .panel-zoom
  {
    display:none;
  }
}

/*
====
Grid
====
*/
div.is-grid-container {
  display:inline-block;
  display:flex; display:-webkit-box; display:-webkit-flex;
  flex-direction:column; -webkit-flex-direction:column;
  position:relative;
  flex:auto; /* FUDGE: Make this flex otherwise Chrome does not fill to 100% height of non-modal body*/

  /* Search Box */
  & > div.is-grid-search {
    height:28px;
    min-height:28px;
    flex-grow:0;

    &.hidden {
      display:none;
    }

    > span > input {
      font-size:13px !important;
      line-height:20px !important;
      padding-bottom:0 !important;
      padding-top:0 !important;
    }
  }
}

div.is-grid {
  background-color:#B6B6B6;
  display:inline-block;
  flex:1 100%; -webkit-flex:1 100%;
  overflow-x:auto;
  position:relative;
  -webkit-overflow-scrolling:touch;

  /* FUDGE: Make this flex otherwise Chrome does not fill to 100% height of non-modal body*/
  flex:auto;
}

table.is-grid {
  border-collapse: collapse;
  border:1px solid #DDDDDD;
  cursor:default;
  font-size:13px;
  position:relative;
  width: 100%;
}

table.is-grid a,
table.is-grid a:visited
{
  color:#0645AD;
  cursor:pointer;
  text-decoration:none;
}

/* Caption, i.e., the row that shows the 'hidden rows' message */
.is-grid-caption
{
  background-color: #ffffe0;
  box-shadow:0 -2px 2px rgba(0,0,0,0.125);
  color: black;
  cursor:default;
  flex: none;
  -webkit-flex: none;
  font-size: 12px;
  min-height: 1px;
  overflow:hidden;
  padding:8px 28px 8px 8px;
  position: relative;
  text-align:right;
}
.is-grid-caption .close
{
  color:rgba(0, 0, 0, 0.25);
  cursor:pointer;
  display:block;
  font-size:16px;
  line-height:24px;
  height:24px;
  position:absolute;
  text-align:center;
  top:4px;
  right:2px;
  transition:color 0.2s;
  width:22px;
}
.is-grid-caption .close:hover
{
  color:rgba(0, 0, 0, 0.5);
  transition:color 0.2s;
}

/* Invalid row message */
.is-grid-caption.invalid
{
  background-color: red;
  color: white;
  text-align:left;
  animation:pop-full 0.2s;
}
.is-grid-caption.invalid:before {
  content:"\f06a";
  font-family:isfa;
  margin-right:4px;
}

/* Grid button strip */
.is-grid-buttons
{
  background-color: #e6e6e6;
  box-shadow: 0 -2px 2px rgba(0,0,0,0.125);
  color: black;
  cursor: default;
  flex: none;
  -webkit-flex: none;
  font-size: 12px;
  min-height: 1px;
  overflow: hidden;
  padding:0;
  position: relative;
}

.is-grid-buttons > ul
{
  display:block;
  list-style:none;
  margin:2px 2px 2px 2px;
  padding:0;
}

.is-grid-buttons > ul.group {
  border:2px solid rgba(0,0,0,0.10);
  border-radius:8px;
  display:inline-block;
  padding:0;
}

.is-grid-buttons > ul > li
{
  display:inline-block;
  height:32px;
  margin:0;
  padding:0 0 0 0;
  position:relative;
  vertical-align:middle;
}

.is-grid-buttons > ul > li.system
{
  /* System buttons, e.g., refresh and actions float to the left */
  float:left;
}

.is-grid-buttons > ul > li > button
{
  border-radius:8px !important;
  height:32px;
  min-width:32px;
  margin:0;
  outline:none !important;
  width:auto;
}
.is-grid-buttons > ul > li > button:disabled
{
  filter: @filtergrayscale;
  opacity:0.5;
}
.is-grid-buttons > ul > li > button.normal
{
  background-color:#f9f9f9;
  border:1px solid #e1e1e1;
}
.is-grid-buttons > ul > li > button.normal:hover
{
  background-color:white;
  border-color:rgb(217, 217, 217);
  box-shadow:2px 2px 2px rgba(0,0,0,0.125);
}
.is-grid-buttons > ul > li > button.normal.icon
{
  background-position:center center;
  background-repeat:no-repeat;
  background-size:16px;
}
.is-grid-buttons > ul > li > button.normal.icon:not(:empty)
{
  background-position:8px center;
  padding-left:32px;
}

/* Heading Cells */
table.is-grid > thead > tr > th,
table.is-grid > tbody > tr > th
{
  background-color: #f0f0f0;
  border: 1px solid #DDDDDD;
  border-top: none;
  font-weight: 600;
  padding: 6px 4px 6px 4px;
  text-align: left;
  white-space:nowrap;
}

table.is-grid > thead > tr > th > label.is-tooltip {
  margin-left:-6px;
}

table.is-grid > thead > tr > th:first-child,
table.is-grid > tbody > tr > th:first-child
{
  border-left: none;
}

table.is-grid > thead > tr > th:last-child,
table.is-grid > tbody > tr > th:last-child
{
  border-right: none;
}

table.is-grid > thead > tr > th select
{
}

/* Sorting */
table.is-grid > thead > tr > th {
  line-height:22px;
}
table.is-grid > thead > tr > th.sortable
{
  background-clip:padding-box; /* Stops cell borders being hidden when positioned relative */
  padding-right:26px;
  position:relative;
  text-wrap:none;
}

table.is-grid > thead > tr > th.sortable > div.sorter
{
  background-color:rgba(0,0,0,0.035);
  border:1px solid rgba(0,0,0,0.05) !important;
  border-radius:2px;
  cursor:pointer;
  height:22px;
  line-height:22px;
  font-family:isfa !important;
  float:right;
  margin-right:-23px;
  /*margin-bottom:-2px;*/
  overflow:hidden;
  text-align:center;
  width:20px;
}

table.is-grid > thead > tr > th.sortable > div.sorter:after
{
  color:rgba(0,0,0,0.15);
  font-family:isfa !important;
  font-size:11px;
  font-weight:normal !important;
  content:"\f063";
  text-align:center;
}
table.is-grid > thead > tr > th.sortable > div.sorter:hover
{
  background-color:rgba(0,0,0,0.1);
}
table.is-grid > thead > tr > th.sortable.sorted > div.sorter:after
{
  font-weight:normal !important;
  color:rgba(0,0,0,0.85);
}
table.is-grid > thead > tr > th.sortable.sorted.sorted-desc > div.sorter:after
{
  content:"\f062";
}
table.is-grid > thead > tr > th.sortable.sorted > div.sorter,
table.is-grid > thead > tr > th.sortable.sorted > div.sorter:hover
{
  background-color:rgba(0,0,0,0.35);
}
table.is-grid > thead > tr > th.sortable.sorted > div.sorter:after
{
  color:rgba(255,255,255,0.85) !important;
}

/* Column Selectable */
table.is-grid > thead > tr > th.selectable
{
  color:navy;
  cursor:pointer;
}
table.is-grid > thead > tr > th.selectable:hover
{
  background-color: #e8e8e8;
}

table.is-grid > thead > tr > th.selected
{
  background-color:#efffef;
}

table.is-grid > tbody > tr > td.selected
{
  background-color:#efffef;
  border-color:#D7E5D7;
}
table.is-grid > thead > tr > th.selected:hover
{
  background-color:#dfffdf;
}

table.is-grid > tbody > tr:not(.is-sel).new > td.rowselector {
  background-color:#CEF2CE;
}
table.is-grid > tbody > tr > td.rowselector > span.is-checkbox > label:before
{
  background-color:white !important;
  border-radius:99px !important;
}
table.is-grid > thead > tr > th.rowselector > span.is-checkbox > label:before
{
  border-radius:99px !important;
}
table.is-grid > tbody > tr.is-sel.new > td.rowselector {
  background-color:#359499;
}
table.is-grid > tbody > tr > td.rowselector.icon {
  background-repeat:no-repeat;
  background-position: right 4px center;
  background-size:12px;
  padding-right:20px;  
}

table.is-grid > tbody > tr.is-sel > td.selected
{
  background-color:#4C7E99 !important;
}

table.is-grid > tbody > tr.is-sel > td.is-sel
{
  background-color:#5A92BC;
  box-shadow:inset 0 0 0 2px #FFE0E0;
}
table.is-grid > tbody > tr.is-sel > td.is-sel:last-child
{
  border-right:1px; /* Prevent horizontal scroll bars when last column is selected and grid is full width */
}
table.is-grid > tbody > tr.is-sel > td.is-sel.editable
{
  box-shadow:inset 0 0 0 2px limegreen;
  background-color:#3B978E;
}

/* Row Selectors */
table.is-grid > thead > tr > th.rowselector
{
  max-width:30px;
  width:30px;
}

table.is-grid > tbody > tr > td.rowselector,
table.is-grid > thead > tr > th.rowselector
{
  border-right-width:1px;
  font-size:0.9em !important;
}

table.is-grid > tbody > tr > td.rowselector
{
  background-color: #f0f0f0;
  background-repeat:no-repeat;
  background-size:16px;
  background-position:center center;
  min-width:20px;
  /*width:24px;*/
  font-size:9px;
  white-space:nowrap;
}

table.is-grid > tbody > tr > td.rowselector > span.rownumber
{
  color:navy;
  display:inline-block;
  font-size:9px;
  height:20px;
  padding-top:3px;
  vertical-align:top;
}

table.is-grid > tbody > tr > td.rowselector > span.is-checkbox
{
  display:inline-block;
  margin:0 2px 0 0;
  color:red !important;
}
table.is-grid > tbody > tr > td.rowselector > span.is-checkbox > label
{
  line-height:20px;
  height:20px;
  margin-left:0;
  transform: scale(0.75, 0.75);
  border:none !important; /* Cancel out focus rectangle */
}
table.is-grid th.rowselector > span.is-checkbox > label
{
  transform: scale(0.75, 0.75);
}

table.is-grid > thead > tr > th[rowspan='2'].rowselector > span.is-checkbox > label
{
  margin-top:2px !important;
  vertical-align:top;
}

table.is-grid:not(.report) > tbody > tr.row-selected
{
  background-color:#ffffcc !important;
}
table.is-grid.report > tbody > tr.row-selected
{
  background-color:LightCyan !important;
}

/* Data Cells */
table.is-grid > tbody > tr > td
{
  border: 1px solid #DDDDDD;
  padding: 4px;

  /* Prevent line break */
  &.nobreak {
    white-space:nowrap;
  }
}

table.is-grid > tbody > tr > td:first-child
{
  border-left: none;
}

table.is-grid > tbody > tr > td:last-child
{
  border-right: none;
}

table.is-grid > tbody > tr > td.small
{
  font-size:10px;
}
table.is-grid > tbody > tr > td.strike
{
  text-decoration:line-through;
}

table.is-grid > tbody > tr > td.readonly {
  background-color: #fff0f0;
}

table.is-grid > tbody > tr > td.notapplicable
{
  background: repeating-linear-gradient(45deg, #fff8f8, #fff8f8 5px, #ffe8e8 5px, #ffe8e8 10px);
}
table.is-grid > tbody > tr.is-sel > td.notapplicable {
  background: repeating-linear-gradient(45deg, #5C8EA9, #5C8EA9 5px, #4C7E99 5px, #4C7E99 10px);
}

table.is-grid > tbody > tr > td > span.blanktip {
  color:rgba(0,0,0,0.5);
  font-style:italic;
  font-size:12px;
}

/* Footer Cells */
table.is-grid tr.is-row-footer,
table.is-grid tr.is-row-footer-bold,
table.is-grid tr.is-row-footer>td,
table.is-grid tr.is-row-footer>th,
table.is-grid tr.is-row-footer-bold>td,
table.is-grid tr.is-row-footer-bold>th
{
  background-color:#FFE5BF;
}

table.is-grid tr.is-row-footer-bold,
table.is-grid tr.is-row-footer-bold>td,
table.is-grid tr.is-row-footer-bold>th
{
  font-weight:bold;
}

table.is-grid > tfoot > tr:not(.actions-list) > td
{
  padding: 6px 4px 6px 4px;
}

/* Row Striping */
table.is-grid > tbody > tr:nth-child(even)
{
  background-color:#f8f8f8;
}

table.is-grid > tbody > tr:nth-child(odd)
{
  background-color:white;
}

/* Group Heading */
table.is-grid > tbody > tr.group-heading > th,
table.is-grid > tbody > tr.group-heading > td
{
  background-color:#DDDDDD;
  border-bottom:2px solid #BBBBBB;
  border-top:2px solid #BBBBBB !important;
  color:navy;
  font-weight:bold;
}

/* Group Header */
table.is-grid tr.group-header
{
  background-color: #dddddd;
  color: #0000A0;
  font-weight: bold;
  font-size:13px;
}
table.is-grid tr.group-header > td
{
  background-color: #dddddd;
  box-shadow:0 0 0 1px rgba(0,0,0,0.1) inset;
  padding:4px 4px 4px 8px;
  position:relative;

  > div.group-header {
    display:flex;
    flex-direction:row;
    align-content:stretch;

    > div.caption {
      flex-grow:1;
      overflow:hidden;

      > div.count {
        display:inline-block;
        font-size:10px;
        font-weight:normal;
        margin-left:8px;
      }
    }

    > div.collapse-expand {
      cursor:pointer;
      flex-grow:0;
      transform-origin:50% 50%;
      transition:all ease-in-out 0.15s;

      &::before {
        font-family:isse;
        font-weight:normal;
        content:"\E010";
        font-weight:bold;
      }

      &.collapsed {
        transform:rotate(-180deg);
      }
    }
  }
}


table.is-grid tr.group-collapsed
{
  display:none;
  visibility:hidden;
}

/* Invalid Row */
table.is-grid > tbody > tr.invalid > td {
  color: red !important;
}
table.is-grid > tbody > tr.invalid > td {
  position:relative;
}
table.is-grid > tbody > tr.invalid > td:first-child:before {
  position:absolute;
  width:12px;
  height:12px;
  right:0;
  color:red;
  content:"\f06a";
  font-family:isfa;
  font-size:12px;
  vertical-align:middle;
  z-index:10;
  top:calc(50% - 5px);
}

/* Selected (active) Row */
table.is-grid > tbody > tr.is-sel > td
{
  background-color:#5B9DCC !important;
  color:white !important;
}

/* Footer Row */
table.is-grid > tbody > tr.footer > td.selected
{
  background-color:#F0F2D0 !important;
  /*color:blue !important;*/
}

/* Special Columns */
td.is-grid-col-boolean-true
{
  color:green;
  font-weight:bold;
  font-size:1.25em;
  line-height:1px;
}

td.is-grid-col-boolean-false
{
  color:red;
}

table.is-grid > tbody > tr > td[data-type='code'] > a,
a.is-grid-link
{
  background-color:rgba(0, 0, 0, 0.035);
  border:1px solid rgba(0, 0, 0, 0.075);
  border-radius:4px;
  color:#0645AD;
  text-decoration:none;
}
table.is-grid > tbody > tr > td[data-type='code'] > a:hover
{
  background-color:rgba(0, 0, 0, 0.1);
}
table.is-grid > tbody > tr.is-sel > td[data-type='code'] > a
{
  color:white !important;
}

table.is-grid > tbody > tr > td span.legend
{
  border:1px solid rgba(0,0,0,0.1);
  display:inline-block;
  height:20px;
  margin-right:8px;
  width:8px;
  vertical-align:middle;
}

table.is-grid a.is-drilldown-button
{
  background:#fff;
  border:1px solid #e6e6e6;
  border-radius:12px;
  color:#606060;
  cursor:pointer;
  display:block;
  height:20px;
  margin:0;
  min-width:20px;
  min-height:20px;
  outline:none;
  padding:0 4px 0 4px;
  text-decoration:none;
  vertical-align:baseline;
  width:20px;
}
table.is-grid a.is-drilldown-button:empty:before { content: "..."; }
table.is-grid a.is-drilldown-button.icon
{
  background-color:rgba(0,0,0,0.05);
  border:1px solid rgba(0,0,0,0.1);
  border-radius:8px;
  width:24px;
  height:24px;
}
table.is-grid a.is-drilldown-button.icon > img {
  width:16px;
  height:16px;
  position:relative;
  margin-left:-1px;
  margin-top:3px;
}
table.is-grid a.is-drilldown-button.breakdown
{
  color:#808080;
  vertical-align:bottom;
  line-height:24px;
  width:24px;
  height:24px;
}
table.is-grid a.is-drilldown-button.add:before { font-family:isse; font-weight:normal; content:"\E109"; font-size:11px}
table.is-grid a.is-drilldown-button.breakdown:before { font-family:isse; font-weight:normal; content:"\E179"; font-size:14px}
table.is-grid a.is-drilldown-button:hover
{
  background:#e6e6e6;
  border:1px solid #ccc;
  text-decoration:none
}

/* Small Row */
table.is-grid > tbody > tr.small
{
  font-size:10px;
}

/* Strikethrough Row (but not drilldown button) */
table.is-grid > tbody > tr.strike td:not(.is-grid-col-drilldown)
{
  text-decoration:line-through;
}

/* Inactive Row */
table.is-grid > tbody > tr.inactive
{
  color:rgba(0, 0, 0, 0.45);
}

/* Hidden Row */
table.is-grid > tbody > tr.hidden
{
  display:none;
  visibility:hidden;
}

/* Hidden Cell (by Grid Script code) */
table.is-grid > tr > th.cellhidden,
table.is-grid > tr > td.cellhidden,
table.is-grid > thead > tr > th.cellhidden,
table.is-grid > thead > tr > td.cellhidden,
table.is-grid > tbody > tr > th.cellhidden,
table.is-grid > tbody > tr > td.cellhidden,
{
  display:none !important;
  visibility:hidden !important;
}

/* Special styles */
table.is-grid.report > tbody > tr.is-sel td
{
  background-color:yellow !important;
  color:black !important;
}
table.is-grid.report > tbody > tr.is-sel td.selected
{
  background-color:#F0FF70 !important;
  color:black !important;
}

/* Sticky headers */
div.is-grid-container.is-sticky-header
{
  background-color:#B6B6B6;
  border:1px solid #DDDDDD;
}
div.is-grid-container.is-sticky-header.docked {
  max-height:100%;
  min-height:100%;
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
}
div.is-grid-container.is-sticky-header > div.is-grid > table {
  border:none;
}
div.is-grid-container.is-sticky-header > div.is-grid > table > thead > tr > th,
div.is-grid-container.is-sticky-header > div.is-grid > table > thead > tr > td {
  background-color:#e0e0e0;
  border:none !important;
  position:sticky;
  position:-webkit-sticky;
  top:0;
  //opacity:0.925;
  box-shadow: inset 0 0 2px rgba(0,0,0,0.2);
  z-index:1; /* Prevent row selector checkboxes and group headers from overlaying header */
}

/* Legacy sticky-header support (for versions prior to 3.02.01 and for IE support) */
div.is-grid-container.is-legacy-sticky-header {
  background-color:#B6B6B6;
  position:absolute;
  left:0;
  right:0;
  top:0;
  bottom:0;
  /*overflow:auto;*/
  overflow:hidden;
}
div.is-grid-container.is-legacy-sticky-header div.is-sticky-header-wrapper {
  z-index:1;
  position:absolute;
  box-shadow:0 2px 2px rgba(0,0,0,0.05);
  display:block;
  overflow:hidden;
}
div.is-grid-container.is-legacy-sticky-header table.is-sticky-header {
  border:none;
  position:relative;
}

/* Footer Buttons */
table.is-grid > tfoot > tr.actions-list > td {
  background-color:#e6e6e6 !important;
  padding:2px;
}

table.is-grid > tfoot > tr.actions-list > td > ul.actions-list {
  padding:0;
  margin:0;
}

table.is-grid > tfoot > tr.actions-list > td > ul.actions-list > li {
  background-color:#f9f9f9;
  border:1px solid #e1e1e1;
  border-radius:0;
  height:32px;
  min-width:32px;

  &:hover {
    background-color:white;
    border-color:rgb(217, 217, 217);
  }

  &.icon:empty {
    background-position-x:8px;
  }
}

div.is-grid-container.is-sticky-header table.is-grid > tfoot
{
}
div.is-grid-container.is-sticky-header table.is-grid > tfoot > tr.actions-list
{
  background-color:#e6e6e6 !important;
  margin-left:-1px;
  position:fixed;
}

/* Template Row */
div.is-grid-container.has-add-row table:not(.is-sticky-header).is-grid {
  margin-bottom:100px;
}
table.is-grid tr.templaterow {
}
table.is-grid tr.templaterow > td {
  background-color:#e0e0e0;
}
table.is-grid tr.templaterow > td.rowselector {
  background-color:#d0d0d0;
}
table.is-grid tr.templaterow > td > span.templaterow {
  display:block;
}
table.is-grid tr.templaterow > td > span.templaterow:before {
  content: "*";
  font-size: 14px;
}

/* Other */
div.is-grid-container.is-sticky-header table.is-grid:not(.is-sticky-header)
{
  min-width:100%; /* Ensure grid fills container */
}

div.is-grid-container div.grid-cell-editor {
  background-color:white;
  border:2px solid limegreen;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}
div.is-grid-container div.grid-cell-editor input {
  font-size:0.85em !important; /* Shrink text so that dates etc fit when editing */
  padding:1px 2px 1px 1px !important;
}

div.is-grid-container div.grid-cell-editor span[controltype='numberbox'] {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}
div.is-grid-container div.grid-cell-editor span[controltype='numberbox'] > input {
  border-radius:0 !important;
  border:none !important;
  box-shadow:none !important;
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100% !important;
  max-height:unset !important;
}

/* GRID STYLE: Form */
/* TODO: Remove since not used. Just left here for reference for now - also, remove "form" style from grid widget control */
div.is-grid-container.form {

  table.is-grid.form {

    > tbody > tr {
      > td {
        background-color:#fafafa;
        border:none !important;
        color:black !important;
        padding:12px !important;
        border-bottom:1px solid rgba(0,0,0,0.1) !important;
        box-shadow:none !important;
      }

      &.is-sel {
        > td {
          background-color:white;
          position:relative;

          &:before {
            content: " ";
            position:absolute;
            top:4px;
            left:4px;
            bottom:4px;
            right:4px;
            border:1px solid rgba(0,0,0,0.1);
          }

          &.is-sel:before {
            border:1px solid rgba(0,0,0,0.25) !important;
          }
        }
      }

      &:hover {
        > td {
          /* https://cssgradient.io/ */
          background: linear-gradient(0deg, rgba(240,240,240,1) 0%, rgba(255,255,255,1) 25%, rgba(255,255,255,1) 75%, rgba(240,240,240,1) 100%);
          position:relative;

          &.editable:not(.is-grid-col-boolean):before {
            content: " ";
            position:absolute;
            top:4px;
            left:4px;
            bottom:4px;
            right:4px;
            border:1px solid rgba(0,0,0,0.1);
          }
        }
      }
    }

  }

}


/*
====================================================
Grid (Widget Report extension)

NOTE: For tables not using the widget.UI.Grid object
====================================================
*/
table.is-widget-report td.negative
{
  color:red;
}

table.is-widget-report td.small
{
  font-size:0.85em;
}

table.is-widget-report tr.selected > td
{
  background-color:yellow;
}

table.is-widget-report td.col-selected
{
  background-color:#efffef;
}

table.is-widget-report thead > tr > th.col-selected
{
  background-color:#C6D3C6;
}

table.is-widget-report tr.selected > td.col-selected
{
  background-color:#F0FF70;
}

table.is-widget-report tfoot > tr > td.col-selected
{
  background-color:#F0F2D0;
}

table.is-widget-report > thead > tr > th > a
{
  color:navy;
  cursor:pointer;
  /*border-bottom:1px dotted navy;*/
  text-decoration:none;
}
table.is-widget-report > thead > tr > th > a:hover
{
  color:navy;
  text-decoration:none;
}


/*
=======
Actions
=======
*/
ul.actions-list
{
  list-style:none;
  margin:8px 0 8px 0;
  padding:0;
}

ul.actions-list > li
{
  display:inline-block;
  background-color:rgba(0,0,0,0.075);
  border:1px solid rgba(0,0,0,0.1);
  border-radius:3px;
  color:black !important;
  cursor: pointer;
  font-size:11px;
  height:21px;
  line-height:11px;
  margin-right:4px;
  overflow-y:hidden;
  padding:4px;
  text-decoration:none !important;
  vertical-align:middle;
}

ul.actions-list > li.icon
{
  background-repeat:no-repeat;
  background-position:4px center;
  background-size:16px 16px;
  padding-left:24px;
}
ul.actions-list > li.icon:empty
{
  padding-right:0;
}

ul.actions-list > li.selected
{
  background-color:#5B9DCC !important;
  color:white !important;
}

ul.actions-list > li:hover
{
  background-color:rgba(0,0,0,0.1);
  border:1px solid rgba(0,0,0,0.15);
}



/* 
======================================================
Tabs
======================================================
*/
div.is-tabs
{
  width:100%;

  /* Bookmark */
  > ul > li.bookmark {
    background:url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjUxMnB4IiBoZWlnaHQ9IjUxMnB4Ij4NCjxwYXRoIGQ9Ik05NiwwdjUxMmwxNjAtMTYwbDE2MCwxNjBWMEg5NnogTTM4NCw0MzQuNzQ1bC0xMjgtMTI4bC0xMjgsMTI4VjMyaDI1NlY0MzQuNzQ1eiIgZmlsbD0iIzAwMDAwMCIgZmlsbC1vcGFjaXR5PSIwLjI1Ii8+DQo8L3N2Zz4NCg==") no-repeat right top;
    background-size:24px 24px;
    cursor:pointer;
    height:32px;
    float:right;

    &[bookmarked="true"] {
      background-image:url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjUxMnB4IiBoZWlnaHQ9IjUxMnB4Ij4NCjxwb2x5Z29uIHBvaW50cz0iOTYsMCA5Niw1MTIgMjU2LDM1MiA0MTYsNTEyIDQxNiwwIiBmaWxsPSIjQ0M0QzMzIi8+DQo8L3N2Zz4NCg==");
    }

    &.disabled {
      cursor:not-allowed;
    }
  }
}

/*
-------------------
Tabs in form header
-------------------
*/

/* Tabs (within a page, not in form header - similar to the 'slider' style in finCC) */
div.is-tab-page div.is-tabs {
  display:block;
  padding:0;
  margin:0 8px 2px 0;
}
div.is-tab-page div.is-tabs > ul {
  background-color:white;
  border-radius:8px;
  box-shadow:2px 2px 2px rgba(0,0,0,0.175);
  display:inline-flex;
  align-items:center;
  height:32px;
  list-style:none;
  padding:0 !important;
  position:relative;
  max-width:100%;
  margin:0 !important;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  white-space:nowrap;
}
div.is-tab-page div.is-tabs > ul > li {
  cursor:pointer;
  font-size:11px;
  line-height:32px;
  margin:0 !important;
  min-width:32px;
  text-align:center;
  text-transform:uppercase;
  padding: 0 12px 0 12px;
}
div.is-tab-page div.is-tabs > ul > li.selected {
  background-color: #5B9DCC;
  color:white;
  animation: pop 0.1s;
}


/* In form header */
div.is-widget-form-header
{
}

div.is-widget-form-header div.is-tabs,
div.is-widget-form > header > div.is-tabs
{
  box-shadow:0px 2px 6px 0px rgba(0,0,0,0.25);
  position:relative;
  z-index:2;
}

div.is-widget-form-header div.is-tabs ul,
div.is-widget-form > header > div.is-tabs ul
{
  display:block;
  list-style:none;
  margin:0 0 0 0;
  padding:0;
  max-height:72px; /* About 2 rows of tabs can be visible before scrolling */
  overflow-y:auto;
  width:100%;

  -webkit-overflow-scrolling:touch;
  -webkit-touch-callout:none;
  -webkit-user-select:none;
  -khtml-user-select:none;
  -moz-user-select:none;
  user-select:none;
}
div.is-widget-form > header > div.header + div.is-tabs > ul,
div.is-widget-form > header > div.summary + div.is-tabs > ul
{
  border-top:1px solid rgba(0, 0, 0, 0.075);
}

div.is-widget-form-header div.is-tabs > ul > li,
div.is-widget-form > header > div.is-tabs > ul > li
{
  color:rgba(0, 0, 0 , 0.9);
  cursor:pointer;
  display:inline-block;
  font-size:13px;
  font-weight:normal;
  /*padding:8px;*/
  padding:0 8px 0 8px;
  line-height:32px;
  height:32px;
  overflow:hidden;
  transition:background-color 0.1s;
  vertical-align:middle;
  white-space:nowrap;

  &.icon {
    background-repeat:no-repeat;
    background-position:6px center;
    background-size:16px;
    padding-left:26px;
  }
}
div.is-widget-form-header div.is-tabs > ul > li.custom,
div.is-widget-form > header > div.is-tabs > ul > li.custom
{
  color:#808040;
}
div.is-widget-form-header div.is-tabs > ul > li:not(.disabled):hover,
div.is-widget-form > header > div.is-tabs > ul > li:not(.disabled):hover
{
  background-color:rgba(0, 0, 0, 0.075);
  color:rgba(0, 0, 0 , 0.95);
}
div.is-widget-form-header div.is-tabs > ul > li.selected,
div.is-widget-form > header > div.is-tabs > ul > li.selected
{
  background-color: #5B9DCC;
  color:white;
  font-weight:500;
  transition:background-color 0.1s;
}
div.is-widget-form-header div.is-tabs > ul > li.selected:hover,
div.is-widget-form > header > div.is-tabs > ul > li.selected:hover
{
  background-color: #5B9DCC;
  color:white;
}
div.is-widget-form-header div.is-tabs > ul > li.disabled,
div.is-widget-form > header > div.is-tabs > ul > li.disabled
{
  color:rgba(0, 0, 0 , 0.35);
  cursor:not-allowed;
}
/*div.is-widget-form > header > div.is-tabs ul > li > img
{
  border:none;
  vertical-align:middle;
}*/

div.is-tabs > ul > li > div.is-symbol
{
  font-size:1.2em;
  /*font-size:1.2em;
  line-height:18px;
  height:18px;
  overflow:hidden;
  width:18px;
  margin-bottom:-4px;
  margin-top:-2px;
  margin-right:-2px;
  max-height:100%;*/
}
div.is-tabs > ul > li > div.is-symbol.is-symbol-bookmark
{
  font-size:1.3em;
  /*margin-right:-8px;*/
}

/* Responsive (scroll tabs horizontally) */
@media screen and (max-width:640px)
{
  div.is-tabs > ul
  {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
  }

  div.is-tabs ul > li
  {
    display:inline-block;
  }
}


/* Tab Page (hidden by default) */
div.is-tab-page
{
  display:none;
  height:100%;
  min-height:100%;
}

/*
-----------------------------------------
Tab page transitions (mainly for Portals)
-----------------------------------------
*/
.is-tabs-page-transition-container {
  display:block;
  position:relative;
  overflow:hidden;
}

.is-tabs-page-transition-container > div.is-tab-page {
  position:relative;
  width:100%;
}

/* Slide */
.is-tabs-page-transition-container > div.is-tab-page.slide {
  top:0;
}
.is-tabs-page-transition-container > div.is-tab-page.slide-in-from-right {
  animation:tab-slide-right-to-left .5s;
  z-index:2;
}
.is-tabs-page-transition-container > div.is-tab-page.slide-in-from-left {
  animation:tab-slide-left-to-right .5s;
  z-index:2;
}
.is-tabs-page-transition-container > div.is-tab-page.slide-out-to-right {
  animation:tab-slide-out-to-right .5s;
  position:absolute;
  z-index:1;
}
.is-tabs-page-transition-container > div.is-tab-page.slide-out-to-left {
  animation:tab-slide-out-to-left .5s;
  position:absolute;
  z-index:1;
}


@keyframes tab-slide-right-to-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(0); }
}
@keyframes tab-slide-left-to-right {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

@keyframes tab-slide-out-to-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
@keyframes tab-slide-out-to-right {
  0% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}


/* 
======================================================
Buttons (exclude if Bootstrap or Semantic UI buttons)
======================================================
*/
button.is-button
{
  background:white;
  border:1px solid #E6E6E6;
  border-radius:12px !important;
  color:#606060;
  display: inline-block;
  margin: 0 2px 0 2px;
  cursor: pointer;
  font-weight: normal;
  font-size: 13px;
  height: 32px;
  min-width: 80px;
  outline: none;
  padding: 0 8px 0 8px;

  -webkit-appearance:none;
  -webkit-border-radius:0px;
}
button.is-button:hover
{
  background:#E6E6E6;
  border:1px solid #CCCCCC;
}
button.is-button:active
{
  position:relative;
  top:1px;
}
button.is-button:focus
{
  border:1px solid #5B9DCC !important;
  box-shadow:0 0 4px 1px rgba(62,130,179,0.5); /*fadeout(#5B9DCC, 50%);*/
}
button.is-button.small
{
  background-color:rgba(0,0,0,0.05);
  border-color:rgba(0,0,0,0.1);
  border-radius:6px !important;
  font-size:11px;
  height:22px;
  line-height:20px;
  margin-bottom:0;
  margin-top:0;
  min-width:unset;
  overflow:hidden;
  vertical-align:top;
}
button.is-button.small.icon
{
  background-position:6px center;
  padding-right:6px;
  padding-left:26px;
}

button:first-child.is-button
{
  margin-left:0;
}

/* OK */
button.is-button.ok
{
  background-color:#337AB7;
  border-color:#285F8F;
  color:white;
}
button.is-button.ok:hover
{
  background-color:#285F8F;
  border-color:#1D4567;
}
button.is-button.ok:focus
{
  border:1px solid white !important;
}

/* Positive */
button.is-button.positive
{
  background-color:#27ae60;
  border-color:#229955;
  color:white;
}
button.is-button.positive:hover
{
  background-color:#229955;
  border-color:#1B7A43;
}

/* Negative */
button.is-button.danger,
button.is-button.negative
{
  background-color:#D9534F;
  border-color:#D43F3A;
  color:white;
}
button.is-button.danger:hover,
button.is-button.negative:hover
{
  background-color:#D43F3A;
  border-color:#BF2E29;
}

/* Actions */
.is-button.actions {
  background-color: #2980b9;
  border: 1px solid #2472a4;
  color: white;
  min-width: 0;
  padding: 3px 0 0 0;
  width: 32px;
  text-align:center;
  float:left;
}
.is-button.actions:before {
  font-size: 22px;
  font-family: isse;
  font-weight: normal;
  content: "\E78B";
}
.is-button.actions:hover {
  background-color: #2472a4;
  border: 1px solid #1d5c85;
}

/* Checked */
button.is-button.checked
{
  background-color:#c9c9c9 !important; /* Overridden with theme colours in widget_ui.js */
  border-color:#aFaFaF;
  color:white;
}

/* History */
button#cmdHistory.is-button
{
  background-color:rgba(0,0,0,0.075);
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDMyIDMyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAzMiAzMiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CiAgPGcgaWQ9Imljb24iPgogICAgPHBhdGggZD0iTTE2LjAyOTMsMi41NDE0YzcuNDE2OCwwLDEzLjQyOTMsNi4wMTI1LDEzLjQyOTMsMTMuNDI5M2MwLDcuNDE2OCwtNi4wMTI1LDEzLjQyOTMsLTEzLjQyOTMsMTMuNDI5M0M4LjYxMjUsMjkuNCwyLjYsMjMuMzg3NSwyLjYsMTUuOTcwN0MyLjYsOC41NTM5LDguNjEyNSwyLjU0MTQsMTYuMDI5MywyLjU0MTR6IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9IiNGRkZGRkYiLz4KICAgIDxwYXRoIGQ9Ik0xNi41NTIsMTUuMzExOWMtMC4wNTY2LC0xLjk4NjksLTAuMzk4MSwtOC40MjU3LC0wLjk5OTQsLTguNDI4MWMtMC42NjQ3LC0wLjAwMjcsLTEuMTY5Niw3Ljk2NzcsLTEuMTczNyw4Ljk5MzVjLTAuMDAyNywwLjY4MDksMC4wNDcxLDEuMTE2MywwLjM4MDcsMS4zMzM0YzAuMjA4NiwwLjI5NjUsMC42NjA0LDAuMzE4NywxLjUzMTQsMC4zMjIyYzEuMzQwMiwwLjAwNTQsOC4yNTI2LC0wLjM3MzcsOC4yNTUzLC0xLjAzODNDMjQuNTQ4OSwxNS44MzcxLDE3Ljk5MDEsMTUuMzI4LDE2LjU1MiwxNS4zMTE5eiIgZmlsbC1ydWxlPSJldmVub2RkIiBmaWxsPSIjNzk3OTc5Ii8+CiAgICA8cGF0aCBkPSJNMTYuMTU4NiwyLjAwMDljLTQuODUwNiwtMC4wNTM3LC05LjE0LDIuMzYwMiwtMTEuNjkyOCw2LjA2MzZMNi45Mzc0LDkuNzY1YzEuOTk2MiwtMi44OTU5LDUuMzQzNywtNC43ODgzLDkuMTMyNCwtNC43NjQ3YzUuOTU4MywwLjAzNywxMC44NDU2LDQuODg0MywxMC45MjkxLDEwLjg0MjFDMjcuMDg1LDIxLjk4OTcsMjIuMTI3NiwyNywxNiwyN2MtNi4wNzUxLDAsLTExLC00LjkyNDksLTExLC0xMWMwLC0wLjI2MywwLjAwOTQsLTAuNTIzNywwLjAyNzcsLTAuNzgyYzAuMDE1MiwtMC4yMTU0LC0wLjE0MTIsLTAuNDA0MywtMC4zNTU5LC0wLjQyNzJsLTIuMTg4NiwtMC4yMzM2Yy0wLjIyNDcsLTAuMDI0LC0wLjQyNDksMC4xNDI2LC0wLjQ0MjEsMC4zNjc5QzIuMDE0LDE1LjI3OTksMiwxNS42MzgzLDIsMTZjMCw3LjczMiw2LjI2OCwxNCwxNCwxNGM3Ljc2NTYsMCwxNC4wNTQ1LC02LjMyMjYsMTMuOTk5NiwtMTQuMTAwOUMyOS45NDYxLDguMjk5OCwyMy43NTc2LDIuMDg1LDE2LjE1ODYsMi4wMDA5eiIgZmlsbD0iIzRFQTE3RSIvPgogICAgPHBhdGggZD0iTTYuNCw4LjYzMDNsNS43MzY0LC0wLjAwOTljMC4yNjU2LC0wLjAwMDYsMC4zODY3LDAuMzMxMiwwLjE4MzEsMC41MDE5bC0yLjA3MzYsMS43Mzc3Yy0wLjEwOCwwLjA5MDUsLTAuMjQ0NCwwLjE0MDEsLTAuMzg1NCwwLjE0MDFIMy40Yy0wLjIyMDksMCwtMC40LC0wLjE3OTEsLTAuNCwtMC40VjQuMjc0N2MwLC0wLjE3MDgsMC4wNzI4LC0wLjMzMzUsMC4yMDAxLC0wLjQ0NzNsMS43MjY0LC0xLjU0MzRDNS4xMDk2LDIuMTIwMyw1LjQsMi4yNTAyLDUuNCwyLjQ5NTdWNy41IiBmaWxsPSIjNEVBMTdFIi8+CiAgPC9nPgo8L3N2Zz4K');
  background-repeat:no-repeat;
  background-position: 4px center;
  background-size:20px;
  border-color:rgba(0,0,0,0.1);
  font-size:12px;
  padding-left:20px;
  padding-right:2px
}
button#cmdHistory.is-button:hover
{
  background-color:rgba(0,0,0,0.1);
}

/* Flat */
button.is-button.flat {
  border:1px solid transparent;
  min-width:32px;
  width:unset;
  height:32px;
  line-height:30px;
  margin:0 !important;
  padding:0;
}
button.is-button.flat:hover {
  background-color:transparent;
  border:1px solid rgba(0,0,0,0.1);
}

/* Quick Search in DBCombo */
.dbcombo-search {
  border:none !important;
  background-color:transparent !important;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  justify-content:center;
  flex-grow:0;
  padding:0;
  margin:0;
  outline:none !important;
  width:24px;
}
.dbcombo-search:before {font-family:isse; font-weight:normal; content:"\E1A3"; width:100%;}

/*
 Special textbox styles
*/
span.is-textbox-special-search {
  position:relative;
}
span.is-textbox-special-search > input {
  padding-right:28px;
}
span.is-textbox-special-search > button.search {
  background-color:transparent;
  border:none;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:absolute;
  right:1px;
  top:1px;
  bottom:1px;
  padding:0;
  width:24px;
  text-align:center;
}
span.is-textbox-special-search > button.search:before {font-family:isse; font-weight:normal; content:"\E1A3";}

input.is-data-invalid {
  border:1px solid orange;
}

.is-textbox.is-has-table-filter-count {
  display:inline-block !important;
  padding-right:80px;
}
.is-textbox.is-has-table-filter-count::-webkit-search-decoration,
.is-textbox.is-has-table-filter-count::-webkit-search-cancel-button,
.is-textbox.is-has-table-filter-count::-webkit-search-results-button,
.is-textbox.is-has-table-filter-count::-webkit-search-results-decoration {
  display:none;
}

input[type='search'].is-textbox.is-has-table-filter-count {
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px !important;
  height: 28px !important;
}
input[type='search'].is-textbox.is-has-table-filter-count:hover {
  border: 2px solid rgba(0, 0, 0, 0.2);
}
input[type='search'].is-textbox.is-has-table-filter-count:focus {
  background-color: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(0, 0, 0, 0.2);
  box-shadow: none !important;
}
input[type='search'].is-textbox.is-has-table-filter-count::-webkit-input-placeholder {
  font-size: 11px;
}
input[type='search'].is-textbox.is-has-table-filter-count::-moz-placeholder {
  font-size: 11px;
}

/*
 Show/Hide Advanced
*/
#cmdAdvanced
{
  background-color:#ecf6f2;
  color:#3d8064;
  border:2px solid #daede5;
  font-size:12px;
  transition:all 0.2s;
}
#cmdAdvanced:before
{
  font-family:isse;
  font-size:14px;
  content:"\E745";
  position:relative;
  padding-right:3px;
  vertical-align:top;
  animation:pop-full 0.2s;
}
#cmdAdvanced:hover
{
  color:#1ABC9C;
  background-color:white;
  border-color:#D4F2EC;
}

#cmdAdvanced:focus
{
  outline:0;
}

#cmdAdvanced[showing='true']
{
  background-color:#7dc0a4;
  border-color:rgba(0,0,0,0.1);
  color:white;
}
#cmdAdvanced[showing='true']:before
{
  content:"\E747";
  animation:pop-full 0.2s;
}

body.advanced-visible tr.advanced,
body.advanced-visible tbody.advanced {
  animation:section-advanced-showing 0.5s;
  background-color:#ecf6f2;
  border-left:2px solid #5ED0BA;
}

body.advanced-visible {
  div.advanced, span.advanced {
    animation:block-advanced-showing 0.5s;
  }
}

body:not(.advanced-visible) tr.advanced,
body:not(.advanced-visible) tr.advanced th,
body:not(.advanced-visible) tr.advanced td,
body:not(.advanced-visible) tbody.advanced tr,
body:not(.advanced-visible) tbody.advanced tr th,
body:not(.advanced-visible) tbody.advanced tr td {
  display:none;
  visibility:hidden;
  font-size:0px !important;
  line-height:0 !important;
  padding:0 !important;
  margin:0 !important;
  height:0 !important;
  overflow:hidden;
  position:absolute;
}

body:not(.advanced-visible) {
  div.advanced, span.advanced {
    display:none;
  }
}


/*
 Show/Hide (e.g., advanced information)

 DEPRECATED (now uses section-show-hide-button)
*/
button.is-button.show-hide
{
  background-color:rgba(0,0,0,0.05);
  font-size:11px;
  height:23px;
  line-height:21px;
  padding-right:0;
  transition:all linear 0.2s;
}
button.is-button.show-hide:hover
{
  color:rgba(0,0,0,0.8);
}
button.is-button.show-hide:after
{
  content: "\E1FD";
  display:inline-block;
  font-family:isse;
  font-size:10px;
  margin-top:-3px;
  padding-left:4px;
  padding-right:4px;
  vertical-align:middle;

  transition:all ease-in-out 0.15s;

  width:16px;
  height:21px;
  overflow:hidden;
  
}
button[showing='true'].is-button.show-hide
{
  background-color:rgba(0,0,0,0.2);
  border-color:rgba(0,0,0,0.3);
  color:rgba(0,0,0,0.7);
  transition:all linear 0.2s;
}
button[showing='true'].is-button.show-hide:after
{
  transform-origin:50% 50%;
  transform:rotate(-180deg);
  transition:all ease-in-out 0.15s;
}


/* Icons */
button.is-button.icon
{
  background-position:4px center;
  background-repeat:no-repeat;
  background-size:16px;
  min-width:24px;
  padding-left:24px !important;
}
button.is-button.icon:empty
{
  background-position:center center;
  vertical-align:bottom;
}


button.is-button.cross:before
{
  color:darkred;
  content:"\f00d";
  font-family:isfa;
  margin-right:4px;
}

button.is-button.tick:before
{
  color:green;
  content:"\f00c";
  font-family:isfa;
  margin-right:4px;
}


/* Disabled */
button.is-button:disabled,
button.is-button:disabled:hover
{
  background-color:#f8f8f8;
  border:1px solid #E6E6E6;
  color:#a0a0a0;
  cursor:not-allowed;
}
button.is-button.icon:disabled,
button.is-button.icon:disabled:hover
{
  filter: @filtergrayscale;
  -webkit-filter: @filtergrayscale;
  filter: gray;
}

/* Responsive */
@media screen and (max-width:800px)
{
  button.is-button
  {
  }
}

@media screen and (max-width:640px)
{
  button.is-button
  {
    min-width:40px;
  }

  div.is-widget-form > footer
  {
    padding-left:4px !important;
    padding-right:4px !important;
  }

  div.is-widget-form > footer button.is-button
  {
    font-size:85%;
    margin:0;
    padding-left:4px;
    padding-right:4px;
  }

  button#cmdHistory.is-button
  {
    background-size:16px;
    background-position-x:8px;
    font-size:0;
    width:32px;
    min-width:32px;
    margin-right:4px;
  }

  button#cmdAdvanced.is-button
  {
    font-size:0;
    width:32px;
    min-width:32px;
    margin-right:4px;
    padding-left:7px;
  }
}


/*
======================================================
Button List
======================================================
*/
div.is-button-list {
  display: inline-block;

  & > h1 {

  }

  & > ul {
    list-style:none;
    margin:0;
    padding:0;

    & > li {
      margin: 0 0 4px 0;

      & > a {
        background:white;
        border:3px solid #E6E6E6;
        border-radius:4px !important;
        color:#606060;
        display: block;
        margin: 0 2px 0 2px;
        cursor: pointer;
        font-weight: normal;
        font-size: 12px;
        height: 32px;
        line-height:32px;
        outline: none;
        padding: 0 8px 0 8px;
        text-align:left;
        vertical-align:middle;

        &:hover {
          background:#E6E6E6;
          border:3px solid #CCCCCC;
        }
      }
    }

  }

}







div.is-button-list > ul > li.important > a
{
  background:#FFF4E5;
  font-weight:bold;
}

div.is-button-list > ul > li.selected > a
{
  border:3px solid #5B9DCC;
  box-shadow:2px 2px 4px rgba(0, 0, 0, 0.2);
  animation:pop 0.2s;
}

div.is-button-list.large > ul > li > a
{
  font-weight:600;
  height:28px;
  line-height:28px;
  overflow:hidden;
}

div.is-button-list.large > ul > li > a > img
{
  display:inline-block;
  width:32px;
  height:32px;
  margin:-4px 8px 0 0;
  vertical-align:middle;
}

div.is-button-list.is-readonly 
{
}

div.is-button-list.is-readonly  > ul > li:not(.selected) > a
{
  background-color: white;
  color:#808080;
}

div.is-button-list.is-readonly  > ul > li > a
{
  cursor:not-allowed;
}

/* Vertical */
div.is-button-list.vertical
{
}

div.is-button-list.vertical > ul
{
  display:flex;
  flex-direction:column;
}

div.is-button-list.vertical.large > ul > li > a
{
  line-height:48px;
  height:48px;
}

/* Grid */
div.is-button-list.grid
{
  display:block;
  max-width:100%;
  position:relative;
}
div.is-button-list.grid > ul
{
  display:flex;
  flex-wrap:wrap;
  min-width:10px;
}
div.is-button-list.grid > ul > li
{
  flex: 1 0 auto;
  display:inline-block;
  height:unset;
  width:20%;
  min-width:48px;
  max-width:88px;
  min-height:54px;
  max-height:unset;
}
div.is-button-list.grid.large > ul > li
{
  height:94px;
  width:20%;
  min-width:96px;
  max-width:100px;
  min-height:68px;
  max-height:94px;
}
div.is-button-list.grid > ul > li > a
{
  height:100%;
  width:auto;
  line-height:130%; 
  padding:4px;
  text-align:center;
}
div.is-button-list.grid:not(.large) > ul > li > a
{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  position:relative;
}
div.is-button-list.grid > ul > li > a:hover
{
  position:relative;
}
div.is-button-list.grid.large > ul > li > a:hover
{
  height:auto;
  min-height:94px;
}
div.is-button-list.grid > ul > li > a > img
{
  display:block;
  margin:0 auto 6px auto;
  text-align:center;
}

/* Actions */
div.is-button-list.actions
{
  display:block;
  margin-top:4px;
  margin-bottom:4px;
}
div.is-button-list.actions > ul
{
  border:1px solid rgba(0,0,0,0.1);
  display:inline-block;
  margin:0;
  padding:0;
}
div.is-button-list.actions > ul > li
{
  display:inline-block;
  height:27px;
  margin:0;
  padding:0;
}
div.is-button-list.actions > ul > li > a
{
  border:none;
  border-right:1px solid rgba(0,0,0,0.1);
  border-radius:0 !important;
  font-size:11px;
  font-weight:normal;
  height:27px;
  line-height:27px;
  margin:0;
  padding-left:6px;
  padding-right:6px;
  text-align:center;
}
div.is-button-list.actions > ul > li:last-child > a
{
  border-right:none;
}
div.is-button-list.actions > ul > li > a > img
{
  display:inline-block;
  width:16px;
  height:16px;
  margin:-4px 4px 0 0;
  vertical-align:middle;
}
div.is-button-list.actions > ul > li.selected > a
{
  background-color:#5B9DCC;
  color:white;
  box-shadow:none;
}


/*
======================================================
Prompt Update List
======================================================
*/
div.is-prompt-update-list
{
  background-color:rgba(248,248,248,1);
  border:3px solid rgba(0,0,0,0.1);
  border-radius:12px;
  box-shadow: 1px 2px 8px 2px rgba(0, 0, 0, 0.25);
  margin-top:-3px;
  min-width:240px;
  padding:4px;
  position:absolute;
  z-index:5;

  animation: is-prompt-update 0.1s ease-in;
  transform-origin: top center;
}
div.is-prompt-update-list > ul
{
  list-style:none;
  margin:0;
  padding:0 0 8px 0;
}
div.is-prompt-update-list > ul > li
{
  margin-top:4px;
}
div.is-prompt-update-list > label
{
  color:#404040;
}
div.is-prompt-update-list button.is-button
{
  border-radius:8px !important;
  margin-left:0;
  margin-right:4px;
  margin-top:8px;
}
@keyframes is-prompt-update {
  from { transform: scale(0.8); }
  to { transform: scale(1); }
}


/*
======================================================
Modal
======================================================
*/

body.is-has-modal {
  /* Hide scrollbars when modal is showing (probably not necessary in most situations) */
  overflow: hidden;
}

body.has-minimised-modal .is-modal-overlay.allows-minimise {
  display: none;
}

body.has-minimised-modal div.is-modal.allows-minimise {
  display: block;
  margin: 0 !important;
  margin-top: -40px !important;
  position: fixed !important;
  right: 0px !important;
  top: 100% !important;
  left: auto !important;
  /*transform: scale(0.8, 0.8) translate(18%, -11%);*/
  /*transform: translate(18%, -11%);*/
  /*transition:transform 0.1s ease-in-out, top 0.1s;*/
  animation: bounce 3.5s;
  animation-iteration-count: infinite;
  animation-delay: 1.5s;
}

  body.has-minimised-modal div.is-modal.allows-minimise div.is-modal-title {
    background-color: #d24726 !important;
    color: white !important;
    cursor: pointer;
    font-size: 15px;
    padding-right: 8px;
  }

  body.has-minimised-modal div.is-modal.allows-minimise div.is-modal-header,
  body.has-minimised-modal div.is-modal.allows-minimise div.is-modal-body,
  body.has-minimised-modal div.is-modal.allows-minimise div.is-modal-footer {
    /*display:none;*/
    visibility: hidden;
    /*transform: scale(1, 0);*/
    /*position:fixed;
      left:-10000px;*/
  }

  body.has-minimised-modal div.is-modal.allows-minimise div.is-modal-title-buttons {
    display: none;
  }

  body.has-minimised-modal div.is-modal.allows-minimise.forced-windowed {
    bottom: 0 !important;
  }

.is-modal-overlay {
  background-color: rgba(0, 0, 0, 0.8);
  height: 100%;
  left: 0;
  bottom:0;
  right:0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2;
  /* On top of everything, e.g., when executing a Global Application Shortcut from a modal */
}

.is-modal-overlay.top {
  z-index: 9999999;
}

.is-modal {
  background-color: white;
  border: 1px solid #a7a7a7;
  border-radius: 12px;
  box-shadow: 1px 2px 8px 2px rgba(0, 0, 0, 0.25);
  display: flex;
  display: -webkit-box;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  overflow: hidden;
  position: fixed;
  text-align: left;
  z-index: 10;
  /* Showing animation */
  transition: all 0.3s ease-in-out;
  /* Wait Overlay */
  /* Title */
  /* Title Icon (top-left, 16x16) */
  /* Close, Minimise and Open in new Window buttons */
  /* Header */
  /* Body */
  /* Footer */
}

  .is-modal.showing {
    opacity: 0;
    transform: scale(0.8);
  }

  .is-modal .is-modal-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
  }

  .is-modal .is-modal-title {
    background-color: #e6e6e6;
    border-bottom: 1px solid #e0e0e0;
    color: rgba(0, 0, 0, 0.8);
    cursor: default;
    flex: none;
    -webkit-flex: none;
    font-size: 19px;
    font-weight: normal;
    height: 40px;
    line-height: 40px;
    min-height: 40px;
    max-height: 40px;
    overflow: hidden;
    padding-left: 80px;
    padding-right: 80px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .is-modal .is-modal-title-icon {
    display: block;
    height: 16px;
    left: 6px;
    position: absolute;
    text-align: center;
    vertical-align: middle;
    top: 12px;
    width: 16px;
  }

  .is-modal .is-modal-title-buttons {
    height: 40px;
    line-height: 40px;
    position: absolute;
    right: 0;
    top: 0;
  }

  .is-modal .is-modal-close,
  .is-modal .is-modal-minimise,
  .is-modal .is-modal-open-window {
    color:rgba(0,0,0,0.6);
    cursor: pointer;
    display: inline-block;
    font-size: 20px;
    font-weight: normal;
    height: 40px;
    line-height: 40px;
    position: relative;
    text-align: center;
    top: 0;
    transition: color 0.2s;
    width: 28px;
  }

    .is-modal .is-modal-close:hover,
    .is-modal .is-modal-minimise:hover,
    .is-modal .is-modal-open-window:hover {
      color:rgba(0,0,0,1);
      transition: color 0.2s;
    }

  .is-modal .is-modal-minimise-window {
    font-size: 15px;
    margin-top: -1px;
  }

  .is-modal .is-modal-open-window {
    font-size: 17px;
    margin-top: -1px;
  }

  .is-modal .is-modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.175);
    flex: none;
    -webkit-flex: none;
    min-height: 1px;
  }

  .is-modal .is-modal-body {
    background-color: white;
    flex: 1 100%;
    -webkit-flex: 1 100%;
    overflow: auto;
    position: relative;
    -webkit-overflow-scrolling: touch;
    /* Add a bit of padding to the top of Tab pages */
  }

    .is-modal .is-modal-body.no-scroll {
      overflow: hidden;
    }

    .is-modal .is-modal-body > .is-tabs > .is-tab-page {
      padding-top: 4px;
      position: relative;
    }

  .is-modal .is-modal-footer {
    border-top: 1px solid #d0d0d0;
    flex: none;
    -webkit-flex: none;
    padding-left: 8px;
    padding-right: 8px;
    /* Dialog Buttons */
  }

    .is-modal .is-modal-footer .is-modal-dialog-buttons {
      display: inline-block;
      list-style: none;
      margin: 8px 0 8px 0;
      padding: 0;
      /* Main (displayed on the right) */
      /* Other (displayed on the left) */
    }

      .is-modal .is-modal-footer .is-modal-dialog-buttons > li {
        display: inline-block;
        padding: 0 0 0 0;
        vertical-align: middle;
        /* System buttons, e.g., refresh and actions float to the left */
      }

        .is-modal .is-modal-footer .is-modal-dialog-buttons > li.system {
          float: left;
        }

        .is-modal .is-modal-footer .is-modal-dialog-buttons > li > button {
          font-size: 13px;
          height: 32px;
          margin: 0;
        }

      .is-modal .is-modal-footer .is-modal-dialog-buttons.main {
        float: right;
      }

        .is-modal .is-modal-footer .is-modal-dialog-buttons.main > li {
          margin-left: 8px;
        }

      .is-modal .is-modal-footer .is-modal-dialog-buttons.other {
        float: left;
      }

        .is-modal .is-modal-footer .is-modal-dialog-buttons.other > li {
          margin-right: 8px;
        }
/* Responsive (class modal-full is applied programatically in isuserinterface.js) */

.is-modal-full {
  border: none;
  border-radius: 0;
  box-shadow: none;
  position: fixed;
}

/* Special "Tool" styled fake Modal */
div.is-modal.tool {
  border:2px solid #808080;
  border-radius:8px;
  box-shadow: none;
}

div.is-modal.tool .is-modal-title {
  background-color:#808080 !important;
  border-radius:0;
  color:white !important;
  font-size:13px;
  font-weight:bold;
  height:24px;
  line-height:24px;
  min-height:24px;
  max-height:24px;
}

div.is-modal.tool .is-modal-title-buttons {
  height:24px;
  line-height:24px;
  min-height:24px;
  max-height:24px;
}

div.is-modal.tool .is-modal-title-buttons .is-modal-close {
  color:white;
  font-size:13px;
  height:24px;
  line-height:24px;
}


/* 
======================================================
 Message Boxes 
======================================================
*/
div.is-msgbox
{
  height:100%;
  padding: 8px 16px 8px 56px;
}

div.is-msgbox > h1
{
  font-size:18px;
  font-weight:bold;
  margin:6px 0 4px 0;
  padding:0;
}

div.is-msgbox > p
{
  font-size:13px;
}

div.is-msgbox > p:first-of-type
{
  margin-top: 2px; /* Aligns better with icon if no heading */
  padding-top: 0;
}

div.is-msgbox > img
{
  position: absolute;
  left:12px;
  top:12px;
  width:32px;
  height:32px;
}

div.is-msgbox ul.is-msgbox-confirm-list
{
  list-style:none;
  padding:0;
  margin:8px 0 0 0;
}

div.is-msgbox ul.is-msgbox-confirm-list > li
{
  margin-bottom:4px;
}


/* 
======================================================
Summary Page 2 Tweaks
======================================================
*/
div.is-summarypage-2
{
  font-size:12px;
}



/*
==========================================
Other
==========================================
*/
a.is-button-link {
  background-color:rgba(0, 0, 0, 0.035);
  border:1px solid rgba(0, 0, 0, 0.075);
  border-radius:4px;
  color:#0645AD;
  text-decoration:none;
}

/* Colour Blocks (e.g., Log Severity) */
div.is-colour-block {
  border: 1px solid rgba(200, 200, 200, 0.5);
  height: 16px;
  width: 16px;
}

span.parameter
{
  background-color:#ffffe0;
  border:1px solid rgba(0,0,0,0.1);
  border-radius:0.2em;
  padding:0 4px 0 4px;
}

::-webkit-input-placeholder
{
  color:rgba(0, 0, 0, 0.25);
  font-style: italic;
}
::-webkit-input-placeholder
{
  color:rgba(0, 0, 0, 0.25);
  font-style: italic;
}
::-moz-placeholder
{
  color:rgba(0, 0, 0, 0.25);
  font-style: italic;
}

.is-info-text.wizard-footer
{
  border:1px solid rgba(0,0,0,0.1);
  border-radius:6px 6px 0 0;
  background-color:black;
  color:white;
  display:block;
  font-size:12px;
  line-height:20px;
  padding:8px;

  position:absolute;
  bottom:-8px;
  left:50%;
  text-align:center;
  transform: translateX(-50%);

  animation:tip-slide-off-bottom 3s forwards ease-in-out;
  animation:tip-slide-off-bottom 3s forwards ease-in-out;
}

td > div.is-info-text {
  margin:0 !important;
}

label.is-block {
  display:block !important;
}

div.is-info-text tt {
  border:1px solid rgba(0,0,0,0.05);
  background-color:rgba(0,0,0,0.05);
  color:darkred;
  padding:2px;
}

/*
==========================================
Symbols
==========================================
*/
.is-symbol-tick::before {font-weight:normal; content:"\02713";}
.is-symbol-cross::before {font-weight:normal; content:"\02717";}

/*
==========================================
Other Animations
==========================================
*/
@keyframes pop {
  from { transform: scale(0.8); }
  to   { transform: scale(1); }
}

@keyframes pop-full {
  from { transform: scale(0.2); }
  to   { transform: scale(1); }
}

@keyframes section-advanced-showing {
  0% {
    background-color:#7dc0a4;
  }

  100% {
    background-color:#ecf6f2;
  }
}

@keyframes block-advanced-showing {
  0% {
    opacity:0;
  }

  100% {
    opacity:1;
  }
}

@keyframes tip-slide-off-bottom
{
  0%
  {
    transform: translate(-50%, 0);
  }

  92%
  {
    transform: translate(-50%, 0);
  }

  100%
  {
    transform: translate(-50%, 110%);
  }
}


/*
============
Range Slider
============
*/
span.is-rangeslider
{
  display:inline-block;
  height:20px;
  margin:0;
  padding:0;
  position:relative;
}

input.is-rangeslider[type=range] {
  -webkit-appearance: none;
  
  border-bottom-color:transparent !important; /* No focus underline */
  background-color:transparent;

  margin:0;
  padding:0;
  vertical-align:baseline;
  
}
input.is-rangeslider[type=range]:focus {
  outline: none;
}
input.is-rangeslider[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 12.8px;
  cursor: pointer;
  animate: 0.2s;
  /*box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;*/
  background: #D9D9D8; /* Chrome Back Colour */
  border-radius: 25px;
  /*border: 0px solid #000101;*/
}
input.is-rangeslider[type=range]::-webkit-slider-thumb {
  box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
  border: 0px solid #000000;
  height: 20px;
  width: 39px;
  border-radius: 7px;
  background: #337AB7; /* Chrome Fore Colour */
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -3.6px;
}
input.is-rangeslider[type=range]:focus::-webkit-slider-runnable-track {
  background: #D9D9D8;  /* Chrome Back Colour */
}
input.is-rangeslider[type=range]::-moz-range-track {
  width: 100%;
  height: 12.8px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
  background: #D9D9D8; /* Firefox Back Colour */
  border-radius: 25px;
  border: 0px solid #000101;
}
input.is-rangeslider[type=range]::-moz-range-thumb {
  box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
  border: 0px solid #000000;
  height: 20px;
  width: 39px;
  border-radius: 7px;
  background: #337AB7; /* Firefox Fore Colour */
  cursor: pointer;
}

/*
============
Flex Layouts
============
*/
div.flex-panels {
  display:flex;
  flex-direction:column;
  position: relative;
}

div.flex-panels > .panel-fixed {
  flex-basis:auto;
  max-height:100000px;
}

div.flex-panels > .panel-flex {
  flex:1 100%;
  position:relative;
}

div.flex-panels > .panel-flex.gap-top {
  border-top:4px solid transparent;
}


/*
==============
Icon Combo Box
==============
*/
span.is-icon-combobox {
  > div {
    left:4px !important;
    height:unset !important;
    position:relative;
    display:inline-flex;
    flex-direction:column;
    align-content:stretch;

    > img,
    > div {
      display:inline-block;
      margin-top:auto !important;
      margin-bottom:auto !important;
    }
  }

  > input {
    padding-left:22px !important;
  }
}



/*
==========================
Document Manager Combo Box
==========================
*/
div.is-dm-combobox {
  background-color:rgba(0,0,0,0.025);
  display:inline-block;
  padding:2px;
  border:1px solid rgba(0,0,0,0.05);
  border-radius:2px;
  position:relative;
  max-width:400px;
  width:100%;
}

div.is-dm-combobox > div.preview {
  background-color:white;
  box-shadow:2px 2px 2px rgba(0,0,0,0.25);
  display:inline-block;
  padding:0;
  margin-top:4px;
}

div.is-dm-combobox > div.preview > img {
  padding:0;
  margin:0;
  position:relative;
  vertical-align:top;
}


div.is-dm-combobox .is-file-upload {

}

div.is-dm-combobox .is-file-upload button {
  margin-left:8px;
}

div.is-dm-combobox .is-file-upload > div.preview {
  border:none;
}

div.is-dm-combobox .is-file-upload > div.preview img {
  margin-left:8px;
}

div.is-dm-combobox .is-file-upload > label {
  background-color:transparent;
  border:none;
}

div.is-dm-combobox .is-file-upload > label > label {
  display:none; /* Info message not required */
}

@media screen and (max-width:600px) {
  div.is-dm-combobox > div.preview {
    display:inline-block;
    position:relative;
    margin:2px 0 0 0;
  }

}

/*
=================
Radio Button List
=================
*/
span[controltype='radiobuttonlist'] {
  display:inline-block;
}

span[controltype='radiobuttonlist'] > div.horizontal {
}

span[controltype='radiobuttonlist'] > div.horizontal span[controltype='checkbox'] {
  margin-right:16px;
}

span[controltype='radiobuttonlist'] > div.vertical {
}

span[controltype='radiobuttonlist'] > div.vertical span[controltype='checkbox'] {
  display:block !important;
  margin-bottom:8px;
}
span[controltype='radiobuttonlist'] > div.vertical span[controltype='checkbox']:last-child {
  margin-bottom:0;
}

/*
=====
 HELP
=====
*/
div.help {
  font-family: Comfortaa, sans-serif;
}

div.help h1, div.help h2, div.help h3 {
  padding:0;
  margin:0;
  font-size:26px;
  font-weight:medium;
  color:red;
}

div.help h2 {
  font-size:20px;
}

div.help h3 {
  font-size:16px;
}

div.help > div, div.help p {
  font-size:14px;
}

div.help p {
  line-height:150%;
}

/*
=====================
Table Filter Text Box
=====================
*/
caption.is-table-filter > input,
caption.is-table-filter > input:focus {
  border:1px solid transparent !important; /* rgba(0, 0, 0, 0.1);*/
  box-shadow:none !important;
  font-size:13px !important;
  /*margin-bottom:4px;*/
  padding:4px;
}
caption.is-table-filter > input::-webkit-input-placeholder {
  font-style:italic;
}
caption.is-table-filter > input::-moz-placeholder {
  font-style:italic;
}

div.is-table-filter-count {
  color:green;
  display:inline-block;
  cursor:pointer;
  font-size:11px !important;
  line-height:24px;
  padding:0 !important;
  margin-left:-80px;
  position:relative;
  text-align:right;
  width:80px;
}

div.is-table-filter-count:after {
  content:"\E10A";
  font-family:isse;
  font-size:11px !important;
  font-weight:bold;
  padding-left:6px;
  padding-right:4px;
  position:relative;
  top:2px;
}

input.is-textbox.is-textbox-search + div.is-table-filter-count
{
  border-bottom:8px solid transparent !important;
  margin-left:-52px;
}

/*
==================
 Account Financial
==================
*/
.is-account-financial {
  button.is-button.small:not(.full-button) {
    margin:4px 4px 0 0 !important;
    width:88px;
  }

  button.is-button.small.full-button {
    margin:4px 4px 0 0 !important;
  }

  .tblAdvanced  {
    min-width:312px !important;

    > table {
      border-left:2px solid #5ED0BA;
      background-color:#ecf6f2;
    }
  }
}

.is-account-financial > tr > td {
  display:flex;
  flex-direction:row;
  padding-bottom:0 !important;
  padding-left:0 !important;
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  overflow:hidden;
}

.is-account-financial > tr > td > div.tblStdTransactions {
  width:33%;
  min-height:180px;
  max-height:400px;
  min-width:280px;
  max-width:360px;
  margin-right:8px;
  position:relative;
}

.is-account-financial > tr > td > div.tblNonStdTransactions {
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  position:relative;
  overflow:auto;
  width:100%;
}

.is-account-financial > tr > td > div.tblNonStdTransactions > div {
  width:50%;
  max-width:240px;
  margin-right:8px;
  padding:4px;
}

/* Responsive (single column to right of Standard Transactions) */
@media screen and (max-width:800px) {

  .is-account-financial > tr > td > div.tblNonStdTransactions > div {
    width:100% !important;
    max-width:100% !important;
    margin-right:0;
    padding:4px;
  }
}

/* Responsive (stack vertically) */
@media screen and (max-width:640px) {
  .is-account-financial > tr > td {
    flex-direction:column;
    position:absolute !important;
  }

  .is-account-financial > tr > td > div {
    flex-grow:1;
    height:50%;
    overflow:auto;
    width:100% !important;
    max-width:unset !important;
    min-width:unset !important;
    border-right:none !important;
    padding:4px !important;
  }

  .is-account-financial > tr > td > div > div {
    width:100% !important;
    max-width:unset !important;
  }
}


/* Ensure Widget styling does not interfere with certain mandatory styling */
.is-widget-form-body th label.is-label-heading {
  padding-right: 18px !important; /* Always account for the information icon */
}


/*
========
Repeater
========
*/
.is-repeater {
  div.is-repeater-item {
    display:flex;
    flex-direction:row;
    position:relative;

    div.row-selector {
      background-color:rgba(0,0,0,0.025);
      cursor:pointer;
      width:20px;
      flex-grow:0;
      position:relative;
    }

    div.content {
      flex-grow:1;
      position:relative;
    }

    &.is-sel {
      background-color:rgba(0,0,0,0.05);

      div.row-selector {
        background-color:rgba(0,0,0,0.05);
        display:flex;
        flex-direction:row;

        &:after {
          font-family:isfa;
          content: "\f0da";
          align-self:center;
          text-align:center;
          width:100%;
        }
      }
    }
  }
}


/*
================
Visualise Change
================
*/
.is-visualise-change {
  animation:visualise-change 0.2s ease-in-out;
  transition: all 0.5s ease-in-out;

  input {
    transition: all 0.5s ease-in-out;
  }

  &.in {
    input {
      background-color:yellow;
      box-shadow:0 0 4px 2px rgba(0,0,0,0.1);
    }
  }
}

@keyframes visualise-change {
  from{transform:scale(0.8)}
to{
  transform:scale(1)}
}


/*
======================================================
 Select Flag Colour
======================================================
*/
div.is-select-flag-colour {
  background-color:#f0f0f0;
  border:8px solid transparent;
  height:100%;

  /* Non-item, e.g., top section in Tasks 'Select Date As At' */
  > div.non-item {
    border-bottom:1px solid rgba(0,0,0,0.1);
    box-shadow:0 2px 2px rgba(0,0,0,0.125);
    padding:0 8px 8px 8px;
    margin:0 -8px 8px -8px;

    &:empty {
      display:none;
    }
  }

  /* Flag/ other */
  > div:not(.non-item) {
    border:20px solid transparent;
    border-radius:8px;
    cursor:pointer;
    display:inline-block;
    text-align:center;
    
    &:hover
    {
      background-color:rgba(0,0,0,0.1);
    }

    &.is-sel {
      background-color:#5B9DCC;
      color:white;
    }

    > img {
      height:32px;
      width:32px;
    }

    > div {
      font-size:12px;
    }
  }
}

/*
======================================================
 Get Input
======================================================
*/
div.is-get-input {
  //background-color:#f0f0f0;
  border:8px solid transparent;
  height:100%;

  > div.is-get-input-input {
    margin-top:4px;
  }
}

/*
======================================================
 Select Document Manager File
======================================================
*/
div.is-select-document-manager-file {
  border:8px solid transparent;

  /* File */
  > div {
    border:4px solid transparent;
    border-radius:8px;
    cursor:pointer;
    display:flex;
    text-align:left;
    
    &:hover
    {
      background-color:rgba(0,0,0,0.1);
    }

    > img {
      flex-grow:0;
      height:32px;
      width:32px;
    }

    > div {
      flex-grow:1;
      font-size:12px;
      padding-left:8px;
      line-height:32px;
    }
  }
}


/*
================================================
Progress Events (e.g., Account Processes wizard)
================================================
*/
div.progress-events {
    background-color: black;
    flex-grow: 1;
    font-weight: normal;
    overflow-y: scroll;
    padding: 8px;
    font-family: Verdana, Consolas, Geneva, Tahoma, sans-serif;
    font-size: 15px;

    & > div.event {
        padding-bottom: 6px;
        margin-bottom: 6px;
        display: flex;
        flex-direction: row;
        align-items: center;

        &.event-wait {
            color: white;
        }

        & > span.event-timings {
            color: #ababab;
            font-weight: normal;
            font-size: 0.8em;
            padding-right: 8px;
            white-space: nowrap;
        }

        > .description-details-container {
            border-radius: 8px;
            display: flex;
            align-items: center;
            flex-direction: row;

            &.None {
                color: lime;
            }

            &.Low {
                color: white;
            }

            &.Medium {
                color: #FFFF55;
                background-color: rgba(255, 255, 0, 0.15);
                padding: 8px;
            }

            &.High {
                color: orange;
                background-color: rgba(255, 165, 0, 0.15);
                padding: 8px;
            }

            &.Critical {
                color: white;
                background-color: rgba(255, 0, 0, 0.8);
                padding: 8px;
            }

            > .description-image.show-warning-image {
                padding-right: 8px;

                &:before {
                    font-family: isfa;
                    font-size: 22px;
                    content: "\f071";
                }
            }

            & > div.description-details {
                flex-direction: column;
            }

            & > div > div.details {
                padding-top: 8px;
                padding-left: 12px;
            }
        }
    }

    & > div.complete {
        color: #808080;
        padding-left: 8px;
    }

    & > div.error-item {
        border-radius: 8px;
        color: white;
        background-color: rgba(255, 0, 0, 0.8);
        font-weight: normal;
        padding: 8px 8px 8px 8px;
        display: flex;
        flex-direction: row;
        align-items: center;

        & > div.error-item-image {
            &:before {
                font-family: isfa;
                font-size: 22px;
                content: "\f071";
            }
        }

        & > div.error-item-text {
            padding-left: 8px;
        }
    }
}



/*
============
 HTML Editor
============
*/
div.is-html-editor {
  border: 1px solid #d6d6d6;
  display:flex;
  flex-direction:column;
  position:absolute;
  left:0;
  top:0;
  right:0;
  bottom:0;
  font-family: Verdana, Helvetica, Arial;
  font-size: 13px;

  &.tags-visible > div.content {
    //max-height:50% !important;
    //border:1px solid red;
  }

  & > div.content {
    flex-grow:1;
    outline:none;
    padding:2px;
    max-height:100%;
    overflow:auto !important;
    position:relative;
    //border:4px solid lime !important;

    &.source {
      //border:4px solid cyan !important;
    }

    & > pre {
      flex-grow:1;
      margin:0;
      max-width:100%;
      outline:none;
      white-space:pre-wrap;
      word-break:break-word;
      word-wrap:break-word;
    }

    h1 {
      color:black;
      font-size:2em;
      margin:8px 0 8px 0;
    }

    h2 {
      color:black;
      font-size:1.8em;
      margin:8px 0 8px 0;
    }

    h3 {
      color:black;
      font-size:1.5em;
      margin:8px 0 8px 0;
    }

    h4 {
      color:black;
      font-size:1.2em;
      margin:8px 0 8px 0;
    }
  }

  &.is-readonly > div.content {
    background-color: #fff0f0;
    transition: background-color 0.25s;
  }

  /* Tags List */
  div.is-textbox-tagslist {
    background-color:rgba(0,0,0,0.05) !important;
    border-top:1px solid rgba(0,0,0,0.1) !important;
    flex-grow:0;
    flex-shrink:0;
//border:1px solid green;
    max-height:50% !important;
    overflow:auto !important;
  }

  /* Toolbar */
  & > div.toolbar {
    flex-grow:0;
    flex-shrink:0;
//border:1px solid blue;
    background-color:rgba(0,0,0,0.05);
    border-bottom:1px solid rgba(0,0,0,0.1);
    overflow-x:auto;

    /* Items */
    & > ul {
      display:flex;
      list-style:none;
      flex-direction:row;
      padding:0;
      margin:0;

      & > li {
        border-right:1px solid rgba(0,0,0,0.1);
        cursor:pointer;
        min-width:32px;
        line-height:32px;
        padding:0 4px 0 4px;
        text-align:center;

        &:hover {
          background-color:rgba(0,0,0,0.1);
        }

        /* Dropdowns */
        & > select {
          border:none;
        }

        /* Icons */
        &[command='bold']:after { font-family:isfa; content:"\f032"; }
        &[command='italic']:after { font-family:isfa; content:"\f033"; }
        &[command='underline']:after { font-family:isfa; content:"\f0cd"; }
        &[command='removeformat']:after { font-family:isfa; content:"\f87d"; }

        &[command='justifyleft']:after { font-family:isfa; content:"\f036"; }
        &[command='justifycenter']:after { font-family:isfa; content:"\f037"; }
        &[command='justifyright']:after { font-family:isfa; content:"\f038"; }

        &[command='insertorderedlist']:after { font-family:isfa; content:"\f0cb"; }
        &[command='insertunorderedlist']:after { font-family:isfa; content:"\f0ca"; }

        &[command='outdent']:after { font-family:isfa; content:"\f03b"; }
        &[command='indent']:after { font-family:isfa; content:"\f03c"; }

        &[command='createlink']:after { font-family:isfa; content:"\f0c1"; }

        &[command='clean']:after { font-family:isfa; content:"\f55d"; }
      }
    }
  }
}



/*
========================================================================
File Upload (the proper widget control, not just a styled input control)
========================================================================
*/
div.is-fileupload {
  display:flex;
  flex-direction:column;
  max-width:800px;
  min-height:20px;

  .is-fileupload-buttons {
    display:flex;
    flex-grow:0;
    flex-direction:row;
    padding-bottom:4px;

    > button {
      flex-grow:0;
    }

    > div.is-drop-files {
      border:1px dotted #e0e0e0;
      flex-grow:1;
      line-height:30px;
      padding-left:8px;
      vertical-align:middle;

      &.dragover {
        background-color:#4C7E99;
        color:white;
      }
    }
  }

  .is-fileupload-validation {
    color:red;
  }

  .is-fileupload-filelist {
    flex-grow:1;

    > .item {
      border:1px solid transparent;
      display:flex;
      flex-direction:row;

      > .name {
        background-color:#f0f0f0;
        flex-grow:1;
        padding:8px 4px 8px 8px;
      }

      > .size {
        background-color:#e0e0e0;
        flex-grow:0;
        padding:8px 4px 8px 4px;
        text-align:right;
        width:5.5em;
      }

      > .remove {
        background-color:#f0f0f0;
        cursor:pointer;
        flex-grow:0;
        padding:8px 4px 8px 4px;
        width:32px;
        text-align:center;

        &:before {
          font-family:isfa;
          font-size:12px;
          content: "\f1f8";
        }

        &:hover {
          background-color:#d0d0d0;
        }
      }
    }
  }
}


/*
================
Grid Visualiser
================
*/
div.is-grid-visualiser {
  display:flex;
  flex-direction:column;
  padding:4px;

  > div.buttons {
    flex-grow:0;
    padding:4px;
  }

  > div.main-chart {
    flex-grow:1;
    position:relative;
    overflow:auto;
  }

  > div.main-chart.square > div {
    aspect-ratio:auto 1 / 1;
    flex-grow:unset;
    height:100%;
  }
}


/*
=============================================================
Compact Mode (from finPOWER Connect Cloud userinterface.less)
=============================================================
*/
html.is-compact {
  /* Grid */
  .is-grid-container > .is-grid > table {
    /* Header */
    > thead > tr > th {
      font-size:0.9em;
      padding:3px;

      &.sortable {
        padding-right:24px;

        & > div.sorter {
          height:18px;
          width:18px;
          line-height:10px;
          &:after {font-size:12px;}
        }
      }
    }

    /* Body */
    > tbody > tr > td,
    > tbody > tr > th {
      font-size:0.9em;
      padding:2px;

      &.rowselector > span.rownumber {
        font-size:0.9em !important;
      }
    }
  }
}