
/* custom modal css */
.modal-open {
    overflow: hidden;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.modal.fade .modal-dialog {
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    -webkit-transform: translate(0, -25%);
    transform: translate(0, -25%);
}

@media screen and (prefers-reduced-motion: reduce) {
    .modal.fade .modal-dialog {
        transition: none;
    }
}

.modal.show .modal-dialog {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

.modal-dialog-centered {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - (0.5rem * 2));
}

.modal-dialog-centered::before {
    display: block;
    height: calc(100vh - (0.5rem * 2));
    content: "";
}

.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.8rem;
    outline: 0;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: 0.5;
}

.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}

.modal-header .close {
    position: absolute;
    right: 0.5rem;
    background-color: transparent;
    font-size: 2.5rem;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem 1rem 2rem 1rem;
}

.modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #e9ecef;
}

.modal-footer > :not(:first-child) {
    margin-left: 0.25rem;
}

.modal-footer > :not(:last-child) {
    margin-right: 0.25rem;
}

.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }
    .modal-dialog-centered {
        min-height: calc(100% - (1.75rem * 2));
    }
    .modal-dialog-centered::before {
        height: calc(100vh - (1.75rem * 2));
    }
    .modal-sm {
        max-width: 300px;
    }
}

@media (min-width: 992px) {
    .modal-lg {
        max-width: 800px;
    }
}

.judgment-table {
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
}

.judgment-table tr th {
    font-weight: 700 !important;
}

.judgment-table th, .judgment-table td {
    border: 1px solid gray;
    text-align: center;
}

.judgment-table tr:first-child th {
    border-top: 0;
}

.judgment-table tr:last-child td {
    border-bottom: 0;
}

.judgment-table tr th:first-child {
    border-left: 0;
}

.judgment-table tr th:last-child {
    border-right: 0;
}

.judgment-table tr td:first-child {
    border-left: 0;
}

.judgment-table tr td:last-child {
    text-align: left;
    border-right: 0;
    padding: 0 1rem;
}

.section-title.with-border {
    border-radius: 0.6rem;
}

.border-box {
    border-radius: 0.6rem;
    padding: 0.4em 20px;
    margin: 0.2rem 0;
}

.overview {
    background-color: #ffe8b8;
    border-radius: 10px;
    margin: 0 0.5rem 0 0;
    padding: 1rem 0;
    min-height: 182px;
}

@media screen and (max-width: 767px) {
    .overview {
        min-height: 120px;
    }
}

.overview-score {
    font-size: 5rem;
    line-height: 6.5rem;
}

@media screen and (max-width: 767px) {
    .overview-score {
        font-size: 4rem;
        line-height: 4.5rem;
    }
}

.helper-icon {
    color: #007bff;
    font-size: 2.4rem;
}

@media screen and (max-width: 767px) {
    .helper-icon {
        color: #007bff;
        font-size: 1.8rem;
    }
}

a {
    color: #000;
}

.custom-btn {
    background-color: transparent;
    border: none;
    color: #007bff;
    text-decoration: underline;
}

.comment {
    min-height: 182px;
    border-radius: 10px;
    padding: 0 10px;
}

@media screen and (max-width: 767px) {
    .comment {
        min-height: 120px;
    }
}

.comment .comment-body {
    padding: 1rem 1rem 0 1rem;
}

/* https://stackoverflow.com/questions/5269713/css-ellipsis-on-second-line */
.text-ellipsis {
    width: 100%;
    overflow: hidden;
    position: relative;
    line-height: 1.2em;
    max-height: 2.4em;
    text-align: justify;
    margin-right: -1em;
    padding-right: 1em;

}

.text-xs {
    font-size: 1.6rem;
}

@media screen and (max-width: 767px) {
    .text-xs {
        font-size: 1.2rem;
    }
}

.text-sm {
    font-size: 1.8rem;
}

@media screen and (max-width: 767px) {
    .text-sm {
        font-size: 1.4rem;
    }
}

.text-md {
    font-size: 2.2rem;
}

@media screen and (max-width: 767px) {
    .text-md {
        font-size: 1.8rem;
    }
}

.text-lg {
    font-size: 2.6rem;
}

@media screen and (max-width: 767px) {
    .text-lg {
        font-size: 2.2rem;
    }
}


.comment-body a {
    text-decoration: underline;
}

.comment-expand {
    text-align: right;
    margin: 0.5rem 1rem 0.5rem 0;
}

#comment {
    padding: 0.5rem 0;
}

.search-btn-group {
    text-align: right;
}

@media screen and (max-width: 767px) {
    .search-btn-group {
        text-align: center;
    }
}

.search-btn {
    min-width: 150px;
    border-radius: 0.2rem;
}

@media screen and (max-width: 767px) {
    .search-btn {
        min-width: 100px;
        height: 40px;
        padding: 0 20px;
        color: #fff;
        font-size: 1.4rem;
        line-height: 40px;
    }
}

.checkbox-group {
    font-size: 1.6rem;
    padding: 1rem;
}

@media screen and (max-width: 991px) {
    .checkbox-group {
        font-size: 1.6rem;
        padding: 0.5rem 0.5rem 0 0.25rem;
    }
}


.checkbox-group .form-group {
    margin: 0 0.5rem 0.5rem 0;
}

.form-group input {
    margin: 0;
    max-width: 100%;
    height: auto;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: #333333;
    vertical-align: middle;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: .08em solid #333333;
    cursor: pointer;
}

.form-group label {
    display: inline-block;
    cursor: pointer;
}

.form-group input[type="checkbox"] {
    width: 1.25em; height: 1.25em;
}

.form-group input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3Csvg height='32' width='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m11.4 21.5-5.93-5.93-2.01 2.01 7.94 7.94 17.1-17.1-2.01-2.01z' fill='%23fff'/%3E%3C/svg%3E");
    background-size: 80% 80%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #333333;
    border-color: #333333;
}


.judgment-section {
    border-radius: 0.6rem;
    padding: 0.4em 20px;
    line-height: 1.22727;
}

.judgment-section .judgment-type {
    font-weight: bold;
}

.judgment-section a {
    text-decoration: underline;
}

.judgment-section-detail {
    display: none;
    overflow: hidden;
}

.judgment-section-detail h4 {
    font-weight: 400;
}

.hidden-mobile {
    display: block;
}

@media screen and (max-width: 767px) {
    .hidden-mobile {
        display: none;
    }
}


.judg-detail-row .show-more {
    text-decoration: underline;
}

.judg-detail-row .show-more a{
    color:#007bff;
}

.judg-detail-row .show-more{
    text-align: right;
    color:#007bff;
}

@media screen and (max-width: 767px) {
    .result-value {
        padding-right: 0.75rem;
        float: right;
    }
}


.comment-rank {
    font-size: 3.2rem;
    line-height: 4rem;
}

@media screen and (max-width: 767px) {
    .comment-rank {
        font-size: inherit;
        line-height: inherit;
    }
}

.breadcrumb {
    display: inline-block;
}

.is-ok {
    font-weight: 500;
}

.text-end {
    text-align: right;
    padding-right: 1rem !important;
}

.text-wrap {
    overflow-wrap: break-word;
    word-break: break-word;
}

@media screen and (max-width: 480px) {
    .mark {
        padding-left: 1rem;
    }
}

#functions {
    word-break: break-all;
}
.result-unit {
    padding-top: 0.3rem !important;
    font-size: 12px !important;
}
