/******************************************************************************
 *
 *	Overrides: foundation-overrides.css
 *
 ******************************************************************************/


/* Global Reset & Standards -------------------------------------------- */

html, body {
    height: 100%;
}
body {
    font-family: Arial, sans-serif;
}


/* Misc -------------------------------------------- */
.left {
    float: left !important;
}
.right {
    float: right !important;
}

@media only screen and/*!*/(max-width: 767px) {
    /* Global Misc --- */
    /*                 */
    .left, .right {
        float: none !important;
    }

}

/* Base Type Styles -------------------------------------------- */
h1 {
    margin: 0 0 10px 0;
    padding: 0;
}
h2 {
    letter-spacing: 0;
    margin-top: 0;
}
h4 {
    margin-top: 25px;
    margin-bottom: 10px;
}
small {
    font-size: 80%;
}


/* Standard Forms -------------------------------------------- */
form {
    margin: 0;
}
label {
    cursor: default;
    line-height: 14px;
    margin-bottom: 6px;
}
label.inline {
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}
input[type="text"][disabled], input[type="password"][disabled], input[type="date"][disabled], input[type="datetime"][disabled], input[type="email"][disabled], input[type="number"][disabled], input[type="search"][disabled], input[type="tel"][disabled], input[type="time"][disabled], input[type="url"][disabled], textarea[disabled] {
    background-color: #f7f7f7;
    color: #c7c7c7;
}

input[type='text'], input[type='password'], input[type='date'], input[type='datetime'], input[type='email'], input[type='number'], input[type='search'], input[type='tel'], input[type='time'], input[type='url'], textarea {
    margin: 0;
    color: #000;
}
input[type='text']:focus, input[type='password']:focus, input[type='date']:focus, input[type='datetime']:focus, input[type='email']:focus, input[type='number']:focus, input[type='search']:focus, input[type='tel']:focus, input[type='time']:focus, input[type='url']:focus, textarea:focus {
    outline-color: #D7D7D7;
}
/* Errors */
label.error {
    padding-top: 3px;
}
input.error, input.error:focus {
    background-color: #fff;
}


/* The Grid -------------------------------------------- */
.row {
    width: 1103px;
}


/* Normal Buttons -------------------------------------------- */
.button {
    font-weight: normal;
}
.button.small {
    font-size: 12px;
    letter-spacing: 2px;
    padding: 14px 14px;
}

.button.tiny {
    font-size: 12px;
    padding: 8px;
}
/* Correct FF button padding */
@-moz-document url-prefix() {
    input[type='submit'].button.small {
        padding: 14px 14px;
    }
    input[type='submit'].button.tiny {
        padding: 14px 14px;
    }

    /* Removing ugly dotted line around highlighted (focus) buttons in Firefox */
    a.button:focus, a:active, button::-moz-focus-inner, input[type='reset']::-moz-focus-inner, input[type='button']::-moz-focus-inner, input[type='submit']::-moz-focus-inner {
        outline: 0;
    }
}

@media only screen and (max-width:480px) {
}


/* Nav bar -------------------------------------------- */
.nav-bar {
    background: none;
    border: 0;
    min-width: 200px;
}
.nav-bar > li {
    border: 0;
}
.nav-bar > li.active {
    border: 0;
}
.nav-bar > li.active > a, .nav-bar > li > a {
    padding: 0 10px;
}
.nav-bar > li.active > a, .nav-bar > li > a, .nav-bar > li > a:first-child {
    padding: 0 20px;
    font-size: 12px;
    text-transform: uppercase;
}
.nav-bar > li.active > a {
    cursor: default;
}
.nav-bar > li.active:hover {
    cursor: default;
}
.nav-bar.vertical > li {
    border-right: 0;
    margin-top: 1px;
}
.nav-bar.vertical > li.active {
    border-right: 0;
}
.nav-bar.vertical > li:last-child {
    border-bottom: 0;
}


/* Reveal Modals -------------------------------------------- */
.reveal-modal {
    padding: 8px 0;
    z-index: 200;
}
.reveal-modal.small {
    width: 400px;
    margin-left: -200px;
}
.reveal-modal .confirm-dialog-message ul {
    margin: 1.5em;
    margin-right: 0;
}

.reveal-modal .confirm-dialog-message ul li {
    margin: 0;
}

.reveal-modal--full-width {
    max-width: 95%;
    width: 958px;
    height: 95%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: fixed;
    margin: auto;
}

.reveal-modal iframe.modal-content.iframe {
    max-height: none;
}

