/* Adapted from: http://www.templatemo.com/preview/templatemo_316_blue_marble */

body {
    margin: 0;
    padding: 0;
    color: #8ba2c0;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 12px;
    line-height: 1.5em; 
    background-color: black;
    background-repeat: repeat-x;
    background-position: top
}
.main-container{
    background: url("../images/bluemarble/templatemo_main_wrapper.jpg") top center no-repeat;
    margin-top: 136px;          /* because of navbar-fixed-top */
    padding: 32px 7% 141px 7%;  /* bottom padding so scrollbar scrolls w/o covering up content under footer */
}
div.w2p_flash.alert{
    z-index: 1050;              /* draw ABOVE navbar menu */
}

a, a:link, a:visited {
    color: #4f7eff;
}
/*a:hover { text-decoration: underline; }*/

p{
    margin: 0 0 10px 0;
    padding: 0;
    text-align: left;
}

img{ border: none; }

h1, h2, h3, h4, h5, h6{
    color: white;
    font-weight: normal;
}

.footer{
	border-top: 1px solid #0d3bb3;
	background: url("../images/bluemarble/templatemo_footer_wrapper.jpg") bottom center no-repeat;
    color: inherit;
	height: auto;
}

.navbar-default{
	background: url("../images/bluemarble/templatemo_header_wrapper.jpg") bottom center no-repeat;
    background-position: 60% -50px;     /* offset up & left from bottom */
}
.navbar-header{
    margin-top: 15px;
    margin-bottom: 10px;
    margin-left: 5% !important;
    margin-right: 2em !important;
	color: white;
	text-decoration: none;
}
.navbar-brand{
    padding: 0;
    margin: 0;
    height: auto;
}
.navbar-brand h1{
    font-family: 'Spicy Rice', Tahoma, Geneva, sans-serif;  /* http://www.cssfontstack.com/Web-Fonts */
    font-size: 36px;
}
.navbar-brand p{
    margin: 0;
	font-size: 14px;
    font-weight: bold;
    text-align: right;
	color: #cbd9ff;
}

.navbar-default .nav>li>a{
    padding-top: 95px;
    padding-left: 12px;
    padding-right: 12px;
	font-size: 18px;
	color: #91a1c7;	
	text-align: center;
    text-transform: none;
	font-weight: 500;
	outline: none;
	border: none;
}
.navbar-default .nav>li>a:hover{
	color: #acc0f9;
	background: url("../images/bluemarble/templatemo_menu_hover.png") bottom center no-repeat;
}
.navbar-default .nav>li.web2py-menu-active>a{
    color: #acc0f9;
}

@media only screen and (max-width: 766px){      /* style when menu is collapsed */
.collapsing, .in {
    background-color: black;
}
.collapsing ul li a, .in ul li a{
    padding-top: 10px !important;
    font-size: 14px !important;
    line-height: 22px !important;
    color: #8ba2c0 !important; 
}
.collapsing ul li a:hover, .in ul li a:hover{
    color: #acc0f9 !important;
    background-image: none !important;
}}

header {
    margin-top: 25px;
    -moz-box-shadow: none;
    box-shadow: none;
}
.theme-dark.slider-wrapper{
	width: 580px;
	background: black;
	padding: 5px;
    margin: 0 auto;
}
@media only screen and (max-width: 480px){
	.main-container{ padding: 32px 0 141px 0; }
	header.container-fluid{ padding-left: 0; padding-right: 0; }
	.theme-dark.slider-wrapper{ width: 280px; }
}

.nivo-controlNav{
	padding: 5px 0;
}
.nivo-caption{
	opacity: 0.6;
	-moz-opacity: 0.6;
	filter:alpha(opacity=6);
}

.form-control{
    color: #ccc;
    border-color: #102a61;
    background: black;
}
.form-control::-webkit-input-placeholder{
    color: #3B4A60;
}

.panel{
    background-color: inherit;
}
.panel-default{
    border-color: #102a61;
}
.panel-default .panel-heading{
    color: inherit;
    background-color: black;
}
.panel-default .panel-title{
    color: inherit;
}
.panel-body{
}
.panel-body>div{
    border-bottom: 1px solid #0d3bb3;
    margin-bottom: 1em;
    padding-bottom: 1em;
}
.panel-body>div:last-child{
    border: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
