body.sqex-modal-open {
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
}

#headerbar-sqex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  height: 50px;
  font-family: 'proxima-nova', sans-serif;
  font-weight: normal;
  position: absolute;
  z-index: 999999;
  width: 100%;
}

#headerbar-sqex.white-headerbar {
  background-color: #FFFFFF;
}

#headerbar-sqex.black-headerbar {
  background-color: #000000;
}

#headerbar-sqex a, 
#headerbar-sqex a:hover {
  text-decoration: none;
}

#headerbar-sqex .headerbar-logo {
  padding-left: 2%;
  display: inline-flex;
  height: 50%;
}

#headerbar-sqex .headerbar-logo-img {
  min-width: 5%;
  height: 65%;
}

#headerbar-sqex .headerbar-button {
  -webkit-appearance: none;
  border: none;
  background: none;
  cursor: pointer;
  font-family: 'proxima-nova', sans-serif;
}

#headerbar-sqex .headerbar-button:focus {
  outline: 0;
}

#headerbar-sqex .not-loggedin-desktop-button {
  margin-left: 2em;
  margin-bottom: 0;
  display: inline-block;
  text-transform: uppercase;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}

#headerbar-sqex.white-headerbar .not-loggedin-desktop-button {
  color: #FFFFFF;
}

#headerbar-sqex.black-headerbar .not-loggedin-desktop-button {
  color: #000000;
}

#headerbar-sqex .login-area {
  display: flex;
  flex-wrap: nowrap;
}

#headerbar-sqex .user-area, 
#headerbar-sqex .login-area {
  height: 100%;
}

#headerbar-sqex .not-loggedin-desktop {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  justify-content: flex-end;
  width: 100%;
  padding-right: 20px;
}

#headerbar-sqex.white-headerbar .not-loggedin-desktop {
  background: #000000;
}

#headerbar-sqex.black-headerbar .not-loggedin-desktop {
  background: #FFFFFF;
}

#headerbar-sqex .not-loggedin-desktop:before {
  content: '';
  position: absolute;
  top: 0;
  right: 100%;
  width: 0;
  border-style: solid;
  border-width: 0 0 50px 50px;
}

#headerbar-sqex.white-headerbar .not-loggedin-desktop:before {
  border-color: transparent transparent #000000 transparent;
}

#headerbar-sqex.black-headerbar .not-loggedin-desktop:before { 
  border-color: transparent transparent #FFFFFF transparent;
}

#headerbar-sqex .not-loggedin-mobile {
  display: none;
}

#headerbar-sqex.black-headerbar .not-loggedin-mobile .mobile-logo {
  background: #FFFFFF;
}

#headerbar-sqex.white-headerbar .not-loggedin-mobile .mobile-logo {
  background: #000000;
}

#headerbar-sqex .not-loggedin-mobile .mobile-logo {
  /*display: flex;*/
  /*width: 45px;*/
  height: 40px;
  margin-right: 5px;
  margin-top: 5px;
  /*padding-top: 5px;*/
  /*align-items: center;*/
  /*justify-content: center;*/
  border: none;
  padding-left: 3px;
  padding-right: 3px;
  padding-top: 0;
  padding-bottom: 0;
}

#headerbar-sqex .not-loggedin-mobile-img {
  /*vertical-align: middle;*/
  width: 40px;
  height: 40px;
}

#headerbar-sqex .show-header {
  opacity: 1;
  transition: opacity .05s ease-in;
  display: inline;
}

#headerbar-sqex .header-popup-background {
  background-color: rgba(0, 0, 0, 0.56);
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 999999;
}

#headerbar-sqex .header-popup {
  background: #FFFFFF;
  max-width: 450px;
  width: 100%;
  z-index: 99999999;
  transition: all .1s ease-out;
  position: fixed;
  top: 2em;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.28) 0 1px 5px;
  font-family: 'proxima-nova', sans-serif;
  color: #666666;
  text-transform: none;
  letter-spacing: 1px;
  overflow: auto;
  max-height: 95%;
  min-height: 10%;
  font-size: 14px;
}

#headerbar-sqex .hide-header {
  display: none;
  opacity: 0;
}

#headerbar-sqex .header-popup-ul {
  padding: 0;
  margin: 0;
}

#headerbar-sqex .header-popup-top {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1.3em;
  margin-bottom: 1.3em;
}

#headerbar-sqex .header-popup-top a {
  width: 45%;
}

#headerbar-sqex .headerbar-modal-logo {
  width: 100%;
}

#headerbar-sqex .header-popup-li {
  list-style: none;
}