/* Tabs ---------------------- */
.tabs dd.active, .tabs li.active {
    border-top: 4px solid #111;
    margin-top: -4px;
}
.tabs .tab {
    display: block!important;
}
.tabs .tab a {
    outline: none;
}
.tabs-content .tab-content {
    display: none;
}
.tabs-content .tab-content.active {
    display: block;
}


/* Alerts -------------------------------------------- */
div.alert-box, div.alert-box.alert, div.alert-box.secondary, div.alert-box.success {
    font-weight: normal;
    color: inherit;
    font-size: inherit;
    margin-bottom: 20px;
    text-shadow: none;
}


/* Panels -------------------------------------------- */
.panel {
    padding: 30px;
}

.data-box.panel {
    padding: 20px 5px;
}


/* Accordion -------------------------------------------- */

ul.accordion > li.active {
    border-top: 1px solid gray;
}
ul.accordion > li > div.title, ul.accordion > li.active .title {
    background: #fff;
    padding-right: 45px;
    padding-top: 15px;
}
ul.accordion > li > div.title:after {
    content: '+';
    font-size: 24px;
    color: #000;
    display: block;
    width: 15px;
    height: 15px;
    border: transparent 0;
    position: absolute;
    right: 15px;
    top: 5px;
}
ul.accordion > li.active .title:after {
    content: '-';
    font-size: 30px;
    border: transparent 0;
    right: 28px;
    top: -3px;
}


/* Tables -------------------------------------------- */
table {
    border: none;
    border-spacing: 0;
    width: 100%;
}
/*table tbody tr:nth-child(even) {background: #fff;}*/
table tbody tr td {
    font-size: 12px;
    padding: 4px 6px;
}


