@font-face {
	font-family: 'bebasNeueFont';
	src: url('../fonts/BebasNeue Book.ttf') format('truetype');
}

@font-face {
	font-family: 'OpenSans-Light';
	src: url('../fonts/OpenSans-Light.ttf') format('truetype');
}

@font-face {
	font-family: 'GTWalsheimPro-Bold';
	src: url('../fonts/GTWalsheimPro-Bold.ttf') format('truetype');
}

@font-face {
	font-family: 'GTWalsheimPro-Regular';
	src: url('../fonts/GTWalsheimPro-Regular.ttf') format('truetype');
}

@font-face {
	font-family: 'PreloCondensedBook';
	src: url('../fonts/PreloCondensed-Book_1812179.otf') format('opentype');
}

@font-face {
	font-family: 'PreloCondensedBold';
	src: url('../fonts/PreloCondensed-Bold_1812178.otf') format('opentype');
}

@font-face {
    font-family: 'PreloCondensedBold';
	font-weight: bold;
    src: url("../fonts/PreloCondensed-Bold_1812178.otf") format("opentype");
}

@font-face {
    font-family: 'PreloCondensedBook';
    src: url("../fonts/PreloCondensed-Book_1812179.otf") format("opentype");
}

/*Text Selection*/
* {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input {
    -webkit-user-select: auto !important;
    -khtml-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
    user-select: auto !important;
}

/*Anchor popout
* {
    -webkit-touch-callout: none;
    -moz-touch-callout: none;
    -ms-touch-callout: none;
}*/

/* Dragging */
* {
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
}

* {
	-webkit-overflow-scrolling: touch;
	/* text-transform: uppercase; */
	font-weight: 400;
}

html *{
	font-family: "PreloCondensedBook", "GTWalsheimPro-Regular", "OpenSans-Light", Sans-serif;
	transition: all .4s ease !important;
	-webkit-overflow-scrolling: touch;
}

html, body {
	padding: 0;
    margin: 0;
	height: 100%;
    min-height: 100%;
	overflow-x: hidden;
	overflow-y: visable;
}

.app {
	overflow-x: hidden;
	overflow-y: visable;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "PreloCondensedBold", "GTWalsheimPro-Bold", "OpenSans-Light", "OpenSansRegular";
	font-stretch: condensed;
}

p, ul, span, i, button, input, .datepicker * {
	font-family: "PreloCondensedBook", "GTWalsheimPro-Regular", "OpenSans-Light", Calibri,"Helvetica Neue", Helvetica, Arial, sans-serif;
    	font-weight: 400;
}

.container {
	width: 100% !important;
	max-width: 375px !important;
}

.cn {
	font-family: 'STHeiti-Light', 'Heiti SC', 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
}

li {
	padding-bottom: 1rem;
}

.text-underlined {
  text-decoration: underline !important;
}

.form-control {
	border-radius: 0px !important;
	background: rgba(255, 255, 255, 255) !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
}

select.form-control-customize {
  background: url('https://cloud.mrphotobooth.com.hk/icons/arrow_drop_down_black_48x48.png') 96% / 15% no-repeat #FFFFFF !important;
}

@media (min-width : 667.98px) {
	select.form-control-customize {
		background: url('https://cloud.mrphotobooth.com.hk/icons/arrow_drop_down_black_48x48.png') 96% / 10% no-repeat #FFFFFF !important;
	}
}

/* Phones */
@media ( max-width : 480px) {
	main {
		padding: 0px !important;
	}
}


/* Platform ///////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.head-title, .head-title *, .share-title, .share-title * {
	text-transform: uppercase;
	font-stretch: condensed;
	font-family: 'bebasNeueFont', "OpenSans-Light", Sans-serif;
}

.head-banner {
	background: transparent !important;
	height: 90px;
 	display: -webkit-box;
  	display: -ms-flexbox;
  	display: flex;
  	-webkit-box-align: center;
  	-ms-flex-align: center;
  	align-items: center;
  	margin: 0 auto;
}

.navbar {
	padding: 0px;
	background: transparent !important;
}

.footer {
  height: 80px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .1);
  position: fixed;
  right: 0;
  bottom: -1px;
  width: 100%;
}

.FixedHeightContainer
{
  /*float: right;
  height: 350px;
  padding: 0; */
}

