main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}


.table > :not(caption) > *.danger > *,
.table > :not(caption) >  tr > td.danger {
    background-color: rgba(215,48,39, 0.5);
}

.table > :not(caption) > *.warning > *,
.table > :not(caption) >  tr > td.warning {
    background-color: rgba(253,174,97, 0.5);
}

.table > :not(caption) > *.warning2 > *,
.table > :not(caption) > tr > td.warning2 {
    background-color: rgba(217,239,139, 0.5);
}

.table > :not(caption) > *.success > *,
.table > :not(caption) >  tr > td.success {
    background-color: rgba(102,189,99, 0.5);
}

.table > :not(caption) > *.success2 > *,
.table > :not(caption) >  tr > td.success2 {
    background: repeating-linear-gradient(
        45deg,
        rgba(102,189,99, 0.5),
        rgba(102,189,99, 0.5) 10px,
        rgba(148, 209, 146, 0.5) 10px,
        rgba(148, 209, 146, 0.5) 20px
      );
}

.table > :not(caption) > *.success3 > *,
.table > :not(caption) >  tr > td.success3 {
    position: relative;
    background: repeating-linear-gradient(
        45deg,
        rgba(102,189,99, 0.5),
        rgba(102,189,99, 0.5) 10px,
        rgba(148, 209, 146, 0.2) 10px,
        rgba(148, 209, 146, 0.2) 20px
      );
}

.table > :not(caption) > *.success3 > *::before,
.table > :not(caption) >  tr > td.success3::before {
    content: '';
    position: absolute;
    z-index: -1;
    left: 0;
    right:0;
    top:0;
    bottom: 0;
    background: repeating-linear-gradient(
        135deg,
        rgba(102,189,99, 0.5),
        rgba(102,189,99, 0.5) 10px,
        rgba(148, 209, 146, 0.5) 10px,
        rgba(148, 209, 146, 0.5) 20px
      );
}


ul.pagination {
    display: flex;
    gap: 10px;
}

ul.pagination li > span,
ul.pagination li > a {
    display: block;
    text-decoration: none;
    color: #fff;
    background-color: #0d6efd;
    border-radius: 6px;
    text-align: center;
    padding: 6px 12px;
    font-size: 16px;
    border: 1px solid #0d6efd;
}

ul.pagination li.active > a,
ul.pagination li > a:hover {
    background-color: #fff;
    color: #0d6efd;
}


ul.pagination li > span {
    background-color: lightgray;
}

td.right {
    text-align: right;
}