@import url(luna_core.css);
body {
    color: #4c4c4c;
}
.chkbox {
  float: left;
  margin-top: 5px;
  margin-right: 5px;
  display: none;
}
.search-filter {
    background: #e2e1eb;
    padding: 10px;
    margin-bottom: 10px;
}
select {
    background: #fff;
}

.ftable {
  margin: 0;
}

.ftable input, .ftable select {
  z-index: 1000;
}

.ftable .number {
    text-align: center;
}
.ftable .quan {
    width: 30px;
}
.ftable .price {
    width: 60px;
}
.ftable .date,
.ftable .design {
  width: 130px;
  text-align: center;
}
.ftable .design select {
  width: 100%;
}
.ftable .design .text {
  width: 97%;
  margin-top: 5px;
}
.ftable .photos {
  position: relative;
  width: 30px;
  height: 30px;
  display: block;
}
.ftable .size {
    width: 150px;
    text-align: left;
    line-height: 20px;
}
.ftable .size input, .ftable .size label {
    float: left;
}
.ftable .size input {
    margin: 0 4px 0 0;
}
.ftable .size label {
    padding-top: 2px;
}
.ftable .type {
  font-size: 11px;
  font-weight: bold;
  width: 20px;
  text-align: center;
}
.ftable.grtable .type {
  width: 60px;
}
.custom-radio {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.custom-radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 35px;
  width: 35px;
  border: 1px solid #57594b;
  margin-top: 2px;
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.custom-radio input:checked ~ .checkmark:after {
  display: block;
}
.custom-radio .checkmark:after {
  left: 12px;
  top: 5px;
  width: 8px;
  height: 15px;
  border: solid;
  border-width: 0 4px 4px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.ftable .origin {
  width: 50px;
}
.ftable .title {
  font-size: 13px;
  padding: 0 5px;
}
.ftable .title img, .ftable .title span {
  float: left;
}
.ftable.grtable .title img{
  width: auto;
  max-width: 70px;
  height: 70px;
  margin-right: 5px;
  border: 1px solid;
  padding: 5px;
}
.ftable .title span {
  padding-top: 2px;
  padding-left: 2px;
}
.ftable.grtable .title span, .ftable.grtable .title textarea {
  width: calc(100% - 250px);
  margin-bottom: 3px;
  float: right;
  margin-right: 5px;
  padding-right: 0;
  box-sizing: border-box;
}
.ftable.grtable .title span {
  padding: 0;
}
.ftable.grtable .title span input {
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
  border: 1px solid #57594b;
}
.ftable.grtable .title textarea {
  padding: 0 10px;
  font-size: 14px;
}
.ftable.grtable input.text.shorttext {
  width: 80px;
  height: 80px;
  text-align: center;
  font-size: 30px;
  padding: 0;
  border: 2px solid #57594b;
}
.ftable.grtable input.text.tinytext {
  width: 40px;
  height: 40px;
  text-align: center;
  font-size: 30px;
  padding: 0;
}
.ftable .size input {
    margin: 4px 0 0 0;
}
.ftable .size input, .ftable .size label {
    float: left;
}
.ftable .size label {
    margin: 0px 10px 0 5px;
}
.ftable .size label,
.ftable .size input {
  float:left;
}
.ftable .order {
    width: 50px;
}
.ftable th {
   font-size: 12px;
}
.ftable th, .ftable td {
    border: 1px solid #ccc;
}
.ftable label {
  cursor: pointer;
}
.ftable .title img, .ftable .title span {
  vertical-align: middle;
}

.fileupload {
  position: relative;
  overflow: hidden;
  display: block;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border: 1px solid #ccc;
}

.hide {
   display: none;
}

.fileupload .upload {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  -moz-opacity: 0;
  filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);
  z-index: 1000;
  cursor: pointer;
}
.upload-btn-wrapper {
  position: relative;
  overflow: hidden;
  float: left;
  margin-right: 5px;
}
.upload-btn-wrapper .btn {
  border: 2px solid gray;
  background-color: transparent;
  height: 60px;
  width: 60px;
  font-size: 16px;
  font-weight: bold;
}
.upload-btn-wrapper input[type=file] {
  font-size: 100px;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}
.photos .delete {
  position: absolute;
  background: url(images/delete.png) no-repeat;
  width: 10px;
  height: 10px;
  text-indent: -9999px;
  z-index: 9999;
  top: -2px;
  right: -6px;
}

.photos .fileupload {
  float: left;
}

.photos .fileupload img {
  width: 100%;
  height: 100%;
}

.photos .fileupload span {
  width: 100%;
  height: 100%;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  font-size: 10px;
  font-weight: bold;
  cursor: pointer;
  margin: 0;
}

.photos.disabled .fileupload span,
.photos.disabled .fileupload {
  cursor: default;
  border: 0;
}
.photos .fileupload span.blank {
  padding-top: 8px;
}

.photos .fileupload:first-child {
  margin-right: 10px;
}

input.text.shorttext {
    width: 40px;
}
input.text.tinytext {
    width: 25px;
}
input.text {
    width: 100px;
}
.ftable .general {
    width: 150px;
}
h2 {
    color: #6798e1;
    font-size: 25px;
  margin: 0;
  padding: 0;
}
h3 span.seperator {
    font-weight: normal;
    color: #6798e1;
    font-size: 11px;
}
h3 span {
    color: #3c8e03;
    font-size: 14px;
}
.note {
    text-align: right;
    color: #a4a4a4;
    font-weight: bold;
    margin: 0px;
    padding: 0px;
    font-style: italic;
}
.navbar {
    position: relative;
}
.navbar .shopping-cart {
    position: absolute;
    right: 10px;
    top: 10px;
    font-weight: bold;
    color: #fff;
}
.navbar .shopping-cart a {
    color: #3c8e03;
    text-decoration: underline;
}
.navbar .shopping-cart a:hover {
    text-decoration: none;
}
.submit-buttons {
    margin: 5px 0;
    text-align: right;
}
.submit-buttons .submit {
  float:  left;
  font-weight: bold;
}
.ftable .total td {
    font-weight: bold;
    font-size: 13px;
}
.row label.name {
    width: 150px;
    text-align: right;
}
#login .row .value input.text,
#signup_form .row .value input.text
{
    width: 300px;
}
#signup_form .row .value input.text.shorttext {
  width: 150px;
}

