.product_tab .box-images {
    display: inline-block;
    float: left;
    position: relative;
    width: 250px;
    height: 250px;
    overflow: hidden;
    border-radius: 4px;
    background: #f9f9f9;
    border: 1px solid #e8eaee;
    background: #f7f7f7 url(http://ecommerce.dev.nd.co.th/assets/images/products/image.png) no-repeat;

    background-size: 50%;
    background-position: center;
}

.product_tab .box-images input,
.showMoreImages .box-images-sm input {
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    text-align: center;
    width: 100%;
    opacity: 0;
}

.product_tab .box-images .circle-btn,
.showMoreImages .box-images-sm .circle-btn {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    text-align: center;
    border: 1px solid #e6edf7;
    position: absolute;
    right: 15px;
    bottom: 15px;
    background: #fff;
    box-shadow: 3px 5px 10px rgba(145, 170, 207, 0.39);
    color: #6489be;
    font-size: 1.2em;
}

.showMoreImages {
    margin-top: -2px;
}

.showMoreImages .box-images-sm .circle-btn {
    width: 25px;
    height: 25px;
    line-height: 25px;
    font-size: 11px;
    right: 5px;
    bottom: 7px;
    box-shadow: 1px 2px 4px rgba(145, 170, 207, 0.39);
}

.product_tab .frm-image {
    display: inline-block;
    width: 100%;
}

.product_tab .frm-image>.showMoreImages {
    width: 50%;
    float: right;
    display: inline-block;
}

.showMoreImages ul {
    list-style: none;
}

.showMoreImages ul li {
    display: inline-block;
    float: left;
    width: 31.33333333%;
    height: 80px;
}

.showMoreImages .box-images-sm {
    display: inline-block;
    float: left;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: #f9f9f9;
    border: 1px solid #e8eaee;
    background: #f7f7f7 url(http://ecommerce.dev.nd.co.th/assets/images/products/image.png) no-repeat;
    background-size: 50%;
    background-position: center;
    padding: 1%;
    margin: 1%;
}


.circle-badge,
.circle-btn-addmore > span.badge {
    position: relative;
    display: inline-block;
    min-width: 38px;
    height: 38px;
    line-height: 35px;
    border-radius: 50px;
    margin-right: 2px;
    text-align: center;
    font-weight: 500;
    padding: 0 10px;
    color: #625e5e;
    border: 2px solid #ecebeb;
    background: #f6f6f6;
}

.circle-btn-addmore {
    position: relative;
    display: inline-block;
    min-width: 38px;
    height: 38px;
    line-height: 40px;
    border-radius: 50px;
    text-align: center;
    font-weight: 500;
    padding: 0;
    /* color: #625e5e;
    background: #f6f6f6; */
}

.circle-badge:hover {
    cursor: pointer;
}

.circle-badge.choosen {
    color: #2e80f4;
    border: 2px solid #2e80f4;
    box-shadow: 0 0 6px rgba(70, 127, 207, 0.34);
}

.circle-badge>.badge,
.circle-btn-addmore>.badge {
    font-size: inherit;
    font-weight: inherit;
    padding: 0;
    display: inline-block;
    vertical-align: top;
    line-height: 35px;

}

.circle-badge.ffffff {
    background-color: #ffffff;
}

.circle-badge.cccccc {
    background-color: #cccccc;
}

.circle-badge.333333 {
    background-color: #333333;
}


.circle-btn-addmore > span.badge {
    background: rgba(255, 255, 255, 0.76);
    border-color: #f5f7fb;
    color: #a3b4e6;
    box-shadow: 3px 5px 10px rgba(145, 170, 207, 0.39);
}

.circle-btn-addmore > span.badge:hover {
    cursor: pointer;
    background: rgba(81, 127, 252, 0.92);
    color: #fff;
    box-shadow: 0 3px 7px rgba(81, 127, 252, 0.34);
    border-color: #517ffc;
}

.circle-btn-addmore .contain-data-box {
    position: absolute;
    width: 220px;
    border: 1px solid #f0f0f0;
    background: #fff;
    right: 0;
    text-align: left;
    padding: 10px;
    left: -93px;
    margin: auto;
    z-index: 2;
    border-radius: 10px;
    box-shadow: 0 0 5px #e8e8e8;
    top: calc(100% + 10px);
    display: none;
}

