
.card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: auto;
    -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 16, 0.19), 0 0.3rem 0.3rem rgba(0, 0, 16, 0.23);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 16, 0.19), 0 0.3rem 0.3rem rgba(0, 0, 16, 0.23);
    background-color: rgb(255, 255, 255);
    padding: 0.8rem;
    width: 100%;
}

.rating-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-around;
    padding: 0.4rem 0.8rem;
    width: 100%;
}

.rating-text p {
    padding: 0.3rem;
    margin-top: 13px;
    font-size: 2rem;
}

.rating {
    background-color: #007bfe;
    padding: 0.4rem 0.4rem 0.1rem 0.4rem;
    border-radius: 0.8rem;
    display: flex;
}
.rating input {
    width: 36px;
    height: 36px;
}
.rating label {
    padding-left: 10px;
    margin-top: 10px;
}
.rating label:last-child {
    padding-right: 10px;
}
svg {
    fill: rgb(242, 242, 242);
    height: 3.6rem;
    width: 3.6rem;
    margin: 0.2rem;
}

.rating-form-2 svg {
    height: 3rem;
    width: 3rem;
    margin: 0.5rem;
}

#radios label {
    position: relative;
}

input[type="radio"] {
    position: absolute;
    opacity: 0;
}

input[type="radio"] + svg {
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    fill: #fff;
}

input + svg {
    cursor: pointer;
}

.rating-good:hover + svg,
.rating-good:checked + svg,
.rating-good:focus + svg,
.mark-good {
    fill: rgb(40, 167, 69);
}

.rating-bed:hover + svg,
.rating-bed:checked + svg,
.rating-bed:focus + svg,
.mark-bed {
    fill: rgb(239, 42, 16);
}

.rating-medium:hover + svg,
.rating-medium:checked + svg,
.rating-medium:focus + svg,
.mark-medium {
    fill: rgb(255, 193, 7);
}

@media screen and (max-width: 400px) {
    .rating-text {
        display: none;
    }
    .rating label {
        padding-left: 5px;
    }
    .rating label:last-child {
        padding-right: 5px;
    }
    .rating svg {
        width: 22px;
        height: 22px;
    }
}

.badge {
    white-space: normal!important;
}

.rating-container {
    display: -webkit-box!important;
}

.input-group .angucomplete-alt {
    width: calc(100% - 35px);
}
.angucomplete-dropdown {
    width: 100%!important;
}

.studentResult img {
    max-width: 75vw!important;
}
.studentResult td {
    word-wrap: break-word;
    max-width: 75vw;
}
.medium-icon {
    width: 24px!important;
    height: 24px!important;
}
.mb-5 {
    margin-bottom: 5px!important;
}
.mb-10 {
    margin-bottom: 10px!important;;
}
.icon-selected {
    border: 1px solid;
    border-radius: 50%;
    background-color: #d6d8d9;
    border-color: #c6c8ca;
    width: 35px;
    height: 35px;
    display: inline-block;
    padding-top: 2px;
    padding-left: 1px;
}
.rotate {
    vertical-align: middle!important;
}
.rotate div {
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
}
.gray {
    background-color: #dee2e6;
}

/* Tooltip text */
.tooltip-main .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    top: 125%;
    transform: rotate(180deg);
    writing-mode: horizontal-tb;
    left: 50%;
    margin-left: -60px;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip-main .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip-main:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}