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;
}



/* ---------------- */


.title_container {
    overflow: auto;
    margin-top: 50px;
}
.title_div {
    border-bottom-color:#EDEDED;
    border-bottom-style:solid;
    border-bottom-width:5px;
    color:SlateGray;
    float:left;
    font-size:20px;
    font-weight:bold;
    margin:0 0 20px;
    min-height:30px;
    padding:0;
    position:relative;
    width:100%;
    height:100%;
}
.title_span{
    position: relative;
    float: left;
    padding-bottom: 10px;
    line-height: 20px;
    top: 5px;
    vertical-align: baseline;
    border-bottom-width: 5px;
    border-bottom-style: solid;
    border-bottom-color: SteelBlue;
}


.relative_container {
    position: relative;
    text-align: center;
}
.absolute_centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.row.display-flex {
    display: flex;
    flex-wrap: wrap;
}
.row.display-flex > [class*='col-'] {
    display: flex;
    flex-direction: column;
}
/* https://stackoverflow.com/questions/34250282/flexbox-wraps-last-column-of-the-first-row-in-safari/39149200#39149200 */
.display-flex.container:before,
.display-flex.container:after,
.display-flex.row:before,
.display-flex.row:after {
    content: normal; /* IE doesn't support `initial` */
}


textarea {
    resize: vertical;
    overflow: hidden;
    overflow-y: scroll;
}

.wrapword {
    white-space: -moz-pre-wrap !important;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    white-space: pre-wrap;       /* css-3 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
    white-space: -webkit-pre-wrap; /* Newer versions of Chrome/Safari*/
    word-break: break-all;
    white-space: normal;
}