body {
    font-family: 'Montserrat', sans-serif;
    color: white;
}

@media (max-width: 767px) {
    body {
        position: relative;
        z-index: 1;
    }
    #outer-wrapper:after {
        content: "";
        position: fixed;
        top: 0;
        height: 100vh;
        left: 0;
        right: 0;
        z-index: -1;
        background: #fff url(https://psmfirestorm.blob.core.windows.net/c41a4e36-533c-4820-8dcb-c486178b0066/background-2.jpg) no-repeat center center;
        background-size: cover;
    }
}

@media (min-width: 768px) {
    body {
        background: #fff url(https://psmfirestorm.blob.core.windows.net/c41a4e36-533c-4820-8dcb-c486178b0066/background-2.jpg) no-repeat center center;
        background-attachment: fixed;
        background-size: cover;
    }
}


a {
    color: white;
    font-weight: 900;
    transition: .3s;
}

a:focus, a:hover {
    color: #d4d4d4;
    text-decoration: none;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

#content-container {
    padding-bottom: 30px;
}

#inventory-page,
#promotions-page {
    margin-top: 30px;
}






/* HEADER */

header.body {
    margin-bottom: 0;
}

.header-background {
    background-color: black;
}

.header-container {
    display: flex;
    /*background-image: url(https://psmfirestorm.blob.core.windows.net/480feb83-c938-4556-8fb7-f8f6f715a453/header-background.jpg);*/
    width: 768px;
    margin: auto;
    justify-content: space-between;
    padding: 15px 10px;
    align-items: center;
}

.header-container a {
    font-weight: 100;
}

.header-logo {
    max-width: 300px;
}

.header-block:last-child {
    display: flex;
    align-items: center;
}

.header-block-l .dealer-phone {
    display: block;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 900;
    font-size: 36px;
    text-align: right;
    line-height: 45px;
}

.header-block-l .dealer-phone span:first-child {
    padding-right: 9px;
}

.header-block-l .dealer-address {
    padding-right: 5px;
    border-right: 1px solid gray;
}

.header-block-l .dealer-city {
    padding-left: 4px;
}

.header-block-l {
    border-right: 1px solid gray;
    padding-right: 10px;
    font-size: 16px;
}

.header-block-r {
    padding-left: 10px;
}

.header-social {
    display: flex;
}

.header-social a span {
    padding: 5px;
    width: 28px;
    height: 28px;
    background-color: white;
    font-size: 18px;
    text-align: center;
    border-radius: 4px;
    color: #085097;
    margin: 0 8px 0 0;
    transition: .3s;
}

.header-social a:hover span {
    transform: scale(1.2);
}

.header-map {
    text-transform: uppercase;
    display: inline-block;
    margin-top: 4px;
    background-color: #085097;
    color: white;
    border-radius: 4px;
    padding: 3px 10px;
}





/* NAVIGATION */

#main-nav {
    background-color: white;
    border-bottom: 7px solid #085097;
    background: linear-gradient(to top, rgba(226,226,226,1) 0%,rgba(255,255,255,1) 100%);
}

@media (min-width: 768px) {
.navbar-nav {
    float: none;
    margin: 0;
    display: flex;
    justify-content: space-around; }
}

.navbar-nav>li>a {
    padding-top: 20px;
    padding-bottom: 20px;
    color: black;
    font-family: 'Chakra Petch', sans-serif;
    text-transform: uppercase;
    font-weight: 100;
    font-size: 20px;
}

.social-media-icons {
    display: none;
}





/* CONTENT */

