@charset "utf-8";





/* CSS Document */








/* X-CD Login Forms */





#x-cd-login-form fieldset {


    border: none;


}





#x-cd-login-form input {
   clear: both;
   padding: 10px 5px;
   margin-bottom: 5px;
   width: 200px;
}





.x-cd-overlay {


    position: absolute;


    top: 0;


    left: 0;


    width: 100%;


    height: 100vh;


    background: #000;


    opacity: 0.5;


    z-index: 90;


}





.x-cd-error-wrap {


    position: fixed;


    top: 0;


    left: 0;


    width: 100%;


    height: 100vh;


    z-index: 95;


}





.x-cd-error-wrap .errors {


    position: absolute;


    display: block;


    top: 50%;


    left: 50%;


    transform: translate(-50%);


    background: #fff;


    padding: 0 25px 25px;


}





.x-cd-error-wrap .errors span {


    display: block;


    text-align: right;


    margin-right: -25px;


    padding-bottom: 15px;


}





.slim-login-errors {


    position: absolute;


    top: 50%;


    left: 50%;


    transform: translate(-50%, -50%);


    background: #fff;


    padding: 0px 0px 50px 50px;


    z-index: 100;


}





.slim-login-errors span {


    display: block;


    text-align: right;


    padding: 10px 0px 30px;


}





.close-slim-errors {


    color: #000;


    text-decoration: none;


    margin-right: 10px;


    font-family: Arial, sans-serif;


    font-size: 13px;


}





.slim-login-errors p {


    padding-right: 50px;


}





.x-c-hidden {


    display: none;


}





.x-cd-login-slim-form input {


    display: block;


    margin: 0 auto 15px;


    width: 200px;


}





.x-cd-login-slim-form input.x-cd-slim-login-submit {


    width: auto;


    padding: 5px 10px;


}





.xcd-logout-link input {


    border:none;


    background:none;


    cursor:pointer;


}





.login-link, .iframe-hidden {


    display:none !important;


}





.login-link.active, .iframe-hidden.active {


    display:block !important;


}





/* END X-CD LOGIN FORMS */








/* X-CD EXHIBITORS LIST */





article.xcd-exhibitor {


    margin-bottom: 50px !important;


}





.xcd-exhibitor-name-booth {


    padding: 10px 0;


    margin-bottom: 15px;


    display: flex;


    justify-content: space-between;


    background: #808080;


    align-items: center;


}





.xcd-exhibitor-name h2 {


    padding: 0px 0 0 10px;


}





.xcd-exhibitor-name h2 a {


    text-decoration: none !important;


    color: #fff;


}





.xcd-exhibitor-booth p {


    font-weight: 600;


    padding: 0px 10px 0 0;


    font-size: 30px;


    color: #fff;


}





.xcd-exhibitor-info {


    display: flex;


    align-items: center;


    justify-content: space-between;


    padding: 10px;


}





.xcd-exhibitor-img {


    width: 30%;


}





.xcd-exhibitor-text {


    width: 70%;


}





.xcd-exhibitor-text a {


    display: inline-block;


    margin-bottom: 25px;


}








/* END X-CD EXHIBITORS LIST */








/* X-CD EVENTS DEFAULT */





#x-cd-events-default {


    width: 100%;


    max-width: 1500px;


    margin: 0 auto;


    padding: 0px 25px;


    box-sizing: border-box;


}





#x-cd-events-default .x-cd-event {


    display: block;


    clear: both;


    width: 100%;


    padding-bottom: 50px;


}





#x-cd-events-default .x-cd-event-image {


    width: 100%;


    display: block;


    clear: both;


}





#x-cd-events-default img {


    max-width: 100%;


}





#x-cd-events-default .x-cd-event-info h1 {


    margin: 0 auto 5px;


    padding: 0;


}





#x-cd-events-default .x-cd-event-info .x-cd-event-date {


    font-weight: 400;


    margin-bottom: 0;


    padding: 0;


}





#x-cd-events-default .x-cd-event-info .x-cd-event-location {


    font-weight: 500;


    margin: 0;


    padding: 0;


}








/* END X-CD EVENTS DEFAULT */








/* X-CD EVENTS SLIDER */





#x-cd-events-slider {


    padding: 0 7%;


    margin: 0 auto;


}





