.button {
  width: 100%;
}

textarea {
  resize: vertical;
  overflow-y: auto;
}

#wrapper {
  margin: 0px auto;
  width: auto;
  height: auto;
  width: 100%;
  height: 100%;
  min-width: 320px;
  position: relative;
}

.container {
  padding: 0px 30px;
  margin: 0px auto; /*!DOCTYPE must be set to XHTML transitional for this to work*/
}

#header {
  background: url('../../images/000000_80_1x1.png') 0 0;
  background: rgba(0, 0, 0, 0.8);
  height: 50px;
  position: relative;
  z-index: 2;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  -webkit-backdrop-filter: blur(10px);
}

.nav-container .coming-soon {
  background: #fafafa;
}

.nav-container .coming-soon,
#header .nav-container .coming-soon i,
#header .nav-container .coming-soon a {
  color: #ccc;
}

.nav-container .disclaimer {
  text-decoration: underline;
  padding-left: 25px;
}

.nav-container {
  height: 100%;
  width: 100%;
  display: table;
  padding: 0px;
}

.nav-logo {
  text-align: center;
  width: 100%;
  margin: 0 auto;
  height: 50px;
  padding: 0;
}

.nav-logo img {
  width: auto;
  height: auto;
  max-height: 35px;
  max-width: 220px;
}

.nav-menu-button {
  color: #fff;
  padding: 0px 15px;
  text-transform: uppercase;
  font-size: 0.875em;
}

.nav-item [class|='fi'],
.nav-menu-button [class|='fi'] {
  display: inline-block;
  width: 15px;
  text-align: center;
  margin: 3px auto; /* vertical-align fix */
}

.nav-item span {
  display: none;
  margin-left: 10px;
}

.nav-left,
.nav-center,
.nav-right {
  display: table-cell;
  vertical-align: middle;
}

.nav-left,
.nav-right {
  width: 50px;
}

.nav-center {
  text-align: center;
}

.nav-item {
  display: block;
  text-align: center;
  color: #fff;
  /* height: 100%; */
  height: 50px;
  padding: 15px;
  text-transform: uppercase;
  font-size: 0.875em;
}

.nav-menu {
  padding: 0;
  font-size: 1em;
}

.nav-menu-button {
  border-color: transparent;
  border-left-width: 1px;
  border-right-width: 1px;
  border-style: solid;
  float: left;
  margin: 0;
  display: block;
  height: 100%;
  width: 50px;
  /* height: 50px; */
  /* line-height: 20px; */
  padding: 15px;
  white-space: nowrap;
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  -ms-transition: none;
  transition: none;
}

.nav-menu--open .nav-menu-button {
  text-decoration: none;
  background: #fff;
  color: #333;
  border-color: #f1f1f1;
}

.nav-menu-button span {
  text-transform: uppercase;
}

/*
.nav-container .menu .menu-list a span {
  display: inline;
}

.nav-container .menu .menu-list div {
  display: block;
  padding: 10px 15px;
  margin: 0;
  border-top: 1px solid #f1f1f1;
}*/

.nav-menu--open .nav-menu-list {
  display: block;
}

.nav-right .nav-menu-list {
  left: auto;
  right: 0;
}

.nav-menu-list {
  display: none;
  background: #fff;
  clear: both;
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.15);
  border: 1px solid #e1e1e1;
  border-top: 0;
  position: absolute;
  top: 50px;
  left: 0;
  right: auto;
  margin: 0;
  padding: 0;
}

.nav-menu-list li {
  display: block;
  /* padding: 10px 15px; */
  margin: 0;
  /* border-top: 1px solid #f1f1f1; */
}

.nav-menu-list-item {
  color: #333;
  font-size: 0.875em;
  display: block;
  padding: 10px 15px;
  line-height: 30px;
  text-transform: none;
  text-align: left;
  border-top: 1px solid #f1f1f1;
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  -ms-transition: none;
  transition: none;
  white-space: nowrap;
}

.nav-menu-list-item:hover,
.nav-menu-list-item:focus {
  color: #fff;
  text-decoration: none;
  background: #00cc99;
  /*background: #f5f5f5;*/ /*url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAABCAIAAACZnPOkAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAPSURBVBhXYxBb1IZAi9oAL5AGN6tEFnoAAAAASUVORK5CYII=") right top repeat-y;*/
}

