/* CSS Document */
* {
	font-family: "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
	-webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
body {
	padding-top: 60px;/* padding-top: 60px; 60px to make the container go all the way to the bottom of the topbar */
	background: #F6F6F6 !important;
}
h1, h2, h3, h4, h5 {
	font-family: "Roboto Condensed", sans-serif;
	font-weight:400;
}
h1 {
	font-size: 4em;
}
h5 {
	letter-spacing: 1px;
}

#wrapper {
		margin: 0 auto 0 auto;
		/*padding:-20px;*/
}
label {
	font-size: 1.3em;
	font-weight: 300;
	font-family: "Roboto Condensed", sans-serif;
	color: #666;
}
nav {
	background: black !important;
	margin-bottom:20px;
}
ul.navbar-nav li {
	padding:0 !important;
}
#navbar-collapse-1 {
	background: rgba(0,0,0,0.75 ) !important;
	overflow:visible;
	height: auto !important;
}
#welcome {
	display:none;
}
#avatar {
	display:none;
}
#BlueSkyLogo {
	height:40px;
	width:154px;
	margin:0;
	margin-top:-10px;
}
ul.nav.navbar-nav li a:link, ul.nav.navbar-nav li a:visited {
	color: #DDD !important;
}
ul.nav.navbar-nav li a:hover, ul.nav.navbar-nav li a:active {
	color: #FFF !important;
}
.dropdown-menu {
	background: black;
	color: white;
}
.dropdown-menu li a:link, .dropdown-menu li a:visited {
	background: rgba(0,0,0,0.8);
	color: #DDD !important;
}

.dropdown-menu li a:hover, .dropdown-menu li a:active {
	background: rgba(0,0,0,0.8);
	color: #FFF !important;
}


.link-blue, .heading-blue {
	color: #137abd !important;
}
.heading-red {
	color: #ff0000;
}
#apt-exterior {
	max-height: 305px;
	height: 40vh;
	background: url(../images/apt-exterior.png) no-repeat top left;
	background-size: 100% auto;
	border: none;
	display: flex;
	justify-content: center;
	align-items: center;
}

#userLanguage {
	display: none;
}

#search-box {
	box-sizing: border-box;
	background: rgba(16,129,222,0.9);
	width: 85vw;
	height: 87px;
	padding: 0 15px 15px 15px;
	color: white;
	font-size: 1rem;
	text-align:center;
}
#search-field {
	width: calc(100% - 10px);
	margin-right:-10px;
}

#teasers {
	background: white;
	margin:0 !important;
}

footer {
	background-color: #4A8094 !important;
	background: url(../images/CherwellLogo.png) no-repeat bottom right,
				url(../images/bg-tireTracks.png) repeat-y center center;
	padding: 0 20px 60px 20px !important;
	color: white;
}

.footer-item {
	color:white;
	letter-spacing: 1.2px;
	line-height: 180%;
	font-weight: 400 !important;
	background: transparent !important;
}
.footer-item h5 {
	letter-spacing: 1px;
	font-weight:600 !important;
}
.footer-item a {
	color: white !important;
}
.footer-item a:link, .footer-item a:visited {
	text-decoration:none;
}

.footer-item a:hover, .footer-item a:active {
	text-decoration:underline;
	color: #FF6 !important;
}
.footer-item a:active {
	color: #FFA !important;
}
/* Media Queries */

@media (max-width: 480px) {
	body {
		padding: 60px 0 0 0; /* 60px to make the container go all the way to the bottom of the topbar */
		padding-top:60px;
	}
	#wrapper {
		background: white;
		margin:-20px auto 0 auto;
		padding:0;
	}
	#apt-exterior {
		height: 66vw;
		background: url(../images/apt-exterior.png) no-repeat top left;
		background-size: 100% auto;
	}
	#search-box {
		box-sizing: border-box;
		background: rgba(16,129,222,0.9);
		max-width: 470px;
		width: calc(100% - 10px);
		height: 70px;
		padding: 5px;
		color: white !important;
		font-size: 1rem;
	}
	.search-label {
		color:white !important;
		font-weight: bold !important;
		font-size: 1.2em !important;
	}
	#search-label:after {
		content:none;
	}
	.input-group {
		margin:0 !important;
	}
	
	.navbar-inner {
		margin: 0 20px 0  15px !important;
	}
	
	.navbar .brand {
		padding:0 5px;
		display:inline;
	}
	#BlueSkyLogo {
		height:40px;
		width:164px;
	}
}

/******************************/
/*      Small Tablet          */
/******************************/
@media (min-width: 481px) and (max-width: 767px) {
	body {
		padding: 60px 0 0 0; /* 60px to make the container go all the way to the bottom of the topbar */
	}
	
	#wrapper {
		background: white;
		margin:-20px auto 0 auto;
		padding:0;
	}
	#avatar {
		width: 40px;
		height: 40px;
		margin-top: -8px;
		display: inline-block;
	}
}

