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

body {
	background-color: #fff;
	margin: 0px;
  font-size: 16px;
  font-family: "Open Sans", Helvetica, sans-serif;
}

a {
  color: #000;
}

a:hover {
  color: #080;
}

textarea {
	font-size: 16px;
	font-family: "Open Sans", Helvetica, sans-serif;
}

p {
  line-height: 1.5em;
}

h2 {  
  font-size: 33px;
  font-weight: normal;
  color: #000;
}

h3 {
	font-size: 23px;
  font-weight: normal;
  color: #f70;
	margin-top: 12px;
	margin-bottom: 12px;
}

h4 {
	font-size: 16px;
	font-weight: bold;
	margin-top: 5px;
	margin-bottom: 7px;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select, textarea {
  font-family: "Open Sans", Helvetica, sans-serif;
  border: 1px solid #ccc;
  padding: 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  background: #fff;
}

input[type="button"], input[type="submit"], button {
  display: inline-block;
  border: 1px solid #36f;
  background: #02f;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  padding: 8px 12px;
  font-size: 16px;
  font-family: "Open Sans", Helvetica, sans-serif;
}

input:focus {
  outline-style: solid;
  outline-width: 2px;
  outline-color: #000;
}

input[type="button"]:hover, input[type="submit"]:hover, button:hover {
  background: #36f;
}

form#login-form {
  float: right;
  width: 180px;
  margin-top: 32px;
}

form#login-form :is(input[type="text"], input[type="password"]) {
  width: 140px;
}

form#login-form a {
  display: inline-block;
  background: #000;
  border-radius: 11px;
  height: 32px;
  line-height: 32px;
  width: 140px;
  padding-left: 12px;
  margin-bottom: 8px;
  text-decoration: none;
  color: #fff;
  box-shadow: inset 2px 2px 4px 4px #fff6;
}

form#login-form input[type="submit"] {
  font-size: 16px;
  padding: 4px 8px;
  font-weight: bold;
}

form#login-form a:hover {
  background: #333;
}

main, nav, div.main-width {
  display: block;
  width: 1200px;
	margin-left: auto;
	margin-right: auto;
  position: relative;
}

header {
  display: block;
  background: linear-gradient(to bottom, #090a, #090f), url("../images/bigcrops_banner_back.jpg");
  height: 200px;
  padding-right: 40px;
  border-bottom: 2px solid #000;
  width: 100%;
}

header h1 {
  position: absolute;
  top: 40px;
  left: 290px;
  font-size: 35px;
  font-weight: normal;
  text-shadow: 0 0 2px #fff9;
  cursor: pointer;
}

header h1 div {
  color: #fff;
  font-size: 1.14em;
}

a.logo img {
  max-height: 200px;
  margin-top: 0;
  margin-left: 30px;
  margin-bottom: 5px;
}

main {
  padding: 12px;
  min-height: calc(100vh - 400px);
}

#get-started {
  text-align: center;
}

#get-started-mobi {
  display: none;
}

aside {
  display: block;
  background: #f3feff;
  border: 3px solid #999;
  padding: 12px;
  border-radius: 12px;
}

img.profile-img {
  float: left;
  margin-right: 12px;
}

.front_profile {
	font-size: 12pt;
}

.section_top {
	font-weight: bold;
	color: #000;
	margin-top: 5px;
}

.bottom_tab {
	position: relative;
	top: 5px;
	font-size: 15pt;
	padding-right: 15px;
}

.blue_bottom {
	background-color: #e5feff;
	padding: 3px;
}

.white_bottom {
	background-color: #fff;
	padding: 3px;
}

.important_message {
	color: #f00;
	font-weight: bold;
	margin: 10px;
}

