
/*								five.css								*/


			/*////////// DIV CLASSES //////////*/

/* Global classes */
.body {
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	padding-bottom: 50px;
}

a {
	color: #333;
}

input[type=submit] {
	height: 35px;
	width: auto;
	padding: 5px 10px;
	border-radius: 7px;
	color: #fff;
	background: #444;
	text-align: center;
	font-size: 18px;
	font-weight: 400;
}

/* Full screen container div */
.outer {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	height: 100%;
	width: 100%;
	background-image: url(http://howmuchismyfivepoundnoteworth.misq.co/img/bg.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-color: #eaeaea;
}

/* Title Section */
.header {
	position: absolute;
	top: 0;
	left: 0;
	padding-top:20px;
	padding-bottom:20px;
	display: block;
	height: auto;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	/*background-color: rgba(206,206,206,0.3);*/
	background: transparent;
	z-index: 1;
}

/* Div for holding value, text box and button */
.value {
	position: relative;
	top: 5%;
	display: block;
	height: 150px;
	width: 355px;
	background: transparent;
	margin-left: auto;
	margin-right: auto;
}

.info {
	position: relative;
	top: 20%;
	display: block;
	height: 150px;
	width: 400px;
	background: transparent;
	margin-left: auto;
	margin-right: auto;
	margin-top: 150px;
	padding-left: 10px;
	padding-right: 10px;
}

.calc {
	position: relative;
	display: block;
	width: 300px;
	margin-left: auto;
	margin-right: auto;
}

/*Text box for entering serial number */
.serial-no {
	height: 30px;
	width: 200px;
	border-radius: 7px;
	padding: 2px;
	padding-left: 10px;
	color: #cecece;
	background: #333;
}

/* Find Out Button */
.button {
	height: 35px;
	width: 70px;
	border-radius: 7px;
	padding: 2px;
	color: #fff;
	background: #444;
	text-align: center;
	font-size: 12px;
	font-weight: 400;
}

/* Outcome message shown after value is given */
.reason {
	position: relative;
	display: block;
	height: 15px;
	width: 300px;
	background: transparent;
	margin-left: auto;
	margin-right: auto;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 50px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: rgba(232,232,232,0.95);
    margin: auto;
    /*padding: 20px;*/
    border-radius: 10px;
    width: 80%;
    height: 80%;
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top: -300px; opacity: 0} 
    to {top: 0; opacity: 1}
}

@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

/* Modal Header */
.modal-header {
	border-radius: 10px 10px 0 0;
	padding: 20px;
}

/* Modal Body */
.modal-body {
	padding: 2px 16px;
}

/* Modal Footer */
.modal-footer {
    padding: 2px 16px;
    color: white;
    background-color: #aaa;
}

/* Modal Sub Footer */
.modal-sub-footer {
    padding: 20px 16px;
    color: white;
    background-color: #bbb;
}

/* Modal Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.line-separator{

height:1px;

background:#cecece;

/*border-bottom:1px solid #ececec;*/

}


.footer {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: transparent;
	width: 300px;
	height: 50px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
}
div.footer a {
	text-decoration:none;
	font-size: 10px;
}

			  /*/////////////////////////////////*/
			 /*///////// ABOUT CLASSES /////////*/
			/*/////////////////////////////////*/

.about-container {
    position:absolute;
    top: 50%;
    left: 50%;
    height: 450px;
    width: 80%;
    margin-top: -225px;
    margin-left: -40%;
}

.home-button {
	position:absolute;
	left: 50%;
    width: 215px;
    height: auto;
    margin-top: 0;
    margin-left: -108px;
}

.about-container h1 {
	font-size: 50px;
	color: #fff;
	text-align: center;
}

.about-container h2 {
	font-size: 24px;
	color: #333;
	text-align: center;
}

.about-container p {
	font-size: 14px;
	color: #222;
	text-align: center;
}


			  /*/////////////////////////////////*/
			 /*////////// TEXT CLASSES /////////*/
			/*/////////////////////////////////*/


/* display of value */ 
.value h1 {
	font-size: 150px;
	margin-top: 0;
	margin-bottom: 0;
	text-align: center;
}

