/*
 * Base styles for thomasledet.dk.
 *
 * Replaces Bootstrap 3.3.6: only the parts this site uses, with the same
 * values, so the look is unchanged. Site specific styling is in style.css.
 */

/* ---- Reset / typography ---------------------------------------------- */

html {
  font-size: 10px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  color: #333;
  background-color: #fff;
}

header, main, footer, nav, section, article, aside { display: block; }

a {
  color: #337ab7;
  text-decoration: none;
  background-color: transparent;
}
a:hover,
a:focus {
  color: #23527c;
  text-decoration: underline;
}
a:focus {
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
a:active,
a:hover { outline: 0; }

b, strong { font-weight: 700; }

img {
  border: 0;
  vertical-align: middle;
}

h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
  color: inherit;
}
h1, h2, h3 { margin-top: 20px; margin-bottom: 10px; }
h4, h5, h6 { margin-top: 10px; margin-bottom: 10px; }
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }

p { margin: 0 0 10px; }

ul, ol { margin-top: 0; margin-bottom: 10px; }
ul ul, ul ol, ol ul, ol ol { margin-bottom: 0; }

pre {
  display: block;
  padding: 9.5px;
  margin: 0 0 10px;
  overflow: auto;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.42857143;
  color: #333;
  word-break: break-all;
  word-wrap: break-word;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button, input {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
button { overflow: visible; text-transform: none; cursor: pointer; }
button::-moz-focus-inner, input::-moz-focus-inner { padding: 0; border: 0; }

label {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 5px;
  font-weight: 700;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---- Layout ---------------------------------------------------------- */

.container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 768px)  { .container { width: 750px; } }
@media (min-width: 992px)  { .container { width: 970px; } }
@media (min-width: 1200px) { .container { width: 1170px; } }

.row {
  margin-right: -15px;
  margin-left: -15px;
}

.container::before, .container::after,
.row::before, .row::after,
.nav::before, .nav::after,
.navbar::before, .navbar::after,
.navbar-header::before, .navbar-header::after,
.navbar-collapse::before, .navbar-collapse::after {
  display: table;
  content: " ";
}
.container::after, .row::after, .nav::after, .navbar::after,
.navbar-header::after, .navbar-collapse::after {
  clear: both;
}

.col-md-1, .col-md-3, .col-md-4, .col-md-9, .col-md-11 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}
@media (min-width: 992px) {
  .col-md-1, .col-md-3, .col-md-4, .col-md-9, .col-md-11 { float: left; }
  .col-md-1  { width: 8.33333333%; }
  .col-md-3  { width: 25%; }
  .col-md-4  { width: 33.33333333%; }
  .col-md-9  { width: 75%; }
  .col-md-11 { width: 91.66666667%; }
}

.pull-right  { float: right !important; }
.text-center { text-align: center; }

/* ---- Components ------------------------------------------------------ */

.img-responsive { display: block; max-width: 100%; height: auto; }
.img-rounded    { border-radius: 6px; }

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}
.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}

