/* =========================================================
   Mahalakshmi Fatafat - PREMIUM GOLD THEME
   Primary: #F7AD02
   Text: #000000
   ========================================================= */

:root {
    --gold: #F7AD02;
    --gold-dark: #C78300;
    --gold-light: #FFD45A;
    --gold-soft: #FFF3C4;
    --black: #000000;
    --dark: #111111;
    --border: #D79A00;
}

/* ---------------------------------------------------------
   GLOBAL
--------------------------------------------------------- */

html,
body {
    background: #111111 !important;
    color: var(--black) !important;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    font-size: 14px;
    line-height: 1.5;
}

#container {
    background: #ffffff !important;
    max-width: 1400px;
    margin: 0 auto;
    box-shadow:
        0 0 25px rgba(247, 173, 2, 0.18),
        0 0 5px rgba(0, 0, 0, 0.7);
}

/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */

#header {
    background: #ffffff !important;
    border-bottom: 4px solid var(--gold) !important;
    text-align: center;
    padding: 8px 0;
}

#header-logo {
    display: inline-block;
}

#header-logo img {
    max-width: 100%;
    height: auto;
}

/* ---------------------------------------------------------
   TOP / MAIN NAVIGATION
--------------------------------------------------------- */

#top-bar {
    background: var(--gold) !important;
    border-bottom: 1px solid var(--gold-dark) !important;
    color: #000 !important;
}

#site-title a,
#site-description {
    color: #000 !important;
    text-shadow: none !important;
}

#nav-main {
    background: var(--gold) !important;
    border-bottom: 2px solid var(--gold-dark) !important;
    padding-left: 10px;
}

#nav-main .nav-main {
    border-left: 1px solid rgba(0,0,0,.18) !important;
    border-right: 1px solid rgba(255,255,255,.35) !important;
}

#nav-main .nav-main > li,
#nav-main .nav-main > ul > .page_item {
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,.18),
        rgba(0,0,0,.08)
    ) !important;

    border-right: 1px solid rgba(0,0,0,.2) !important;
    border-left: 1px solid rgba(255,255,255,.3) !important;
}

#nav-main .nav-main a {
    color: #000 !important;
    font-weight: 700;
    text-shadow: none !important;
}

#nav-main .nav-main a:hover {
    background: #000 !important;
    color: var(--gold) !important;
}

/* Dropdown */

#nav-main .sub-menu,
#nav-main .children {
    background: #000 !important;
    border: 1px solid var(--gold) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,.45) !important;
}

#nav-main .sub-menu li,
#nav-main .children li {
    border-top: 1px solid #292929 !important;
    border-bottom: 1px solid #000 !important;
}

#nav-main .sub-menu a,
#nav-main .children a {
    color: var(--gold) !important;
}

#nav-main .sub-menu a:hover,
#nav-main .children a:hover {
    background: var(--gold) !important;
    color: #000 !important;
}

/* ---------------------------------------------------------
   MAIN CONTENT
--------------------------------------------------------- */

#main {
    background: #FFFDF5 !important;
    padding: 8px;
}

#content {
    padding: 5px;
}

/* ---------------------------------------------------------
   RESULT AREA
--------------------------------------------------------- */

#today,
#allResult,
#month {
    color: #000 !important;
}

/* Every result table */

#today table,
#allResult table {
    width: 98%;
    margin: 12px auto;
    border-collapse: separate !important;
    border-spacing: 0;
    background: #ffffff;
    border: 2px solid var(--gold) !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow:
        0 3px 12px rgba(0,0,0,.12),
        0 0 0 1px rgba(247,173,2,.12);
}

/* Date / section header */

#today table th,
#allResult table th {
    background: var(--gold) !important;
    color: #000 !important;
    border: none !important;
    padding: 10px 8px !important;
    font-weight: 800 !important;
    text-align: center;
    font-size: 15px !important;
}

/* Date heading */

#today table th h6,
#allResult table th h6 {
    margin: 0 !important;
    color: #000 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

/* Result cells */

#today table td,
#allResult table td {
    background: #FFFDF5 !important;
    color: #000 !important;
    border: 1px solid #E5C36A !important;
    text-align: center;
    vertical-align: middle;
    padding: 8px 5px !important;
    height: 58px;
    transition: all .2s ease;
}

/* Numbers */

#today table td h6,
#allResult table td h6 {
    color: #000 !important;
    margin: 1px 0 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

/* Patti number */

#today table td h6:nth-child(2),
#allResult table td h6:nth-child(2) {
    color: #111 !important;
    font-size: 14px !important;
}

/* Hover */

