#popups {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    /*visibility: hidden;*/
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#popupps .event-calendar.active{
    display: none;
}
#popupsoverlay.show {
    opacity: 1;
    display: flex;
    visibility: visible;
}
#popupsoverlay.hide{
    visibility: hidden;
}
.popup-overlay {
    background: white;
    padding: 20px;
    text-align: center;
    width: 300px;
}
.hidden {
    visibility: hidden;
    display: none;
}
#popups .form-control,
#popups .form-select {
    color: #000;
    border-radius: 0;
    height: 45px;
    font-size: 14px;
    padding: 10px 15px;
    border: none;
    border-bottom: 1px solid #000;
    background: transparent;
}
.card-bg {
    background-color: #d1757d;
    padding: 20px 10px;
    height: 100%;
    color: white;
    border-radius: 20px;
    scrollbar-width: thin;
}
.ribbons-wrapper {
    width: 120px;
    height: 120px;
    overflow: hidden;
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 1;
}
.ribbons {
    position: absolute;
    top: 25px;
    right: -25px;
    background-color: #d1757d;
    color: white;
    width: 150px;
    padding: 10px 0;
    text-align: center;
    transform: rotate(45deg);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
#popups .error {
    text-align: start;
}
#popups .conference-title{
    color: #fff;
    margin: 20px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.conference-title .circle-btn{
    position: relative;
    margin-top: -50px;
    right: -30px;
}
.popup-card ::placeholder {
    color: #000;
}
.popup-card .card-body {
    padding: 30px;
}
.popup-card .card-title {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.5;
    text-align: start;
}
.popup-card .card-title .highlight {
    color: #989a35;
    font-size: 28px;
    font-weight: 700;
    animation: blinkIns 2s infinite ease-in-out;
    display: block;
}
@keyframes blinkIns {
    0%,
    100% {
        opacity: 1;
    }
    30% {
        opacity: 0;
    }
}
.popup-card .card-description {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: start;
}
.popup-card {
    background-color: #fff;
    height: 100%;
    color: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin: auto;
}
#popups .popup-submit {
    border-radius: 192px;
    width: max-content;
    background-color: #d1757d;
    margin: 0 auto;
    color: #fff;
    padding: 10px 30px;
    font-size: 18px;
}
#popups .popup-submit:hover {
    color: #d1757d;
    border: 1px solid #d1757d;
    background-color: #fff;
}
.conference-scroll {
    max-height: 380px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: #d1757d #fff;
  }
#popups a {
    color: #fff;
    text-decoration: none;
    transition: all .2s;
} 
#popups a:hover {
    text-decoration: underline !important;
}
.circle-btn{
    color: #d1757d;
    font-size: 25px;
    background: white;
    border: 1px solid white;
    border-radius: 50%;
    width: 40px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 0 auto;
}
.conference-wrap {
    padding-left: 10px;
    margin: 0;
    overflow: hidden;
}
.conference-wrap .conference-details {
    padding: 0;
    text-align: start;
    border-bottom: 1px ridge #fff;
    padding: 10px 0px;
    font-weight: bold;
    color: white;
    position: relative;
}
.conference-wrap .col-sm-8.conference-details::after {
    content: "";
    position: absolute;
    width: 40rem;
    height: 1px;
    background: #fff;
    bottom: -1px;
    left: 0;
}
.conference-details span {
    font-size: 16px;
}
@media (max-width: 767px) {
    .popup-overlay {
        padding: 0;
    }
    .conference-details span {
        font-size: 14px;
    }
}
@media (max-width: 575px) {
    .popup-card .card-body{
        padding: 15px 20px;
    }
    #popups form .form-scroll{ 
        height: 255px;  
        overflow-y: scroll;
        overflow-x: hidden;
    }
    .conference-section {
        display: none;
    }
    .conference-details:nth-child(odd) {
        width: 70%;
    }
    .conference-details:nth-child(even) {
        width: 25%;
    }
    .conference-title .h4 {
        text-align: start;
        font-size: 17px;
    }
    .popup-card .close-popup {
        position: relative;
        right: -5px;
        top: -12px;
        cursor: pointer;
        background: #d1757d;
        color: #fff;
        font-size: 30px;
        border-color: #d1757d;
        width: 40px;
        height: 40px;
    }
    .popup-card {
        overflow: visible;
    }
    #popups .popup-submit {
        padding: 5px 20px;
        font-size: 16px;
    }
    .popup-card .card-title .highlight {
        font-size: 25px;
    }
}
