/* reset */

*, *:before, *:after {-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;}
html, body, div, span, applet, object, iframe, input, select, textarea, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a,
abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small,
strike, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td {margin:0; padding:0; border:0; outline:0; font-weight:inherit; font-style:inherit;
font-size:100%; font-family:inherit; vertical-align:baseline; line-height: 1.25;}
:focus {outline:0;outline-color:transparent;}
ol, ul {list-style:none;}
table {border-collapse:separate;border-spacing:0;}
caption, th, td {text-align:left;font-weight:normal;}
blockquote:before, blockquote:after, q:before, q:after {content:"";}
blockquote, q {quotes:"" "";}
.clear {clear:both;height:0;overflow:hidden;}


/* common */

html, body {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 15px;
}
body {
	color: #414141;
	background-color: #FAFAED;
}
a {
	color: #0071B3;
	text-decoration: none;
}
a:hover, a:focus {
    color: #018FE2;
    text-decoration: underline;
}
input:focus, select:focus, textarea:focus, button:focus {
	outline: none;
	box-shadow: none;
}
.width {
	max-width: 960px;
	min-width: 360px;
	width: 100%;
	margin: 0 auto;
}
#logo {
	margin: 20px auto 20px auto;
	text-align: center;
	background: url(../images/palettegenerator/logo.png) no-repeat center top;
	padding-top: 155px;
	width: 360px;
	color: #414141;
}
#logo h1 {
	font-size: 43px;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
}
#logo-1 {
	font-weight: bold;
}
#logo-space {
	font-size: 1px;
}
#footer {
	color: #999999;
	font-size: 0.9em;
	padding: 20px 0 20px;
}
#footer-privacy {
	margin-top: 20px;
}
#footer-copy {
	margin-top: 10px;
	font-size: 0.8em;
}
#bottom {
	text-align: center;
}
.x-pretty-alert {
	font-size: 1em;
	text-align: center;
	margin-top: 20px;
	text-transform: uppercase;
}
.page-header {
	margin: 5px 1% 30px 1%;
	text-align: center;
	font-size: 16px;
}
.custom-hr {
	width: 40%;
	margin: 20px auto 0 auto;
	border-top: 1px solid #B2B2A9;
	position: relative;
}
.custom-hr-inner {
    border-radius: 20px;
	border: 2px solid #B2B2A9;
    height: 9px;
    left: 50%;
    margin-left: -5px;
    margin-top: -5px;
    position: absolute;
    width: 9px;
    background-color: #FAFAED;
}
.panel-title {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 15px;
	line-height: 24px;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
}
#sample-colors .panel-title {
	width: 336px;
}
#sample-panel, #preview-panel {
	margin: 15px auto;
	padding: 15px 12px 25px 12px;
	background-color: #FCFCF7;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	border-radius: 6px;
	text-align: center;
	border: 1px solid #CCCCCC;
}
#preview-panel {
	display: none;
}
#sample-orig {
	display: inline-block;
	width: 336px;
	margin-right: 12px;
	vertical-align: top;
}
#sample-colors {
	width: 580px;
	display: inline-block;
	vertical-align: top;
}
#sample-colors-frame {
	float: left;
	margin-right: 12px;
}
#sample-orig-frame, #sample-colors-frame {
	width: 336px;
	height: 336px;
	padding: 8px;
}
#sample-orig-frame, #sample-colors-frame {
	background: #FFFFFF url(../images/palettegenerator/grid2x.png) repeat;
	box-shadow: 0 0 0 1px #F2F2F2;
}
#sample-orig-image, #sample-colors-image {
	width: 320px;
	height: 320px;
}
#color-list {
	float: left;
	height: 336px;
	width: 230px;
	background-color: #FCFCF7;
}
#color-list li {
	display: block;
	clear: both;
}
.color-box {
	width: 65%;
	float: left;
}
.color-val {
	width: 35%;
	float: left;
	font-weight: bold;
	font-family: "Lucida Console", Monaco, monospace;
}
#change, #submit {
	height: 33px;
	margin-top: 20px;
	padding: 0 12px;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: bold;
}
#colors {
	margin: 32px auto 0 auto;
	width: 280px;
	background: #888888;
	cursor: pointer;
}
#colors-wrapper {
	width: 336px;
}
#colors .ui-slider-handle {
	border: 1px solid #000000;
	cursor: move;
}
#like-it {
	font-size: 20px;
	font-weight: bold;
	letter-spacing: 1px;
	text-align: center;
	margin-top: 30px;
	color: #414141;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
}
#content .ui-state-disabled {
	opacity: 0.8;
}
.ui-dialog .ui-button {
	outline: 0;
}
#content {
	margin: 10px 0;
	display: none;
}
#preview {
	padding: 1% 0;
	background: #FFFFFF url(../images/palettegenerator/grid3x.png) repeat;
	box-shadow: 0 0 0 1px #F2F2F2;
}
#about {
	padding: 10px 1%;
	color: #666666;
}
#about h2 {
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	letter-spacing: 1px;
	color: #414141;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
}
#about ul {
	margin: 10px 0;
}
#about ul li {
	font-size: 15px;
	border-bottom: 1px dashed #B2B2A9;
	padding: 15px 0 15px 60px;
}
#about ul li:last-child {
	border-bottom: none !important;
}
#about ul li:nth-child(1) {
	background: url(../images/palettegenerator/howto-icon-1.png) no-repeat scroll 0 14px rgba(0, 0, 0, 0);
}
#about ul li:nth-child(2) {
	background: url(../images/palettegenerator/howto-icon-2.png) no-repeat scroll 0 14px rgba(0, 0, 0, 0);
}
#about ul li:nth-child(3) {
	background: url(../images/palettegenerator/howto-icon-3.png) no-repeat scroll 0 14px rgba(0, 0, 0, 0);
}
#colors-progress {
	position: absolute;
	width: 44px;
	height: 44px;
	margin: -22px 0 0 -22px;
	top: 50%;
	left: 168px;
	z-index: 1000;
    background-color: #414141;
    border-radius: 5px;
    padding: 6px;
}
.ui-slider .ui-slider-handle {
	width: 17px;
	height: 17px;
}
.plupload_file_wrapper .ui-icon {
    background-image: url(ui-theme/images/ui-icons_888888_256x240.png);
}
.plupload_file_wrapper .ui-icon:hover {
    background-image: url(ui-theme/images/ui-icons_454545_256x240.png);
}
.plupload_file_wrapper.ui-button-inverse .ui-icon:hover {
    background-image: url(ui-theme/images/ui-icons_ffffff_256x240.png);
}
.ui-widget-overlay {
	background: none !important;
}
.ui-slider-handle.ui-state-default {
	background-color: #414141;
}
#ads1 {
	margin: 0 auto 25px auto;
    max-width: 728px;
    overflow: hidden;
}
#ads2 {
	margin: 25px auto 0 auto;
    max-width: 728px;
    overflow: hidden;
}
.ui-state-default {
	background-color: #FCFCF7;
}
.ui-button-inverse {
	background-color: #414141;
}
.hb {
	width: 728px;
	max-height: 90px;
	margin: 25px auto 30px auto;
	overflow: hidden;
}
.hs {
	width: 728px;
	max-height: 15px;
	margin: 25px auto 10px auto;
	overflow: hidden;
}


