html {
	overflow-x: hidden;
}

body {
/*	background: url(../image/v02/bg-mini.png);*/
	background-repeat: repeat;
	background-size: 60%;
	background-color: #fff;
/*	font-family: 'db_airystd_med';*/
}

html,
body {
	height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'db_airystd_bd';
	margin: 0 0 35px;
	letter-spacing: 1px;
}

#all-wrap {
	min-height: 100%;
}


/* Preload css */
#loader-wrapper {
	position: fixed;
	display: grid;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #2b3143;
	z-index: 1002;
}

@keyframes clockwise {
	to {
		transform: rotate(360deg) translateZ(0);
	}
}

@-webkit-keyframes clockwise {
	to {
		transform: rotate(360deg) translateZ(0);
	}
}

@-moz-keyframes clockwise {
	to {
		transform: rotate(360deg) translateZ(0);
	}
}

#loader-collection {
	position: absolute;
	top: 50%;
	left: 50%;

	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

#loader {
	display: block;
	margin-right: auto;
	margin-left: auto;
	background-color: transparent;
	width:  8px;
	height: 8px;
	border-radius: 100%;
	box-shadow:
	     12px -12px rgba(242, 20, 39, 0.125),
	     17px     0 rgba(242, 20, 39, 0.250),
	     12px  12px rgba(242, 20, 39, 0.375),
	        0  17px rgba(242, 20, 39, 0.500),
	    -12px  12px rgba(242, 20, 39, 0.625),
	    -17px     0 rgba(242, 20, 39, 0.750),
	    -12px -12px rgba(242, 20, 39, 0.875),
	        0 -17px rgba(242, 20, 39, 1.000);

	-webkit-animation: clockwise 0.74s steps(8, end) infinite;
	-moz-animation: clockwise 0.74s steps(8, end) infinite;
	animation: clockwise 0.75s steps(8, end) infinite;
}

#loader-collection {
	display: block;
}

#loader-running {
	display: block;
	margin-top: 35px;
}

#loader-collection #loader-pic {
	max-width: 120px;
}

#loader-collection #loader-pic .image-loader {
	display: block;
	width: 100%;
}

.loaded #loader-wrapper .loader-section {
	opacity: 0;

	-webkit-transition: all .7s .3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
	-moz-transition: all .7s .3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
	transition: all .7s .3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.loaded #loader-pic,
.loaded #loader {
	transform: scale(0,0) rotate(35deg);

	opacity: 0;
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
	transition: all .3s ease-out;
}

.loaded #loader-wrapper {
	visibility: hidden;

	transform: translateY(100%);
	-webkit-transform: translateY(100%);
	-moz-transform: translateY(100%);

	-webkit-transform-origin: bottom;
	-moz-transform-origin: bottom;
	transform-origin: bottom;
	/*opacity: 0;*/

	-webkit-transition: all .3s 1s ease-out;
	-moz-transition: all .3s 1s ease-out;
	transition: all .3s 1s ease-out;
}

/* Javascript Turn Off */
.no-js #loader-wrapper {
	display: none;
}

.content-collection {
	margin-top: 30px;
	margin-bottom: 60px;
}

.create-service-container {
	background-color: #fff;
	margin-top: 20px;
/*	padding: 15px;*/
/*	border: 1px solid rgba(0,0,0,.2);*/
}

.cover-image-container {
	position: relative;
	padding: 10px;
	margin-bottom: 15px;
}

.big-each-cover-image-container {
	position: absolute;
	width: 100%;
	height: 100px;
}

.mock-cover-service-img {
	width: 45%;
	position: absolute;
	top: 50%;
	left: 50%;

	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
}

.each-cover-image-container,
.image-loader-container {
	display: inline-block;
	width: 100%;
	height: 100px;
	position: relative;
	vertical-align: top;
	margin-right: 15px;
/*	margin-bottom: 15px;*/
}

.mock-cover-service-container {
	display: inline-block;
	position: relative;
	vertical-align: top;
	margin-right: 10px;
	margin-bottom: 15px;
	background-color: rgba(242, 21, 41, .035);
	border: 2px dashed #F21529;
}

.each-cover-image-container2,
.mock-cover-service-container{
	width: 100px;
	height: 100px;
}

.image-loader-container {
	position: relative;
	background-color: #e2e2e2;
	color: #393939;
	border-radius: 5px;
}

@keyframes loadingRotate {
	from {
		transform: rotateZ(0deg);
	}
	to {
		transform: rotateZ(360deg);
	}
}

