@charset "utf-8";
/* CSS Document */

html, body {
	background-color: #dddddd !important;
	background-image:url(images/bg.jpg);
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-attachment: fixed !important;
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;
}

h1{
	color: #003b7a;
	background: #ffffff;
	text-rendering: optimizeLegibility;
	margin: 0px 0px 10px 0px;	
	padding: 10px 0px 10px 0px;
	border: #003b7a 1px solid;

}

hr {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

footer {
	color: #003b7a;
	background: #dddddd;
	z-index: 1 !important;
}

footer div div p {
	padding-top: 1em;
	color: #003b7a;
}

.caption a{
	margin-bottom: -0.5em;	
}

a {
	text-decoration: none !important;	
}

.btn {
	background-color: #003b7a;      
	border: transparent 1px solid;
	margin: 0.2em 0em 0.2em 0em;	
}

.btn:hover{
	background-color: #ffffff;
	color: #000000;
	background-position: center;
	border: #003b7a 1px solid;
}

.btn:focus, .btn:active:focus, .btn.active:focus {
    background-color: #ddb21b;
	border: transparent 1px solid;
}

.thumbnail{
	margin: 3px;
}

.thumbnail img{
	border: #000000 1px solid;
	border-radius: 5px;
	background: black;
}

.container .jumbotron{
	border-radius: 0px;	
}

.row{
	padding-left: 5px;
	padding-right: 5px;
	padding-bottom: 5px;	
}

.mag {
	pointer-events: none;
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 5px;
	z-index: 15;
	opacity: 0.4;
}

#Screen {
	position:absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	z-index: 99;
	background-color: Black;
	opacity:0.75;
}

#Popup {
	position: fixed;
	top: 50%;
	left: 50%;
	width: auto;
	height: auto;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform:    translate(-50%, -50%);
	-ms-transform:     translate(-50%, -50%);
	-o-transform:      translate(-50%, -50%);
	transform:         translate(-50%, -50%);
	background-color: #FFFFFF;
	z-index:100;
	text-align: center;
	padding: 2em;
}

@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2) {
	  
	@viewport {
		width: device-width;
	}
	  
	#Popup {
		position: fixed;
		margin: 0 auto;
		width: 86%;
		height: auto;
		-webkit-transform: translate(-50%, -50%);
		-moz-transform:    translate(-50%, -50%);
		-ms-transform:     translate(-50%, -50%);
		-o-transform:      translate(-50%, -50%);
		transform:         translate(-50%, -50%);
		background-color: #FFFFFF;
		z-index:100;
		text-align: center;
		padding: 1.25em;	
	}
	
	#Popup h3 {
		font-size: 1.6em !important;	
	}
	
	#Popup img {
		width: 20%;	
	}
	
}

#Popup img {
	border: #ffffff 2px solid;
	border-radius: 1em;
}

#ClosePopup {
	position: absolute;
	top: 0.25em;
	right: 0.25em;
	font-size: 1.5em;	
}

#ClosePopup:hover {
	cursor: pointer;
	color: #000000; 	
}

#container{
	max-width: 800px;
	background-color: #FFFFFF;
	min-height: 250px;
	width: auto;
	margin: 0 auto;
	text-align: center;
	padding-top: .5em;
}

#banner{
	margin: 0px;
	padding: 0px;
}

#Icons img{
	border: none;	
}

