* {
  box-sizing: border-box;
  font-family: "Libre Franklin", sans-serif;
  font-size: 16px;
}

body {
  background-color: #474748;
  margin: 0;
}

.login, .register {
  width: 400px;
  background-color: #ffffff;
  box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  margin: 100px auto;
}
.login h1, .register h1 {
  text-align: center;
  color: #474748;
  font-size: 24px;
  padding: 20px 0 20px 0;
  border-bottom: 1px solid #dee0e4;
}
.login .links, .register .links {
  display: flex;
  padding: 0 15px;
}

.login .links a, .register .links a {
  color: #aa112c;
  text-decoration: none;
  display: inline-flex;
  padding: 0 10px 10px 10px;
  font-weight: bold;
}
.login .links a:hover, .register .links a:hover {
  color: #aa112c;
}
.login .links a.active, .register .links a.active {
  border-bottom: 3px solid #aa112c;
  color: #aa112c;
}
.login form, .register form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 20px;
}
.login form label, .register form label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 12%;
  height: 50px;
  background-color: #aa112c;
  color: #ffffff;
}
.login form input[type=password], .login form input[type=text], .login form input[type=email], .register form input[type=password], .register form input[type=text], .register form input[type=email] {
  width: 80%;
  height: 50px;
  border: 1px solid #dee0e4;
  margin-bottom: 20px;
  padding: 0 15px;
}
.login form input[type=submit], .register form input[type=submit] {
  width: 100%;
  padding: 15px;
  margin-top: 20px;
  background-color: #399C10;
  border: 0;
  cursor: pointer;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
.login form input[type=submit]:hover, .register form input[type=submit]:hover {
  background-color: #1B5B00;
  transition: background-color 0.2s;
}
.login form #rememberme, .register form #rememberme {
  width: 100%;
  height: auto;
  padding: 5px 20px;
  background-color: transparent;
  color: #000;
  justify-content: flex-start;
}
.login form #rememberme input, .register form #rememberme input {
  transform: scale(1.3);
  margin-right: 7px;
}
.login form .msg, .register form .msg {
  padding: 0 20px;
  width: 100%;
}
.login form .captcha, .register form .captcha {
  display: flex;
}
.login form > a, .register form > a {
  text-decoration: none;
  color: #5b6574;
  width: 100%;
  padding: 5px 20px;
}
.login form > a:hover, .register form > a:hover {
  color: #394049;
}

img.logo {
	max-width: 200px;
}

.navtop {
  background-color: #aa112c;
  height: 60px;
  width: 100%;
  border: 0;
}
.navtop div {
  display: flex;
  margin: 0 auto;
  width: 1000px;
  height: 100%;
}
.navtop div h1, .navtop div a {
  display: inline-flex;
  align-items: center;
}
.navtop div h1 {
  flex: 1;
  font-size: 22px;
  padding: 0;
  margin: 0;
  color: #ffffff;
  font-weight: normal;
}
.navtop div a {
  padding: 0 15px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
}
.navtop div a i {
  font-size: 14px;
  padding: 2px 8px 0 0;
}
.navtop div a:hover {
  color: #eaebed;
}

body.loggedin {
  background-color: #f3f4f7;
}

.content {
  width: 1000px;
  margin: 0 auto;
}
.content h1 {
  margin: 0;
  padding: 25px 0;
  font-size: 30px;
  color: #666;
}
.content .block {
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  margin: 25px 0;
  padding: 25px;
  padding-bottom: 100px;
  background-color: #fff;
}
.content .block p {
  padding: 5px 5px 5px 0;
  margin: 0 0 10px 0;
  max-width: 600px;
}

.content .block a {
  color: #01337a;
}

.content.profile form label {
  display: block;
  padding: 15px 0 10px 0;
}
.content.profile form input[type=text], .content.profile form input[type=password], .content.profile form input[type=email] {
  padding: 10px;
  width: 300px;
  border: 1px solid silver;
  border-radius: 5px;
}
.content.profile .profile-detail {
  padding: 5px;
}
.content.profile .profile-detail strong {
  display: inline-block;
  color: #777;
  min-width: 120px;
  font-size: 16px;
}
.content.profile .profile-detail i {
  width: 28px;
  color: #aaabad;
}
.content.profile .profile-btn {
  display: inline-block;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  color: #fff;
  background-color: #399C10;
  margin: 20px 5px 0 0;
  padding: 10px 15px;
  border-radius: 5px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  font-size: 14px;
  float: left;!important
}
.content.profile .profile-btn:hover {
  background-color: #1B5B00;
}

div.form-group {
  margin: 0 0 10px 0;
  padding-top: 10px;
  padding-bottom: 10px;
  max-width: 600px;
  }
    
.content label {
	font-weight: bold;
	}

.content.coupon input, .content.coupon select {
	float: right;
  	clear: both;
  	border: 1px solid silver;
  	width: 300px;
  	border-radius: 5px;
  	padding: 5px;
	}
	
form {
 	overflow: hidden;
	}

div.message {
	padding-top: 15px;
	}		

th, td {
	text-align: left;
	padding: 5px 15px 5px 5px;
	}

th {
    background-color: #595958;
    color: #fff;
    }

tr:nth-child(even) {
    background-color: #e3e3e3;
    }
        
.pagination {
  	padding-top: 20px;
	}

button {
	padding: 8px;
	border:none;
	background-color: #399C10;
	color: #FFF;
	margin-top: 20px;
	padding: 10px 15px;
  	border-radius: 5px;
	}

button:hover {
  background-color: #1B5B00;
}

@media screen and (max-width: 400px) {
  .login, .register {
    width: 95%;
  }
}
@media screen and (max-width: 1000px) {
  .navtop {
    height: auto;
    padding: 10px;
  }
  .navtop div {
    flex-flow: wrap;
    width: 100%;
  }
  .navtop div h1 {
    display: block;
    flex-basis: 100%;
  }
  .navtop div a {
    padding: 10px 0;
    flex-basis: 50%;
  }
  .content {
    padding: 10px;
    width: 100%;
  }
  .content form input[type=text], .content form input[type=password], .content form input[type=email] {
    width: 100%;
    max-width: 100%;
  }
  .profile-detail strong {
    width: 100%;
  }
}