/*
 * Base structure
 */

html,
body {
    height: 100%;
    background-color: #062a6b;
    background-position: center center;
    background-size: cover;    
    background-repeat: no-repeat;
    overflow: hidden;
}

@media (pointer:coarse) {
    body {
        color: rgba(0,0,0,.5) !important;
        text-align: center;
        padding-top: 0;
        background-image: url(../Images/index-mobile.jpg);
    }

    .btn-login {
        background-image: none;
        background-color: #003a5d;
        border-color: #2e6da4;
        width: 139px;
        height: 30px;
        border-radius: 20px;
        padding: 0px;
    }

        .btn-login:hover,
        .btn-login:focus {
            background-color: #286090;
            border-color: #204d74;
        }
}

@media (pointer:fine) {
    body {
        color: #fff !important;
        text-align: center;
        text-shadow: 0px 1px 3px #000;
        padding-top: 0;
        background-image: url(../Images/NXDOHBACK.png);
    }
}


h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    color: #fff;
}
    /*
 * End Base structure
 */
    /*
 * Menu Style 
 */
    a, a:focus, a:hover {
  color: #fff;
}

/*
 * End Menu Style 
 */

/*
 * Login Button
 */

.btn-default {
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 1px #888;
    background-color: transparent;
    border: 2px solid #fff;
    border-radius: 15px;
    margin-top: 20px;
    width: 90px;
}

.btn-default:hover,
.btn-default:focus {
  color: #aaa;
  text-shadow: none;
  background-color: #fff;
  border: 3px solid #fff;
}

.btn-default:active {
  color: #aaa;
  text-shadow: none;
  background-color: #fff;
  border: 3px solid #fff;
}

#password-reset > a {
    color: #fff;
}

/*
 * End Login Button
 */

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
  display: table;
  width: 100%;
  height: 100%; /* For at least Firefox */
  min-height: 100%;
  -webkit-box-shadow: inset 0 0 100px rgba(0,0,0,.5);
          box-shadow: inset 0 0 100px rgba(0,0,0,.5);
}

.site-wrapper-inner {
  display: table-cell;
  vertical-align: top;
}
.cover-container {
  margin-right: auto;
  margin-left: auto;
}

/* Padding for spacing */
.inner {
  padding: 30px;
}


/*
 * Header
 */

.masthead-brand {
  margin-top: 10px;
  margin-bottom: 10px;
}

.masthead-nav > li {
    display: inline-block;
    vertical-align: top;
}
.masthead-nav > li + li {
  margin-left: 20px;
}
.masthead-nav > li > a {
  padding-right: 0;
  padding-left: 0;
  font-size: 16px;
  font-weight: bold;
  color: #fff; /* IE8 proofing */
  color: rgba(255,255,255,1);
  border-bottom: 4px solid transparent;
}
.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
  color: #fff; /* IE8 proofing */
  background-color: transparent;
  border-bottom-color: #fff;
  border-bottom: 4px solid;
}
.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
  color: #fff;
  border-bottom-color: #fff;
}

@media (min-width: 768px) {
  .masthead-brand {
    float: left;
  }

  .masthead-nav {
    float: right;
  }
}


/*
 * Cover
 */

.cover {
  padding: 0 20px;
}
.cover .btn-lg {
  padding: 10px 20px;
  font-weight: bold;
}


@media (pointer:fine) {
    .cover-mobile {
        position: absolute;
        max-width: 277px;
        height: 450px;
        overflow: auto;
        margin: auto;
        top: 0px;
        bottom: 0px;
        left: 0px;
        right: 0px;
        background-color: #ffffff;
        padding-top: 20px;
        box-shadow: -1px 2px 2px rgba(56,58,59,1);
    }

        .cover-mobile img {
            height: 55px;
            width: 217px;
            margin-top: 20px;
        }
}

@media (pointer:coarse) {
    .cover-mobile {
        position: absolute;
        max-width: 277px;
        height: 450px;
        overflow: auto;
        margin: auto;
        top: 0px;
        bottom: 0px;
        left: 0px;
        right: 0px;
        background-color: #ffffff;
        padding-top: 20px;
        box-shadow: -1px 2px 2px rgba(56,58,59,1);
    }

        .cover-mobile img {
            height: 55px;
            width: 217px;
            margin-top: 20px;
        }
}
    /*
 * Affix and center
 */

    @media (min-width: 768px) {
        /* Pull out the header and footer */
        .masthead {
            position: fixed;
            top: 0;
        }

        .mastfoot {
            position: fixed;
            bottom: 0;
        }
        /* Start the vertical centering */
        .site-wrapper-inner {
            vertical-align: middle;
        }
        /* Handle the widths */
        .masthead,
        .mastfoot,
        .cover-container {
            width: 100%; /* Must be percentage or pixels for horizontal alignment */
        }

        .cover-container-mobile {
            width: 100%; /* Must be percentage or pixels for horizontal alignment */
            height: 100%;
            bottom: 0px;
            margin: 0 auto;
        }

        .btn-default {
            margin-top: 120px;
        }
    }

    @media (min-width: 992px) {
        .masthead,
        .mastfoot,
        .cover-container {
            width: 700px;
        }

        .cover-container-mobile {
            width: 700px;
            height: 100%;
        }
    } 