/* AIKAWA Institute - Exact DDUGU Style Match */
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap');

:root {
    --primary: #8B1A1A;
    --secondary: #b75906;
    --topbar-bg: #ECD8A2;
    --nav-bg: #b75906;
    --text-dark: #333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    font-size: 15px;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

a, a:focus, a:hover { color: #111; outline: 0; text-decoration: none; }

/* ===== TOP BAR ===== */
.top-nav {
    background-color: #ECD8A2 !important;
    padding: 0;
    font-size: 13px;
    border-bottom: 1px solid #d4b896;
    position: relative;
    z-index: 10;
}

.top-nav ul.topleft_menu {
    list-style: none;
    margin: 0;
    padding: 0;
    min-height: auto;
}

.top-nav ul.topleft_menu li {
    float: left;
    font-weight: 400;
}

.top-nav ul.topleft_menu li a {
    padding: 6px 8px;
    display: block;
    color: #b75906 !important;
    font-weight: 600;
    font-size: 12px;
}

.top-nav ul.topleft_menu li a:hover {
    background-color: #dbc311;
    color: #b75906 !important;
}

.top-nav ul.pwdarea {
    text-align: right;
    float: right;
    margin-right: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-nav ul.pwdarea li {
    float: left;
    padding: 3px 8px 0 8px;
    font-weight: 600;
}

.pwdarea li .fontresize {
    display: block;
    border-radius: 50%;
    border: 1px solid #eee;
    box-sizing: border-box;
    text-align: center;
    height: 25px;
    width: 25px;
    line-height: 22px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
}

.pwdarea li .fontresize:hover { background: var(--secondary); color: #fff; }

/* ===== LOGO SECTION ===== */
.logo-section {
    background: #fff;
    padding: 8px 0;
    border-bottom: 2px solid var(--secondary);
}

.logo { background-color: #fff; padding: 5px 0; text-align: center; }
.logo img { max-width: 100%; }

.logoenglishname {
    font-size: 26px;
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.logohindiname {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    line-height: 0.5;
    margin-top: 20px;
}

.logotagname {
    font-size: 14px;
    color: #000;
    margin-top: -3px;
}

.logonamesection { margin-top: 10px; }
.logopadding { padding: 5px 15px 5px 0; }
.logorightimg { padding-top: 10px; }

/* ===== PRIMARY NAVBAR ===== */
.primarymenu {
    background: var(--nav-bg) !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.primarymenu .navbar-inverse {
    background: transparent;
    border: 0;
    margin: 0;
}

.primarymenu .navbar-inverse .navbar-nav > li > a {
    color: #fff !important;
    padding: 15px;
    font-size: 0.9em;
    font-weight: 500;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    position: relative;
}

.primarymenu .navbar-inverse .navbar-nav > li > a:hover,
.primarymenu .navbar-inverse .navbar-nav > .active > a,
.primarymenu .navbar-inverse .navbar-nav > .active > a:hover,
.primarymenu .navbar-inverse .navbar-nav > .open > a {
    color: #fff !important;
    background-color: #dbc311 !important;
}

.primarymenu .navbar .dropdown-menu {
    min-width: 240px !important;
    border-radius: 0;
    background-color: #fff;
    padding: 15px;
    border-top: 3px solid var(--secondary);
}

.primarymenu .navbar .dropdown-menu > li > a {
    color: #333 !important;
    padding: 5px 0 !important;
    font-size: 1em;
    white-space: normal;
    border-bottom: 1px solid #f0f0f0;
    display: block;
}

.primarymenu .navbar .dropdown-menu > li > a:hover {
    background-color: rgba(0,0,0,0);
    color: #b75906 !important;
}

.navbar-toggle {
    background: #dbc311;
    border: none;
    padding: 8px 12px;
    margin: 6px 10px;
}

.navbar-toggle .icon-bar { background: #fff; }

/* ===== BANNER SLIDER ===== */
.banner_con {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

.banner_img_con {
    min-height: 464px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 768px) {
    .banner_img_con { min-height: 179px !important; }
}

/* ===== BANNER BELOW LINKS ===== */
.news-head {
    background-color: #ECD8A2;
    padding: 7px;
    border: 2px dashed #dbc311;
    text-align: center;
}

.news-head a {
    display: inline-block;
    font-size: 15px;
    color: #02162b;
    text-decoration: none;
}

.header-contact {
    display: flex;
    text-align: left;
    list-style: none;
    margin: 10px 0;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
}

.header-contact li {
    float: left;
    padding-left: 10px;
    padding-right: 10px;
    font-weight: 600;
}

.header-contact li a {
    color: var(--secondary) !important;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

.header-contact li a:hover { color: var(--primary) !important; }
.header-contact li a img { vertical-align: middle; margin-left: 3px; }

/* ===== MAIN CONTENT AREA ===== */
#welcome {
    padding: 30px 0;
    background-color: #e7edf2;
    margin-top: 0 !important;
}

.leaderswrap { margin: 0; }

/* ===== TITLE ===== */
.title { position: relative; }

.title:after {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #dbc311;
    content: "";
    z-index: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    top: 45%;
}

.title h4 {
    position: relative;
    z-index: 2;
    display: inline-block;
    background-color: #e7edf2;
    padding-right: 10px;
    color: #000;
    font-size: 1.7em;
    font-weight: 600;
}

/* ===== LEFT QUICK LINKS ===== */
.left_menu {
    position: relative;
    padding-left: 0;
    padding-right: 0;
}

.left_menu > ul {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}

.left_menu > ul > li {
    position: relative;
    margin: 2px 0;
    display: table;
    width: 100%;
}

.left_menu > ul > li > a {
    display: table-cell;
    text-decoration: none;
    color: #000;
    padding: 0 0 0 57px;
    background-color: #ececec;
    text-transform: uppercase;
    font-weight: 500;
    transition-duration: .3s;
    height: 57px;
    vertical-align: middle;
}

.left_menu > ul > li > a:hover {
    color: #fff;
    background-color: var(--secondary);
}

.left_menu > ul > li ul {
    display: none;
    min-width: 200px;
    background: #fff;
    position: absolute;
    left: 190px;
    top: 0;
    z-index: 200;
    box-shadow: 0 0 8px rgba(0,0,0,.3);
    padding: 8px !important;
    list-style: none;
}

.left_menu > ul > li:hover > ul { display: block; }

.left_menu > ul > li > ul li a {
    padding: 5px;
    display: block;
    font-size: .9em;
    color: #333;
}

.left_menu > ul > li > ul li a:hover { background-color: #f2f2f2; }

/* Left menu icons */
.left_menu ul > li > a:before {
    content: "";
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    display: block;
    margin: 0 auto;
    position: absolute;
    left: 8px;
    text-align: center;
    top: 6px;
    background-size: 35px;
    background-repeat: no-repeat;
    background-position: left;
}

.left_menu .studentservice:before { background-image: url("https://ddugu.ac.in/images/student.png"); }
.left_menu .studentservice:hover::before { background-image: url("https://ddugu.ac.in/images/student2.png"); }
.left_menu .accrs:before { background-image: url("https://ddugu.ac.in/images/accr.png"); }
.left_menu .accrs:hover::before { background-image: url("https://ddugu.ac.in/images/accr2.png"); }
.left_menu .research:before { background-image: url("https://ddugu.ac.in/images/research.png"); }
.left_menu .research:hover::before { background-image: url("https://ddugu.ac.in/images/research2.png"); }
.left_menu .e-content:before { background-image: url("https://ddugu.ac.in/images/e-learn.png"); }
.left_menu .e-content:hover::before { background-image: url("https://ddugu.ac.in/images/e-learn2.png"); }
.left_menu .celebration:before { background-image: url("https://ddugu.ac.in/images/celebration.png"); }
.left_menu .celebration:hover::before { background-image: url("https://ddugu.ac.in/images/celebration2.png"); }
.left_menu .college:before { background-image: url("https://ddugu.ac.in/images/college.png"); }
.left_menu .college:hover::before { background-image: url("https://ddugu.ac.in/images/college2.png"); }
.left_menu .admission:before { background-image: url("https://ddugu.ac.in/images/admission.png"); }
.left_menu .admission:hover::before { background-image: url("https://ddugu.ac.in/images/admission2.png"); }

/* secondmenu (used in Quick Login section) */
.secondmenu { padding: 0; margin: 0; list-style: none; }

.secondmenu > li > a {
    display: block;
    padding: 7px 12px;
    color: #333 !important;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid #e0e0e0;
    background: #fff;
    text-decoration: none;
    transition: all 0.2s;
}

.secondmenu > li > a:hover { background: #f2f2f2; color: var(--secondary) !important; }

/* ===== NOTICES SECTION ===== */
.news-announcement {
    padding: 15px;
    background: var(--secondary);
}

.news-announcement .foot {
    background-color: var(--secondary);
    margin: 0 -15px -15px -15px;
    padding: 10px;
}

.vticker {
    height: 354px !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.vticker .arw, .vticker .dtype, .vticker .fa-file-pdf-o { display: none; }

.vticker .dsize {
    font-size: .8em;
    margin-top: 5px;
    color: rgba(79,75,75,0.6) !important;
}

.vticker ul { list-style: none; margin: 0; padding: 0; }

.vticker ul li {
    padding-bottom: 15px;
    padding-top: 30px;
    position: relative;
    font-weight: 700;
    top: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.28);
    padding-left: 28px;
}

.vticker ul li:before {
    content: "›";
    position: absolute;
    left: 1px;
    color: #fff;
    font-size: 20px;
}

.vticker ul li a {
    display: block;
    color: #b75906;
    font-weight: 700;
}

.vticker ul li .ndate {
    font-size: 0.82em;
    text-transform: uppercase;
    font-weight: 900;
    position: absolute;
    top: 10px;
    color: #000;
}

.news-announcement .foot .btn-outline-success {
    border: 2px solid #fff;
    color: #fff;
    display: inline-block;
    padding: 4px 10px;
    font-size: .85em;
    text-transform: uppercase;
    text-decoration: none;
}

.news-announcement .foot .btn-outline-success:hover {
    border-color: #dbc311;
    background-color: #dbc311;
    color: #fff;
}

/* ===== PROFILE / LEADER SECTION ===== */
.leader { }

.leader ul {
    margin: 15px 0 0 -15px;
    padding: 0;
    list-style: none;
}

.leader ul li {
    background-color: #fff;
    padding: 10px;
    height: auto;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid #ddd;
    margin-bottom: 3px;
}

.leader ul li img {
    border-radius: 50%;
    max-height: 82px;
    margin: 0 auto;
    display: block;
    border: 2px solid #ccc;
}

.leader ul li h4 {
    color: var(--secondary);
    font-size: 1em;
    margin-top: 10px;
    margin-bottom: 3px;
    text-align: center;
    font-weight: bold;
}

.leader ul li p {
    color: #000;
    margin-bottom: 5px;
    font-size: 0.8em;
    text-align: center;
}

.msg-link {
    list-style: none;
    margin: 10px -10px -10px -10px !important;
    padding: 0;
    height: auto;
    overflow: hidden;
}

.msg-link li {
    padding: 0 !important;
    float: left;
    width: 50%;
    margin-bottom: 0 !important;
    border: 0 !important;
}

.msg-link li:first-child a { border-right: 1px solid #fff; }

.msg-link li a {
    display: block;
    padding: 5px 3px;
    text-align: center;
    background-color: var(--secondary) !important;
    text-transform: uppercase;
    font-size: 0.8em;
    color: white !important;
}

.msg-link li a:hover { background-color: var(--primary) !important; }

/* ===== EVENTS SECTION ===== */
.events { padding: 15px; }

.events .eventthumb {
    padding: 0;
    margin: 0;
    height: 368px;
}

.events .foot {
    padding: 10px;
    margin: 0 -15px -15px -15px;
    background-color: var(--secondary);
}

.events .foot .btn-outline-success {
    border: 2px solid #fff;
    color: #fff;
    display: inline-block;
    padding: 4px 10px;
    font-size: .85em;
    text-transform: uppercase;
    text-decoration: none;
    margin: 0 3px;
}

.events .foot .btn-outline-success:hover {
    border-color: var(--secondary);
    background-color: var(--secondary);
    color: #fff;
}

.fimg { margin-bottom: 10px; }
.fimg img { width: 100%; border-radius: 6px; }
.bg-white { background-color: #fff; }

/* ===== QUICK LOGIN ===== */
.bgwhite { background: #fff; padding: 10px; }
.bgwhite img { width: 100%; margin-bottom: 10px; }

/* ===== IMPORTANT WEBSITES ===== */
.implink {
    padding: 15px 0;
    background: #fff;
    border-top: 3px solid var(--secondary);
}

.implink .busheading { position: relative; margin-top: 36px; }

.implink .busheading h2 {
    color: #000;
    position: relative;
    background: #fff;
    font-weight: 600;
    font-size: 1.7em;
    padding-right: 30px;
    padding-left: 30px;
    text-align: center;
}

.implink .brand-items img {
    max-width: 100%;
    border: 1px solid #ddd;
    padding: 3px 5px;
    border-radius: 3px;
}

/* ===== FOOTER ===== */
footer {
    margin-top: 0;
    background-image: url("https://ddugu.ac.in/images/footbg.jpg");
    background-position: 35px -151px;
    background-size: cover;
    position: relative;
}

.footer_overlay {
    background: #000000e0;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
}

.footer-link {
    padding: 15px 0 8px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.footer-link h4 {
    color: #fff;
    margin: 0 0 10px;
    padding: 0 0 13px;
    border-bottom: 1px solid rgba(255,255,255,.2);
}

.footer-link ul { margin: 0; padding: 0; list-style: none; }

.footer-link li a {
    display: block;
    padding: 5px 0;
    color: rgba(255,255,255,.8);
}

.footer-link li a:before {
    content: "›";
    margin-right: 6px;
    font-size: 16px;
}

.footer-link a { color: rgba(255,255,255,.8); }
.footer-link a:hover { color: #fff; text-decoration: none; }

.fbox { padding: 0 20px; }

.footer-bottom {
    padding: 15px;
    font-size: 14px;
    color: #e9e9e9;
    border-top: 1px solid rgba(255,255,255,.2);
    position: relative;
    z-index: 1;
}

.footer-bottom p { color: #888; font-size: 12px; margin: 0; }

.dateupdate { color: #dbc311; font-weight: 400; }

.address img { margin: 0 auto 10px; }
.address p { font-size: .9em; text-align: center; }

/* ===== MODAL ===== */
.modal-backdrop { background-color: #00000085 !important; }
.modal-title { color: #fff; }
.modal-body-blue { background: var(--secondary) !important; }

/* ===== INNER PAGES ===== */
.innerbanner {
    min-height: 128px;
    background-image: url("https://ddugu.ac.in/images/innbg.jpg");
    background-repeat: repeat;
    padding-top: 27px;
}

.inner {
    background-color: #fff;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 0 3px rgba(0,0,0,.3);
    min-height: 579px;
    margin-bottom: 30px;
}

.inner h3 {
    color: var(--secondary);
    font-size: 24px;
    position: relative;
    border-bottom: 1px solid var(--secondary);
    margin: 0 0 30px;
    padding: 0 0 10px;
}

.inner h4 {
    border-bottom: 1px dashed #7A7979;
    padding-bottom: 10px;
    color: #b75906;
}

.breadcrumb {
    background-color: rgba(0,0,0,0);
    list-style: none;
    margin-bottom: 0;
    padding: 8px;
    text-align: right;
}

.breadcrumb li { color: #fff; font-weight: 700; }
.breadcrumb li a, .breadcrumb > .active { color: #fff; }

/* ===== TABLE ===== */
.table th {
    background-color: #ECD8A2 !important;
    color: #000;
    font-weight: 600;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 3px;
    background: var(--secondary);
    color: #fff;
    border: none;
    display: none;
    z-index: 999;
    font-size: 16px;
    cursor: pointer;
}

.back-to-top:hover { background: var(--primary); }

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--secondary);
    z-index: 9999;
    transition: width 0.1s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
    .logoenglishname { font-size: 12px !important; line-height: 1.1 !important; font-weight: 600 !important; }
    .logohindiname { font-size: 10px !important; line-height: 0.5 !important; font-weight: 600 !important; }
    .logotagname { font-size: 10px !important; margin-top: -5px; margin-bottom: 5px; }
    .logonamesection { margin-top: 3px; padding-left: 0; padding-right: 0; }
    .logorightimg { padding-top: 15px; }
    .banner_img_con { min-height: 179px !important; }
    .topleft_menu { display: none; }
    .header-contact { flex-direction: column; align-items: center; }
    .inner h4 { font-size: 14px; }
    .inner p { text-align: justify; font-size: 13px; }
    h4 { font-size: 14px; }
}

@media (min-width: 768px) {
    .logoname { line-height: 0.4; }
    .logopadding { padding: 5px 15px 5px 0; }
    .logosubtitle { font-size: 13px; }
    .logonamesection { margin-top: 10px; }
    .logorightimg { padding-top: 10px; }
    .logoenglishname { font-size: 26px; }
    .logohindiname { font-size: 22px; line-height: 0.5; margin-top: 20px; }
    .logotagname { font-size: 14px; margin-top: -3px; }
    .banner_con { padding-right: 0 !important; padding-left: 0 !important; }
}

@media (min-width: 1470px) and (max-width: 2560px) {
    .primarymenu .navbar-inverse .navbar-nav > li > a { padding: 15px 16px !important; }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ===== PRINT ===== */
@media print {
    .primarymenu, .top-nav, footer, .back-to-top { display: none !important; }
}

/* ===== ROW EQUAL HEIGHT ===== */
@media (min-width: 1200px) {
    .row_equal {
        display: flex;
        flex-wrap: wrap;
    }
    .row_equal > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }
}

/* ===== PADDING RIGHT 0 ===== */
.padding-right-0 { padding-right: 0; }

/* ===== W-100 ===== */
.w-100 { width: 100% !important; }
