
.rhet_attendance_list table{
    border:1px solid #AAA;
    border-collapse: collapse;
}

.rhet_attendance_list th, .rhet_attendance_list td{
    border-bottom: 1px solid #ddd;
    padding:15 85;
}

.rhetupeventthmb {float:left;margin-right:20px}

.rhet_custom_agenda_table tr:nth-child(odd) {background-color: #f2f7fc} 
.rhet_custom_agenda_table tr:nth-child(even) {background-color: #e6f0fa}
.rhet_custom_agenda_table th { color:#ffffff; background-color:#0c6980; }


.rhet-container{ margin: auto; width: 100%; padding:15px; }
.rhet-listing { margin-top:10px; border:1px solid; display:flex; 
    flex-basis: grow; flex-wrap: wrap; padding:0px; 
    border-radius: 10px; overflow: hidden; }
    
.rhet-titlebox, .rhet-attribbox{ padding:15px; width:100%;}
.rhet-attrib{ margin-right:4px; width:22%;} 
.rhet-price-attrib{width:17%} 
.rhet-date-attrib{width:26%}
.rhet-label { font-weight:bold; }

@media only screen and (max-width: 900px) { .rhet-titlebox, .rhet-attribbox { width:100%; } }
@media only screen and (max-width: 600px) { .rhet-titlebox, .rhet-attribbox { width:100%; } .rhet-attrib{margin-right:5px; }  }


.rhet-attribbox {display:flex; flex-wrap: wrap; background-color:#a2e5e2; color:#000;
    background-image: linear-gradient(160deg, #63b9f3, #9dd2f1 60%, #52c7b7);
}
.rhet-attribbox a {  color:#1f6ca0;  font-weight: bold; }
.rhet-attribbox a:hover {  color:#062727;  font-weight: bold; }


.rhet-attribbox.facetoface  {
    background-color:#066356; 
    color:#eee; 
    background-image: linear-gradient(150deg, #25628b, #066356);
}

.rhet-attribbox.facetoface a {  color:#68c3ff;  font-weight: bold; }
.rhet-attribbox.facetoface a:hover {  color:#a9ffff;  font-weight: bold; }

.rhet_f2f_label { color:#0c6980; font-size:1.2em;  font-weight: bold; text-align: center;}

/* Events Calendar */
.rhet-cal {
    width: 100%;
    font-family: inherit;
}
.rhet-cal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0 4px;
}
.rhet-cal__title {
    font-size: 1.5em;
    font-weight: 700;
    color: #0c6980;
}
.rhet-cal__nav {
    color: #0c6980;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.2s;
}
.rhet-cal__nav:hover {
    background: #edf7f9;
    color: #063f4d;
}
.rhet-cal__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.rhet-cal__dayhead {
    text-align: center;
    font-size: 0.85em;
    font-weight: 600;
    color: #555;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.rhet-cal__cell {
    padding: 3px 4px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    transition: box-shadow 0.15s;
    min-height: 3.4em;
}
.rhet-cal__cell:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.rhet-cal__cell--empty {
    border: none;
    background: transparent;
    min-height: 0;
}
.rhet-cal__cell--empty:hover {
    box-shadow: none;
}
.rhet-cal__cell--past {
    opacity: 0.55;
    background: #f5f5f5;
}
.rhet-cal__cell--today {
    background: #edf7f9;
    border-color: #0c6980;
    box-shadow: 0 0 0 2px rgba(12,105,128,0.15);
}
.rhet-cal__date {
    font-weight: 700;
    font-size: 0.9em;
    color: #333;
    margin-bottom: 2px;
    line-height: 1;
}
.rhet-cal__cell--today .rhet-cal__date {
    color: #0c6980;
}
.rhet-cal__events {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.rhet-cal__event {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.78em;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
}
a.rhet-cal__event {
    background: #0c6980;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
a.rhet-cal__event:hover {
    background: #063f4d;
}
.rhet-cal__event--past {
    background: #e0e0e0;
    color: #666;
    font-weight: 400;
}

@media (max-width: 640px) {
    .rhet-cal__grid {
        gap: 3px;
    }
    .rhet-cal__cell {
        padding: 3px;
        border-radius: 6px;
    }
    .rhet-cal__date {
        font-size: 0.8em;
    }
    .rhet-cal__event {
        font-size: 0.68em;
        padding: 1px 4px;
    }
    .rhet-cal__title {
        font-size: 1.1em;
    }
    .rhet-cal__nav {
        font-size: 0.85em;
        padding: 4px 8px;
    }
    .rhet-cal__dayhead {
        font-size: 0.7em;
    }
}

.rhet_dietary { margin-bottom:20px}

.cl_radio, .woocommerce-input-wrapper{ display:flex ;}

.rhet_small_link {font-size:.9em}

.bookingresult  {background-color:yellow; }

.woocommerce form .form-row .optional{
    display: none ;
}
.rhet_admin_text {font-size:14pt;}


.rhetregtable table{    
    border:1px solid #333;
    border-collapse: collapse;
    font-size:1.6em;
}



.rhetfeaturedevent {  padding:10px}
/* .rhetfeaturedeventtitle { padding-left:15px;} */
/* .rhetfeaturedeventimg {  max-height:50px } */
.rhetfeaturedeventcols { display:flex;   padding:0px; cursor:pointer}
.rhetfeaturedeventcol1 {  max-width:60%; padding:5px ; }
.rhetfeaturedeventcol2 {  max-width:40%; padding:5px; margin-bottom:20px }
.rhetfeaturedeventbutton {float: right; }
.rhetfeaturedeventbooknow {font-weight:bold; color:red; text-align:center; font-size:2em; margin-top:.5em; margin-bottom:1em}
.rhetfeaturedeventtitle {color:#0c6980; font-weight:bold;text-align:center; margin-bottom:.3em;}
.rhetfeaturedeventblurb {line-height: 150%; font-size:1.2em; margin:0px 15px;}



@media only screen and (max-width: 680px) { 
    .rhet-titlebox, .rhet-attribbox{ padding:6px;}
    .rhet_f2f_label {margin-bottom:10px;}

    .rhetfeaturedeventcols { display:inline;}
    .rhetfeaturedeventcol1 {  max-width:100% }
    .rhetfeaturedeventcol2 {  max-width:100% }

    .rhetupeventthmb {float:none; display: block; margin-left:auto; margin-right:auto}
    .rhet-container {width:98%}
    .rhet-price-attrib{float:none; width: 14% ; } 

}


.rhet-sponser-profiles {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.rhet-sponser-profile {
    width: 250px;
    padding: 15px;
    border-radius: 8px;
}

.rhet-sponsor-profile-image-one img, .rhet-sponser-profile-one{ width: 400px; margin:auto;     object-fit: contain; }


.rhet-sponsor-profile-image, .rhet-sponsor-profile-image img{
    max-width: 250px;
    max-height:160px;
    object-fit: contain;
    vertical-align:middle;
    /* border-radius: 50%; */
}


.rhet-partner-profiles {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.rhet-partner-profile {
    width: 300px;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 8px;
}
.rhet-profile-image img {
    width: 200px;
    /* border-radius: 50%; */
}



.product-partner-profiles {
    margin-top: 40px;
}
.partner-profiles {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.partner-profile {
    width: 300px;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 8px;
    background: #f9f9f9;
}
.profile-image img {
    max-width: 100px;
    border-radius: 50%;
}


.rhet-eventspeaker-title { font-weight:bold; }
.rhet-eventspeaker-blurb { margin-top:30px; margin-bottom:10px}
.rhet-eventspeaker { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; margin-top: 10px; margin-bottom:30px; }




/* my notes styling */

#event-notes {
    margin-top: 40px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#event-notes h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

#save-note-btn {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

#save-note-btn:hover {
    background-color: #005f8d;
}

.pdf-download-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    background-color: #444;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
}

.pdf-download-btn:hover {
    background-color: #222;
}

@media (max-width: 600px) {
    #event-notes {
        padding: 15px;
    }

    #save-note-btn,
    .pdf-download-btn {
        width: 100%;
        font-size: 1rem;
    }
}


.confirmNoShow {color:blue; cursor:pointer; padding:10px; border:1px solid blue; border-radius:4px;}
.confirmNoShow:hover {background-color:#d3faff}
.confirmNoShowdisabled, .confirmNoShowdisabled:hover {background-color:#cccccc; color:#333333; cursor:wait}


/* Bookings grid layout */
.rhet-bookings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 15px 0;
}

/* Card */
.rhet-bgcard {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.13);
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}
.rhet-bgcard:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
a.rhet-bgcard--clickable {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
a.rhet-bgcard--clickable:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.22);
    transform: translateY(-2px);
    transition: box-shadow 0.2s, transform 0.2s;
}

/* Header strip */
.rhet-bgcard__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: linear-gradient(135deg, #0c6980, #1a8fa0);
    color: #fff;
}
.rhet-bgcard__header--f2f {
    background: linear-gradient(135deg, #25628b, #066356);
}
.rhet-bgcard__type {
    font-weight: 700;
    font-size: 0.85em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.rhet-bgcard__logo {
    height: 24px;
    width: auto;
    object-fit: contain;
}

/* Thumbnail image */
.rhet-bgcard__image {
    width: 100%;
    max-height: 180px;
    overflow: hidden;
    background: #e9f2f5;
}
.rhet-bgcard__image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* Date bar */
.rhet-bgcard__datebar {
    padding: 8px 16px;
    background: linear-gradient(135deg, #0c6980, #52c7b7);
    color: #fff;
    font-weight: 700;
    font-size: 0.95em;
}
.rhet-bgcard--f2f .rhet-bgcard__datebar {
    background: linear-gradient(135deg, #25628b, #066356);
}

/* Card body */
.rhet-bgcard__body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rhet-bgcard__title {
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.4;
    color: #0c6980;
    margin-bottom: 10px;
}
.rhet-bgcard__title a {
    color: inherit;
    text-decoration: none;
}
.rhet-bgcard__title a:hover {
    text-decoration: underline;
}

.rhet-bgcard__badge-row {
    margin-bottom: 12px;
}

/* Badges */
.rhet-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 600;
}
.rhet-badge-attended { background-color: #d4edda; color: #155724; }
.rhet-badge-notrecorded { background-color: #e2e3e5; color: #383d41; }
.rhet-badge-upcoming { background-color: #cce5ff; color: #004085; }

/* Action links */
.rhet-bgcard__actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9em;
}
.rhet-bgcard__actions a {
    color: #0c6980;
    text-decoration: none;
}
.rhet-bgcard__actions a:hover {
    color: #063f4d;
    text-decoration: underline;
}
.rhet-bgcard__action-cancel {
    color: #c00 !important;
}
.rhet-bgcard__action-cancel:hover {
    color: #800 !important;
}
.rhet-bgcard__action-muted {
    color: #888;
}
.rhet-bgcard__button {
    display: inline-block;
    padding: 10px 18px;
    background: #e08a1e;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.95em;
    text-align: center;
    border-radius: 6px;
    text-decoration: none !important;
    letter-spacing: 0.3px;
}
.rhet-bgcard__button:hover {
    background: #c47518;
    color: #fff !important;
}
.rhet-bgcard--f2f .rhet-bgcard__button {
    background: #e08a1e;
}
.rhet-bgcard--f2f .rhet-bgcard__button:hover {
    background: #c47518;
}

@media only screen and (max-width: 600px) {
    .rhet-bookings-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
}

/* Event details panel on Order Details page */
.rhet-eventpanel {
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    background: #fff;
    border: 1px solid #e0e0e0;
}

.rhet-eventpanel__header {
    padding: 12px 20px;
    background: linear-gradient(135deg, #0c6980, #1a8fa0);
    color: #fff;
}
.rhet-eventpanel__header--f2f {
    background: linear-gradient(135deg, #25628b, #066356);
}
.rhet-eventpanel__type {
    font-weight: 700;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rhet-eventpanel__info {
    display: flex;
    gap: 20px;
    padding: 20px;
    align-items: flex-start;
}
.rhet-eventpanel__thumb {
    flex-shrink: 0;
    width: 140px;
}
.rhet-eventpanel__thumb img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}
.rhet-eventpanel__details {
    flex: 1;
}
.rhet-eventpanel__title {
    font-size: 1.3em;
    font-weight: 700;
    color: #0c6980;
    margin-bottom: 8px;
    line-height: 1.3;
}
.rhet-eventpanel__meta {
    font-size: 1em;
    line-height: 1.8;
    color: #333;
}

.rhet-eventpanel__joining {
    margin: 0 20px 16px;
    padding: 16px;
    background: #edf7f9;
    border-radius: 8px;
    border-left: 4px solid #0c6980;
}
.rhet-eventpanel__joining-label {
    font-weight: 700;
    font-size: 1.1em;
    color: #0c6980;
    margin-bottom: 8px;
}
.rhet-eventpanel__joining-content {
    line-height: 1.6;
    color: #333;
}
.rhet-eventpanel__joining-content a {
    color: #0c6980;
    font-weight: 600;
}

.rhet-eventpanel__actions {
    padding: 0 20px 20px;
}
.rhet-eventpanel__eticket-btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #0c6980, #52c7b7);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95em;
    transition: opacity 0.2s;
}
.rhet-eventpanel__eticket-btn:hover {
    opacity: 0.85;
}

@media only screen and (max-width: 600px) {
    .rhet-eventpanel__info {
        flex-direction: column;
    }
    .rhet-eventpanel__thumb {
        width: 100%;
    }
}
