/* buttony */
.btn {
	font-size: 14px;
	font-weight: bold;
	padding: 8px 10px 8px 10px;
	background-color: #e3007a;
	color: #ffffff;
	border: 0;
	border-radius: 5px;
	cursor: pointer;
}

.btn-big {
	padding: 16px 20px 16px 20px;
}

.btn span.text-icon {
	font-size: 16px;
	font-weight: bold;
}

.btn span {
	font-size: 20px;
	margin-top: -2px;
	font-weight: normal;
}

.btn:disabled {
	background-color: #b4b4b4;
	pointer-events: none;
}

.btn:hover {
	opacity: .8;
}

.btn.negative {
	background-color: #eb0370;
	color: #ffffff;
}

.btn.negative:disabled {
	background-color: #b4b4b4;
	pointer-events: none;
}

.btn.negative:hover {
	background-color: #cc0262 !important;
}

.form-btn {
	margin-bottom: 20px;
	width: 170px;
}
.form-btn span {
	float: left;
}

.image-btn {
	margin-left: 60px;
	margin-bottom: 20px;
	width: 230px;
	height: 40px;
}

.close-cross {
	float: right;
	margin-right: 10px;
	margin-top: 10px;
	color: #acacac;
	cursor: pointer;
}

.close-cross-small {
	float: right;
	margin-right: -10px;
	margin-top: -10px;
	color: #acacac;
	cursor: pointer;
	font-size: 12px;
}

.close-cross:hover {
	color: #9d9d9d;
}

/* kontenery */
.section {
	float: left;
	display: inline;
	margin-right: 20px;
	font-size: 14px;
}

.top-panel-slim .section {
	margin-top: 5px;
} 

.section label {
	font-size: 12px;
	font-weight: bold;
	clear: both;
}

.bottom-form .section label {
	font-size: 12px;
	font-weight: bold;
	clear: both;
	height: 22px;
	display: block;
}

.section label:after {
	content: "\A";
	white-space: pre;
}

.controls-container {
	width: 180px;
	background-color: #383d41;
	border-radius: 5px;
	padding: 20px;
	color: #ffffff;
	z-index: 10;
	position: absolute;
	display: none;
}

.right-form div.controls-container {
	margin-left: -50px;
}

.controls-section {
	position: relative;
	float: left;
}

.controls-container label {
	font-size: 12px;
}

.controls-container label:after {
	content: "\A";
	white-space: pre;
}

.controls-section .btn {
	background-color: #ffffff;
	color: #000000;
}

.controls-section .btn:hover {
	background-color: #e9e9e9;
}

.warning {
	margin-top: -63px;
	margin-bottom: 20px;
	display: none;
	font-size: 16px;
	color: #a0a0a0;
	text-align: center;
}

.warning2 {
	margin-top: -63px;
	margin-bottom: 20px;
	display: none;
	font-size: 16px;
	color: #a0a0a0;
	text-align: center;
}

.warning3 {
	margin-top: -63px;
	margin-bottom: 20px;
	display: none;
	font-size: 16px;
	color: #a0a0a0;
	text-align: center;
}

.overlay {
	z-index: 15000;
	background-color: rgba(0,0,0,0.5);
	position: fixed;
	width: 100%;
	height: 100%;
	display: none;
}

.dialog {
	position: relative!important;
	margin: 0 auto;
	width: 400px;
	height: 500px;
	margin-top: 10%;
	background-color: #ffffff;
	border-radius: 5px;
}

.dialog-wide {
	width: 800px;
}

.dialog-content {
	width: 350px;
	margin: 0 auto;
	display: block!important;
	text-align: center;
}

.dialog-content h1 {
	padding-top: 40px;
	color: #e3007a;
}

.dialog-content h2 {
	padding-top: 50px;
	color: #e3007a;
	margin-left: 15px;
}

.dialog-content h3 {
	color: #e3007a;
	margin-top: 5px;
	margin-bottom: 5px;
}

.dialog-content input.text-input {
	border-radius: 5px;
	border: 1px solid #e3007a;
	height: 30px;
	font-size: 16px;
	width: calc(100% - 7px);
	margin-top: 10px;
	margin-bottom: 10px;
	padding-left: 5px;
}

.dialog-content textarea.text-input {
	font-family: 'Roboto', sans-serif;
	border-radius: 5px;
	border: 1px solid #e3007a;
	height: 100px;
	font-size: 16px;
	width: calc(100% - 9px);
	margin-top: 10px;
	padding-left: 5px;
	resize: none;
}

.dialog-content input {
	float: left;
	width: 20px;
	height: 20px;
}

.dialog-content label {
	float: left;
	font-size: 12px;
	color: #e3007a;
}

.dialog-content .btn {
	font-size: 18px;
	width: 100%;
	margin-top: 20px;
	height: 53px;
}

.dialog-content a.btn {
	display: block;
	height: 37px;
	margin-top: 0px;
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 16px;
	padding-bottom: 0px;
}

/* pozycje */
.right {
	margin-right: 0px;
	float: right;
}

.center {
	margin: 0 auto;
}

/* wymiary */
.fit {
	height: 100%;
}

/* kolory */
.blue {
	color: #e3007a;
}

/* formularz - kszta�ty */
.shape {
	margin-top: 10px;
	margin-right: 20px;
	width: 30px;
	height: 30px;
	display: inline-block;
}

