* { box-sizing: border-box; }

body { background-color: #cfcfcf; margin: 0; padding: 0; font-size: 4vw; }

header {
	background-color: #d60d2d;
    box-shadow: 0 5px 2px 1px rgba(0,0,0,0.3);
	color: white;
    font-size: 1.3em;
    font-family: Oswald;
	padding: 10px 0px;
	text-transform: uppercase;
}

footer {
	background-color: #0f0f0f;
	bottom: 0;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 2.5vw;
	position: fixed;
	display: block;
    width: 100%;
    padding: 15px 5px;
    color: #7f7f7f;
	z-index: -1;
}

p {
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 0.8em;
}

a.tooltip {
	font-size: 12px;
    float: right;
    margin-right: 10px;
    margin-top: 3px;
}

#launch_screen {
	background-color: #fff;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 255;
}

#launch_screen img {
	position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0;
    right: 0;
}

#overlay {
	background-color: rgba(0,0,0,0.5);
	display: none;
	height: 100%;
	left: 0px;
	position: absolute;
	top: 0px;
	width: 100%;
	z-index: 245;
}

#a2hsprompt {
	display: none;
	position: absolute;
	bottom: -150px;
	z-index: 10000;
	width: 100%;
	background-color: white;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.9em;
	padding: 18px;
	border-top: solid 5px #d60d2d;
}

#a2hsprompt > div > a {
	color: gray;
	font-size: 1.5em;
	margin-top: -15px;
	text-decoration: none;
	position: absolute;
	font-weight: bold;
	padding: 5px;
	display: inline-block;
	margin-left: -15px;
}

.slide-up { 
	bottom: 0px !important;
}

.slide-down {
	bottom: -150px !important;
}

#container {
	height: 100%;
	left: 0;
	overflow: hidden;
	position: absolute;
	text-align: center;
	top: 0;
	width: 100%;
}

#container-bg {
	background-image: url('../img/mobile/background.jpg');
	background-size: cover;
	background-position: 50%;
	background-position-y: 50px;
	height: 100%;
	opacity: 0.6;
	position: absolute;
	width: 100%;
	z-index: -1;
}

#logo_container {
	background-color: #fff;
}

#logo_container img {
	margin: 32px 0px 25px 0px;
	width: 75%;
}

#screen_container {
	position: absolute;
	width: 100%;
}

.screen {
	background-color: #fff;
	max-width: 100%;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 20px;
	text-align: center;
	width: 100%;
}

.screen p.err {
	display: none;
}

.screen p.err b {
	color: red;
	text-align: center;
}

.screen label, .screen em {
    display: block;
    font-size: 1.7vh;
    text-align: left;
    font-family: 'Open Sans';
    margin-bottom: 15px;
    margin-top: 1.3vh; /* 1.5vh */
}

.screen select, .screen input {
	-webkit-appearance: none;
	border: solid 1px #767676;
	display: block;
	font-family: Oswald;
	font-size: 1em;
	padding: 0.75vh; /* 1.1vh */
	width: 100%;
	margin-bottom: 1vh;
	text-transform: uppercase;
}

select {
	background-image: url('../img/dropdownarrow.png');
	background-repeat: no-repeat;
	background-size: 24px 24px;
	background-position: right 8px;
	background-color: white;
}

.screen button {
	display: block;
	font-family: Oswald;
	font-size: 2.5vh;
	font-weight: normal;
	padding: 1vh;
	width: 100%;
	margin-top: 15px;
	text-transform: uppercase;
}

#btnCategory {
	margin-bottom: 15px;
}

.btnblue {
	background: linear-gradient(#7794e0, #284798);
	color: white;
	border: solid 1px #14317d;
}

.btnBack {
	/* position: absolute; */
	bottom: 0px;
	left: 40px;
	width: calc(47% - 40px) !important;
	float: left;
}

.btnStep {
	/* position: absolute; */
	bottom: 0px;
	right: 40px;
	width: calc(47% - 40px) !important;
	float: right;
}

.scrform input, .scrform select {
	font-size: 1.55vh !important; /* 1.75vh */
}

.scrform label {
	margin-bottom: 0.3vh !important; /* 0.5vh */
}

.scrform b {
	display: block; 
	font-family: 'Open Sans', arial, sans-serif;
	padding-top: 1.5vh !important;
	text-align: left;
}

#scrWrapDimensions b, #scrWrapDimensions2 b {
	display: inline-block !important;
}

#scrWrapDimensions label, #scrWrapDimensions2 label {
	margin-top: 0.7vh;
}

.scrform h2 {
	font-family: 'Exo 2', sans-serif;
	font-size: 5.5vh;
	font-weight: 100;
	padding: 0;
	margin: 1.5vh;
}