/* for carousel */

#carousel-wrapper {
	position: relative;
	height: 152px;
	margin: 0 1% 20px 1%;
	background-image: url(../images/palettegenerator/subtle_dots.png);
}
#carousel-wrapper .ui-button, #carousel-wrapper .ui-icon {
	padding: 0;
}
#container {
	height: 142px;
	margin: 5px 0;
	overflow: hidden;
	position: absolute;
}
#carousel {
	width: 100%;
	height: 142px;
	overflow: hidden;
}
#carousel-prev-wrapper, #carousel-next-wrapper {
	width: 22px;
	height: 152px;
	position: absolute;
	padding-top: 26px;
	background-color: #FAFAED;
}
#carousel-prev-wrapper {
	left: 0;
}
#carousel-next-wrapper {
	right: 0;
	padding-left: 4px;
}
#carousel-next, #carousel-prev {
	width: 20px;
	height: 100px;
}
#carousel-next .ui-icon, #carousel-prev .ui-icon {
	position: absolute;
	top: 50%;
	margin-top: -8px;
}
#upload-buttons-wrapper {
	width: 330px;
	margin: 0 auto 30px auto;
	height: 33px;
	position: relative;
}
#upload-buttons-wrapper .ui-button-text, #toolbar .ui-button-text {
	font-weight: bold;
	padding-left: 1.8em;
	text-transform: uppercase;
}
#upload-buttons-wrapper .ui-icon {
    background-image: url(ui-theme/images/ui-icons_ffffff_256x240.png);
}
#upload-buttons-wrapper .ui-button {
    height: 33px;
}
#pick-files, #reset-all {
	width: 150px;
	font-size: 13px;
	margin: 0 7px;
	position: absolute;
	top: 0;
}
#pick-files {
	left: 0;
}
#reset-all {
	right: 0;
}
#carousel-prev.ui-button {
	background: transparent url(../images/left-arrow.png) center center no-repeat;
	border: none;
}
#carousel-next.ui-button {
	background: transparent url(../images/right-arrow.png) center center no-repeat;
	border: none;
}
#carousel-prev .ui-icon, #carousel-next .ui-icon {
	display: none;
}
#main .ui-button-text {
	line-height: 31px;
	padding-top: 0;
}
#main .ui-button-text-icon-primary {
	padding-top: 0;
}
#main .ui-button .ui-icon {
	margin-top: 7px;
}
.ui-button-success {
    background-color: #408620;
    border-color: #408620;
    color: #FFFFFF;
}
.ui-button-success:hover {
    background-color: #479423;
    border-color: #479423;
    color: #FFFFFF;
}
.ui-button-danger {
    background-color: #0869AC;
    border-color: #0869AC;
    color: #FFFFFF;
}
.ui-button-danger:hover {
    background-color: #0970B8;
    border-color: #0970B8;
    color: #FFFFFF;
}


