/*
        body, html {
            margin: 0;
            padding: 0;
        }
        @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic);
*/
html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

/*
body {
    background: #f4f5f6;
    color: #333;
}

a {
    text-decoration: none;
    color:#67c;
}
*/

.flexbox p,
.flexbox li,
time {
    font-size: 1.6rem;
    line-height: 3.6rem;
    margin: 0 0 .4rem 0;
}


.flexbox h2 {
    font-size: 2.4rem;
    line-height: 3.6rem;
    font-weight: 400;
    margin: 2.4rem 0;
}

img {
    border: 0;
    height: auto;
    max-width: 100%;
}

figure img {
    border-top-left-radius: .7rem;
    border-top-right-radius: .7rem;
	width: 100%;
}

figure:hover img {
    filter: alpha(opacity=9000);
    opacity: 0.90;
    filter: alpha(opacity=90);
	width: 100%;
}

figure {
    margin: 0;
    line-height: 0;
}

article,
figure,
footer,
header,
main {
    display: block;
}

header:before,
header:after,
main:before,
main:after {
    content: "";
    display: table;
}

header:after,
main:after {
    clear: both;
}

main {
    position: relative;
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
}

.flexbox a:hover {
    text-decoration: none;
}

/*=================================
  AUTO ADJUST / EQUAL HEIGHT
=================================*/

.flexgrid {
    margin: 0 auto;
    padding: 0;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
}

.flexgrid li {
    position: relative;
    list-style: none;
    display: -webkit-flex;
    display: flex;
    margin: 0;
    flex: auto;
    width: 100%;
}

