body {
	width: 100%;
	height: 100%;
	position: fixed;
	margin: 0;
	overflow: auto;

	background: black;

	font-family: 'Raleway', sans-serif;
	color: white;
	font-size: 25px;
}

a {
	text-decoration: none;
}

/* Loading */

#loading {
	width: 100%;
	height: 30px;
	position: absolute;
	top: 50%;
	margin-top: -15px;

	text-align: center;
}

/* Menu */

#menu {
	width: 100%;
	position: absolute;
	z-index: 20;

	background: rgba(0, 0, 0, 0.6);

	text-align: center;
}

.menu-item {
	height: 35px;
	margin: 15px 2.5% 15px 2.5%;
	display: inline-block;

	text-align: center;

	color: white;
}

.menu-item:first-child {
	margin-left: 5px;
}

.menu-item:last-child {
	margin-right: 5px;
}

/* Pages - common */

.page {
	width: 100%;
	height: 100%;
	position: absolute;
	overflow: auto;
	z-index: -10;
	
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;

	opacity: 0.001;

	-webkit-transition: opacity 0.3s linear;
	-webkit-transform: translateZ(0); /* Force layer */
}

.active {
	z-index: 10;
	opacity: 1;
}

.textbox {
	margin: 0;
	padding: 2% 4%;
	position: absolute;
	top: 20%;
	left: 10%;

	background: rgba(0, 0, 0, 0.6);

	font-size: 18px;
}

.textbox.right {
	left: auto;
	right: 10%;
}

/* Home page */

#home {
	background-image: url('../images/home.jpg');
}

#home a {
	color: rgb(0, 200, 115);
}

#home a:hover,
#home-menu-item:hover,
#home-menu-item.active {
	color: rgb(115, 255, 175);
}

/* CV page */

#cv {
	background-image: url('../images/cv.jpg');
}

#cv a {
	color: rgb(0, 198, 147);
}

#cv a:hover,
#cv-menu-item:hover,
#cv-menu-item.active {
	color: rgb(112, 253, 195);
}


/* Patologie page */

#patologie {
	background-image: url('../images/patologie.jpg');
}

#patologie a {
	color: rgb(0, 196, 179);
}

#patologie a:hover,
#patologie-menu-item:hover,
#patologie-menu-item.active {
	color: rgb(108, 251, 215);
}


/* Consultatii page */

#consultatii {
	background-image: url('../images/consultatii.jpg');
}

#consultatii a {
	color: rgb(0, 193, 212);
}

#consultatii a:hover,
#consultatii-menu-item:hover,
#consultatii-menu-item.active {
	color: rgb(104, 248, 235);
}


/* Contact page */

#contact {
	background-image: url('../images/contact.jpg');
}

#contact a {
	color: rgb(0, 190, 245);
}

#contact a:hover,
#contact-menu-item:hover,
#contact-menu-item.active {
	color: rgb(100, 245, 255);
}

#contact-form input,
#contact-form textarea {
	display: block;
	width: 400px;
	padding: 5px;

	font-size: 16px;
}

#contact-form textarea {
	height: 200px;
}

#contact-form input[type="submit"],
#contact-form-retry {
	width: 100px;
	margin: 5px;
}

#contact-form-submitting,
#contact-form-ok,
#contact-form-error {
	width: 400px;
	display: none;
}

input,
textarea {
	font-family: 'Raleway', sans-serif;
}

/* Preload images */
img.preload {
	position: absolute;
	top: 200%;
	left: 200%;
}
