* {
    box-sizing: border-box;
}

/*body {
    padding-top: 2em;
}*/

#loginPanel .panel-body {
    margin: .5em;
}

.word-panel {
    text-align: center;
}

.word-panel ul,
.word-panel ul li {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.word-panel ul li,
.word-panel.config-panel ul form,
.word-panel.config-panel ul form li {
    display: inline-block;
}

.word-panel ul li,
.word-panel.config-panel ul form{
    margin: 5px 2%;
}

.word-panel.config-panel ul form li {
    position: relative;
    top: 0;
    opacity: 1;

    transition: all .25s ease-in-out;
}

.word-panel.config-panel ul form li.anim {
    top: -5em;
    opacity: 0;
}

.word-panel.config-panel ul form li .btn-wrap {
    position: absolute;
    left: 50%;
    top: 0;
}

.word-panel.config-panel ul form li .btn-wrap button {
    position: relative;
    left: -50%;
}

.word-panel.config-panel li button {
    transition: opacity .25s ease-in-out;
    opacity: 0;

    border-radius: 100%;
    font-size: .7em;
}

.word-panel.config-panel li:hover button,
.word-panel.config-panel li button:focus {
    opacity: .75;
}

.img-panel img {
    display: inline-block;
    width: 15%;
    height: auto;
    padding: 5px 2%;
}

.img-panel.config-panel form,
.img-panel.config-panel form .img-wrap {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.img-panel.config-panel img {
    width: 100%;
    padding: 0;
}

.img-panel.config-panel form {
    width: 15%;
    padding: 5px 2%;
}

.img-panel.config-panel form .img-wrap {
    position: relative;
    top: 0;
    opacity: 1;

    transition: all .25s ease-in-out;
}

.img-panel.config-panel form .img-wrap.anim {
    top: -5em;
    opacity: 0;
}

.img-panel.config-panel form .img-wrap .btn-wrap {
    position: absolute;
    top: 0;
    right: 0;
}

.img-panel.config-panel form .img-wrap .btn-wrap button {
    transition: opacity .25s ease-in-out;

    opacity: 0;
}

.img-panel.config-panel form .img-wrap:hover .btn-wrap button,
.img-panel.config-panel form .img-wrap .btn-wrap button:focus {
    opacity: .75;
}

.rename-form .row .form-group,
.rename-form .row .form-group input {
    width: 100%;
}

.rename-btn-group {
    overflow: hidden;
    max-height: 2em;
    opacity: 1;
    height:2em;

    transition: all .25s ease-in-out;
}

.rename-btn-group.anim {
    max-height: 0;
    opacity: 0;
}

.rename-btn-group .panel-title {
    display: inline-block;
    margin-right: 20px;
}

.rename-btn-group button {
    opacity: 0;
    transition: opacity .25s ease-in-out;

    padding: 3px 8px;
}

.rename-btn-group:hover button,
.rename-btn-group button:focus {
    opacity: 1;
}

.rename {
    overflow: hidden;
    max-height: 0;
    opacity: 0;

    transition: all .25s ease-in-out;
}

.rename.anim {
    max-height: 7em;
    opacity: 1;
}

@media(max-width:992px) {
    .rename-form .col-md-4,
    .rename-form .col-md-3,
    .rename-form .col-md-6,
    .rename-form .col-md-2 {
        margin: 0.9em 0;
    }

    .rename.anim {
        max-height: 30em;
    }
}

.treeview tr .crossing {
    background-image: url(treeview/row-crossing.png), url(treeview/col-fill.png);
    background-repeat: no-repeat, repeat-x;
    background-position: left center, 5px center;
}

.treeview tr .filler {
    background-image: url(treeview/row-fill.png);
    background-repeat: no-repeat;
    background-position: left center;
}

.treeview tr .end {
    background-image: url(treeview/row-end.png), url(treeview/col-fill.png);
    background-repeat: no-repeat, repeat-x;
    background-position: left center, 5px center;
}

.result-listing {
    table-layout: auto;
    border-collapse: separate;
    width: 100%;
}

.result-listing .column-testType,
.result-listing .column-testName,
.result-listing .testType,
.result-listing .testName {
    padding-right: 5%;
    overflow: hidden;
    white-space: nowrap;
}

.result-listing .column-resPath {
    width: 100%;
}

.result-listing .column-actions {
    width: 20%;
}

form.saveResult .user-fields table {
    table-layout: fixed;
    width: 100%;
}

form.saveResult .user-fields table .field-name {
    width: 35%;
}

form.saveResult .user-fields table .field-value {
    width: 50%;
}

form.saveResult .user-fields table .field-actions {
    width: 15%;
}

form.saveResult .newFieldNameInput {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 2em;
}

form.saveResult .newFieldNameInput #newFieldName,
form.saveResult .newFieldNameInput #newOtherFieldName {
    position: absolute;
    transition: opacity ease-in-out .5s;
}

form.saveResult .newFieldNameInput #newFieldName {
    opacity: 0;
    z-index: 1;
}

form.saveResult .newFieldNameInput #newOtherFieldName {
    opacity: 1;
    z-index: 2;
}

form.saveResult .newFieldNameInput.has-fields #newFieldName {
    opacity: 1;
    z-index: 2;
}

form.saveResult .newFieldNameInput.has-fields #newOtherFieldName {
    opacity: 0;
    z-index: 1;
}



#fShow-columns {
    height: 15em;
}

table#resListing .filterable > span {
    display: inline-block;
    position: relative;
}

table#resListing .filterable > span .filter {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 20em;
    height: 15em;
    background-color: white;
    padding: 15px;
    border: 1px inset gray;
    overflow: scroll;
}

@media print {
    nav.navbar, #filterForm, .filterable, .actionsCol {
        display: none;
    }
}

