/**
 * This CSS file applies to the Register, Login, and Edit Profile pages.
 */

/**
 * Styles common to all login and registration pages.
 */
*, *:before, *:after {
  box-sizing: inherit;
}

html {
  background-color: #5f6265;
  box-sizing: border-box;
  font-size: 62.5%;
  margin: 0;
  padding: 0;
}

body {
  background-color: #5f6265;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

a img {
  border: 0;
}

legend {
  padding: 0;
  display: table;
}
fieldset {
  border: 0;
  padding: 0.01em 0 0 0;
  margin: 0;
  min-width: 0;
}

p {
  margin: 1.8rem auto;
}

table {
  margin: 0;
  padding: 0;
}

tr {
  margin: 0;
  padding: 0;
}

td {
  border: 0;
  margin: 0;
  padding: 0 0 1em;
}

/*
  phpBB/Ars user auth base
 */

.ars-content-wrapper {
  margin: 0 auto;
  max-width: 1200px;
  background-color: #f0f1f2;
  padding: 3rem 1.4rem 1.4rem;
}

.ars-header {
  border-bottom: 2px solid #ff4e00;
  color: #000;
  font-size: 1.2em;
  margin: 0;
  padding: 0 6px 5px;
  margin-bottom: 10px;
}

.ars-header.full {
  font-size: 1.5em;
  padding: 0px;
  padding-bottom: 5px;
}

.ars-header.full.profile,
.ars-header.full.register {
  border-bottom: none;
  margin-bottom: 20px;
}

.ars-header.full.profile {
  margin-bottom: 0;
}

.captcha-container.ars-header {
  margin-bottom: 5px;
}

.ars-logo {
  display: block;
  line-height: 0;
}

.ars-logo:before {
  background-image: url('images/login_register/logo-ars-us.svg');
  background-repeat: no-repeat;
  background-size: 100% auto;
  width: 211px;
  height: 69px;
  content: "";
  z-index: 10;
  display: inline-block;
  margin: 0 18px;
}

#ars-nav-header {
  background-color: #030303;
  height: 40px;
  position: relative;
  align-items: center;
  display: flex;
  margin: 0 -1.4rem 3rem;
}

#header-nav-primary {
  display: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#header-nav-primary li {
  display: inline-block;
}

#header-nav-primary .header-logged-in {
  background-color: #01cd74;
  padding: 0 14px;
}

#header-nav-primary .header-logged-in:hover {
  background-color: #ff4e00;
}

#header-nav-primary .header-logged-in a {
  color: #000 !important;
}

#header-nav-primary li a {
  line-height: 40px;
  display: inline-block;
  color: #01cd74;
  text-decoration: none;
  position: relative;
  margin: 0 7px;
  font-family: economica;
  font-size: 18px;
  text-transform: uppercase;
}

.page-body {
  overflow: hidden;
}

.ars-auth-container {
  margin: 0 auto;
  max-width: 640px;
  padding: 1.4rem;
  margin-bottom: 1.4rem;
}

.message {
  background-color: #cce5ff;
  border: 1px solid #b8daff;
  color: #000;
  font-size: 0.9em;
  margin: 0 auto 1em;
  padding: 0.5em 1em;
  max-width: 600px;
}

.message p {
  padding: 0.5em 0 0;
}

.message.error {
  background-color: #fcc;
  border-color: #c66;
}