/* for plupload */

.plupload_file_wrapper {
	height: 140px;
	width: 146px;
	margin: 0 auto;
	padding: 10px 8px;
	font-size: 12px;
	font-weight: normal;
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.plupload_filelist li {
	float: left;
	display: block;
}
.plupload_file_name {
	float: left;
	overflow: hidden;
	width: 100px;
	height: 15px;
}
.plupload_file_action {
	float: right;
	width: 16px;
	height: 16px;
}
.plupload_file_action .plupload_file_icon {
	width: 16px;
	height: 16px;
	cursor: pointer;
}
.plupload_clearer {
	clear: both;
}
.plupload_file_status {
	opacity: 0.7;
	filter: alpha(opacity=70);
	text-align: center;
	font-size: 0.9em;
}
.plupload_thumb_wrapper {
	background: #FFFFFF url(../images/palettegenerator/grid.png) repeat;
	border: inherit;
	overflow: hidden;
}
.plupload_thumb {
	width: 126px;
	height: 77px;
	background-image: url(../images/no_image.png);
	background-color: #FFFFFF;
}
.plupload_file_progress {
	border: inherit;
	border-radius: 3px 3px 3px 3px;
	margin: 3px 0;
	overflow: hidden;
	width: auto;
}
.plupload_file_progress_bar {
	background-color: #888888;
	height: 6px;
	width: 0;
}
#plupload_drop {
	color: #C5C5C5;
	font-size: 1.2em;
	font-weight: bold;
	width: 100%;
	text-align: center;
	position: absolute;
	top: 62px;
	z-index: 10;
}
.plupload_file_wrapper .ui-icon {
    background-image: url(ui-theme/images/ui-icons_888888_256x240.png);
}


/* share */

#share {
	width: 300px;
	margin: 10px auto 0 auto;
}
#share .pop {
	margin: 0 5px;
}
.share-bw {
    background: url(../images/social-icons.png) no-repeat scroll left top transparent;
    display: block;
    float: left;
    width: 49px;
    height: 49px;
    line-height: 0;
    margin: 0;
}
.share-bw-facebook {
    background-position: -1px -1px;
}
.share-bw-facebook:hover {
    background-position: -1px -51px;
}
.share-bw-twitter {
    background-position: -50px -1px;
}
.share-bw-twitter:hover {
    background-position: -50px -51px;
}
.share-bw-googleplus {
    background-position: -99px -1px;
}
.share-bw-googleplus:hover {
    background-position: -99px -51px;
}
.share-bw-stumbleupon {
    background-position: -148px -1px;
}
.share-bw-stumbleupon:hover {
    background-position: -148px -51px;
}
.share-bw-reddit {
    background-position: -197px -1px;
}
.share-bw-reddit:hover {
    background-position: -197px -51px;
}
.share-bw-vkontakte {
    background-position: -246px -1px;
}
.share-bw-vkontakte:hover {
    background-position: -246px -51px;
}


/* Jcrop */

