
/* 
 * Everything related to the template goes here
 * ********************************************  */

html, body {
  width: 100%;
  min-height: 100%;
  text-align: center;
  margin: 0;
}

body {
	background-image: url("../images/tactile_noise.png");
	background-repeat: repeat;
}

/* ----- Template ------ */

#background-gradient-overlay {
	z-index: -1;
	position: absolute;
	top:0px;
    bottom:0px;
    left:0px;
    right:0px;
	background: -moz-radial-gradient(center, ellipse cover,  rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 100%);
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(255,255,255,0.55)), color-stop(100%,rgba(255,255,255,0)));
	background: -webkit-radial-gradient(center, ellipse cover,  rgba(255,255,255,0.55) 0%,rgba(255,255,255,0) 100%);
	background: -o-radial-gradient(center, ellipse cover,  rgba(255,255,255,0.55) 0%,rgba(255,255,255,0) 100%);
	background: -ms-radial-gradient(center, ellipse cover,  rgba(255,255,255,0.55) 0%,rgba(255,255,255,0) 100%);
	background: radial-gradient(ellipse at center,  rgba(255,255,255,0.25) 0%,rgba(255,255,255,0) 100%);
}

#root-container {
	display: inline-block;
	position: relative;
	text-align: left;	
	background-color: #2E2E2E;
}

#footer-container {
	width: 90%;
}

@media (max-width: 999px) {

	#root-container {
		width: 100%;
		min-height: 100%;
		margin-top: 0px;
		box-shadow: none;
		border: none;
		margin-bottom: 0px;
	}

	#root-container > #selectionbar {
		border-radius: 0px;
	}
	
	#root-container {
		visibility: hidden;
	}
	
	#root-container > div,
	#root-container > img,
	#footer-container > div {
		visibility: visible;
	}
	
}

@media (min-width: 1000px) {
	#root-container {
		visibility: visible;
		margin-top: 100px;
		width: 90%;
		min-height: 80%;
		margin-bottom: 40px;
	}
}

@media (min-width: 1400px) {
	#root-container, #footer-container {
		width: 80%;
	}
}

/* ----- Footer ----- */

#footer {
	padding: 5px 0 20px 0;
}

#footer-container {
	display: inline-block;
}

.footer-text {
	font-family: roboto-regular;
	font-size: 14px;
	color: rgba(0, 0, 0, 0.9);
}


/* ----- Little container showed in the top left hand corner when logged in ----- */

#logged-in-container {
	position: static;
	right: 10px;
	top: 10px;
	height: 35px;
	
	border-bottom: 2px solid #287D09;
	background-color: #2D4D21;
	border-radius: 0px;
}

@media (max-width: 350px) {
	#logged-in-container > a,
	#logged-in-container > div > a {
		font-size: 15px !important;
	}
}

@media (min-width: 1000px) {
	#logged-in-container {
		position: absolute;
		border-radius: 5px;
		border: 2px solid #287D09;
	}
}

#logged-in-container > div {
	float: right;
	height: 35px;
	border-left: 2px solid #287D09;
}

#logged-in-container > a, #logged-in-container > div > a {
	color: white;
	line-height: 35px;
	font-size: 18px;
	margin-right: 10px;
	margin-left: 10px;
	text-decoration: none;
	color: white;
}


/* ----- Footer Popup ----- */

#footer-popup {
	position: fixed;
	width: 100%;
	margin: auto;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	
	background-color: rgba(132,132,132,1);
	border: 1px solid #202020;
	text-align: left;
	
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	-ms-border-radius: 0px;
	-o-border-radius: 0px;
	border-radius: 0px;
	-webkit-box-shadow: 3px 3px 7px -1px rgba(0,0,0,0.7);
	-moz-box-shadow: 3px 3px 7px -1px rgba(0,0,0,0.7);
	box-shadow: 3px 3px 7px -1px rgba(0,0,0,0.7);
	
	opacity: 0;
	-webkit-transform: scale(0.01);
    -moz-transform: scale(0.01);
    -ms-transform: scale(0.01);
    -o-transform: scale(0.01);
    transform: scale(0.01);
	
	-webkit-transition: all 450ms ease;
    -moz-transition: all 450ms ease;
    -ms-transition: all 450ms ease;
    -o-transition: all 450ms ease;
    transition: all 450ms ease;
}

@media (max-width: 599px) {
	#footer-popup {
		height: 100% !important;
	}
}

@media (min-width: 600px) {
	#footer-popup {
		width: 450px;
		height: 440px;
		background-color: rgba(132,132,132,0.98);
		-webkit-border-radius: 10px;
		-moz-border-radius: 10px;
		-ms-border-radius: 10px;
		-o-border-radius: 10px;
		border-radius: 10px;
	}
	#footer-popup-close-overlay {
		cursor: default;
	}
}

#footer-popup[show] {
	opacity: 1;
	-webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

#footer-popup-close-overlay {
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	width: 0px;
	height: 0px;
}

#footer-popup-close-overlay[show] {
	width: 100%;
	height: 100%;
}

#footer-popup > p {
	width: 100%;
	color: #202020;
	font-family: roboto-regular;
}

#footer-popup > p:nth-child(1) {
	text-align: left;
	position: relative;
	width: 100%;
	padding: 10px 20px;
	box-sizing: border-box;
	font-size: 18px;
}

#footer-popup > p:nth-child(2) {
	position: relative;
	font-size: 14px;
	line-height: 22px;
	padding: 0px 20px 10px 20px;
	box-sizing: border-box;
}

#footer-popup-link > button {
	text-decoration: underline;
}