#today table td:hover,
#allResult table td:hover {
    background: #FFF0B8 !important;
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px var(--gold);
}

/* ---------------------------------------------------------
   TODAY RESULT - PREMIUM HIGHLIGHT
--------------------------------------------------------- */

#today {
    position: relative;
}

#today table:first-child {
    border: 3px solid var(--gold) !important;
    box-shadow:
        0 5px 20px rgba(247,173,2,.22),
        0 0 15px rgba(247,173,2,.10);
}

#today table:first-child th {
    background:
        linear-gradient(
            135deg,
            #F7AD02,
            #FFD45A,
            #F7AD02
        ) !important;
}

/* ---------------------------------------------------------
   SECTION TITLES
--------------------------------------------------------- */

#main h1,
#main h2,
#main h3,
#main h4,
#main h5,
#main h6 {
    color: #000 !important;
}

#main > h3,
#main > h4,
#main > h5,
#main > h6 {
    font-weight: 800;
}

/* "Today Results" / "All Results" */

#today + *,
#allResult + * {
    color: #000 !important;
}

/* ---------------------------------------------------------
   LIVE BADGE
--------------------------------------------------------- */

.live,
#live,
.live-btn {
    background: var(--gold) !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    font-weight: 800;
    border-radius: 20px;
    padding: 5px 15px;
    box-shadow: 0 3px 10px rgba(247,173,2,.25);
}

/* ---------------------------------------------------------
   MONTH RESULT BUTTONS
--------------------------------------------------------- */

#month .btn,
#month a {
    display: block;
    width: 100%;
    background:
        linear-gradient(
            135deg,
            #F7AD02 0%,
            #FFD45A 50%,
            #F7AD02 100%
        ) !important;

    color: #000 !important;
    border: 2px solid #D18A00 !important;
    border-radius: 8px !important;
    padding: 11px 15px !important;
    font-weight: 800 !important;
    text-align: center;
    text-decoration: none !important;

    box-shadow:
        0 4px 12px rgba(0,0,0,.15),
        inset 0 1px rgba(255,255,255,.55);

    transition: all .2s ease;
}

#month .btn:hover,
#month a:hover {
    background: #000 !important;
    color: var(--gold) !important;
    border-color: var(--gold) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
}

/* ---------------------------------------------------------
   WIDGETS / BOXES
--------------------------------------------------------- */

.frontier-widget,
.blog-view,
.single-view,
.author-info,
.archive-info,
.form-404 {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #D8A31A !important;
    box-shadow: 0 3px 12px rgba(0,0,0,.12) !important;
}

.widget-title,
.author-info .title {
    background: var(--gold) !important;
    color: #000 !important;
    text-shadow: none !important;
    font-weight: 800;
}

/* ---------------------------------------------------------
   LINKS
--------------------------------------------------------- */

a {
    color: #000 !important;
    font-weight: 600;
}

a:hover {
    color: #9B6500 !important;
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */

#footer {
    background: #000 !important;
}

#bottom-bar {
    background: #000 !important;
    color: #fff !important;
    border-top: 3px solid var(--gold) !important;
}

#bottom-bar a {
    color: var(--gold) !important;
}

#theme-link a {
    color: var(--gold) !important;
}

/* ---------------------------------------------------------
   FORM / INPUTS
--------------------------------------------------------- */

input,
textarea,
select {
    border: 1px solid #D39A00 !important;
    color: #000 !important;
    background: #fff !important;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 2px rgba(247,173,2,.2) !important;
}

/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 768px) {

    #container {
        width: 100%;
        box-shadow: none;
    }

    #main {
        padding: 4px;
    }

    #content {
        padding: 2px;
    }

    #today table,
    #allResult table {
        width: 100%;
        margin: 8px auto;
    }

    #today table td,
    #allResult table td {
        padding: 7px 3px !important;
        height: 52px;
    }

    #today table td h6,
    #allResult table td h6 {
        font-size: 13px !important;
    }

    #today table th,
    #allResult table th {
        font-size: 14px !important;
        padding: 8px 4px !important;
    }
}

/* ---------------------------------------------------------
   GOLD SHINE EFFECT
--------------------------------------------------------- */

#today table th,
#allResult table th,
#month a {
    background-size: 200% 200% !important;
}

@keyframes goldShine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

#today table th,
#allResult table th {
    background:
        linear-gradient(
            120deg,
            #D88A00,
            #F7AD02,
            #FFD45A,
            #F7AD02,
            #D88A00
        ) !important;

    background-size: 250% 250% !important;
    animation: goldShine 8s ease infinite;
}