html, body {
	margin: 0;
	padding: 0;
	font-family: verdana,arial,tahoma;
	background: url("/img/design/bg.gif") repeat;
	height: 100%;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.vertical-align { position: relative; top: 50%; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); }
.error-msg { font-size: 12px; color: red; text-align:center; }
.dialog-button { margin: 0 auto; cursor: pointer; display: inline-block; padding: 5px 10px 5px 10px; color: #fff; text-align: center;
	-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; background: #86ac41;
//	background: -webkit-linear-gradient(#048A8A, #036767);
//	background: -o-linear-gradient(#048A8A, #036767);
//	background: -moz-linear-gradient(#048A8A, #036767);
//	background: linear-gradient(#048A8A, #036767);
}
.dialog-button.red {
	background: #b92439;
	background: -webkit-linear-gradient(#f9314d,#b92439);
	background: -o-linear-gradient(#f9314d,#b92439);
	background: -moz-linear-gradient(#f9314d,#b92439);
	background: linear-gradient(#f9314d,#b92439);
}


#main-wrapper { margin: 0 auto; height: 100%; width: 100%; overflow: hidden; }
#header-wrapper { width: 100%; text-align: left; margin: 0 auto; padding: 0 0 0 50px; height: 45px; background-color: #324851;
	-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
}
#header-wrapper #logo { background: url(/img/design/logo_editor.png) no-repeat center; height: 35px; width: 119px; cursor: pointer; padding-top: 8px; float: left; }
#header-wrapper .editor-menu { display: block; float: left; line-height: 45px; margin-left: 20px; height: 100%; }
#header-wrapper .editor-menu .editor-menu-item { padding-left: 25px; font-family: arial; font-size: 16px; vertical-align: middle; color: #e4e4e4; float: left; text-transform: uppercase; font-family: 'Source Sans Pro', sans-serif; margin-left: 20px; cursor: pointer; }
#header-wrapper .editor-menu .editor-menu-item:hover { color: #ffffff; }
#header-wrapper .editor-menu #button-show-kits-top { display: none; }

#content-wrapper { width: 100%;  background: #fff; height: 100%; }
#footer-wrapper { color: #006666; font-size: 10pt; margin: 0 auto; text-align: center; padding-top: 5px; }
#footer-wrapper a { color: #99cccc; text-decoration: underline; }
#footer-wrapper #footer-menu  { display: inline; }
#footer-wrapper #footer-menu a { color: #006666; font-size: 8pt; font-weight: bold; text-decoration: none; }
#footer-wrapper #lang-list {  }

#content-header { }
#content-body { width: 100%; height: 100%; }
#content-footer { }

#logo-img { width: 190px; height: 47px; cursor: pointer; }
#maker-wrapper { padding: 0px 0 5px 0; height: 100%; max-height: 1500px; width: 100%; 
	-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
}
#maker-wrapper #landing { width: 100%; background-color: #324851; height: 100%; position: absolute; top: 0px;  } 
#maker-wrapper #landing .landing-top { width: 100%; background-image: url(/img/design/editor/bg.jpg); background-position: center; background-repeat: no-repeat; background-size: cover; height: 60%; text-align: center; }
#maker-wrapper #landing .landing-top #landing-logo { width: 140px; height: 140px; margin: 30px 0 0 0; cursor: pointer; 
	-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; 
}
#maker-wrapper #landing .landing-top #landing-header-text { color: #ffffff; font-family: arial; font-size: 36px; margin: 30px 0 0 0;}
#maker-wrapper #landing .landing-top .landing-buttons-wrapper { margin: 80px auto; }
#maker-wrapper #landing .landing-top .landing-buttons-wrapper .landing-buttons { display: inline-block; border: 1px solid #ffffff; color: #ffffff; font-family: verdana; font-size: 22px; background: rgba( 255, 255, 255, 0.1 );  border-radius: 20px; -moz-border-radius: 20px; -webkit-border-radius: 20px; cursor: pointer; text-align: center; padding: 8px 20px 8px 20px;  margin: 0 20px 0 20px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; min-width: 200px; max-width: 350px; }
#maker-wrapper #landing .landing-top .landing-buttons-wrapper .landing-buttons:hover { background: rgba( 255, 255, 255, 0.5 ); color: #324851; }
#maker-menu { background: rgba( 223, 223, 223, 0.5 ); height: 40px; text-align: center; position: absolute; top: 45px; right: 0px; z-index: 1000; padding: 2px; width: calc( 100% - 318px ); display: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
//	-webkit-border-top-left-radius: 5px; -moz-border-top-left-radius: 5px; 
//	border-top-left-radius: 5px; 
//	-webkit-border-top-right-radius: 5px; -moz-border-top-right-radius: 5px;
//	border-top-right-radius: 5px;
//	background: -webkit-linear-gradient(#7e7e7e, #333333); /* For Safari 5.1 to 6.0 */
//	background: -o-linear-gradient(#7e7e7e, #333333); /* For Opera 11.1 to 12.0 */
//	background: -moz-linear-gradient(#7e7e7e, #333333); /* For Firefox 3.6 to 15 */
//	background: linear-gradient(#7e7e7e, #333333); /* Standard syntax (must be last) */
}
#maker-menu .menu-delimiter-right { width: 12px; float: right; } 
#maker-menu .menu-delimiter-left { width: 12px; float: left; } 
#maker-menu .maker-menu-button { cursor: pointer; font-size: 15px; text-align: center; height: 100%; color: #535353;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
//	background: -webkit-linear-gradient(#b9b9b9, #e8e8e8, #b9b9b9); /* For Safari 5.1 to 6.0 */
//	background: -o-linear-gradient(#b9b9b9, #e8e8e8, #b9b9b9); /* For Opera 11.1 to 12.0 */
//	background: -moz-linear-gradient(#b9b9b9, #e8e8e8, #b9b9b9); /* For Firefox 3.6 to 15 */
//	background: linear-gradient(#b9b9b9, #e8e8e8, #b9b9b9); /* Standard syntax (must be last) */
}
#maker-menu .item-controls {  width: 54px; display: inline-block; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
#maker-menu .item-controls:hover { background-color: #e6e6e6; animation: pulse 500ms; }
#maker-menu #button-upload-photos { padding: 0 10px 0 10px; margin-left: 15px; }
#maker-menu #button-upload-photos:hover { background: #e8e8e8; }
#maker-menu #button-save { padding: 0 10px 0 10px; margin-left: 15px; display: none; background: #8ace6c; }
#maker-menu #button-save:hover { background: #9aea77; }
#maker-menu #button-delete { display: inline-block; }
//#maker-menu #button-delete:hover { background: #fc9d9d; }
//#maker-menu #button-show-kits { color: #535353; font-size: 14px; padding: 0px 8px 0px 8px; line-height: 40px; }
//#maker-menu #button-show-kits:hover { background: #e8e8e8; }
#maker-menu #button-selected-kit { color: #868686; font-size: 14px; padding: 0px 8px 0px 8px; line-height: 40px; margin-left: 3px; }
#maker-menu #button-selected-kit:hover { background: #e8e8e8; }
#maker-menu #button-add-caption { width: 56px; }
#maker-menu #button-add-caption:hover { background: #e8e8e8; }
#maker-worksheet { overflow: hidden; height: calc(100% - 40px); position: relative;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.dialog-menu { background: #fff; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; 
	-webkit-box-shadow: 0px 1px 4px 1px rgba(3,103,103,0.75);
	-moz-box-shadow: 0px 1px 4px 1px rgba(3,103,103,0.75);
	box-shadow: 0px 1px 4px 1px rgba(3,103,103,0.75);
}
.dialog-menu .dialog-panel { position: absolute; top: -2px; left: -1px; width: calc(100% + 2px); height: 30px; background: #405b66; padding: 0px; margin: 0px; -webkit-border-top-left-radius: 4px; -moz-border-top-left-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -moz-border-top-right-radius: 4px; border-top-right-radius: 4px; text-align: center; cursor: move; }
.dialog-menu .dialog-panel .dialog-name { margin: 0 auto; color:#fff; font-size: 14px; position: relative; top: 6px; left: 7px;}
.dialog-menu .dialog-close-button { position: absolute; right: 4px; top: 5px; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; font-family: Arial; color: #ffffff; font-size: 14px; background: #405b66; padding: 1px 5px 1px 6px;  text-decoration: none; cursor: pointer; height: 16px; }
.dialog-menu .dialog-close-button:hover {  background: #fff;  text-decoration: none; color: #036767; }
#dialog-background { background: gray; opacity: 0.7; width: 100%; height: calc(100% + 2px); display: none; position: absolute; top: -2px; }

#crop-dialog { width: 550px; left: calc(50% - 275px); top: 50px; position: absolute; font-size: 14px; font-family: verdana; padding: 40px 30px 50px 30px; margin: 0; }
#crop-loader { width: 130px; text-align:center; margin: 0 auto; }
#crop-dialog #crop-image-wrapper { margin: 0 auto; overflow-y: hidden; text-align: center; }
#crop-dialog #crop-button-wrapper { margin: 0 auto; text-align: center; margin: 15px 0 10px 0; }

#save-dialog { width: 600px; left: calc(50% - 300px); position: absolute; font-size: 14px; font-family: verdana; text-align: center; padding: 40px 0 5px 0px; top: 50%; height: 400px;
	-webkit-transform: translateY(-50%); 
	-ms-transform: translateY(-50%); 
	transform: translateY(-50%);
	-webkit-box-sizing: border-box; 
	-moz-box-sizing: border-box; 
	box-sizing: border-box; 
}
#save-loader { margin: 0 auto; position: relative; top: 35%; }
#save-dialog #save-size { padding: 2px; margin: 15px; }
#save-dialog #image-content #save-buttons { width: 500px; margin: 10px auto; }
#save-dialog #image-content #save-buttons div { width: 130px; margin-left: 10px; }
#save-dialog #image-content #image-preview { width:500px; margin: 0 auto; }
#save-dialog #image-content #image-preview img { border: 1px solid #5d5d5d; }
#save-dialog #image-content .save-msg { padding: 5px 10px 5px 10px; color: #3e7a26; margin: 0 auto; display:inline-block; width: 130px; margin-left: 10px; }
#save-dialog #save-button-delete-msg { margin: 0 auto; display:inline-block; width: 100%; margin-left: 10px; color: #bd2a31; }
#save-dialog #share-link { width: 500px; margin: 20px auto; }
#save-dialog #share-link input { padding: 4px; width: 90%; font-size: 12px; font-family: verdana; font-weight: bold;  background: #e3f3fa; color: #324851;  }

#upload-dialog { width: 50%; left: 25%; top: 50px; position: absolute; font-size: 14px; font-family: verdana; padding-bottom: 5px; }
#upload-dialog #user-photos { margin: 60px auto; width: 535px; text-align: left; margin-bottom: 0px; }
#user-photos .user-photo{ border: 1px solid #036767; float: left; width: 120px; height: 120px; cursor: pointer; margin: 0 5px 0 5px; }
#user-photos .user-photo:hover {
	-webkit-box-shadow: 0px 1px 4px 1px rgba(3,103,103,0.75);
	-moz-box-shadow: 0px 1px 4px 1px rgba(3,103,103,0.75);
	box-shadow: 0px 1px 4px 1px rgba(3,103,103,0.75);
}
#upload-dialog #no-photos-text { position: absolute; text-align: center; width: 100%; margin: 50px auto; font-color: #000; }
#upload-dialog #upload-button-wrapper { width: 100%; margin: 200px 0 5px 0; box-sizing: border-box; text-align: center; height: 30px; }
#upload-dialog label#upload-button-label input[type="file"] { position: fixed; top: -1000px; }
#upload-dialog #upload-button-label { margin-left: 10px; }
#upload-dialog #upload-error { width: 100%; margin: 10px; }
#delete-photos-loader { width: 140px; height: 30px; background: url('/img/design/editor/loader.gif') center no-repeat; display: inline-block; vertical-align:top; }

#upload-dialog #progress { height: 30px; width: calc(100% - 1px); margin: 200px 0px 0 0px; }
#progress-bar { width: 100%; height: 16px; border: 1px solid #004949; background-color: #fff; margin: 200px 0px 0 0px; }
#progress-bar #bar { height: 100%; color: #fff; text-align: right; line-height: 16px; width: 0; background-color: #047878; margin: 0 1px 0 1px; }

#caption-dialog { width: 400px; left: calc(50% - 195px); top: 50px; position: absolute; font-size: 14px; font-family: verdana; padding: 0px 0 5px 0px; text-align: center; }
#caption-dialog #caption-text { width: 340px; margin: 40px 20px 10px 20px; height: 60px; padding: 5px; }
#caption-dialog #caption-button {}
#caption-font-list div { padding: 5px 0 5px 5px; }
#caption-font-wrapper { height: 30px; text-align: left; }
#caption-font-wrapper #caption-font { width: 125px; background: #fff; border: 1px solid gray; padding: 5px 5px 5px 10px; height: 20px; cursor: pointer; }
#caption-font-wrapper #caption-font #caption-font-selected { float: left; }
#caption-font-wrapper #caption-font #caption-font-arrow { border-left: 1px solid gray; float: right; height: 20px; padding-left: 5px; }
#caption-font-wrapper #caption-font-list { position: absolute; width: 140px; background: #fff; border: 1px solid gray;  cursor: pointer; margin-top: 2px; display: none;}
#caption-loader { display:none; width:130px; text-align:center; margin: 0 auto; }

#kits-list { width: 90%; height: 95%; top: 15px; left: 5%; position: absolute; text-align: center; padding: 40px 0px 20px 0px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
#kits-list #kits-list-wrapper { width: 100%; overflow-y: scroll; overflow-x: hidden; height: 100%; padding: 10px 20px 0px 20px; margin: 0 auto; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
/*#kits-list #kits-list-wrapper:before {
	-webkit-box-shadow: inset 0px -45px 2px -34px rgba(0,0,0,0.4);
	-moz-box-shadow: inset 0px -45px 22px -34px rgba(0,0,0,0.4);
	box-shadow: inset 0px -45px 2px -34px rgba(0,0,0,0.4);
	position: absolute; top: 0; left: 0; width: 100%; height: 100%; content: ""; z-index: 1000;
}
*/
#kits-list-wrapper .kit { height: 150px; width: 150px; padding: 0; float: left; cursor: pointer; position: relative; margin: 0 35px 25px 5px; }
#kits-list-wrapper .kit:hover {
	-webkit-box-shadow: 0px 1px 4px 1px rgba(3,103,103,0.75);
	-moz-box-shadow: 0px 1px 4px 1px rgba(3,103,103,0.75);
	box-shadow: 0px 1px 4px 1px rgba(3,103,103,0.75);
}
//#kits-list-wrapper .kit img { width: 150px; height: 150px; float: left; }
#kits-list-wrapper .kit .kit-info { height: 30%; width: 150px; font-family: verdana; background-color:rgba(3, 103, 103, 0.5); -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 5px; }
#kits-list-wrapper .kit .kit-info .kit-name { font-size: 14px; color: #fff; padding: 0; margin: 0; vertical-align: middle; width: 100%; text-align: center; }
#kits-list-wrapper .kit .kit-info .kit-items { font-size: 12px; color: #fff; padding: 0; margin: 2px 0 5px 0; }

#kit-parts { background: #e3e3e3; width: 315px; height: 100%; margin: 0px; position: relative; border: 1px solid #324851; top: 0px; left: 0px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
#kit-parts a { color: #fff; }
#kit-parts #button-show-kits-wrapper { padding: 10px; font-family: 'Source Sans Pro', sans-serif; font-size: 16px; color: #e4e4e4; text-transform: uppercase; padding-left: 5px; background: #405b66; height: 20px; cursor: move; border-bottom: 1px solid #324851; }
#kit-parts #button-show-kits-wrapper #button-show-kits { cursor: pointer; background: #405b66 url('/img/design/editor/icons/kits-list.png') no-repeat left; padding-left: 30px; margin: 0 auto; display: inline-block; }
#kit-parts #button-show-kits-wrapper #button-show-kits:hover { color: #ffffff; }
#kit-parts #kitx-wrapper { display: none; }
#kit-parts #kitx { height: 50px; padding: 5px; background: #405b66; }
#kit-parts #kitx div { float: left; } 
#kit-parts #kitx #kitx-img img { width: 50px; height: 50px; }
#kit-parts #kitx #kitx-info { float: left; font-family: verdana; color: #fff; padding-left: 10px; }
#kit-parts #kitx #kitx-info #kitx-name { font-size: 18px; margin: 0 0 5px 0; font-weight: 400; }
#kit-parts #kitx #kitx-info #kitx-items { font-size: 12px; margin:0; width: 240px; }
#kit-parts #kitx #kitx-info .kit-part-link { font-size: 10px; padding-right: 10px; }

#kit-parts .kit-part { height: 50px; padding: 0px; margin: 5px 0 0 15px; background: #405b66; cursor: pointer; border: 1px solid #405b66; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.kit-part-selected { background: #d1d1d1; color: #3e3e3e; }
#kit-parts .kit-part .kit-part-img { float: left; }
#kit-parts .kit-part .kit-part-img img { width: 50px; height: 50px; }
#kit-parts .kit-part .kit-part-info { float: left; font-family: verdana; color: #fff; padding-left: 10px; }
#kit-parts .kit-part .kit-part-info .kit-part-name { font-size: 14px; margin: 0 0 5px 0; }
#kit-parts .kit-part .kit-part-info .kit-part-items { font-size: 12px; margin:0; }
#kit-parts .kit-part .kit-part-arrow { float: right; margin: 12px 10px 0 0; }
#kit-parts .kit-part .kit-part-arrow img { width: 26px; height: 26px; }

#kit-parts #kit-items-wrapper { width: 315px; }
#kit-parts #kit-items-wrapper .kit-item { float: left; width: 148px; text-align: center; margin-top: 15px; height: 125px; cursor: move; }
.kit-item-img-ws { position: relative; cursor: move; }
.kit-item-img-ws-wrapper { position: absolute; cursor: move; }
.selected-item {
	background-color: rgba(255, 255, 255, 0.3);
	-webkit-box-shadow: 0px 0px 1px 1px rgba(82,105,255,0.75);
	-moz-box-shadow: 0px 0px 1px 1px rgba(82,105,255,0.75);
	box-shadow: 0px 0px 1px 1px rgba(82,105,255,0.75);
}

/* source https://codepen.io/dehash/pen/yCczg */
@keyframes pulse {
	0% { transform: scaleX(1) scaleY(1); }
//	10% { transform: scaleX(0.85) scaleY(0.85); }
//	20% { transform: scaleX(1) scaleY(1); }
//	30% { transform: scaleX(0.85) scaleY(0.85); }
//	40% { transform: scaleX(1) scaleY(1); }
	50% { transform: scaleX(0.8) scaleY(0.8); }
//	60% { transform: scaleX(1) scaleY(1); }
//	70% { transform: scaleX(0.85) scaleY(0.85); }
//	80% { transform: scaleX(1) scaleY(1); }
//	90% { transform: scaleX(0.85) scaleY(0.85); }
	100% { transform: scaleX(1) scaleY(1); }
}