.message.info {
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.message.success {
  background-color: #d4edda;
  border-color: #c3e6cb;
}

/**
 * forms
 */
input:not([type='checkbox']):not([type='radio']), textarea, button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input:not([type='checkbox']):not([type='radio']), textarea, select {
  font-size: 1.6rem;
}

input:not([type='checkbox']):not([type='radio']), textarea, select, button, .fields-radio {
  display: block;
  margin: 1.8rem auto;
}

input:not([type='checkbox']):not([type='radio']):not([type="submit"]):not([type="button"]):not([type="reset"]), textarea, select {
  padding: .6rem 1.2rem;
  width: 100%;
}

input[type="submit"], input[type="button"], input[type="reset"], legend {
  width: 100%;
}

.legend,
legend,
label {
  display: block;
  font-weight: bold;
  margin: 1.2rem auto 0;
}

label + input:not([type='checkbox']):not([type='radio']), 
label + textarea, 
label + select {
  margin-top: .4rem;
}

legend + .fields-radio {
  margin-top: 1rem;
}

input[type='checkbox'] + label, 
input[type='radio'] + label {
  display: inline;
}

input[type='radio'] + .genmed {
  padding-left: .5rem;
  font-size: 1.4rem;
}

@media(min-width:1000px) {
  .fieldset-group {
    align-items: center;
    display: flex;
    flex-flow: nowrap;
  }

  .fieldset-group > .legend {
    flex: 2 0 0;
  }

  .fieldset-group > .legend + .fields-radio {
    flex: 1 0 0;
    text-align: right;
  }
}

.ars-form .field-group { 
  display: inline-block;
  font-weight: normal;
}


.label-description {
  display: block;
  font-weight: normal;
  font-size: 1.4rem;
  line-height: 1.5;
  color: #655C5B;
}

.dark .label-description {
  color: #7E7372;
}

.button, .button:link, .button:visited, input[type="submit"], input[type="submit"].button {
  display: block;
  font-family: economica;
  font-size: 18.6px;
  font-weight: 700;
  padding: 8px;
  background-color: #ff4e00;
  width: 175px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  text-rendering: geometricPrecision;
  border-radius: 6px;
  cursor: pointer;
  margin: 1.6rem auto;
  border: none;
}

.button.wide {
  width: 80%;
}

.ars-seperator {
  display:flex;
  flex-flow: row nowrap;
  align-items: center;
  margin: 0 auto;
  font-size: 1em;
  font-weight: 800;
  padding: 15px;
  text-transform: uppercase;
  width: 30%;
}

.ars-seperator:before, .ars-seperator:after {
  display: inline-block;
  content: "";
  background-color: #000;
  width: 50%;
  height: 2px;
}

.ars-seperator:before {
  margin-right: .5em;
}

.ars-seperator:after {
  margin-left: .5em;
}

#footer {
  padding-top: 15px;
  color: #000;
  font-size: 0.6875rem;
  padding: 20px;
  text-align: center;
}

/*
  Dark
 */

 .dark { 
  background-color: #131414;
  color: #bebebe;
 }

 .dark .ars-content-wrapper {
  background-color: #000000;
 }

 .dark #footer {
  color: #bebebe;
 }

 .dark #footer a {
  color: #ccc;
 }

 .dark #footer a:hover {
  color: #bebebebe;
 }

 .dark .ars-header {
  color: #bebebebe;
 }

 .dark input:not(.button), .dark textarea {
  background-color: #ccc;
  color: #000;
 }

 #password-reset-link {
   font-size: 1.3rem;
   margin-top: 3rem;
 }

/*
  Media 
 */

@media (min-width: 768px ) {
  body {
    font-size: 1.5rem;
  }
  
  input, textarea, button {
    font-size: 1.3rem;
  }

  select {
    font-size: 1.4rem;
  }

  input[type="submit"], input[type="button"], input[type="reset"] {
    display: inline-block;
    width: auto;
    min-width: 14rem;
  }

  .ars-auth-container {
    padding: 2.4rem;
  }

  #ars-nav-header {
    margin: 0 0 3rem;
  }
  
  #header-nav-primary {
    display: block;
    padding-left: 2rem;
  }

  #header-nav-primary ul {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-direction: row;
    flex-flow: nowrap
  }

  #header-nav-primary ul li {
    white-space: nowrap;
  }

  .ars-content-wrapper {
    min-width: inherit;
  }  
}
@media (min-width: 1000px) {
  .ars-content-wrapper {
    padding: 3rem;
  }
}

/*
Registration Part Template
 */

.captcha-container {
  margin-bottom: 15px;
}

.captcha-container .ars-header {
  margin-bottom: 5px;
}

.section-body ul.feeds { 
  margin-bottom: 1.5em
}

.section-body ul#subservices li,
.section-body ul.feeds li,
.section-body ul.promos li {
  list-style-image: none;
  margin-bottom: 0.8em;
  line-height: 1.25em;
  font-weight: normal;
}

ul.promos span.code {
  background-color: #920404;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-text-shadow: #000 0 2px 1px;
  -moz-text-shadow: #000 0 2px 1px;
  text-shadow: #000 0 1px 2px;
  border-radius: 3px;
  color: white;
  padding: 3px;
}
.section-body ul.promos li {margin-bottom: 1em; line-height: 1.5em;}

