.chart-gallery {
    background-color: transparent;
}


/* 320px — 480px: Mobile devices
481px — 768px: iPads, Tablets
769px — 1024px: Small screens, laptops
1025px — 1200px: Desktops, large screens
1201px and more —  Extra large screens, TV */

.chart-gallery img {
    max-width: 325px;
    max-height: 195px;
    text-align: center;
    cursor: pointer;
    transition: all .4s ease-in-out;
}

.chart-gallery img:hover {
    transform: scaleY(1.1) scaleX(1.1);
}

body .modal-dialog {
    /* Width */
    max-width: 100%;
    width: auto !important;
    display: inline-block;
}

.modal {
    z-index: -1;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.modal-open .modal {
    z-index: 1050;
}

#chartPreviewDiv {
    width: 500px;
    height: 300px;
}

.chart-gallery .modal-header {
    padding-top: 1px;
    padding-bottom: 0.5rem;
    background-color: #4f5152;
}

.chart-gallery .modal-footer {
    /* padding-top: 1px; */
    padding-bottom: 0.3rem;
    padding-right: 0px;
}

.chart-gallery .modal-body {
    padding: 0px;
}

.chart-gallery .gallery-code-box {
    width: 700px;
    height: 500px;
}

.chart-gallery .preview-table {
    height: 500px;
}

.chart-gallery .CodeMirror {
    /* Set height, width, borders, and global font properties here */
    font-family: monospace;
    height: 100%;
    border: 1px solid #eee;
    font-size: 0.8rem;
}