﻿/* Special breakpoints for small screen mobile users */
.visible-xxs {
    display: none
}

@media (max-width: 480px) {
    .hidden-xxs {
        display: none;
    }

    .visible-xxs {
        display: block;
    }
}

.clearfix {
    clear: both
}

/* Shrink the page a bit in full size mode */
@media (min-width: 1200px) {
    .container {
        width: 960px;
	//width:800px;this keeps it too skinny
    }
}

/* Center the navbar for all page sizes > xs */
@media (min-width: 768px) {
    .navbar-nav {
        width: 100%;
        text-align: center;
    }

        .navbar-nav li {
            float: none;
            display: inline-block;
        }
}

/* Make the navbar blue with bright white text */
.navbar-inverse {
    background-color: #003366;
    color: #fff;
    border-radius: 0;
}

    .navbar-inverse .navbar-brand {
        color: #FFF;
    }

    .navbar-inverse .navbar-nav > li > a {
        color: #fff;
    }

/* Make the homepage testimonials side-by-side on mobile */
#homepageTestinmonials img {
    width: 45%;
    display: inline-block;
    margin: 10px 0;
}

/* Make the homepage testimonials stack vertically on full-size */
@media (min-width: 768px) {
    #homepageTestinmonials img {
        width: auto;
        float: none;
        display: block;
        margin: 0 auto 15px auto;
    }
}

/* Make the homepage testimonials side-by-side on mobile */
#homepageNewsBanners img {
    width: 45%;
    display: inline-block;
    margin: 10px 0;
}

/* Make the homepage testimonials stack vertically on full-size */
@media (min-width: 768px) {
    #homepageNewsBanners img {
        width: auto;
        float: none;
        display: block;
        margin: 0 auto 15px auto;
    }
}

/* Sidebars */
.homepageSidebar {
    background-color: #800000;
}

    .homepageSidebar, .homepageSidebar a, .homepageSidebar a:hover {
        color: #FFF;
    }

#linkDealerSpecials {
    cursor: pointer;
}

/* On mobile view, give the left sidebar a little padding */
@media (max-width: 767px) {
    .homepageSidebarLeft {
        margin: 5px 15px;
    }
}

/* Make the sidebar images stack side-by-side on mobile */
.homepageSidebar img {
    float: left;
    margin: 4px;
    max-width: 40%;
}

/* Make the sidebar images stack vertically on full-site */
@media (min-width: 768px) {
    .homepageSidebar img {
        width: auto;
        float: none;
        display: block;
        margin: 0 auto 15px auto;
        max-width: 100%;
    }
}

/* Homepage search form */
#homeSearch td, #homeSearchTrucks td {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    padding-left: 5px;
}


#homeSearch, #homeSearchTrucks {
    padding: 15px 30px;
    border-radius: 5px;
    background: #000000;
    background: -moz-linear-gradient(top, #000000 0%, #0a0082 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#000000), color-stop(100%,#0a0082));
    background: -webkit-linear-gradient(top, #000000 0%,#0a0082 100%);
    background: -o-linear-gradient(top, #000000 0%,#0a0082 100%);
    background: -ms-linear-gradient(top, #000000 0%,#0a0082 100%);
    background: linear-gradient(to bottom, #000000 0%,#0a0082 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#0a0082',GradientType=0 );
}

    #homeSearch h3, #homeSearchTrucks h3 {
        color: #FFF;
        margin: 0 0 15px 0;
        text-align: center;
    }

    #homeSearch h4, #homeSearchTrucks h4 {
        color: #ffff00;
        margin: 0 0 15px 0;
        text-align: center;
    }

    #homeSearch .form-control, #homeSearchTrucks .form-control {
        margin-bottom: 5px;
        color: #000;
    }

/* Homepage inventory boxes */
.homepageInventory {
    padding: 15px 30px;
    border-radius: 5px;
    background: #000000;
    background: -moz-linear-gradient(top, #000000 0%, #0a0082 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#000000), color-stop(100%,#0a0082));
    background: -webkit-linear-gradient(top, #000000 0%,#0a0082 100%);
    background: -o-linear-gradient(top, #000000 0%,#0a0082 100%);
    background: -ms-linear-gradient(top, #000000 0%,#0a0082 100%);
    background: linear-gradient(to bottom, #000000 0%,#0a0082 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#0a0082',GradientType=0 );
}

    .homepageInventory h2 {
        font-size: 18px;
        color: #FFF;
        margin: 5px 0;
    }

    .homepageInventory h4 {
        font-size: 12px;
        color: #FFF;
        margin: 5px 0;
    }

    .homepageInventory td {
        border: 1px solid #000;
        padding: 3px;
        color: #000;
    }

    .homepageInventory a {
        color: #FFF;
        text-decoration: underline;
    }

    .homepageInventory td a {
        color: #000;
        text-decoration: underline;
    }

/* Right sidebar random ads */
/* In mobile view, align text and images to the left */
.homepageRightSidebarRand {
    text-align: left;
    font-weight: bold;
    border: 1px solid black;
    margin: 10px 0;
    padding: 5px;
    overflow: hidden;
}

    .homepageRightSidebarRand img {
        float: left;
        margin: 0 10px;
    }

/* In full site view, center everything down the column */
@media (min-width: 768px) {
    .homepageRightSidebarRand {
        text-align: center;
    }

        .homepageRightSidebarRand img {
            float: none;
            margin: 0 auto;
        }
}

/* Homepage articles, float images to left and give some spacing */
.homepageArticleImage {
    float: left;
    margin: 10px;
    border: 1px solid #333;
    width: 90px;
}

/* Red tab with text styling */
.widetab {
    background-color: #800000;
    padding: 10px;
}

    .widetab h3 {
        color: #FFF;
        font-weight: bold;
        font-size: 18px;
        text-shadow: 0px 0px 8px rgba(255, 255, 255, 1);
        margin: 0;
        padding: 0;
    }

.hideEmbedded {
    display: none;
}

.videowrapper {
    float: none;
    clear: both;
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}

    .videowrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.youtubeheaders {
    color: white;
    font-weight: 700;
    text-align: center;
    font-size: 18px;
    background-color: #003366;
    border-radius: 5px;
    width: 100%;
    margin: 5px;
    padding: 5px;
    display: block;
    text-transform: uppercase;
}

.x-small {
    font-size: 75%;
}

@media print {
    .NoPrint {
        display: none;
    }
}