footer {
  display: block;
  border-top: 2px solid #000;
  text-align: center;
  background: linear-gradient(to top, #090a, #090f), url("../images/bigcrops_banner_back.jpg");
  padding: 32px 0;
  height: 200px;
}

footer a {
	color: #000;
  text-shadow: 0 0 6px #fff;
	font-weight: normal;
  font-size: 22px;
	text-decoration: none;  
  margin-left: 32px;
}

footer a:first-child {
  margin-left: 0;
}

footer p {
  margin-top: 16px;
}

td > *:first-child {
  margin-top: 0;
}

.forum-frames {
  display: flex;
  gap: 12px !important;
}

.forum-frames > span {
  flex: 1;
}

.forum-frames > span:first-child {
  max-width: 800px;
}

table.formtable td {
  vertical-align: top;
}

table.formtable > tbody > tr > td:first-child {
  padding-right: 12px;
  padding-top: 4px;
}

table:is(.msgs, .msg, .thread) {
  width: 100%;
  border: 1px solid #ccc;
  border-collapse: collapse;
}

table:is(.msg, .thread) td {
  vertical-align: top;
  padding: 12px;
}

table.thread td {
  background: #eee;
}

table.thread tr:nth-child(odd) td {
  background: #ddd;
}

:is(table.msg, table.thread) td:first-child {
  width: 170px;
}

table.msgs th {
  background: #68b526;
  text-align: left;
}

table.msgs :is(th, td) {
  padding: 8px;
  border-bottom: 1px solid #ccc;
}

:is(tr.listed-forum, tr.listed-thread) td {
  height: 64px;
}

tr.listed-thread td:first-child {
  font-size: 14px;
}

tr.listed-forum td:first-child a {
  font-size: 21px;
  color: #000;
  text-decoration: none;
}

tr.listed-forum td:first-child a:hover {
  color: #080;
  text-decoration: underline;
}

tr.listed-thread td:first-child a:first-child {
  display: block;
  font-size: 20px;
  color: #000;
  text-decoration: none;
  margin-bottom: -4px;
}

tr.listed-thread td:first-child a:first-child:hover {
  color: #080;
  text-decoration: underline;
}

table.profile {  
  width: 100%;
	background-color: #e5feff;
  border: 1px solid #ccc;
  border-collapse: collapse;
}

table.profile th {
  text-align: left;
  font-size: 20px;
  font-weight: normal;
  background: #333;
  color: #fff;
  padding: 8px;
  border-collapse: collapse;
}

table.profile td { 
  border-bottom: 1px solid #ccc;
  padding: 12px;
  vertical-align: top;
}

div.thread-nav {
  float: right;
  font-weight: bold;
}

div.thread-nav a::before {
  content: '[';
}

div.thread-nav a::after {
  content: ']';
}

div.thread-nav a::before,
div.thread-nav a::after {
  color: #000;
  text-decoration: none;
  margin-left: 6px;
  margin-right: 6px;
}

#reply-to-content { 
  background: #d0d0d0;
  padding: 12px;
}

ol > li {
  margin-bottom: 16px;
}

div#profile-images {
  display: flex;
  flex-wrap: wrap;
  width: auto;
  gap: 12px;
}

div#profile-images > span {
  text-align: center;
}

div.multi-col > span {
  flex: 1;
}

div.multi-col {
  display: flex;
}

div.multi-col > span {
  flex: 1;
}

p.paginate :is(a, span) {
  display: inline-block;
  padding: 8px;
  border-radius: 4px;
  width: 40px;
  text-align: center;
}

p.paginate span {
  font-weight: bold;
}

p.paginate a {
  background: #9af;
  color: #fff;
  text-decoration: none;
}

p.paginate a:hover {
  background: #abf;
}

#messages-top {
  display: flex;
  width: 300px;
}

#messages-top > span {
  flex: 1;
  border: 1px solid #000;
  text-align: center;
  background: #000;
  color: #fff;
}

#messages-top > span:first-child {
  border-right: none;
}

#messages-top > span :is(a, strong) {
  display: block;
  width: 100%;
  height: 100%;
  padding: 4px;
}

#messages-top > span a {
  background: #fff;
  color: #000;
}

.premium-user::after {
  display: inline;
  content: 'Premium';
  font-weight: bold;
  color: #998100;
}

.admin-user::after {
  dislay: inline;
  content: 'Admin';
  font-weight: bold;
  color: #090;
}

@media (max-width: 1200px) {
  main, nav, div.main-width {
    width: 100%;
  }

  .notab {
    display: none;
  }

  table.msgs, table.profile {
    width: calc(100% + 24px);
    border-left: 0;
    border-right: 0;
    margin-left: -12px;
    margin-right: -12px;
  }

  header h1 {
    top: 160px;
    font-size: 28px;
    line-height: 32px;
  }

  header h1 div {
    font-size: 1em;
  }
}

@media (max-width: 700px) {
  header {
    height: 180px;
  }

  main {
    min-height: calc(100vh - 414px);
  }

  a.logo img {
    height: 160px;
  }

  form#login-form {
    margin-top: 12px;
  }

  header h1 {
    width: calc(100% - 200px);
    top: auto;
    bottom: 0;
    left: 200px;
    font-size: 16px;
    line-height: 18px;
    margin-bottom: 0;
  }

  .nomobi {
    display: none;
  }

  table.profile :is(td, th) {
    display: block;
    width: 100%;
  }

  table.profile :is(td, th):empty {
    display: none;
  }

  form#login-form {
    width: 150px;
  }

  form#login-form :is(input[type="text"], input[type="password"]) {
    width: 110px;
  }

  form#login-form a {
    width: 110px;
  }

  textarea {
    width: 100%;
  }
  
  div.multi-col {
    display: block;
  }

  #get-started-mobi {
    display: block;
  }

  #get-started-desktop {
    display: none;
  }
}
