html {
	height: 100%;
    background: black; /* For browsers that do not support gradients */    
    background: -webkit-linear-gradient(top, black , white); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(bottom, black, white); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(bottom, black, white); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to bottom, black , white); /* Standard syntax (must be last) */
    background-attachment: fixed;
}

body {
	font-family: 'IM Fell Great Primer', serif;
	font-size: 17px;
}

.wrapper {

	width: 95%;
	margin: 0 auto;
	border-radius: 8px;
}

.container-index {
	width: 100%;
	margin: 0 auto 25px;
	text-align: center;
}

.container {
	width: 100%;
	margin: 25px auto;
	text-align: center;
}

/**************************************
	HEADER
**************************************/
.header {

	width: 100%;
	background-color: black;
}

header {
	background-color: black;
	border: 1px solid white;
    height: 100px;
    position: fixed;
    top: 0;
    right: 1px;
    left: auto;
    transition: top 0.5s ease-in-out;
    width: 100%;
    margin: auto;
    z-index: 2;
}

.nav-up {
  top: -100px;
}
.nav-down {
    top: 0px;
}

.logo {
	margin: 15px 20px;
	position: relative;
    -webkit-animation-name: example; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 4s; /* Safari 4.0 - 8.0 */
    -webkit-animation-iteration-count: 3; /* Safari 4.0 - 8.0 */
    animation-name: example;
    animation-duration: 3s;
    animation-iteration-count: 1;
}

.nav-links {
	margin: auto;
	min-height: 90px;
	bottom: 0;
}

.nav-links li {
	-webkit-transition: .5s;  /* Safari 4.0 - 8.0 */
	transition: .5s;
	margin-top: 39px;
}

.nav-links li:hover {
	font-size: 20px;
	color: white;
}

.nav-links li a:hover {
	color: white;
}

/*@keyframes example {
    0%   {transform: rotate(0deg); left:100%; top:0px;}
    100% {transform: rotate(360deg); left:0px; top:0px;}
}

 Safari 4.0 - 8.0 
@-webkit-keyframes example {
    0%   {transform: rotate(0deg); left:100%; top:0px;}
    100% {transform: rotate(360deg); left:0px; top:0px;}
}*/

/**************************************
	FOOTER
**************************************/
footer {
	height: 100px;
	background-color: lightgrey;
}

.footer-content {

	height: 100%;
	margin: auto;
}

.footer-content p {

	margin-top: 50px;
	text-align: center;
	background-color: lightgrey;
	padding: 50px;
}

.backToTop {
    width:50px;
    height:50px;
    position:fixed;
    bottom:5px;
    left:93%;
    display:none;
    text-indent:-10000px;
    outline:none !important;
    z-index: 3;
}

/**************************************
	INDEX
**************************************/
.index-search {
	border-radius: 8px;
	width: 50%;
	margin: 0 auto;
	height: auto;
	position: absolute;
	top: 65%;
	left: 25%;
	border: 1px solid red;
}

.search-bg {

	background-color: white;
	border-radius: 8px;
	width: auto;
	margin: auto;
	height: auto;
	padding: 20px;
	position: absolute;
	top: 10%;
	left: 25%;
}

/**************************************
	LOGIN
**************************************/
.login {

	text-align: center;
	color: black;
}

.pic-container {
	width: 100%;
	height: auto;
	margin: auto;
	position: relative;
}

.login-bg {

	background-color: white;
	border-radius: 8px;
	width: 50%;
	margin: auto;
	height: auto;
	padding: 20px;
	opacity: .60;
	position: absolute;
	top: 25%;
	left: 25%;
}

.carousel-caption {
	height: 50%;
	right: 0%;
	left: 0%;
	margin-bottom: 200px;
}

.login-bg:hover {
	opacity: 1;
}

.login table {

	width: 100%;
	margin: 10px;
}

/**************************************
	REGISTER
**************************************/
.register {

	width: 30%;
	margin: auto;
	text-align: center;
}

.register table {

	width: 100%;
	margin: 10px;
}

/**************************************
	ACCOUNT VIEW
**************************************/
.account-view {

	width: 30%;
	margin: auto;
	text-align: center;
}

.account-view table {

	width: 100%;
	margin: 10px;
}

.userReservationsTableGroup {
	width: 80%;
	margin: auto;
	padding: 30px;
	border-width: 2px;
	border-style: solid;
	border-radius: 10px;

}

/**************************************
	RESERVATION SEARCH
**************************************/
.travelers, .rooms, .days, .type {
	width: 45%;
	margin: auto;
	transition: width 1s;
}

