body:not(.user-is-tabbing) button:focus,
body:not(.user-is-tabbing) input:focus,
body:not(.user-is-tabbing) select:focus,
body:not(.user-is-tabbing) textarea:focus {
  outline: none;
}

body {
  font-family: "Asap", sans-serif;
  /* Asap, Roboto, Lato, PT Sans, Basic, Red Hat Text, Raleway */ 
  font-size: 1.3em; /* Overwrite milligram 1.6 */
  line-height: 1.3;
}

#mywebpage {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 0.4em 0.8em;
    margin: 0.2em 0.1em;
    text-align: right;
    background-color: cornsilk;
    font-size: 80%;
}
#mywebpage a {
    color: indigo;
}

#mywebpage img {
    margin-bottom: -0.7em;
    margin-left: 1.2em;
    cursor: pointer;
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 112rem;
    padding: 2rem;
    margin: 0 auto 2rem;
    font-weight: bold;
}
footer a {
    font-size: 2.4rem;
    color: #d33c43;
}
footer span {
    color: #404041;
}

@media screen and (max-width: 420px) {
  #mywebpage {
    font-size: 3vw;
  }
}

.nowrap {
  white-space: nowrap;
  display: inline;
}

.disableSelection {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  outline: 0;
}

/* Side menu */
.anime-menu {
    display: inline-block;
    cursor: pointer;
    float: right;
    margin: 0;
    pointer-events: none;
}
/* Anim X */
.anime-bar1, .anime-bar2, .anime-bar3 {
    width: 33px;
    height: 5px;
    background-color: white;
    border-radius: 3px;
    margin: 5px 0;
    transition: 300ms;
}

.change {
    display: inline-block;
    cursor: pointer;
    float: right;
    margin: 0;
}

.change .anime-bar1 {
  -moz-transform: rotate(45deg) translate(7px, 7px);
  -webkit-transform: rotate(45deg) translate(7px, 7px);
  -o-transform: rotate(45deg) translate(7px, 7px);
  -ms-transform: rotate(45deg) translate(7px, 7px);
  transform: rotate(45deg) translate(7px, 7px);
}

.change .anime-bar2 {
  -moz-transform: scaleX(0.1);
  -webkit-transform: scaleX(0.1);
  -o-transform: scaleX(0.1);
  -ms-transform: scaleX(0.1);
  transform: scaleX(0.1);
}

.change .anime-bar3 {
  -moz-transform: rotate(-45deg) translate(7px, -7px);
  -webkit-transform: rotate(-45deg) translate(7px, -7px);
  -o-transform: rotate(-45deg) translate(7px, -7px);
  -ms-transform: rotate(-45deg) translate(7px, -7px);
  transform: rotate(-45deg) translate(7px, -7px);
}

.dropbtn {
  cursor: pointer;
  font-size: 100%;
  margin-bottom: 0;
  padding: 0 1rem;
}

#div-top-menu-button {
  min-width: 160px;
}

.dropdown {
  position: relative;
  display: inline-block;
  float: right;
  align-self: flex-start;
}

.dropdown-content {
  position: absolute;
  right: 0; 
  background-color: #f7f7f7;
  min-width: 160px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  overflow: hidden;
  white-space: nowrap; /* just for a menu */
  margin-top: 1px;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 200ms cubic-bezier(0,0.7,0.8,0.8);
}

.show { transform: scaleY(1); }

.dropdown-content a {
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {background-color: #ddd;}

.hide-hover-effect:hover {
  background-color: #d47d19;
}

#scroll_to_top {
  display: inline-block;
  background-color: #d47d19;
  width: 35px;
  height: 35px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 0;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#scroll_to_top::after {
  content: "\21e7";
  font-weight: normal;
  font-style: normal;
  font-size: 1.4em;
  line-height: 35px;
  color: #fff;
}
#scroll_to_top:hover {
  cursor: pointer;
  background-color: #333;
}
#scroll_to_top:active {
  background-color: #555;
}
#scroll_to_top.show {
  opacity: 1;
  visibility: visible;
}

#scroll_lander {
  position: absolute; 
  width: 0;
  height: 0;
  left: 0; 
  top: 0;
}

/* SweetAlert - tidy up from js overwrites! */
.swal2-styled.swal2-confirm, .swal2-styled.swal2-cancel  {
  font-size: 18px !important;
  padding: 0 2.0rem !important;
  margin: 0.5rem 1.0rem;
}

.swal2-header {
  align-items: flex-start !important;
}

.swal2-title {
  font-size: 3em !important;
  font-weight: 700 !important;
}
  
.swal2-content {
  font-size: 1.6em !important;
  text-align: left !important;
  padding: 0.2em 0.4em !important;
}

input[type="checkbox"] {
  accent-color: #906010;
}

input[type="checkbox"]:disabled {
  background-color: #bbb;
}

#tab-box-results input[type="checkbox"] {
  display: block;
  box-sizing: border-box;
}

#tab-box-results img {
  margin-left: -2px;   /* Put in place of checkbox */
  margin-bottom: -5px; /* The busy gif is 5 px too big, this stops table jumping */
}

.input.checkbox label { /*Stop clicking checkbox labels selecting them*/
  -webkit-user-select:none;
  -webkit-touch-callout:none;
  -moz-user-select:none;
  -ms-user-select:none;
  user-select:none;
}

pre { /* for debug output */
  padding-left: 0.5rem;
}

input[type="checkbox"] {
  transform: scale(1.35);
}
