
#main-diy { position: relative;  }
/*main frame for diy designer*/
#main-diy { padding: 20px 0; min-height: 600px;}
#main-diy-view { min-height: 600px;}


/*定制面版*/
.panel-design { border: #d7d7d7 1px solid; background: #fff; padding: 20px 27px; color: #454545; }
.panel-design>h2 { margin:0 0 10px 0; font-size: 16px; line-height: 30px; }
.panel-design>.nav-tabs { border: 1px solid #ddd; display: table; width: 100%; border-radius: 5px; margin-bottom: 10px; padding-left: 0;}
.panel-design>.nav-tabs li { display: table-cell; float: none; text-align: center; margin: 0;}
.panel-design>.nav-tabs li a { border: 0; margin: 0; color: #454545; display: block; padding: 10px 0;}
.panel-design>.nav-tabs>li.active>a,
.panel-design.nav-tabs>li.active>a:focus,
.panel-design.nav-tabs>li.active>a:hover { border: 0; background: #eee; border-radius: 0; color: #000;}

.panel-design>div>h3 { margin:0 0 5px 0; font-size: 14px; line-height: 30px; }
.list-group-pattern { border: 0;  }
.list-group-pattern .list-group-item { padding: 8px 15px; font-size: 13px; border: #eee 1px solid; margin-bottom: 5px; display: block;}
.list-group-pattern .list-group-item.active { background: #eee ; color: #000;}
.list-group-pattern .list-group-item.active:hover {border: #eee 1px solid;}
.list-group-pattern .list-group-item .fr { float: right; color: #666; font-size: 12px;}

.list-color { margin-bottom: 10px;}
.list-color a { display: inline-block; width: 30px; height: 30px; border: #ddd 1px solid; margin-bottom: 4px; border-radius: 3px; vertical-align: top; margin-right: 4px;}
.list-color a span {visibility: hidden;}
.list-color a.active { background-image: url("../images/icon_checked.png?v=1"); background-position: center; background-repeat: no-repeat }

.panel-design-base { border: #eee 1px solid; margin-bottom: 20px;}
.panel-design-base .panel-heading {padding: 15px 15px 5px 15px;}
.panel-design-base .panel-body { padding: 5px 15px;}
.panel-design-base select.select-fabric { width: 100%; box-sizing: border-box; border: #eee 1px solid; padding: 10px;}
.uk-form .panel-design-base .form-control-text { border-width: 0; border-bottom-width: 1px; margin-bottom: 10px;  height: 2em;}

.garment-workspace {  -webkit-user-select: none;  -moz-user-select: none;  -ms-user-select: none;  user-select: none;  position: relative;  -webkit-transition: none;  -moz-transition: none;  transition: none;  }
.garment-wrapper {  width: 400px;  padding: 20px 40px;  height: 450px;  overflow: hidden;  background: #fff;  position: absolute;  left: 185px;  top: 0;  -webkit-transition: none;  -moz-transition: none;  transition: none;  box-shadow: 0 5px 8px rgba(0,0,0,0.1);  }
#design-front, #design-back {  height: 405px;  }
.garment-angle-title {  position: absolute;  bottom: 20px;  font-size: 20px;  text-transform: uppercase;  text-align: center;  width: 100px;  margin-left: -50px;  left: 50%;  }
/*#design-back + .garment-angle-title {  left: 172px;  }*/
.switch-garment-aspect {  position: absolute;  top: 0;  left: 15px;  width: 120px;  height: 120px;  padding: 10px;  background: #fff;  }
.switch-garment-aspect .garment-angle-title { display: none;}
.switch-garment-aspect:after { display: inline-block; background: url("../images/icon_flip.png"); width: 24px; height: 24px; position: absolute; right: 2px; top: 2px; content: ' ';}
.switch-preview-front {  position: absolute;  top: 0;  left: 0px;  width: 380px;  height: 420px;  padding: 10px;  background: #fff;  }
.switch-preview-front .garment-angle-title {  top: 380px;  left:150px;  }
.switch-preview-back {  position: absolute;  top: 0px;  left: 400px;  width: 380px; height: 420px;  padding: 10px;  background: #fff;  }
.switch-preview-back .garment-angle-title {  top: 380px;  }
.preview-pattern{  }
.wh40 {  max-width: 40px;  max-height: 40px;  }
.color {  height: 20px;  width: 25px;  border: 1px solid #aaa;  }
.clear{  clear:both;  }
.preview-pattern .table-striped>tbody>tr:nth-of-type(even),.basic .table-striped>tbody>tr:nth-of-type(even) {  background-color: #fff;  }
.garment-workspace svg {  width: 100%;  height: 100%;  }
.basic{  clear:both;  }
.cart{  float:right;  margin-bottom:10px;  background-color:#de1107;  border-color:#de1107;  }
.send{  margin-top:30px;  background-color:#de1107;  border-color:#de1107;  }
#shipping-new label{  font-weight:400;  }
#shipping-new .form-control{  font-size:12px;  }
#shipping-existing .form-control{  font-size:12px;  }
.logo-stage-wrapper {  min-height: 76px;  border-bottom: 1px dashed #ddd;  -webkit-border-radius: 10px;  -moz-border-radius: 10px;  border-radius: 5px;  margin-bottom: 2px;  }
.logo-stage-wrapper a span{  display: block;  text-align: center;  }
.logo-stage {  width: 70px;  max-width: 100%;  height: auto;  z-index: 999;  margin: 10px 8px;  cursor: move;  vertical-align: middle;  }

.upload-file { padding: 5px 15px;}
.upload-file .btn { position: relative; float: right; display: inline-block; border-radius: 3px; padding: 5px 10px; line-height: 1.4em; border: #ccc 1px solid;}
.upload-file .btn input { position: absolute; visibility: hidden; left: -9999px;}
.upload-file .accepted-filetypes { line-height: 26px; padding: 5px 0; color: #999; font-size: 12px;}

.panel-design-text .form { padding: 20px;}
.panel-design-text .control-label { float: left; width:20%; display: inline-block; line-height: 30px;}
.panel-design-text .form-control { height: 30px;}
.panel-design-text .form-control-text { border: 0; border-bottom: 1px solid #ddd; width: 100%; margin-left: 0; height: 50px; line-height: 50px; outline: none !important; box-shadow: none !important; padding-left: 5px; }
.panel-design-text .form-control-text:active,
.panel-design-text .form-control-text:hover { outline: none; box-shadow: none;}
.panel-design-text .panel-footer { background: #fff; text-align: right; padding: 7px 15px; border-top: 1px dashed #ddd}

/*!
 * jQuery UI Slider 1.8.24
 *
 * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Slider#theming
 */
.ui-slider { position: relative; text-align: left; background: #ddd;}
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }

.ui-slider-horizontal { height: .8em; }
.ui-slider-horizontal .ui-slider-handle { top: -.2em; margin-left: -.6em; border:#ccc 1px solid; background: #fff; }
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
.ui-slider-horizontal .ui-slider-range-max { right: 0; }

.ui-slider-vertical { width: .8em; height: 100px; }
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
.ui-slider-vertical .ui-slider-range-max { top: 0; }
.ui-slider {  width: 160px;  margin-right: 10px;  display: inline-block;  }

.slider-fontsizes-container { padding: 10px 0;}

.block-command { background: #de1107; margin: 0 -27px;}
.block-command a { color: #fff; display: block; text-align: center; padding: 15px 0 ;}
.step-command { text-align: center; padding: 10px 0;}
.step-command a { display: inline-block; padding: 0 30px;}

.ui-loading .ui-loader {  display: block;  }
.ui-loader .ui-icon-loading {  margin: 1em auto;  filter: alpha(opacity=75);  opacity: .75;  background-color: #000; display: block;  width: 2.75em;  height: 2.75em;  padding: .0625em;  -webkit-border-radius: 2.25em;  border-radius: 2.25em;  background: url(../images/ajax-loader.gif);  background-size: 2.875em 2.875em;  }
.ui-loader h1 {  font-size: 1em;  margin: 2em 0 1em;  text-align: center;  color: #000;  text-shadow: 0 1px 0 #111;  display: block;  font-weight: bold;  }
.ui-loader h1.slim {  font-weight: normal;  margin-top: 1em;  }
span.file {  display: inline-block; background: no-repeat;  background-size: 50px 50px;  width: 60px;  height: 60px;  padding: 10px;  text-align: center;  vertical-align: bottom;  }
span.file-ai { background-image: url("../images/ai.png");}
span.file-ps { background-image: url("../images/ps.png");}

/*for file upload*/
.icon-file { display: inline-block; width: 64px; height: 64px; background: url("../images/icon_file.png") no-repeat; }
.panel-design-base a { display: inline-block; margin: 0 4px 4px 0; text-align: center}

.list-group-logo .list-group-item {  border-bottom: #ddd 1px solid;  height: 50px;  margin-bottom: 0;  }
.list-group-logo .list-group-item .logo { width: 50px; height: 50px; float: left;}
.list-group-logo .list-group-item .logo img { width: 100%; height: 100%;}
.list-group-logo .list-group-item .code {height: 50px; text-align: left; float: left; padding: 0 0 0 10px;}
.list-group-logo .list-group-item .code strong {font-size: 23px; line-height: 30px;}
.list-group-logo .list-group-item .code span {font-size: 13px; line-height: 20px; display: block; opacity: 0.7; font-weight: normal;}
.list-group-logo .upload-file { padding:5px 0;}
.list-group-logo .list-group-item .form-control { margin-left: 0; width: 80px;}

.widget-header { line-height: 2em;  margin-bottom: .5em;}
.panel-command { height: 60px; padding: 0; margin-bottom: 10px;}
.panel-command label { padding: 0 15px; line-height: 55px; display: inline-block;}
.panel-command label span { font-size: 23px;}
.panel-command .btn-send { padding: 15px 0; border-radius: 0 5px 5px 0;}
.panel-command-fix { position: fixed; bottom: 0; background: #fff; top: auto; width: 100%; left: 0; border-width:1px 0 0; z-index: 10001;}
.panel-command-fix>.uk-grid { width: 1200px; margin: 0 auto;}
.panel-command-fix .btn-send { border-radius: 0; font-size: 22px; font-family: ProximaNova,Arial,Sans-serif;}

    /*选择器*/
.panel-property-selector {  padding: 10px;  display: none;  }
.panel-property-selector label { display: inline-block; padding: 5px; font-weight: normal; border: #ddd 1px solid; border-radius: 0px; margin: 0 5px 5px 0;}
.panel-property-selector label input { margin-right: 5px;}
.panel-property-selector .footer { width: 100%; padding: 10px; position: absolute; bottom: 0; left: 0; text-align: right; background: #f0f0f0; }

/*quantity input gird*/
.uk-table-quantity { border: #ddd 1px solid; width: auto; margin-bottom: 0;}
.uk-table-quantity>tbody>tr>td { padding: 2px 5px; border-right: #eee 1px solid;}
.uk-table-quantity>thead>tr>th,
.uk-table-quantity>tbody>tr>th{ padding: 8px 5px;  border-right: #eee 1px solid;}
.uk-table-quantity>tbody>tr>td input[type=text] { width: 40px; padding: 5px; border-radius: 1px;}
.uk-table-quantity>caption { min-width: 300px;}

/*选项控制器*/
.ui-suggest { position: relative; display: inline-block;}
.option-suggest-container { position: absolute; left: 0; top: 24px; border-radius: 5px; border: #ccc 1px solid; width: 250px; padding: 5px 10px 10px 10px; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,0.3);}

.list-group-item {
    position: relative;
    display: block;
    padding: 10px 15px;
    margin-bottom: -1px;
    background-color: #fff;
}

.list-group-item:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.list-group-item:last-child {
    margin-bottom: 0;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

#panel-design-preview-skin { background: #fff; text-align: center;box-shadow: 0 5px 8px rgba(0,0,0,0.1); padding: 20px;}

.checkout-container .uk-thumbnail { width: 100px;  height: 100px; vertical-align:  top; margin-right: 5px; position: relative;}
.checkout-container .uk-thumbnail i { position: absolute; z-index: 1; right: -5px; top: -5px; width: 14px; height: 14px; border-radius: 8px; border: #999 1px solid; background: #fff; line-height: 14px; font-style: normal; text-align: center;}
.checkout-container .uk-thumbnail img { max-width: 100%; max-height: 100%;}

.attachment-list { padding: 10px 0;}
.attachment-list .attachment { display: inline-block; text-align: center; position: relative; width: 90px; border-radius: 4px; vertical-align: top; word-break: break-all; height: auto; background: url("../images/icon_attachment2.png") no-repeat 50% 5px; margin-right: 5px;}
.attachment-list .attachment i { position: absolute; z-index: 1; right: -5px; top: -5px; width: 10px; height: 10px; border-radius: 6px; border: #999 1px solid; background: #fff; line-height: 10px; font-style: normal; text-align: center;}
.attachment-list .attachment a { width: 100%; height: 48px; display: inline-block;}

/*sortable*/
.uk-list-sortable li { cursor: move;}
.uk-list-sortable li.sortable-chosen { opacity: 0.4; background-color: #F4E2C9;}

.panel-order-quantity { overflow-x: auto; }
.panel-order-quantity .th-tools { position: relative;}
.panel-order-quantity .th-tools .tools { display: none; position: absolute; width: 100%; height: 100%;left: 0; top: 0; color: #fff;}
.panel-order-quantity .th-tools .tools i { display: inline-block; cursor: pointer; background: rgba(0,0,0,0.6); font-style: normal; font-size: 16px; font-weight: normal;  width: 20px; height: 20px; line-height: 20px; text-align: center;}
.panel-order-quantity .th-tools .tools i:first-child { float: left;}
.panel-order-quantity .th-tools .tools i:last-child { float: right;}
.panel-order-quantity .th-tools:hover .tools { display: block;}

/*position-logo-list*/
.position-logo-list>.uk-table td { padding: 5px 2px;}
.position-logo-list select { padding: 4px 2px; }
.position-logo-list .upload-file { margin-top: 0;}

/*前进后台*/
.command-back-next .uk-button { line-height: 26px; padding: 7px 0;}
.command-back-next .uk-button-large { border-radius: 3px;}
.command-back-next .uk-button-cancel { background: #fff; border-color: #999; }
.command-back-next .uk-button i { display: inline-block; line-height: 26px; vertical-align: top}