@import url(/css/cssreset.css);
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  min-width: 1020px;
}

section, .wrapper {
  margin: 0 auto;
  width: 1000px;
}

a {
  text-decoration: none;
  color: #fff;
}

h3 {
  font-weight: bold;
}

input {
  border: none;
}

.clearfix:before, .clearfix:after {
  content: " ";
  display: table;
  clear: both;
}

ul li {
  float: left;
}

section {
  padding-top: 18px;
}
section .header {
  background: #002656;
  color: #fff;
  font-size: 20px;
  overflow: hidden;
  height: 40px;
}
section .header h2 {
  float: left;
  margin-left: 21px;
  text-transform: uppercase;
  padding: 10px 0;
}
section .header .fa-bars {
  padding-right: 10px;
}
section .header .button {
  float: right;
  font-size: 18px;
  height: 40px;
}
section .header .button .fa {
  padding-top: 13px;
}
section .body {
  background: #fff;
}

.mobile {
  display: none;
}

@media screen and (max-width: 767px) {
  .desktop {
    display: none;
  }

  .mobile {
    display: block;
  }

  html, body {
    min-width: inherit;
    width: 100%;
    overflow-x: hidden;
  }

  header h1 img {
    height: 55px;
  }

  section, .wrapper {
    width: calc(100% - 20px);
  }
}
.sprite {
  background-image: url("/img/sprite.png");
  background-repeat: no-repeat;
  content: " ";
  display: inline-block;
  top: 3px;
  position: relative;
}
.sprite.Approved {
  background-position: -42px -21px;
}
.sprite.Rejected {
  background-position: -21px -21px;
}
.sprite.Pending {
  background-position: 0 -21px;
}
.sprite.referrals {
  background-position: 0px 0px;
}
.sprite.gifts {
  background-position: -21px 0px;
  width: 22px !important;
}
.sprite.history {
  background-position: -42px 0px;
}

.referrals .sprite, .statuses .sprite {
  height: 18px;
  width: 19px;
}

.nav .sprite {
  height: 20px;
  width: 24px;
  margin-right: 10px;
}

input {
  -webkit-border-radius: 0;
  border-radius: 0;
}

.button, input[type="submit"] {
  background: #f9d102;
  color: #04335d;
  height: 30px;
  font-size: 12px;
  display: inline-block;
  padding: 0 10px;
  line-height: 30px;
  white-space: nowrap;
}
.button .fa, input[type="submit"] .fa {
  color: #fda902;
  padding: 9px 10px 9px 0;
  border-right: 1px solid #F7BB45;
  margin-right: 10px;
  -webkit-box-shadow: 1px 0px 0px 0px #F7F4AC;
  box-shadow: 1px 0px 0px 0px #F7F4AC;
}
.button:hover, input[type="submit"]:hover {
  background: #F4DA57;
}

.button:active {
  line-height: 30px;
}
.button.disabled {
  background-color: #B0AEAC;
  color: #E2DDDD;
}

input[type="submit"]:active {
  line-height: 25px;
}

@media screen and (max-width: 767px) {
  div.submit input[type="submit"] {
    float: none;
    width: 100%;
    text-transform: uppercase;
    font-size: 18px;
  }

  section .header .button {
    height: 37px;
  }
  section .header .button .fa {
    padding-top: 9px;
  }
}
.notification, #authMessage {
  position: relative;
  margin: 0 0 15px 0;
  padding: 0;
  border: 1px solid;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  background-position: 10px 11px !important;
  background-repeat: no-repeat !important;
  font-size: 13px;
  width: 100%;
}
.notification .close, #authMessage .close {
  color: #990000;
  font-size: 9px;
  position: absolute;
  right: 5px;
  top: 5px;
}
.notification.attention, #authMessage.attention {
  background: #fffbcc url("/img/icons/exclamation.png") 10px 11px no-repeat;
  border-color: #e6db55;
  color: #666452;
}
.notification.information, #authMessage.information {
  background: #dbe3ff url("/img/icons/information.png");
  border-color: #a2b4ee;
  color: #585b66;
}
.notification.success, #authMessage.success {
  background: rgba(213, 255, 206, 0.78) url("/img/icons/tick_circle.png");
  border-color: #9adf8f;
  color: #556652;
}
.notification.error, .notification #authMessage, #authMessage.error, #authMessage #authMessage {
  background: rgba(255, 206, 206, 0.81) url("/img/icons/cross_circle.png");
  border-color: #df8f8f;
  color: #665252;
}