/* Info message / instructions */
.value p {
	font-size: 20px;
	margin: 5px;
	text-align: center;
	color: #232323;
}

/* Message under value */
.reason p {
	font-size: 15px;
	text-align: center;
}

/* Title header font */
.header h1 {
	color: #fff;
	font-size: 60px;
	text-align: center;
	margin-top: 0;
	margin-bottom: 0;
	text-shadow: 5px 5px 25px #8f8f8f;

}

/* Title subheader font */
.header h2 {
	color: #fff;
	font-size: 20px;
	text-align: center;
	margin-top: 0;
	margin-bottom: 0;
	text-shadow: 3px 3px 25px #8f8f8f;
}

/* Title paragraph font */
.header p {
	color: #fff;
	font-size: 14px;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 0;
}

/* Modal content paragraph font */
.modal-content p {
	font-size: 14px;
	color: #333;
}

.modal-content a a:link a:visited a:hover a:active {
	color: #333;
}

/* Modal content header font */
.modal-content h1 {
	font-size: 34px;
	color: #222;
}

/* Modal content subheader font */
.modal-content h2 {
	font-size: 24px;
	color: #333;
}

/* Modal content subsubheader font */
.modal-content h3 {
	font-size: 16px;
	color: #333;
}

.footer p {
	text-align: center;
	color: #fff
}


/*///////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*				////////////					Media Queries					////////////				*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////*/



/*  #Mobile (Portrait)
================================================== */
    /* Note: Design for a width of 320px */

    @media only screen and (max-device-width: 767px) {


/* info / instructions */
div.info {
    position: relative;
    top: 350px;
    display: block;
    height: 150px;
    width: 750px;
    background: transparent;
    margin-left: auto;
    margin-right: auto;
    margin-top: 150px;
    padding-left: 10px;
    padding-right: 10px;
}

div.value {
    position: relative;
    top: 200px;
    display: block;
    height: 150px;
    width: 850px;
    background: transparent;
    margin-top: 250px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
}

/*			MOBILE FONT CLASSES			*/

/* display of value */ 
.value h1 {
	font-size: 200px;
	margin-top: 0;
	margin-bottom: 0;
	text-align: center;
}

div.info p {
	font-size: 50px;
	color: #333;
	text-align: center;
}


	/* Title header font */
div.header h1 {
	color: #fff;
	font-size: 80px;
	text-align: center;
	margin-top: 0;
	margin-bottom: 0;
}

/* Title subheader font */
div.header h2 {
	color: #fff;
	font-size: 40px;
	text-align: center;
	margin-top: 0;
	margin-bottom: 0;
}

/* Title paragraph font */
div.header p {
	color: #fff;
	font-size: 14px;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 0;
}


.about-container {
    position: absolute;
    top: 40%;
    left: 50%;
    height: 450px;
    width: 90%;
    margin-top: -225px;
    margin-left: -45%;
}

.about-container h1 {
    font-size: 60px;
    color: #fff;
    text-align: center;
}

.about-container p {
    font-size: 30px;
    color: #222;
    text-align: center;
}

.about-container h2 {
    font-size: 32px;
    color: #333;
    text-align: center;
}

}

/*@media only screen and (max-device-width: 640px) {*/

	/* #Mobile (Landscape)
================================================== */
    /* Note: Design for a width of 568px */

    @media only screen and (min-device-width: 568px) and (max-device-width: 767px) {


/* info / instructions */
div.info {
    position: relative;
    top: 70px;
    display: block;
    height: 150px;
    width: 850px;
    background: transparent;
    margin-left: auto;
    margin-right: auto;
    margin-top: 150px;
    padding-left: 10px;
    padding-right: 10px;
}

div.value {
    position: relative;
    top: 0;
    display: block;
    height: 150px;
    width: 850px;
    background: transparent;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
}

/*			MOBILE FONT CLASSES			*/

/* display of value */ 
.value h1 {
	font-size: 100px;
	margin-top: 0;
	margin-bottom: 0;
	text-align: center;
}

div.info p {
	font-size: 30px;
	color: #333;
	text-align: center;
}


	/* Title header font */
div.header h1 {
	color: #fff;
	font-size: 60px;
	text-align: center;
	margin-top: 0;
	margin-bottom: 0;
}

/* Title subheader font */
div.header h2 {
	color: #fff;
	font-size: 30px;
	text-align: center;
	margin-top: 0;
	margin-bottom: 0;
}

/* Title paragraph font */
div.header p {
	color: #fff;
	font-size: 14px;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 0;
}

}




