* {
    box-sizing: border-box;
}

html {
    background-color: #2d2d2d;
    /*scroll-behavior: smooth;*/
}

body {
    font-family: Calibri, sans-serif;
    font-size: 22px;
    width: 1000px;
    margin: .8em;
    color: #bfbfbf;
}

h1, h2, h3, h4, h5 {
    font-weight: normal;
    margin-top: .8em;
    margin-bottom: 0.2em;
}

h1 {
    color: #c1c1c1;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 2.9em;
}

h2 {
    color: #d3894a;
    font-size: 2.4em ;
    text-transform: uppercase;
}

h3 {
    color: #d3894a;
    font-size: 1.9em ;
}

h4 {
    color: #919191;
    font-style: italic;
    font-size: 1.4em ;
}
h5 {
   font-style: italic;
   font-weight: bold;
   font-size: 1em;
}

p {
    line-height: 1.1em;
    margin: .4em 0;
    text-align: justify;
}
p + p {
    margin-top: .6em;
}

[id^=_] {
    cursor: default;
}

[id^=_]:after {
    display: inline-block;
    content: url('sync.png');
    visibility: hidden;
    opacity: 0;
    transition: visibility 150ms, opacity 150ms linear;

    /* Avoid itself breaking hack */
    position: relative;
    margin-left: -9px;
    left: 9px;
}
[id^=_]:hover:after {
    visibility: visible;
    cursor: pointer;
    opacity: 1;
}

[data-counter] {
    font-weight: bold;
    color: #ddd;
}
[data-counter]:before {
    display: inline-block;
    content: attr(data-counter) ".";
    width: 1.4em;
}


b, strong {
    color: #ddd;
}

a {
    color: inherit;
    text-decoration: none;
}
a:hover, a:active {
   color:  #d3894a;
}

a.link {
   text-decoration: underline;
}

.center {
    text-align: center !important;
}

.middle {
    vertical-align: middle !important;
}

.clean {
    clear: both;
}

ul, ol {
    margin: .6em 0;
    list-style-position: outside;
    padding-left: 1.5em;
}
ul li, ol li {
    padding-left: .3em;   
}

.shortcut {
    display: inline-block;
    border-radius: 10px;
    padding: 1px 10px;
    line-height: 1em;
    font-size: 0.75em;
    font-weight: bold;
    background-color: #bfbfbf;
    color: #2d2d2d;
    vertical-align: 6%;
}

ol.alpha {
    list-style-type: lower-alpha;
}

object {
    display: block;
}

.image {
    display: inline-block;
    margin: 0;
    margin-top: .6em;
    text-align: left;
}
.image object {
    margin: 0 auto;
}
.image .title {
    display: block;
    margin-top: .2em;
    margin-bottom: .4em;
    font-style: italic;
    font-size: .8em;
    color: #888;
}

.flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: .6em 0;
}
.flex .flex {
    margin: 0;
}
.flex .image {
    display: block;
    flex: 0 1 0;
    margin: 0;
}
.flex.inline {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.flex.vert {
    flex-direction: column;
    justify-content: flex-start;
}
.flex.vert .image {
    flex-grow: 1;
    align-self: flex-end;
}
.flex.center .image {
    align-self: center;
}

/* PROCEDURE */
.proc {
    font-size: .85em;
    margin-top: 1em ;
    margin-bottom: 1em ;
    border: 1px solid #111;
    box-shadow: 2px 2px 5px #222;
    counter-reset: item calc(var(--start, 1) - 1);
    background-color:  #2a2a2a;
}
.proc .item {
    display: flex;
    flex-direction: row;
    counter-increment: item;
}
.proc .item:before {
    display: block;
    padding-top: 6px;
    padding-left: 8px;
    font-size: 1.2em;
    min-width: 35px;
    content: counter(item) ". ";
}
.proc .item > :first-child {
    display: flex;
    flex-direction: column;
    flex: 1;

    border-left: 1px solid #111;
    border-right: 1px solid #111;
}
.proc .item + .item {
    border-top: 1px solid #111;
}
.proc .top {
    display: flex;
    align-items: stretch;
    font-size: 1.2em;
    font-weight: bold;
    color: #ddd;
    padding: 6px 8px;
}
.proc .top > :first-child { flex: 1 }
.proc .mid {
    padding: 6px 8px;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
}
.proc .btm {
    padding: 0 8px;
}
.proc .img {}


/* TABLE */
.table {
  border-collapse: collapse;
  margin-top: 1em ;
  margin-bottom: 1em ;
  empty-cells: hide;
  font-size: .85em;
  box-shadow: 2px 2px 5px #222;
}
.table.auto {
  width: 100%;
}
.table.wrap td {
    white-space: normal;
}
.table tr {
  vertical-align: top;
}
.table td, .table th {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  padding: 2px 8px;
  border: 1px solid #111;
}
.table thead {
  position: sticky;
  top: -1px; 
  background-color: #222;
}
.table thead {
  background-color: #222;
}
.table thead th {
  font-weight: bold;
}
.table.strip tbody tr:nth-child(even) {
    background-color:  #363636;
}

.table.noborder {
    box-shadow: none;
}
.table.noborder td, .table.noborder th{
    border: none;

}

.mission {
  background-image: url('mission.png');
  background-position: 0 2px;
  background-size:  30px 30px;
  background-repeat: no-repeat;
  padding-left: 35px;
  line-height: 40px;
}