.home-oems {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-oems a {
    padding: 40px;
}

.home-oems a:hover {
    transform: scale(.9);
}

.home-oems img {
    max-height: 165px;
    max-width: 100%;
}

.hbuttonblock {
    position: relative;
    z-index: 3;
}

.hbuttonbackground {
    display: flex;
    background-color: #383838;
    justify-content: space-between;
    background: linear-gradient(to bottom, rgba(63,63,63,1) 0%,rgb(36, 36, 36) 100%);
    border-bottom: 7px solid #085097;
}

.hbuttonbackground a:before {
    -webkit-transition: top .2s ease-in-out;
    -o-transition: top .2s ease-in-out;
    transition: top .2s ease-in-out;
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-color: #065097;
}

.hbuttonbackground a:hover:before {
    top: 0;
}

.hbuttonbackground a {
    flex: 0 0 33.33%;
    text-align: center;
    padding: 1% 0;
    position: relative;
}

.hbuttonblock h2 {
    margin-top: 0;
    font-size: 3.5vw;
}

.hbuttonblock h4 {
    margin-bottom: 0;
    font-size: calc(8px + (26 - 16) * ((100vw - 300px) / (1600 - 300)));
    font-family: 'Montserrat', sans-serif;
    font-weight: 100;
}

.home-about .btn-primary {
    width: max-content;
    display: block;
    margin: auto;
}

.home-about .dealer-name {
    text-align: center;
}

.p-header {
    position: relative;
    border-bottom: 5px solid #075096;
}

.p-header h1 {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
    position: absolute;
    bottom: 0;
    width: 100%;
    margin: 0;
    text-align: center;
    font-size: 70px;
    padding: 85px 0 0;
}

.department-container .department {
    background: #323232;
    border-radius: 8px;
}

#employees-team-page > div.row > div > h1 {
    text-align: center;
    font-size: 45px;
}

.department .employee .name p {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0;
}

.department .employee .job p {
    font-size: 14px;
    margin-bottom: 0;
}

.department .title {
    border-radius: 8px;
}

.map-wrapper {
    position: relative;
    padding-bottom: 106%;
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.mapandhourstbl td:last-child {
    padding-left: 15px;
}








/* FORMS */

.btn-primary {
    color: #fff;
    background-color: #065097;
    border-color: #ffffff;
    text-transform: uppercase;
    border-radius: 8px;
    margin-top: 10px;
    transition: .3s;
}

.btn-sec {
    width: max-content;
    display: block;
    margin: 0 auto 10px;
}

.btn-primary:hover {
    color: #065097;
    background-color: #ffffff;
    border-color: #ffffff;
}

.btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open>.dropdown-toggle.btn-primary.focus, .open>.dropdown-toggle.btn-primary:focus, .open>.dropdown-toggle.btn-primary:hover,
.btn-primary.active, .btn-primary:active, .open>.dropdown-toggle.btn-primary,
.btn-primary.focus, .btn-primary:focus {
    color: #065097;
    background-color: #ffffff;
    border-color: #ffffff;
}

.mainform {
    height: max-content;
}

.mainform > div {
    background-color: #323232;
    padding: 20px;
    border-radius: 8px;
}

.inquiryformcontainer,
.locationBox {
    background-color: #323232;
    border-radius: 8px;
}

.inquiryformcontainer {
    font-size: 15px;
}

label {
    margin-bottom: 0;
    font-weight: 100;
}

.form-control {
    background-color: black;
    border: none;
    margin: 5px 0;
    border-radius: 8px;
    color: white;
}

.field-validation-valid,
.field-validation-error {
    position: absolute;
    right: 12px;
    top: 5px;
}

.vdp-inquire .form-control, .vdp-inquire span {
    position: relative;
    right: 0;
    top: 0;
}

.form-header-text {
    font-family: 'Chakra Petch', sans-serif;
    text-transform: uppercase;
    margin-bottom: 5px;
    text-align: center;
    font-size: 30px;
}

.forms-title-section {
    font-size: 21px;
    text-align: center;
    margin-bottom: 4px;
}

#Form1074 > div:nth-child(1) > fieldset > div:nth-child(n+2):nth-child(-n+5),
#Form1075 > div:nth-child(1) > fieldset > div:nth-child(n+2):nth-child(-n+5) {
    width: 25%;
    padding: 0 5px;
    display: inline-block;
}

#Form1074 > div:nth-child(1) > fieldset > div:nth-child(n+7):nth-child(-n+9),
#Form1075 > div:nth-child(1) > fieldset > div:nth-child(n+7):nth-child(-n+9) {
    width: 33.33%;
    display: inline-block;
    padding: 0 5px;
}

#Form1077 > div:nth-child(1) > fieldset > div:nth-child(n+2):nth-child(-n+7) {
    width: 50%;
    display: inline-block;
    padding: 0 5px;
}

#Form1074 > div:nth-child(1) > fieldset > div:nth-child(n+11),
#Form1075 > div:nth-child(1) > fieldset > div:nth-child(n+11),
#Form1077 > div:nth-child(1) > fieldset > div:nth-child(n+8) {
    padding: 0 5px;
}

