@import url('https://fonts.googleapis.com/css?family=Open+Sans:200,400,600,700&subset=latin-ext');
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:200&subset=latin-ext');

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 21px;
    background: #f9f9f7;
    color: #000;
}

.bold {
    font-weight: 700;
}

.grey {
    color: #aaaaaa;
}

.size17 {
    font-size: 17px;
}

/* HEADER */
header.home {
    background-color: #fff;
    color: #424242;
    padding: 0 !important;
    border-bottom: 1px solid #e0e0e0;
}

.top-menu-content {
    width: 735px;
    height: 30px;
    line-height: 30px;
    background: #F0F0F0;
    float: right;
    margin-bottom: 22px;
    position: relative;
    text-align: right;
    padding-right: 17px;
    font-size: 13px;
    color: #999999;
}

.top-menu-content a {
    color: #999999;
    text-decoration: none;
}

.top-menu-content:before {
    content: "";
    width: 0px;
    height: 0px;
    border-right: 36px solid transparent;
    border-left: 36px solid transparent;
    border-bottom: 36px solid white;
    position: absolute;
    left: -36px;
    top: -5px;
}

ul#main-menu {
    float: right;
    margin: 0px;
    padding: 0px;
    list-style: none;
}

ul#main-menu li {
    display: table-cell;
    padding: 0px 31px 0px 31px;
    text-align: center;
    height: 80px;
    vertical-align: middle;
}

ul#main-menu li a {
    font-size: 15px;
    text-transform: uppercase;
    color: #424242;
    text-decoration: none;
}

ul#main-menu li:hover,
ul#main-menu li.active {
    background: url("/img/menuHover.png") bottom repeat-x;
}

ul#main-menu li a.login {
    color: #566A8F;
}

/* HERO SECTION */
#bgHome {
    width: 100%;
    height: 513px;
    background: url("/img/slide1.jpg") center no-repeat;
    background-size: cover;
    background-color: #fff;
}

/* LOGIN LAYER */
.loginWrapper {
    width: 100%;
    height: 100%;
    display: none;
    padding: 20px;
    z-index: 10001;
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
}

.loginForm {
    width: 420px;
    background-color: #fff;
    padding: 20px;
    z-index: 102;
    margin-top: 3em;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.loginLg {
    margin-top: 113px;
}

.mb0 {
    margin-bottom: 0 !important;
}

/* FOOTER */
footer {
    background-color: #000;
    margin-top: 3px;
    color: #999;
    padding: 5px 0;
}

footer a {
    color: #FFF;
    text-decoration: underline;
}

footer a:hover {
    color: #FFF;
}

/* MEDIA QUERIES */
@media (max-width: 575.98px) {
    .loginForm {
        width: 95%;
        margin-top: 1em;
    }

    #bgHome {
        height: 250px;
    }
}

@media (min-width: 960px) {
    .loginForm.loginLg {
        width: 600px;
        max-width: 600px;
    }
}

/* LOGGED-IN DASHBOARD STYLES */
.logged-in-top {
    width: 735px;
    height: 30px;
    line-height: 30px;
    background: #F0F0F0 !important;
    float: right;
    margin-bottom: 22px;
    position: relative;
    text-align: right;
    padding-right: 17px;
    font-size: 13px;
    color: #999999 !important;
    margin-top: 0px;
    border-bottom: 2px solid #ddd;
}

.logged-in-top strong {
    color: #424242 !important;
}

.logged-in-top:before {
    content: "";
    width: 0px;
    height: 0px;
    border-right: 36px solid transparent;
    border-left: 36px solid transparent;
    border-bottom: 36px solid white;
    position: absolute;
    left: -36px;
    top: -5px;
}

.logged-in-top a {
    color: #999999 !important;
    text-decoration: none;
    margin-left: 15px;
    font-weight: 600;
}

.logged-in-top a:hover {
    color: #424242 !important;
}

.dashboard-branding {
    display: flex;
    align-items: center;
    /* Center vertically with logo */
    height: 80px;
}

.dashboard-logo-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #214f77;
    /* Match menu icon color as requested */
    text-transform: none;
    margin-left: -180px;
    margin-top: 60px;
    line-height: normal;
}

#dashboard-menu {
    float: right;
    margin: 0px;
    padding: 0px;
    list-style: none;
}

