/* ITEM PREVIEW 'TILES' - UNIVERSAL TO BOTH BASIC & ENHANCED */

/* The container that houses the Item Preview 'tiles' */
#toplvl_wrap, .toplvl_wrap {
  padding: 0;
  padding-top: 10px;
  width: auto;
  clear: both;
  margin: 0 auto 0;
  position: relative;
}

@media (max-width: 999px) {
  #toplvl_wrap, .toplvl_wrap {
    padding-top: 30px;
    width: calc(100% - 35px) !important;
    margin: 0px auto;
  }
}

/* The universal aspects to the shape and form of the 'tiles' */
.toplvl_item {
  float: left;
  background: #fff;
  margin-top: 0px;
  margin-right: 7px;
  margin-bottom: 14px;
  margin-left: 7px;
  color: #929497; /* Text colour of Org Name and Page Type */
  padding-bottom: 10px;
  position: absolute;
  border-radius: 6px 6px 6px 6px;
  -moz-border-radius: 6px 6px 6px 6px;
  -webkit-border-radius: 6px 6px 6px 6px;
}

.toplvl_item.discover {
  position: relative !important;
  margin-top: 25px !important;
}

/* The universal aspects to the 'tile' topper - the grey add-on with white text */
#deal_endingsoon {
  margin-bottom: -5px;
  border-radius: 5px 5px 0 0;
  position: relative;
  z-index: 100;
  padding: 3px 0 0 0;
  text-align: center;
  background-position: 35px;
  background: #929497;
  background-image: none;
  background-image: none;
  vertical-align: top;
}

/* The universal to the Item image */
div.toplvl_item div#search_img img {
  display: block;
  border-radius: 6px 6px 0 0;
}

/* The universal Orange tag placed on Deal 'tiles' */
h3 #deal_item { /* The core aspects to the Orange tag */
  border-radius: 3px;
  border: 2px solid #fff;
  border-right-width: 2px;
  border-right-style: solid;
  border-right-color: rgb(255, 255, 255);
  border-right: 0;
  background: #F28433;
  color: #fff;
  float: right;
  padding: 1px 7px;
  line-height: 19px;
  font-size: 13px;
  font-family: myriad,helvetica,arial,sans-serif;
}

#deal_item_end {
  background-image: url(/images/deal_end_item.png);
  background-position: top left;
  background-repeat: no-repeat;
  height: 25px;
  width: 15px;
  float: right;
  margin-left: -4px;
}

#deal_item_mid {
  background: #F28433;
  height: 15px;
  width: 15px;
  float: right;
  margin: 5px -5px 0 -25px;
  border-radius: 5px 5px 5px 30px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=-1);
}

/* The universal aspects to Item Name / Title in the 'tiles'*/
.toplvl_item h3.h3: {
  font-family: myriadbold,Helvetica,Arial,sans-serif;
  padding: 0 5px;
  color: #444;
  margin-top: 3px;
  float: none;
  text-align: center;
  clear: none;
  margin-left: 0;
}

/* The universal asects to H4 in the 'tiles' */
.toplvl_item h4 {
  font-family: myriad,Helvetica,Arial,sans-serif;
  margin-left: 12px;
  margin-top: 3px;
  float: left;
  clear: none;
  width: 149px;
  text-align: left;
}

/* The universal aspects to Price in the 'tiles' */
#price, #dealprice {  /* e.g. from $12.00, $15.00, $25.00 - Strikethrough */
  float: right;
  font-family: myriadbold,Helvetica,Arial,sans-serif;
  margin-right: 5px;
  width: auto;
}

.strike {
  text-decoration: line-through;
}

/* The universal aspects to Deal Price in the 'tiles' */
#dealprice {
  color: #444;
}

/* Text colour of Org Name and Page Type */
.toplvl_item h4.org_name_page_type {
  color: #444;
}

#thumb_logo {
  float: left;
  margin: 5px 10px 0;
}


/* ITEM PREVIEW 'TILES' - SPECIFIC TO BASIC */

/* The specific aspects to the shape and form of the BASIC 'tiles' */
.toplvl_tile_basic {
  width: 221px !important;
}

@media (max-width: 999px) {
  .toplvl_tile_basic {
    position: relative;
    width: 100% !important;
    height: auto;
    margin-left: 0px;
  }
}

/* The basic CSS to the Item image */
div.toplvl_tile_basic div#search_img img {
  width: 100% !important;
}

/* The specific aspects to the 'tile' topper on BASIC 'tiles' - the grey add-on with white text */

.deal_endingsoon_basic { /* Gray Top Border / background with Text */
  width: 221px !important;;
  height: 22px !important;;
  font-size: 15px !important;
}

.deal_startingsoon_basic { /* Gray Top Border / background with Text */
  width: 221px !important;;
  height: 22px !important;;
  font-size: 15px !important;
}

@media (max-width: 999px) {
  .deal_endingsoon_basic { /* Gray Top Border / background with Text */
    width: 100% !important;
  }

  .deal_startingsoon_basic { /* Gray Top Border / background with Text */
    width: 100% !important;
  }
}

