:root {
    --primary: #c00000;
    --secoundry: #04294b;
    --light: #ffffff;
    --dark: #000000;
    --shadow: 0px 0px 7px -4px;
}

body {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 300;
    font-size: 16px;
}

.header {
    background-color: var(--light);
    padding: 0;
    box-shadow: var(--shadow);
}

.nav_link {
    position: relative;
    font-weight: 500;
    color: var(--dark) !important;
    padding: 0.5rem !important;
    transition: .9s;
    width: max-content;
}

.nav_link:before {
    content: "";
    position: absolute;
    bottom: 0;
    width: calc(90% - 0em);
    height: 3px;
    background-color: var(--secoundry);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s linear;
}

.nav_link:hover:before {
    transform: scaleX(1);
}

.nav_link.active:before {
    transform: scaleX(1);
}

.login_btn:before {
    transform: scaleX(0) !important;
}

.nav_item {
    padding: 0.75rem !important;
}

.logo img {
    max-width: 180px;
    margin: auto;
    display: block;
}

.login_btn {
    background-color: var(--primary);
    color: var(--light) !important;
    border-radius: 25px;
    padding: 0.5rem 1.5rem !important;
    transition: .9s;
}

.login_btn:hover {
    background-color: var(--secoundry);
}

.login_body {
    padding: 1rem;
}

.steps_body {
    position: relative;
    padding: 30px 0;
}

.must_login {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.75);
    width: 100%;
    height: 100%;
    z-index: 1;
}

.must_login_pop {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40%;
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    transform: translate(-50%, -50%);
}

.must_login_pop h3 {
    font-size: 25px;
    color: var(--secoundry);
    text-align: center;
    font-weight: 600;
    margin: 0;
}

.steps_heading h3 {
    font-size: 30px;
    font-weight: 300;
    text-align: center;
    color: var(--primary) !important;
}

.steps_heading p {
    margin-bottom: 0;
    font-weight: 300;
    text-align: center;
}

.steps_card {
    padding: 25px 1rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.steps_card h4 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.steps_card p {
    margin-bottom: 2rem;
}

.steps_card form {
    /* margin-bottom: 2rem; */
}

.step_no_record h3 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 1rem;
}

.step_reg h3 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 1rem;
}

.convention h3 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 1rem;
}

.step_no_record ol {
    margin-bottom: 2rem;
}

.step_no_record li {
    line-height: 2;
}

.steps_btns h3 {
    color: var(--primary);
    font-size: 20px;
    text-align: center;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    margin-bottom: 5px;
}

.custom_input {
    font-size: 16px;
    font-weight: 300;
}

.custom_input::placeholder {
    font-size: 16px;
    font-weight: 300;
}

.steps_result {
    padding: 1rem;
    width: 40%;
    margin: auto;
    border: 3px solid var(--secoundry);
    border-radius: 0;
}

.steps_result img {
    width: 150px;
    margin: 0 auto 1rem;
    display: block;
}

.steps_result p {
    text-align: center;
    margin-bottom: 5px;
}

.steps_display {
    margin-bottom: 3rem;
}

.steps_ticket {
    margin-bottom: 2.5rem;
}

.steps_ticket h3 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 500;
}

.steps_checks {
    margin-bottom: 2.5rem;
}

.steps_checks h3 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 500;
}

.steps_total h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary);
}

.step_purchase h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary);
}

.step_purchase {
    margin-bottom: 2rem;
}

.purchase_table td {
    padding: 0;
}

.step_offer h3 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 500;
}

.step_payment h3 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 500;
}

.steps_conf h3 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 500;
    text-align: center;
}

.step_reason h3 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 500;
}

.steps_conf {
    margin-bottom: 2rem;
}

.steps_conf img {
    width: 200px;
    margin: auto;
    display: block;
}

.steps_conf p {
    text-align: center;
}

.btn_primary {
    background-color: var(--secoundry);
    color: var(--light);
    padding: 7px 25px;
    font-size: 16px;
    font-weight: 400;
    border-radius: 10px;
    transition: .6s;
    border: 2px solid var(--secoundry);
}

.btn_primary:hover {
    background-color: var(--primary);
    color: var(--light);
    border: 2px solid var(--primary);
}

.btn_outline {
    background-color: var(--light);
    color: var(--primary);
    padding: 7px 25px;
    font-size: 16px;
    font-weight: 400;
    border-radius: 10px;
    transition: .6s;
    border: 2px solid var(--primary);
}

.btn_outline:hover {
    background-color: var(--primary);
    color: var(--light);
}

.warning_step h5 {
    text-align: center;
}

.warning_step b {
    font-weight: 900;
}

footer {
    background-color: var(--primary);
    padding: 40px 0;
    text-align: center;
}

footer p {
    color: var(--light);
    margin-bottom: 0;
}

.footer_border {
    margin-top: 0.5rem;
    padding: 0 10px 6px;
    border: 3px solid var(--light);
}

.footer_border p {
    margin-bottom: 0;
}

.steps_card h5 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.main_banner {
    margin-bottom: 2rem;
}

.main_banner img {
    border-radius: 10px;
}