#x-cd-events-slider h1,


#single #x-cd-events-slider h1 {


    margin-bottom: 10px;


}





#x-cd-events-slider a,


#single #x-cd-events-slider a {


    text-decoration: none;


}





#x-cd-events-slider .slick-arrow {


    position: absolute;


    top: 15%;


}





.x-cd-events-prev {


    left: 2%;


}





.x-cd-events-next {


    right: 2%;


}








/* END X-CD EVENTS SLIDER */








/* X-CD DIRECTORY LIST */





.x-cd-directory-list {


    max-width: 100%;


    margin: 0 auto;


    padding: 25px 15px;


    display: flex;


    flex-wrap: wrap;


    justify-content: space-evenly;


}





.x-cd-directory-list .x-cd-directory-listing {


    width: 30%;


    margin: 0 1.5% 15px;


}





.x-cd-directory-list .x-cd-directory-listing h2,


.x-cd-directory-list .x-cd-directory-listing p {


    font-size: 16px;


    font-weight: 500;


    color: #000;


    margin: 2px auto;


    padding: 0;


    line-height: 20px;


}








/* END X-CD DIRECTORY LIST */








/* X-CD GROUP MEMBER LIST */





.x-cd-group-member-list,


#site-content .entry-content .x-cd-group-member-list {


    width: 100%;


    max-width: 100%;


    padding: 0 35px;


    box-sizing: border-box;


}





.x-cd-group-category-list {


    display: block;


    width: 100%;


}





.x-cd-group-category-list .x-cd-group-cat-link {


    margin-bottom: 35px;


}





.x-cd-group-category-list ul {


    display: flex;


    flex-wrap: wrap;


    width: 100%;


    padding: 25px;


    box-sizing: border-box;


    justify-content: space-around;


}





.x-cd-group-category-list li {


    width: 45%;


    list-style: none;


}





.x-cd-group-category-list li ul {


    display: block;


    padding: 0;


    margin: 0;


}





.x-cd-group-category-list ul li ul li {


    width: 100%;


    list-style: none;


    line-height: 20px;


    margin-bottom: 25px;


}





.x-cd-group-category-list ul li ul li a {


    font-size: 16px;


    font-weight: 300;


    letter-spacing: .5px;


    text-decoration: underline;


}





.x-cd-group {


    display: none;


}





.x-cd-group-members {


    width: 100%;


    display: flex;


    flex-wrap: wrap;


    padding: 0;


    justify-content: space-between;


}





.x-cd-group-member {


    padding: 20px;


    margin-bottom: 25px;


    box-sizing: border-box;


    width: 32%;


    display: flex;


}





.x-cd-group-member.smallGroup {


    width: 100%;


}





.x-cd-group-member-image {


    width: 20%;


    margin-right: 5%;


}





.x-cd-group-member-image img {


    width: 100%;


    height: auto;


}





.x-cd-group-member-details {


    width: 70%;


}





.x-cd-group-member h3 {


    font-size: 24px;


    font-weight: 400;


    margin: 0px auto 5px !important;


}





.x-cd-group-member p {


    margin-bottom: 5px;


}








/* END X-CD GROUP MEMBER LIST */





@media screen and (max-width:1100px) {


    .xcd-exhibitor-name-booth {


        display: block;


        text-align: center;


    }


    .xcd-exhibitor-name h2 {


        padding: 0px 5px;


    }


    .xcd-exhibitor-info {


        flex-wrap: wrap;


        padding: 10px 0;


    }


    .xcd-exhibitor-img {


        width: 100%;


        text-align: center;


    }


    .xcd-exhibitor-text {


        width: 85%;


        margin-top: 20px;


    }


    .xcd-exhibitor-booth {


        text-align: center;


    }


}





@media screen and (max-width:700px) {


    .xcd-exhibitor-text {


        width: 100%;


    }


    .xcd-exhibitor-link {


        display: none;


        text-align: center;


    }


    .x-cd-directory-list .x-cd-directory-listing {


        width: 100%;


        margin: 0 0 25px;


    }


}





/* Page Restrictions - Enhanced Styling */
.x-cd-page-restrictions {
    margin-top: 20px;
    border-collapse: collapse;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    border-radius: 8px !important;
    overflow: hidden;
    margin-bottom: 25px;
    border: none !important;
}