.shape:hover:after {
	opacity: .8;
}

.shape.selected:after {
	background-color: #e3007a;
}

.shape-oval {
	border-radius: 50%;
	background-color: #ffffff;
}

.shape-oval:after {
	content: "\A";
	display: block;
	margin-top: 3px;
	margin-left: 3px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-color: #d2d2d2;
}

.shape-rectangular {
	border-radius: 10%;
	background-color: #ffffff;
}

.shape-rectangular:after {
	content: "\A";
	display: block;
	margin-top: 3px;
	margin-left: 3px;
	width: 24px;
	height: 24px;
	border-radius: 10%;
	background-color: #d2d2d2;
}

/* formularz - wymiary */
.size {
	margin-top: 10px;
	width: 65px;
	height: 24px;
	display: inline-block;
	background-color: #f4f4f4;
	color: #000000;
	text-align: center;
	border-radius: 5px;
	border: none;
	padding-left: 10px;
	font-size: 16px;
}

.size-keep-proportions {
	font-size: 12px;
	text-align: center;
	width: 20px;
	height: 20px;
	margin-top: 5px;
	display: inline-block;
}

.size-keep-proportions:after {
	border-radius: 50%;
	content: "\A";
	display: block;
	width: 20px;
	height: 20px;
	margin-top: 5px;
	background-color: #e3007a;
}

.size-keep-proportions span {
	font-size: 12px;
	position: absolute;
	margin-top: 9px;
	margin-left: -6px;
	
}

/* formularz - kolory t�a */
.background-color-option {
	margin-top: 5px;
	margin-right: 5px;
	width: 30px;
	height: 30px;
	display: inline-block;
	background-color: #ffffff;
	border-radius: 50%;
}

.background-color-option:hover {
	background-color: #9fe8ff;
}

.background-color-option.selected {
	background-color: #00a2d7;
}

.background-color-value {
	margin-top: 3px;
	margin-left: 3px;
	width: 24px;
	height: 24px;
	display: inline-block;
	border-radius: 50%;
}

/* formularz - grafika */
.file-input {
	margin-top: 40px;
}

#add_image {
	margin-top: 40px;
	display: none;
}

.form-image-overlay {
	z-index: 15000;
	background-color: rgba(0,0,0,0.5);
	position: fixed;
	width: 100%;
	height: 100%;
	display: none;
}

.form-image-dialog {
	margin: 0 auto;
	width: 400px;
	height: 500px;
	margin-top: 10%;
	background-color: #ffffff;
	border-radius: 5px;
	position: relative;
}

.form-image-content {
	width: 350px;
	margin: 0 auto;
}

.form-image-content h1 {
	padding-top: 50px;
	color: #e3007a;
	margin-left: 15px;
}

.file-info {
	text-align: center;
	font-size: 18px;
	line-height: 36px;
	color: #a0a0a0;
}

.image-preview {
	margin: 0 auto;
	width: 150px;
	height: 150px;
	text-align: center;
	color: #a0a0a0;
}

/* formularz - tekst */
.text-color-option {
	margin-top: 5px;
	margin-right: 5px;
	width: 30px;
	height: 30px;
	display: inline-block;
	background-color: #ffffff;
	border-radius: 50%;
}

.text-color-option:hover {
	background-color: #9fe8ff;
}

.text-color-option.selected {
	background-color: #00a2d7;
}

.text-color-value {
	margin-top: 3px;
	margin-left: 3px;
	width: 24px;
	height: 24px;
	display: inline-block;
	border-radius: 50%;
}

.text-input {
	border-radius: 5px;
	border: 0;
	height: 30px;
	font-size: 16px;
	width: calc(100% - 5px);
	margin-top: 10px;
	margin-bottom: 10px;
	padding-left: 5px;
}

.font-family-select {
	border-radius: 5px;
	border: 0;
	height: 30px;
	font-size: 16px;
	width: 125px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.font-size-input {
	border-radius: 5px;
	border: 0;
	height: 30px;
	font-size: 16px;
	width: 45px;
	padding-left: 5px;
}

.text-btn {
	margin-top: 10px;
	margin-right: 10px;
}

/* dialog - zapis/pobranie */

.save-preview {
	margin: 0 auto;
	margin-bottom: 20px;
	width: 150px;
	height: 150px;
	text-align: center;
	color: #a0a0a0;
}

.order-element .dialog {
	height: 590px;
}

/* dialog - pytanie */
.ask-question-element .dialog {
	height: 560px;
}

/* legenda */
#legend {
	border-radius: 5px;
	margin-top: 70px;
	border: 1px solid #c0c0c0;
	clear: both;
	width: 500px;
    padding: 5px 0;
	text-align: center;
}

#legend .section {
	font-size: 12px;
	font-weight: bold;
	margin: 5px 25px 5px 20px;
    display: block;
    float: none;
}

.line-sticker {
	margin-top: 5px;
	margin-right: 10px;
	float: left;
	display: block;
	width: 40px;
	border: 2px solid red;
}

.line-margin {
	margin-top: 5px;
	margin-right: 10px;
	float: left;
	display: block;
	width: 40px;
	border: 2px dashed lightBlue;
}

/* pomocnicze */
.rotate-90 {
	-ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
    transform: rotate(90deg);
}