/* A redesigned oauth used by playneverwinter oauth, splitting it off since we'll be using the base file for perfectworld rebranding */
:root {
    --form-max-width: 350px;
    --input-border-radius: 2px;
    --input-background-default: #000;
    --input-background-focus: #000;
    --input-border-color-default: rgba(255, 255, 255, 0.4);
    --input-border-color-focus: rgba(255, 255, 255, 1);
    --input-text-color-focus: rgba(255, 255, 255, 0.8);
    --text-color-default: rgba(255, 255, 255, 0.8);
    --logo-background-image: url('/images/nw/logo2x.png');
    --logo-height: 41px;
  }
  
  @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');
  
  html {
    min-height: 100%;
  }
  
  body,html {
    background: #1B1B1B;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    height: 100%;
    font-family: roboto, sans-serif;
    color: var(--text-color-default);
    padding: 0;
  }
  
  .form-arc, .form-authorize, .permissions, .link-logos {
    max-width: var(--form-max-width);
    padding: 15px 0 0 0;
    margin: 0 auto;
  }
  
  .col-register {
    max-width: var(--form-max-width);
    margin-left: auto;
    margin-right: auto;
  }
  
  .form-register {
    padding-top: 0;
    margin-top: 10px;
  }
  
  .account-wall {
    margin: 25px 0 10px 0;
    padding: 10px 30px 10px 30px;
    background: none;
    border: 0px solid black;
    outline: 0px solid black;
  }
  
  label.control-label {
    display: block;
  }
  
  .link-logos {
    text-align: center;
    display: flex;
    padding: 0 20px;
  }
  .link-logos img {
    margin: auto;
  }
  .link-icon {
    margin: auto;
    font-size: 20px;
  }
  img.auth-logo-arc, img.auth-logo-client {
    max-width: 64px;
    max-height: 64px;
  }
  
  .permissions ul, .continue ul {
    list-style: none;
    list-style-position: outside;
    margin: 0;
    padding: 0;
  }
  .permissions ul li:first-child, .continue ul li:first-child {
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .permissions ul li, .continue ul li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-left: 0 10px;
  }
  .permissions ul li p, .continue ul li p {
    margin-bottom: 10px;
  }
  
  .form-authorize {
    text-align: right;
  }
  .form-authorize input.btn {
    margin-left: 10px;
  }
  
  .form-arc .form-arc-heading, .form-arc .checkbox {
    margin-bottom: 10px;
  }
  .form-arc .checkbox {
    font-weight: normal;
  }
  .form-arc .form-control {
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .form-arc input[name="account"], .form-arc input[name="password"], .form-arc input[name="pin"], .form-arc input[name="email"], .form-arc input[name="pw"], .form-arc input[name="pw_confirm"], .form-arc input[name="displayname"], .form-arc input[name="password_confirm"] {
    background-color: var(--input-background-default);
    border: 1px solid var(--input-border-color-default);
    border-radius: var(--input-border-radius);
    margin: 10px 0;
    height: 38px;
    color: rgba(255, 255, 255, 0.6);
  }
  .form-arc .has-error input {
    border-color: rgba(255, 0, 0, 0.6);
  }
  
  .form-arc select {
    background-color: var(--input-background-default);
    border: 1px solid var(--input-border-color-default);
    border-radius: var(--input-border-radius);
    margin: 0 0 10px;
    height: 38px;
    color: rgba(255, 255, 255, 0.6);
  }
  
  .form-header {
    font-size: 11pt;
    text-transform: uppercase;
    font-weight: 600;
  }
  
  .col-register .form-header {
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    max-width: var(--form-max-width);
  }
  
  .form-group {
    margin-bottom: 10px;
  }
  
  .form-group.dob {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 0;
  }
  .form-group.dob label {
    width: 100%;
  }
  
  .form-group.dob select {
    width: calc(33% - 8px);
  }
  
  .form-arc .form-control:hover {
      border-color: rgba(114,113,112,0.80);
  }
  .form-arc .form-control:focus {
      z-index: 2;
      box-shadow: none;
      color: var(--input-text-color-focus);
      background-color: var(--input-background-focus);
      border: 1px solid var(--input-border-color-focus);
  }
  
  .login-title {
    font-size: 18px;
    font-weight: 400;
    display: block;
  }
  
  .login-title--sign-in-to-continue {
    display: none;
  }
  
  h2.sign-in-with-arc,
  h2.sign-in-with-pw {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 300;
  }
  
  .login-link {
    max-width: 302px;
    white-space: nowrap;
    text-align: center;
    margin: auto;
  }
  .login-logo {
      background-image: var(--logo-background-image); 
      background-repeat: no-repeat;
      background-position: center;
      width: 100%;
      height: var(--logo-height);
    background-size: contain;
    margin-bottom: 40px;
  }
  .login-logo-mailru {
    background-image: url('/images/authorize/login-logo-mailru.png');
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 90px;
  }
  
  .need-help, .new-account, .already-have-account {
    display: block;
    margin-top: 10px;
    color: rgb(200,200,200);
  }
  a.need-help:hover, a.new-account:hover, a.already-have-account:hover {
    color: rgb(240,240,240);
    text-decoration: none;
  }
  .new-account__btn {
    color: rgb(255,255,255);
  }
  .new-account__btn:hover, .new-account__btn:focus {
    color: rgb(255,255,255);
    text-decoration: none;
  }
  
  .new-account.new-design {
    font-size: 16px;
    font-weight: 300;
  }
  
  a.remember-row__need-help {
    color: rgb(200,200,200);
  }
  
  a.remember-row__need-help:hover {
    color: rgb(240,240,240);
  }
  
  .btn-fb-login {
    background-color: rgb(59,89,152) !important;
    border-color: rgb(59,89,152) !important;
    padding: 3px 12px;
  }
  .btn-fb-login:hover, .btn-fb-login:active, .btn-fb-login:focus, .btn-fb-login:active:focus {
    background-color: rgb(70,104,179) !important;
    border-color: rgb(70,104,179) !important;
  }
  .btn-fb-login:active, .btn-fb-login:focus, .btn-fb-login:active:focus {
    position: relative;
    top: 2px;
  }
  .btn-fb-login:before {
    font-family: 'Font Awesome 5 Brands';
    content: "\f09a";
    margin-right: 6px;
    font-size: 1.5em;
    vertical-align: sub;
  }
  div.input-group-fb {
    width: 100%;
  }
  div.input-fb-addon {
    display: none;
    padding: 2px 6px;
    background-color: #2f64db !important;
    border-color: #2f64db !important;
  }
  
  div.input-group-addon {
    background-color: rgb(20,20,20);
    border: 1px solid rgba(255,255,255,0.20);
    border-right: 0 solid black;
  }
  
  .locale-selector {
    text-align: center;
  }
  
  .language-select ul.dropdown-menu {
    min-width: unset;
    background: rgba(0,0,0,0.66);
    border: 1px solid rgba(255,255,255,0.20);
  }
  .language-select.open .dropdown-toggle.btn-default {
    background: transparent;
  }
  .language-select button.btn {
    border: 0px solid black;
    background: transparent;
    color: rgba(255,255,255,0.6);
  }
  .language-select .dropdown-menu>li>a:hover {
    background: rgba(255,255,255,0.20);
  }
  .language-select .dropdown-menu .divider {
    background-color: rgba(255,255,255,0.1);
  }
  
  /* Bootstrap Fixes */
  .col-md-4 {
    max-width: 350px;
    margin: auto;
  }
  .col-sm-6 {
    float: unset;
  }
  
  .checkbox {
    padding-left: 20px;
    margin-top: 0;
  }
  .input-group input.form-control {
    margin: 0;
  }
  .alert {
    padding: 5px 10px;
    border-radius: 1px;
  }
  .alert * {
    font-size: 11px;
    color: rgba(255,255,255,0.8);
  }
  .alert-danger {
    background-color: rgb(77,11,11);
    border: 1px solid rgb(187,29,28)
  }
  .text-error {
    display: none;
    padding: 5px 10px;
    border-radius: 1px;
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    background-color: rgb(77,11,11);
    border: 1px solid rgb(187,29,28)
  }
  .btn-lg {
    border-radius: 2px;
  }
  .btn {
    background-color: rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
  }
  .btn:hover {
    color: rgba(255,255,255,0.8);
    background-color: rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.4);
  }
  .btn-primary {
    border: none;
    position: relative;
    height: 38px;
    padding: 6px 12px;
    font-family: roboto-condensed, sans-serif;
    font-weight: 700;
    background: linear-gradient(to right, #E0220A, #F96604);
    z-index: 0;
  }
  
  .btn-primary:hover {
    border: none;
    opacity: 1;
  }
  
  .btn-primary:before {
    border-radius: 2px;
    content: "";
    display: block;
    position: absolute;
    opacity: 0.0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -100;
    background: linear-gradient(to right, #F96604, #E0220A);
    transition: 0.2s opacity;
  }
  .btn-primary:hover {
    border: none;
    color: #fff;
  }
  .btn-primary:hover:before{
    opacity: 1;
  }
  
  .btn-primary:active, .btn-primary:focus, .btn-primary:active:focus {
    background-color: rgb(218,102,1);
    position: relative;
    top: 2px;
  }
  
  .btn-secondary {
    height: 38px;
    padding: 6px 12px;
  }
  
  .form-control {
    color: rgb(200,200,200);
  }
  
  .btn-link {
    padding: 0;
  }
  
  /* HR with text */
  .strike {
    display: block;
    text-align: center;
    overflow: hidden;
    white-space: nowrap; 
    margin: 10px 0;
  }
  
  .strike > span {
    position: relative;
    display: inline-block;
  }
  
  .strike > span:before,
  .strike > span:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 9999px;
    height: 1px;
    background: rgba(255,255,255,0.20);
  }
  
  .strike > span:before {
    right: 100%;
    margin-right: 15px;
  }
  
  .strike > span:after {
    left: 100%;
    margin-left: 15px;
  }
  
  /* Custom Checkboxes @see https://bootsnipp.com/snippets/ZkMKE */
  .checkbox {
    padding-left: 20px;
  }
  .checkbox label {
    display: inline-block;
    position: relative;
    padding-left: 5px;
  }
  .checkbox label::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 17px;
    height: 17px;
    left: 0;
    margin-left: -20px;
    border: 1px solid var(--input-border-color-default);
    border-radius: 3px;
    background-color: var(--input-background-default);
    -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
  }
  .checkbox label::after {
    display: inline-block;
    position: absolute;
    width: 16px;
    height: 16px;
    left: 0;
    top: 0;
    margin-left: -20px;
    padding-left: 3px;
    padding-top: 1px;
    font-size: 11px;
    color: #555555;
  }
  .checkbox input[type="checkbox"] {
    opacity: 0;
  }
  .checkbox input[type="checkbox"]:focus + label::before {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
  }
  .checkbox input[type="checkbox"]:checked + label::after {
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    content: "\f00c";
  }
  .checkbox input[type="checkbox"]:disabled + label {
    opacity: 0.65;
  }
  .checkbox input[type="checkbox"]:disabled + label::before {
    background-color: #eeeeee;
    cursor: not-allowed;
  }
  .checkbox.checkbox-circle label::before {
    border-radius: 50%;
  }
  .checkbox.checkbox-inline {
    margin-top: 0;
  }
  
  .checkbox-arc input[type="checkbox"]:checked + label::before {
      background-color: rgba(17,15,14, 0.8);
      border-color: rgba(255,255,255,0.20);
      color: rgb(207, 207, 207);
  }
  .checkbox input[type="checkbox"] + label:hover::before {
      border-color: rgba(114,113,112,0.80);
  }
  .checkbox-arc input[type="checkbox"]:checked + label::after {
    color: rgba(255,255,255,0.66);
  }
  
  .checkbox-primary input[type="checkbox"]:checked + label::before {
    background-color: rgb(0,0,0);
    border-color: rgba(255,255,255,0.20);
  }
  .checkbox-primary input[type="checkbox"]:checked + label::after {
    color: #fff;
  }
  
  .checkbox-danger input[type="checkbox"]:checked + label::before {
    background-color: #d9534f;
    border-color: #d9534f;
  }
  .checkbox-danger input[type="checkbox"]:checked + label::after {
    color: #fff;
  }
  
  .checkbox-info input[type="checkbox"]:checked + label::before {
    background-color: #5bc0de;
    border-color: #5bc0de;
  }
  .checkbox-info input[type="checkbox"]:checked + label::after {
    color: #fff;
  }
  
  .checkbox-warning input[type="checkbox"]:checked + label::before {
    background-color: #f0ad4e;
    border-color: #f0ad4e;
  }
  .checkbox-warning input[type="checkbox"]:checked + label::after {
    color: #fff;
  }
  
  .checkbox-success input[type="checkbox"]:checked + label::before {
    background-color: #5cb85c;
    border-color: #5cb85c;
  }
  .checkbox-success input[type="checkbox"]:checked + label::after {
    color: #fff;
  }
  
  /* used to be 364px wide, changed to 394 */
  .account-column {
    min-width: 300px;
      max-width: 394px;
      margin-left: auto;
      margin-right: auto;
  }
  
  /* kludge to encourage the form to expand */
  #js-form-login::after {
    content: "a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a";
    display: block;
    height: 1px;
    overflow: hidden;
    opacity: 0;
  }
  
  
  .list-games img {
    margin-right: 6px;
  }
  
  .list-games--btn {
    font-size: 16px;
    text-align: left;
    padding: 4px 8px;
    margin-bottom: 14px;
  }
  
  /* Kludges for the footer */
  .locale-footer {
    display: block;
  }
  
  .language-select {
    display: none;
  }
  
  .locale-footer .language-select {
    display: block;
  }
  
  .platform-strips-container {
      font-family: roboto-condensed, sans-serif;
      font-weight: 700;
      max-width: var(--form-max-width);
      margin-left: auto;
      margin-right: auto;
  }