.x-cd-page-restrictions thead {
    background-color: #2271b1 !important;
}

.x-cd-page-restrictions th {
    text-align: left;
    padding: 15px 20px !important;
    background-color: #2271b1 !important;
    border-bottom: none !important;
    color: white !important;
}

.x-cd-page-restrictions th h2 {
    margin: 0;
    font-size: 15px !important;
    font-weight: 600;
    color: white !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.x-cd-page-restrictions td {
    padding: 16px 20px !important;
    vertical-align: middle;
    border-bottom: 1px solid #e1e1e1 !important;
    background-color: white !important;
}

.x-cd-page-restrictions tr:last-child td {
    border-bottom: none !important;
}

.x-cd-page-restrictions tbody tr {
    background-color: white !important;
    transition: all 0.2s ease;
}

.x-cd-page-restrictions tbody tr:hover {
    background-color: #f0f7fb !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Make the columns have specific widths */
.x-cd-page-restrictions th:nth-child(1),
.x-cd-page-restrictions td:nth-child(1) {
    width: 25%;
    font-weight: 600 !important;
    color: #23282d !important;
}

.x-cd-page-restrictions th:nth-child(2),
.x-cd-page-restrictions td:nth-child(2) {
    width: 55%;
}

.x-cd-page-restrictions th:nth-child(3),
.x-cd-page-restrictions td:nth-child(3) {
    width: 20%;
    text-align: right;
}

/* Style the role pills */
.x-cd-page-restrictions .role-pill {
    display: inline-block;
    background-color: #e1f3ff !important;
    color: #0071a1 !important;
    padding: 6px 12px !important;
    border-radius: 50px !important;
    font-size: 13px !important;
    margin-right: 8px;
    margin-bottom: 8px;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    border: 1px solid #cce5ff !important;
}

/* Style the action buttons */
.x-cd-page-restrictions .action-buttons {
    display: flex;
    justify-content: flex-end;
}

.x-cd-page-restrictions .button {
    margin-right: 8px;
    font-weight: 500 !important;
    border-radius: 4px !important;
    min-height: 32px !important;
}

.x-cd-page-restrictions .button.edit-restriction {
    background-color: #f0f0f0 !important;
    border-color: #8c8f94 !important;
    color: #3c434a !important;
    padding: 0 12px !important;
}

.x-cd-page-restrictions .button.edit-restriction:hover {
    background-color: #e0e0e0 !important;
    border-color: #50575e !important;
    color: #000 !important;
}

.x-cd-page-restrictions .button.delete-restriction {
    color: #b32d2e !important;
    border-color: #b32d2e !important;
    background: transparent !important;
    padding: 0 12px !important;
}

.x-cd-page-restrictions .button.delete-restriction:hover {
    color: #fff !important;
    background: #d63638 !important;
    border-color: #d63638 !important;
}

/* Add Restriction button */
#add-page-restriction {
    margin-top: 20px;
    margin-bottom: 30px;
    background-color: #2271b1 !important;
    color: white !important;
    padding: 5px 16px !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    border: none !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
}

#add-page-restriction:hover {
    background-color: #135e96 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}

/* Container styling */
#x-cd-page-restrictions {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
    max-width: 1200px;
}

/* Modal styling */
#page-restriction-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75) !important;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#page-restriction-modal.active {
    opacity: 1;
}

#page-restriction-modal .modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3) !important;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

#page-restriction-modal.active .modal-content {
    transform: translateY(0);
}

#page-restriction-modal h2 {
    margin-top: 0;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 15px;
    margin-bottom: 20px;
    color: #2271b1;
    font-size: 20px !important;
}

#page-restriction-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px !important;
}

#page-restriction-form p {
    margin-bottom: 20px;
}

#page-search {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

#page-search:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
}

#selected-page {
    margin-top: 10px;
    font-size: 14px;
    background-color: #f0f0f1;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

#selected-page.active {
    display: block;
}

#page-search-results {
    background-color: #fff;
    border: 1px solid #ddd;
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    width: calc(100% - 60px);
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 0 0 4px 4px;
}

#page-search-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#page-search-results li {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

#page-search-results li:hover {
    background-color: #f0f7fb;
}

#page-search-results li:last-child {
    border-bottom: none;
}