@-webkit-keyframes loadingRotate {
	from {
		transform: rotateZ(0deg);
	}
	to {
		transform: rotateZ(360deg);
	}
}

@-o-keyframes loadingRotate {
	from {
		transform: rotateZ(0deg);
	}
	to {
		transform: rotateZ(360deg);
	}
}

@-moz-keyframes loadingRotate {
	from {
		transform: rotateZ(0deg);
	}
	to {
		transform: rotateZ(360deg);
	}
}

.image-loader-inner-container {
	position: absolute;
	width: 25px;
	height: 25px;
	font-size: 1.5rem;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.image-loader-inner-container i{
	line-height: 25px;
	display: block;
	width: 100%;
	text-align: center;

	-webkit-animation: loadingRotate 1s infinite;
	-moz-animation: loadingRotate 1s infinite;
	-o-animation: loadingRotate 1s infinite;
	animation: loadingRotate 1s infinite;
}

.each-cover-image {
	width: 100%;
	height: 100%;
	position: relative;
	object-fit: cover;
	background-color: #2b3143;
	border-radius: 5px;
}

.each-cover-remove-icon-container {
	position: absolute;
	top: -10px;
	right: -10px;
	width: 25px;
	height: 25px;
	background-color: red;
	border-radius: 100%;
}

.each-cover-remove-link {
	color: #fff;
	line-height: 25px;
	display: block;
	text-align: center;
	font-size: 1rem;
}

.service-cover-input,
.service-cover-btn {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.service-cover-input {
	z-index: 2;
	opacity: 0;
}

.service-cover-btn {
	z-index: 1;
	font-size: 1.5rem;
	border-radius: 5px;
	color: #393939;
	background-color: #e2e2e2;
}

.create-service-header--collection {
	margin-bottom: 15px;
	position: relative;
/*	background-color: #E3E3E3;*/
	border-bottom: 1px solid rgba(0,0,0,.45);
	padding: 15px 0;
}

.create-service-header-dots {
	display: inline-block;
	width: 30px;
	height: 30px;
	vertical-align: middle;
	background-color: #fff;
	margin-right: 10px;
	border-radius: 100%;
	color: #434343;
}

.create-text,
.create-service-label {
	font-size: 1rem;
	margin-bottom: 0;
	color: #414141;
}

.create-service-header {
	font-size: 1.15rem;
	display: inline-block;
	vertical-align: middle;
}

.create-text-head {
	font-weight: 700;
}

.create-service-body--collection {
	padding-top: 15px;
	padding-bottom: 15px;
}

.create-service-label--collection,
.create-service-input--collection {
	display: inline-block;
	vertical-align: top
}

.create-service-label--collection {
	width: 25%;
}

.create-service-input--collection {
	width: 73%;
}

.create-service-submit-container {
	text-align: center;
}

.create-service-submit {
	background: #F21529;
	color: #fff;
	width: 180px;
	font-size: 1.2rem;
	font-weight: 600;
	padding: .75rem 1.5rem;;
}

.create-service-field{
/*	border: none;*/
/*	border-bottom: 1px solid #7b7b7b;*/
}

.service-selection {
	border: 1px solid #a7a7a7;
	width: 40%;
}

.create-service-textarea {
	resize: none;
}

.toggle-label {
	font-weight: 700;
	font-size: 1.1rem;
}

.create-service-status,
.personal-info {
	margin-right: 10px;
}

#service-price {
	width: 32%;
	display: inline-block;
}

.coin-unit-label {
	font-size: 1.1rem;
	font-weight: 700;
}

.coin-unit-label span{
	font-weight: 500;
	margin-left: 10px;
	display: none;
}

.rate-price {
	display: block;
}

.create-header-text {
	font-family: 'Kanit', sans-serif;
	font-size: 1.6rem;
	font-weight: 700;
	display: inline-block;
	border-bottom: 4px solid #F21529;
	color: #393939;
}

.create-article-container {
	margin-top: 20px;
}

.each-create-article-field-container {
	margin-bottom: 25px;
}

.create-article-label {
	margin-bottom: 5px;
	color: #393939;
	font-weight: 700;
	font-size: 1.15rem;
}

.article-cover-img-container {
	position: relative;
	width: 200px;
	height: 150px;
	display: none;
}

.article-cover-img-container.active {
	display: block;
}

.article-cover-btn-mock {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(242, 21, 41, .035);
	border: 2px dashed #F21529;
}

.create-article-submit-container {
	text-align: center;
}

.create-article-submit {
	padding: .85rem 4.5rem;
	font-size: 1.3rem;
	color: #fff;
	background-color: #f21529;
}

.article-cover-uploaded-container {
	position: relative;
	width: 200px;
	height: 150px;
	background-color: #2b3143;
}

.article-cover-uploaded-remove {
	position: absolute;
	top: -10px;
	right: -10px;
	height: 20px;
	width: 20px;
	text-align: center;
	line-height: 20px;
	background-color: #F21529;
	color: #fff;
	border-radius: 100%;
}

.article-cover-uploaded-remove:hover,
.article-cover-uploaded-remove:focus {
	color: #fff;
}

.article-cover-uploaded {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.right-create-service-status {
	margin-left: 35px;
}

.section-underline {
	width: 100%;
	position: relative;
	margin-top: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid rgba(0,0,0,.4);
}

.status-label-txt {
	margin-right: 15px;
}

.article-selection {
	width: 40%;
}

.create-service-input--collection {
	position: relative;
}

.float-hint-txt {
	position: absolute;
	bottom: -20px;
	left: 50px;
	padding: .25rem .5rem;;
	border-radius: 2px;
	background-color: #434343;
	color: #fff;
	visibility: hidden;
	opacity: 0;

	transition: all .3s ease-out;
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
}

.float-hint-txt.active {
	bottom: -30px;
	visibility: visible;
	opacity: .9;
}

.delete-service-btn {
	background-color: #2b3143;
}

.bootstrap-tagsinput {
	display: block;
	padding: .5rem .75rem;
	font-size: 1rem;
	line-height: 1.25;
	color: #495057;
	background-color: #fff;
	background-image: none;
	background-clip: none;
	border: 1px solid rgba(0,0,0,.15);
	border-radius: .25rem;
	transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.tt-menu {
	background-color: #fff;
	border: 1px solid rgba(0,0,0,.1);
}

.tt-menu .tt-cursor {
	background-color: #F21529;
	color: #fff;
}

.tt-menu .tt-suggestion {
	padding: .5rem .75rem;
	border-radius: 2px;
}

@media(min-width: 320px) {
	.each-cover-image-container,
	.image-loader-container,
	.big-each-cover-image-container {
		width: 100%;
		height: 80px;
	}

	.each-cover-image-container2,
	.mock-cover-service-container {
		width: 80px;
		height: 80px;
	}

	.service-cover-btn {
		font-size: 1.2rem;
	}

	.create-service-label--collection,
	.create-service-input--collection {
		width: 100%;
	}

	.create-service-input--collection {
		margin-top: 10px;
	}

	.service-selection {
		width: 100%;
	}

	#service-price {
		width: 80%;
	}

	.toggle-label {
		font-weight: 500;
		font-size: .9rem;
	}

	.coin-unit-label {
		font-size: .9rem;
	}

	.cover-image-container {
		overflow-x: scroll;
		overflow-y: hidden;
		white-space: nowrap;
	}

	.article-selection {
		width: 100%;
	}

	.create-service-submit {
		font-size: 1rem;
		width: 43%;
	}

	.service-cover-input,
	.service-cover-btn {
		width: 720px;
	}
}

@media(min-width: 768px) {
	.create-service-label--collection {
		width: 25%;
	}

	.create-service-input--collection {
		width: 73%;
	}

	.create-service-input--collection {
		margin-top: 0px;
	}

	.each-cover-image-container,
	.image-loader-container,
	.big-each-cover-image-container {
		width: 100%;
		height: 100px;
	}

	.each-cover-image-container2,
	.mock-cover-service-container{
		width: 100px;
		height: 100px;
	}

	.service-cover-btn {
		font-size: 1.5rem;
	}

	.service-selection {
		width: 40%;
	}

	#service-price {
		width: 32%;
	}

	.toggle-label {
		font-weight: 700;
		font-size: 1.1rem;
	}

	.coin-unit-label {
		font-size: 1.1rem;
	}

	.article-selection {
		width: 40%;
	}

	.create-service-submit {
		font-size: 1.2rem;
		width: 180px;;
	}

	.service-cover-input,
	.service-cover-btn {
		width: 880px;
	}

	.rate-price {
		display: none;
	}

	.coin-unit-label span {
		display: inline;
	}
}

@media(min-width: 992px) {
	.cover-image-container {
		overflow-x: hidden;
		overflow-y: hidden;
		white-space: normal;
	}
}
