/*The Specifications module and the manual version of the module share the same code. We do this using this stylesheet.*/
section.p-specification__wrapper {
  position: relative;
}

.p-specification__featured-items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-align: Stretch;
  -ms-flex-align: Stretch;
  align-items: Stretch;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: 50px;
}

.featured-specification {
  background-color: #F5F5F5;
  display: block;
  text-align: center;
  padding: 18px 27px;
  -webkit-box-flex: 1;
  -ms-flex: 1 0 349.62px;
  flex: 1 0 349.62px;
  border-radius:5px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-flow: column;
  flex-flow: column;
}
.featured-specification h4 {
  margin-bottom: 0;
  margin-top: 0;
}

.featured-specification p{
  font-size:18px;
  margin-bottom:0;
}
/*
.featured-specification:nth-child(2n) {
  margin: 0 15px;
}
*/
@media (max-width:474px){
  .featured-specification{
    margin:7.5px 0!important;
  }
  .p-specification__featured-items .featured-specification{
    display:block;
    -webkit-box-flex: 1;
            flex: 1 0 100%;    
        -ms-flex: 100%;
  }
}

.p-specification__truck {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.p-specification__truck--left {
  margin-right: 1.7%;
}

.p-specification__truck-photo {
  height: 282px;
  background-size: cover;
  background-position: center;
}

.p-specification__features-wrapper {
  position: relative;
}
.p-specification {
  position: relative;
  padding-top: 10px;
}

.p-specification__header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: stretch;
  -ms-flex-pack: stretch;
  justify-content: stretch;
  width: 1140px;
  margin: 0 auto;
  max-width: 100%;
}

.p-specification__truck-title {
  font-size: 18px;
  font-weight: bold;
  color: #1e1e1e;
}

.p-specification h3 {
  color: #e71315;
  font-size: 35px;
  font-weight: 500;
  text-transform: uppercase;
}

table.p-specification__table {
  border-collapse: collapse;
  width: 100%;
}
/*
table.p-specification__table tr:nth-child(odd) {
  background-color: #ededed;
}
*/
table.p-specification__table td {
  padding: 22px;
  vertical-align: top;
}
table.p-specification__table td p {
  margin: 0;
}
table.p-specification__table td:nth-child(even) {
  width:30%;
}
table.p-specification__table td:nth-child(odd) {
  font-weight: bold;
  font-size: 18px;
  color: #1e1e1e;
  width:20%;
}
table.p-specification__table td:last-child {
  font-size: 16px;
  color: #535353;
}


@media (min-width:475px){
  .p-specification {
      padding-top: 20px;
  }
  
  .p-specification__featured-items .featured-specification:nth-child(2){
    -ms-grid-row: 1;
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
  }
  .p-specification__featured-items .featured-specification:nth-child(3){
    -ms-grid-row: 3;
    -ms-grid-column: 1;
    -ms-grid-column-span: 3;
    grid-area: 2 / 1 / 2 / 3;
  }
  @supports((display: -ms-grid) or (display: grid)){
    .p-specification__featured-items .featured-specification:nth-child(2n){
      margin: 0!important;
    }
  }/* supports query minification is bugged so the queries are separated*/
  @supports(display: -ms-grid){
    .p-specification__featured-items .featured-specification:nth-child(2n){
      margin: 0!important;
    }
  }
  .p-specification__featured-items {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 15px 1fr;
    -ms-grid-rows: 1fr 15px 1fr;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
  }
}

@media(min-width:900px){
  .p-specification {
      padding-top: 50px;
  }  
  .p-specification__featured-items {
    grid-gap: 2%;
    -ms-grid-columns: 1fr 2% 1fr 2% 1fr;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .p-specification__featured-items .featured-specification:nth-child(2){
    -ms-grid-row: 1;
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    grid-area: 1 / 2 / 1 / 2; 
  }
  .p-specification__featured-items .featured-specification:nth-child(3){
    -ms-grid-row: 1;
    -ms-grid-column: 5;
    -ms-grid-column-span: 1;
    grid-area: 1 / 3 / 1 / 3;    
  }
  
}
@media(min-width:1000px){
  .p-specification__featured-items {
    grid-gap: 4.371%;
  }
}
@media (max-width:599px){
  table.p-specification__table td {
    display: inline-block;
    width: 50%!important;
    padding: 12px;
  }
  /*
  table.p-specification__table tr:nth-child(odd) {
    background-color: transparent;
  }
  table.p-specification__table td:nth-child(3),
  table.p-specification__table td:nth-child(4) {
    border-top: 1px solid #ededed;
  }
  table.p-specification__table tr {    
    border-top: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
  }
  table.p-specification__table tr:last-child {    
    border: 0;
  }
  */
}