
.section-profile-intro { margin: 130px 0 150px 0; padding: 0; min-height: 360px; transition: 0.3s; }
.section-profile-intro h1 { margin-bottom: 20px; text-transform: uppercase; }
.section-profile-intro h2 { font-size: 22px; margin-bottom: 15px; line-height: 1.4em; }
.profile-intro-text { position: relative; padding: 50px 0; }
.profile-intro-text p { font-family: 'chulalongkornregular', sans-serif; font-size: 20px; line-height: 1.5em; color: #DB598A; }
.profile-intro-text p.remark { margin-top: 30px; font-family: 'chulacharasnewregular', sans-serif; font-size: 13px; color: #917948; font-style: italic; line-height: 1.6em; }
.profile-intro-text p.remark span { display: block; font-family: 'chulacharasnewbold', sans-serif; font-weight: bold; color: #917948; line-height: 1.8em; text-decoration: underline; }
.profile-intro-text .btn-file { position: relative; }
.profile-intro-text .btn-file input[type=file] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; }
.profile-intro-img { position: relative; min-height: 300px; }
.profile-intro-img img { width: 100%; max-width: 100%; -webkit-box-shadow: -30px 30px 70px -10px rgba(0, 0, 0, 0.1); -moz-box-shadow: -30px 30px 70px -10px rgba(0, 0, 0, 0.1); box-shadow: -30px 30px 70px -10px rgba(0, 0, 0, 0.1);  }
.profile-intro-img-item { position: absolute; box-shadow: rgba(0, 0, 0, 0.2) 56px 72px 68px -37px; transform: translate3d(0px, 0, 0px); }
.profile-intro-img-item:nth-child(1) { z-index: 1; max-width: 280px; top: 20px; left: 50%; margin-left: -140px; }
.profile-intro-img-item:nth-child(2) { z-index: 2; max-width: 180px; top: 100px; left: -15%; }
.profile-intro-img-item:nth-child(3) { z-index: 3; max-width: 140px; top: 50px; left: 70%; }
@media (max-width: 1199px) {
    .section-profile-intro { margin: 130px 0 0 0; }
}
@media (max-width: 991px) {
	.section-profile-intro { margin: 80px 0 0 0; }
}
@media (max-width: 767px) {
	.section-profile-intro h1 { font-size: 30px; margin-bottom: 10px; }
	.section-profile-intro { min-height: 0; height: auto; text-align: center; }
	.profile-intro-text { padding: 40px 0 30px 0; }
}
@media (min-width: 576px) {
	.profile-intro-img-item:nth-child(1) { } 
  	.profile-intro-img-item:nth-child(2) { left: 5%; } 
	.profile-intro-img-item:nth-child(3) { top: 50px; left: 75%; }
}
@media (min-width: 768px) {
	.profile-intro-img-item:nth-child(1) { max-width: 360px; top: 0; left: 10%; margin-left: 0; } 
  	.profile-intro-img-item:nth-child(2) { top: 120px; left: -5%; } 
	.profile-intro-img-item:nth-child(3) { top: 50px; left: 75%; }
}
@media (min-width: 992px) {
	.section-profile-intro { min-height: 460px; }
	.profile-intro-img-item:nth-child(1) { top: 50px; left: 10%; } 
  	.profile-intro-img-item:nth-child(2) { max-width: 220px; top: 160px; left: -10%; } 
	.profile-intro-img-item:nth-child(3) { top: 75px; left: 65%; }
}
@media (min-width: 1200px) {
	.profile-intro-img-item:nth-child(1) { max-width: 460px; top: 0; left: 20%; } 
  	.profile-intro-img-item:nth-child(2) { max-width: 300px; top: 120px; left: 0%; } 
	.profile-intro-img-item:nth-child(3) { max-width: 260px; top: 40px; left: 75%; }
}
@media (min-width: 1440px) {
    .profile-intro-img-item:nth-child(1) { max-width: 560px; top: -50px; left: 25%; } 
	.profile-intro-img-item:nth-child(2) { top: 130px; left: 5%; } 
  	.profile-intro-img-item:nth-child(3) { top: 50px; left: 75%; } 
}

.section-profile-create { display: none; margin: 0; padding: 0 0 50px 0; background: #f7f2ef url(../images/bg-grid.png) top; transition: 0.3s; }
.section-profile-create.visible { display: block; }
.section-profile-create img { max-width: 100%; }
.section-profile-create h2 { font-size: 22px; margin-bottom: 15px; line-height: 1.4em; }

.alert { display: block; border-radius: 0; }
.alert.alert-warning { border: 1px solid #000; font-size: 14px; line-height: 1.6em; }
.alert.alert-warning span { font-family: 'chulalongkornbold', sans-serif; font-size: 16px; font-weight: bold; line-height: 1.6em; display: block; }
.alert.alert-warning small { margin-top: 10px; line-height: 1.6em; display: block; }
.alert.alert-warning small span { text-transform: lowercase; font-size: 14px; }

.create-wrapper { width: 300px; min-height: 540px; margin: 50px auto 0 auto; }
.create-wrapper .create-image-wrapper { width: 300px; margin: 0 auto; display: none; }
.create-wrapper .create-image-wrapper.visible { display: block; }
.create-wrapper .create-image-wrapper .crop-wrapper { padding: 0; }
.create-wrapper .create-image-wrapper .crop-wrapper img { position: absolute; left: 0; top: 0; }
.create-wrapper .create-image-wrapper .crop-wrapper .cr-slider-wrap { margin: 10px auto 20px auto; }
.create-wrapper .create-text-wrapper { margin: 0 auto 50px auto; text-align: center; display: none; }
.create-wrapper .create-text-wrapper.visible { display: block; }
.result-wrapper { width: 300px; min-height: 540px; margin: 50px auto 0 auto; }
.result-wrapper .result-image-wrapper { width: 300px; height: 300px; margin: 0 auto 30px auto; text-align: center; display: none; }
.result-wrapper .result-image-wrapper.visible { display: block; }
.result-wrapper .result-image-wrapper .result-image-output { width: 300px; border: 1px solid #000; margin-bottom: 30px; -webkit-box-shadow: 0 0 70px -10px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 0 70px -10px rgba(0, 0, 0, 0.1); box-shadow: 0 0 70px -10px rgba(0, 0, 0, 0.1); }
.result-wrapper .result-text-wrapper { margin: 0 auto; text-align: center; display: none; }
.result-wrapper .result-text-wrapper.visible { display: block; }
.result-wrapper .result-text-wrapper h2 { margin-bottom: 30px; }
.result-wrapper .result-text-wrapper .btn { margin-bottom: 20px; }
.profile-upload-msg { display: none; }
.profile-create-msg { display: none; }
.profile-btn-create { display: none; }
.profile-btn-create.visible { display: inline-block; }
#profile-frame-design-2 { display: none }
#profile-frame-design-3 { display: none }
@media only screen and (min-width : 992px) {
    .create-wrapper { width: 100%; margin-top: 50px; }
	.result-wrapper { width: 100%; margin-top: 50px; }
}
@media only screen and (min-width : 1440px) {
	.section-profile-create { min-height: 450px; }
	.create-wrapper { min-height: inherit; }
	.create-wrapper .create-image-wrapper { position: absolute; }
	.create-wrapper .create-text-wrapper { padding-left: 330px; text-align: left; }
	.result-wrapper { min-height: inherit; }
	.result-wrapper .result-image-wrapper { position: absolute; }
	.result-wrapper .result-text-wrapper { padding-left: 330px; text-align: left; }
}

/*--------------------------------------------------------------
## Croppie
--------------------------------------------------------------*/
.croppie-container { padding: 30px; }
.croppie-container .cr-image { z-index: -1; position: absolute; top: 0; left: 0; transform-origin: 0 0; max-width: none; }
.croppie-container .cr-boundary { z-index: 1; position: relative; overflow: hidden; margin: 0 auto; }
.croppie-container .cr-viewport { z-index: 0; position: absolute; top: 0; bottom: 0; right: 0; left: 0; border: 2px solid #fff; margin: auto;  box-shadow: 0 0 2000px 2000px rgba(0, 0, 0, 0.5); }
.croppie-container .cr-vp-circle { border-radius: 50%; }
.croppie-container .cr-overlay { z-index: 1; position: absolute; cursor: move; }
.croppie-container .cr-slider-wrap { width: 75%; margin: 0 auto; margin-top: 25px; text-align: center; }
.croppie-result { position: relative;  overflow: hidden; }
.croppie-result img { position: absolute; }
.croppie-container .cr-image,
.croppie-container .cr-overlay, 
.croppie-container .cr-viewport { -webkit-transform: translateZ(0); -moz-transform: translateZ(0); -ms-transform: translateZ(0); transform: translateZ(0); }
.cr-slider { -webkit-appearance: none; width: 300px; max-width: 100%; }
.cr-slider::-webkit-slider-runnable-track { width: 100%; height: 3px; background: rgba(219, 89, 138, 0.5); border: 0; border-radius: 3px; }
.cr-slider::-webkit-slider-thumb { -webkit-appearance: none; border: none; width: 16px; height: 16px; border-radius: 50%; background: #db598a; margin-top: -6px; }
.cr-slider:focus { outline: none; }
.cr-slider::-moz-range-track { width: 100%; height: 3px; background: rgba(0, 0, 0, 0.5); border: 0; border-radius: 3px; }
.cr-slider::-moz-range-thumb { border: none; width: 16px; height: 16px; border-radius: 50%; background: #ddd; margin-top: -6px; }
.cr-slider:-moz-focusring{ outline: 1px solid white; outline-offset: -1px; }
.cr-slider::-ms-track { width: 300px; height: 5px; background: transparent; border-color: transparent; border-width: 6px 0; color: transparent; }
.cr-slider::-ms-fill-lower { background: rgba(0, 0, 0, 0.5); border-radius: 10px; }
.cr-slider::-ms-fill-upper { background: rgba(0, 0, 0, 0.5); border-radius: 10px; }
.cr-slider::-ms-thumb { border: none; width: 16px; height: 16px; border-radius: 50%; background: #ddd; }
.cr-slider:focus::-ms-fill-lower { background: rgba(0, 0, 0, 0.5); }
.cr-slider:focus::-ms-fill-upper { background: rgba(0, 0, 0, 0.5); }
.cr-rotate-controls { z-index: 1; position: absolute; bottom: 5px; left: 5px; }
.cr-rotate-controls button { border: 0; background: none; }
.cr-rotate-controls i:before { display: inline-block; font-style: normal; font-weight: 900; font-size: 22px; }
.cr-rotate-l i:before { content: '↺'; }
.cr-rotate-r i:before { content: '↻'; }