.flexgrid li>a {
    position: relative;
    padding: 2.4rem;
    width: 100%;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.viewbtn {
  position: absolute;
  left: 20%;
  top: -15px;
  height: 25px;
  line-height: 15px;
  z-index: 11;
}

@media (min-width: 768px) {
 .flexgrid li {
    width: 33.333%;
 }
}

.flexgrid li h2,.flexgrid li h3 {
    margin: 0;
}

/*=================================
  GRID
=================================*/

.flexgrid.columns-news li {
    margin-bottom: 4.8rem;

}

.flexgrid.columns-news li a {
    padding: 0;
}

.flexgrid.columns-news li figcaption {
    position: relative;
    z-index: 1;
}

.flexgrid.columns-news li p {
    margin-top: -3.6rem;
    padding: 0 1.2rem;
    font-size: .7em;
    text-transform: uppercase;
}

.flexgrid.columns-news li h2 {
    padding: 1.2rem;
    font-size: 1.6rem;
    line-height: 2.4rem;
    font-weight: 700;

}

.columns-news li:hover {
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    /*-webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);*/
}

@media (min-width:568px) {
    .flexgrid.columns-news {
        margin: 0 -2%;
    }
    .flexgrid.columns-news li {
      margin-right:2%;margin-left: 2%;
      width: 46%;
    }
}

@media (min-width:1024px) {
    .flexgrid.columns-news li {
        width: 21%;
    }
}

/*=================================
  FAVORITE/SAVE
=================================*/

/*.flex-ribbon.icon {
  font-size:2.4rem;
}*/

.flex-ribbon.icon {
  font-size:2.4rem;
}

/*=================================
  NUMBER: MOST POPULAR
=================================*/

/*.grid-number {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    line-height: 1;
    font-weight: 600;
    z-index: 1;
    padding: .6rem 1.2rem;
    border-radius: 50%;
}*/

/*.grid-number {
    position: absolute;
    top: .5rem;
    left: .5rem;
    line-height: 1;
    font-weight: 600;
    z-index: 1;
    padding: .6rem .8rem;
    border-radius: 2rem;
}*/

.grid-number {
    position: absolute;
    top: 0;
    left: 0;
    line-height: 1;
    font-weight: 600;
    z-index: 1;
    padding: .5rem;
    border-bottom-right-radius: .7rem;
    border-top-left-radius: .7rem;
}

/*=================================
  RIBBON
=================================*/

/*.flex-ribbon {
    position: absolute;
    top: 0;
    right: -1.3rem;
    padding: .6rem 1.2rem;
    font-size: 1.4rem;
    line-height: 2.4rem;
    text-align: center;
    z-index: 1;
    letter-spacing: 1px;
}*/

.flex-ribbon {
    position: absolute;
    top: 0;
    right: -1.9rem;
    padding: .3rem .6rem .7rem .6rem;
    font-size: .5rem;
    line-height: 1rem;
    text-align: center;
    z-index: 1;
    letter-spacing: 1px;
}

/*.flex-ribbon:hover {
    -webkit-box-shadow: 0px 0px 7px 0px rgba(255,0,0,0.75);
    -moz-box-shadow: 0px 0px 7px 0px rgba(255,0,0,0.75);
    box-shadow: 0px 0px 7px 0px rgba(255,0,0,0.75);
}*/

/*.flex-ribbon:before {
    position: absolute;
    right: .3rem;
    bottom: -1rem;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    pointer-events: none;
    border-width: 10px;
    -ms-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}*/

.flex-ribbon:before {
    position: absolute;
    right: 6px;
    bottom: -1.3rem;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    pointer-events: none;
    border-width: 1.3rem;
    -ms-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}

/*=================================
  COLORS
=================================*/

.flexgrid.columns-news li {
    background: #fbfbfb;
    border: 1px solid #e4e4e4;
    border-bottom: 1px solid #bdbdbd;
    border-radius: .7rem;
    max-width: 560px;
}

@media (max-width: 567px) {
    .spec, table td.spec, td.option {
       font-weight: 700;
       line-height: 30px;
       color: #3d3d3d;
       font-size: 150%;
    }
}


.flexgrid.columns-news li a {
    color: inherit;
}

.columns-news li:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

.flexgrid.columns-news li p {
    color: #fff;
    text-shadow: 0 1px 0 #000;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.4)));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    /* IE10+ */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    /* W3C */
}

.grid-number {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    font-size: 1.8rem;
}

.flex-ribbon {
    background: #0069C4;
    box-shadow: -2px 1px 5px #000;
}

.flex-ribbon,
.flex-ribbon a {
    color: #fff;
}

.flex-ribbon:before {
    border-color: rgba(136, 183, 213, 0);
    border-top-color: #3a3a3a;
}

.flex-price:before {
    content: 'Our Price: ';
    font-weight: normal;
    font-size: .6em;
    display: block;
    color: #333;
}

.flex-price {
    font-size: 1.6em;
    font-weight: 700;
    line-height: 1.2em;
    padding-left: .5em;
    padding: 0 0 .5em .5em;
    color: #333;
    display: block;
}

.flex-mileage,
.flex-stock {
    font-size: .9em;
    font-weight: normal;
    line-height: 2em;
    padding-left: 1em;
    color: #333;
    display: block;
}

figure:hover:after {
    color: #333;
    border-color: #333;
}
/*
figure:after {
    content: 'View More';
    font-weight: normal;
    font-size: 1em;
    display: inline-block;
    right: 1em;
    line-height: 2em;
    height: 2.5em;
    bottom: 1em;
    padding: .2em .4em;
    border: .1em solid;
    border-color:  #bdbdbd;
    border-radius: .3rem;
    color: #bdbdbd;
    position: absolute;
}
*/
figure:hover .flex-price:after {
    color: #333;
    border: .1em solid #333;
}

.flex-mileage:before {
    content: 'Mileage: ';
    font-weight: 700;
}

.flex-stock:before {
    content: 'Stock #: ';
    font-weight: 700;
}

.glyphicon-plus {
    position: absolute;
}

.glyphicon-plus:before {
    color: #fff;
}

.glyphicon.glyphicon-plus:checked:before {
    color: #ffd97f;
}

.compare {
    display: inline;
    position: absolute;
    right: 25px;
    bottom: 31px;
}
.compare:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.compare-tip {
    display: inline;
    position: absolute;
    right: 15px;
    top: 35px;
}

.compare-tip.hint--bottom-left:before {
    margin-top: -11px;
    left: calc(50% - 11px);
}
.compare-tip.hint--bottom-left:before, .hint--bottom-right:before, .hint--bottom:before {
    border-bottom-color: #0069c4;
}
.compare-tip[class*=hint--]:after {
    background: #0069c4;
    color: #fff;
    padding: 8px 10px;
    font-size: 12px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    line-height: 12px;
    white-space: nowrap;
    text-shadow: 0 -1px 0 #000;
    box-shadow: 4px 4px 8px rgba(0,0,0,.3);
}


input[type="checkbox"]:before {
    padding: 15px;
    border-top-left-radius: 4px;
    font-size: 12px;
    transition: all .2s ease-in-out;
    /*border: 1px solid rgba(0, 0, 0, 0.15);*/
}
input[type="checkbox"]:hover:before {
    background-color: rgba(255, 255, 255, 0.3);
}