#headerbar-sqex .header-popup a {
  color: #da1717;
  font-family: 'proxima-nova', sans-serif;
  text-decoration: none;
}

#headerbar-sqex .red {
  color: #ed1d24;
}

#headerbar-sqex .header-popup .items {
  margin: 1em;
  font-family: 'proxima-nova', sans-serif;
  font-weight: normal;
  text-transform: capitalize;
  font-size: 1.8em;
  color: #585858;
}

#headerbar-sqex .headerbar-divider {
  margin: 0;
  border-top: 1px solid #e6e6e6;
  border-bottom: none;
}

#headerbar-sqex .headerbar-small-divider {
  width: 50%;
  margin: 0 auto;
}

#headerbar-sqex .icon-elys-cancel {
  position: absolute;
  top: 15px;
  right: 10px;
  font-size: 1.7em;
  color: #cacaca;
}

#headerbar-sqex .login-and-join-button {
  font-size: 1em;
  margin: 0;
  padding: 0;
  font-weight: 100;
  color: #888686;
}

#headerbar-sqex .social-title {
  color: #999999;
  text-transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  font-family: 'proxima-nova', sans-serif;
  line-height: initial;
}

#headerbar-sqex .social-title:before {
    margin-right: 10px;
}

#headerbar-sqex .social-title:after {
    margin-left: 10px;
}

#headerbar-sqex .social-title:before,
#headerbar-sqex .social-title:after {
  background: #f1f1f1;
  height: 1px;
  flex: 1;
  content: ' ';
}

#headerbar-sqex .social-login-link {
  width: 190px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#headerbar-sqex .social-login-link img {
  max-width: 100%;
  flex: 1;
  max-height: 100%;
}

#headerbar-sqex .social-login-facebook {
  background-color: #3b5998;
}

#headerbar-sqex .social-login-steam {
  background-color: #292f23;
}

#headerbar-sqex .social-links {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  margin-left: 2%;
  margin-right: 2%;
}

#headerbar-sqex .reg-form {
  width: 85%;
  margin: 0 auto;
}

#headerbar-sqex #registration-closed {
  display: none;
  margin: 30px;
}

#headerbar-sqex #registration-closed h3 {
  text-transform: none;
  color: #f53131;
}

#headerbar-sqex .reg-form-select {
  width: 100%;
  min-width: 100px;
  background: #fafafa;
  border: 1px solid #d9d9d9;
  padding: 10px 0;
  text-indent: 1px;
  border-radius: 0;
  color: #888686;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
    appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3Csvg width='1792' height='1792' viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class%3D'dropdown-arrow' d='M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px 20px;
  font-family: 'proxima-nova', sans-serif;
  text-transform: none;
  margin: 0;
  font-weight: normal;
  font-size: 16px;
}

#headerbar-sqex .reg-form-select::-ms-expand {
  display: none;
}

#headerbar-sqex .reg-form-select:invalid {
  color: #bfbfbf;
}

#headerbar-sqex .reg-form-select option {
  background-color: #fafafa;
}

#headerbar-sqex .dropdown-arrow {
  stroke: #d9d9d9;
  fill: #d9d9d9;
}

#headerbar-sqex .forms-title {
  text-transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6em;
  font-family: 'proxima-nova', sans-serif;
  color: #999999;
  letter-spacing: 1px;
  font-weight: 100;
  line-height: initial;
  margin-top: 0;
  background-color: #FFFFFF;
}

.forms-title:before {
    margin-right: 10px;
}

.forms-title:after {
    margin-left: 10px;
}

.forms-title:before,
.forms-title:after {
  background: #f1f1f1;
  height: 1px;
  flex: 1;
  content: ' ';
}

#headerbar-sqex .error-message {
  color: #f53131;
  display: none;
}

#headerbar-sqex .reg-form {
  width: 90%;
  margin: 0 auto;
}

#headerbar-sqex .reg-form .input-wrapper {
  text-align: left;
}

#headerbar-sqex .reg-form .dob-container {
  margin: 0;
  padding: 0;
  border: none;
}

#headerbar-sqex .reg-form .form-dob-wrapper {
  width: 100%;
}

#headerbar-sqex .reg-form .inline-input {
  display: flex;
  align-content: center;
  justify-content: space-between;
}

#headerbar-sqex .reg-form .dob-month {
  flex: 3;
  margin: 0 3%;
}
#headerbar-sqex .reg-form .dob-year {
  flex: 2;
}

#headerbar-sqex .form-input-label {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1em;
    letter-spacing: 1px;
    font-weight: normal;
  }

