﻿/* Fonts */
@font-face {
    font-family: "AvenirLT";
    src: url('../fonts/AvenirLTStd-Light.otf') format('opentype'),
        url('../fonts/AvenirLTStd-Light.woff') format('woff');
}

html {
    min-height: 100%;
    height: 100%;
}

body {
    display: flex;
    min-height: 100%;
    padding-top: 69px;

    font-family: "AvenirLT", Arial, sans-serif;
    text-rendering: optimizeLegibility;

    /*background-image: url("../Content/");*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

footer {
    width: 100%;
    flex: 0;
    text-align: center;
    padding: 0px 30px;
}

.body-content {
    width: 100%;
    padding: 30px;
}

.nab-hidden
{
    display: none !important;
}

#nab-overlay
{
	position: fixed;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	
	display:none;
	background-color: rgba(0,0,0,0.3);

	z-index: 199;
}

/* Main content area */
.nab-container
{
    display: flex;
    flex-direction: column;
    max-width: 100% !important;
    flex: 1;
}

/* Class for preventing selection */
.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
     user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

/* Sitewide alert box */
#nab-dialog {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#nab-dialog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    z-index: 1901;
}

#nab-dialog-container {
    margin: 5px;
    max-width: 500px;
    z-index: 1902;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 15px;
}

#nab-dialog-title {
    font-size: 20px;
}

#nab-dialog-container hr {
    margin: 6px 0px;
    border-color: #ccc;
}

#nab-dialog-buttons {
    margin-top: 4px;
    text-align: right;
}

/* Set width on the form input elements since they're 100% wide by default 
input,
select,
textarea {
    max-width: 280px;
}*/

/* Extend navbar elements for font, color and padding */
.navbar
{
    padding: 9px 50px;

	color: #E9E9E9;
	background-color: #2E2E2E;

    font-family: AvenirLT, Arial, Helvetica, sans-serif;
}

@media screen and (max-width: 780px) {
    .navbar {
        padding: 9px 10px;
    }
}

/* Main menu on left side of screen */
.nab-main-menu
{
    position: relative;
    width: 230px;
    height: 100%;
    border-right: 1px solid #ddd;
    box-shadow: 0px 0px 5px 3px rgba(0,0,0,0.1);
}

.nab-main-menu > .list-group-item {
    border-radius: 0px;
    border: 0px;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
}

#nab-main-menu-toggle {
    position: absolute;
    display: flex;
    right: -10px;
    width:10px;
}

#nab-main-menu-handle {
    align-self: center;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    border: 1px solid #ddd;
    border-left: 0px;
    width:10px;
}

/* Main menu on top of content area under topbanner */
.nab-top-menu
{
    position: relative;
    width: 100%;
    height: 29px;
    border-bottom: 1px solid #ddd;
    box-shadow: 0px 0px 5px 3px rgba(0,0,0,0.1);
}

.nab-top-menu > .list-toggle {
    float: left;
    padding: 5px 7px;
    border-radius: 0px;
    border: 0px;
    cursor: pointer;
}

.nab-top-menu > .list-group-item {
    float: left;
    padding: 4px 15px;
    border-radius: 0px;
    border: 0px;
    margin: 0px -1px 0px 0px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

/* Flex */
.nab-flex-center
{
    display: flex;
    flex: 1;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items:center;
}

.nab-flex-page
{
    padding: 30px;
}

@media screen and (max-width: 560px) {
    .nab-flex-page {
        padding: 20px 10px;
    }
}

/* background box, deprecated */
.backFaded
{
    margin: 40px;
    height: 100%;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.50);
}

/* Fix nav link colors */
a, a:hover, a:visited
{
    color: inherit;
    background-color: transparent;
}

.nav > li > a:hover,
.nav > li > a:focus {
    color: #A3A3A3;
    background-color: transparent;
}

.navbar-toggle > .icon-bar
{
    background-color: #E9E9E9;
}

/* Helpers for positioning and size */
.fillv
{
    height: 100%;
}

.fillh
{
    width: 100%;
}

/* Form styling */

.form-control
{
    color: #2E2E2E;
    /*background-color: #CCCCCC;
    border: 0px;*/
}

/* Tutorial classes */
.tutorialContainer
{
    position: absolute;
    display: none;
    padding: 4px;

    border: 1px solid rgba(40, 110, 160, 0.50);
    border-radius: 4px;

    background-color: rgba(40, 110, 160, 0.50);
    color: #ffffff;
}

/* Custom elements */
h3
{
    margin-top: 10px;
    font-family: AvenirLT, Arial, sans-serif;
}

.pageNarrow
{
    display: inline-block;

    max-width: 768px;
    width: 100%;
}

.container
{
}

.contentBox
{
    border: 0px;
    border-radius: 3px;
    padding: 0px 10px;
    background-color: #E9E9E9;
}

.inlineCentered
{
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}

/* Footer elements */
.nab-powered {
    position: absolute;
    bottom: 5px;
    right: 5px;

    display: inline-block;
    text-align: center;
    vertical-align: middle;
    /*width: 60px;*/
    padding: 2px;
    border: 2px solid #2E2E2E;
    border-radius: 4px;
    line-height: 1.3em;
    /*font-family: AvenirLT, Arial, sans-serif;*/
    font-size: 12px;
    font-weight: bold;
    color: #444;
    cursor:pointer;
}

.nab-powered span {
    font-size: 16px;
    color: #2E2E2E;
}

.nab-copy {
    display: none;

    position: absolute;
    bottom: 5px;
    left: 5px;

    display:inline-block;
}

/* Guide/Tutorial alerts */
.nab-alert-guide {
    cursor: pointer;
}