﻿/* copied from http://www.abeautifulsite.net/whipping-file-inputs-into-shape-with-bootstrap-3/ */

/* TABLE RESPONSIVE */
/* issue: https://github.com/twbs/bootstrap/issues/11037*/
.table-responsive { overflow: visible; }

/* FIGURE */

/* source: https://stackoverflow.com/a/11652170 */

.figure { display: table !important; }


.figure-caption {
    display: table-caption !important;
    caption-side: bottom !important;
    text-align: center;
}

/*.collapsing {
    transition: none !important;
}*/

.btn-file {
    position: relative;
    overflow: hidden;
}

.input-expand { width: 10em; }

.input-expand:focus { width: 100%; }

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    -moz-min-width: 100%;
    -ms-min-width: 100%;
    -o-min-width: 100%;
    -webkit-min-width: 100%;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    -webkit-filter: alpha(opacity=0);
    -moz-filter: alpha(opacity=0);
    -o-filter: alpha(opacity=0);
    filter: alpha(opacity=0);
    -ms-opacity: 0;
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.modal-fullscreen.modal-dialog {
    width: 98%;
    height: 92%;
    padding: 0;
}

.modal-fullscreen .modal-content { height: 99%; }

.modal-fullscreen .modal-body {
    height: 99%;
    max-height: calc(100% - 140px);
}

.modal-fullheight.modal-dialog {
    height: 92%;
    padding: 0;
}

.modal-fullheight .modal-content { height: 99%; }

.modal-fullheight .modal-body {
    height: 99%;
    max-height: calc(100% - 140px);
}

.panel-btn {
    /*margin-left: 0.5em;*/
    margin-top: -0.5em;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    -ms-border-radius: 3px;
    border-radius: 3px;
}

.tab-pane {

    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    -ms-border-radius: 0px 0px 5px 5px;
    border-radius: 0px 0px 5px 5px;
    padding: 10px;
}

.nav-tabs { margin-bottom: 0; }