.m360wp-webinars-modal
{
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.3));
    display:none;
    /*padding:1em;*/
    padding: 1em 1.5em 2em 1.5em;
    width: 90%;
    max-width: 740px;
    background: #fff;
    border: solid 1px #ccc;
}

.m360wp-webinars-modal-phone-wrapper
{
    display: none;
}

.m360wp-webinars-modal h2
{
    font-size: 24px;
    text-align: center;
}

.m360wp-webinars-modal h3
{
    text-align: center;
    /*
    font-size: 32px;
    margin-top: -16px;
        */

    margin-top: 0px;
    line-height: 32px;
}

.m360wp-webinars-modal p.m360wp-webinars-modal-date
{
    text-align: center;
    font-size: 20px;
    margin-top: 0px;
}

.m360wp-webinars-modal small
{
    font-size: 18px;
}

.m360wp-webinars-modal form label
{
    margin-top: 16px;
    font-size: 22px !important;
}

.m360wp-webinars-modal form input
{
    color: #333;
    font-size: 21px;
}

.m360wp-webinars-modal form input[type=radio],
.m360wp-webinars-modal form input[type=checkbox]
{
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
}

.m360wp-webinars-modal .popup_close
{
    position: absolute;
    top: 0;
    right: 0px;
    border-radius: 2px;
    background: none;
    border: 0;
    font-size: 25px;
    padding: 0 10px;
    cursor: pointer;
}

.m360wp-webinars-modal-step.hide,
.m360wp-modal-step-submit-trigger.hide
{
    display: none;
}


.tooltip-red {
    --balloon-color: red;
}

.tooltip-big-text {
    --balloon-font-size: 16px;
}

.tooltip-slide {
    --balloon-move: 32px;
}


.stepper-wrapper {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.stepper-item
{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

@media (max-width: 768px)
{
    .stepper-item
    {
        font-size: 12px;
    }
}

.stepper-item::before {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 100%;
    top: 20px;
    left: -50%;
    z-index: 2;
}

.stepper-item::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 100%;
    top: 20px;
    left: 50%;
    z-index: 2;
}

.stepper-item .step-counter {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ccc;
    color: #fff;
    margin-bottom: 6px;
}

.stepper-item.active {
    font-weight: bold;
}

.stepper-item.active .step-counter
{
    color: #333;
}


.stepper-item.completed .step-counter {
    background-color: #a0ce4e;
}

.stepper-item.completed::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #a0ce4e;
    width: 100%;
    top: 20px;
    left: 50%;
    z-index: 3;
}

.stepper-item:first-child::before {
    content: none;
}
.stepper-item:last-child::after {
    content: none;
}

.stepper-item .step-name
{
    font-size: 14px;
    text-align: center;
}


.m360wp-modal-step-next-trigger,
.m360wp-modal-step-submit-trigger
{
    display: inline-block;
    background: #ccc;
    color: #333;
    padding: 12px 16px;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.m360wp-modal-step-submit-trigger
{
    color: #fff;
    background: #333;
}

.m360wp-webinars-modal-step input[type=text]
{
    display: block;
    padding: 4px;
    margin: 4px 0;
    width: 100%;
    border: 1px solid #ccc;
}

.wr_gateway_select img
{
    position: absolute;
}

.m360wp-webinars-paypal-button
{
    border: solid 1px #003087;
    border-radius: 8px;
    text-align: center;
    padding: 12px;  
    cursor: pointer;
    width: 172px;
    color: #003087
}

.wpm360-theme-default .members-360-wp-account-webinar
{
    display: block;
    border: solid 1px dimgray;
    padding: 8px;
    margin-bottom: 32px;
    text-align: center;

}

.wpm360-theme-default .members-360-wp-account-webinar img
{
    width: 100%;
    height: auto;
    max-height: 300px;
    margin: 0 auto;
    object-fit: contain;
}

.wpm360-theme-default .members-360-wp-account-webinar .m360wp-webinars-button
{
    border: solid 1px #333;
    border-radius: 8px;
    text-align: center;
    margin-top: 12px;
    padding: 12px;  
    cursor: pointer;
    color: #333;
    clear: both;
    text-decoration: none;
    display: inline-block;
}


.iframe-responsive-container
{
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.iframe-responsive-container iframe 
{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}


.m360wp-webinars-registration-link
{
    display: inline-block;
    padding: 12px;  
    cursor: pointer;
    color: #333;
    border: solid 1px #333;
    border-radius: 8px;
}

.m360wp-webinars-single-wrapper,
.m360wp-webinars-archive-wrapper
{
    width: 1200px;
    max-width: 90%;
    margin: 32px auto;
}

div[rel="webinar-metadata-wrapper"]
{
    border: solid 1px #ccc;
    padding: 16px;
}

img[rel="webinar-image"]
{
    max-width: 100%;
    width: 100%;
    object-fit: contain;
}

div[rel="webinar-metadata-wrapper"] > div > span
{
    font-weight: bold;
}

div[rel="webinar-metadata-wrapper"] > div > a
{
    display: block;
    max-width: 100%;
    width: 100%;
    background: #333;
    border: none;
    color: #fff;
}

div[rel="webinar-metadata-wrapper"] > div > a.button-disabled
{
    padding: 12px;
}

div[rel="webinar-metadata-wrapper"] > div > a:hover
{
    background: #777;
}


.m360wpw_webinar-card-container-3
{
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* three equal columns */
    gap: 24px;
}

.m360wpw_webinar-card-container-4
{
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* four equal columns */
    gap: 16px;
}

div[rel="webinar-card-footer"]
{
    border-top: solid 1px #ccc;
    padding: 8px;
}

a[rel="webinar-card-button"]
{
    display: inline-block;
    margin: 0 auto;
    width: auto;
    background: #333;
    border: none;
    color: #fff;
    padding: 8px 12px;
}

.m360wpw_webinar-card
{
    border: solid 1px #ccc;
    background-color: #fff;
    color: #111;
    margin-bottom: 16px;
    text-align: center;
}

.m360wpw_webinar-card-image img
{
    width: 100%;
    height: 290.8px; /* 387.73 x 290.8 (4:3 aspect ratio) */
    object-fit: cover;
}

.m360wpw_webinar-card-container-4 .m360wpw_webinar-card-image img
{
    height: 213.3px; /* 284.4 x 213.3 (4:3 aspect ratio) */
}

.m360wpw_webinar-card-content
{
    padding: 12px;
}

.m360wpw_webinar-card-content h5,
.m360wpw_webinar-card-content h6
{
    margin: 8px;
}


@media screen and (max-width: 1024px) 
{
    .m360wpw_webinar-card-container-3,
    .m360wpw_webinar-card-container-4
    {
        grid-template-columns: repeat(1, 1fr); 
    }

    .m360wpw_webinar-card-image img,
    .m360wpw_webinar-card-container-4 .m360wpw_webinar-card-image img
    {
        width: 100%;
        height: auto;
    }
}

.m360wp-webinars-message.m360wp-webinars-message-error
{
    color: #f33;
    background-color: #fff;
    border: solid 1px #ccc;
    padding: 12px;
    margin-bottom: 12px;
}

.m360wp-webinars-message.m360wp-webinars-message-success
{
    color: rgb(55, 187, 55);
    background-color: #fff;
    border: solid 1px #ccc;
    padding: 12px;
    margin-bottom: 12px;
}