@import './layout_wide.css';
@import './layout_tiny.css';

html,
body {
  margin: 0;
  padding: 0;
  font-size: 100%;
}

@font-face {
  font-family: OldLondon;
  src: url(../old_london.ttf);
}

@font-face {
  font-family: Goudy_Mediaeval_Regular;
  src: url(../Goudy_Mediaeval_Regular.ttf);
}

body {
  font-family: Goudy_Mediaeval_Regular, Arial, Helvetica, sans-serif;
  color: #000;
  line-height: 1.28;
  letter-spacing: 0.5px;
}

a,
a:visited {
  color: #a11;
}

img {
  vertical-align: middle;
}

h2 {
  margin: 2ex 0 1ex;
}

h3 {
  margin: 1.8ex 0 0.9ex;
}
/*--- menu -------------------------------------------------------------------*/
menu {
  margin: 0;
  font-family: OldLondon;
  font-size: 150%;
  letter-spacing: 0.5px;
  background-image: url(../img/Planks.png);
  background-position: 0 -5px;
  box-sizing: border-box;
  z-index: 100;
  color: #411;
}

menu li {
  list-style-type: none;
  padding: 2px 0;
}
menu a,
menu a:visited {
  color: inherit;
  text-decoration: none;
  display: block;
  text-shadow: 0 -1px 1px #8a7d70, 0 1px 1px #fed;
}
menu hr {
  margin: 1px auto;
  width: 95%;
  border: 1px solid;
  border-color: #644 #fda #fda #644;
}
/*--- layout -----------------------------------------------------------------*/
main {
  background-image: url(../img/seabattle.jpg);
  background-position: 100% center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  min-height: calc(100vh - 145px);
  border-bottom: 1px solid #000;
  position: relative;
  z-index: 20;
  box-shadow: 0 0 8px 3px #111;
  box-sizing: border-box;
  padding: 1px;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  letter-spacing: 7px;
  background-image: url(../img/Planks.png);
  box-shadow: 0 5px 3px rgba(0, 0, 0, 0.6), inset 0 -4px 5px -4px #111;
}

#headerWrapper {
  display: flex;
  width: 100%;
  max-width: 1200px;
  position: relative;
  margin: 0 auto;
}

#content {
  margin: 65px auto 15px;
}
#content h1 {
  text-align: center;
  font-family: OldLondon;
  font-weight: normal;
  color: #b00;
  font-size: clamp(28px, 8vw, 45px);
  letter-spacing: 0.5px;
  margin: 0;
}
#content p img {
  border: 1px solid #666;
  box-shadow: 0 0 5px #333;
  margin: 0 7px;
}
footer {
  color: #ddd;
  background-color: #333;
  padding-top: 8px;
  background-image: linear-gradient(
    45deg,
    #3a3a3a 0,
    #3a3a3a 3px,
    #333 3px,
    #333 8px,
    #3a3a3a 8px,
    #3a3a3a 11px,
    #333 11px
  );
  background-size: 11px 11px;
}
footer > div {
  max-width: 550px;
  margin: auto;
  padding: 1px;
}

footer a,
footer a:visited {
  color: inherit;
}
footer #logo {
  float: left;
  margin: 0 7%;
  height: 115px;
}
footer .content {
  padding-top: 7px;
}
footer .content::after {
  content: '';
  clear: both;
  display: block;
}
footer .version {
  font-size: 85%;
  color: #999;
}
footer #footline {
  text-align: center;
}

#cookiedough {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  min-height: 80px;
  padding: 4px;
  background-color: rgba(17, 17, 17, 0.8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
/*--- scriptrole -------------------------------------------------------------*/
.scriptrole.wide {
  max-width: 600px;
}
.scriptrole.w690 {
  max-width: 690px;
}
.scriptrole div.top {
  background-image: url(../img/600h.png);
  background-size: 100% 60px;
  height: 60px;
}
.scriptrole.w690 div.top {
  background-image: url(../img/690h.gif);
  background-size: 100% 72px;
  height: 72px;
}
.scriptrole div.mid {
  text-align: justify;
  background-image: url(../img/600m.gif);
  background-size: 100% auto;
  margin: 0 4% 0 3.67%;
  box-shadow: 3px 0px 2px -2px #333;
  padding: 0.1px 8px;
}
.scriptrole.w690 div.mid {
  margin: 0 3.7%;
}
.scriptrole div.bot {
  background-image: url(../img/600f.png);
  background-size: 100% 60px;
  height: 60px;
}
.scriptrole.w690 div.bot {
  background-image: url(../img/690f.gif);
  background-size: 100% 65px;
  height: 65px;
}

/*--- list -------------------------------------------------------------------*/
.list > div:first-child {
  border-top: 1px solid #333;
}
.list > div {
  border-bottom: 1px solid #333;
  padding: 5px 7px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.list > div:nth-child(odd) {
  background-color: #0000001a;
}

/*--- header -----------------------------------------------------------------*/
.headertext {
  display: inline-block;
  font-family: OldLondon;
  font-weight: normal;
  letter-spacing: 7px;
  text-align: center;
  text-shadow: -1px -1px 1.5px #000000, 0.5px 1px 1px #ffffff;
}
.headertext a {
  color: #b00;
  font-size: 40px;
  text-decoration: none;
  line-height: 1;
}

/*--- flash message ----------------------------------------------------------*/
.flash-msg {
  padding: 7px;
  padding-left: 40px;
  margin: 5px;
  position: relative;
  overflow: hidden;
  border: 1px solid;
}
.flash-msg::before {
  content: '!';
  font-family: oldlondon;
  padding: 5px;
  font-size: 55px;
  position: absolute;
  left: 12px;
  bottom: 0px;
  opacity: 0.55;
}

/* success */
.flash-success {
  color: #051;
  background-color: #0c23;
}

.flash-notice {
  color: #05a;
  background-color: #00f2;
}
.flash-warning {
  color: #fd0;
  background-color: #7507;
}
.flash-error {
  color: #a00;
  background-color: #f002;
}

/*--- status pearl ----------------------------------------------------------*/
.status {
  width: 12px;
  height: 12px;
  display: inline-block;
  border: 1px solid #111;
  border-radius: 100%;
  vertical-align: middle;
  box-shadow: inset 0 -2px 5px #999;
}

.status-ON {
  background-color: #0f0;
}
.status-FULL {
  background-color: #fe0;
}
.status-OFF {
  background-color: #f00;
}