.form-control {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.form-control:focus {
  border-color: #66afe9;
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}
.form-control::placeholder { color: #999; opacity: 1; }

.btn {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}
.btn:focus, .btn:active:focus {
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.btn:hover, .btn:focus { color: #333; text-decoration: none; }
.btn:active { outline: 0; box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); }
.btn-default { color: #333; background-color: #fff; border-color: #ccc; }
.btn-default:focus { color: #333; background-color: #e6e6e6; border-color: #8c8c8c; }
.btn-default:hover,
.btn-default:active { color: #333; background-color: #e6e6e6; border-color: #adadad; }

/* Inline SVG icons (replaces the Font Awesome font/kit) */
svg.icon {
  display: inline-block;
  height: 1em;
  overflow: visible;
  vertical-align: -.125em;
}
svg.icon-2x { font-size: 2em; }

/* ---- Navbar ---------------------------------------------------------- */

.nav {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.nav > li { position: relative; display: block; }
.nav > li > a { position: relative; display: block; padding: 10px 15px; }
.nav > li > a:hover,
.nav > li > a:focus { text-decoration: none; background-color: #eee; }

.navbar {
  position: relative;
  min-height: 50px;
  margin-bottom: 20px;
  border: 1px solid transparent;
}
@media (min-width: 768px) {
  .navbar { border-radius: 4px; }
  .navbar-header { float: left; }
}

.navbar-collapse {
  padding-right: 15px;
  padding-left: 15px;
  overflow-x: visible;
  border-top: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  -webkit-overflow-scrolling: touch;
}
.navbar-collapse.in { overflow-y: auto; }
@media (min-width: 768px) {
  .navbar-collapse {
    width: auto;
    border-top: 0;
    box-shadow: none;
  }
  .navbar-collapse.collapse {
    display: block !important;
    height: auto !important;
    padding-bottom: 0;
    overflow: visible !important;
  }
  .navbar-fixed-top .navbar-collapse {
    padding-right: 0;
    padding-left: 0;
  }
}
.navbar-fixed-top .navbar-collapse { max-height: 340px; }
@media (max-device-width: 480px) and (orientation: landscape) {
  .navbar-fixed-top .navbar-collapse { max-height: 200px; }
}

.container > .navbar-header,
.container > .navbar-collapse { margin-right: -15px; margin-left: -15px; }
@media (min-width: 768px) {
  .container > .navbar-header,
  .container > .navbar-collapse { margin-right: 0; margin-left: 0; }
}

.navbar-fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  border-width: 0 0 1px;
}
@media (min-width: 768px) { .navbar-fixed-top { border-radius: 0; } }

.navbar-brand {
  float: left;
  height: 50px;
  padding: 15px;
  font-size: 18px;
  line-height: 20px;
}
.navbar-brand:hover,
.navbar-brand:focus { text-decoration: none; }
@media (min-width: 768px) {
  .navbar > .container .navbar-brand { margin-left: -15px; }
}

.navbar-toggle {
  position: relative;
  float: right;
  padding: 9px 10px;
  margin-top: 8px;
  margin-right: 15px;
  margin-bottom: 8px;
  background-color: transparent;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}
.navbar-toggle:focus { outline: 0; }
@media (min-width: 768px) { .navbar-toggle { display: none; } }

.navbar-nav { margin: 7.5px -15px; }
.navbar-nav > li > a {
  padding-top: 10px;
  padding-bottom: 10px;
  line-height: 20px;
}
@media (min-width: 768px) {
  .navbar-nav { float: left; margin: 0; }
  .navbar-nav > li { float: left; }
  .navbar-nav > li > a { padding-top: 15px; padding-bottom: 15px; }
  .navbar-right { float: right !important; margin-right: -15px; }
}

.navbar-inverse { background-color: #222; border-color: #080808; }
.navbar-inverse .navbar-brand { color: #9d9d9d; }
.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:focus { color: #fff; background-color: transparent; }
.navbar-inverse .navbar-nav > li > a { color: #9d9d9d; }
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus { color: #fff; background-color: transparent; }
.navbar-inverse .navbar-toggle { border-color: #333; }
.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus { background-color: #333; }
.navbar-inverse .navbar-collapse { border-color: #101010; }

/* Collapsible menu (toggled by js/site.js) */
.collapse { display: none; }
.collapse.in { display: block; }
.collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  transition: height .35s ease;
}
@media (prefers-reduced-motion: reduce) {
  .collapsing { transition: none; }
}

/* ---- Print ----------------------------------------------------------- */

@media print {
  *,
  *::before,
  *::after {
    color: #000 !important;
    text-shadow: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  a, a:visited { text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; }
  a[href^="#"]::after,
  a[href^="javascript:"]::after { content: ""; }
  pre { border: 1px solid #999; page-break-inside: avoid; }
  img { max-width: 100% !important; page-break-inside: avoid; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
  .navbar { display: none; }
}