#headerbar-sqex #registration-recaptcha-div {
  display: inline-block;
  margin: 25px;
}

#headerbar-sqex .form-input {
  font-family: 'proxima-nova', sans-serif;
  padding: 3%;
  width: 94%;
  background-color: #fafafa;
  border: 1px solid #d9d9d9;
  font-style: normal;
}

#headerbar-sqex .reg-form-checkbox {
  position: absolute; 
  left: -999em;
}

#headerbar-sqex .checkbox-info {
  display: inline-block;
  margin-top: 10px;
  cursor: pointer;
  position: relative;
  margin-bottom: 20px;
  display: flex;
}

#headerbar-sqex .legal-info-checkbox {
  font-size: 1em;
  color: #808080;
  font-weight: 200;
}

#headerbar-sqex .privacy-title {
  font-size: 1em;
  letter-spacing: normal;
  font-weight: 600;
  color: #808080;
}

#headerbar-sqex .privacy-info {
  font-size: 1em;
  font-weight: 200;
  letter-spacing: normal;
  line-height: 18px;
  margin-bottom: 15px;
  font-family: 'proxima-nova', sans-serif;
}

#headerbar-sqex .checkbox-content {
  width: 90%;
  margin: 0;
  font-family: 'proxima-nova', sans-serif;
}

#headerbar-sqex .legal-info a {
  color: #000000;
  border-bottom: 1px solid #000000;
}

#headerbar-sqex .mandatory-field-message {
  margin-top: 5px;
  margin-bottom: 20px;
  font-size: 0.9em;
  color: #808080;
}

#headerbar-sqex .login-now-message {
  margin: 20px;
  font-family: 'proxima-nova', sans-serif;
}

#headerbar-sqex .login-now-message a {
  border-bottom: 1px solid #da1717;
}

#headerbar-sqex .icon-elys-ok {
  display: none;
}

#headerbar-sqex .custom-checkbox {
  content: '';
  margin-right: 5px;
  display: inline-block;
  font-size: 20px;
  width: 20px;
  height: 20px;
  background-color: #fafafa;
  border: 1px solid #d9d9d9;
}

#headerbar-sqex .password-check:checked ~ .password-check-label .icon-elys-ok,
#headerbar-sqex .privacy-check:checked ~ .privacy-check-label .icon-elys-ok,
#headerbar-sqex .legal-checkbox:checked ~ .terms-check-label .icon-elys-ok {
  display: inline-block;
}

#headerbar-sqex .password-check:checked ~ .password-check-label .icon-elys-ok::before,
#headerbar-sqex .privacy-check:checked ~ .privacy-check-label .icon-elys-ok::before,
#headerbar-sqex .legal-checkbox:checked ~ .terms-check-label .icon-elys-ok::before {
  margin-right: 5px;
  margin-left: 0;
  font-size: 20px;
  width: 20px;
  height: 20px;
  background-color: #fafafa;
  border: 1px solid #d9d9d9;
}

#headerbar-sqex .password-check:checked ~ .password-check-label .custom-checkbox,
#headerbar-sqex .privacy-check:checked ~ .privacy-check-label .custom-checkbox,
#headerbar-sqex .legal-checkbox:checked ~ .terms-check-label .custom-checkbox {
  display: none;
}

#headerbar-sqex .form-button {
  background: #ed1d24;
  cursor: pointer;
  border: 0;
  text-transform: uppercase;
  position: relative;
  color: #FFFFFF;
  line-height: .8em;
  padding: 1.8em;
  margin-top: 10px;
  width: 100%;
  font-size: 16px;
  font-family: 'proxima-nova', sans-serif;
}

#headerbar-sqex .login-form {
  width: 85%;
  margin: 0 auto;
}

#headerbar-sqex .login-form .login-button {
  background: #ed1d24;
  cursor: pointer;
  border: 0;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  color: #ffffff;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-left: 8px;
  margin-right: 8px;
  line-height: .8em;
  width: 100%;
}

#headerbar-sqex .forgot-password {
  text-align: left;
  text-transform: none;
  width: 85%;
  margin: 3% auto 5% auto;
}

#headerbar-sqex .forgot-password a {
  color: #666666;
  text-decoration: none;
  border-bottom: 1px solid #666666;
  letter-spacing: 1px;
}

#headerbar-sqex .join-now-message {
  margin: 5% 0;
}

#headerbar-sqex .join-now-message a {
  border-bottom: 1px solid #da1717;
}

