/* Registration Browse*/

body.registration {
    background-color: #f7f7f7;
    top: 0 !important; /*hide language bar*/
}

.panel {
    margin: 20px;
    border: 1px solid #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    padding: 0;
}

.reg-header {
    color: #fff;
    /*background-color: #00ae85;*/
    padding: 40px 20px;
    background: #00d7bb; /* Old browsers */
    background: -moz-linear-gradient(top, #00d7bb 0%, #00ae85 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #00d7bb 0%, #00ae85 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(/assets/img/student-hands.png); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00d7bb', endColorstr='#00ae85', GradientType=0); /* IE6-9 */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 275px;
    justify-content: center;
    align-items: center;
}

/*
    linear-gradient(
            to bottom, 
            #00d7bb 0%,
            #00ae85 100%);
*/

.logo-wrapper {
    padding: 10px;
    border-radius: 5px;
    max-height: 200px;
    margin: 5px auto;
}

.logo-wrapper > img {
    display: block;
    margin: auto;
    width: 100%;
    object-fit: contain;
    max-height: 138px;
}

.reg-header-overlay {
}

.reg-header-logo {
    margin: auto;
}

@media screen and (min-width: 1200px) {
    .reg-header-logo > img {
        display: block;
        margin: auto;
        margin-top: 25px;
        width: 100%;
        max-width: 400px;
    }
}

@media screen and (max-width: 1200px) {
    .reg-header-logo > img {
        display: block;
        margin: auto;
        margin-top: 25px;
        max-width: 100%;
        max-height: 200px;
    }
}

@media screen and (max-width: 600px) {
    .icon-span-mobile {
        display: block;
        margin-top: 10px;
    }
}

.reg-header .dropdown-menu {
    padding: 10px;
    font-size: 1.10em;
    margin-top: -12px;
    background-color: #444;
    border: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    text-align: center;
}

.reg-header .dropdown-menu > a {
    color: #fff;
    text-align: center;
}

.activity-title {
    font-size: 30px;
    letter-spacing: normal;
    font-weight: 500;
    text-transform: uppercase
}

.reg-header-headline {
    font-size: 22px;
    margin-top: 20px;
    font-weight: 300
}

.activity-account-name {
    color: #f2f2f5;
    font-size: 14px;
}

.activity-account-name:hover, .activity-account-name:active, .activity-account-name:focus {
    color: #f2f2f5;
}

.filter-bar {
    background: #fff;
    border: 1px solid #fff;
    padding-top: 45px;
}

.reg-container {
    padding: 13px 30px;
    margin-top: -45px;
    margin-bottom: 50px;
}

.search-field {
    background: #fff;
    border-radius: 10px;
    color: #777777;
    border: 2px solid #eaeaea;
}

.search-field:hover {
    color: #00ae85;
}

.reg-form-control {
    border-radius: 10px;
}

.panel-h3 {
    color: #494949;
    font-size: 28px;
    font-weight: 600;
    padding-left: 20px;
    margin-bottom: -15px;
}

.panel-footer {
    border: none;
}

.reg-login-bar {
    min-height: 40px;
    background-color: rgba(47, 60, 64, 0.90);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 15px
}

.reg-login-bar-title {
    color: #fff;
    padding-left: 10px;
}

.reg-login-bar-title-item {
    color: #fff;
}

.reg-login-bar .btn-link {
    color: white;
}

.reg-login {
    font-size: 16px;
}

.reg-info {
    color: #00ae85;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.activity-headline {
    margin-top: 20px;
    font-size: 1.15em;
}

.activity-description {
    padding: 10px 0;
    height: 60px;
    font-size: 1.15em;
}

.activity-detail-block {
    padding: 5px 0;
    font-size: 1.15em;
    font-weight: 300;
}

.activity-detail-block h3 {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.activity-detail-block img {
    max-width: 100%;
}

.seats-remaining {
    color: #d0021b;
    font-size: 14px;
    margin-top: 10px;
}

.btn-register, .btn-register-default {
    background-color: #494949;
    color: #fff;
    padding: 11px 0;
    width: 100%;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    word-break: break-word;
    margin: 5px 0;
    transition: all 0.3s;
    border: none;
}

@media screen and (max-width: 443px)
{
    .btn-register
    {
        font-size:2.5vw;
    }
}

/* Sticky Panel Heading for Mobile */
@media screen and (max-width: 767px) {
    .sticky-panel-heading {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: #F9FAFB;
        padding: 15px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #e0e0e0;
        /* Ensure compatibility with iOS Safari */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        /* Prevent text selection */
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    .sticky-panel-heading .daysOfWeek {
        font-size: 14px;
        margin-bottom: 15px;
        color: #666;
        font-weight: normal;
        line-height: 1.4;
    }
    
    .sticky-panel-heading .row {
        margin: 0;
    }
    
    .sticky-panel-heading .col-12 {
        padding: 0;
    }
    
    .sticky-panel-heading .btn-register,
    .sticky-panel-heading .btn-register-primary,
    .sticky-panel-heading .btn-register-primary-v2,
    .sticky-panel-heading .btn-header-action,
    .sticky-panel-heading .btn-header-action-callout {
        margin: 0;
        font-size: 16px;
        padding: 15px 0;
        border-radius: 8px;
        font-weight: 600;
        letter-spacing: 1.5px;
        /* Ensure proper touch target size */
        min-height: 44px;
        /* Prevent text wrapping on small screens */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Hide original panel heading on mobile */
    .participation-object-detail .panel-heading:not(.sticky-panel-heading) {
        display: none !important;
    }
    
    /* Hide the register button row on mobile */
    .participation-object-detail .register-button-row {
        display: none !important;
    }
    
    /* Hide the top register button on mobile */
    .participation-object-detail .top-register-button {
        display: none !important;
    }
    
    /* Hide all registration buttons outside sticky area on mobile */
    .participation-object-detail .btn-register,
    .participation-object-detail .btn-register-primary,
    .participation-object-detail .btn-register-primary-v2,
    .participation-object-detail .btn-header-action,
    .participation-object-detail .btn-header-action-callout {
        display: none !important;
    }
    
    /* But allow buttons inside sticky area */
    .sticky-panel-heading .btn-register,
    .sticky-panel-heading .btn-register-primary,
    .sticky-panel-heading .btn-register-primary-v2,
    .sticky-panel-heading .btn-header-action,
    .sticky-panel-heading .btn-header-action-callout {
        display: block !important;
    }
    
    /* Ensure proper viewport handling on mobile */
    @supports (padding: max(0px)) {
        .sticky-register-container {
            padding-left: max(15px, env(safe-area-inset-left));
            padding-right: max(15px, env(safe-area-inset-right));
            padding-bottom: max(15px, env(safe-area-inset-bottom));
        }
    }
    
    /* Handle very small screens */
    @media screen and (max-width: 375px) {
        .sticky-register-btn {
            font-size: 14px;
            letter-spacing: 1px;
        }
    }
}

/* Ensure sticky panel heading is hidden on desktop/tablet */
@media screen and (min-width: 768px) {
    .sticky-panel-heading {
        display: none !important;
    }
    
    /* Ensure desktop buttons are visible */
    .participation-object-detail .register-button-row,
    .participation-object-detail .top-register-button {
        display: block !important;
    }
    
    /* Ensure all registration buttons are visible on desktop */
    .participation-object-detail .btn-register,
    .participation-object-detail .btn-register-primary,
    .participation-object-detail .btn-register-primary-v2,
    .participation-object-detail .btn-header-action,
    .participation-object-detail .btn-header-action-callout {
        display: block !important;
    }
}

/* Prevent any potential flickering during resize */
.sticky-panel-heading {
    transition: none;
}
.btn-register:hover, .btn-register-default:hover {
    background-color: #444;
    color: #fff;
    transition: all 0.3s;
}

.btn-register:active, .btn-register-default:active {
    /* background: #139476; */
    background-color: #444;
    color: #fff;
    transition: all 0.3s;
}

.btn-register-primary {
    background-color: #00ae85;
    color: #fff;
    padding: 11px 0;
    width: 100%;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    word-break: break-word;
    margin: 5px 0;
    transition: all 0.3s;
    border: none;
}

.btn-register-primary:hover {
    background: #139476;
    color: #fff;
    transition: all 0.3s;
}

.btn-register-primary:active {
    background: #139476;
    color: #fff;
    transition: all 0.3s;
}

.btn-register-primary-v2 {
    background-color: #00B492;
    color: #fff;
    padding: 11px 0;
    width: 100%;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    word-break: break-word;
    margin: 5px 0;
    transition: all 0.3s;
    border: none;
}

    .btn-register-primary-v2:hover {
        background: #00C5A3;
        color: #fff;
        transition: all 0.3s;
    }

    .btn-register-primary-v2:active {
        background: #00C5A3;
        color: #fff;
        transition: all 0.3s;
    }

.btn-register[disabled], .btn-register-default[disabled] {
    background: #9a9a9a;
}

.btn-register[disabled]:hover, .btn-register-default[disabled]:hover {
    background: #9a9a9a;
    color: #fff;
    transition: all 0.3s;
}

.btn-register-default {
    background: #333;
}

.btn-header-action {
    background-color: #00AE83;
    color: #fff;
    padding: 11px 0;
    width: 100%;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    word-break: break-word;
    margin: 5px 0;
    transition: all 0.3s;
    border: none;
}

.btn-header-action:hover {
    background-color: #444;
    color: #fff;
    transition: all 0.3s;
}

.btn-header-action:active {
    background-color: #444;
    color: #fff;
    transition: all 0.3s;
}

.btn-header-action-callout {
    background-color: #ed4b4b;
    color: #fff;
    padding: 11px 0;
    width: 100%;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    word-break: break-word;
    margin: 5px 0;
    transition: all 0.3s;
    border: none;
}

.btn-header-action-callout:hover {
    background-color: #444;
    color: #fff;
    transition: all 0.3s;
}

.btn-header-action-callout:active {
    background-color: #444;
    color: #fff;
    transition: all 0.3s;
}

.btn-waitlist {
    background: #ffad49;
    color: #fff;
    padding: 11px 0;
    width: 100%;
    border-radius: 24px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    word-break: break-word;
    margin-top: 10px;
    transition: all 0.3s;
}

.btn-waitlist:hover {
    background: #e59b41;
    color: #fff;
    transition: all 0.3s;
}

.btn-register-xl {
    font-size: 11px;
}

.reg-instructions {
    font-size: 20px;
}

.reg-ul {
    list-style-position: inside;
}

.participation-object > .panel {
    min-height: 350px;
    position: relative;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .participation-object > .panel {
        box-shadow: none;
    }

    .panel.panel-alt6 {
        background-color: #ffffff !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        filter: none !important;
        -webkit-filter: none !important;
        box-shadow: none !important;
        border: none !important;
    }

    .panel.panel-alt6 .panel-body {
        background-color: #ffffff !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        filter: none !important;
        -webkit-filter: none !important;
    }

    .panel.panel-alt6 .panel-heading {
        background-color: #e7e7e7 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        filter: none !important;
        -webkit-filter: none !important;
    }
}

.participation-object > .panel > .panel-h3 {
    background-color: #e7e7e7;
    height: 70px;
}

.participation-object > .panel > .panel-h3 > h3 {
    vertical-align: middle;
    display: table-cell;
    width: 100%;
    height: 70px;
    padding-right: 20px;
    color: #555;
    font-size: 20px;
}

.participation-object > .panel > .panel-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.participation-object-add > .panel {
    background-color: #2f3c40; /*#264770; /* #212a2d;*/
}

.participation-object-wide .panel-h3 {
    padding-left: 0;
    padding-top: 10px;
}

.participation-object-wide > .panel .panel-h3 > h3 {
    color: #555;
    font-size: 1.10em;
    margin-top: 0;
    margin-bottom: 10px;
}

.participation-object-wide .panel-h3 > p {
    color: #999;
    font-size: .4em;
    margin-bottom: 0;
}

.participation-object-wide .panel-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.participation-object-wide .panel-body {
    padding: 25px 0;
}

.registration-titlebar .org-logo-container {
    max-width: 900px;
    max-height: 200px;
    text-align: center;
    border-radius: 5px;
    border-color: #f5f5f5;
    border-width: 1px;
    border-style: solid;
    margin: 20px auto;
    position: relative;
}

.registration-titlebar .org-logo {
    max-height: inherit;
    max-width: inherit;
    /* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=1)";
    /* IE 5-7 */
    filter: alpha(opacity=1);
    /* modern browsers */
    opacity: 1;
    /*
    margin: auto;
    position:absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    padding: 20px 0px;*/
}

.registration-titlebar .org-logo-icon-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: auto;
    border-radius: 50%;
    border-color: #f9f9f9;
    border-width: 1px;
    border-style: solid;
    background-color: #fff;
    padding-top: 20px;
    color: #444;
}

.registration-titlebar a {
    color: #fff;
    text-decoration: underline;
}

.registration-titlebar .org-title-area {
    margin: 10px 10px 0;
    width: 90%;
}

.registration-titlebar .org-title-area .org-title {
    position: relative;
    margin-bottom: 15px;
    color: #fff;
    font-size: 3em;
}

.registration-titlebar .org-title-area .org-description {
    position: relative;
    color: #ededed;
}

.registration-titlebar .orghome-filters {
    padding: 10px;
    background-color: #fff;
    position: relative;
    top: 50px;
    box-shadow: rgba(150, 150, 150, .4) 0 3px 10px;
}

.activity-seats-left {
    position: absolute;
    right: 0;
    top: -13px;
}

.participation-object-detail {
    margin-top: 24px;
}

@media screen and (max-width: 768px) {
    .participation-object-detail {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media screen and (max-width: 375px) {
    .participation-object-detail > .panel {
        margin: 0;
        border-radius: 0;
    }

    .panel:first-of-type {
        margin-top: 0;
        margin-bottom: 10px;
    }
}

.participation-object-detail > .panel > .panel-body {
    padding-bottom: 150px;
}

.firsttime-information {
    background-color: #2f3c40; /*#264770; /*#212a2d;*/
    color: #fff;
    padding: 20px;
}

.firsttime-information h2 {
    font-weight: bold;
}

.am-checkbox input[type="checkbox"]:checked + label:before, .am-radio input[type="checkbox"]:checked + label:before, .am-checkbox input[type="radio"]:checked + label:before, .am-radio input[type="radio"]:checked + label:before {
    content: "\e6cd";
    color: #333;
    border-color: #333;
}

.footer-social-icon {
    display: inline-block;
    width: 80px;
    text-align: center;
}

svg {
    width: 16px;
    height: 16px;
    position: relative;
    top: 4px;
    fill: white;
}

.reg-icon-container svg {
    margin-right: 5px;
}

.icons-div span.icon-span:last-child {
    margin-right: 0 !important;
}

.old-font-icons {
    font-size: 17px;
    top: 3px;
    position: relative;
    font-weight: bolder;
}

@media (max-width: 760px) {
    .activity-title {
        text-align: center;
    }

    .old-font-icons {
        font-size: 20px;
        top: 5px;
    }

    .activity-account-name {
        position: relative;
        top: 15px;
    }

    svg {
        width: 22px;
        height: 22px;
    }

    .reg-header {
        padding: 20px 20px
    }

    .reg-icon-container {
        display: table;
    }

    .reg-icon-container div {
        display: table-footer-group;
    }

    .reg-icon-container p {
        display: flex;
    }
}

.language-select {
    top: 10px;
    align-content: end;
    display: flex;
    margin-right: 15px;
    border-radius: 5px;
}

.flex-div {
    display: flex !important;
    align-items: center;
}

.language-select .ddlOptions {
    left: -85px !important;
}