body {
	background-attachment: scroll;
	background-clip: border-box;
	background-color: rgba(0, 0, 0, 0);
	background-image: url("../images/large_bg.png");
	background-origin: padding-box;
	background-position: 10% 0;
	background-repeat: no-repeat;
	background-size: 100% auto;
	height: 100%;
}

#logo {
	margin: 10% 0 0;
}

#login-block {
	
}

#teleresult-logo {
	width: 20%;
	padding: 10px;
}

.jumbotron {
	background: none;
	padding: 0px
}

.jumbotron.vertical-center {
	margin-bottom: 0; /* Remove the default bottom margin of .jumbotron */
}

.vertical-center {
	min-height: 100%; /* Fallback for vh unit */
	min-height: 80vh; /* You might also want to use
                        'height' property instead.
                        
                        Note that for percentage values of
                        'height' or 'min-height' properties,
                        the 'height' of the parent element
                        should be specified explicitly.
  
                        In this case the parent of '.vertical-center'
                        is the <body> element */
	/* Make it a flex container */
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	/* Align the bootstrap's container vertically */
	-webkit-box-align: center;
	-webkit-align-items: center;
	-moz-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	/* In legacy web browsers such as Firefox 9
     we need to specify the width of the flex container */
	width: 100%;
	/* Also 'margin: 0 auto' doesn't have any effect on flex items in such web browsers
     hence the bootstrap's container won't be aligned to the center anymore.
  
     Therefore, we should use the following declarations to get it centered again */
	-webkit-box-pack: center;
	-moz-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
}

.container {
	background-color: rgba(255, 255, 255, .5);
	box-shadow: 0 0 1px 0 #aaa;
	width: 100%;
	padding-top: 0;
	/*box-shadow: 0px -4px 5px #ccc,0px 4px 5px #ccc;*/
}

.centertext {
	text-align: center;
	padding-top: 0;
}

.righttext {
	text-align: right;
}

.bottomtext {
	font-family: Raleway, sans-serif;
	font-size: 0.8em;
	margin-top: 10px;
}

.bottomtext a {
	color: #0096ff;
	text-decoration: underline
}

.footerlogo {
	width: 100%;
	position: fixed;
	bottom: 0px
}

.footerlogofixed {
	width: 100%;
	position: fixed;
	bottom: 0px
}

.footerlogostatic {
	width: 100%;
	position: static;
	bottom: 0px
}

@media screen and (min-width: 400px) and (max-width: 1024px) {
	.body {
		background-image: url("../images/bg.jpg");
	}
	#teleresult-logo {
		width: 20%;
		padding: 10px;
	}
}

/* ----------- iPhone 4 and 4S ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 320px) and (max-device-width:
	480px) and (-webkit-min-device-pixel-ratio: 2) {
	#teleresult-logo {
		width: 40%;
	}
	#logo {
		margin: 5% 0 0;
	}
}

/* Portrait */
@media only screen and (min-device-width: 320px) and (max-device-width:
	480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation:
	portrait) {
}

/* Landscape */
@media only screen and (min-device-width: 320px) and (max-device-width:
	480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation:
	landscape) {
}

/* ----------- iPhone 5 and 5S ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 320px) and (max-device-width:
	568px) and (-webkit-min-device-pixel-ratio: 2) {
}

/* Portrait */
@media only screen and (min-device-width: 320px) and (max-device-width:
	568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation:
	portrait) {
}

/* Landscape */
@media only screen and (min-device-width: 320px) and (max-device-width:
	568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation:
	landscape) {
}

/* ----------- iPhone 6 ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width:
	667px) and (-webkit-min-device-pixel-ratio: 2) {
}

/* Portrait */
@media only screen and (min-device-width: 375px) and (max-device-width:
	667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation:
	portrait) {
}

/* Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width:
	667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation:
	landscape) {
}

/* ----------- iPhone 6+ ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 414px) and (max-device-width:
	736px) and (-webkit-min-device-pixel-ratio: 3) {
}

/* Portrait */
@media only screen and (min-device-width: 414px) and (max-device-width:
	736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation:
	portrait) {
}

/* Landscape */
@media only screen and (min-device-width: 414px) and (max-device-width:
	736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation:
	landscape) {
}

@media only screen and (min-device-width : 320px) and (max-device-width
	: 568px) and (orientation : portrait) {
	.body {
		background-image: url("../images/bg.jpg");
		background-position: 20% 10%;
		line-height: 1;
	}
	.container {
		background-color: rgba(255, 255, 255, 0)
	}
	.vertical-center {
		min-height: 100%; /* Fallback for vh unit */
		min-height: 100vh;
	}
	#teleresult-logo {
		width: 40%;
	}
	#logo {
		margin: 5% 0 0;
	}
}

@media screen and (max-width: 700px) {
	.footerlogo {
		width: 100%;
		position: static;
		bottom: 0px
	}
}