#dashboard-menu li {
    display: table-cell;
    padding: 0px 15px;
    text-align: center;
    height: 80px;
    vertical-align: middle;
}

#dashboard-menu li a {
    font-size: 11px;
    color: #424242;
    text-decoration: none;
    line-height: 1.3;
    display: block;
    position: relative;
}

#dashboard-menu li i {
    font-size: 24px;
    display: block;
    margin-bottom: 5px;
    color: #566a8f;
}

.badge-counter {
    background-color: #cc0000;
    color: #fff;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 10px;
    position: absolute;
    top: -5px;
    right: 5px;
    font-weight: bold;
    line-height: 1;
}


.dashboard-page {
    min-height: 700px;
    background-color: #fff;
    padding-top: 40px;
}


/* CITY-CENTRIC WIDGETS */
.dashboard-info-section {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: flex-start;
    justify-content: center;
    margin-top: 40px !important;
}

.city-box {
    background: #fff;
    border: 1px solid rgba(86, 106, 143, 0.2);
    border-radius: 12px;
    overflow: hidden;
    min-width: 320px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.city-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(86, 106, 143, 0.12);
}

.city-box-header {
    background: #566a8f;
    color: #fff;
    padding: 12px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1px;
}

.city-box-content {
    display: flex;
    padding: 20px;
    justify-content: space-around;
    align-items: center;
}

.city-box-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.city-box-divider {
    width: 1px;
    height: 80px;
    background: rgba(86, 106, 143, 0.1);
}

/* Redefined Calendar for City Box */
.calendar-mini {
    width: 80px;
    text-align: center;
}

.cal-up {
    background: #566a8f;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    padding: 4px 0;
    border-radius: 4px 4px 0 0;
    text-transform: uppercase;
}

.cal-down {
    border: 2px solid #566a8f;
    border-top: none;
    background: #fff;
    color: #566a8f;
    font-size: 32px;
    font-weight: 800;
    padding: 5px 0;
    border-radius: 0 0 4px 4px;
}

.weekday-label {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #566a8f;
    text-transform: capitalize;
}

/* Redefined Analog Clock for City Box */
.analog-clock-mini {
    width: 80px;
    height: 80px;
    border: 3px solid #566a8f;
    border-radius: 50%;
    position: relative;
    background: #fff;
}

.analog-clock-mini::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background: #566a8f;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.clock-hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom;
    border-radius: 2px;
    background: #566a8f;
}

.hour-hand {
    width: 4px;
    height: 25px;
    z-index: 5;
}

.minute-hand {
    width: 2px;
    height: 35px;
    z-index: 4;
}

.second-hand {
    width: 1px;
    height: 38px;
    background: #cc0000;
    z-index: 3;
}

.digital-time-24h {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #566a8f;
    font-family: 'Open Sans', sans-serif;
}


/* DIMENSION & TYPOGRAPHY REFINEMENTS */
.cal-up {
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #566a8f;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px 4px 0 0;
    text-transform: uppercase;
}

.cal-down {
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #566a8f;
    border-top: none;
    background: #fff;
    color: #566a8f;
    font-size: 32px;
    font-weight: 800;
    border-radius: 0 0 4px 4px;
}

.weekday-label {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #566a8f;
    text-transform: capitalize;
    height: 20px;
    line-height: 20px;
}

.digital-time-24h {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #566a8f;
    font-family: 'Open Sans', sans-serif;
    height: 20px;
    line-height: 20px;
}

/* GLOBAL BRAND OVERRIDES */
a {
    color: #566a8f;
    transition: color 0.2s ease;
}

a:hover,
a:focus {
    color: #214f77;
    text-decoration: none;
}

.text-primary {
    color: #566a8f !important;
}

a.text-primary:hover,
a.text-primary:focus {
    color: #214f77 !important;
}

.btn-link {
    color: #566a8f;
}

.btn-link:hover {
    color: #214f77;
    text-decoration: none;
}

.btn-outline-primary {
    color: #566a8f;
    border-color: #566a8f;
}

.btn-outline-primary:hover {
    background-color: #566a8f !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
}

.btn-primary {
    background-color: #566a8f;
    border-color: #566a8f;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #214f77 !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
}