.nav-menu-list-item [class|='fi'] {
  display: inline-block;
  width: 15px;
  text-align: center;
  margin: 3px auto; /* vertical-align fix */
  color: #a2a2a2;
}

.nav-menu-list-item:hover [class|='fi'],
.nav-menu-list-item:focus [class|='fi'] {
  color: #fff;
}

.nav-menu-list-item span {
  margin-left: 10px;
  display: inline;
}

.nav-balance {
  display: block;
  text-transform: none;
  font-weight: bold;
  padding: 10px 15px;
  text-align: left;
  /* line-height: 30px; */
  border-top: 1px solid #f1f1f1;
  border-bottom: 1px solid #f1f1f1;
  line-height: normal;
  color: #a2a2a2;
  font-size: 0.625em;
  white-space: nowrap;
}

.nav-balance:hover,
.nav-balance:focus {
  background: #f5f5f5;
  text-decoration: none;
}

.nav-balance .nav-balance-label {
  font-size: 2em;
  display: block;
  line-height: 30px;
  margin: 0;
  text-align: right;
}

.nav-balance .nav-balance-subtext {
  text-align: right;
  display: block;
  margin-top: 0.5em;
}

.nav-container .coming-soon,
.nav-container .menu .menu-list .coming-soon i {
  *color: #e74c3c;
  *text-decoration: underline;
  color: #a2a2a2;
}

.nav-container .menu .menu-list .primary.button {
  padding: 0.5em;
  display: block;
}

.affiliate #header {
  background: url('../../images/ffffff_85_1x1.png') 0 0;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.05);
  border-top: 0;
z-index: 9999999;
}

.affiliate #logo img {
  max-height: 36px;
}

.affiliate .nav-item,
.affiliate .nav-menu-button {
  color: #333;
}

.affiliate .nav-menu--open .nav-menu-button {
  border-color: #f1f1f1;
  background: -moz-linear-gradient(top, #f5f5f5 0%, #ffffff 85%); /* FF3.6+ */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #f5f5f5),
    color-stop(85%, #ffffff)
  ); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(
    top,
    #f5f5f5 0%,
    #ffffff 85%
  ); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(
    top,
    #f5f5f5 0%,
    #ffffff 85%
  ); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #f5f5f5 0%, #ffffff 85%); /* IE10+ */
  background: linear-gradient(to bottom, #f5f5f5 0%, #ffffff 85%); /* W3C */
}

#cover {
  padding-top: 50px;
  height: 500px;
  background: #333333 center center no-repeat;
  background-size: cover;
  margin-top: -50px;
}

#cover .overlay {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
  color: #fff;
  text-align: center;
  display: table;

  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjUiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
  background: -moz-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 25%,
    rgba(0, 0, 0, 0.5)
  ); /* FF3.6+ */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(25%, rgba(255, 255, 255, 0), color-stop(0%, rgba(0, 0, 0, 0.5)))
  ); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 25%,
    rgba(0, 0, 0, 0.5)
  ); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 25%,
    rgba(0, 0, 0, 0.5)
  ); /* Opera 11.10+ */
  background: -ms-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 25%,
    rgba(0, 0, 0, 0.5)
  ); /* IE10+ */
  background: linear-gradient(
    top,
    rgba(255, 255, 255, 0) 25%,
    rgba(0, 0, 0, 0.5)
  ); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#80000000',GradientType=0 ); /* IE6-8 */
}

#content {
  min-height: 500px;
}

body.affiliate #content {
  background: #fff;
  background: -moz-linear-gradient(top, #f5f5f5 0%, #ffffff 100%); /* FF3.6+ */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #f5f5f5),
    color-stop(100%, #ffffff)
  ); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(
    top,
    #f5f5f5 0%,
    #ffffff 100%
  ); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(
    top,
    #f5f5f5 0%,
    #ffffff 100%
  ); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #f5f5f5 0%, #ffffff 100%); /* IE10+ */
  background: linear-gradient(to bottom, #f5f5f5 0%, #ffffff 100%); /* W3C */

  background-size: 100% 100px;
  background-repeat: no-repeat;

  /*IE Fallback*/
  background: url('../../images/affiliate_content_bg.jpg') 0 0 repeat-x\9;
  /*END IE Fallback*/
}

html>/**/body.affiliate #content, x:-moz-any-link, x:default {
  background: url('../../images/affiliate_content_bg.jpg') 0 0 repeat-x;
}

#content .container {
  padding: 45px 30px 75px;
  overflow: hidden;
}

