@import "../vendor/bootstrap-3.3.6-mli/css/bootstrap.min.css";
@import "../vendor/bootstrap-3.3.6-mli/css/bootstrap-theme.min.css";
@import "../vendor/font-awesome-4.5.0/css/font-awesome.min.css";

/**
 * bootstrap overrides begin
 */

/**
 * main menu
 */
#menu-main .navbar {
    margin: 0;
}
#menu-main .navbar-brand {
    padding: 5px 15px;
}
#menu-main .navbar-brand img {
    height: auto;
    width: auto;
    max-height: 40px;
}

/**
 * catalog menu
 */
#catalog-category-navbar .navbar-header,
#catalog-category-navbar .navbar-nav,
#catalog-category-navbar .navbar-nav li {
    float: none;
}
#catalog-category-navbar .navbar-nav {
    margin: 7.5px -15px;
}
#catalog-category-navbar .navbar-nav li a {
    padding-top: 7.5px;
    padding-bottom: 7.5px;
}
#catalog-category-navbar .navbar-nav li .sidebar-subcategory {
    padding-left: 15px;
}
/**
 * catalog item(s)
 */
.catalog-item .catalog-image .thumbnail {
    margin-bottom: 10px;
}

.catalog-items .item-rates .list-group {
    margin-bottom: 10px;
}
.catalog-items .item-rates .list-group-item {
    padding: 5px 10px;
}

/**
 * bootstrap overrides end
 */


/**
 * margins
 */
.margin-none {
    margin: 0;
}
.margin-none-b {
    margin-bottom: 0;
}
/* extra small margins */
.margin-xs {
    margin: 3px;
}
.margin-xs-v {
    margin-top: 3px;
    margin-bottom: 3px;
}
.margin-xs-h {
    margin-right: 3px;
    margin-left: 3px;
}
.margin-xs-b {
    margin-bottom: 3px;
}
/* small margins */
.margin-sm {
    margin: 6px;
}
.margin-sm-v {
    margin-top: 6px;
    margin-bottom: 6px;
}
.margin-sm-h {
    margin-right: 6px;
    margin-left: 6px;
}
.margin-sm-b {
    margin-bottom: 6px;
}
/* medium margins */
.margin-md {
    margin: 10px;
}
.margin-md-v {
    margin-top: 10px;
    margin-bottom: 10px;
}
.margin-md-h {
    margin-right: 10px;
    margin-left: 10px;
}
.margin-md-b {
    margin-bottom: 10px;
}
/* large margins */
.margin-lg {
    margin: 20px;
}
.margin-lg-v {
    margin-top: 20px;
    margin-bottom: 20px;
}
.margin-lg-h {
    margin-right: 20px;
    margin-left: 20px;
}
.margin-lg-b {
    margin-bottom: 20px;
}
.margin-indent {
    margin-left: 2em;
}
@media (max-width: 767px) {
    .margin-none-xs {
        margin: 0;
    }
}

/**
 * padding
 */
.pad-none {
    padding: 0;
}
.pad-xs {
    padding: 3px;
}
.pad-sm {
    padding: 6px;
}
.pad-md {
    padding: 9px;
}
.pad-lg {
    padding: 18px;
}
@media (max-width: 767px) {
    .pad-none-xs {
        padding: 0;
    }
}

/**
 * responsive helpers
 */
.autosize {
    height: auto;
    width: auto;
    max-height: 100%;
    max-width: 100%;
}

/**
 * generic loading element
 */
.app-loading {
    position: absolute;
    text-align: center;
    top: 50%;
    width: 100%;
}
.app-loading .message {
    font-size: 16px;
    font-style: italic;
}

/**
 * customizing our vertical nav
 */
.nav-vert .navbar-header {
    float: none;
}
.nav-vert .nav-divider {
    margin: 9px -15px;
}
.nav-vert .navbar-text {
    margin: 10px 15px 10px 0;
}


/**
 * text
 */
.text-reset {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
}
@media (max-width: 767px) {
    .text-center-xs {
        text-align: center;
    }
    .text-left-xs {
        text-align: left;
    }
    .text-right-xs {
        text-align: right;
    }
}


/*
 * some backgrounds
 */
