/** 
 * Stylesheet for the user profile shop
 *
 * @package Girls Games 123
 * @copyright 2014-2015 Aceviral.com
 * @author Simon Pearson <simon.php@aceviral.com>
 * 
 * Last Edited: 16/03/2015
 */

/* Common shop styles */
#shop_container {
  width: 750px; 
  height: 476px; 
}

#shop_interface {
  width: 100%;
  height: 100%;
  float: left;
  background: #fcaeba;
}

#shop_exit {
  width: 140px; 
  height: 20px; 
  float: left; 
  margin: 5px 0px 0px 10px; 
  padding: 0px;    
  cursor: pointer;
}

#shop_exit img {
  height: 30px;
  float: left;
}

#shop_heading {
  width: 429px; 
  height: 20px; 
  float: left; 
  margin: 10px 0px 0px 0px; 
  padding: 0px 2px;  
  color: #660d44;    
}

#shop_heading h2 {
  margin: 0px;
  padding: 0px;  
  text-align: center;
}

#shop_gems {
  width: 140px; 
  height: 20px; 
  float: right; 
  margin: 10px 10px 0px 0px; 
  padding: 0px 3px;  
  font-size: 18px;
  text-align: right;   
  border-radius: 5px;
  background: #fff;     
}

#shop_gems img {
  height: 15px;
  margin-top: 3px;
}

#shop_left_scroll {
  float: left; 
  width: 60px; 
  height: 60px;
  cursor: pointer;
  background: url('../../../assets/shop/interface/left_arrow.png');   
}

#shop_left_scroll:hover{
  background: url('../../../assets/shop/interface/left_arrow_onhover.png');     
}

#shop_right_scroll {
  float: right; 
  width: 60px; 
  height: 60px; 
  cursor: pointer;  
  background: url('../../../assets/shop/interface/right_arrow.png');     
}

#shop_right_scroll:hover{
  background: url('../../../assets/shop/interface/right_arrow_onhover.png');     
}

.shop_character {
  position: absolute;
  cursor: pointer;
}

.shop_character_speech {
  display: none;   
  position: absolute; 
  border: solid 1px #000; 
  background: #fff; 
  padding: 3px;
}

.flip {
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
}

/* Mall Exterior styles */
#mall_exterior {
  width: 724px;
  height: 420px;
  float: left;
  margin: 10px 10px 5px 10px;
  border-radius: 5px;
  border: solid 3px #fff;  
  cursor: pointer;
  background: url('../../../assets/shop/mall/mall_door_closed.png'); 
  position: relative;  
  overflow: hidden;
}

#mall_exterior:hover {
  background: url('../../../assets/shop/mall/mall_door_open.png?1'); 
}

/* Elevator styles */
#elevator_interior {
  width: 724px;
  height: 420px;
  float: left;
  margin: 10px 10px 5px 10px;
  border-radius: 5px;
  border: solid 3px #fff;  
  background: url('../../../assets/shop/elevator/panel.png');   
  position: relative;
}

#elevator_panel {
  width: 180px;
  height: 298px;
  position: absolute;
  top: 64px;
  left: 275px;
}
  
#elevator_panel table {
  width: 100%;
}
  
.elevator_button {
  width: 70px;
  height: 70px;
  cursor: pointer;  
}

#elevator_floor_0 { background: url('../../../assets/shop/elevator/floor_0.png'); }
#elevator_floor_0:hover { background: url('../../../assets/shop/elevator/floor_0_hover.png'); }

#elevator_floor_1 { background: url('../../../assets/shop/elevator/floor_1.png'); }
#elevator_floor_1:hover { background: url('../../../assets/shop/elevator/floor_1_hover.png'); }

#elevator_floor_2 { background: url('../../../assets/shop/elevator/floor_2.png'); }
#elevator_floor_2:hover { background: url('../../../assets/shop/elevator/floor_2_hover.png'); }

#elevator_floor_3 { background: url('../../../assets/shop/elevator/floor_3.png'); }
#elevator_floor_3:hover { background: url('../../../assets/shop/elevator/floor_3_hover.png'); }

/* Shop Floor styles */
#shops_outer {
  width: 724px;
  height: 420px;
  float: left;
  margin: 10px 10px 5px 10px;
  border-radius: 5px;
  border: solid 3px #fff;
  overflow: hidden;
}

#shops_inner {
  width: 2000px;
  height: 310px;
  float: left;    
  background-color: beige;  
  position: relative;    
}

#shops_inner .shop {
  cursor: pointer;   
  position: absolute;
  bottom: 0;
}

#flooring {
  width: 2000px;
  height: 110px; 
  float: left; 
  background-color: burlywood;
}

#shop_floor_scroll {
  width: 724px;
  height: auto;
  float: left;
  clear: both;
  margin: 355px 0px 0px 0px;        
  position: absolute;
}

#shop_floor_scroll #shop_left_scroll {
  margin-left: 5px;
}

#shop_floor_scroll #shop_right_scroll {
  margin-right: 5px;
}

/* Shop interior styles */
#shop_interior {
  width: 724px;
  height: 360px;
  float: left;
  margin: 10px 10px 5px 10px;
  border-radius: 5px;      
  border: solid 3px #fff;    
  position: relative;      
}  

#shop_interior .shop_item {
  position: absolute;
  border-radius: 10px;      
  border: solid 1px #fff;
  cursor: pointer;
}

#shop_interior .shop_item:hover {
  background: rgba(255, 255, 255, 0.5);
}

#shop_interior .shop_item_details {
  display: none;
}