#ModalVehicleInquiry {
    background: #323232;
    border: 2px #065097 solid;
}








/* FEATURED INVENTORY */

@media (min-width: 768px) {
    .single-item-slider .slider-container { 
    margin: 0 20px; }
}

.single-item-slider .slider-inner .item {
    font-weight: 100;
}

.featuredinventory > div {
    background-color: black;
    border-radius: 8px;
    border: 7px solid #065097;
}

.featuredinventory .single-item-slider .slider-inner .item {
    width: 216px;
}

.single-item-slider .item-detail .price {
    font-size: 18px;
    padding: 0 2%;
    bottom: 0;
    text-transform: uppercase;
    font-family: 'Chakra Petch', sans-serif;
    letter-spacing: 1px;
}

.featuredinventory h2 {
    text-align: center;
    padding-top: 15px;
}

.single-item-slider .item .item-inner {
    padding-bottom: 8%;
}

.single-item-slider .item-detail .name {
    line-height: 16px;
}







/* INVENTORY */
#vehicleList>div {
    margin: 0;
    padding: 10px;
}

.inventory-container .vehicle .title a {
    color: black;
}

.inventory-container .vehicle .title {
    padding: 5px;
}

.inventory-container .vehicle .price {
    font-size: 19px;
    text-align: center;
    padding-right: 0;
    text-transform: uppercase;
    color: #065097;
}

.vehiclemodel {
    font-weight: 100;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 20px;
    min-height: 41px;
}

#FilterQuickSearch {
    margin: 0;
}

.panel-default>.panel-heading {
    color: #000;
    background: linear-gradient(to top, rgba(226,226,226,1) 0%,rgba(255,255,255,1) 100%);
}

#filters-box .panel-body li {
    color: #000;
    text-transform: uppercase;
}

.inventory-container .vehicle .thumb {
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}

.inventory-container .vehicle .price-box {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.panel-heading .panel-toggle {
    text-transform: uppercase;
}

#vehicleInquiryForm > fieldset > br {
    display: none;
}

.vdpinquiryheader {
    margin-bottom: 5px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 26px;
}

.specs-panel.panel-body {
    background-color: #323232;
    color: #fff;
}

#vehicleDetails .list-group.flex {
    font-weight: 100;
}

.seller-description {
    color: black;
}










/* FOOTER */

footer.body .outer-wrapper {
    text-align: center;
}

.footer-background {
    background-color: black;
    border-top: 7px solid #065097;
}

.footer-container {
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    padding: 15px 15px 30px;
    line-height: 26px;
    flex-flow: column;
    text-align: center;
}

.footerlinks li {
    padding: 15px 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.footer-block .dealer-address, 
.footer-block .dealer-phone,
.footer-map {
    display: block;
}

.footer-block ul {
    list-style: none;
    padding: 0;
}

.footer-block table td:last-child {
    padding-left: 15px;
    text-align: right;
}

.footer-bottom {
    width: 100%;
    margin-top: 0;
    text-align: center;
}

.footertable { 
    width: 290px;
    margin: 0 auto;
}

.siteSearch-M button {
    height: 34px;
    margin-top: 5px !important;
    padding: 3px;
}

.back-box a:hover, .back-box a:focus {
    background-color: #085097;
}

.breadcrumb a {
    color: black;
}

.maptext {
    text-align: center;
}

.mapandhourstbl {
    width: 290px;
    margin: 0 auto;
}

.jumbotron, #creditAppForm section {
    background: #323232 !important;
    color: white !important;
}

.jumbotron .text-muted, .jumbotron h1 {
    color: white !important;
}

#creditAppForm .k-picker-wrap.k-state-default .k-input, #creditAppForm .k-picker-wrap.k-state-default, #creditAppForm .k-dropdown .k-input {
    background: black !important;
    border: 0 !important;
}

#creditAppForm .k-dropdown .k-input {
    color: white !important;
}

