/******************************************************************************
* Title: styling.css
* Author: Hunter Schoonver ~ Web Designer ~ hunter@skoonie.com
* 
* Purpose:
* 
* This cascading stylesheet provides styling for the about page.
*
* Example usage:
* 		<link rel="stylesheet" href="styling.css">
*
*/

/* ------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------ */
/* CONTENT SECTION -- Styling for the content section */

#searchForm {
    width: 100%;
    max-width: 1120px;
    display: inline-block;
    padding: 40px 10px 0 10px;
}

#searchFormSelectAndSearch {
    width: 100%;
    display: table;
}

#searchFormSelect {
    width: 250px; 
    display: table-cell;
    padding: 0;
    margin: 0;
}

#searchFormSearch {
    display: table-cell;
    padding: 0 0 0 20px;;
    margin: 0;
}

.carBubble {
    width: 100%;
    border: 1px solid transparent;
    border-bottom: 1px #555 solid;
    border-left: 1px #555 solid;
    display: table;
    margin: 100px 0;
    padding: 10px 20px;
    text-align: left;
    transition: all 250ms linear;
}
.carBubble:hover {
    border: 1px solid transparent;
    border-top: 1px #5656ff solid;
    border-right: 1px #5656ff solid;
    transition: all 250ms linear;
}

.carBubble .left {
    width: 400px;
    height: 275px;
    display: table-cell;
    vertical-align: middle;
}

.carBubble .right {
    height: 100%;
    display: table-cell;
    padding: 15px 15px 15px 40px;
    position: relative;
    vertical-align: top;
}

.carButtons {
    width: 100%;
    display: inline-block;
    text-align: right;
}

.button {
    display: table-cell;
    margin: 0;
    text-align: right;
    vertical-align: center;
}

.button a {
    border-style: solid;
    border-width: 2px;
    cursor: pointer;
    display: inline-block;
    font-size: 20px;
    margin: 0;
    padding: 8px 50px;
    text-decoration: none;
    transition: all 250ms linear;
}
.button a:hover {
    transition: all 250ms linear;
}

.button .driveNow {
    border-color: #5656ff;
    color: #5656ff;
}
.button .driveNow:hover {
    background-color: #5656ff;
    color: #fff;
}

.carImage {
    width: 100%;
    max-width: 400px;
    display: inline-block;
    vertical-align: middle;
}

.carInfo {
    width: 100%;
    color: #8c8c8c;
    display: inline-block;
    font-size: 16px;
    padding: 0 0 40px 0;
}

.carInfo .info {
    height: 25px;
    display: inline-block;
    margin: 0 8px;
    padding: 10px 0;
}

.carInfo .info img {
    display: inline-block;
    margin: 0;
    padding: 0 7px 0 0;
    vertical-align: middle;
}

.carInfo .info div {
    display: inline-block;
    vertical-align: middle;
}

.carInfo .info div a {
    color: #8c8c8c;
    cursor: pointer;
    text-decoration: none;
}
.carInfo .info div a:hover {
    color: #000;
    text-decoration: none;
}

.carPrice {
    width: 100%;
    color: #000;
    display: inline-block;
    font-size: 50px;
    font-weight: bold;
    padding: 20px 0 10px 0;
    text-align: left;
}

.carTitle {
    width: 100%;
    color: #000;
    display: inline-block;
    font-size: 30px;
    text-align: left;
}

.searchBar {
    width: 100%;
    max-width: none;
    padding: 12px;
    margin: 0;
}

.searchButton {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 10px 0 0 0;
    text-align: right;
}

.selectMake {
    width: 100%;
    max-width: none;
    padding: 12px;
}

/* Styling for when narrower than 420px */
@media (max-width: 420px) {
    
    .button {
        width: 100%;
    }
    
    .button a {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    
    .carBubble {
        padding-left: 0;
        padding-right: 0;
    }
    
}

/* Styling for when narrower than 750px */
@media (max-width: 750px) {
    
    .searchButton {
        padding: 20px 0 0 0;
    }
    
    #searchFormSearch {
        width: 100%;
        display: inline-block;
        padding: 20px 0 0 0;
    }
    
    #searchFormSelect {
        width: 100%;
        display: inline-block;
    }
    
}

/* Styling for when narrower than 850px */
@media (max-width: 850px) {
    
    .carBubble {
        border: 0;
        border-bottom: 1px #555 solid;
        border-top: 1px #555 solid;
        margin: 50px 0;
        text-align: center;
    }
    .carBubble:hover {
        border: 0;
        border-bottom: 1px #555 solid;
        border-top: 1px #555 solid;
    }
    
    .carBubble .left {
        width: 100%;
        height: auto;
        display: inline-block;
        padding: 15px 0 0 0;
    }
    
    .carBubble .right {
        width: 100%;
        display: inline-block;
        padding: 15px 0;
    }
    
    .carPrice {
        font-size: 45px;
        text-align: center;
    }

    
    .carTitle {
        font-size: 25px;
        text-align: center;
    }
    
}

/* end of CONTENT SECTION */
/* ------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------ */