.fade {
    /* background-color: rgba(0, 0, 0, 0.75); */
    background-color: rgba(255, 255, 255, 0.8);
}

.fade2 {
    /* background-color: rgba(0, 0, 0, 0.75); */
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    background-color: #000000;
}

.modal-dialog .modal-content {
    box-shadow: 0 27px 24px 0 rgba(0, 0, 0, 0.2), 0 40px 77px 0 rgba(0, 0, 0, 0.22);
    border-radius: 6px;
    border: none;
    /* margin-left: 92px; */
    padding: 16px;
    background-color: #efefef;
}

.modal-dialog .back-black {
    background-color: #000000;
    color: white;
}

.modal-dialog .modal-content .card-signup {
    margin: 0;
}

.modal-dialog .modal-content .card-signup .modal-header {
    padding-top: 0;
}

.modal-dialog .modal-header {
    border-bottom: none;
    padding-top: 24px;
    padding-right: 24px;
    padding-bottom: 0;
    padding-left: 24px;
}

.modal-dialog .modal-body {
    padding-top: 8px;
    padding-right: 0px !important;
    padding-bottom: 24px;
    padding-left: 0px !important;
}

.modal-dialog .modal-footer {
    border-top: none;
    padding: 24px;
}

.modal-dialog .modal-footer.text-center {
    text-align: center;
}

.modal-dialog .modal-footer button {
    margin: 0;
    padding-left: 16px;
    padding-right: 16px;
    width: auto;
}

.modal-dialog .modal-footer button.pull-left {
    padding-left: 5px;
    padding-right: 5px;
    position: relative;
    left: -5px;
}

.modal-dialog .modal-body+.modal-footer {
    padding-top: 0;
}

.modal-backdrop {
    background: rgba(0, 0, 0, 0.5);
}

.modal .modal-dialog {
    margin-top: 48px;
}

.modal .modal-header .close {
    color: #999;
}

.modal .modal-header .close:hover,
.modal .modal-header .close:focus {
    opacity: 1;
}

.modal .modal-header .close i {
    font-size: 16px;
}

.modal-login {
    max-width: 360px;
}

.modal-card {
    max-width: 50%;
}

.modal-login .modal-header .close {
    color: #fff;
    top: -25px;
    right: 34px;
    text-shadow: none;
    position: absolute;
}

.modal-login .modal-header .card-header {
    width: 100%;
}

.modal-login .modal-header .card-header .social-line {
    margin-top: 1rem;
    text-align: center;
    padding: 0;
}

.modal-login .modal-header .card-header .social-line .btn {
    color: #fff;
    margin-left: 5px;
    margin-right: 5px;
}

.modal-login .modal-footer {
    padding-bottom: 0;
    padding-top: 0;
}

.modal-login .modal-body {
    padding-left: 4px;
    padding-bottom: 20px;
    padding-top: 0;
}

.modal-login .modal-body .form .description {
    padding-top: 15px;
    margin-bottom: -10px;
}

.modal-login .card-signup {
    margin-bottom: 0;
}

.modal-signup {
    max-width: 900px;
}

.modal-signup .info-horizontal {
    padding: 0px 0px 20px;
}

.modal-signup .modal-title {
    text-align: center;
    width: 100%;
}

.modal-signup .modal-footer {
    padding: 0 5px;
}

.modal-signup .modal-header {
    padding-top: 0;
}

.modal-signup .modal-header .close {
    margin-top: -35px;
}

.modal-signup .card-signup {
    padding: 40px 0;
    margin-bottom: 0;
}

.modal-signup .card-signup .form-check {
    margin-left: 20px;
    padding-top: 27px;
}

.modal-signup .card-signup .form-check .form-check-label {
    padding-left: 35px;
}

.modal-signup .modal-body {
    padding-bottom: 0;
    padding-top: 0;
}

.modal-notice .instruction {
    margin-bottom: 25px;
}

.modal-notice .picture {
    max-width: 150px;
}