#headerbar-sqex .login-form .form-input-label, 
#headerbar-sqex .reg-form .form-input-label {
  display: block;
  color: #4c4c4c;
  text-transform: none;
  text-align: left;
  margin-top: 20px;
}

#headerbar-sqex .login-form .input-text,  
#headerbar-sqex .reg-form .input-text {
  margin: 5px 0 8px;
  padding: 3%;
  width: 94%;
  background-color: #fafafa;
  border: 1px solid #d9d9d9;
}



#headerbar-sqex #header-modal-loader,
#headerbar-sqex #header-modal-loader-reg {
  display: none;
}

#headerbar-sqex .icon-elys-spinner:before {
  animation: sqex-header-loading-spin 1s infinite steps(8);
  font-size: 4em;
  margin-bottom: 0.8em;
  margin-top: 0.5em;
}

#headerbar-sqex .loggedin-desktop {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 200px;
  position: relative;
  background-position: center;
}

#headerbar-sqex .loggedin-desktop a:hover,
#headerbar-sqex .loggedin-desktop a:active {
  text-decoration: none;
}


#headerbar-sqex .loggedin-desktop:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  background-color: rgba(0, 0, 0, 0.2);
}

#headerbar-sqex.white-headerbar .loggedin-desktop:before {
  border-top: 50px solid #FFFFFF;
  border-right: 50px solid transparent;
}

#headerbar-sqex.black-headerbar .loggedin-desktop:before {
  border-top: 50px solid #000000;
  border-right: 50px solid transparent;
}

#headerbar-sqex #user-dropdown-desktop {
  background-color: rgba(0, 0, 0, 0.2);
  width: 150px;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  cursor: pointer;
}

#headerbar-sqex .loggedin-desktop-i {
  font-size: 18px;
  vertical-align: middle;
  color: #FFFFFF;
  padding-right: 15px;
}

#headerbar-sqex .user-settings {
  z-index: 99999999;
  background-color: #FFFFFF;
  position: absolute;
  width: 240px;
  right: 20px;
  top: 40px;
  font-weight: 400;
  text-transform: capitalize;
}

#headerbar-sqex .user-settings-ul {
  list-style: none;
  margin: 0;
  padding: 10px;
  color: #6f6f6f;
  font-size: 14px;
  font-weight: normal;
  text-align: left;
}

#headerbar-sqex .user-settings-li {
  display: flex;
  align-items: center;
  padding: 0.5em;
  padding-left: 0;
}

#headerbar-sqex .user-settings .user-nickname, 
#headerbar-sqex .user-settings-mobile .user-nickname {
  font-size: 18px;
  padding: 0.6em;
  font-weight: 500;
  color: #000000;
  background: #f3f3f3;
  border-bottom: 1px solid #ff8c8c;
  margin: 0;
  font-family: 'proxima-nova', sans-serif;
  text-align: left;
  text-transform: capitalize;
  letter-spacing: 1px;
}

#headerbar-sqex .user-settings a, 
#headerbar-sqex .user-settings-mobile a {
  color: #6f6f6f;
  padding-left: 0.5em;
}

#headerbar-sqex .user-settings a:hover, 
#headerbar-sqex .user-settings-mobile a:hover {
  text-decoration: none;
}

#headerbar-sqex .loggedin-mobile {
  display: none;
  height: 100%;
  max-width: 40px;
  margin-right: 5px;
  margin-top: 5px;
}

#headerbar-sqex #logout {
  margin: 0;
  padding-left: 0.5em;
  font-size: 1em;
  color: #6f6f6f;
  border: none;
  background: none;
  font-family: 'proxima-nova', sans-serif;
  cursor: pointer;
}

#headerbar-sqex #user-dropdown-mobile {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 0;
  display: flex;
}

#headerbar-sqex #user-dropdown-mobile-img {
  height: 100%;
}

#headerbar-sqex .mobile-avatar-img {
  width: 40px;
  height: 40px;
  opacity: 0.8;
}

@keyframes sqex-header-loading-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}

@media(max-width: 768px) {
  #headerbar-sqex .header-logo {
    display: none;
  }
  #headerbar-sqex {
    justify-content: flex-end;
  }
  #headerbar-sqex .not-loggedin-desktop {
    display: none;
  }
  #headerbar-sqex .not-loggedin-mobile {
    display: inline;
  }
  #headerbar-sqex .loggedin-desktop {
    display: none;
  }
  #headerbar-sqex .headerbar-logo {
    display: none;
  }
  #headerbar-sqex .user-settings {
    display: none;
  }
  #headerbar-sqex .loggedin-mobile {
    display: inline-block;
  }
}