h3 {
    font-size: 15px;
    font-weight: bold;
}
.printbtn {
    float: right;
    margin-bottom: 5px;
}

.warning {
  padding: 5px;
  font-size: 13px;
  color: #fff;
  background: #b20c0c;
  margin-bottom: 3px;
}
#basic-modal-content {display:none;}
#simplemodal-overlay {background-color:#000; cursor: default;}
#simplemodal-container {
width: 95%;
color:#bbb;
background: #fff;
border: 3px solid #444;
padding: 0px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}

#simplemodal-container .preview {
  height: 780px;
  margin: 10px;
}

#simplemodal-container .preview iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

#simplemodal-container .simplemodal-data {
padding: 0px;
color: #555555
}

#simplemodal-container code {
background:#141414;
border-left:3px solid #65B43D;
color:#bbb;
display:block;
font-size:12px;
margin-bottom:12px;
padding:4px 6px 6px;
}

#simplemodal-container a {
color:#ddd;
}

#simplemodal-container a.modalCloseImg {
background:url("images/remove.gif") no-repeat;
width: 14px;
height:14px;
z-index:3200;
border: 2px solid #d4d4d4;
position:absolute;
top: 0px;
right: 0px;
cursor:pointer;
}

#simplemodal-container h3 {
padding: 2px 5px;
background: #363c40;
color:#fff;
margin: 0px;
font-size: 13px;
}

#simplemodal-container .simplemodal-data .modal-content {
padding: 2px 5px;
text-align: center;
}

#simplemodal-container .simplemodal-data .modal-actions {
margin: 8px 5px 5px 200px;
}

#simplemodal-container .simplemodal-data .modal-actions.b {
margin-left: 215px;
}

#simplemodal-container .simplemodal-data .modal-actions a {
display: block;
padding: 2px 10px;
background: #62676a;
float: left;
margin-right: 5px;
errorcolor: #fff;
text-decoration: none;
font-size: 11px;
font-weight: bold;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}

#simplemodal-container .simplemodal-data .modal-actions a:hover {
background: #363c40;
}

#simplemodal-container .simplemodal-data .error-msg {
background: none;
padding: 15px 0 8px 0;
text-align: center;
}
#simplemodal-container #infobox .modal-content {
height: 90%;
overflow: auto;
text-align: left;
padding: 5px;
}

#simplemodal-container .preview-content {
	height: 455px;
	overflow: auto;
	padding: 10px;
}

.preview-frames iframe {
  	margin: 0px;
  	width: 100%;
	min-height: 500px;
  	border: 1px solid #a4a4a4;
}

.preview-frames .col, .preview-frames {
	text-align: right;
}

@media (min-width: 1200px) {
	.preview-frames .col {
		float: left;
		width: 49.5%;
	}
	.preview-frames .col:first-child {
		margin-right: 0.5%;
	}
	.preview-frames .col:last-child {
		margin-left: 0.5%;
	}
}

.button {
	margin: 10px 0;
	padding: 7px 10px !important;
	background: #e3e1e1;
	font-size: 12px !important;
	border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: 2px 1px 2px #ddd;
    color: #4a4a4a;
}

.button.print {
    background: #9d9494;
    color: #000;
}

hr {
	height: 1px;
	border: 0;
	border-bottom: 1px solid #a4a4a4;
	margin: 10px 0 20px 0;
}

.title-form, .title-disp{
  position: relative !important;
}

