body {
    font-family: 'Noto Sans','Roboto', sans-serif;
    line-height: normal;
    user-select: none;
    background-color: white;
}

.centered-container {
    width: calc(100% - 25px);
    margin-left: 20px;
}

@media (min-width: 640px) {
    .centered-container {
        width: unset;
        max-width: 640px;
        margin-left: unset;
    }
}

@media (min-width: 768px) {
    .centered-container {
        max-width: 768px;
        margin: auto;
    }
}

@media (min-width: 1024px) {
    .centered-container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .centered-container {
        max-width: 1280px;
    }
}

@keyframes cell-border-pulse {
    0%   { border-color: rgba(0, 0, 255, 0.3); }
    50%  { border-color: rgba(0, 0, 255, 1); }
    100% { border-color: rgba(0, 0, 255, 0.6); }
}

.selected-cell-handle {
    border-left: 4px transparent solid;
    background-color: transparent;
    transition: border 0.2s ease-in-out;
}

.cell-container:hover .selected-cell-handle {
    border-left: 4px rgba(0, 0, 255, 0.3) solid !important;
}

.selected-cell-handle.focused {
    border-left: 4px rgba(0, 0, 255, 0.6) solid !important;
    animation: cell-border-pulse 0.75s ease-out !important;
}

.cell-container:hover .selected-cell-handle.focused {
    border-left: 4px rgba(0, 0, 255, 0.8) solid !important;
}

.cell-container:hover .cell-handle.focused {
    border-left: 1px rgba(0, 0, 255, 0.8) dashed;
    border-bottom: 1px rgba(0, 0, 255, 0.8) dashed;
    border-top: 1px rgba(0, 0, 255, 0.8) dashed;
}

.cell-border {    
    border: 1px dashed transparent;
    transition: border 0.2s ease-in-out;
}

.cell-border.code {
    border: 1px dashed #ccc;
}

.cell-container:hover .cell-border {
    border: 1px dashed rgba(0, 0, 255, 0.3);
    transition: border 0.2s ease-in-out;
}

.cell-border.focused {
    border: 1px dashed rgba(0, 0, 255, 0.6) !important;
    animation: cell-border-pulse 0.75s ease-out !important;
}            

.cell-container:hover .cell-border.focused {
    border: 1px dashed rgba(0, 0, 255, 0.8) !important;
    transition: border 0.2s ease-in-out;
}   

.cell-border.empty {
    border: 1px dashed rgba(0, 0, 0, 0.2) !important;
    transition: border 0.2s ease-in-out;
}          

.cell-msg {
    display: none;
}

.cell-container:hover .cell-msg {
    display: block;
}

.cell-border.focused .cell-msg {
    display: block;
}

.error-border {
    border-top: 1px dashed #ccc;
    color: red;
    user-select: text;
    overflow: auto;
    padding-left: 24px;
}

.output-border {
    font-family: 'Source Code Pro', monospace !important;
    font-size: 0.85em;
    border-top: 1px dashed #ccc;
    transition: border 0.2s ease-in-out;
    background-color: #FBFBFB;
    user-select: text;
    height: 100%;
}

.output-resize-handle {
    z-index: 1500;
}

.pos-relative {
    position: relative;
}

iframe {
    border: 0;
    margin: 0;
    padding: 0;
    width: 100%;
}

.fuzzy-picker-background .fuzzy-picker {
    max-width: 80% !important;
    width: 80% !important;
}

.fuzzy-items {
    max-height: 400px;
    overflow: auto;
}

/*
Fix for popup menus with tooltips.
*/

.bp5-menu .bp5-popover-target {
    display: block;
}

.bp5-overlay {
    z-index: 4000;
}

.bp5-overlay.bp5-toast-container {
    z-index: 5000;
    position: fixed; /* Fixed positioning for toast notifications. */
}