#content .section {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e1e1e1;
  clear: both;
}

#content .section:last-child {
  margin-bottom: 0px;
  padding-bottom: 0px;
  border: 0px;
}

#content h1 {
  font-size: 2em;
  font-weight: bold;
  margin-top: 0.5em;
}

#content h2 {
  font-size: 1.25em;
  color: #e74c3c;
  font-weight: bold;
}

#content h2 i {
  margin-right: 0.5em;
}

#content dl {
  margin-bottom: 1em;
  display: block;
}

#content dt {
  display: inline-block;
  color: #a2a2a2;
  min-width: 6em;
  padding: 0.5em 0;
}

#content dd {
  display: block;
  padding: 0.5em 0;
  margin: 0;
}

#content dd:after {
  content: '';
  display: block;
}

table {
  width: 100%;
  font-size: 0.875em;
  border-collapse: collapse;
  margin-bottom: 2em;
}

th,
td {
  padding: 1em;
  text-align: left;
}

thead th {
  color: #888;
  border-bottom: 1px solid #e1e1e1;
  vertical-align: top;
}

tbody tr th,
tbody tr td {
  border-bottom: 1px solid #e1e1e1;
}

table input {
  text-align: left;
  display: inline;
  margin: 0;
  min-width: 3em;
  font-size: 1em;
}

table strong {
  font-weight: bold;
}

table.details {
  font-size: 1em;
}

table.details th,
table.details td {
  border: 0;
  padding: 0.5em 0em;
}

table.details th {
  color: #a2a2a2;
  width: 8em;
  padding-right: 1em;
}

table + .actions {
  float: left;
}

.table--list {
  font-size: 1em;
}

.table--list th,
.table--list td {
  border: 0;
  padding: 0.5em 0em;
}

.table--list th {
  color: #a2a2a2;
  width: 8em;
  padding-right: 1em;
}

.table--striped tbody tr:nth-child(odd) {
  background-color: #f9f9f9;
}

.tag {
  background: #f1f1f1;
  margin: 0em 0.5em 0.5em 0em;
  padding: 0.25em 0.5em;
  display: inline-block;
}

.list-item__label {
  color: #333;
  display: block;
}

.list-item__description {
  margin-top: 1em;
  font-size: 0.75em;
  color: #a2a2a2;
}

.list-item__content {
  color: #a2a2a2;
}

.pagination {
  display: inline-block;
  width: 100%;
  margin: 0 0 2em;
  text-align: center;
}

.pagination-status {
  display: block;
  padding: 1em 0;
  line-height: 1.5em;
  font-size: 0.75em;
  color: #a2a2a2;
  font-weight: bold;
}

.pagination-list {
  display: inline-block;
  margin: 0;
}

.pagination li {
  display: inline-block;
}

.pagination li:first-child .pagination-page {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.pagination li:last-child .pagination-page {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

.pagination-page {
  display: block;
  padding: 1em;
  margin: 0;
  min-width: 2em;
  border-radius: 0;
}

.pagination-page:focus {
  z-index: 1;
  position: relative;
}

.pagination-page--active {
  background-color: #f1f1f1;
  color: #333;
}

.pagination-page,
.pagination-page [class^='fa'],
.pagination-page [class^='fi'] {
  line-height: 1.5em;
}

.pagination-page [class^='fa'],
.pagination-page [class^='fi'] {
  margin: 0;
}

#content .action {
  margin-top: 15px;
  clear: both;
}

#content p.credits {
  font-weight: bold;
}

#footer {
  clear: both;
  background: #f1f1f1;
  padding: 30px 0px;
  float: left;
  width: 100%;
}

#footer h2 {
  display: none;
}

#footer h3 {
  font-size: 1em;
  color: #e74c3c;
  margin: 0 0 1em 0;
  text-align: center;
}

#footer p,
#footer li a,
#footer span {
  font-size: 0.875em;
}

#footer .column {
  float: left;
  width: 100%;
  margin: 0 0 1.875em 0;
}

#footer .copyright {
  margin: 1.875em 0;
  text-align: center;
}

#footer .follow li {
  display: inline-block;
  margin: 0;
}

#footer .follow a {
  display: inline-block;
  width: 30px;
  height: 30px;
  padding: 3px;
  text-align: center;
  margin: 0px 0.25em;
  background: #ccc;
  border-radius: 3px;
}

#footer .follow a:hover {
  background: #a2a2a2;
}