/******************************/
/*          Tablet            */
/******************************/
@media (min-width: 768px) and (max-width: 979px) {
	
	body {
		padding: 60px 0 0 0; /* 60px to make the container go all the way to the bottom of the topbar */
	}
	#wrapper {
		background: white;
		margin:-20px auto 0 auto;
		padding:0;
	}
	
	.navbar-inner, .navbar-brand {
		margin: 0 !important;
		padding:0 !important;
	}
	#BlueSkyLogo {
		height:30px;
		width:123px;
		margin:0;
		margin-top:10px;
	}
	.navbar-inverse .navbar-inner {
		background-color: black !important;
		background-image: none !important;
		vertical-align: bottom;
		padding: 0 !important;
		margin:0 !important;
	}
	.nav-collapse ul.nav li {
		padding-top: 30px !important;
	}
	#avatar {
		width: 40px;
		height: 40px;
		margin: -8px 5px 0 5px;
		display: inline-block;
	}
	#wrapper {
		background: white;
		padding:0 !important;
		margin:0 !important;
		width: 100vw !important;
	}
	#apt-exterior {
		max-height: 380px;
		height: 80vh;
		background: url(../images/apt-exterior.png) no-repeat top left;
		background-size: 100% auto;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	#search-box {
		box-sizing: border-box;
		background: rgba(16,129,222,0.9);
		width: 630px;
		height: 87px;
		padding: 15px;
		color: white;
		font-size: 1rem;
	}
	#search-field {
		width: calc(100% - 72px);
	}
	
	#search-label:after {
		content:" for an answer";
	}

	footer {
		background-color: #4A8094 !important;
		background: url(../images/bg-tireTracks.png) no-repeat center center,
					url(../images/CherwellLogo.png) no-repeat bottom right;
		background-size: cover auto;
		padding: 0 20px 60px 20px !important;
		color: white;
	}
}
/******************************/
/*          Laptop            */
/******************************/
@media (min-width: 980px) and (max-width: 1199px) {
	#userLanguage {
		display: inline-block !important;
	}
	#avatar {
		width:30px;
		height:30px;
		margin: -8px 5px 0 5px;
		margin-bottom: -3px;
		display:inline-block;
	}
	
	#welcome {
		display:inline;
	}
	
	footer.row {
		min-height:150px;
		margin: 0 0 !important;
	}
	#search-box {
		box-sizing: border-box;
		background: rgba(16,129,222,0.9);
		width: 630px;
		height: 87px;
		padding: 15px;
		color: white;
		font-size: 1rem;
	}
	#search-field {
		width: calc(100% - 10px);
	}
	
	#search-label:after {
		content:" for an answer";
	}

	footer {
		background-color: #4A8094 !important;
		background: url(../images/CherwellLogo.png) no-repeat bottom right,
					url(../images/bg-tireTracks.png) no-repeat center center;
		background-size: 100%, cover auto;
		padding: 0 20px 60px 20px !important;
		color: white;
	}
}
/******************************/
/*        COMPUTER            */
/******************************/
@media (min-width: 1200px) {
	#wrapper {
		background: white;
		width: 100%;
		max-width: 1280px;
		margin: 0 auto 0 auto;
		padding:0;
	}
	#navbar-collapse-1 {
		width:100% !important;
		max-width: 1280px !important;
		margin-left: -40px;
		margin-right: -40px;
	}
	nav {
		background: black !important;
		height:58px;
	}
	#userInfo {
		margin-right: -100px;
		padding-right: -44px;
	}
	
	.navbar-inner, .brand {
		margin: 0 !important;
		width: 100% !important;
		max-width: 1280px !important;
	}
	.collapse .navbar-collapse {
		width:100% !important;
	}
	.navbar-header {
		padding-left: 18px !important;
		margin-left: -40px !important;
	}
	
	nav div.container-fluid {
		background-color: black !important;
		background-image: none !important;
		max-width:1280px;
		margin: 0 auto 0 auto;
		padding: 0 40px;
	}
	ul.nav.navbar-nav {
		height:55px;
		font-size: 1.8rem;
	}
	
	
	.dropdown-inverted {
		margin-right:20px;
	}
	
	#welcome {
		display:inline;
	}
	
	footer.row {
		min-height:150px;
		margin: 0 0 !important;
	}
	
	#BlueSkyLogo {
		margin-top: -14px;
		height: 55px;
		width:auto;
	}
	#apt-exterior {
		margin-top:-10px;
		max-height: 600px;
		height: 80vh;
		background: url(../images/apt-exterior.png) no-repeat top left;
		background-size: 100% auto;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	#search-box {
		box-sizing: border-box;
		background: rgba(16,129,222,0.9);
		width: 630px;
		height: 100px;
		padding: 15px;
		color: white;
		font-size: 1rem;
	}
	#search-field {
		width: calc(100% - 10px);
	}
	
	#search-label:after {
		content:" for an answer";
	}
	#userInfo {
		box-sizing: border-box;
		height: 55px;
		vertical-align: middle;
		color:#FF0;
	}
	#avatar {
		width:40px;
		height:40px;
		margin-top:-8px;
		margin-bottom: -3px;
		display:inline-block;
	}
	#teasers {
		min-height: 170px;
		background: white;
		background-position: -170px 25%;
		background-size: 80% auto;
	}
	#teasers div {
		background: transparent !important;
	}

	footer {
		background-color: #4A8094 !important;
		background: url(../images/bg-tireTracks.png) no-repeat center center;
		background-size: cover auto;
		padding: 0 20px 60px 20px !important;
		color: white;
		margin: -20px;
	}
	footer .footer-inner {
		max-width:1280px;
		height: 100%;
		min-height: 230px;
		width:100%;
		margin: 0 auto;
		background: transparent url(../images/Cherwell-SoftwareLogo-white.svg) no-repeat calc(100% - 20px) calc(100% - 20px);
		background-size:100px auto;
	}
}