/* =========================================
   MODERN WEBSITE DESIGN
   Central Calcutta Science & Culture Organisation
   ========================================= */


/* ---------- MAIN DESKTOP NAVIGATION ---------- */
/* MODERN NAVIGATION - FINAL OVERRIDE */

#cssmenu {
    background: #F28C28 !important;
    width: 100% !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
}

#cssmenu > ul {
    background: #F28C28 !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

#cssmenu > ul > li {
    float: none !important;
    display: inline-block !important;
}

#cssmenu > ul > li > a {
    background: transparent !important;
    background-image: none !important;
    color: #ffffff !important;
    padding: 18px 22px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
}

#cssmenu > ul > li:hover > a,
#cssmenu > ul > li.active > a {
    background: #D96F00 !important;
    color: #ffffff !important;
}

#cssmenu > ul > li > ul {
    background: #ffffff !important;
    border-top: 3px solid #F28C28 !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2) !important;
}

#cssmenu > ul > li > ul > li > a {
    background: #ffffff !important;
    color: #17324d !important;
    padding: 12px 18px !important;
}

#cssmenu > ul > li > ul > li > a:hover {
    background: #eef8f8 !important;
    color: #D96F00 !important;
}

.menu.desktop #cssmenu {
    width: 100%;
    background: #F28C28;
    font-family: "Open Sans", Arial, sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 1000;
}

.menu.desktop #cssmenu > ul {
    background: transparent;
    margin: 0;
    padding: 0;
    text-align: center;
}

.menu.desktop #cssmenu > ul > li {
    float: none;
    display: inline-block;
    position: relative;
    margin: 0;
}

.menu.desktop #cssmenu > ul > li > a {
    display: block;
    padding: 18px 22px;
    color: #ffffff !important;
    background: transparent !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

/* Remove old bullet image */
.menu.desktop #cssmenu > ul > li > a {
    background-image: none !important;
}

/* Hover effect */
.menu.desktop #cssmenu > ul > li:hover > a,
.menu.desktop #cssmenu > ul > li.active > a {
    background: #123d6b !important;
    color: #ffffff !important;
}

/* ---------- DROPDOWN MENU ---------- */

.menu.desktop #cssmenu > ul > li > ul {
    background: #ffffff !important;
    min-width: 230px;
    padding: 8px 0;
    margin: 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
   border-top: 3px solid #F28C28 !important;
}

.menu.desktop #cssmenu > ul > li > ul > li {
    width: 100%;
    float: none;
    display: block;
}

.menu.desktop #cssmenu > ul > li > ul > li > a {
    display: block;
    padding: 12px 18px;
    color: #17324d !important;
    background: #ffffff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.25s ease;
}

.menu.desktop #cssmenu > ul > li > ul > li > a:hover {
    background: #eef8f8 !important;
    color: #087f82 !important;
    padding-left: 23px;
}

/* ---------- DROPDOWN ARROW ---------- */

.menu.desktop #cssmenu > ul > li.has-sub > a {
    padding-right: 38px;
}

.menu.desktop #cssmenu > ul > li.has-sub > a:after {
    content: "▾";
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: #ffffff;
}


/* ---------- CLEAR FLOATS ---------- */

.menu.desktop #cssmenu:after,
.menu.desktop #cssmenu > ul:after {
    content: "";
    display: table;
    clear: both;
}


/* ---------- MOBILE SAFETY ---------- */

@media (max-width: 991px) {

    .menu.desktop #cssmenu {
        display: none;
    }

}

/* =========================================
   MODERN HEADER
   ========================================= */

.logo img {
    max-height: 72px !important;
    width: auto !important;
    margin: 8px auto !important;
}

.name {
    padding-top: 8px !important;
}

.name h5 {
    margin: 8px 0 5px 0 !important;
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    line-height: 1.3 !important;
}

.name h4 {
    margin: 0 !important;
    color: #dceaf5 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

img[src*="ngo_icon"] {
    max-height: 52px !important;
    width: auto !important;
    margin-top: 12px !important;
}

.name + div p {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    margin-top: 25px !important;
    white-space: nowrap !important;
}

/* =========================================
   ORANGE THEME
   ========================================= */

/* MAIN NAVIGATION */
#cssmenu,
#cssmenu > ul {
    background: #F28C28 !important;
}

#cssmenu > ul > li > a {
    color: #ffffff !important;
    background: transparent !important;
}

#cssmenu > ul > li:hover > a,
#cssmenu > ul > li.active > a {
    background: #D96F00 !important;
    color: #ffffff !important;
}

/* DROPDOWN */
#cssmenu > ul > li > ul {
    border-top: 3px solid #F28C28 !important;
}

#cssmenu > ul > li > ul > li > a:hover {
    background: #FFF4E6 !important;
    color: #D96F00 !important;
}


/* HEADER */
header,
.header,
#header {
    background: #222222 !important;
}

.name h5 {
    color: #ffffff !important;
}

