* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0 !important;
    padding: 28px 16px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    color: #26374d !important;
    background: #f3f6fa !important;
}

.wrapper {
    width: 1180px !important;
    max-width: calc(100% - 20px) !important;
    margin: 0 auto !important;
    background: #fff !important;
    border: 1px solid #d8e0ea !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 18px 45px rgba(30,55,90,.12) !important;
}

/* HEADER */

.head {
    min-height: 145px !important;
    position: relative !important;
    padding: 24px 38px 24px 150px !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;

    background:
        linear-gradient(
            105deg,
            #1b3f73 0%,
            #28558f 55%,
            #3d6fba 100%
        ) !important;

    border-bottom: 3px solid #c89b3c !important;
}

.logo {
    position: absolute !important;
    left: 38px !important;
    top: 26px !important;
    margin: 0 !important;
    float: none !important;
    width: 92px !important;
    height: 92px !important;
    z-index: 2 !important;
}

.logo img {
    width: 92px !important;
    height: 92px !important;
    object-fit: contain !important;
    padding: 5px !important;
    background: #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 5px 14px rgba(0,0,0,.18) !important;
}

.logo_5 {
    display: none !important;
}

.head h3 {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.head h3 img {
    display: none !important;
}

/* Build university title without disturbing old markup */

.head::after {
    content:
        "DEVI AHILYA VISHWAVIDYALAYA, INDORE\A"
        "Information Technology Centre (IT Centre)";
    white-space: pre;

    color: #fff;
    font-size: 15px;
    line-height: 1.8;
}

.head::before {
    content: "DEVI AHILYA VISHWAVIDYALAYA, INDORE";
    display: block;
    position: absolute;
    left: 150px;
    top: 38px;

    color: #fff;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
}

/* avoid duplicate title line from ::after visually */
.head::after {
    content: "Information Technology Centre (IT Centre)";
    margin-top: 38px;
}

/* ITC STRIP */

.itc {
    padding: 12px 20px !important;
    margin: 0 !important;

    text-align: center !important;

    color: #17345d !important;
    background: #fffaf0 !important;

    border-bottom: 1px solid #e5ded1 !important;

    font-size: 16px !important;
    font-weight: 700 !important;
}

.itc:empty {
    display: none !important;
}

/* MAIN */

.main {
    width: 100% !important;
    min-height: 470px !important;
    background: #fff !important;
    padding: 0 !important;
    border: 0 !important;
}

.search_main {
    width: 100% !important;
    min-height: 430px !important;

    padding: 55px 30px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    background: #fff !important;
}

/* SEARCH CARD */

.searchcls {
    width: 620px !important;
    max-width: 100% !important;

    margin: 0 auto !important;
    padding: 32px 38px 34px !important;

    background: #fbfcfe !important;

    border: 1px solid #dce4ee !important;
    border-top: 4px solid #28558f !important;
    border-radius: 10px !important;

    box-shadow: 0 10px 28px rgba(30,55,90,.08) !important;
}

.searchcls h4 {
    margin: 0 0 24px !important;
    text-align: center !important;

    color: #17345d !important;
    font-size: 22px !important;
    font-weight: 700 !important;
}

.searchcls h4::before {
    content: "🔎";
    display: block;
    margin-bottom: 12px;
    font-size: 28px;
}

/* INPUT + BUTTON */

#searchbox {
    width: calc(100% - 125px) !important;
    height: 50px !important;

    padding: 0 14px !important;

    color: #34445a !important;
    background: #fff !important;

    border: 1px solid #cbd6e3 !important;
    border-radius: 8px !important;

    font-size: 15px !important;
    letter-spacing: normal !important;
}

#searchbox:focus {
    outline: none !important;
    border-color: #527dbd !important;
    box-shadow: 0 0 0 3px rgba(40,93,168,.10) !important;
}

#searchbtn {
    width: 105px !important;
    height: 50px !important;

    margin-left: 12px !important;

    color: #fff !important;

    background:
        linear-gradient(
            90deg,
            #1b3f73,
            #3566aa
        ) !important;

    border: 0 !important;
    border-radius: 7px !important;

    font-size: 15px !important;
    font-weight: 700 !important;

    cursor: pointer !important;

    box-shadow: 0 5px 14px rgba(30,55,90,.14) !important;
}

#searchbtn:hover {
    background:
        linear-gradient(
            90deg,
            #17345d,
            #28558f
        ) !important;
}

/* RESULTS */

#search_rslt {
    width: 620px !important;
    max-width: 100% !important;

    margin: 22px auto 0 !important;
    padding: 0 !important;

    font-size: 14px !important;
}

#search_rslt ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#search_rslt li {
    margin-bottom: 9px !important;
    padding: 13px 15px !important;

    color: #26374d !important;
    background: #f7f9fc !important;

    border: 1px solid #dce4ee !important;
    border-radius: 7px !important;

    transition: .15s ease !important;
}

#search_rslt li:hover {
    background: #eef4fb !important;
    border-color: #aac0df !important;
}

#search_rslt a {
    color: #245da8 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

/* FOOTER OVERRIDE */

.footer {
    min-height: 110px !important;

    margin: 0 !important;
    padding: 22px 30px !important;

    color: #fff !important;

    background:
        linear-gradient(
            105deg,
            #1b3f73 0%,
            #28558f 55%,
            #3d6fba 100%
        ) !important;

    border-top: 3px solid #c89b3c !important;
    border-radius: 0 0 18px 18px !important;

    box-shadow: none !important;
}

.footerbox,
.footerbox .cp {
    background: transparent !important;
    color: #fff !important;
}

/* hide old red decorative footer styling */
.footer::after {
    display: none !important;
}

@media (max-width: 760px) {
    body {
        padding: 10px 6px !important;
    }

    .wrapper {
        width: 100% !important;
        max-width: 100% !important;
    }

    .head {
        padding: 120px 18px 24px !important;
        text-align: center !important;
    }

    .logo {
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: 20px !important;
    }

    .head::before {
        position: static !important;
        font-size: 21px !important;
    }

    .head::after {
        margin-top: 8px !important;
    }

    .search_main {
        padding: 30px 12px !important;
    }

    .searchcls {
        padding: 26px 18px !important;
    }

    #searchbox {
        width: 100% !important;
    }

    #searchbtn {
        width: 100% !important;
        margin: 12px 0 0 !important;
    }
}