@media screen and (max-width: 767px) {
    .must_login_pop {
        width: 100%;
    }

    .must_login_pop a {
        margin-top: 1rem;
    }

    .btn_primary {
        margin-bottom: 0.75rem;
    }
}

table th a {
    color: #333;
}

table svg {
    width: 40px !important;
    height: 30px !important;
    padding: 6px;
    color: #b11107;
}

table th {
    font-size: 15px;
    font-weight: 600;
    padding: 8px 15px;
    vertical-align: middle !important;
}

table td {
    font-size: 13px !important;
    vertical-align: middle !important;
}

.table th, td {
    white-space: nowrap;
}

#loader {
    position: fixed !important;
    left: 65px;
    top: 65px;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    background: none;
    border: none;
    cursor: wait;
    z-index: 1020;
}

#loader .loader-image {
    content: url('../images/loading.gif');
    margin: 0 auto;
}

/* Invited */
.invited {
    padding: 40px 1rem;
}

.invite_profile img {
    margin-bottom: 1.5rem;
    box-shadow: 20px 25px 60px -54px;
}

.invite_body h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.invite_body h5 {
    font-size: 19px;
    font-weight: 400;
}

.invite_body strong {
    font-size: 17px;
    display: inline-block;
    color: var(--secoundry);
}

.invite_card {
    margin-bottom: 2.4rem;
}

.invite_list p {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

.invite_body {
    padding-left: 1rem;
}

.heading {
    margin-bottom: 3rem;
}

.heading h2 {
    text-align: center;
    line-height: 1.2em;
    color: var(--primary);
    font-weight: 500;
}

/* App style */
.app_header {
    padding: 10px 0;
}

.app_logo {
    margin: auto;
}

.app_logo img {
    width: 200px;
    margin: auto;
    display: block;
}

.app_cards {
    padding: .75rem 0;
}

.app_card {
    background-color: var(--light);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: .75rem;
    box-shadow: rgba(0, 0, 0, 0.12) 0 4px 16px !important;
}

.card-title p {
    font-size: 15.6px;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    display: block;
    margin-bottom: 1rem;
    position: relative;
}

.card-title p::after {
    content: "";
    position: absolute;
    width: 30%;
    height: 3px;
    background-color: var(--secoundry);
    border-radius: 25px;
    left: 0;
    right: 0;
    bottom: -7px;
    margin: auto;
}

.option-item img {
    width: 100%;
    height: 50px;
    object-fit: contain;
    margin: 0 auto 2px;
}

.option-item p {
    font-size: 11.7px;
    color: var(--dark);
    margin: 0;
    text-align: center;
}

.login-title h3 {
    color: var(--primary);
    text-align: center;
    font-weight: 600;
    font-size: 23.4px;
}

.notes-card {
    background: var(--light);
    padding: 12px;
    border-radius: 8px;
    color: var(--dark);
    font-size: 16px;
    margin-bottom: 1rem;
    box-shadow: rgba(0, 0, 0, .12) 0 0 4px;
}

.notes-card p {
    margin: 0;
}

.date_title {
    color: var(--primary);
    text-align: center;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.spearkrs img {
    width: 125px;
    height: 125px;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    overflow: hidden;
}

.spearkrs h3 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 5px;
    color: var(--primary);
}

.spearkrs p {
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 5px;
}

.spearkrs {
    margin-bottom: 1rem;
}

.dashboard-card {
    background: var(--primary);
    padding: 12px;
    border-radius: 15px;
    color: var(--light);
    font-size: 15.6px;
    font-weight: 500;
    text-align: center;
    box-shadow: rgba(0, 0, 0, .12) 0 4px 16px;
}

.list_group {
    position: relative;
    background-color: var(--light);
    padding: 1rem 1.5rem;
    border-radius: 0 !important;
    /*overflow: hidden;*/
    border: 1px solid #ddd;
    top: 0;
    margin-bottom: 1rem;
    box-shadow: 3px 3px var(--primary), 7px 7px 12px -7px;
    transition: all .5s ease-in-out
}

.list_group p {
    margin-bottom: 0;
}

.list_group .content {
    width: 82%
}

.list_group .content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondry);
}

.list_group .content a {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--dark);
    text-decoration: none
}

.list_group:hover {
    top: -2px;
    box-shadow: 3px 3px var(--dark), 7px 7px 12px -7px
}

.list_group .progress-bar {
    background-color: #009045;
}

.list_group .progress {
    --bs-progress-height: .5rem;
    position: absolute;
    width: calc(100% + 2px);
    left: -1px;
    bottom: -4px;
}

.content_img {
    position: absolute;
    top: 0;
    right: 24px;
    bottom: 0;
    margin: auto;
    display: block;
    height: -moz-fit-content;
    height: fit-content;
}

.content_img .progress-ring {
    width: 50px;
    height: 50px;
}

.content_img .progress-ring circle {
    fill: none;
    stroke-width: 12;
}

.content_img .background {
    stroke: #e5e7eb;
}

.content_img .progress {
    stroke: var(--primary);
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: center;
    transition: stroke-dashoffset 0.35s;
}

.content_img .progress-text {
    font-size: 30px;
    font-weight: 600;
    fill: #111827;
    text-anchor: middle;
    dominant-baseline: central;
}
.content_img img {
    height: 30px;
}