html, body {
    height: 100%;
    margin: 0;
    font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;

}

span{
    word-break: break-word;  /* Never allow long words to break outside boxes */
}

#wrapper {
    min-height: 100%;
    margin: .625rem 0;
}

.modal-dialog {
    overflow: hidden; /* hide too large items in a modal popup*/
}

#content {
    /*overflow: hidden;  !*jvo -no overflow, for animations on sidebar*!*/
    padding-bottom: 50px;
    margin: 0 2%;
}

/*Warning banner for no javascript or old javascript etc.*/
.warning-banner {
    background-color: #e00;
    text-align: center;
    position: absolute;
    top: 0;
    width: 100%;
    color: #FFF;
    z-index: 1000;
}

/*margin around dropdown filters in datatables*/
/*needed because are placed in header instead of footer*/
th > select {
    margin: 5px;
}


/*All table headers (also form labels) should be aligned left.*/
th {
    text-align: left;
}

/*Normal margin on lists in table cells */
table.datatable ul {
    padding-left: 1rem;
}

/*Set a larger margin on yadcf text-boxes to look like metro-ui-css*/
input[type=text].yadcf-filter {
    margin: 0.325rem 0;
    min-height: 2.125rem;
    height: 2.125rem;
}

/* top menu */
#navbar-top {
    font-size: 1.0rem;
}

/* Sidebar */
.sidebar {
  position: fixed;
  width: 15rem;
  background-color: #ffffff;
  z-index: 990;
}

.page-with-sidebar {
  padding-left: 16rem;
}

a.no-link {
    color: black;
    cursor: default;
}

a.no-link:hover {
    text-decoration: none;
}

.dl-grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 1rem;
  align-items: baseline !important;
}

.dl-grid dt {
  margin-bottom: 0.5rem;
}

/* Make first column auto-size to its content */
.table .order-col {
  white-space: nowrap;
  width: 1%;
}

/* Show left border for the blockquotes in the conversations. */
/* Using --bs-gray-500 color for the border. */
.convo-message > blockquote  {
  border-left: 0.15em solid #adb5bd;
  padding-left: 0.75em;
}
/* Make text in the blockquotes in the conversations less opaque. */
.convo-message > blockquote > p  {
  opacity: 0.5;
}

/* fonts from google in metro.min.css */
/*@font-face {*/
/*    font-family: "Lato";*/
/*    font-style: normal;*/
/*    font-weight: normal;*/
/*    src: url(/static/fonts/lato-regular.woff2) format('woff2')*/
/*}*/

/* TODO IE11 does not recognize WOFF2, old WOFF would be needed */
/* latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: local('Lato Italic'), local('Lato-Italic'), url(/static/fonts/S6u8w4BMUTPHjxsAUi-qJCY.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Lato';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: local('Lato Italic'), local('Lato-Italic'), url(/static/fonts/S6u8w4BMUTPHjxsAXC-q.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local('Lato Light'), local('Lato-Light'), url(/static/fonts/S6u9w4BMUTPHh7USSwaPGR_p.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local('Lato Light'), local('Lato-Light'), url(/static/fonts/S6u9w4BMUTPHh7USSwiPGQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Lato Regular'), local('Lato-Regular'), url(/static/fonts/S6uyw4BMUTPHjxAwXjeu.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Lato Regular'), local('Lato-Regular'), url(/static/fonts/S6uyw4BMUTPHjx4wXg.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Lato Bold'), local('Lato-Bold'), url(/static/fonts/S6u9w4BMUTPHh6UVSwaPGR_p.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Lato Bold'), local('Lato-Bold'), url(/static/fonts/S6u9w4BMUTPHh6UVSwiPGQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.project_label {
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    padding: 5px;
    border-radius: 2px;
    color: white;
    vertical-align: middle;
}

.galleria {
    max-width: 700px;
    height: 400px;
    background: #000
}

.thumb { /* image thumbnail, used in project image list */
    max-width: 200px;
    max-height: 200px;
}

.small-thumb { /* image thumbnail, used in table lists */
    max-width: 50px;
    max-height: 50px;
}

/* Shadow behavior for user icons on the home page */
.with-shadow-on-hover {

    transition: 0.3s;
}
.with-shadow-on-hover:hover
{
	-webkit-box-shadow: 0 8px 16px rgba(0,0,0,0.2);
	box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Round corners for user icons on the home page */
.with-rounded-corners
{
    border-radius: 15px;
}

.avatar {
    opacity: 0.5;
}

.avatar-am {
    fill: var(--bs-warning)
}

.avatar-sp {
    fill: var(--bs-success)
}

.avatar-cust {
    fill: var(--bs-secondary)
}

/* Increased vertical size of tick boxes */
.form-control.form-check-input {
    padding-bottom: 0.75rem;
    padding-top: 0.75rem;
}