@media (max-width: 767px) {
    .header-container {
        display: none;
    }
.header-background img {
    display: none;
}
    #main-nav {
        z-index: 2040;
        position: fixed;
        width: 100%;
        background: black;
    }
    .footer-bottom div {
        flex-direction: column;
    }
    .navbar-nav>li>a {
        padding-top: 20px;
        padding-bottom: 20px;
        color: white;
    }
    #main-nav .dropdown-menu>li>a {
        padding-top: 15px;
        padding-bottom: 15px;
        color: white;
    }
    .nav .open>a, .nav .open>a:focus, .nav .open>a:hover, .nav>li>a:focus, .nav>li>a:hover {
         background-color: #085097;
    }
    #main-nav .navbar-brand {
        height: 58px;
        margin: 2px 0;
        padding: 1px 15px;
    }
    .mappage > .widget-inner {
        margin-top: 0 !important;
    }
    #inventory-page, #promotions-page {
        margin-top: 0;
    }
    .p-header h1, .home-about .dealer-name, .maptext .dealer-name {
        font-size: 8vw;
    }
    .department .employee {
        max-width: 300px;
    }
    .department .employee .job p {
        font-size: 20px;
    }
    .maptext h3:first-of-type {
        font-size: 6vw;
    }
    .home-oems {
        flex-direction: column;
    }
    .home-oems a {
        padding: 20px 0;
    }
    .hbuttonblock h2 {
        margin-top: 5px; 
        margin-bottom: 2px;
    }
    .featuredinventory h2 {
        font-size: 7vw;
    }
    .featuredinventory .single-item-slider .slider-outer {
        height: 230px;
    }
    #filters-modal, #ModalVehicleInquiry {
        top: 70px;
    }
    #ModalVehicleInquiry {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    .inventory-container .vehicle .price.not-itemized {
        font-size: 22px;
    }
    #Form1074 > div:nth-child(1) > fieldset > div:nth-child(n+2):nth-child(-n+5), #Form1075 > div:nth-child(1) > fieldset > div:nth-child(n+2):nth-child(-n+5), #Form1074 > div:nth-child(1) > fieldset > div:nth-child(n+7):nth-child(-n+9), #Form1075 > div:nth-child(1) > fieldset > div:nth-child(n+7):nth-child(-n+9), #Form1077 > div:nth-child(1) > fieldset > div:nth-child(n+2):nth-child(-n+7) {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .footer-container {
        width: 768px;
    }
    .featuredinventory .single-item-slider .slider-inner .item {
        width: 298px;
    }
    .single-item-slider .item-detail .price {
        font-size: 20px;
    }
    .featuredinventory .single-item-slider .slider-outer {
        height: 240px;
    }
    #main-nav .navbar-nav>li>a {
        font-size: 16px;
    }
    .header-container a {
        font-size: 14px;
    }
    .mappage {
        margin-bottom: 30px;
    }
    .maptext .dealer-name {
        font-size: 36px;
    }
}

@media (min-width: 992px) {
    .footer-top { 
        flex-direction: row;
    }
    .footer-bottom {
        margin-top: -23px;
        width: 38%;
    }
    .header-container {
        width: 972px;
    }
    .footer-container {
        width: 972px;
        text-align: left;
    }
    .footerlinks li {
        padding: 0;
    }
    .footertable, .mapandhourstbl { 
        width: auto;
        margin: 0;
    }
    .featuredinventory .single-item-slider .slider-inner .item {
        width: 267px;
    }
    .featuredinventory .single-item-slider .slider-outer {
        height: 230px;
    }
    .hbuttonblock h2 {
        font-size: calc(26px + (26 - 16) * ((100vw - 300px) / (1600 - 300)));
    }
    #main-nav .navbar-nav>li>a {
        font-size: 20px;
    }
    .header-block-l .dealer-phone {
        font-size: 43px;
    }
    .header-container a {
        font-size: 16px;
    }
    .inventory-container .vehicle .price {
        font-size: 18px;
    }
    .maptext {
        text-align: left;
    }
    .maptext .dealer-name {
        font-size: 27px;
    }
    .mappage {
        margin-bottom: 0;
    }
}

@media (min-width: 1200px) {
    .footer-container, .header-container {
        width: 1180px;
    }
    .home-oems img {
        max-width: 410px;
    } 
    .featuredinventory .single-item-slider .slider-inner .item {
        width: 246px;
    }
    .inventory-container .vehicle .price {
        font-size: 20px;
    }
    .maptext .dealer-name {
        font-size: 30px;
    }
}


