body {
	padding-top: 70px;
	background:white;
}
body.development {
	padding-top: 100px;
}
body, html {
	height: 100%;
}
pre {
	text-align:left;
	font-size:12px;
}
em {
	color:#2EB69E;
}

#main.container {
	text-align: center;
	width: 100%;
	background:#F4F4F4;
}

#main.container .ads-sidebar {
	display: inline-block;
	vertical-align: top;
	margin-top: 40px;
}

.ads-skyscraper {
	width:160px;
	height:600px;
	margin: 0 0 20px 0;
}

.ads-inline {
	margin: 0 0 20px 0;
}

#main.container #content {
	display: inline-block;
	width: 700px;
	max-width: 100%;
	margin: 0 auto;
	padding: 0 80px;
	background: #FFF;
 	text-align: center;
}

#footer {
	padding: 40px 0;
	color: #999;
	text-align: center;
	background-color: #f9f9f9;
	border-top: 1px solid #e5e5e5;
}
#footer p:last-child {
	margin-bottom: 0;
}

#footer ul li {
	list-style: none;
	margin-left:0;
	padding-left:0;
}

#footer ul {
	margin:0;
	padding:0;
}

#navbar {
	padding:10px;
}
.navbar {
/* 	height:71px; */
	background:#1a1e69;
	color:white;
}

.nav > li > a {
    padding: 15px 10px
}
.navbar-toggle {
	/*background:#265a88;*/
	margin:18px 10px;
}
.navbar-nav {
	/*background:#1a1e69;*/
}
ul.nav.navbar-nav {
	background:#1a1e69;
}
.icon-bar {background:white;}
.navbar-nav li a {
	color:#EEE;
}
.navbar-nav li a:hover {
	color:white;
	background:#2EB69E;
}
#navbar .nav .open>a, #navbar .nav .open>a:focus, #navbar .nav .open>a:hover {
	background-color: #232b85;
}
#navbar .dropdown-menu {
	background-color: #232b85;
}

.dropdown-menu {
	height: auto;
	max-height: 300px;
	overflow-x: hidden;			
}

#trip-image-container {
	position:relative;
	width:100%;
	max-width:500px;
	height:260px;
	margin:10px auto;
	overflow:hidden;
	border-radius:10px;
}

.form-signin {
	max-width: 330px;
	padding: 15px;
	margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
	margin-bottom: 10px;
}
.form-signin .checkbox {
	font-weight: normal;
}
.form-signin .form-control {
	position: relative;
	height: auto;
	-webkit-box-sizing: border-box;
		 -moz-box-sizing: border-box;
					box-sizing: border-box;
	padding: 10px;
	font-size: 16px;
}
.form-signin .form-control:focus {
	z-index: 2;
}
.form-signin input[type="email"] {
	margin-bottom: -1px;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
	margin-bottom: 10px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}


/* override bootstrap css */

body.modal-open {
		overflow: visible;
}

.alert {
	display:inline-block;
}

.table td {
	text-align: left;
}

.modal input {
	width:100%;
}
.modal-dialog {
	max-width:100vw;
	width:500px important!;
}

.no-password {
	color:#AAA;
}

.progress {
		position: relative;
}

.progress span.center {
		position: absolute;
		display: block;
		width: 100%;
		color: black;
 }



.datetimepicker1
{
	width:200px;
}

#timer {
		margin: 20px;
		width: 80px;
}

.narrow-nav {
	display:none;
}
.wide-nav {
	display:block;
}

.container-fluid > .navbar-collapse, .container-fluid > .navbar-header,
.container > .navbar-collapse, .container > .navbar-header {
		margin-right: 0px;
		margin-left: 0px
}  

.navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse {
		max-height: 600px
}

.close:focus, .close:hover {
	color:blue;
    opacity: 1.0
}

.close {
    opacity: 0.5
}

.stats {
	width:100%;
}

.stats td {
	width:25%;
	text-align:center;
	vertical-align: top
}
.stat-circle {
	border-radius: 22px;
	width:44px;
	height:44px;
	background-color: #1578FC;
	text-align:center;
	line-height:44px;
	color:white;
	margin:0 auto;
}

.certificate {
	display:inline-table;
	border-radius: 8px;
	width:110px;
	height:40px;
	background-color: #1578FC;
	line-height:16px;
	font-size:14px;
	color:white;
	margin:3px;
}
.certificate td {
	text-align:center;
	vertical-align: middle;
	padding:0 5px;
}

.filter-icon {
	width:30px;
	height:30px;
	margin-right:10px;
}

.filtertable td:nth-child(2) {
	width:120px;
}

.logged-out-message{background: #1a1e69;max-width: 768px;margin: 0 auto;color: white;padding: 16px 0;font-size: 1.2em;letter-spacing: 0.04em;}
.logged-out-message a{color: #22b69d;font-weight: bold;text-decoration: underline;}

@media (max-width: 767px) {
	.table {border:none}
	.table-bordered > tbody > tr > td, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > td,
	.table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > thead > tr > th
	{border-left:none; border-right:none; border-top:none;}
	.table-bordered {border:none}

	.container {
			padding:0;
			margin-right: auto;
			margin-left: auto;
	}  
	#content {
		text-align: center;
		margin-bottom:20px;
	}

	.modal-dialog {
		width:96%;
		margin:2%; 
	}
	.narrow-nav {
		display:block;
		width:150px;
		margin:0 0 0 auto;
		padding:0;
	}
	.narrow-nav li a {
		text-align:center;
		padding-right:15px;
	}
	.wide-nav {
		display:none;
	}
	#navbar {
		padding:0;
		margin-right:-10px;
	}
	#footer {
		display:none;
	}

	#trip-image-container {
		position:relative;
		width:100%;
		max-width:500px;
		height:260px;
		margin:0 auto;
		overflow:hidden;
		border-radius:0;
	}	
}