.jcrop-holder {
	direction: ltr;
	text-align: left;
}
.jcrop-vline,
.jcrop-hline {
	background: #ffffff url(../images/jcrop.gif);
	font-size: 0;
	position: absolute;
}
.jcrop-vline {
	height: 100%;
	width: 1px !important;
}
.jcrop-vline.right {
	right: 0;
}
.jcrop-hline {
	height: 1px !important;
	width: 100%;
}
.jcrop-hline.bottom {
	bottom: 0;
}
.jcrop-tracker {
	height: 100%;
	width: 100%;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
}
.jcrop-handle {
	background-color: #333333;
	border: 1px #eeeeee solid;
	width: 7px;
	height: 7px;
	font-size: 1px;
}
.jcrop-handle.ord-n {
	left: 50%;
	margin-left: -4px;
	margin-top: -4px;
	top: 0;
}
.jcrop-handle.ord-s {
	bottom: 0;
	left: 50%;
	margin-bottom: -4px;
	margin-left: -4px;
}
.jcrop-handle.ord-e {
	margin-right: -4px;
	margin-top: -4px;
	right: 0;
	top: 50%;
}
.jcrop-handle.ord-w {
	left: 0;
	margin-left: -4px;
	margin-top: -4px;
	top: 50%;
}
.jcrop-handle.ord-nw {
	left: 0;
	margin-left: -4px;
	margin-top: -4px;
	top: 0;
}
.jcrop-handle.ord-ne {
	margin-right: -4px;
	margin-top: -4px;
	right: 0;
	top: 0;
}
.jcrop-handle.ord-se {
	bottom: 0;
	margin-bottom: -4px;
	margin-right: -4px;
	right: 0;
}
.jcrop-handle.ord-sw {
	bottom: 0;
	left: 0;
	margin-bottom: -4px;
	margin-left: -4px;
}
.jcrop-dragbar.ord-n,
.jcrop-dragbar.ord-s {
	height: 7px;
	width: 100%;
}
.jcrop-dragbar.ord-e,
.jcrop-dragbar.ord-w {
	height: 100%;
	width: 7px;
}
.jcrop-dragbar.ord-n {
	margin-top: -4px;
}
.jcrop-dragbar.ord-s {
	bottom: 0;
	margin-bottom: -4px;
}
.jcrop-dragbar.ord-e {
	margin-right: -4px;
	right: 0;
}
.jcrop-dragbar.ord-w {
	margin-left: -4px;
}
.jcrop-light .jcrop-vline,
.jcrop-light .jcrop-hline {
	background: #ffffff;
	filter: alpha(opacity=70) !important;
	opacity: .70!important;
}
.jcrop-light .jcrop-handle {
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	background-color: #000000;
	border-color: #ffffff;
	border-radius: 3px;
}
.jcrop-dark .jcrop-vline,
.jcrop-dark .jcrop-hline {
	background: #000000;
	filter: alpha(opacity=70) !important;
	opacity: 0.7 !important;
}
.jcrop-dark .jcrop-handle {
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	background-color: #ffffff;
	border-color: #000000;
	border-radius: 3px;
}
.solid-line .jcrop-vline,
.solid-line .jcrop-hline {
	background: #ffffff;
}
.jcrop-holder img,
img.jcrop-preview {
	max-width: none;
}


/* responsive */

@media only screen and (max-width: 960px) {
	#sample-colors-frame {
		display: none;
	}
	#color-list, #sample-colors-wrapper {
		width: 336px;
		float: none;
	}
	#color-list, #sample-colors-wrapper {
		width: 336px;
		margin: 0 auto;
	}
	#sample-orig, #sample-colors {
		width: 50%;
		margin-left: 0;
		margin-right: 0;
	}
	#sample-orig-frame {
		margin: 0 auto;
	}
	#sample-panel {
		padding-left: 2%;
		padding-right: 2%;
	}
	#sample-colors .panel-title, #color-list, #colors-wrapper {
		margin-left: auto;
		margin-right: auto;
	}
	#sample-panel, #preview-panel {
		border-radius: 0;
		border-right: none;
		border-left: none;
	}
}
@media only screen and (max-width: 720px) {
	#sample-orig, #sample-colors {
		width: 336px;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	#sample-colors {
		margin-top: 30px;
	}
	#sample-panel {
		padding-left: 0;
		padding-right: 0;
	}
	.hb {
		width: 468px;
		max-height: 60px;
	}
	.hs {
		display: none;
	}
}
@media only screen and (max-width: 480px) {
	#about-wrapper, #ads1, #ads2 {
		display: none;
	}
	.hb {
		width: 320px;
		max-height: 50px;
	}
}
