/* ============================================================
   1. BASE ELEMENTS
   Global resets and form element styling
   ============================================================ */

select {
    width: 220px;
    border: 1px solid #000;
    border-radius: 4px;
    color: #000;
    font-size: 75%;
    font-weight: bold;
    margin: 2px 0;
}

input {
    border: 1px solid #000;
    border-radius: 4px;
    color: #000;
    font-size: 75%;
    font-weight: bold;
    margin: 2px 0;
}

td {
    vertical-align: top;
}

body {
    background: linear-gradient(90deg, #7D80B7 0%, #FDFDFE 24%, #F1F1F7 76%, #7D80B7 100%);
    background-repeat: repeat-y;
    background-position: center;
    font-size: 16px;
    padding: 0;
    text-shadow: none;
}

/* ============================================================
   2. LAYOUT CONTAINERS
   Main page structure + Diesel container styling
   ============================================================ */

.container {
    max-width: 1400px;
    background: #F8F3F3 url(/assets/img/contents-bkgrnd.gif) repeat-x;
    border: thick solid #FCC70D;
    box-shadow: 4px 4px 4px #DC060A;
    padding: 0;
}

.header {
    width: 100%;
    margin-top: 12px;
}

.no-gutter {
    padding: 0;
    margin: 0;
}

.no-display {
    display: none;
}

.LandRColumn {
    margin: 0 auto;
    text-align: center;
}

/* ============================================================
   3. CLASSIFIED TEMPLATE COMPONENTS
   Diesel nav boxes, ad boxes, and channel containers
   ============================================================ */

.AD-BOX,
.AD-BOX2 {
    background: linear-gradient(180deg, #565454 3%, rgba(248,248,242,0.42) 30%, rgba(248,248,242,0.42) 64%);
    padding: 6% 2%;
    width: 100%;
    border-radius: 8px;
    text-align: center;
}

.nav-box-header {
    width: 100%;
    font-family: "Times New Roman", serif;
    font-size: 120%;
    font-weight: bold;
    color: #FFFF00;
    text-align: center;
    background: linear-gradient(90deg, #720606 0%, #C40A0D 12%, #AB1011 86%, #720606 100%);
    border-radius: 14px 14px 0 0;
    padding: 3%;
}

.nav-box-body,
.nav-box-body-c {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #000;
    width: 100%;
    text-align: center;
    background: linear-gradient(90deg, #BDBDBD 2%, #FDFDFE 15%, #F1F1F7 88%, #BDBDBD 100%);
    border-radius: 0 0 6px 6px;
    padding: 6px 4%;
    margin-bottom: 12px;
}

/* Override Diesel’s original left-alignment */
.nav-box1 {
    text-align: center;
}

/* ============================================================
   4. FORM FIELDS
   Diesel-style input fields with shadows
   ============================================================ */

.afield, .bfield, .cfield, .dfield, .tfield, .ufield {
    border: 1px solid #E0DFDF;
    padding-left: 4px;
    font-family: "Lucida Grande", Verdana, sans-serif;
    color: #DC0003;
    box-shadow: 2px 2px 2px rgba(134,126,126,1);
}

.bfield { width: 110px; height: 25px; font-size: 17px; }
.cfield { width: 240px; height: 25px; }
.dfield { width: 85%; height: 25px; border-width: 2px; }
.tfield { width: 75%; height: 25px; }
.ufield { width: 25%; height: 20px; }

/* ============================================================
   5. BUTTONS
   Diesel-style action buttons + gradients
   ============================================================ */

.red-button { background: #F42024; color: #F4EB0A; }
.green-button { background: #09721F; color: #F4F4F4; }

.button-1a {
    border: 1px solid #8B8A8A;
    font-size: 90%;
    font-style: oblique;
    letter-spacing: 2px;
    padding: 4px;
    border-radius: 2px 2px 6px 6px;
    background: linear-gradient(180deg, #BBBABA 0%, #F5F2F2 46%, #BBBABA 100%);
    font-variant: small-caps;
    font-weight: bold;
    display: block;
    margin: 8px auto;
    max-width: 300px;
    line-height: 14px;
}

/* ============================================================
   6. SUBMENUS
   Diesel hover menus for navigation
   ============================================================ */

.sub-menu1 {
    position: relative;
    display: inline-block;
}

.sub-menu1-content,
.sub-menu1-content2 {
    display: none;
    position: absolute;
    background: linear-gradient(90deg, #BDBDBD 2%, #FDFDFE 15%, #F1F1F7 88%, #BDBDBD 100%);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    padding: 6px 16px;
    border-radius: 8px;
    border: 1px solid #AD1011;
    z-index: 1;
}

.sub-menu1:hover .sub-menu1-content,
.sub-menu1:hover .sub-menu1-content2 {
    display: block;
}

/* ============================================================
   7. CONTENTS DROPDOWN (MOBILE ONLY)
   Mobile navigation dropdown for Diesel layout
   ============================================================ */

@media (max-width: 767px) {

    .dropdown-container {
        width: 100%;
        text-align: center;
    }

    .dropdown-container .btn-group {
        display: inline-block;
        float: none;
        margin: 0 auto;
    }

    .dropdown-container .btn-group .btn {
        text-align: center;
        width: auto;
        margin: 0 auto;
    }
}

/* Hide dropdown on desktop */
@media (min-width: 768px) {
    .dropdown-container {
        display: none !important;
    }
}

/* ============================================================
   8. MEDIA QUERIES
   Responsive Diesel behavior for mobile/tablet
   ============================================================ */

@media (max-width: 767px) {
    .left-menu-holder-1 { display: none; }
    .welcome-box { display: none; }
    .container { width: auto; margin: 0; }
}

/* ============================================================
   FINAL OVERRIDES — DROPDOWN CENTERING (MOBILE)
   Required because Bootstrap forces .btn-group to float left.
   ============================================================ */

.dropdown-outer {
    width: 100%;
    text-align: center;
    display: block;
}

.dropdown-container {
    width: 100%;
    display: inline-block;
    text-align: center;
}

.dropdown-container .btn-group {
    float: none !important;
    display: inline-block !important;
    margin: 0 auto !important;
}

.dropdown-container .btn-group .btn {
    display: inline-block;
    margin: 0 auto;
    text-align: center;
}






















