html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 100px;
    /* Margin bottom by footer height */
}
/*xxl modal */
@media (min-width: 1400px) {
    .content-modal-dialog {
        max-width: 1320px;
    }
}

#content-modal .modal-body {
    max-height: calc(100vh - 180px);
    overflow-y: auto;
}

#content-modal .toastui-editor-defaultUI {
    min-height: 420px;
}

#content-modal .toastui-editor-main {
    min-height: 360px;
}
#content-modal textarea,
.cms-content-textarea {
    resize: vertical;
    min-height: 180px;
}

 /*markdown edditor wrapper*/
 .cms-markdown-editor-wrapper {
     position: relative;
     width: 100%;
 }

.cms-markdown-editor-container {
    width: 100%;
}

.cms-markdown-editor-resize-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    margin-top: -1px;
    border: 1px solid #dee2e6;
    border-top: 0;
    border-radius: 0 0 0.375rem 0.375rem;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 0.8rem;
    cursor: ns-resize;
    user-select: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.cms-markdown-editor-resize-handle:hover {
    background: #e9ecef;
    color: #212529;
}

.cms-markdown-editor-resize-handle::before {
    content: "";
    width: 34px;
    height: 4px;
    margin-right: 8px;
    border-top: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    opacity: 0.55;
}

.cms-markdown-editor-is-resizing {
    cursor: ns-resize !important;
    user-select: none !important;
}

/* footer*/
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #375a7f!important;
    color: rgba(255, 255, 255, .6);
    color: #fff;
    padding: 20px 0;
    font-family: Arial, sans-serif;
}

.footer-link {
    color: #dcdcdc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #fff;
}

.card-img-top {
    width: 100%;
    height: 10vw;
    object-fit: cover;
}

.back-to-top{
    color: #dcdcdc;
    text-decoration: none;
    transition: color 0.2s;
}
.back-to-top:hover{
    color: #ffffff;
}