.Content
{
  /*height: 300px;
  overflow: auto;*/
}

.form-control {
	font-weight: 100;
	font-size: 14px !important;
	background: #FFFFFF !important;
    	border-radius: .25rem !important;
	border: 1px solid #ced4da !important;
}

.form-control:hover {
	background: #FFFFFF !important;
}

.form-control:focus {
	background: #FFFFFF !important;
}

.form-control::placeholder {
	
}

.form-control:-ms-input-placeholder {
	
}

.form-control-red-border {
	border-color: #FF0000  !important;
}

.btn {
	border-radius: 0px !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
}

.form-login {
	border-radius: 0.25rem !important;
	border-color: rgba(206, 212, 218, 255) !important;
}

.text-limit {
    width: 220px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-top: 5px;
}

/* Loader ///////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
#loader {
	height: 100%;
	width: 100%;
	position: fixed;
	left: 0;
	top: 0;
	margin: 0;
	padding: 0;
	z-index: 9999;
	display: none;
	overflow: hidden;
}

#loader.show {
	display: block !important;
  	transition: opacity 2s linear;
	z-index: 9999;
}

.loader-cover {
	height: 100%;
	width: 100%;
	background: rgba(255, 255, 255, 0.9);
    opacity: .5;
}

.loader-logo {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -60px;
	margin-left: -60px;
	width: 60px;
	height: 60px;
	border: 16px solid #f3f3f3;
	border-radius: 50%;
	border-top: 16px solid #3498db;
	-webkit-animation: spin 2s linear infinite; /* Safari */
	animation: spin 2s linear infinite;
}
	
@media ( max-width : 767.98px) {
	.loader-logo {
    	margin-left: -35px;
    }
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Background Cover ///////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
.background-cover {
	left: 0;
	bottom: 0;
	overflow: hidden;
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
	z-index: -999999;
	position: fixed;
	pointer-events: none;
	background-repeat: no-repeat !important;
	background-size: contain !important;
	/* Add the blur effect */
	filter: blur(0px);
	-webkit-filter: blur(0px);
}

/* Phones to tablets */
@media ( max-width : 820px) {
	.background-cover {
		background-size: contain !important;
	}
}

/* Phones */
@media ( max-width : 480px) {
	.background-cover {
		background-size: contain !important;
	}
}

.background-water-mark {
	position: relative;
	width: 100%;
	height: 100%;
	z-index: -99;
	background: rgba(0, 0, 0, .5);
}

.background-water-mark p {
	color: #FFFFFF;
	font-size: 18px;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
}

/* Main View ///////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
.img-gallery {
	text-align: center;
	vertical-align: middle;
	margin-bottom: 10px;
}

.img-helper {
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}

.img-thumbnail {
	padding: 0px !important;
	white-space: nowrap;
	text-align: center;
	margin: 0 auto;
	border: 1px solid #dee2e6;
	background: rgba(248, 248, 248, 0.2) !important;
}

.img-fluid-download  {
	max-width: 100%;
	height: 210px;
	max-height: 220px;
}

.img-thumbnail-download  {
	height: 220px;
}

.img-thumbnail-square  {
	width: 220px !important;
	height: 220px !important;
}

.img-fluid {
	vertical-align: middle;
}

.img-fluid-square {
	background: #f8f9fa;
	max-height: 210px;
}

.img-caption {
	text-align: center;
	margin: 0 auto;
	width: 220px;
	max-width: 100%; 
}


/* Phones */
@media ( max-width : 480px) {
	.mfp-container {
		height: 80%;
	}
}

/* Upload View ///////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
.landing-box {
	background: transparent;
	height: 500px;
	border: 1px solid #dee2e6;
	border-radius: .25rem;
	border: 1px solid #dee2e6;
}

.landing-box h2 {
	position: relative;
	float: left;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.col-centered {
	display: inline-block;
	float: none;
	text-align: center;
	margin: 0 auto;
}


/* Download View ///////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
.share-link svg {
	vertical-align: middle;
	width: 24px;
	height: 24px;
}

.share-title {
	width: 100%;
    font-size: 1.3rem;
	color: #fff;
	margin: 0 0 15px;
	padding: 0;
	padding-top: 20px;
	border-bottom: 3px solid #80cbc4;
}

.share-title>span {
	display: inline-block;
	margin-bottom: -3px;
	padding-bottom: 10px;
	border-bottom: 3px solid #00897b;
}

.modal-dialog {
/* 	-webkit-transform: translate(0, -30%); */
/* 	-o-transform: translate(0, -30%); */
/* 	transform: translate(0, -30%); */
/* 	top: 30%; */
	margin: 0 auto;
}

