body {
  overflow: hidden; /* to fix scrolling on codes page due to copy text function */
}

a {
  display: inline-block;
  position: relative;
  color: #6a8491;
  text-decoration: none;
}
a:hover { color: #ddc6c6; }
a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: 0px;
  left: 0;
  background-color: #6a8491;
  transform-origin: bottom right;
  transition: transform 0.20s ease-out;
}
nav a::after, .codes a::after, .aff a::after {
	background-color: transparent;
}
a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
body {
	margin:	0;
	background: #6a8491 url(images/bg.jpg) repeat-x;
    font: 1.05em "Dosis", sans-serif;
    line-height: 18px;
    color: #a79090;
	}
nav {
	margin-bottom: 28px;
    padding: 8px 0 0 5px;
    font-size: 1.2em;
}
nav a:link, nav a:visited {
    padding: 0 0 5px;
    width: 79px;
    text-align: center;
    color: #cacfd4;
    background: #90476c;
    font-variant: small-caps;
    font-size: 1.25em;
}
nav a:hover, nav a.current {
	color: #e8e8e8;
	background-color: #000;
}
nav a:link:first-of-type, nav a:visited:first-of-type {
	margin-left: 10px;
}
#wrapper {
	margin: 10px auto;
    width: 502px;
    height: 281px;
    background: url(images/banner.webp);
	border: 10px solid #111313;
	border-radius: 10px 10px 0 0;
}
#container {
	margin: -10px auto 5px;
    width: 522px;
	height: 570px;
    background-color: #111313;
    border-radius: 0 0 20px 20px;	
}
#content {
	padding: 15px;
	height: 395px;
	overflow: auto;
}
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-thumb {
      background: #222e2e;
}
.flex {
	margin: 2px 0 27px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.inner:first-of-type {
    width: 125%;
}
.aff { margin-bottom: 18px; }
.aff a { margin-left: 7px; }
blockquote {
    line-height: 14px;
    width: 100%;
    padding: 0;
    margin: 0;
}
ul {
	list-style-position: outside;
	list-style-type: square;
	}
b {color: #9d1212;}
em, b {font: 1.25em "Caveat", cursive; line-height: 18px;}
.center, .award {text-align: center;}
h3 {
	margin: 0;
    font: 2.35em "Dancing Script", cursive;
    color: #ccefaf94;
    text-shadow: 2px 1px 2px #809672;
}
h6 {
	position: relative;
    margin: 21px 0 -14px;
    padding-left: 30px;
    color: #6e949d;
    font-size: 1.35em;
    text-transform: uppercase;
    letter-spacing: 17px;
}
.codes h6 { margin-bottom: 10px; }
img.left, img.right {
	border: 1px solid #ccc;
    padding: 3px;
}
.left {
	float:left;
	margin-right: 12px;
	}
.right {
	float:right;
	margin-left: 3px;
	text-align: right;
	}
.form {
	float: left;
	width: 50%;
}
.req:before{
	content: "*";
	color: red;
}
.codecopy {
	margin-top: 20px;
	float: left;
	width: 45%;
	padding: 0 10px;
}
.control-copytextarea {
    position: relative;
    cursor: pointer;
    font-size: .7em;
    float: right;
    top: -75px;
}
.control-copytextarea::before, .control-copytextarea::after {content: " - ";}
.codecopy textarea, .codecopy textarea:focus {
	width: 190px;
	color: #0265a1;
	font-family: inherit;
	font-size: .95em;
	overflow: hidden;
}
.donatetext { margin-top: 50px; }
.donatetext a {
    text-align: center;
    display: block;
	width: 135px;
    margin: 0 auto;
}
.codes {margin: 63px 0 0;}
.codes h3 {margin: 50px 0 -20px;}
input, textarea, select {
	margin: 0px;
	width: 236px;
    color: #90476c;
    font-size: 1em;
	font-family: inherit;
    background-color: #f7dce1;
    border-right: 1px solid #262626;
    border-bottom: 1px solid #262626;
    border-top: 1px dotted #818384;
    border-left: 1px dotted #818384;
	outline: none;
   	box-sizing: border-box;
}
input, textarea {padding-left: 4px;}
input:focus, textarea:focus, select:focus {
	border: 1px solid #42a9ca;
}
input.show_join_comments_field {
    width: 475px;
}
input[type=radio], input[type=checkbox] {
	display: inline;
	width: 20px;
	margin: 3px 0 0 10px;
	outline: none;
}
form.show_join_form input {margin-bottom: 10px;}
form.show_join_form div {margin-right: 346px;}
textarea {
	width: 250px;
	height: 80px;
}
#select1, #select2 {
	margin-bottom: 15px;
	height: 40px;
	width: 204px;
	line-height: 16px;
	}
input::file-selector-button {
	margin: 0 2px 2px -3px;
	font-size: .85em;
	color: #fff;
	background-color: #2d5052;
}
.jsubbtn, .usubbtn, .jresbtn, .uresbtn {
    padding: 9px 10px;
    color: #fff;
    text-align: center;
    background-color: #2d5052;
    border: 2px solid #262626;
    border-radius: 5px;
    display: flex;
}
.jsubbtn, .usubbtn, .jresbtn, .uresbtn { 
	position: relative;
    left: 350px; 
}
.jsubbtn:hover, .jresbtn:hover,
.usubbtn:hover, .uresbtn:hover {
	background-color: #5b7c7e;
}
.show_join_credits, .show_update_credits, .show_lostpass_credits {
	font-size: .8em;
	text-align: center;
}
.small {
	font-size: .7em;
    text-align: center;
    line-height: 11px;
}
.small span {
    font-size: 2em;
    vertical-align: top;
}
.clear { clear:both; }
.show_members_showing_what {
	text-transform: uppercase;
	font-size: 1.15em;
	color: #B0D0D3;
	}
footer { 
	margin-top: 13px;
	font-size: .8em;
	text-align: center;
	font-style: oblique;
	line-height: 13px;
	color: #a3847485;
 }
footer div:nth-child(2) { font-style: normal;}
footer div:nth-child(2) a:after { border: 0; background-color: transparent; }