#shop_bottom_panel {
  width: 729px;
  height: auto;
  float: left;
  clear: both;
  margin: 0px 10px;      
}

#bought_items_outer {
  width: 578px;
  height: 60px;
  float: left;
  margin: 0px 13px;    
  overflow: hidden;   
}  

#bought_items_inner {
  width: 1000px;
  float: left;
  position: relative;    
}

#bought_items_inner .bought_item {
  width: 64px;
  height: 55px;
  float: left;
  margin: 0px 2px;
  border: solid 2px #fff;
  border-radius: 5px;
  background: #ffcfff;
  text-align: center;
}

#bought_items_inner .bought_item img {
  width: 50px;
  height: 50px;
}

#bought_items_inner .owned_item_description {
  width: 64px;
  height: 55px;
  float: left;
  margin: 0px 2px;
  border: solid 2px #fff;
  border-radius: 5px;
  background: #ffcfff;
  text-align: center;
}

#bought_items_inner .owned_item_description span {
  display: block;
  margin-top: 6px;
  font-weight: bold;
}

#shop_departments {
  width: auto; 
  float: left; 
  border: solid 1px #fff;
  border-bottom-right-radius: 5px;
  background: #c80064;
  z-index: 5;
}

#shop_departments .department {
  width: 30px;
  height: 30px;
  float: left; 
  background: #fff; 
  margin: 4px; 
  cursor: pointer;  
  z-index: 10;  
}

#shop_departments .department_active {
  width: 30px;
  height: 30px;
  float: left; 
  background: #660d44;
  margin: 4px; 
  cursor: pointer;  
  z-index: 10;  
}

/* Shop item popup styles */
#shop_mask {
  display: none;  
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #FFFFFF;
  opacity: 0.75;
  z-index: 2;
}  

#shop_popup {
  display: none;  
  float: left;  
  position: absolute;
  top: 20%;
  left: 30%;
  right: 30%;

  background-color: #fff3ff;
  border-radius: 5px;
  border: solid 3px #660d44;
  box-shadow: 15px 15px 25px #000000;
  z-index: 10;
}

#shop_popup .shop_popup_close {
  width: 16px;
  height: 16px;
  float: right;
  border: solid 1px;
}

#shop_popup .item_description_outer {
  width: 100%; 
  height: auto;
  float: left;
}

#shop_popup .item_description_inner {
  float: left;
  margin: 0px 10px;
}

#shop_popup h3 {
  width: 100%;
  float: left;
  margin: 0px 0px 10px 0px;
  font-size: 24px;
  text-align: center;
}  

#shop_popup .item_image {
  width: 100%;   
  float: left;
  text-align: center;
  margin-bottom: 5px;
}

#shop_popup .item_image img {
  max-height: 100px;
  background: #ffcfff;
  border-radius: 5px;
}

#shop_popup .item_gem_cost, #shop_popup .item_current_gems {
  width: 100%; 
  float: left; 
  font-size: 16px;
}

#shop_popup .item_gem_cost label, #shop_popup .item_current_gems label {
  width: 50%;
  float: left;
  text-align: right;
  vertical-align: middle;
  font-weight: bold;
  color: #660d44;
}

#shop_popup .item_gem_cost span, #shop_popup .item_current_gems span {
  float: right;
  text-align: right;
  font-weight: bold;
  color: #660d44;
}

#shop_popup .item_gem_cost span img, #shop_popup .item_current_gems span img {
  height: 15px; 
  float: right;
}

#shop_popup .shop_buy_button_active {
  width: 100%;  
  float: left; 
  color: #fff3ff; 
  padding: 5px 0px; 
  font-size: 24px; 
  text-align: center; 
  margin: 10px 0px;
  border-radius: 5px;  
  cursor: pointer;
  
  background: #5CDB50; /* Old browsers */
  background: -moz-linear-gradient(top, #5CDB50 0%, #5CDB50 50%, #2BB720 50%, #2BB720 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5CDB50), color-stop(50%,#5CDB50), color-stop(50%,#2BB720), color-stop(100%,#2BB720)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #5CDB50 0%,#5CDB50 50%,#2BB720 50%,#2BB720 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #5CDB50 0%,#5CDB50 50%,#2BB720 50%,#2BB720 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #5CDB50 0%,#5CDB50 50%,#2BB720 50%,#2BB720 100%); /* IE10+ */
  background: linear-gradient(to bottom, #5CDB50 0%,#5CDB50 50%,#2BB720 50%,#2BB720 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5CDB50', endColorstr='#2BB720',GradientType=0 ); /* IE6-9 */  
}

#shop_popup .shop_buy_button_active:hover {
  background: #2BB720;
}

#shop_popup .shop_buy_button_disabled {
  width: 100%;  
  float: left; 
  color: #fff3ff; 
  padding: 5px 0px; 
  font-size: 24px; 
  text-align: center; 
  margin: 10px 0px;
  border-radius: 5px;  
  
  background: #626262; /* Old browsers */
  background: -moz-linear-gradient(top, #626262 0%, #626262 50%, #545454 50%, #545454 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#626262), color-stop(50%,#626262), color-stop(50%,#545454), color-stop(100%,#545454)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #626262 0%,#626262 50%,#545454 50%,#545454 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #626262 0%,#626262 50%,#545454 50%,#545454 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #626262 0%,#626262 50%,#545454 50%,#545454 100%); /* IE10+ */
  background: linear-gradient(to bottom, #626262 0%,#626262 50%,#545454 50%,#545454 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#626262', endColorstr='#545454',GradientType=0 ); /* IE6-9 */
}