/*.travelers:hover, .rooms:hover, .days:hover, .type:hover {
	width: 50%;
	margin: auto;
}*/

.travelers-heading, .rooms-heading, .days-heading, .type-heading, .days-heading {
	height: 55px;
	width: 100%;
	text-align: left;
	font-size: 30px;
}

.travelers-content, .rooms-content, .days-content, .type-content, .days-content {
	width: 100%;
}

.roomResultClass {
	width: 300px;
	height: auto;
	margin: 20px;
	display: inline-block;
	text-align: center;
	border-top: 1px solid gray;
	padding-top: 10px;
	padding-bottom: 10px;
	z-index: 0;
	opacity: .8;
}

.roomResultClass:hover {
	z-index: 1;
	opacity: 1;
}

#searchReturned {
	text-decoration: none;
	color: black;
}

.nav-links-search {
	margin: auto;
	min-height: 90px;
	bottom: 0;
}

.nav-links-search li {
	margin-top: 35px;
}

.nav-links-search input {
	margin-left: 10px;
	margin-right: 10px;
}

.container-search {
	width: 100%;
	margin: auto;
	text-align: center;
}

.search-img {
	margin: auto; 
	height: 100%; 
	width: 100%;
}

/**************************************
	ROOM-ADD
**************************************/
.room {
	margin: auto;
	width: 100%;
	height: 100%;
}

.add-room {
	width: 70%;
	margin: auto;
}

.circular-image-rooms {
	display: inline;
  	border-radius:  50%;
}

.room-content {
	width: 80%;
	margin: auto;
	float: right;
}

.container-search {
	width: 100%;
	margin: 25px auto;
	text-align: center;
}

/**************************************
	TEXTFIELDS
**************************************/

.textfield {
	width: 25%;
	height: 35px;
	font-size: 15px;
	margin: auto;
}

.textfield-index {
	width: 100%;
	height: 65px;
	font-size: 30px;
}

/**************************************
	Buttons
**************************************/
.searchButton {
	height: 65px;
	font-size: 30px;
}

/**************************************
	Popup container 
**************************************/
.popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* The actual popup (appears on top) */
.popup .popuptext {
    visibility: hidden;
    width: 160px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -80px;
}

/* Popup arrow */
.popup .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Toggle this class when clicking on the popup container (hide and show the popup) */
.popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {opacity: 0;} 
    to {opacity: 1;}
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
}

/**************************************
	MOBILE PHONES
**************************************/
@media screen and (max-width: 992px) {
	.room-content {
		width: 100%;
		margin: auto;
		border: 1px solid red;
	}

	.sidebar {
		width: 100%;
	}
}


@media screen and (max-width: 480px) {

	.index-search {
		border-radius: 8px;
		width: 100%;
		/*margin: 0 auto;*/
		height: auto;
		top: 0;
		left: 0;
		position: relative;
}

    .login-bg {
		border-radius: 8px;
		width: 100%;
		height: auto;
		opacity: 1;
		top: 0;
		left: 0;
		position: relative;
	}

	.search-bg {
		border-radius: 8px;
		width: 100%;
		height: auto;
		top: 0;
		left: 0;
		position: relative;
	}

	#home-img-bg {
		width: 0px;
	}

	#login-img-bg {
		width: 0px;
	}

	.account-view {

		width: 100%;
		margin: auto;
		text-align: center;
	}

	.textfield-index {

		height: 25px;
		font-size: 10px;

	}

	.searchHotel {
		width: 100%;
	}

	.searchButton {
		height: 35px;
		font-size: 15px;
	}

	.travelers, .rooms, .days, .type {
		width: 100%;
		margin: auto;
		transition: width 1s;
	}

	.travelers:hover, .rooms:hover, .days:hover, .type:hover {
		width: 100%;
		margin: auto;
	}

	.travelers-heading, .rooms-heading, .days-heading, .type-heading {
		height: 55px;
		width: 100%;
		text-align: left;
	}

	.travelers-heading h2, .rooms-heading h2, .days-heading h2, .type-heading h2 {
		padding-left: 15px;
		padding-top: 10px;
		height: 100%;
		width: 100%;
		font-size: 15px;
	}

	.travelers-content, .rooms-content, .days-content, .type-content {
		width: 100%;
	}

	.register {

		width: 100%;
		margin: auto;
		text-align: center;
	}

	.backToTop {
	    width:40px;
	    height:40px;
	    position:fixed;
	    bottom:5px;
	    left:87%;
	    display:none;
	    text-indent:-10000px;
	    outline:none !important;
	}
}