.circle-btn-addmore.added .contain-data-box {
    display: inline-block;
    z-index: 9999;
}

.circle-btn-addmore .contain-data-box:before {
    position: absolute;
    content: "";
    top: -7px;
    left: 0;
    right: 0;
    margin: auto;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

.circle-btn-addmore .contain-data-box .form-group {
    margin-bottom: 0;
}

.circle-btn-addmore .contain-data-box label {
    display: inline-block;
    line-height: 1;
}

.circle-btn-addmore .contain-data-box input {
    line-height: 20px;
    padding: 0;
    width: 110px;
    padding: 0 5px;
    display: inline-block;
    min-width: 30px;
    float: right;
    margin-top: 5px;
    border-radius: 2px;
    box-shadow: none;
    border: 1px solid #ddd;
}

.tag {

    text-align: center;
    padding: 0px 5px 0px 10px;

    border-radius: 6px;
    position: relative;
    user-select: text;
    overflow: hidden;
    line-height: 2;

    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #544b4b;

}

.tag i {
    cursor: pointer;
    margin-left: 8px;
    line-height: inherit;
}

.tag.addmore input {
    border: none;
    background: transparent;
    min-width: 40px;
    width: 80px;
}

.tag.addmore {
    background-color: rgba(172, 201, 244, 0.43);
    color: #0b4eac;
    border: 1px solid #3182f5;
}

.form-group-normalPrice .form-group {
    display: inline-block;
    float: left;
}

.form-group-normalPrice .frm-disPrice,
.form-group-normalPrice .frm-priceCurrency select,
.form-group-memberPrice .frm-disPrice,
.form-group-memberPrice .frm-priceCurrency select {
    margin-top: 27px;
}

.frm-price {
    width: 30%;
}

.content-info .form-group {
    margin-bottom: 30px;
}

.inline-block {
    display: inline-block;
}

.table.table-hover th, .table.table-hover td {
    vertical-align: middle;
}

.table.table-hover td .form-group.frm-nPrice {
    margin-bottom: 0;
}

.frm-image .row > .col-md-6:first-child .dropify-wrapper {
    height: 300px !important;
}

.frm-image .row > .col-md-6:not(:first-child) .dropify-wrapper {
    height: 100px !important;
}
.frm-image .row > .col-md-6:not(:first-child) .dropify-wrapper .file-icon > p,
.frm-image .row > .col-md-6:not(:first-child) .dropify-wrapper .dropify-infos-message {
    display: none;
}
.show-name-tags-th, .show-input-tags-th,.show-name-tags-en, .show-input-tags-en {
    display: inline-block;
}




@import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css);

fieldset, label { margin: 0; padding: 0; }
body{ margin: 20px; }
h1 { font-size: 1.5em; margin: 10px; }

.group-image .dropify-preview {
    padding-top: 35px;
}

.group-image button.btn-remove-image {
    position: absolute;
    top: 20px;
    right: 15px;
    z-index: 9;
    padding: 13px;
    min-width: 20px;
    height: 20px;
}

.group-image button.btn-remove-image > i {
    position: absolute;
    top: 3px;
    right: 3.5px;
    font-size: 20px;
}

.group-image > div.box-image button.dropify-clear {
    display: none;
}

/****** Style Star Rating Widget *****/

.rating { 
  border: none;
  float: left;
}

.rating > input { display: none; } 
.rating > label:before { 
  margin: 0 5px;
  font-size: 2em;
  font-family: FontAwesome;
  display: inline-block;
  content: "\f005";
}

.rating > .half:before { 
  content: "\f089";
  position: absolute;
}

.rating > label { 
  color: #ddd; 
 float: right; 
}

/***** CSS Magic to Highlight Stars on Hover *****/

.rating > input:checked ~ label, /* show gold star when clicked */
.rating:not(:checked) > label:hover, /* hover current star */
.rating:not(:checked) > label:hover ~ label { color: #FFD700;  } /* hover previous stars in list */

.rating > input:checked + label:hover, /* hover current star when changing rating */
.rating > input:checked ~ label:hover,
.rating > label:hover ~ input:checked ~ label, /* lighten current selection */
.rating > input:checked ~ label:hover ~ label { color: #FFED85;  } 