.modal-notice .modal-content .btn-raised {
    margin-bottom: 15px;
}

.modal-small {
    width: 300px;
    margin: 0 auto;
}

.dropdown:after {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}

.dropdown.show>.dropdown-toggle:after {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    padding: 0.3125rem 0;
    border: 0;
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    will-change: transform, opacity;
    -webkit-transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
}

.dropdown-menu.showing {
    -webkit-animation-name: bmd-dropdown-animation;
    animation-name: bmd-dropdown-animation;
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.open>.dropdown-menu,
.dropdown-menu.show {
    display: block;
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.dropdown-menu.hiding {
    display: block;
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}

.dropdown-menu[x-placement="bottom-start"] {
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
}

.dropdown-menu[x-placement="bottom-end"] {
    -webkit-transform-origin: 100% 0;
    transform-origin: 100% 0;
}

.dropdown-menu[x-placement="top-start"] {
    -webkit-transform-origin: 0 100%;
    transform-origin: 0 100%;
}

.dropdown-menu[x-placement="top-end"] {
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}

.dropdown-menu .disabled>a {
    color: #777;
}

.dropdown-menu .disabled>a:focus,
.dropdown-menu .disabled>a:hover {
    text-decoration: none;
    background-color: transparent;
    background-image: none;
    color: #777;
}

.dropdown-menu.dropdown-with-icons .dropdown-item {
    padding: 0.75rem 1.25rem 0.75rem 0.75rem;
}

.dropdown-menu.dropdown-with-icons .dropdown-item .material-icons {
    vertical-align: middle;
    font-size: 24px;
    position: relative;
    margin-top: -4px;
    top: 1px;
    margin-right: 12px;
    opacity: 0.5;
}

.dropdown-menu .dropdown-item,
.dropdown-menu li>a {
    position: relative;
    width: auto;
    display: -webkit-box;
    display: flex;
    flex-flow: nowrap;
    -webkit-box-align: center;
    align-items: center;
    color: #333;
    font-weight: normal;
    text-decoration: none;
    font-size: 0.8125rem;
    border-radius: 0.125rem;
    margin: 0 0.3125rem;
    -webkit-transition: all 150ms linear;
    transition: all 150ms linear;
    min-width: 7rem;
    padding: 0.625rem 1.25rem;
    overflow: hidden;
    line-height: 1.42857;
    text-overflow: ellipsis;
    word-wrap: break-word;
}

@media (min-width: 768px) {
    .dropdown-menu .dropdown-item,
    .dropdown-menu li>a {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:active,
.dropdown-menu a:active,
.dropdown-menu a.active,
.dropdown-menu a:hover,
.dropdown-menu a:focus,
.dropdown-menu a:active {
    box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(156, 39, 176, 0.4);
    background-color: #9c27b0 !important;
    color: #ffffff !important;
}

.dropdown-toggle.bmd-btn-icon::after,
.dropdown-toggle.bmd-btn-fab::after {
    display: none;
}

.dropdown-toggle.bmd-btn-icon~.dropdown-menu.dropdown-menu-top-left,
.dropdown-toggle.bmd-btn-icon~.dropdown-menu.dropdown-menu-top-right,
.dropdown-toggle.bmd-btn-fab~.dropdown-menu.dropdown-menu-top-left,
.dropdown-toggle.bmd-btn-fab~.dropdown-menu.dropdown-menu-top-right {
    bottom: 2rem;
}

.dropdown-toggle:after {
    will-change: transform;
    -webkit-transition: -webkit-transform 150ms linear;
    transition: -webkit-transform 150ms linear;
    transition: transform 150ms linear;
    transition: transform 150ms linear, -webkit-transform 150ms linear;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}

.dropdown-toggle.open:after {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.dropdown-toggle.bmd-btn-fab-sm~.dropdown-menu.dropdown-menu-top-left,
.dropdown-toggle.bmd-btn-fab-sm~.dropdown-menu.dropdown-menu-top-right {
    bottom: 2.5rem;
}

.dropdown-toggle.bmd-btn-icon~.dropdown-menu {
    margin: 0;
}

.dropdown-header {
    font-size: 0.75rem;
    padding-top: 0.1875rem;
    padding-bottom: 0.1875rem;
    text-transform: none;
    color: #777;
    line-height: 1.42857;
    font-weight: inherit;
}

.input-group {
    width: 95%;
}

.form-control,
.is-focused .form-control {
    background-image: linear-gradient(to top, #ffffff 1px, #ffffff 2px), linear-gradient(to top, #dddddd 32px, #eeeeee 32px);
    /* background-image: none; */
    /* border: 2px solid rgb(0, 89, 255), 1px solid #e61d1d; */
    /* padding: 2px; */
    /* padding:0; */
    text-indent: 8px;
}

.messagewriteModal .form-control,
.is-focused .form-control {
    background-image: linear-gradient(to top, #ffffff 1px, #ffffff 2px), linear-gradient(to top, #efefef 32px, #efefef 32px);
    /* background-image: none; */
    /* border: 2px solid rgb(0, 89, 255), 1.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn)px solid #e61d1d; */
    /* padding: 2px; */
    /* padding:0; */
    text-indent: 8px;
    border: 1px solid #b8b8b8;
}

.message_text {
    height: auto;
    font-size: 0.8rem !important;
    padding: 16px 8px 0 0px;
    margin-left: 20px;
    border-top: 1px solid #d3d3d3;
}

.form-group {
    margin-bottom: 4px;
    position: relative;
}

.form-control::-moz-placeholder {
    color: #838383;
    font-weight: 400;
    font-size: 13px;
}

.form-control:-ms-input-placeholder {
    color: #838383;
    font-weight: 400;
    font-size: 13px;
}

.form-control::-webkit-input-placeholder {
    color: #838383;
    font-weight: 400;
    font-size: 13px;
}

.input-group .input-group-text {
    font-size: 0.75rem !important;
}

.bmd-form-group {
    position: relative;
    padding-top: 8px;
}

.modal-login .modal-body .form .description {
    padding-top: 8px;
    margin-bottom: 12px;
}

.modal-userinfo .modal-body .form .description {
    padding-top: 8px;
    margin-bottom: 12px;
}

.modal-body p {
    font-size: 1.0rem !important;
    color: #000000 !important;
    font-weight: 500;
    position: absolute;
    bottom: 0px;
}

.normal_text {
    text-align: center;
}

.text-white {
    color: #ffffff !important;
}

.modal-login .modal-header {
    border-bottom: none;
    padding-top: 0px;
    padding-right: 24px;
    padding-bottom: 18px;
    padding-left: 24px;
    text-align: center;
}

.modal-login .modal-header .close {
    color: #dd0000;
    top: 24px;
    right: 28px;
    text-shadow: none;
    position: absolute;
}

.modal-userinfo .modal-header {
    border-bottom: none;
    padding-top: 0px;
    padding-right: 24px;
    padding-bottom: 18px;
    padding-left: 24px;
    text-align: center;
}

.modal-userinfo .modal-header .close {
    color: #dd0000;
    top: 24px;
    right: 28px;
    text-shadow: none;
    position: absolute;
}

@media screen and (max-width: 991px) {
    .modal-login {
        max-width: none !important;
    }
    .modal-userinfo {
        max-width: none !important;
    }
    .modal-card {
        max-width: 560px !important;
    }
    .fade {
        background-color: rgba(0, 0, 0, 0.82);
    }
}

@media screen and (min-width: 992px) {
    .modal-login {
        max-width: 480px !important;
    }
    .modal-card {
        max-width: 560px !important;
    }
    .modal-userinfo {
        max-width: 480px !important;
    }
    .promoImg {
        width: 400px !important;
        height: 550px !important;
    }
}

/* select_width */

.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
    width: 80% !important;
}

.card-collapse .card-header {
    border-bottom: 1px solid #ddd;
    padding: 0px 10px 6px 16px;
    margin: 0;
    box-shadow: none !important;
    background: #ffffff;
}

.card-collapse .card-header a i {
    float: right;
    top: -2px;
    position: relative;
}

.cc_card_set {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.cc_card_back {
    width: 172px;
    height: 216px;
    background: url('../images/cardback_effect2.gif');
    background-size: 100%;
}

.cc_card {
    display: block;
    width: 118px;
    height: 158px;
    background: url('../images/cc_card.png');
    background-size: 100%;
    margin: 28px 0 0 27px;
    transition: 0.1s;
}

.cc_card_backDummy {
    width: 172px;
    /* height: 216px; */
    /* background: url('../images/cardback_effect2.gif'); */
    background-size: 100%;
}

.cc_cardDummy {
    display: block;
    width: 118px;
    background-size: 100%;
    transition: 0.1s;
}

@media (max-width: 375.98px) {
    .cc_card_back {
        width: 114px;
        height: 178px;
    }
    .cc_card {
        width: 112px;
        height: 150px;
        margin: 28px 0 0 2px;
    }
    .cc_card_backDummy {
        width: 114px;
        height: 178px;
    }
    .cc_cardDummy {
        width: 112px;
        height: 150px;
        margin: 28px 0 0 2px;
    }
    .modal-title {
        font-size: 15px;
    }
    .modal-login .modal-body {
        padding-bottom: 100px !important;
        padding-top: 75px;
    }
    .modal .fade .show {
        pointer-events: none;
    }
    .cc_cardSubT {
        top: 70px !important;
        left: 65px !important;
    }
}

@media (max-width: 280px) {
    .cc_card_set {
        margin-top: 60px;
    }
    .cc_cardSubT {
        top: 70px !important;
        left: 30px !important;
    }
    .modal-title {
        margin-left: -25px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 991px) {
    .modal-login .modal-body {
        padding-bottom: 70px !important;
    }
}

.cc_card_selected>a {
    background: url('../images/cc_card_comp.png');
}

.cc_card:hover {
    outline: 3px solid white;
    border-radius: 10px;
}

.cc_card:active {
    outline: 3px solid #ffd375;
    border-radius: 10px;
}

.cc_t1 {
    font-size: 14px;
    font-weight: 400;
    color: #c2c2c2;
    text-align: center;
    padding-top: 12px;
}

.cc_t2 {
    font-size: 32px;
    font-weight: 600;
    color: #fffddd;
    text-align: center;
    padding-top: 28px;
    opacity: 0.6;
}

.cc_t22 {
    font-size: 32px;
    font-weight: 600;
    color: #f2ffa7;
    text-align: center;
    padding-top: 28px;
    opacity: 0.6;
}

.cc_t23 {
    font-size: 32px;
    font-weight: 600;
    color: #a9fcff;
    text-align: center;
    padding-top: 28px;
    opacity: 0.6;
}

.cc_t3 {
    font-size: 14px;
    font-weight: 400;
    color: #bceff3;
    text-align: center;
    padding-top: 32px;
}

.cc_t4 {
    font-size: 14px;
    font-weight: 400;
    color: #ffcf9c;
    text-align: center;
    padding-top: 15px;
}

/*----------------------------------------------------------------------------*/

/*-----------------------------modal table------------------------------------*/

/*----------------------------------------------------------------------------*/

.modal-body .tg {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

.modal-body .tg td {
    /* font-size: 12px; */
    overflow: hidden;
    padding: 6px 2px;
    word-break: normal;
    text-align: center;
    border-bottom: 1px solid #d1d1d1;
    line-height: 13px;
}

.modal-body .tg th {
    font-size: 12px;
    font-weight: normal;
    overflow: hidden;
    padding: 2px 2px;
    word-break: normal;
    text-align: center;
    background-color: #d3d3d3;
    border-right: 1px solid #efefef;
}

.modal-body .tg .tg-0lax {
    vertical-align: top;
}

.modal-body .tg .tg-0lax {
    vertical-align: top;
}

.modal-body .tg .tg-date {
    font-size: 10px;
    color: #808080;
    white-space: wrap !important;
}

.modal-body .tg .tg-no {
    font-size: 11px;
    color: #2b2b2b;
    white-space: wrap;
}

.modal-body .tg .tg-mm {
    text-align: left;
    text-indent: 8px;
    white-space: wrap;
    text-overflow: ellipsis !important;
}

.modal-body .tg .tg-m2 {
    text-align: center;
    white-space: wrap;
    color: red;
    font-weight: 600;
}

.modal-body .tg .tg-m3 {
    font-size: 11px !important;
}

.modal-body .tg .tg-mm a {
    color: #2e3c63;
    /* color: #fafafa; */
}

.modal-body .tg .tg-mm a:hover {
    /* color: rgb(49, 92, 172); */
    color: #ff9800;
}

.modal-body .tg .tg-mm-b {
    text-align: center;
    color: red;
}

.pagination>.page-item.active>a,
.pagination>.page-item.active>a:focus,
.pagination>.page-item.active>a:hover,
.pagination>.page-item.active>span,
.pagination>.page-item.active>span:focus,
.pagination>.page-item.active>span:hover {
    background-color: #be0000;
    border-color: #b60000;
    color: #fff;
    box-shadow: 0 4px 5px 0 rgba(176, 39, 39, 0.14), 0 1px 10px 0 rgba(176, 39, 39, 0.12), 0 2px 4px -1px rgba(176, 39, 39, 0.2);
}

.myinfo_box {
    width: 100%;
    height: auto;
    background-color: #fcfcfc;
    display: grid;
    /* flex-wrap: wrap; */
    font-size: 12px;
    color: #424242;
    border-top: 1px solid #c4c4c4;
    border-bottom: 1px solid #c4c4c4;
    /* justify-content: space-between; */
    /* padding: 8px 16px; */
    grid-template-columns: 68% 32%;
    grid-template-rows: 18% 18% 64%;
    /* justify-items: right; */
}

.myinfo_box span {
    color: #16284e;
    font-weight: 600;
}

.myinfo_box .mi_01 {
    /* width: 50%; */
    grid-column: 1;
    grid-row: 1;
    padding: 8px 16px;
}

.myinfo_box .mi_02 {
    /* width: 50%; */
    /* text-align: right; */
    grid-column: 2;
    grid-row: 1 / 4;
    display: flex;
    justify-content: flex-end;
    /* padding-left: 40px; */
}

.myinfo_box .mi_03 {
    /* width: 50%; */
    grid-column: 1;
    grid-row: 2;
    padding: 12px 16px;
}

.c_do,
.c_do:visited,
.c_do:active {
    color: #dbdbdb;
    background-color: #8f8f8f;
    padding: 2px 1px;
    cursor: default;
}

.c_use,
.c_user:active,
.c_user:visited {
    font-size: 11px;
    color: #002a9e;
    padding: 2px 1px;
    font-weight: 600;
}

.c_use:hover {
    color: #006eff;
    background-color: #f5f5f5;
    padding: 2px 1px;
}

.c_used,
.c_used:active,
.c_used:visited {
    color: #7c7c7c;
    padding: 2px 1px;
    cursor: default;
}

.c_wd,
.c_wd:visited,
.c_wd:active {
    font-size: 11px;
    color: #d10000;
    padding: 2px 1px;
    font-weight: 600;
}

.c_wd:hover {
    color: #990000;
    background-color: #f5f5f5;
    padding: 2px 1px;
}

.myrolling {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.myrolling .mrset {
    display: block;
    width: 33%;
    text-align: center;
    margin-bottom: 8px;
    font-size: 12px;
}

.myrolling .mrtitle {
    background-color: #e2e2e2;
    font-size: 11px;
}

.myrolling .mrprice {
    font-size: 12px;
    color: #002a9e;
}

.myrolling .mrset_dummy {
    display: block;
    width: 33%;
    height: 0px;
}

.myrolling .mr_info {
    display: block;
    width: 100%;
    text-align: left;
    padding: 4px 8px;
    font-size: 12px;
    background-color: #e2e2e2;
    margin-bottom: 8px;
    font-weight: 600;
}

.mrp_info {
    display: block;
    width: 100%;
    text-align: left;
    padding: 4px 8px;
    font-size: 12px;
    background-color: #e2e2e2;
    margin-bottom: 8px;
    font-weight: 600;
}

.mrp_info_text {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 11px !important;
    margin-bottom: 0px;
    line-height: 12px;
}

.mb-0 .collapsed {
    font-size: 13px !important;
    font-weight: 600;
}

.mb-0 a {
    font-size: 13px !important;
    font-weight: 600;
}

.mb-0 a i {
    font-size: 1.3rem !important;
}

.pbar_set {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.pbar_index_start {
    width: 50%;
    text-align: left;
    font-size: 11px;
}

.pbar_index_end {
    width: 50%;
    text-align: right;
    font-size: 11px;
}

.pbar_index_0 {
    width: 33.33%;
    text-align: left;
    font-size: 11px;
    color: #48acd6;
}

.pbar_index_50 {
    width: 33.33%;
    text-align: center;
    font-size: 11px;
    color: #48acd6;
}

.pbar_index_100 {
    width: 33.33%;
    text-align: right;
    font-size: 11px;
    color: #48acd6;
}

.pbar_title {
    width: 100%;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.progress-circle {
    font-size: 16px;
    margin: 12px;
    position: relative;
    /* so that children can be absolutely positioned */
    padding: 0;
    width: 5em;
    height: 5em;
    background-color: #bbe4f0;
    border-radius: 50%;
    line-height: 2em;
}

.progress-circle:after {
    border: none;
    position: absolute;
    top: 0.4em;
    left: 0.4em;
    text-align: center;
    display: block;
    border-radius: 50%;
    width: 4.2em;
    height: 4.2em;
    background-color: white;
    content: " ";
}

/* Text inside the control */

.progress-circle span {
    position: absolute;
    line-height: 5em;
    width: 5em;
    text-align: center;
    display: block;
    color: #585858;
    z-index: 2;
}

.left-half-clipper {
    /* a round circle */
    border-radius: 50%;
    width: 5em;
    height: 5em;
    position: absolute;
    /* needed for clipping */
    clip: rect(0, 5em, 5em, 2.5em);
    /* clips the whole left half*/
}

/* when p>50, don't clip left half*/

.progress-circle.over50 .left-half-clipper {
    clip: rect(auto, auto, auto, auto);
}

.value-bar {
    /*This is an overlayed square, that is made round with the border radius,
  then it is cut to display only the left half, then rotated clockwise
  to escape the outer clipping path.*/
    position: absolute;
    /*needed for clipping*/
    clip: rect(0, 2.5em, 5em, 0);
    width: 5em;
    height: 5em;
    border-radius: 50%;
    border: 0.45em solid #48acd6;
    /*The border is 0.35 but making it larger removes visual artifacts */
    /*background-color: #4D642D;*/
    /* for debug */
    box-sizing: border-box;
}

/* Progress bar filling the whole right half for values above 50% */

.progress-circle.over50 .first50-bar {
    /*Progress bar for the first 50%, filling the whole right half*/
    position: absolute;
    /*needed for clipping*/
    clip: rect(0, 5em, 5em, 2.5em);
    background-color: #48acd6;
    border-radius: 50%;
    width: 5em;
    height: 5em;
}

.progress-circle:not(.over50) .first50-bar {
    display: none;
}

/* Progress bar rotation position */

.progress-circle.p0 .value-bar {
    display: none;
}

.progress-circle.p1 .value-bar {
    transform: rotate(4deg);
}

.progress-circle.p2 .value-bar {
    transform: rotate(7deg);
}

.progress-circle.p3 .value-bar {
    transform: rotate(11deg);
}

.progress-circle.p4 .value-bar {
    transform: rotate(14deg);
}

.progress-circle.p5 .value-bar {
    transform: rotate(18deg);
}

.progress-circle.p6 .value-bar {
    transform: rotate(22deg);
}

.progress-circle.p7 .value-bar {
    transform: rotate(25deg);
}

.progress-circle.p8 .value-bar {
    transform: rotate(29deg);
}

.progress-circle.p9 .value-bar {
    transform: rotate(32deg);
}

.progress-circle.p10 .value-bar {
    transform: rotate(36deg);
}

.progress-circle.p11 .value-bar {
    transform: rotate(40deg);
}

.progress-circle.p12 .value-bar {
    transform: rotate(43deg);
}

.progress-circle.p13 .value-bar {
    transform: rotate(47deg);
}

.progress-circle.p14 .value-bar {
    transform: rotate(50deg);
}

.progress-circle.p15 .value-bar {
    transform: rotate(54deg);
}

.progress-circle.p16 .value-bar {
    transform: rotate(58deg);
}

.progress-circle.p17 .value-bar {
    transform: rotate(61deg);
}

.progress-circle.p18 .value-bar {
    transform: rotate(65deg);
}

.progress-circle.p19 .value-bar {
    transform: rotate(68deg);
}

.progress-circle.p20 .value-bar {
    transform: rotate(72deg);
}

.progress-circle.p21 .value-bar {
    transform: rotate(76deg);
}

.progress-circle.p22 .value-bar {
    transform: rotate(79deg);
}

.progress-circle.p23 .value-bar {
    transform: rotate(83deg);
}

.progress-circle.p24 .value-bar {
    transform: rotate(86deg);
}

.progress-circle.p25 .value-bar {
    transform: rotate(90deg);
}

.progress-circle.p26 .value-bar {
    transform: rotate(94deg);
}

.progress-circle.p27 .value-bar {
    transform: rotate(97deg);
}

.progress-circle.p28 .value-bar {
    transform: rotate(101deg);
}

.progress-circle.p29 .value-bar {
    transform: rotate(104deg);
}

.progress-circle.p30 .value-bar {
    transform: rotate(108deg);
}

.progress-circle.p31 .value-bar {
    transform: rotate(112deg);
}

.progress-circle.p32 .value-bar {
    transform: rotate(115deg);
}

.progress-circle.p33 .value-bar {
    transform: rotate(119deg);
}

.progress-circle.p34 .value-bar {
    transform: rotate(122deg);
}

.progress-circle.p35 .value-bar {
    transform: rotate(126deg);
}

.progress-circle.p36 .value-bar {
    transform: rotate(130deg);
}

.progress-circle.p37 .value-bar {
    transform: rotate(133deg);
}

.progress-circle.p38 .value-bar {
    transform: rotate(137deg);
}

.progress-circle.p39 .value-bar {
    transform: rotate(140deg);
}

.progress-circle.p40 .value-bar {
    transform: rotate(144deg);
}

.progress-circle.p41 .value-bar {
    transform: rotate(148deg);
}

.progress-circle.p42 .value-bar {
    transform: rotate(151deg);
}

.progress-circle.p43 .value-bar {
    transform: rotate(155deg);
}

.progress-circle.p44 .value-bar {
    transform: rotate(158deg);
}

.progress-circle.p45 .value-bar {
    transform: rotate(162deg);
}

.progress-circle.p46 .value-bar {
    transform: rotate(166deg);
}

.progress-circle.p47 .value-bar {
    transform: rotate(169deg);
}

.progress-circle.p48 .value-bar {
    transform: rotate(173deg);
}

.progress-circle.p49 .value-bar {
    transform: rotate(176deg);
}

.progress-circle.p50 .value-bar {
    transform: rotate(180deg);
}

.progress-circle.p51 .value-bar {
    transform: rotate(184deg);
}

.progress-circle.p52 .value-bar {
    transform: rotate(187deg);
}

.progress-circle.p53 .value-bar {
    transform: rotate(191deg);
}

.progress-circle.p54 .value-bar {
    transform: rotate(194deg);
}

.progress-circle.p55 .value-bar {
    transform: rotate(198deg);
}

.progress-circle.p56 .value-bar {
    transform: rotate(202deg);
}

.progress-circle.p57 .value-bar {
    transform: rotate(205deg);
}

.progress-circle.p58 .value-bar {
    transform: rotate(209deg);
}

.progress-circle.p59 .value-bar {
    transform: rotate(212deg);
}

.progress-circle.p60 .value-bar {
    transform: rotate(216deg);
}

.progress-circle.p61 .value-bar {
    transform: rotate(220deg);
}

.progress-circle.p62 .value-bar {
    transform: rotate(223deg);
}

.progress-circle.p63 .value-bar {
    transform: rotate(227deg);
}

.progress-circle.p64 .value-bar {
    transform: rotate(230deg);
}

.progress-circle.p65 .value-bar {
    transform: rotate(234deg);
}

.progress-circle.p66 .value-bar {
    transform: rotate(238deg);
}

.progress-circle.p67 .value-bar {
    transform: rotate(241deg);
}

.progress-circle.p68 .value-bar {
    transform: rotate(245deg);
}

.progress-circle.p69 .value-bar {
    transform: rotate(248deg);
}

.progress-circle.p70 .value-bar {
    transform: rotate(252deg);
}

.progress-circle.p71 .value-bar {
    transform: rotate(256deg);
}

.progress-circle.p72 .value-bar {
    transform: rotate(259deg);
}

.progress-circle.p73 .value-bar {
    transform: rotate(263deg);
}

.progress-circle.p74 .value-bar {
    transform: rotate(266deg);
}

.progress-circle.p75 .value-bar {
    transform: rotate(270deg);
}

.progress-circle.p76 .value-bar {
    transform: rotate(274deg);
}

.progress-circle.p77 .value-bar {
    transform: rotate(277deg);
}

.progress-circle.p78 .value-bar {
    transform: rotate(281deg);
}

.progress-circle.p79 .value-bar {
    transform: rotate(284deg);
}

.progress-circle.p80 .value-bar {
    transform: rotate(288deg);
}

.progress-circle.p81 .value-bar {
    transform: rotate(292deg);
}

.progress-circle.p82 .value-bar {
    transform: rotate(295deg);
}

.progress-circle.p83 .value-bar {
    transform: rotate(299deg);
}

.progress-circle.p84 .value-bar {
    transform: rotate(302deg);
}

.progress-circle.p85 .value-bar {
    transform: rotate(306deg);
}

.progress-circle.p86 .value-bar {
    transform: rotate(310deg);
}

.progress-circle.p87 .value-bar {
    transform: rotate(313deg);
}

.progress-circle.p88 .value-bar {
    transform: rotate(317deg);
}

.progress-circle.p89 .value-bar {
    transform: rotate(320deg);
}

.progress-circle.p90 .value-bar {
    transform: rotate(324deg);
}

.progress-circle.p91 .value-bar {
    transform: rotate(328deg);
}

.progress-circle.p92 .value-bar {
    transform: rotate(331deg);
}

.progress-circle.p93 .value-bar {
    transform: rotate(335deg);
}

.progress-circle.p94 .value-bar {
    transform: rotate(338deg);
}

.progress-circle.p95 .value-bar {
    transform: rotate(342deg);
}

.progress-circle.p96 .value-bar {
    transform: rotate(346deg);
}

.progress-circle.p97 .value-bar {
    transform: rotate(349deg);
}

.progress-circle.p98 .value-bar {
    transform: rotate(353deg);
}

.progress-circle.p99 .value-bar {
    transform: rotate(356deg);
}

.progress-circle.p100 .value-bar {
    transform: rotate(360deg);
}

#messageReadModal {
    z-index: 99999 !important;
}