/* Fonts */
@import url('https://fonts.googleapis.com/css?family=Baloo&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

/* devanagari */
@font-face {
  font-family: 'Baloo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Baloo Regular'), local('Baloo-Regular'), url(https://fonts.gstatic.com/s/baloo/v5/6xKhdSpJJ92I9MWOCm7bLnwIcOM.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* vietnamese */
@font-face {
  font-family: 'Baloo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Baloo Regular'), local('Baloo-Regular'), url(https://fonts.gstatic.com/s/baloo/v5/6xKhdSpJJ92I9MWACm7bLnwIcOM.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Baloo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Baloo Regular'), local('Baloo-Regular'), url(https://fonts.gstatic.com/s/baloo/v5/6xKhdSpJJ92I9MWBCm7bLnwIcOM.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Baloo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Baloo Regular'), local('Baloo-Regular'), url(https://fonts.gstatic.com/s/baloo/v5/6xKhdSpJJ92I9MWPCm7bLnwI.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
* {
	box-sizing: border-box;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  font-family: 'Open Sans', sans-serif;
  color: #565656;
  font-size: 14px;
  text-transform: uppercase;
  opacity: 1;
}
::-moz-placeholder { /* Firefox 19+ */
  font-family: 'Open Sans', sans-serif;
  color: #565656;
  font-size: 14px;
  text-transform: uppercase;
  opacity: 1;
}
:-ms-input-placeholder { /* IE 10+ */
  font-family: 'Open Sans', sans-serif;
  color: #565656;
  font-size: 14px;
  text-transform: uppercase;
  opacity: 1;
}
:-moz-placeholder { /* Firefox 18- */
  font-family: 'Open Sans', sans-serif;
  color: #565656;
  font-size: 14px;
  text-transform: uppercase;
  opacity: 1;
}

/* App */
.app {
	background-color: #274271;
}

/* App Box */
.app-box {
	background-color: #fff;
	padding: 17px 32px 17px 17px;
	border-radius: 10px;
	max-width: 840px;
	margin: 78px auto 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	position: relative;
}
.app-box-left {
	width: 100%;
	max-width: 428px;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 3px 4px 5px -2px rgba(0,0,0,0.43);
	padding: 12px 25px;
	position: relative;
	padding: 0;
}
#capture {
	margin: 10px auto;
    position: relative;
    /* left: 14px; */
	/* text-align: center; */

	display: flex;
    justify-content: center;
	align-items: center;

	background: url(lib/images/cover.jpg) no-repeat center;
	background-size: cover;
	max-width: 394px;
}

#capture img{
	max-width: 100%;
	height: auto;
}

.app-textholder {
    position: absolute;
    /* top: 250px; */
    top: 32%;
    text-align: center;
    width: 100%;
    /* margin-left: -19px; */
}


.app-textholder-name {
	font-size: 28px;
	color: #e85e00;
	font-family: 'Baloo', cursive;
	text-transform: uppercase;
	display: block;
	margin-bottom: 18px;
}
.app-textholder-date {
	font-size: 18px;
	color: #274271;
	font-family: 'Baloo', cursive;
	text-transform: uppercase;
	display: block;
	margin-bottom: 8px;
}
.app-textholder-hour {
	font-size: 18px;
	color: #274271;
	font-family: 'Baloo', cursive;
	text-transform: uppercase;
	display: block;
}
.app-addressholder {
	position: absolute;
	width: 95%;
	max-width: 330px;
    bottom: 50px;
    background: #fff;
    /* padding: 15px 45px; */
    padding: 15px 0;
    margin: 0 auto;
    /* margin-left: 30px; */
    border-radius: 7px;
    font-size: 14px;
    color: #274271;
    font-family: 'Baloo', cursive;
    text-transform: uppercase;
    display: block;
    margin-bottom: -14px;
    text-align: center;
    line-height: 1.5;
}
.app-box-right {
	width: 100%;
	max-width: 340px;
}
.app-brand {
	position: absolute;
    top: -60px;
    right: -50px;
}
.app-button-logoff {
    height: 44px;
    border: none;
    background-color: #dc1b1c;
    text-transform: uppercase;
    color: #fff;
    border-radius: 10px;
    width: 139px;
    font-family: 'Baloo', cursive;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.app-button-create,
.app-button-download {
	height: 50px;
	border: none;
	background-color: #e75e00;
	text-transform: uppercase;
	color: #fff;
	border-radius: 7px;
	width: 100%;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	cursor: pointer;
	margin-bottom: 10px;
	position: relative;
	outline: none;
}
.app-button-create i,
.app-button-download i {
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
	font-size: 20px;
}
.app-button-download {
	background-color: #16a589;
    margin-bottom: 0;
    text-align: left;
    padding: 0 18px;
}
.app-title {
	font-family: 'Baloo', cursive;
	text-transform: uppercase;
	font-size: 37px;
	color: #e75e00;
	margin: 28px 0;
}
.app-title span {
	display: block;
	font-size: 24px;
}
.app-textfield input,
.app-selectfield select {
    display: block;
    width: 100%;
    height: 38px;
    background: #fff;
    border: solid 1px #565656;
    border-radius: 7px;
    outline: none;
    padding: 0 17px;
    font-family: 'Open Sans', sans-serif;
  	color: #565656;
  	font-size: 14px;
  	text-transform: uppercase;
  	margin-bottom: 7px;
}
.selo {
	display: block;
	margin-top: 20px;
}
.app-login {
	position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.app-login-box {
	width: 100%;
	max-width: 787px;
	border-radius: 10px;
	background: #fff;
	display: flex;
	justify-content: space-between;
	overflow: hidden;
}
.app-login-box-left {
	width: 100%;
	min-width: 438px;
}
.app-login-box-right {
	width: 100%;
}
.app-login-box-left {
	background-image: url(lib/images/cover-login.png);
	background-repeat: no-repeat; 
	background-size: cover;
}
.app-login-box-right {
	padding: 48px 22px;
}
.app-login-title {
	display: block;
	text-transform: uppercase;
	font-size: 34px;
	color: #e75e00;
	margin-bottom: 28px;
	text-align: center;
	font-family: 'Baloo', cursive;
}
.app-login-field {
	display: block;
	width: 100%;
	height: 52px;
	border-radius: 10px;
	outline: none;
	background-color: #274271;
	border: none;
	color: #fff;
	font-size: 14px;
	font-family: 'Open Sans', sans-serif;
	padding: 0 22px;
	margin-bottom: 10px;
}
.app-login-field::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #fff;
  opacity: 1;
}
.app-login-field::-moz-placeholder { /* Firefox 19+ */
  color: #fff;
  opacity: 1;
}
.app-login-field:-ms-input-placeholder { /* IE 10+ */
  color: #fff;
  opacity: 1;
}
.app-login-field:-moz-placeholder { /* Firefox 18- */
  color: #fff;
  opacity: 1;
}
.app-login-button {
	height: 50px;
	border: none;
	background-color: #e75e00;
	text-transform: uppercase;
	color: #fff;
	border-radius: 7px;
	width: 100%;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	cursor: pointer;
	position: relative;
	outline: none;
}
.app-message {
	border-radius: 7px;
    background: #e74c3c;
    padding: 15px 17px;
    color: #fff;
    margin-bottom: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}

@media(max-width: 850px){
	.app-box{
		width: 95%;
		flex-direction: column-reverse;
		align-items: center;
		padding: 10px; 
	}

	.app-brand{
		right: 50%;
		top: -70px;
		transform: translateX(50%);
	}

	.app-box-right{
		max-width: 100%;
		margin-bottom: 40px;
	}

	.app-box-left{
		box-shadow: 0px 0px 15px 7px rgba(0,0,0,0.43);
	}

	.app-login{
		overflow: scroll;
	}

	.app-login-box{
		flex-direction: column;
		width: 95%;
	}

	.app-login-box-left{
		height: 260px;
		background-position: center;
		background-size: cover;
	}


}
@media(max-width: 500px){
	.app-box{
		padding-top: 50px;
	}

	.app-textfield input,
	.app-selectfield select,
	input.app-login-field,
	input:focus,
	select:focus{
		font-size: 16px;
	}
}

@media(max-width: 400px){
	.app-textholder-name{
		font-size: 25px;
		margin-bottom: 13px;
	}

	.app-textholder-date,
	.app-textholder-hour{
		font-size: 15px;
	}
}

@media(max-width: 450px){
	.app-box{
		padding-top: 80px;
	}
}

@media(max-width: 350px){
	.app-textholder-name{
		font-size: 22px;
		margin-bottom: 10px;
	}
}