/* <nav> -------------------------------------------- */
.top-bar {
    margin: 35px 0 0 0;
    min-height: 0;
    line-height: inherit;
    padding: 0 15px;
}
.top-bar ul, .top-bar ul.left {
    height: auto;
    margin: 0px 0;
}
.top-bar ul > li a:not(.button) {
    line-height: 1em;
    height: auto;
    padding: 12px 10px 12px 10px;
    margin: 0;
}
.top-bar ul > li:not(.name):hover, .top-bar ul > li:not(.name).active, .top-bar ul > li:not(.name):focus {
    background: none;
}
.top-bar ul > li.has-dropdown .dropdown {
    height: auto;
    border-radius: 6px;
    left: 0;
    z-index: 99 !important;
    width: auto;
    min-width: 290px;
}
.top-bar ul > li.has-dropdown > a:after {
    margin-right: 5px;
    margin-top: -11px;
}
.top-bar ul > li.has-dropdown .dropdown li {
    padding-bottom: 0;
    margin: 0;
    clear: both;
}
.top-bar ul > li.has-dropdown .dropdown li:last-child {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
.top-bar ul > li.has-dropdown .dropdown li a {
    min-width: 100%;
    position: relative;
    padding: 12px 10px 12px 37px;
}
.top-bar ul > li.has-dropdown .dropdown li.active a {
    min-width: 100%;
}
/* Icons next to dropdown menu items*/
.top-bar ul > li.has-dropdown .dropdown li a:after {
    color: #000;
    content: '>';
    font-family: sans-serif;
    font-size: 11px;
    font-weight: bold;
    line-height: 15px;
    width: 15px;
    height: 15px;
    margin: -8px 0 0 13px;
    position: absolute;
    left: 0;
    text-align: center;
}
.top-bar ul > li.has-dropdown .dropdown li a.add:after {
    content: '+';
}
/* IE8 Fixes */
.lt-ie9 .top-bar section ul > li {
    padding: 10px 14px;
    margin: 0;
    max-width: 200px;
}
.lt-ie9 .top-bar section ul > li:hover {
    background: none;
}
.lt-ie9 .top-bar section ul > li a {
    line-height: 1em;
    height: auto;
    padding: 0;
    max-width: 200px;
}

.top-bar ul > li.current-vehicle {
    font-size: 11px;
    font-family: sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1em;
    height: auto;
    padding: 12px 10px;
}

/* --------------------------------------------------- *
 *  Tablet styling
 * --------------------------------------------------- */
@media only screen and/*!*/(max-width:1002px) {
    /* The grid -------------------------------------------- */

    .row {
        min-width: 0;
    }
    .row .offset-by-seven.right, .row .offset-by-six.right {
        margin-left: 0;
    }

    /* Normal Buttons -------------------------------------------- */

    .button.small, input[type='submit'].button.small {
        width: auto;
        display: inline-block;
    }

    /* Nav bar -------------------------------------------- */

    .nav-bar.vertical li {
        display: none;
        cursor: pointer;
    }
    .nav-bar.vertical:hover li, .nav-bar.vertical.open li {
        display: block;
    }
    .nav-bar > li.active > a {
        cursor: pointer;
    }
    .nav-bar.open > li.active > a {
        cursor: default;
    }
    .nav-bar.vertical li.active {
        display: block;
        position: relative;
    }
    .nav-bar.vertical li.active:after {
        display: block;
        width: 22px;
        height: 24px;
        position: absolute;
        right: 9px;
        top: 50%;
        margin-top: -14px;
        content: 'menu';
        color: transparent;
        text-indent: -10000px;
        cursor: pointer;
    }


    /* <nav> -------------------------------------------- */

    .top-bar {
        height: auto;
        overflow: visible;
    }
    .top-bar ul.left > li {
        float: left !important;
    }
    .top-bar ul.right > li {
        float: right !important;
    }
    .top-bar ul.left > li.has-dropdown {
        max-width: 100%;
        z-index: 1;
    }
    .top-bar ul > li.has-dropdown.no-iphone:hover > .dropdown, .top-bar ul > li.has-dropdown.no-iphone:focus > .dropdown, .top-bar ul > li.has-dropdown.clicked > .dropdown {
        display: block;
        visibility: visible;
    }
    .top-bar ul.left > li.has-dropdown .dropdown, .top-bar ul.right > li.has-dropdown .dropdown {
        left: 0 !important;
        top: auto !important;
    }
    .top-bar ul > li.has-dropdown .dropdown li a {
        padding-left: 37px!important;
    }
    .top-bar section > ul.left li:first-child:not(.active) a {
        padding: 12px 20px 12px 22.5px;
    }
}


/* --------------------------------------------------- *
 *  Smartphone styling
 * --------------------------------------------------- */
@media only screen and/*!*/(max-width:767px) {
    /* Standard Forms -------------------------------------------- */
    input[type='text'], input[type='password'], input[type='date'], input[type='datetime'], input[type='email'], input[type='number'], input[type='search'], input[type='tel'], input[type='time'], input[type='url'], textarea {
        width: 100%;
    }

    /* Normal Buttons -------------------------------------------- */
    /*.button.small, input[type="submit"].button.small { max-width: 190px; }*/

    input.button {
        white-space: normal;
    }

    /* Reveal Modals -------------------------------------------- */
    .reveal-modal-bg {
        position: fixed;
    }
    .reveal-modal, .reveal-modal.small, .reveal-modal.medium, .reveal-modal.large, .reveal-modal.xlarge {
        width: 98%;
        padding: 8px 0;
        left: 50%;
        margin-left: -49%;
    }
    .reveal-modal.small .inline-label {
        width: 100%;
    }

    .reveal-modal--full-width {
        width: 100%;
        max-width: none;
        height: 100%;
        margin-left: 0;
    }


    /* Accordion -------------------------------------------- */
    ul.accordion > li > div.title {
        padding: 15px 7px;
        padding-right: 30px;
    }
    ul.accordion > li > div.title:after {
        right: 8px;
    }
    ul.accordion > li.active .title:after {
        right: 21px;
    }


    /* <nav> -------------------------------------------- */
    .top-bar {
        margin-top: 10px;
    }
    .top-bar section > ul.left li:first-child:not(.active) a {
        padding: 12px 20px 12px 12.5px;
    }
    .top-bar section > ul li a:not(.button) {
        padding-left: 12.5px !important;
    }

    .top-bar ul > li.has-dropdown .dropdown {
        min-width: 200px;
    }
}

/* --------------------------------------------------- *
 *  Non-Smartphone styling override
 * --------------------------------------------------- */
@media only screen and/*!*/(min-width:768px) {
    .flexbox div.button-align-group > a.button.small {
        display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
        display:    -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
        display: -ms-flexbox;      /* TWEENER - IE 10 */
        display: -webkit-flex;     /* NEW - Chrome */
        display:         flex;
    }
}


/* --------------------------------------------------- *
 *  Print styling
 * --------------------------------------------------- */

@media print {
    * {
           -moz-box-shadow: none;
        -webkit-box-shadow: none;
    }
    /* Do not show url of links on print */
    a[href]:after {
        content: '';
    }
    h1, h2, h3 {
        color: #000;
        display: block;
    }
}

.select2-container {
    font-size: 14px !important;
}