/* Popup View ///////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.mfp-iframe-holder .mfp-content {
    line-height: 0;
    height: 400px;
    width: 650px;
}

.mfp-iframe-scaler iframe{
     border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
}

.mfp-container {
	height: 100%;
}

.mfp-content {
	opacity: 1;
}

.mfp-img {
	max-height: 700px !important;
}

.mfp-fade.mfp-bg {
	opacity: 0;
	-webkit-transition: all 0.15s ease-out;
	-moz-transition: all 0.15s ease-out;
	transition: all 0.15s ease-out;
}

.mfp-fade.mfp-bg.mfp-ready {
	opacity: 0.8;
}

.mfp-fade.mfp-bg.mfp-removing {
	opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
	opacity: 0;
	-webkit-transition: all 0.15s ease-out;
	-moz-transition: all 0.15s ease-out;
	transition: all 0.15s ease-out;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
	opacity: 1;
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
	opacity: 0;
}

.mfp-iframe-scaler iframe {
	background: transparent;
	overflow:hidden;
	box-shadow: 0 0 0px rgba(0, 0, 0, 0) !important;
}

.mfp-iframe-scaler .mfp-close {
	display: none;
}


#output {
	width: 100%;
	height: 100%;
}
#output > canvas {
	width: 100%;
}

/* Phones */
@media ( max-width : 480px) {
	.mfp-container {
		height: 60%;
	}
	.mfp-wrap {
		height: 600px !important;
	}
}

/* Phones to tablets */
@media ( max-width : 768px) {
	.head-banner {
		height: 90px;
		margin: 0 auto;
	}
	.img-thumbnail-square {
		height: 210px;
		width: 100%;
	}
	.img-fluid-square {
		max-height: 200px;
		max-width: 100%;
	}
}

/* Phones */
@media ( max-width : 480px) {
	body {
		overflow-x: hidden;
	}
	.head-banner {
		height: 70px;
		margin: 0 auto;
	}
	.head-title {
		margin-top: 30px;
	}
	.app {
		padding-top: 20px;
		padding-left: 10px;
		padding-right: 10px;
	}
	.img-thumbnail-square  {
		max-height: 250px;
	}
	.img-fluid-square {
		height: 240px;
	}
	#qrcode-modal {
		width: 375px;
	}
	#text-select, #btn-clear {
		width: 100% !important;
	}
	.col-left, .col-right {
		padding-left: 10px;
		padding-top: 0px;
		padding-right: 10px;
		padding-bottom: 5px;
	}
	.landing-box {
		height: 200px;
	}
}

select.form-control-customize {
  border-radius: 0px !important;
  border-color: rgba(0, 0, 0, 255) !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  transition: none !important;
  background: url('https://cloud.mrphotobooth.com.hk/icons/arrow_drop_down_black_48x48.png') 100% / 20px no-repeat #FFFFFF !important;
}

@media (min-width : 667.98px) {
	select.form-control-customize {
		background: url('https://cloud.mrphotobooth.com.hk/icons/arrow_drop_down_black_48x48.png') 100% / 20px no-repeat #FFFFFF !important;
	}
}