.error-message {
  color: #AD4444;
  padding-top: 5px;
}

.notification div, #authMessage {
  display: block;
  font-style: normal;
  padding: 10px 10px 10px 36px;
  line-height: 1.5em;
}

/* Notification for form inputs */
.input-notification {
  background-position: left 2px;
  background-repeat: no-repeat;
  padding: 2px 0 2px 22px;
  background-color: transparent;
  margin: 0 0 0 5px;
}

@media screen and (max-width: 767px) {
  .notification, #authMessage {
    position: absolute;
    z-index: 10000;
  }
}
table {
  width: 100%;
}
table .fa {
  color: #d7d7d7;
  font-size: 18px;
}
table .fa:hover {
  color: #ACACAC;
}
table tr:not(:last-of-type) {
  border-bottom: 1px solid #F0F0F0;
}
table tr th, table tr td {
  padding: 10px;
}
table tr:not(:first-of-type):hover {
  background: #FAFAFA;
}
table th {
  text-align: left;
}
table th, table th a {
  color: #5a5a5a;
}
table td {
  color: #979797;
}
table td:last-child {
  color: #f9d102;
  font-size: 18px;
}

.paging {
  text-align: right;
  padding: 20px 0 5px 0;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 10px;
}

.paging a, .paging span.current {
  margin: 0 5px 0 0;
  padding: 3px 6px;
  text-decoration: none;
  color: rgba(4, 51, 93, 0.88);
}

.paging a.number, .paging span.current {
  border: 1px solid #ddd;
}

.paging span.current {
  background: #04335d;
  border-color: rgba(4, 51, 93, 0.88) !important;
  color: #fff !important;
}

.paging a.current:hover {
  text-decoration: underline;
}

.paging span.disabled {
  color: lightgrey;
  margin-right: 10px;
}

.input {
  margin-bottom: 10px;
}
.input label {
  display: inline-block;
  font-size: 14px;
  min-width: 90px;
}

div.submit {
  overflow: hidden;
}
div.submit input[type="submit"] {
  float: right;
  cursor: pointer;
}

input[type=checkbox] {
  margin: 0 6px;
  vertical-align: top;
}

input[type="text"], input[type="password"], select {
  background-color: #ccd7e1;
  height: 29px;
  padding: 3px 0;
  width: 290px;
  text-indent: 7px;
}

textarea {
  background-color: #ccd7e1;
  border: 0px;
  padding: 5px 10px;
  width: 290px;
}

div.textarea label {
  margin-top: 4px;
  vertical-align: top;
}

select {
  border-radius: 0;
  border: none;
  -moz-appearance: none;
  -webkit-appearance: button;
  -webkit-padding-end: 20px;
  -moz-padding-end: 27px;
  -webkit-padding-start: 2px;
  -webkit-user-select: none;
  appearance: button;
  background-image: url(/img/select.png);
  background-position: calc( 100% - 7px) center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 5px 0px;
  text-overflow: ellipsis;
  cursor: pointer;
}

@-moz-document url-prefix() {
  select {
    text-indent: 3px;
  }
}
form span.error {
  color: red;
  display: block;
  margin-top: 5px;
  text-align: right;
}

@media screen and (max-width: 767px) {
  input[type="text"], input[type="password"], select, input[type="text"].small, textarea {
    width: 100% !important;
    height: 35px;
  }

  #UserName {
    margin: 10px 0 0 0 !important;
  }

  form label {
    display: none !important;
  }

  ::-webkit-input-placeholder {
    text-transform: uppercase;
  }

  :-moz-placeholder {
    /* Firefox 18- */
    text-transform: uppercase;
  }

  ::-moz-placeholder {
    /* Firefox 19+ */
    text-transform: uppercase;
  }

  :-ms-input-placeholder {
    text-transform: uppercase;
  }
}
header {
  background: #003374;
  height: 100px;
}
header .wrapper {
  position: relative;
}
header ul {
  position: absolute;
  right: 0;
  top: 0;
}

