.ts-grey {
  text-shadow: 0 0.1em 0 #444;
}
.ts-dgrey {
  text-shadow: 0 0.1em 0.1em #000;
}
.text-center {
  text-align: center;
}
/*FONTS*/
@font-face {
  font-family: 'Baron Neue';
  src: url('../../../fonts/BaronNeueBlack.ttf') format('truetype');
}
@font-face {
  font-family: 'Baron Neue regular';
  src: url('../../../fonts/BaronNeue.woff2') format('woff2'),
  url('../../../fonts/BaronNeue.woff') format('woff');
  font-weight: thin;
}
@font-face {
  font-family: 'Georgia';
  src: url('../../../fonts/GEORGIAB.ttf') format('truetype');
}
@font-face {
  font-family: 'ACaslonProRegular';
  font-weight: normal;
  src: url('fonts/ACaslonProRegular.otf');
}
@font-face {
  font-family: 'ACaslonProBold';
  font-weight: bold;
  src: url('fonts/ACaslonProBold.otf');
}
@font-face {
  font-family: 'ACaslonProItalic';
  font-style: italic;
  src: url('fonts/ACaslonProItalic.otf');
}
.baron {
  font-family: 'Baron Neue';
  text-shadow: 1px 1px 2px black;
}
.baron-regular {
  font-family: 'Baron Neue regular'
}
.georgia {
  font-family: 'Georgia';
  text-shadow: 1px 1px 2px black;
  font-weight: 100;
}
.bold {
  font-weight: bold;
}
.acp-font {
  font-family: "ACaslonProRegular", Georgia;
}
.acp-bold-font {
  font-family: "ACaslonProRegular", Georgia;
  font-weight: bold;
}
.acp-italic-font {
  font-family: "ACaslonProRegular", Georgia;
  font-style: italic;
}
.bn-font {
  font-family: "BaronNeue", Arial;
}
.bn-bold-font {
  font-family: "BaronNeue", Arial;
  font-weight: bold;
}
.bn-black-font {
  font-family: "BaronNeue", Arial;
  font-weight: 900;
}
@font-face {
  font-family: 'headlinerNo45';
  font-weight: normal;
  src: url('fonts/headlinerNo45.otf');
}
.hl45-font {
  font-family: "headlinerNo45", Arial;
}
.georgia-font {
  font-family: Georgia;
}
/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
body {
  line-height: 1;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/*RESPONSIVE*/
@media screen and (max-width: 500px) {
  .top-menu {
    font-size: 90%;
  }
}
@media (max-width: 1440px) {
  .title-background {
    margin-left: 30px;
  }
}
@media (max-width: 1024px) {
  legend {
    font-size: 15px !important;
  }
  .col2 >h3 {
    line-height: 2 !important;
  }
}
@media (max-width: 788px) {
  .col1 >h2>span {
    font-size: 80% !important;
  }
}
@media (max-width: 768px) {
  #don a:first-of-type img {
    display: none;
  }
  #don a:nth-of-type(2) img {
    display: block;
  }
  #don a img {
    width: 100%;
  }
}
@media (max-width: 500px) {
  legend {
    font-size: 10px !important;
  }
  .mobile_warning {
    display: block !important;
  }

  /* card */
  .col1, .col2 {
    width: 95% !important;
    margin: 0 2.5%;
  }
  .col2 >ul, .col2 >h3 {
    padding-left: 25px !important;
  }
  .col1 >h2>span {
    font-size: 60% !important;
  }
  .portrait {
    text-align: center !important;
    width: 100% !important;
  }
  .portrait >img {
    width: 50% !important;
  }
  .content {
    padding-left: 10px !important;
    width: 100% !important;
  }
  .races .race-button {
    width: 20% !important;
    margin-left: 0;
    margin-right: 0;
    padding-left: 2px;
    padding-right: 2px;
  }
  .races {
    padding: 0 8px;
  }
}
@media (max-width: 375px){
  .col1 >h2>span {
    font-size: 50% !important;
  }
  .races h2 {
    font-size: 180%;
    text-indent: 2.4em;
    line-height: 3.1;
  }
  #footer-bis div:last-of-type {
    width: 40% !important;
  }
  #footer-bis div:first-of-type {
    width: 40% !important;
  }
}
@media (max-width: 320px){
  .col1 >h2>span {
    font-size: 40% !important;
  }
}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}
/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}
del {
  text-decoration: line-through;
}
abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}
input,
select {
  vertical-align: middle;
  border-radius: 0;
}
textarea {
  border-radius: 0;
}
input:focus {
  outline: 0;
}
.section.title {
  font-family: Georgia;
  font-weight: 100;
  padding-bottom: 2em;
}
.section.title a {
  text-shadow: 1px 1px 2px black;
  text-decoration: none;
  color: #fff;
}
.section.title h1 {
  display: inline-block;
  font-size: 185%;
  line-height: 1.8;
}
.section.title span {
  font-size: 110%;
}
.top-menu {
  position: relative;
  display: block;
  float: right;
  font-size: 185%;
  font-family: "BaronNeue", Arial;
}
.top-menu ul {
  position: relative;
}
.top-menu ul li {
  position: relative;
  display: inline-block;
  list-style-type: none;
  margin: 0.5em 0.6em 0.5em 1em;
}
.top-menu ul li:after {
  display: block;
  position: absolute;
  top: 0.1em;
  left: -1em;
  width: 3px;
  height: 1.2em;
  background-color: #fff;
  content: "";
}
.top-menu ul li:first-child:after {
  display: none;
}
.top-menu ul li a {
  color: #fff;
}
.top-menu ul li a:hover {
  text-decoration: underline;
}
.section.logo {
  text-align: center;
  font-size: 135%;
  font-family: "ACaslonProRegular", Georgia;
}
.section.logo img {
  width: 50%;
}
.section.logo h4 {
  margin-top: -2em;
  color: #1acafd;
  font-size: 165%;
  line-height: 1.4;
  font-weight: bold;
  margin-left: 15px;
  margin-right: 15px;
}
.section.logo p {
  display: block;
  margin: auto;
  margin-bottom: 4em;
  line-height: 1.2;
  margin-left: 15px;
  margin-right: 15px;
}
#footer-bis {
  display: flex;
  justify-content: space-between;
  padding-top: 5em;
}
#footer-bis div {
  display: inline-block;
}
#footer-bis div:first-of-type {
  width: 32%;
}
#footer-bis div:last-of-type {
  float: right;
  width: 32%;
}
#footer-bis p {
  margin: 1em 0;
}
#footer-bis .color-blue {
  color: #1acafd;
}
#footer-bis ul {
  color: white;
  text-decoration: none;
  list-style: none;
  padding-left: 0;
  text-align: right;
  font-family: "BaronNeue", Arial;
  line-height: 1.2;
}
#footer-bis ul li a {
  font-size: 185%;
  transition: color 0.2s ease;
}
#footer-bis ul li a:hover {
  color: #1acafd;
}
/* @import 'nameEditor'; moved to end */
/* base */
html {
  font-size: 14px;
  font-family: "ACaslonProRegular", Georgia;
}
body {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #030619;
  background-image: url("images/Background-bis.png");
  background-repeat: no-repeat;
  background-size: 100% auto;
  text-align: left;
  color: #fff;
}
a {
  text-decoration: none;
  color: #fff;
}
ul {
  padding: 0;
}
.no-events {
  pointer-events: none;
}
*[data-href] {
  cursor: pointer;
}
canvas {
  width: 100%;
}
.hidden {
  display: none;
}
body > .section {
  margin: auto;
  max-width: 1500px;
  width: 100%;
}
button {
  padding: 8px;
  margin: 6px;
  border: 0 none;
  outline: 0 none;
  cursor: pointer;
  transition: color 0.2s ease;
}
button.new {
  display: block;
  width: 100%;
  max-width: 1920px;
  height: 75px;
  padding: 0;
  margin: auto;
  margin-top: 1em;
  background: url("images/SupportButton.png");
  background-position: center 0;
  background-repeat: no-repeat;
  font-family: "BaronNeue", Arial;
  font-size: 200%;
  text-align: center;
  line-height: 2.5;
  color: #fff;
  text-indent: 8px;
}
button.new:hover {
  color: #1acafd;
}
button.genNames {
  padding: 1.4em 2.5em;
  background: transparent;
  border-image: url("images/GenericBouton.png") 30 fill / 28px;
  font-family: "BaronNeue", Arial;
  text-align: center;
  color: #fff;
}
button.genNames:hover {
  color: #1acafd;
}
label {
  cursor: pointer;
}
input[type="checkbox"] {
  width: 1em;
  height: 1em;
}
input[type="checkbox"].hide {
  visibility: hidden;
}
h2 {
  width: 100%;
  height: 75px;
  margin: 0;
  background: url("images/TitleFull.png");
  background-repeat: no-repeat;
  background-position: 0 0;
  font-family: "BaronNeue", Arial;
  font-size: 220%;
  text-indent: 2.2em;
  line-height: 2.2;
  text-shadow: 0 0.1em 0 #000;
}
h2 span b {
  color: #1acafd;
}
h3 {
  width: 100%;
  margin: 0.2em auto 0;
  z-index: 1;
  font-family: "BaronNeue", Arial;
  font-size: 100%;
  line-height: 2.3;
  text-shadow: 0 0.1em 0 #000;
}
#footer-bis p {
  margin: 1em 0;
}
.card {
  display: block;
  width: 98%;
  max-width: 1200px;
  margin: 6px auto;
  padding: 8px 0;
  border-image: url(images/NameBackground.png) 50 fill / 28px;
}
.races {
  display: inline-block;
  vertical-align: top;
}
.races .race-button {
  position: relative;
  width: calc(20% - (2 * 6px));
  box-sizing: border-box;
  background: transparent;
}
.races .race-button legend {
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  width: 70%;
  margin: auto;
  font-size: 160%;
  font-size: 1vmax;
  line-height: 1em;
  transform: translateY(-30%);
}
.races .race-button img {
  width: 100%;
  height: auto;
  opacity: 0.4;
  transition: opacity 0.1s ease;
}
.races .race-button img.onselect {
  position: absolute;
  width: 100%;
  left: 50%;
  margin: 0 0 0 -50%;
  top: 4%;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.races .race-button:hover img {
  opacity: 1;
}
.races .race-button:hover img.onselect {
  opacity: 1;
}
.races .race-button.selected img {
  opacity: 1;
}
.races .race-button.selected img.onselect {
  display: none;
}
.races.done {
  display: none;
}
.races.done h2 {
  display: none;
}
.races h2 {
  line-height: 2.6 !important;
}
.races.done .race-button {
  display: none;
}
.races.done .race-button.selected {
  display: inline-block;
  width: 100%;
  cursor: default;
}
.generator {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  width: 100%;
}
.generator .col1 {
  display: inline-block;
  width: 64%;
  vertical-align: top;
}
.generator .col1 .portrait {
  display: inline-block;
  width: 35%;
  box-sizing: border-box;
  vertical-align: top;
}
.generator .col1 .portrait img {
  width: 100%;
}
.generator .col1 .content {
  display: inline-block;
  width: 64%;
  box-sizing: border-box;
  vertical-align: top;
  padding: 1em 0;
}
.generator .col1 .content .row {
  line-height: 2;
}
.generator .col1 .content .row.desc {
  font-size: 115%;
  padding-bottom: 2em;
  line-height: 1.4;
}
.generator .col1 .content .row ul {
  padding-left: 2em;
}
.generator .col1 .content .row .label {
  margin-right: 0.5em;
  font-family: "BaronNeue", Arial;
  font-size: 140%;
  text-shadow: 0 0.1em 0 #000;
}
.generator .col1 .content .row .dyndata {
  margin: 0 -0.7em;
  padding: 1em 1.4em;
  cursor: pointer;
  font-family: "ACaslonProRegular", Georgia;
  text-align: center;
  color: #fff;
  font-size: 120%;
  transition: color 0.2s ease;
}
.generator .col1 .content .row .dyndata:hover {
  color: #1acafd;
}
.generator .col1 .content .row .dyndata.selected {
  cursor: default;
  border-image: url("images/GenericBouton.png") 30 fill / 28px;
}
.generator .col1 .content .row .dyndata.selected:hover {
  color: #fff;
}
.generator .col2 {
  display: inline-block;
  padding: 5vmin;
  width: 35%;
  box-sizing: border-box;
  vertical-align: top;
  background: url(images/NamePaperBackground.png);
  background-size: 100% 100%;
  color: #000;
  font-family: "BaronNeue", Arial;
}
.generator .col2 h3 {
  line-height: 4;
}
.generator .col2 h3 i {
  font-style: normal;
  color: #56460c;
}
.generator .col2 ul {
  list-style-type: none;
}
.generator .col2 ul li {
  cursor: pointer;
  line-height: 1.6;
  font-family: "ACaslonProRegular", Georgia;
  font-weight: bold;
  font-size: 130%;
  transition: color 0.2s ease;
}
.generator .col2 ul li:hover {
  color: #1acafd;
}
.col2 >h3 {
  margin-top: 30px;
  padding-left: 15px;
}
.col2 >ul {
  padding-left: 15px;
}
.generator .close {
  position: absolute;
  right: 0;
  top: -0.2em;
  width: 2em;
  cursor: pointer;
  font-size: 200%;
  font-weight: bolder;
  color: #fff;
}
.generator .close img {
  width: 100%;
}


.mobile_warning {
  font-family: Georgia;
  padding: 20px;
  text-align: center;
  width: 230px;
  margin: 50px auto;
  background-image: url("../../../images/Block-small.png");
  background-size: cover;
  height: 130px;
  display: none;
}