@import url('https://fonts.googleapis.com/css?family=Maven+Pro|Sniglet&display=swap&subset=latin-ext');

body {
  margin:0 auto;
  background-color:#9EA772;
  color:#364328;
  font-family: 'Maven Pro', sans-serif;
}

header, nav, main, aside, footer, article, section {
  display:block;
}

h1, h2, h3 {
  font-family: 'Sniglet', 'Maven Pro', sans-serif;
  font-weight:normal;
  letter-spacing: -0.02em;
  margin:0;
  color:#30303A;
}

h1, h2 {
  text-align:center;
}

h1 {
  font-size:2.12em;
}

h3 {
  font-size:1.12em;
  margin:0;
}

h4 {
  margin:26px 0 5px 0;
}

h4:first-child {
  margin-top:0;
}

p {
  margin:0;
}

a {
  color:#525A6F;
}

img {
  max-width:100%;
  max-height:100%;
}

/*****************/

#wrapper {
  display:block;
  top:0;
  left:0;
  width:100%;
  height:100%;
}

header, main, footer {
  width:100%;
}

header {
  position:fixed;
  z-index:9;
  height:80px;
  background:#5C694D;
  color:#FFFDEB;
}

main {
  position:relative;
  top:80px;
  min-height:calc(100% - 120px);
}

footer {
  position:relative;
  top:80px;
  height:40px;
  font-size:14px;
  text-align:center;
  background:#5C694D;
  color:#CFD2AF;
}

footer p {
  padding-top:10px;
}

.content {
  display:block;
  margin:0 auto;
  box-sizing:border-box;
}

main .content {
  background:#FFFDEB;
  border-bottom-left-radius:3px;
  border-bottom-right-radius:3px;
  padding:1px 0;
}

/*************************/

nav.mainnav {
  text-align:center;
}

nav.mainnav a {
  display:inline-block;
  line-height:78px;
  padding:0 18px;
  text-decoration:none;
  text-transform:uppercase;
  color:#F7F8F8;
  font-size:17px;
  font-weight:bold;
  
  border-left:1px solid rgba(255,255,255,0.2);
  border-right:1px solid rgba(0,0,0,0.2);
}

nav.mainnav a:first-child {
  border-left:none;
}

nav.mainnav a:last-child {
  border-right:none;
}

nav.mainnav a:hover {
  background:rgba(255,255,255,0.15);
}

h1.mainnav {
  color:#F7F8F8;
  line-height:80px;
  margin:0;
}



/************************/
@media screen and (max-width: 1023px) {
  .content {
  display:block;
  width:100%;
  margin:0 auto;
  box-sizing:border-box;
}
  
  h1.mainnav {
    font-size:1.4em;
  }
  
.onefourth, .onethird, .half, .twothird, .full {
  display:block;
  vertical-align:top;
  box-sizing:border-box;
  border-collapse:collapse;
  width:100%;
 }
.block {
  margin:10px 0;
}
}

@media screen and (min-width: 1024px) {
  
 .content {
  min-width:768px;
  max-width:1400px;
}

.onefourth, .onethird, .half, .twothird, .full {
  display:inline-block;
  vertical-align:top;
  box-sizing:border-box;
  border-collapse:collapse;
}

.onefourth {
  width:25%;
}

.onethird {
  width:33%;
}

.half {
  width:50%;
}

.twothird {
  width:66%
}
  
.full {
  width:100%;
}
  
.block {
  margin: 20px 10px 20px 10px;
}
}

.block {
  display:block;
  border-radius:5px;
  background:#F7E4B8;
  min-height:100px;
  padding:10px 15px;
}

.block hr {
  display:block;
  margin:0 auto 15px auto;
  width:80%;
  border:none;
  border-bottom:1px solid #30303A;
}

/******************************/

.loginbox {
  width:100%;
  margin:0 auto;
  padding:20px 0;
  text-align:center;
}

.loginbox input, .loginbox select, a.linkbtn {
  display:block;
  font-family:"Maven Pro", sans-serif;
  margin:0 auto 5px auto;
  text-align:center;
  height:40px;
  border:1px solid #BC6C25;
  border-radius:2px;
}

.loginbox input, .loginbox select {
  width:80%;
  font-size:1.15em;
  background:#FBF1D2;
  filter:none;
}

a.linkbtn {
  width:60px;
  line-height:40px;
  font-size:1em;
  text-decoration:none;
}

.loginbox input[type="submit"], a.linkbtn {
  background:#BC6C25;
  color:#FFFDEB;
  cursor:pointer;
}

.loginbox input[type="text"]:focus, .loginbox input[type="password"]:focus, .loginbox input[type="email"]:focus {
  background:#FFFDEB;
  border-color:#5C694D;
}

.loginbox input[type="submit"]:hover, a.linkbtn:hover {
  background:#C9843D;
  border-color:#C9843D;
}

.loginbox table {
  width:80%;
  margin:0 auto;
}

.loginbox table tr td input, .loginbox table tr td select {
  width:100%;
}

p.error {
  font-size:1.5em;
  text-align:center;
  font-weight:bold;
}

/*************************************/

.notif {
  display:table;
  position:relative;
  min-height:45px;
  width:80%;
  border-right:4px solid;
  border-radius:2px;
  margin: 10px auto 10px;
  text-align:left;
  box-shadow:2px 2px 5px #aaa;
  box-sizing:border-box;
}

.notificon, .notifmsg {
  display:table-cell;
  vertical-align:middle;
}

.notificon {
  width:75px;
  text-align:center;
  padding:15px 0;
  color:#eee;
}

.notifmsg {
  padding:15px;
}

.msg_info {
  border-color:#104f55;
}

.msg_info .notificon {
  background-color:#104f55;
}

.msg_scs {
  border-color:#9EA772;
}

.msg_scs .notificon {
  background-color:#9EA772;
}

.msg_warn {
  border-color:#C9843D;
}

.msg_warn .notificon {
  background-color:#C9843D;
}

.msg_err {
  border-color:#BB2525;
}

.msg_err .notificon {
  background-color:#BB2525;
}

/*************************************/