.screen h1 {
	text-align: left;
    margin: 0;
    padding: 0;
    font-family: Oswald;
    padding-top: 1.5vh !important;
    font-size: 3vh;	
}

#scrCategory {
	bottom: 0px;
	position: absolute;
}

.screen_scroll {
    position: relative;
    margin: 0 auto;	
	overflow-y: scroll;
	overflow-x: hidden;
}

#account_settings {
	height: 66%;
}

#history_estimates {
	height: 64%;
}

.history_estimate {
	background: linear-gradient(#ffffff,#dfdfdf);
	margin-bottom: 5px;
	padding: 10px;
	text-align: left;
	width: 100%;
}

.est_name {
	font-family: Oswald;
	font-size: 2.5vh;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}

.est_created {
	font-family: 'Exo 2', sans-serif;
	font-size: 2vh;
	color: black;
	font-weight: bold;
}

.est_delete {
    background: url(../img/trash.gif);
    background-position: center;
    background-repeat: no-repeat;
	cursor: pointer;
    height: 40px;
    margin-top: -3px;	
    opacity: 0.3;
    position: absolute;
    right: 0;
    width: 40px;
}
	
#scrProject_1, #scrProject_2, #scrProject_3, #scrMaterial, #scrWrapDimensions, #scrWrapDimensions2, #scrWrapInstallation, #scrInstallation, #scrFinish, #scrCutVinylInstall, #scrLogin, #scrAccount, #scrHistory, #scrCutVinylMaterial, #scrPurchase, #scrReview, #scrChangePassword {
	display: none;
	width: calc(100% - 40px);
    margin: 20px auto;
    background-color: rgba(255,255,255,0.8);
	/* height: 100%; */
}

#scrHistory {
	height: 100% !important;
}

#scrChangePassword {
	display: block;
	margin-top: 50px;
}

#scrLogin {
	background-color: #fff;
	border-radius: 15px;
	height: auto;
	left: 50%;
	margin-left: -45%;
	overflow: hidden;
	padding-bottom: 10px;
	position:absolute;
	width: 90%;
	z-index: 250;
}

#scrLogin a {
	color: #d60d2d;
}

#scrLogin a:hover {
	text-decoration: none;
}

#scrLogin h1 {
	background-color: #d60d2d;
	color: white;	
	margin: 0 -30px;
	padding-bottom: 1.5vh;
}

#scrLogin input {
	outline-width: none;
}

#scrLogin input.required {
	border-color: red;
}

#btnHistory, #btnAccount{
    color: #d60d2d;
    font-size: 0.9em;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 15px;
}

#btnAccountBack, #btnHistoryBack, #btnAccountLogout {
    color: #d60d2d;
    font-size: 0.9em;
    font-family: 'Open Sans', sans-serif;
}

.cb { clear: both; }

.details_block {
	background-color: #e6e6e6;
	border: solid 1px #b6b6b6;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 0.85em;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 15px;
}

#divSignUp input {
	font-size: 1.25vh !important;
}

#divSignUp label {
	font-size: 1.75vh !important;
}

#scrReview b { display: inline; }
#divReviewBody > b { font-size: 0.8em; }

@media (max-width: 600px) {
	#logo_container header {
		font-size: 1.0em;
	}

	#logo_container img {
		margin: 25px 0px 18px 0px;
		width: 240px
	}

	#scrProject_1, #scrProject_2, #scrProject_3, #scrMaterial, #scrWrapDimensions, #scrWrapDimensions2, #scrWrapInstallation, #scrInstallation, #scrFinish, #scrCutVinylInstall, #scrLogin, #scrAccount, #scrHistory, #scrCutVinylMaterial, #scrPurchase, #scrReview, #scrChangePassword {
		max-height: 95%;
		overflow-y: scroll;
	}
}

@media (min-width: 800px) {
	body {
		font-size: 20px;
	}

	header {
		font-size: 20px;
	}

	footer {
		font-size: 0.7em;
	}

	#logo_container img {
		margin: 25px 0px 18px 0px;
		width: 250px;
	}

	.screen {
		border-radius: 20px;
		max-width: 750px;
		padding-left: 30px;
		padding-right: 30px;
	}

	.screen button {
		/* font-size: 0.9em; */
		margin-top: 15px;
	}

	.btnBack {
		float: left;
		left: 0px;
		position: relative;
		width: 48% !important;
	}

	.btnStep {
		float: right;
		right: 0px;
		position: relative;
		width: 48% !important;
	}

	#btnHistory, #btnAccount {
		font-size: 0.7em;
	}

	#scrCategory {
		bottom: auto;
		left: 50%;
		margin-left: -250px;
		margin-top: -150px;
		position: absolute;
		top: 50%;
		width: 500px;
	}

	#scrLogin {
		margin-left: -250px;
		width: 500px;
	}
}
