﻿body 
{
  background-color: #eee;
}

.form-signin 
{
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
  padding-top: 35px;
}

.form-signin .form-signin-heading,
.form-signin .checkbox 
{
  margin-bottom: 10px;
}

.form-signin .checkbox 
{
  font-weight: normal;
}

.form-signin .form-control 
{
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}

.form-signin .form-control:focus 
{
  z-index: 2;
}

.form-signin input[type="email"] 
{
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

/* Site */
.user-row 
{
    margin-bottom: 14px;
}

.user-row:last-child 
{
    margin-bottom: 0;
}

.dropdown-user 
{
    margin: 13px 0;
    padding: 5px;
    height: 100%;
}

.dropdown-user:hover 
{
    cursor: pointer;
}

.table-user-information > tbody > tr 
{
    border-top: 1px solid rgb(221, 221, 221);
}

.table-user-information > tbody > tr:first-child 
{
    border-top: 0;
}

.table-user-information > tbody > tr > td 
{
    border-top: 0;
}

.toppad
{
    margin-top:55px;
}

.number
{
    background-color: #5fcf80;
    color: #fff;
    height: 30px;
    width: 30px;
    display: inline-block;
    font-size: 0.8em;
    margin-right: 4px;
    line-height: 30px;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255,255,255,0.2);
    border-radius: 100%;
}

fieldset
{
    margin-bottom: 30px;
    border: none;
}

legend
{
    font-size: 1.4em;
    margin-bottom: 10px;
}

body 
{
    background: url("images/backgroundbig.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

@media screen and (max-width: 768px) {
    body {
        background: url("images/background.jpg") no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        background-size: cover;
        -o-background-size: cover;
    }

    .field-validation-error {
        color: red;
    }

    sup {
        color: red !important;
        font-size: 14px;
        position: relative;
        top: -2px;
    }

    .modal {
        text-align: center;
        padding: 0 !important;
    }

    .modal:before {
        content: '';
        display: inline-block;
        height: 100%;
        vertical-align: middle;
        margin-right: -4px;
    }

    .modal-dialog {
        display: inline-block;
        text-align: left;
        vertical-align: middle;
        width: 300px !important;
        padding: 2px !important;
        margin: 0px !important;
    }
}

.badge {
    display: inline-block;
    background-color: #f33;
    border-radius: 50%;
    color: #fff;
    padding: 0.5em 0.75em;
    position: relative;
}

.pulsate::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-animation: pulse 1s ease infinite;
    animation: pulse 1s ease infinite;
    border-radius: 50%;
    border: 4px double #f33;
}

@-webkit-keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    60% {
        transform: scale(1.3);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    60% {
        transform: scale(1.3);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}
/* ================================
   SIDEBAR LAYOUT & SPACING
   ================================ */

/* Add margin bottom to sidebar header to create space */
#sidebar .sidebar-header {
    margin-bottom: 20px;
}

/* Additional spacing for the first menu item if needed */
#sidebar .list-unstyled.components {
    margin-top: 10px;
}

/* Move logo to the left */
#sidebar .sidebar-header .navbar-brand {
    margin-left: -10px;
    color: #243D51;
}

/* Move back button to the right */
#sidebar #dismiss {
    right: 15px;
}

/* ================================
   SIDEBAR BACKGROUND
   ================================ */

#sidebar {
    background-color: #243D51;
}

    /* ================================
   SIDEBAR MENU ITEMS
   ================================ */

    #sidebar ul.components li a {
        background-color: #243D51;
        color: #fff;
        padding: 10px 15px;
        text-decoration: none;
        display: block;
        border-radius: 5px;
        margin-bottom: 5px; /* Fixed typo: was "margin bottom" */
        transition: all 0.3s;
    }

        #sidebar ul.components li a:hover {
            background-color: #243D51;
            color: #fff;
            text-decoration: none;
        }

        #sidebar ul.components li a.active,
        #sidebar ul.components li a:active {
            background-color: #2E4A5F;
            color: #fff;
        }

    /* Style for the Order Online button specifically */
    #sidebar ul.components li button#btnOrder {
        background-color: #243D51;
        border-color: #243D51;
        color: #fff;
    }

        #sidebar ul.components li button#btnOrder:hover,
        #sidebar ul.components li button#btnOrder:focus {
            background-color: #2E4A5F;
            border-color: #2E4A5F;
            color: #fff;
        }

/* ================================
   CUSTOM BUTTON STYLING
   ================================ */

/* Warning Button */
.btn-warning {
    color: #fff;
    background-color: #243D51;
    border-color: #243D51;
}

    .btn-warning:hover,
    .btn-warning:focus,
    .btn-warning.focus {
        color: #fff;
        background-color: #2E4A5F;
        border-color: #2E4A5F;
    }

    .btn-warning:active,
    .btn-warning.active,
    .btn-warning:active:hover,
    .btn-warning:active:focus {
        color: #fff;
        background-color: #2E4A5F;
        border-color: #2E4A5F;
    }

/* Primary Button */
.btn-primary {
    color: #fff;
    background-color: #243D51;
    border-color: #243D51;
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary.focus {
        color: #fff;
        background-color: #2E4A5F;
        border-color: #2E4A5F;
    }

    .btn-primary:active,
    .btn-primary.active,
    .btn-primary:active:hover,
    .btn-primary:active:focus {
        color: #fff;
        background-color: #2E4A5F;
        border-color: #2E4A5F;
    }
/* Sidebar background targeting */
#sidebar {
    background-color: #243D51 !important;
}

    #sidebar .mCustomScrollBox {
        background-color: #243D51;
    }

    #sidebar .mCSB_container {
        background-color: #243D51;
    }