.navbar-brand > img {
    max-height: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}

.navbar-brand {
    padding: 10px;
}

.nav > li > a {
    font-weight: bold;
    padding-left: 10px;
    padding-right: 10px;
}

.bw-left-margin-fix {
    margin-left: 10px;
}

.bw-top-margin-fix {
    margin-top: 15px;
}

.bw-navbar-text {
    padding-right: 10px;
}

.bw-truncate {
    max-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bw-narrow-nowrap {
    white-space: nowrap;
    width: 1%;
}

.bw-fluid-element-fix {
    margin-bottom: 5px;
}

.bw-fluid-container-fix {
    padding-bottom: 10px;
}

.panel-title > small {
    padding-left: 10px;
    color: dimgray;
    display: none;
}

#hint {
    background-color: #fff;
    border: 1px solid transparent;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    border-color: #ddd;
    border-left-color: #aa6708;
    border-left-width: 5px;
    color: #333;
}

#practice_reminder {
    background-color: #fff;
    border: 1px solid transparent;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    border-color: #ddd;
    border-left-color: #aa0000;
    border-left-width: 5px;
    color: #333;
}

#timewarning {
    border-left-width: 5px;
    border-left-color: #8a6d3b;
    display: none;
}

#timeerror {
    border-left-width: 5px;
    border-left-color: #a94442;
}

#timeerror {
    display: none;
}

#answer {
    display: block;
}

#answer textarea {
    width: 100%;
    font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
    resize: vertical;
    overflow: auto;
}

#answer button {
    margin-top: 15px;
    margin-left: 10px;
}

#countdown-xs {
    padding-right: 10px;
}

.bw-table-narrow {
    width: auto;
}

.bw-cell-narrow {
    width: 1%;
    white-space: nowrap;
}

.bw-row-hover:hover {
    cursor: pointer;
}

#btn-time-is-up {
    display: none;
}

button.bw-btn-toggle.collapsed:before {
    content: attr(data-collapsed-label);
}

button.bw-btn-toggle:before {
    content: attr(data-expanded-label);
}

@media screen and (max-width: 350px) {
    .iphone-fix {
        display: none;
    }
}

html,
body {
    height: 100%;
    /* The html and body elements cannot have any padding or margin. */
}

/* Wrapper for page content to push down footer */
#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /* Negative indent footer by it's height */
    margin: 0 auto -40px;
}

/* Set the fixed height of the footer here */
#push,
#footer {
    height: 40px;
}

#footer {
    background-color: #f5f5f5;
}

#footer .credit {
    margin: 10px 0;
    text-align: center;
}

/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
    #footer {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}