html body {
    margin-top: 80px;
    font-size: initial;
}

#articles_form {
    padding-right: 3rem !important;
    padding-left: 3rem !important;
}

.footer {
    width: 100%;
}

.nav-tabs .nav-link {
    background-color: #d3d3d3;
    color: #555;
    border-color: #bbb #bbb #ddd;
}

.nav-tabs .nav-link.active {
    background-color: #555;
    color: #fff;
    border-color: #555 #555 #fff;
}

.tab-content {
    padding: 0;
}

h1 {
    font-size: 2rem;
    margin: .5rem 0;
}

.card-img-top {
    width: 80%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.article-body {
    line-height: initial;
}

.article-body h2 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: .5rem;
}

.article-body h3 {
    margin-block-start: .5em;
    font-size: 1.75em;
}

.article-body h4 {
    margin-top: .5em;
    margin-bottom: .5em;
}

.article-body p {
    margin-block-start: 1em;
    margin-block-end: 1em;
    line-height: 1.5em;
}

.article-body ol, ul {
    padding-left: 2rem;
}

.article-body ol {
    list-style: decimal;
}

.article-body ul {
    list-style: circle;
}

.article-body strong {
    font-weight: bold;
}

.article-body table {
    border: 1px solid #dee2e6;
    width: 100%;
}

.article-body table thead {
    vertical-align: bottom;
}

.article-body table thead th {
    font-weight: bold;
}

.article-body table * * {
    padding: .5rem .5rem;
}

.article-body tbody tr:nth-of-type(odd)>* {
    background-color: rgba(0, 0, 0, 0.05);
}

.solution .sec-main .solution_dsc__wrap .solution_elem {
    height: initial;
}

.solution .sec-main .solution_dsc__wrap .solution_elem .fz22 {
    color: #052ab2;
    margin-bottom: 10px;
    text-align: center;
    border-bottom: double 4px #052ab2;
    font-size: 16px;
}

.solution .sec-main .solution_dsc__wrap.first h3 {
    font-size: calc(1rem + .6vw);
}

.fz18 {
    font-size: 14px;
}

.solution .sec__inner {
    padding: initial;
}

.sec-trial-msg {
    background-color: #f0f5ff;
    color: #146bc5;
}

.sec-btn {
    background-color: #052ab2;
}

.sec-btn:hover {
    background-color: #146bc5;
}

.modal {
    width: 100%;
    height: 100%;
    transform: initial;
    --bs-modal-width: 90%
}

.image-option {
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    border-radius: 5px;
}

.image-option:hover {
    transform: scale(1.1);
}

.selected {
    border: 3px solid blue;
}

@media (max-width: 768px) {
    .body-div {
        justify-content: center !important;
    }

    #articles_form {
        width: 90%;
        margin: 0 1rem !important;
        padding: 0 !important;
    }

    .tab-area {
        width: 100%;
        overflow-x: scroll;
    }

    .tab-menu {
        width: max-content;
    }

    #submit-btn {
        font-size: 18px;
        padding: 12px 20px;
    }

    .modal {
        display: block;
        width: 50%;
        height: 50vh;
        transform: translate(200%, 0);
    }

    input[type=checkbox]:checked+.modal {
        transform: translate(100%, 0);
    }

    .archive_panel {
        padding-top: 0 !important;
    }

    .archive_content {
        padding: 1rem 0 !important;
    }

    .thumb_wrap {
        margin: 5% 0 !important;
    }

    .w-50 {
        width: 80% !important;
    }

    .article-body {
        padding: 0 5% !important;
    }

    .article-body h3 {
        margin-block-start: .25em;
        font-size: 1.5em;
    }

    .summary_wrap, .summary_text {
        width: 100%;
    }

    .summary_img {
        display: none;
    }
}