.name h4 {
    color: #FFE0B2 !important;
}


/* GENERAL LINKS */
a:hover {
    color: #D96F00 !important;
}


/* BUTTONS */
button,
.btn,
input[type="submit"],
input[type="button"] {
    background: #F28C28 !important;
    border-color: #F28C28 !important;
    color: #ffffff !important;
}

button:hover,
.btn:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background: #D96F00 !important;
    border-color: #D96F00 !important;
}


/* SECTION HEADINGS */
h1,
h2,
h3 {
    color: #D96F00;
}


/* ORANGE HIGHLIGHT */
.orange-highlight {
    color: #F28C28 !important;
}


/* CARDS */
.card,
.event-card,
.service-card {
    border-top: 4px solid #F28C28 !important;
}

.card:hover,
.event-card:hover,
.service-card:hover {
    box-shadow: 0 8px 25px rgba(242, 140, 40, 0.25) !important;
}


/* ORANGE DIVIDERS */
hr {
    border-top: 2px solid #F28C28 !important;
}


/* SELECTION */
::selection {
    background: #F28C28;
    color: #ffffff;
}

/* =========================================
   CCSCOY HEADER + ORANGE NAVIGATION
   HEADER ONLY
   ========================================= */

/* ---------- TOP HEADER ---------- */

.header,
#header,
.headerOuter,
.header_outer {
    background: #222222 !important;
}

/* Organisation logo area */
.logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 5px !important;
}

.logo img {
    max-height: 68px !important;
    width: auto !important;
    object-fit: contain !important;
    padding: 4px !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    border: 3px solid #F28C28 !important;
}

/* Organisation name */
.name {
    padding: 8px 0 !important;
}

.name h5 {
    color: #F28C28 !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    line-height: 1.3 !important;
    margin: 5px 0 !important;
}

/* Registration / FOR YOUTH line */
.name h4 {
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    margin: 2px 0 !important;
}


/* ---------- PHONE AREA ---------- */

img[src*="ngo_icon"] {
    max-height: 48px !important;
    width: auto !important;
    margin: 8px 10px 0 0 !important;
}

img[src*="ngo_icon"] + p {
    color: #F28C28 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}


/* ---------- FULL ORANGE NAVIGATION ---------- */

/* Remove green/turquoise from the complete navigation area */
.menu.desktop,
.menu.desktop .container-fluid,
.menu.desktop .col-md-12,
.menu.desktop .no_padding,
.menu.desktop #cssmenu {
    background: #F28C28 !important;
}

/* Remove unwanted spacing at both sides */
.menu.desktop .container-fluid,
.menu.desktop .col-md-12,
.menu.desktop .no_padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Navigation itself */
.menu.desktop #cssmenu {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15) !important;
}


/* ---------- NAVIGATION ITEMS ---------- */

.menu.desktop #cssmenu > ul {
    width: 100% !important;
    background: #F28C28 !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.menu.desktop #cssmenu > ul > li {
    float: none !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.menu.desktop #cssmenu > ul > li > a {
    background: transparent !important;
    background-image: none !important;
    color: #ffffff !important;
    padding: 18px 23px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    text-decoration: none !important;
}


/* ---------- HOVER ---------- */

.menu.desktop #cssmenu > ul > li:hover > a,
.menu.desktop #cssmenu > ul > li.active > a {
    background: #D96F00 !important;
    color: #ffffff !important;
}


/* ---------- ABOUT / EVENTS ARROW ---------- */

.menu.desktop #cssmenu > ul > li.has-sub > a {
    padding-right: 38px !important;
}

.menu.desktop #cssmenu > ul > li.has-sub > a:after {
    content: "" !important;
    position: absolute !important;
    right: 17px !important;
    top: 50% !important;
    width: 7px !important;
    height: 7px !important;
    border-right: 2px solid #ffffff !important;
    border-bottom: 2px solid #ffffff !important;
    transform: translateY(-70%) rotate(45deg) !important;
}


/* ---------- DROPDOWN ---------- */

.menu.desktop #cssmenu > ul > li > ul {
    background: #ffffff !important;
    border-top: 3px solid #F28C28 !important;
    border-radius: 0 0 6px 6px !important;
    box-shadow: 0 8px 22px rgba(0,0,0,0.20) !important;
}

.menu.desktop #cssmenu > ul > li > ul > li > a {
    background: #ffffff !important;
    color: #333333 !important;
    padding: 12px 18px !important;
}

.menu.desktop #cssmenu > ul > li > ul > li > a:hover {
    background: #FFF4E6 !important;
    color: #D96F00 !important;
}


/* ---------- REMOVE OLD NAV BULLETS ---------- */

.menu.desktop #cssmenu > ul > li > a {
    background-image: none !important;
}


/* ---------- KEEP STICKY BEHAVIOUR ---------- */
/* Nothing here changes your existing sticky navigation */
/* =========================================
   FINAL NAVIGATION CLEANUP
   ========================================= */

