/*  Globals */

/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: .05rem solid #fff;
}

.links {
    color:blue;
}

a:link {
  color: blue;
}

/* visited link */
a:visited {
  color: green;
}

/* mouse over link */
a:hover {
  color: lightgreen;
}

/* selected link */
a:active {
  color: violet;
}

.custom-input-class::-ms-input-placeholder {
    color: darkgreen !important; opacity: 1 !important;
}

.custom-input-class::-moz-placeholder {
    color: darkgreen !important; opacity: 1 !important;
}

.custom-input-class::-webkit-input-placeholder {
    color: darkgreen !important; opacity: 1 !important;
}

/*
img {
   position: absolute;
   top: 50%;
   left: 50%;
   width: 225px;
   height: 50px;
   margin-top: -50px; 
   margin-left: 0px; 
}
*/
/*
 * Base structure
 */

html,
body {
  height: 100vh;
  width: 100vw;
  background-color: #f4f4f4;
  color: #000;
  text-align: center;
  text-shadow: 0 .05rem .1rem rgba(0,0,0,.5);
  /* font-family: "Roboto Condensed", sans-serif; */
  font-family: 'Montserrat';  
  font-style: normal;
  color: #535353;
}

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
  display: table;
  width: 100vw;
  height: 100vh; /* For at least Firefox */
  min-height: 100vh;
  -webkit-box-shadow: inset 0 0 5rem rgba(0,0,0,.5);
          box-shadow: inset 0 0 5rem rgba(0,0,0,.5);
}
.site-wrapper-inner {
  display: table-cell;
  vertical-align: top;
}

.cover-container {
   margin-right: auto;
   margin-left: auto;
   font-size: medium;
}

/* Padding for spacing */
.inner {
  padding: 2rem;
}

.disclaimer {
    font-size: xx-small;
}

.copyright {
    font-size: xx-small;
}

/*
 * Header
 */
.masthead {
   /* margin-bottom: 2rem; */
   position: fixed; 

}
.masthead-brand {
  /* margin-bottom: 0; */
    position: absolute;
    left: 50%;
    margin-left: -45px !important;  /* 50% of your logo width */
    margin-top: -15px;
    display: block;  
}

img { width: 90px; height: 35px; }

.search-block {
    font-size: medium;
}

.afscmeButton { 
    background-color: green;
    color: white;
}

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: bold;
  color: rgba(255,255,255,.5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}
.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255,255,255,.25);
}
.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}
.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

@media (min-width: 48em) {
  .masthead-brand { float: left;  }
  .nav-masthead { float: right;  }
}

/*
 * Cover
 */
.cover {
  padding: 0 1.5rem;
}
.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: bold;
}

/*
 * Footer
 */
.mastfoot {
  color: rgba(255,255,255,.5);
  background-color: #d2d2d2; 
  margin-left: auto; 
  margin-right: auto;  
}

/*
 * Affix and center
 */
@media (min-width: 40em) {
  /* 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;
    margin: 0 auto;
  }
  /* Handle the widths */
  .masthead,
  .mastfoot,
  .cover-container {
    width: 100%; /* Must be percentage or pixels for horizontal alignment */
  }
}

@media (min-width: 62em) {
  .masthead,
  .mastfoot,
  .cover-container {
     width: 100%;
  }
}

@media (min-width: 540px) and (max-width: 975px) {
  .mastfoot,
  .cover-container {
     width: 100%;
  }    
    /* Start the vertical centering */
  .site-wrapper-inner {
    vertical-align: middle;
    margin: 0 auto;
  }
}

@media (min-width: 300px) and (max-width: 738px) {
    .mastfoot,
    .cover-container {
       width: 100%;
    }    
    /* Start the vertical centering */
    .site-wrapper-inner {
      vertical-align: middle;
      margin: 0 auto;
    }
    .cover-container {
       margin-top: 2rem;
       font-size: xx-small;
    }  
}

@media (min-width: 1024px) and (max-width: 1366px) {
  .mastfoot,
  .cover-container {
     width: 100%;
  }    
  /* Start the vertical centering */
  .site-wrapper-inner {
    vertical-align: middle;
    margin: 0 auto;
  }
  
}