#footer .follow a span {
  display: none;
}

#footer .follow a i {
  color: #f1f1f1;
  font-size: 24px;
  display: block;
}

#footer .social-icons li {
  display: inline-block;
  margin-right: 0.5em;
  float: left;
}

#footer .social-icons a {
  width: 2em;
  height: 2em;
  display: block;
  line-height: 2;
  text-align: center;
  font-size: 1em;
  background: #fff;
  margin: 0 !important;
  border-radius: 100em;
  position: relative;
  transition: color 0.1s ease-in-out;
}

#footer .social-icons a:hover {
  color: #333;
}

#footer .social-icons span {
  display: none;
}

#footer .payment div {
  display: block;
  width: 30px;
  height: 30px;
  padding: 3px;
  text-align: center;
  float: left;
  margin-right: 15px;
  border: 1px solid #a2a2a2;
  border-radius: 3px;
}

#footer .payment div span {
  display: none;
}

#footer .payment div i {
  color: #a2a2a2;
  font-size: 24px;
  display: block;
}

#footer .logo {
  display: inline-block;
  text-align: right;
  font-size: 1.25em;
  max-width: 150px;
  margin-bottom: 1em;
}

#footer .logo img {
  width: 100%;
}

#footer p {
  color: #a2a2a2;
  text-align: center;
  margin: 0;
}

#footer ul {
  margin: 0;
  text-align: center;
}

#footer ul li {
  list-style-type: none;
  display: block;
  margin: 0.5em 0;
}

#footer ul li:last-child {
  margin-bottom: 0;
}

#footer ul li a {
  color: #a2a2a2;
}

#footer ul li a:hover {
  color: #888;
}

/*END COMMON CSS*/

.ui-widget {
  font-family: inherit !important;
}

.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
  border-color: #aaa;
  background: #e6e6e6;
}

.ui-corner-all {
  border-radius: 3px !important;
}

.ui-datepicker td span,
.ui-datepicker td a {
  width: 100%;
}

.notice {
  padding: 15px;
  background: #e74c3c;
  text-align: center;
  margin-bottom: 30px;
  border-radius: 3px;
}

.notice,
.notice a {
  color: #fff;
}

.notice a {
  text-decoration: underline;
}

/*TEST*/

#boundary-test {
  width: 1030px;
  left: 50%;
  margin-left: -485px;
  height: 100%;
  position: fixed;
  box-shadow: 0px 0px 0px 999em rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

@media screen and (min-width: 40em) {
  .container {
    max-width: 1030px;
  }

  .button {
    width: auto;
  }

  .nav-logo img {
    max-width: 300px;
    max-height: 100%;
  }

  .nav-container {
    padding: 0px 30px;
    display: block;
  }

  .nav-left,
  .nav-center,
  .nav-right {
    display: block;
    float: left;
    width: 33.3333%;
    height: 100%;
  }

  .nav-center {
    padding: 7px 0px;
  }

  .nav-right {
    float: right;
  }

  .nav-item {
    width: auto;
    float: left;
    line-height: 100%;
  }

  .nav-menu {
    position: relative;
  }

  .nav-menu-button {
    width: auto;
    line-height: 100%;
  }

  .nav-item span,
  .nav-menu-button span {
    display: inline;
  }

  .nav-right .nav-item {
    float: right;
  }

  .pagination {
    float: right;
    display: block;
    width: auto;
    text-align: right;
  }

  .pagination-status {
    display: block;
    float: right;
  }

  .pagination-list {
    display: block;
    float: right;
    margin-left: 1em;
  }

  .pagination li {
    display: block;
    float: left;
    margin-right: -1px;
  }

  #content .section {
    max-width: 485px;
  }

  #content .section.wide {
    max-width: 1030px;
  }

  #content dd {
    display: inline;
  }

  #footer .column {
    width: 25%;
    min-height: 7.5em;
  }

  #footer h3 {
    text-align: left;
  }

  #footer ul {
    text-align: left;
  }

  #footer p {
    text-align: left;
  }

  #footer .copyright {
    margin-top: 0px;
    text-align: right;
    border-left: 1px dashed #ccc;
    float: right;
  }

  #footer .copyright p {
    text-align: right;
  }

  #footer .follow a {
    margin: 0px 0.5em 0px 0px;
  }
}

/* utility UI */

.has-heading-line {
  border-bottom: 1px solid #e1e1e1;
  padding-bottom: 0.5em;
}