h1 {
  display: inline;
}
h1 img {
  margin-top: 16px;
}
h1 + span {
  display: inline;
  color: #f9d102;
  font-size: 20px;
  margin-left: 8px;
  text-transform: uppercase;
}

.user-nav {
  font-size: 14px;
  color: #fff;
}
.user-nav .welcome span {
  color: #559fda;
}
.user-nav li {
  padding: 8px 10px 0;
}
.user-nav li:not(:last-of-type) {
  border-right: 1px solid #559fda;
}
.user-nav a {
  position: relative;
  text-transform: uppercase;
}
.user-nav .fa {
  margin-right: 5px;
}
.user-nav :after {
  top: 16px;
}

.nav {
  font-size: 16px;
  margin-top: 62px;
}
.nav li {
  background: #00539f;
  height: 31px;
  position: relative;
}
.nav li:not(:last-of-type) {
  margin-right: 1px;
}
.nav a {
  display: block;
  padding: 3px 20px;
}
.nav a:not(.current):hover {
  background: #065CAB;
}
.nav .points {
  background: #f9d102;
  font-size: 12px;
  padding: 0 0 0 14px;
  line-height: 31px;
}
.nav .points span {
  border-left: 1px solid #F7F4AC;
  -webkit-box-shadow: -1px 0px 0px 0 #fda902;
  box-shadow: -1px 0px 0px 0 #fda902;
  display: inline-block;
  font-size: 21px;
  padding: 0 9px;
  margin-left: 14px;
}

.current:after {
  content: " ";
  position: absolute;
  border-bottom: 2px solid #f9d102;
  width: 100%;
  left: 0;
  bottom: 0;
}

@media screen and (max-width: 767px) {
  header {
    height: 91px;
  }
  header .wrapper {
    width: 100%;
  }
  header h1 img {
    margin-top: 5px;
    height: 41px;
    margin-left: 10px;
  }
  header h1 + span {
    font-size: 16px;
  }
  header h2 {
    font-size: 15px;
  }
  header ul.user-nav {
    display: none;
  }
  header ul.nav {
    position: inherit;
    margin: 5px 0px 0px;
    width: 100%;
    /*
    a, .points {
    	*:not(i):not(span){
    		font-size: 0px;
    	}
    }*/
  }
  header ul.nav li {
    height: 37px;
    text-align: center;
    margin: 0 !important;
    width: 23%;
  }
  header ul.nav .points {
    padding: 0px;
    width: 31%;
    line-height: 38px;
  }
  header ul.nav .points q {
    display: none;
  }
  header ul.nav .points span {
    padding: 0px;
    border: 0px;
    box-shadow: none;
    margin: 0px;
  }
  header ul.nav a {
    padding: 3px 20px 9px;
    font-size: 0px;
  }
}
.users-profile .body {
  position: relative;
}
.users-profile .body p {
  color: #003374;
  font-size: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 15px;
}
.users-profile form label {
  min-width: 180px;
}
.users-profile .member {
  position: absolute;
  margin-top: 3px;
  width: calc(100% - 40px);
}

.membersince {
  float: right;
  font-size: 13px;
  color: #a3a3a3;
}

.registNumber {
  color: #f9d102;
  font-size: 14px;
  margin-left: 180px;
}

@media screen and (max-width: 767px) {
  .users-profile .member {
    position: initial;
    width: 100%;
    overflow: hidden;
    line-height: 20px;
    margin-bottom: 10px;
  }
  .users-profile .member span {
    display: block;
    margin: 0 0 0 10px;
    font-size: 15px;
    text-align: right;
  }
}
.statuses {
  text-align: right;
  padding-bottom: 10px;
}
.statuses .sprite {
  margin-right: 7px;
}
.statuses span {
  display: inline-block;
  margin-left: 13px;
}

.referrals-services {
  position: relative;
}