.bg-black {
    background-color: #080808;
    color: #d8d8d8;
    border: 0px solid #222;
}
.bg-black-trans {
    background-color: rgba(8, 8, 8, .75 );
    color: #d8d8d8;
    border: 0px solid #222;
}
.bg-gray {
    background-color: #f0f0f0;
    color: #323232;
    border: 0px solid #dfdfdf;
}
.bg-gray-grad {
    background-color: #f0f0f0;
    color: #323232;
    border: 0px solid #dfdfdf;
    background-image: -webkit-linear-gradient(top, #d8d8d8 0%, #f0f0f0 100%);
    background-image: -o-linear-gradient(top, #d8d8d8 0%, #f0f0f0 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#a8a8a8), to(#f0f0f0));
    background-image: linear-gradient(to bottom, #d8d8d8 0%, #f0f0f0 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd8d8d8', endColorstr='#fff0f0f0', GradientType=0);
}
.bg-gray-trans {
    background-color: rgba(240, 240, 240, .75 );
    color: #323232;
    border: 0px solid #dfdfdf ;
}
.bg-primary-light {
    background-color: #eb2a2e;
    color: #fff;
    border: 0px solid #aa171a;
}
.border-none {
    border-width: 0;
}
.border-t1 {
    border-top-width: 1px;
}
.border-r1 {
    border-right-width: 1px;
}
.border-b1 {
    border-bottom-width: 1px;
}
.border-l1 {
    border-left-width: 1px;
}

/**
 * button helpers
 */
@media (max-width: 767px) {
    .btn-block-xs {
        display: block;
        width: 100%;
    }
}

/**
 * mli list group
 */
.mli-list-group {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.4;
}
.mli-list-group .list-group-item {
    padding: 0;
    position: relative;
}
.mli-list-group a {
    color: #555;
    display: block;
}
.mli-list-group a,
.mli-list-group a.list-group-item {
    padding: 15px 15px;
}
.mli-list-group .list-group-item-alt {
    height: 100%;
    right: 0;
    position: absolute;
    width: 46px;
}
.mli-list-group .list-group-item-primary {
    border-right: 1px solid #ddd;
    margin-right: 46px;
}
.mli-list-group a:hover,
.mli-list-group a:focus {
    background-color: #f5f5f5;
    color: #aa171a;
    text-decoration: none;
}
.mli-list-group .active a,
.mli-list-group .active a:hover,
.mli-list-group .active a:focus {
    background: inherit;
    border-color: #881215;
    color: #ffffff;
    z-index: 2;
}
.mli-list-group .badge {
    float: right;
    margin: 0 7px;
}
.mli-list-group .active .badge {
    background-color: #ffffff;
    color: #aa171a;
    text-shadow: none;
}

/**
 * our tab content
 */
.nav-tabs-default {
    margin: 0 4px;
    border-bottom-width: 0px;
}
.nav-tabs-default li:first-of-type {
    margin-left: 15px;
}
.tab-content-default {
    border: 1px solid #dfdfdf ;
    border-radius: 4px;
}

/**
 * section headings/tabs
 */
.section-title {
    display: inline-block;
    /*border-radius: 3px 3px 0 0;*/
    font-weight: normal;
    padding: 6px 12px 4px 12px;
}
.section-overline {
    border-top: #aa171a 2px solid;
}
.section-rightline {
    border-right: #aa171a 2px solid;
}
.section-underline {
    border-bottom: #aa171a 2px solid;
}
.section-leftline {
    border-left: #aa171a 2px solid;
}

/**
 * default header
 */
#header {
    padding: 3px 0;
}
.header a:link,
.header a:visited {
    color: #d8d8d8;
}
.header a:hover {
    color: #fff;
}

/**
 * default heading
 */
.heading .logo {
    max-height: 100%;
    max-width: 100%;
    height: 18px;
    width: auto;
    vertical-align: top;
}
.heading .tagline {
    font-size: 12px;
    font-style: italic;
    font-weight: bold;
    vertical-align: bottom;
}

/**
 * splash menu
 */
.splash-menu {
    background-color: #080808 !important;
    /* background-image: url(''); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 800px;
    min-height: 800px;
    position: relative;
}
/* customize loading element */
.splash-menu .app-loading {
    bottom: 20px;
    top: inherit;
    opacity: 0.6;
}
/* heading */
.splash-menu .heading {
    background-color: rgba(8, 8, 8, .5 );
}
.splash-menu .heading .logo {
    height: auto;
}
.splash-menu .heading .tagline {
    font-size: 14px;
}
/* main link boxes */
.splash-menu .link-box {
    padding-left: 9px;
}
.splash-menu .link-box .title {
    display: inline-block;
    margin: 0;
    position: relative;
    top: 9px;
    left: -9px;
    max-width: 224px;
    min-width: 160px;
}
.splash-menu .link-box .description {
    color: #a8a8a8;
    border-radius: 3px;
    display: inline-block;
    max-width: 288px;
    min-height: 20px;
    padding-top: 15px;
}
/* slideshow info */
.splash-menu .splash-info {
    position: absolute;
    bottom: 0;
    width: 100%;
}
.splash-menu .splash-info .splash-info-container {
    border-radius: 3px;
    display: inline-block;
    max-width: 400px;
}
.splash-menu .splash-info .description {
    color: #a8a8a8;
}

/**
 * catalog
 */
/**
 * TODO: javascript?
 * height = ?, line-height from ".overflow-contain"
 * set min-height of ".overflow-contain" to height
 * set max-height of ".overflow-contain" to Math.ceil( height / line-height ) * line-height
 */
.catalog-items .overflow-contain {
    overflow: hidden;
    min-height: 140px;
    max-height: 140px;
}
.catalog-items .item-rates,
.catalog-items .item-rate_rate-amount {
    margin-left: 15px;
}

/**
 * directions and google maps responsive overrides
 */
.directions .building-pic {
    max-width: 62%;
}
.directions .sign-pic {
    max-width: 36%;
}
.directions .google-maps {
    position: relative;
    padding-bottom: 60%;
    height: 0;
    overflow: hidden;
}
.directions .google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/**
 * contacts
 */
.contacts .tagline {
    display: inline-block;
    font-style: italic;
    font-weight: bold;
}
.contacts .address {
    display: inline-block;
}
.contacts .logo {
    max-height: 13em;
}
@media (min-width: 768px) {
    .contacts .address {
        float: left;
    }
    .contacts .logo {
        float: right;
        max-height: 8em;
    }
    .contacts .name {
        text-align: left;
    }
}
