/*** ***
License
This software is published under the BSD license as listed below.

Copyright (c) 2007 pennycms.com

All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

 . Redistributions of source code must retain the above copyright notice,
   this list of conditions and the following disclaimer.

 . Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.

 . Neither the name of the pennycms.com nor the names of its contributors
   may be used to endorse or promote products derived from this software without
   specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*** ***/
body{
/*background:url(../img/bg.jpg) center;*/
background:#fff;
color:#000;
font-size:10pt;
font-family:Microsoft YaHei,MS SONG,SimSun,tahoma,sans-serif;
/*width:1280px;*/
/*min-width:1280px;*/
width:100% !important;
/*
max-width:360px;
min-width:360px;
*/
min-height:100%;

text-align:-moz-center!important;
text-align:center;
padding:0px;
margin:0 auto;
line-height: 150%;
}

#main{text-align:center;margin:0 auto;}
#left{}
#right{background: #f0f0f0;}

.menu{width: 80px; height: 30px; line-height: 30px; background: #666; color: #fff; margin: 5px 0; border: 1px solid #eee; border-left: 3px solid #6c0; cursor: pointer; font-weight: bold; text-align: left; padding: 0 0 0 10px;}

.button{
font-family:Microsoft YaHei,MS SONG,SimSun,tahoma,sans-serif;
-webkit-border-radius: 5px;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #6c0), color-stop(0.7, #3b0));
text-shadow: 0px 0px 10px #393;
min-width: 120px;
height: 36px;
line-height: 100%;
border: 2px solid #fff;
cursor: pointer;
font-weight: bold;
font-size: 10pt;
color: #fff;
padding: 5px 10px;
margin: 5px;
}

.pay_button{
font-family:Microsoft YaHei,MS SONG,SimSun,tahoma,sans-serif;
-webkit-border-radius: 5px;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #6c0), color-stop(0.7, #3b0));
text-shadow: 0px 0px 10px #393;
min-width: 95px;
height: 75px;
line-height: 100%;
border: 2px solid #fff;
cursor: pointer;
font-weight: bold;
font-size: 10pt;
color: #fff;
padding: 5px 10px;
margin: 5px;
}

.label{
padding: 0px 5px;
}

.input_blank_border{
margin: 0px 5px;
padding: 0px 5px;
border-radius: 5px;

border:1px solid #fff;
}
.input_border{
margin: 0px 5px;
padding: 0px 5px;
border-radius: 5px;

border:1px solid #aaa;

-moz-box-shadow:0px 0px 4px #ccc;
-ms-box-shadow:0px 0px 4px #ccc;
-wekit-box-shadow:0px 0px 4px #ccc;
-o-box-shadow:0px 0px 4px #ccc;
box-shadow:0px 0px 4px #ccc;
}
.input{
border:0px;
height: 28px;
line-height: 28px;
font-family:Microsoft YaHei,MS SONG,SimSun,tahoma,sans-serif;
font-size: 12pt;
}

.remind{
padding-left:15px;
text-align:left;
color:#f00;
}

.rm{padding: 0px 5px;}

.tables{border-top:1px solid #999;border-bottom:1px solid #999;}
.column{width:80px;padding:5px; margin:1px;font-size:8pt;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-left:1px solid #ccc;}
.column_text{width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.column_move{width:5px;height:20px;border:1px solid #eee;text-align:center;cursor:move;}
.table_header{height:35px;border:1px solid #ccc;}
.table_row{height:35px;border-left:1px solid #ccc;border-right:1px solid #ccc;border-bottom:1px solid #ccc;}

.menu_top{width: 150px; height: 30px; line-height: 30px; padding: 0 5px; margin: 0 5px; border: 1px solid #eee; border-bottom: 3px solid #6c0; cursor: pointer;}

.w1{width: 60px}
.w2{width: 80px}
.w3{width: 100px}

.row_button{width: 40px; cursor: pointer; -webkit-border-radius: 3px;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #6c0), color-stop(0.7, #3b0));
color: #fff;
padding: 0 10px;
margin: 5px;
}

.icon_add,
.icon_sub,
.icon_image,
.icon_down,
.icon_up,
.icon_download,
.icon_upload,
.icon_play,
.icon_date,
.icon_time,
.icon_delete,
.icon_modify,
.icon_selected_false,
.icon_selected_true{width:22px;height:22px;cursor:pointer;line-height:22px;}

.icon_add{background:url(../img/icon_add.png) center no-repeat;}
.icon_sub{background:url(../img/icon_sub.png) center no-repeat;}
.icon_image{background:url(../img/icon_image.png) center no-repeat;}
.icon_down{background:url(../img/icon_down.png) center no-repeat;}
.icon_up{background:url(../img/icon_up.png) center no-repeat;}
.icon_download{background:url(../img/icon_download.png) center no-repeat;}
.icon_upload{background:url(../img/icon_upload.png) center no-repeat;}
.icon_play{background:url(../img/icon_play.png) center no-repeat;}
.icon_date{background:url(../img/icon_date.png) center no-repeat;}
.icon_time{background:url(../img/icon_time.png) center no-repeat;}
.icon_delete{background:url(../img/icon_delete.png) center no-repeat;}
.icon_modify{background:url(../img/icon_modify.png) center no-repeat;}
.icon_trash{background:url(../img/icon_trash.png) center no-repeat;}
.icon_selected_false{background:url(../img/icon_selected_false.png) center no-repeat;}
.icon_selected_true{background:url(../img/icon_selected_true.png) center no-repeat;}
.icon_buy{background:url(../img/buy.png?1) center no-repeat;width:30px;height:30px;background-size:30px;}
.icon_buy_cancel{background:url(../img/buy_cancel.png) center no-repeat;width:30px;height:30px;background-size:30px;}
.icon_add_buy{background:url(../img/add.png?1) center no-repeat;width:36px;height:36px;background-size:36px;}
.icon_payment{background:url(../img/icon_payment.png) center no-repeat;width:36px;height:36px;background-size:36px;}
.icon_scan{background:url(../img/icon_scan.png) center no-repeat;width:30px;height:30px;background-size:30px;}
.icon_tags{background:url(../img/icon_tags.png) center no-repeat;width:30px;height:30px;background-size:30px;}
.icon_find{background:url(../img/icon_find.png) center no-repeat;width:30px;height:30px;background-size:30px;}
.icon_orders{background:url(../img/icon_orders.png) center no-repeat;width:30px;height:30px;background-size:30px;}
.icon_add_order{background:url(../img/icon_add_order.png) center no-repeat;width:30px;height:30px;background-size:30px;}
.icon_publish{background:url(../img/icon_publish.png) center no-repeat;background-size:100%;}
.icon_remove{background:url(../img/icon_remove.png) center no-repeat;width:30px;height:30px;background-size:30px;}
.icon_check_unit_price{background:url(../img/icon_check_unit_price.png) center no-repeat;width:30px;height:30px;background-size:30px;}

.input_icon{height: 28px;line-height: 28px;}

.first_page_button,
.prev_page_button,
.next_page_button,
.last_page_button,
.page_this_button,
.page_button{padding:5px 10px;margin:5px;cursor:pointer;border:1px solid #aaa;color:#666;}
.page_button{text-decoration:underline;border:1px solid #ccc;color:#aaa;}
.page_input{padding:5px 0px;margin:5px 0px;border:1px solid #eee;border-bottom:1px solid #aaa;color:#666;text-align:center;}

.radio,
.radioed{
height:28px;line-height:28px;margin:0px 10px; 0px 5px;padding:0px 5px 0px 20px;cursor:pointer;
}
.radio{background:url(../img/icon_radio_false.png) center left no-repeat;}
.radioed{background:url(../img/icon_radio_true.png) center left no-repeat;}
.checkbox,
.checkboxed{
height: 28px;line-height:28px;margin:0px 10px; 0px 5px;padding:0px 5px 0px 20px;cursor:pointer;
}
.checkbox{background:url(../img/icon_selected_false.png) center left no-repeat;}
.checkboxed{background:url(../img/icon_selected_true.png) center left no-repeat;}

.select_items{background:#f6f6f6;width:100%;}
.select_item{width:100%;overflow:hidden;}
.select_item_text{height:20px;padding:10px;text-align:left;}

.selects_items{background:#f6f6f6;width:100%;}
.selects_item{width:100%;overflow:hidden;}
.selects_item_text{padding:5px;}

.suggest_list{background:#fff;padding:5px;margin:5px;border:1px solid #ccc;}
.suggest_item{background:#fff;padding:5px;margin:5px;text-align:left;}


.module_trees_selector{background:#fcfcfc;width:100%;}

.module_tree_selector{background:#fcfcfc;width:100%;}

.form_win{
position:absolute;
border:5px solid #bbb;
background:#fff;
left:0;
top:0;
z-index:9000;
margin:0;
padding:1px;
display:none;
}

.form_win_title{
width:100%;
text-align:right;
cursor:move;
background: #f0f0f0;
}


.icon_button{
font-size:2pt;
height:20px;
width:20px;
cursor:pointer
}

.icon_space{
font-size:2pt;
height:20px;
width:20px;
}

.up_icon{background:url(../img/cms_icon_up.gif) no-repeat center;}
.down_icon{background:url(../img/cms_icon_down.gif) no-repeat center;}

.hide_icon{background:url(../img/cms_icon_hide.gif) no-repeat center;}
.zoom_icon{background:url(../img/cms_icon_zoom.gif) no-repeat center;}
.close_icon{background:url(../img/cms_icon_close.gif) no-repeat center;}


.big_image .image_item{width:150px;border:0px solid #999;background:#fff;margin:0 auto;}
.big_image .image_item .image_item_div{border:1px solid #ccc;background:#eee;padding:4px;margin:4px;height:140px;}
.big_image .image_item .image_item_img{width:140px;height:140px;}

.image_items{width:300px;border:0px solid #999;background:#fff;margin:0 auto;}
.image_items .image_item_div{border:1px solid #ccc;background:#eee;padding:4px;margin:4px;height:40px;}
.image_items .image_item_img{width:40px;height:40px;}

.image_item{width:70px;border:0px solid #999;background:#fff;margin:0 auto;}
.image_item .image_item_div{border:1px solid #ccc;background:#eee;padding:4px;margin:4px;height:40px;}
.image_item .image_item_img{width:40px;height:40px;}

.photo_items{width:300px;border:0px solid #999;background:#fff;margin:0 auto;}
.photo_items_div{border:1px solid #ccc;background:#eee;padding:5px;margin:5px;}
.photo_items_img{width:40px;height:40px;padding:3px;}
.photo_items_append{width:40px;height:40px;background:#fff;line-height:40px;}

.page_this,
.page{border-radius:15px;width:30px;height:30px;line-height:30px;border:1px #aaa solid;margin:3px;color:#999;}
.page_this{text-decoration:underline;color:#333;}



.button_b0,
.button_b1,
.button_b2,
.button_r0,
.button_r1,
.button_r2{border-radius:10px;padding:0 10px;margin:3px;cursor: pointer;}

.button_b0{background:none;color:#09f;border:1px solid #fff;}
.button_b1{background:none;color:#09f;border:1px solid #09f;}
.button_b2{background:#09f;color:#fff;border:1px solid #09f;}
.button_r0{background:none;color:#f00;border:1px solid #fff;}
.button_r1{background:none;color:#f00;border:1px solid #f00;}
.button_r2{background:#f00;color:#fff;border:1px solid #f00;}

.status_color_create{color:#f93;}
.status_color_confirm{color:#09f;}
.status_color_cancel{color:#09f;}
.status_color_finished{color:#09f;}
.status_color_false{color:#999;}

.status_create{background:#fc3;color:#fff;}
.status_confirm{background:#09f;color:#fff;}
.status_cancel{background:#f00;color:#fff;}
.status_finished{background:#390;color:#fff;}


.shake_animation{animation:shake_keyframe .6s ease 0s alternate forwards;}
@keyframes shake_keyframe {
0%{transform:translateX(0);}
33%{transform:translateX(10px);}
66%{transform:translateX(-10px);}
100%{transform:translateX(0);}
}