.allowed-groups-container {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 15px;
    margin-top: 5px;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.allowed-groups-container label {
    font-weight: normal !important;
    display: block;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.allowed-groups-container input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 3px;
}

.button-row {
    margin-top: 25px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
}

.button-row .button {
    margin-left: 10px;
    min-width: 100px;
}

/* Modal buttons */
#save-restriction {
    background-color: #2271b1 !important;
    color: white !important;
    border-color: #2271b1 !important;
}

#save-restriction:hover {
    background-color: #135e96 !important;
    border-color: #135e96 !important;
}

#cancel-restriction {
    color: #3c434a !important;
    background-color: #f6f7f7 !important;
    border-color: #c3c4c7 !important;
}

#cancel-restriction:hover {
    color: #000 !important;
    background-color: #f0f0f1 !important;
    border-color: #8c8f94 !important;
}

/* Loading indicator */
#page-search-results p.loading {
    padding: 15px;
    text-align: center;
    color: #666;
}

#page-search-results p.loading:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    border: 2px solid #ddd;
    border-top: 2px solid #2271b1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Button states */
.button.disabled {
    opacity: 0.7;
    cursor: not-allowed !important;
}

/* Table row deleting state */
.x-cd-page-restrictions tr.deleting {
    opacity: 0.5;
}

/* Description text */
.x-cd-description {
    max-width: 800px;
    margin-bottom: 25px !important;
    color: #50575e !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Page Restrictions header styling */
.wrap h1 {
    margin-bottom: 15px;
}

/* Responsive adjustments */
@media screen and (max-width: 782px) {
    .x-cd-page-restrictions th, 
    .x-cd-page-restrictions td {
        padding: 10px 12px;
    }
    
    .x-cd-page-restrictions .action-buttons {
        flex-direction: column;
    }
    
    .x-cd-page-restrictions .button {
        margin-right: 0;
        margin-bottom: 5px;
        text-align: center;
    }
}

.x-cd-page-restrictions .button.edit-restriction {
    background-color: #f7f7f7;
    border-color: #ccc;
    color: #555;
}

.x-cd-page-restrictions .button.edit-restriction:hover {
    background-color: #f0f0f0;
    border-color: #999;
    color: #23282d;
}

.x-cd-page-restrictions .button.delete-restriction {
    color: #a00;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.x-cd-page-restrictions .button.delete-restriction:hover {
    color: #dc3232;
    background: #f9f9f9;
}

/* Empty state styling */
.x-cd-page-restrictions tbody tr td[colspan="3"] {
    text-align: center;
    padding: 30px;
    color: #777;
    font-style: italic;
}

/* Page Restrictions Meta Box */
.x-cd-content-permissions {
    padding: 10px 0;
}

.x-cd-content-permissions .x-cd-description {
    margin-bottom: 15px;
}

.x-cd-content-permissions .allowed-groups-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.x-cd-content-permissions .role-option {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    cursor: pointer;
    margin-bottom: 5px;
    position: relative;
}

.x-cd-content-permissions .role-option:hover {
    border-color: #2271b1;
    box-shadow: 0 1px 3px rgba(34,113,177,0.2);
}

.x-cd-content-permissions .role-option input[type="checkbox"] {
    margin-right: 8px;
    position: relative;
    top: 0;
}

.x-cd-content-permissions .role-option input[type="checkbox"]:checked + .role-name {
    font-weight: 600;
    color: #2271b1;
}

.x-cd-content-permissions .role-option:has(input[type="checkbox"]:checked) {
    background-color: #f0f7ff;
    border-color: #2271b1;
}

.x-cd-content-permissions .role-name {
    font-size: 14px;
}

.x-cd-content-permissions .description {
    color: #666;
    font-style: italic;
    font-size: 12px;
    margin-top: 10px;
}

.x-cd-content-permissions .error {
    color: #d63638;
    padding: 10px;
    border-left: 4px solid #d63638;
    background-color: #fcf0f1;
}

.x-cd-content-permissions .error a {
    color: #d63638;
    text-decoration: underline;
}

.x-cd-content-permissions .error a:hover {
    text-decoration: none;
}

.x-cd-content-permissions .role-option.checked {
    background-color: #f0f7ff;
    border-color: #2271b1;
}