html, body {
    height: 100%;
    background-color: #cccccc;
}

.table {
    margin-bottom: 0;
}

.config-bar {
    background-color: #333333;
    color: #cccccc;
    position: absolute;
    z-index: 3;
}

.config-bar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.config-bar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.active .img-thumbnail {
    background-color: #acc5eb;
}

.config-panel {
    display: none;
    z-index: 2;
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 15px;
    text-align: left;
    min-height: 100%;
    max-height: 100%;
    min-width: 300px;
}

.config-examples-modal .modal-dialog {
    min-width: 50%;
    max-width: 50%;
    text-align: left;
}

.config-examples-modal td {
    vertical-align: middle;
}

.config-examples-modal td:nth-child(1) {
    width: 60%;
}

.config-examples-modal td div {
    padding-bottom: 10px;
}

.config-examples-modal td .title {
    font-size: 1.2rem;
    font-weight: bold;
}

.config-examples-modal td .measures {
    font-weight: bold;
}

.config-modal .modal-dialog {
    min-width: 60%;
    max-width: 60%;
    text-align: left;
}

.config-modal table td, .config-modal table th {
    vertical-align: top;
}

.config-modal table .img-description {
    min-width: 100px;
    max-width: 200px;
}

.config-modal table .img-details {
    width: 100%;
}

.config-modal table td:nth-child(3) {
    width: 60%;
}

.config-modal-description div {
    padding-bottom: 10px;
}

.config-modal-description .title {
    font-weight: bold;
    color: red;
}

.config-modal-description .image {
    width: 100%;
    text-align: center;
}

.config-panel .config-selection {
    margin: 0 0 10px 10px;
}

.config-panel .card {
    background-color: rgba(255, 255, 255, 0.8);
    max-height: 100%;
}

.config-panel .card, .config-panel .card .card-body {
    max-height: 100%;
}

.config-panel .card .card-body {
    overflow-y: auto;
    max-width: 700px;
}

.config-panel img {
    max-width: 200px;
    max-height: 200px;
}

.config-panel table {
    font-size: 0.8rem;
}

.config-panel .img-big {
    width: 100%;
    max-width: inherit;
    max-height: inherit;
}

.container-parent {
    position: relative;
}

#details-panel {
    position: absolute;
    left: 50%;
    top: 0;
    padding: 15px;
    display: none;
    max-height: 100%;
    min-height: 100%;
    text-align: left;
}

#details-panel .card, #details-panel .card .card-body {
    max-height: 100%;
    min-height: 100%;
}

#details-panel > .card > .card-body {
    overflow-y: scroll;
    padding-right: 0.5rem;
}

#details-panel .card {
    background-color: rgba(255, 255, 255, 0.8);
}

#details-panel .accordion {
    font-size: 0.8rem;
}

#details-panel .accordion > .card {
    margin-bottom: 1.25rem;
}

#details-panel .accordion > .card > .card-header {
    cursor: pointer;
    font-weight: bold;
}

#details-panel table td, #details-panel table th, .config-panel table td {
    vertical-align: middle;
}

.config-panel table td>img {
    max-width: 100px;
    max-height: 100px;
}

#details-panel table td>img {

}

@media only screen and (max-width: 900px) {
    .config-bar {
        width: 100%;
        min-width: 100%;
        height: 150px;
        bottom: 0;
        padding: 15px 15px 15px 10px;
        overflow-x: auto;
    }

    .nav {
        flex-wrap: nowrap;
    }

    .button-config {
        margin-right: 10px;
    }

    .button-config:last-child {
        padding-right: 10px;
    }

    .container-parent {
        padding-bottom: 150px;
        padding-left: 0;
        padding-right: 0;
    }

    .config-panel {
        padding-bottom: 165px;
    }

    .config-link img {
        max-height: 100%;
        max-height: 120px;
    }

    .img-thumbnail {
        max-width: inherit;
        max-height: 100%;
    }

    .canvas-full {

    }
    
    .canvas-half {
        
    }

    .details-full {

    }

    .details-half {
        
    }
}

@media only screen and (min-width: 900px) {
    .config-bar {
        width: 150px;
        height: 100%;
        left: 0;
        overflow-y: auto;
    }

    .button-config:first-child {
        margin-top: 10px;
    }

    .button-config {
        margin-bottom: 10px;
    }

    .container-parent {
        padding-left: 150px;
    }

    .config-link img {
        max-width: 100%;
        padding: 0;
    }

    .config-panel {
        left: 150px;
    }

    #details-panel {
        padding-left: 50px;
    }

    .canvas-full {

    }
    
    .canvas-half {
        
    }

    .details-full {

    }

    .details-half {
        
    }
}

.youtube-modal .modal-dialog {
    min-width: 50%;
}

.three-d-modal .modal-dialog {
    min-width: 50%;
}
