.universityList .detailBox {
    background: var(--bs-neutrals-bg-grey-100);
    border-radius: 4px;
    border: 1px solid var(--bs-neutrals-bg-grey-200);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 1.5em;
    grid-column-gap: 1em;
    grid-row-gap: 1em;
}
.universityList h6 {
    color: var(--bs-secondary-bg-blue-700);
    margin: 0;
}
.universityList .detailBox p strong {
    display: block;
}
.universityList .detailBox p {.universityList .university:not(:last-child)
    font-size: 14px;
    margin: 0;
    line-height: 22px;
}
.universityList .university_title {
    display: flex;
    justify-content: space-between;
    padding-bottom: 1em;
    align-items: center;
}
.university_title a.apply-now {
    color: #fff;
}
body:has(#apply-now-form).modal-open::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.6);
    height: 100%;
    width: 100%;
    z-index: 999;
}
body:has(#apply-now-form).modal-open{
    position: relative;
    overflow: hidden;
    padding-right: 0;
}
.apply-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}
.apply-close i {
    font-size: 20px;
}
.Customforms .formField:has(#UniversityName) {
    margin: 0;
}
.Customforms .formField:has(#UniversityName) .selectWraper:before {
    display: none;
}
.apply-now-form {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    border-radius: 4px;
}
.universityList .listing-box a.btn {
    position: relative;
    overflow: hidden;
}
.universityList .listing-box a.btn:hover:before{
    left: 0;
}
.universityList .listing-box a.btn {
    position: relative;
    overflow: hidden;
    padding: 7px;
    font-size: 14px;
}
.universityList .listing-box a.btn:before{
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #F12B7C, #D40056);
    transition: left 0.4s ease;
    z-index: -1;
}
/* popup form css*/
#Apply-custom-form .Customforms {
    width: 100%;
    padding: 0.8em;
}
#Apply-custom-form button.btn-close {
    position: absolute;
    right: 2em;
    padding: 0;
    top: 2.3em;
    font-size: 14px;
}
form#leadForm{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 1em;
    grid-row-gap: 0.9em;
}
form#leadForm .form_wrap.full{
    grid-column: 1 / span 2;
}
form#leadForm button[type="submit"]{
    grid-column: 1 / span 2;
    height: 45px;
    margin-top: 8px;
    width: 200px;
    margin-left: auto;
    margin-right: auto;
}
form#leadForm input, form#leadForm select {
    border: 1px solid #ff3185;
    height: 42px;
    margin-top: 5px;
    font-size: 15px;
}
@media screen and (max-width:768px){
        form#leadForm{
        display: block;
    }
    form#leadForm input, form#leadForm select {
        margin-top: 2px;
    }
    form#leadForm .form_wrap {
        margin-bottom: 10px;
    }
    form#leadForm button[type="submit"]{
        display: block;
        margin-top: 20px;
    }
}
    
@media screen and (max-width: 576px){
    body:has(.universityListingPage) .modal-body {
        padding: 0.4em;
    }
    #Apply-custom-form button.btn-close {
        right: 1.2em;
        top: 1.7em;
    }
}