/* The specific aspects to Item Name / Title in the BASIC 'tiles'*/
h3.h3_basic { /* Item Name or Title */
  font-size: 14px !important;
  width: 210px !important;
}

@media (max-width: 999px) {
  h3.h3_basic { 
    font-size: 18px !important;
    width: 97% !important;
  }
}

/* The specific aspects to H4 in the BASIC 'tiles'*/
h4.h4_basic {
  font-size: 14px !important;
}

@media (max-width: 999px) {
  h4.h4_basic {
    font-size: 18px !important;
    width: 97%;
  }
}

.toplvl_item h4.h4_basic.org_name_page_type {
  width: 149px !important;
}

@media (max-width: 999px) {
  .toplvl_item h4.h4_basic.org_name_page_type  {
    /*font-size: 18px !important;*/
    width: 220px !important;
  }
}

/* The specific aspects to Price in the BASIC 'tiles' */
#price.price_basic { /* e.g. from $12.00, $15.00, $25.00 - Strikethrough */
  font-size: 13px !important;
}

@media (max-width: 999px) {
  #price.price_basic {
    font-size: 18px !important;
  }
}

/* The specific aspects to Deal Price in the BASIC 'tiles' */
#dealprice.deal_price_basic {
  font-size: 16px !important;
}

@media (max-width: 999px) {
  #dealprice.deal_price_basic {
    font-size: 18px !important;
    width: 97%;
  }
}

/* The specific aspects to the Logo in the BASIC 'tiles' */
#thumb_logo.thumb_logo_basic {
  width: 40px !important;
}

@media (max-width: 999px) {
  #thumb_logo.thumb_logo_basic {
    width: 60px !important;
  }
}

#thumb_logo.thumb_logo_basic img {
  width: 40px !important;
}

@media (max-width: 999px) {
  #thumb_logo.thumb_logo_basic img {
    width: 60px !important;
  }
}

/* ITEM PREVIEW 'TILES' - SPECIFIC TO ENHANCED */
/* The specific aspects to the shape and form of the ENHANCED 'tiles' */
.toplvl_tile_enhanced {
  width: 454px !important;
  -moz-box-shadow: 0 0 5px #000;
  -webkit-box-shadow: 0 0 5px #000;
  box-shadow: 0 0 5px #000;
}

@media (max-width: 999px) {
  .toplvl_tile_enhanced {
    position: relative;
    width: 100% !important;
    height: auto;
    margin-left: 0px;
  }
}

/* The basic CSS to the Item image */
div.toplvl_tile_enhanced div#search_img img {
  width: 100% !important;
}

/* The specific aspects to the 'tile' topper on ENAHNCED 'tiles' - the grey add-on with white text */
.deal_endingsoon_enhanced { /* Gray Top Border / background with Text */
  width: 454px !important;
  height: 30px !important;
  font-size: 18px !important;
}

.deal_startingsoon_enhanced { /* Gray Top Border / background with Text */
  width: 454px !important;
  height: 30px !important;
  font-size: 18px !important;
}

@media (max-width: 999px) {
  #deal_endingsoon.deal_endingsoon_enhanced { /* Gray Top Border / background with Text */
    width: 100% !important;
  }

  .deal_startingsoon_enhanced { /* Gray Top Border / background with Text */
    width: 100% !important;
  }
}

/* The specific aspects to Item Name / Title in the ENHANCED 'tiles'*/
h3.h3_enhanced { /* Item Name or Title */
  font-size: 20px !important;
  width: 450px !important;
}

@media (max-width: 999px) {
  h3.h3_enhanced {
    font-size: 22px !important;
    width: 97% !important;
  }
}

/* The specific aspects to H4 in the ENHANCED 'tiles' */
h4.h4_enhanced {
  font-size: 20px !important;
  width: 340px !important;
}

@media (max-width: 999px) {
  h4.h4_enhanced {
    /*font-size: 18px !important;*/
    width: 97% !important;
  }
}

.toplvl_item h4.h4_enhanced.org_name_page_type {
  width: 340px !important;
}

@media (max-width: 999px) {
  .toplvl_item h4.h4_enhanced.org_name_page_type  {
    /*font-size: 18px !important;*/
    width: 220px !important;
  }
}


/* The specific aspects to Price in the ENHANCED 'tiles' */
#price.price_enhanced { /* e.g. from $12.00, $15.00, $25.00 - Strikethrough */
  font-size: 18px !important;
}

/*@media (max-width: 999px) {
  #price.price_enhanced {
    font-size: 16px !important;
  }
}*/

/* The specific aspects to Deal Price in the ENHANCED 'tiles' */
#dealprice.deal_price_enhanced {
  font-size: 20px !important;
}

@media (max-width: 999px) {
  #dealprice.deal_price_enhanced {
    font-size: 18px !important;
    width: 97%;
  }
}

/* The specific aspects to the Logo in the ENHANCED 'tiles' */
#thumb_logo.thumb_logo_enhanced {
  width: 80px !important;
}

/* The specific aspects to the Logo in the ENHANCED 'tiles' */
#thumb_logo.thumb_logo_enhanced img {
  width: 80px !important;
}