/* #Tablet (Portrait)
================================================== */
    /* Note: Design for a width of 768px */

    @media only screen and (min-device-width: 768px) and (max-device-width: 959px) {

/* info / instructions */
div.info {
    position: relative;
    top: 350px;
    display: block;
    height: 150px;
    width: 750px;
    background: transparent;
    margin-left: auto;
    margin-right: auto;
    margin-top: 150px;
    padding-left: 10px;
    padding-right: 10px;
}

div.value {
    position: relative;
    top: 200px;
    display: block;
    height: 150px;
    width: 850px;
    background: transparent;
    margin-top: 250px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
}

/*			MOBILE FONT CLASSES			*/

/* display of value */ 
.value h1 {
	font-size: 200px;
	margin-top: 0;
	margin-bottom: 0;
	text-align: center;
}

div.info p {
	font-size: 50px;
	color: #333;
	text-align: center;
}


	/* Title header font */
div.header h1 {
	color: #fff;
	font-size: 80px;
	text-align: center;
	margin-top: 0;
	margin-bottom: 0;
}

/* Title subheader font */
div.header h2 {
	color: #fff;
	font-size: 40px;
	text-align: center;
	margin-top: 0;
	margin-bottom: 0;
}

/* Title paragraph font */
div.header p {
	color: #fff;
	font-size: 14px;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 0;
}

.about-container {
    position: absolute;
    top: 30%;
    left: 50%;
    height: 450px;
    width: 90%;
    margin-top: -225px;
    margin-left: -45%;
}

.about-container h1 {
    font-size: 90px;
    color: #fff;
    text-align: center;
}

.about-container p {
    font-size: 24px;
    color: #222;
    text-align: center;
}

.about-container h2 {
    font-size: 54px;
    color: #333;
    text-align: center;
}

    }

    /* #Tablet (Landscape)
================================================== */
    /* Note: Design for a width of 768px */

    @media only screen and (min-device-width: 960px) and (max-device-width: 1366px) {

/* info / instructions */
div.info {
    position: relative;
    top: 150px;
    display: block;
    height: 150px;
    width: 750px;
    background: transparent;
    margin-left: auto;
    margin-right: auto;
    margin-top: 150px;
    padding-left: 10px;
    padding-right: 10px;
}

div.value {
    position: relative;
    top: 0;
    display: block;
    height: 150px;
    width: 850px;
    background: transparent;
    margin-top: 150px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
}

/*			MOBILE FONT CLASSES			*/

/* display of value */ 
.value h1 {
	font-size: 150px;
	margin-top: 0;
	margin-bottom: 0;
	text-align: center;
}

div.info p {
	font-size: 30px;
	color: #333;
	text-align: center;
}


	/* Title header font */
div.header h1 {
	color: #fff;
	font-size: 80px;
	text-align: center;
	margin-top: 0;
	margin-bottom: 0;
}

/* Title subheader font */
div.header h2 {
	color: #fff;
	font-size: 40px;
	text-align: center;
	margin-top: 0;
	margin-bottom: 0;
}

/* Title paragraph font */
div.header p {
	color: #fff;
	font-size: 14px;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 0;
}

.about-container {
    position: absolute;
    top: 30%;
    left: 50%;
    height: 450px;
    width: 90%;
    margin-top: -225px;
    margin-left: -45%;
}

.about-container h1 {
    font-size: 60px;
    color: #fff;
    text-align: center;
}

.about-container p {
    font-size: 18px;
    color: #222;
    text-align: center;
}

.about-container h2 {
    font-size: 32px;
    color: #333;
    text-align: center;
}

    }