a:link, a:visited {
  color: #ff4e00;
  text-decoration: none;
}

a:hover:not(.button), a:active {
  color: #ff9000;
  text-decoration: underline;
}

.disabled, .disabled:hover, .disabled:active {
  cursor: default;
  color: #eee;
  background: #ff4e00 url('images/login_register/button-bg.png') repeat-x left top;
}


/**
 * Styles specific to login pages.
 */

.hidden {
  display: none;
}

.visible, #reset-password-form.visible {
  display: block;
}

/**
 * Styles specific to registration pages.
 */

#agreed,
#not_agreed {
  float: none;
  margin: 0.5em auto;
}

/**
 * Styles specific to registration confirmation page.
 */


/**
 * Styles specific to the edit profile page.
 */

@media(min-width: 600px) {
  .custom-profile-group {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .custom-profile-group .label-description {
    width: 250px;
  }
}


.ars-form .custom-profile-group label {
  display: block;
  max-width: 250px;
}


.button.inline {
  margin: 0;
  margin-bottom:10px;
}

.edit-profile-page .hint {
  padding-top: 0.5em;
}


/**
 * Styles specific to the edit profile page.
 */

#sign-up {
  border: 3px solid #ccc;
  padding: 15px;
}

#normal-subs li, #gift-subs li {
  list-style-type: none;
}

.gravatar {
  float: left;
  margin: 0px 10px 10px 0px;
  border: 1px solid black;
  width: 80px;
  height: 80px;
}

#edit-button {
  position: relative;
  right: 3px;
  top: -25px;
}

#edit-button .button {
  float: right;
  font-size: 0.7em;
  position: relative;
}

.links {
  margin: 0;
  padding: 0;
}

.links li {
  list-style-type: none;
  margin: 0;
  padding: 0 0 0.25em;
}

#register-confirm #premier h2 {
  display: none;
}

#register-confirm #premier p {
  display: none;
}

#register-confirm #premier div * {
  display: block;
}

/* Footer */

#footer {
  font-size: 0.75em;
  text-align: center;
  background: #000;
  color: #bebebe;
}

#footer a {
  color: #DFDFDF;
}

#footer a:hover {
  color: #bebebe;
}

#footer .notice {
  color: #7E7372;
  font-size: .9em;
}

#footer .notice a {
  color: #DFDFDF;
}

#footer .notice a:hover {
  text-decoration: underline;
}

#admin-link {
  font-size: 0.6875em;
  line-height: 1.2727em;
  text-align: center;
}

.list-inline {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  list-style-type: none;
  justify-content: flex-start;
  padding-left: 0;
}

.list-inline li {
  border-left: 1px solid;
  margin-left: 4px;
  padding-left: 4px;
}

.list-inline li:first-child {
  border-left: none;
  margin-left: 0;
  padding-left: 0;
}

.list-inline.list-centered {
  justify-content: center;
}

.powered-by-sc {
  margin-top: -16px;
}

.powered-by-sc span,
.powered-by-sc img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.powered-by-sc span {
  font-size: 1.1em;
  margin-bottom: 16px;
  margin-top: -8px;
}

.screen-reader-text,
.visually-hidden {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.list-checklist {
  margin: 0;
  padding: 0;
  padding-left: 2em;
}

.list-checklist li {
  font-weight: bold;
  margin: 0;
  padding: 0;
  padding-left:5px;
  list-style-image: url('images/subs_landing/checkmark.png');
  list-style-position: 0px;
  margin-bottom: 1.5em;
}

.skip-link {
  font-size: 12px;
  font-weight: 700;
  height: auto;
  left: 50%;
  line-height: 1.5;
  margin: 0 auto;
  padding: 0 8px;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  top: 5px;
  transform: translateX(-50%);
  width: auto;
}

.skip-link:focus {
  clip: auto;
  -webkit-clip-path: initial;
  clip-path: initial;
  z-index: 1000000;
}

.message > h2 {
  margin-top: 5px;
}

.form-errors {
  padding-left: 20px;
}

.form-errors li {
  margin-bottom: 4px;
}

.form-errors a,
.form-errors a:visited,
.form-errors a:hover {
  color: #443e3c;
  text-decoration: underline;
}
