/*
 * Globals
 */

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

/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: 1px solid #fff;
}
.btn-lg {
  border-radius: 24px;
}

/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: #333;

  /*background: url(img/b5.jpg) no-repeat center center fixed;*/
  /* background: url(img/b6.jpg) no-repeat center center fixed; */
  background: url(img/b6-webp.webp) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
body {
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* 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, 0.5);
  box-shadow: inset 0 0 100px rgba(0, 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;
}
.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, 0.75);
  border-bottom: 2px solid transparent;
}
.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
  background-color: transparent;
  border-bottom-color: #a9a9a9;
  border-bottom-color: rgba(255, 255, 255, 0.25);
}
.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;
}

/*
 * Footer
 */

.mastfoot {
  color: #999; /* IE8 proofing */
  color: rgba(255, 255, 255, 0.5);

  position: fixed;
  bottom: 0;
  width: 100%;
}

/*
 * 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;*/
    width: 100%;
    position: absolute;
    top: 25%;
  }
  /* Handle the widths */
  .masthead,
  .mastfoot,
  .cover-container {
    width: 100%; /* Must be percentage or pixels for horizontal alignment */
  }
}

@media (min-width: 992px) {
  .masthead,
  .mastfoot,
  .cover-container {
    width: 700px;
    width: 70%;
    width: 800px;
  }
}

.searchbox input[type="text"] {
  /*width: 80%;*/
  width: 65%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  color: #666;
  font-size: 120%;
  font-weight: 600;

  background-image: url("img/searchicon_optimize.png");
  /*background-position: 14px 16px;*/
  background-repeat: no-repeat;
  /*padding: 14px 20px 12px 47px;*/
  background-position: 14px 12px;
  padding: 10px 20px 10px 47px;
  margin-right: 6px;
  border-radius: 32px;
  border: 1px;
  outline: none;
}

.searchbox input[type="text"]:focus {
  outline: none;
  border: 1px;
}

.stable-link-box {
  margin-top: 24px;
}
.stable-link-button {
  color: #bbb;
  padding: 4px 12px;
}

.stable-link-button:hover,
.stable-link-button:focus {
  background-color: rgb(209, 112, 2);
  color: whitesmoke;
  border-radius: 32px;
  border: 0;
  outline: none;
  cursor: pointer;
}

.dev-checkbox {
  margin-top: 24px;
}