#serviceDetails {
  margin-left: 545px;
  margin-top: -303px;
  position: absolute;
  width: 410px;
}
#serviceDetails label {
  text-transform: inherit;
  color: #f9d102;
  font-size: 17px;
}
#serviceDetails span {
  margin-left: 50px;
  color: #f9d102;
  border-bottom: 1px solid #c3c3c3;
}
#serviceDetails p {
  color: #c3c3c3;
  margin-top: 5px;
  font-size: 16px;
  line-height: 18px;
}

.referrals table td:nth-of-type(1), .referrals table th:nth-of-type(1) {
  text-align: center;
}
.referrals table td:nth-of-type(6), .referrals table td:nth-of-type(7), .referrals table th:nth-of-type(6), .referrals table th:nth-of-type(7) {
  text-align: center;
}
.referrals table td:nth-of-type(8), .referrals table th:nth-of-type(8) {
  text-align: right;
}

.referrals-add .body, .referrals-edit .body {
  padding: 20px;
}
.referrals-add .body label, .referrals-edit .body label {
  min-width: 150px;
}
.referrals-add input[type="text"], .referrals-add input[type="password"], .referrals-add select, .referrals-edit input[type="text"], .referrals-edit input[type="password"], .referrals-edit select {
  width: 380px;
}
.referrals-add textarea, .referrals-edit textarea {
  width: 380px;
}

.histories table .negative {
  color: red;
}
.histories table td:nth-of-type(1), .histories table th:nth-of-type(1) {
  color: #04335d;
  width: 100px;
}
.histories table td:nth-of-type(3), .histories table th:nth-of-type(3) {
  text-align: right;
}

@media screen and (max-width: 767px) {
  .statuses {
    margin-top: 24px;
  }
  .statuses .sprite, .statuses span {
    margin: 0px;
  }

  .referrals-index .header, .referrals-add .header {
    height: 0px;
  }
  .referrals-index .header .button, .referrals-add .header .button {
    position: absolute;
    border-top: 1px solid #04335d;
    margin-left: -10px;
    margin-top: -72px;
    width: 100%;
  }
  .referrals-index .header h2, .referrals-add .header h2 {
    display: none;
  }

  .referrals-add .header .button {
    margin-top: -18px;
  }
  .referrals-add .body {
    margin-top: 38px;
  }
  .referrals-add .back {
    background: #002656;
    height: 36px;
    line-height: 34px;
    margin-top: -17px;
    padding: 0 15px;
    position: absolute;
    right: 0;
  }

  .referrals table:not(.confirmDelete) thead {
    display: none;
  }
  .referrals table:not(.confirmDelete) td:nth-of-type(3), .referrals table:not(.confirmDelete) td:nth-of-type(4), .referrals table:not(.confirmDelete) td:nth-of-type(5), .referrals table:not(.confirmDelete) th:nth-of-type(3), .referrals table:not(.confirmDelete) th:nth-of-type(4), .referrals table:not(.confirmDelete) th:nth-of-type(5) {
    display: none;
  }
  .referrals table:not(.confirmDelete) td:nth-of-type(8), .referrals table:not(.confirmDelete) th:nth-of-type(8) {
    white-space: nowrap;
  }

  .confirmDelete {
    background: #fff;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid #F0F0F0;
  }
  .confirmDelete .points {
    color: #f9d102;
    font-size: 18px;
    width: 90px;
  }
  .confirmDelete td {
    text-align: left !important;
  }
  .confirmDelete td:nth-of-type(2) {
    width: 40px;
  }
  .confirmDelete td:last-of-type {
    width: 68px;
  }
  .confirmDelete .fa-remove {
    padding: 6px 16px;
    background-color: #ca060a;
    color: #fff;
    font-size: 17px;
  }

  #serviceDetails {
    margin: 15px 0;
    position: inherit;
    width: 100%;
  }
  #serviceDetails label {
    font-size: 15px;
    display: inline-block !important;
  }
  #serviceDetails p {
    font-size: 14px;
  }

  .histories table td:nth-of-type(3), .histories table th:nth-of-type(3) {
    white-space: nowrap;
  }
}
.gifts-index .body {
  padding: 20px;
  color: #464646;
}
.gifts-index .body .desc {
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 18px;
}

article {
  float: left;
  width: 255px;
  height: 294px;
  position: relative;
  font-size: 12px;
  overflow: hidden;
}
article:not(:last-of-type) {
  margin-right: 20px;
}
article:hover .redeemButton {
  display: block;
}
article .image {
  border: 1px solid #f1f1f1;
  height: 223px;
  position: relative;
  width: 100%;
}
article img {
  max-height: 98%;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  max-width: 98%;
}
article .gift-name {
  color: #003374;
  font-size: 16px;
  line-height: 34px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 207px;
}
article p:not(.gift-name) {
  padding-top: 7px;
  border-top: 1px solid #e4e4e4;
  line-height: 15px;
}
article .points {
  color: #f9d102;
  position: absolute;
  right: 0;
  font-size: 18px;
  margin-top: -28px;
}

.redeemButton {
  position: absolute;
  width: 100%;
  height: 223px;
  background: url(/img/bg-gifts.png);
  z-index: 100;
  display: none;
}
.redeemButton a {
  top: 50%;
  left: 50%;
  position: absolute;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  padding: 0 19px;
}

@media screen and (max-width: 767px) {
  .gifts-index .body .desc {
    display: none;
  }

  article {
    float: none;
    width: initial;
    margin-right: 0px !important;
  }
}
#menu {
  display: none;
}

.mobile-nav {
  display: none;
}

@media screen and (max-width: 767px) {
  label[for=menu] {
    color: #fff;
    cursor: pointer;
    float: right;
    display: block;
    font-size: 39px;
    margin: 8px 10px 0 0;
  }
  label[for=menu]:after {
    content: "\2261";
  }

  aside {
    height: auto !important;
  }

  .main {
    width: 100%;
    overflow: hidden;
    position: absolute;
  }

  .mobile-nav {
    display: block;
    position: absolute;
    right: -280px;
    width: 0px;
    background: #002656;
    height: 100%;
    overflow: hidden;
  }
  .mobile-nav ul > li {
    width: 100%;
  }

  .main, .mobile-nav {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }

  input:checked ~ .mobile-nav {
    right: 0;
    width: 280px;
  }

  input:checked ~ .main {
    margin-right: 280px;
    margin-left: -280px;
  }
}
#menu {
  display: none;
}

@media screen and (max-width: 767px) {
  .mobile-nav p {
    display: table;
    font-size: 31px;
    text-align: center;
    width: 100%;
  }
  .mobile-nav p span {
    width: 20%;
    background: #00539f;
    border-right: 1px solid #002656;
    display: table-cell;
    padding: 11px 0 12px;
  }
  .mobile-nav p span:last-of-type {
    background: #f9d102;
  }
  .mobile-nav p span:last-of-type a {
    color: #00539f;
  }
  .mobile-nav ul {
    font-size: 19px;
    line-height: 36px;
    text-indent: 11px;
    color: #fff;
  }
  .mobile-nav ul li.welcome span {
    color: #f9d102;
    font-size: 17px;
  }
  .mobile-nav ul li:not(:last-of-type) {
    border-bottom: 1px solid #00539f;
  }
  .mobile-nav ul a {
    display: block;
  }
  .mobile-nav ul a.current, .mobile-nav ul a:hover, .mobile-nav ul a:focus {
    background-color: #00539f;
  }
}
html, body {
  height: 100%;
}

body {
  background: #f3f3f3;
}
body > aside {
  height: 100%;
}
body > aside section {
  min-height: calc(100% - 140px);
  margin-bottom: 40px;
}

footer {
  background-color: #313131;
  margin-top: -30px;
  color: #fff;
  height: 30px;
  line-height: 30px;
  position: relative;
  width: 100%;
}
footer .wrapper {
  text-align: right;
}

@media screen and (max-width: 767px) {
  footer {
    margin-top: 0px;
  }
  footer .wrapper {
    text-align: center;
  }
}

/*# sourceMappingURL=styles.css.map */
