h1{ /* Pilot Name */
    font-size: 20px;
    font-variant: small-caps;
    margin: auto;
}
h2{ /* Upgrade card title*/
    margin-top: 2px;
    margin-bottom: 2px;
    font-size: 14px;
}
h3{ /* Upgrade card stat block (charges, force...)*/
    margin-top: 0px;
    margin-bottom: 0px;
    line-height: 15px;
    font-weight: 400;
    font-size: 16px;
}
h4{ /*Ship ability title*/
    font-size: 12px;
    font-weight: 800;
    display: inline;
}
h5{ /* ship ability name */
    font-size: 12px;
    line-height: 12px;
    font-weight: 800;
    display: inline;
    margin: auto;
}
hr {
    margin-top: 0.1em;
    margin-bottom: 0.1em;
}
p{
    margin-top: 0px;
    margin-bottom: 2px;
    max-width: 280px;
    text-align: center;
}
strong {font-family: "eurostile-bold", sans-serif;
        font-weight: 800;
        font-size: 20px;
        -webkit-font-smoothing: antialiased;
}
.card {
    display: inline-block;
    position: relative;
    width: 738px;
    height: 310px;
}
.pilotImg {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 738px;
    height: 310px;
    border-radius: 15px;
}
.nameDiv {
    position: absolute;
    top: 0px;
    left: 120px;
    min-width: 250px;
    max-width: 300px;
    min-height: 44px;
    text-align: center;
    padding: 3px;
    font-size: 20px;
}
.nameDiv h2 { /* pilot caption */
    font-size: 14px;
}
.nameDiv p {
    font-size: 12px;
    /*line-height: 12px;*/
    /* max-width: 280px; */
}
.nameDiv p bold {
    font-size: 12px;
    /*line-height: 12px;*/
    font-weight: 800;
    /* max-width: 280px; */
}
.initiativeDiv {
    position: absolute;
    top: 0px;
    left: 10px;
    width: 30px;
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    color: orange;
    padding: 3px;
}
.initiativeEpicDiv {
    padding-top: 8px;
    line-height: 56%;
}
.threat-box {
    position: absolute;
    top: 0px;
    right: 30px;
    min-width: 20px;
    padding-left: 2px;
    padding-right: 2px;
    text-align: left;
    background-color: transparent;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    border-style: none solid solid solid;
    border-width: 2px;
    border-color: black;
}
.threat-box-number {
    text-align: center;
    font-size: 12px;
    color: red;
    background-color: black;
}
.threat-block {
    display: inline-block;
    position: relative;
    margin: 0px 2px 0px 2px;
    width: 20px;
    height: 10px;
    color: white;
    border-width: 1px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-style: none solid solid solid;
}
.threat-number {
    position: absolute;
    top: 0px;
    right: 8px;
    text-align: right;
    font-size: 24px;
    font-style: normal;
    color: red;
    background-color: transparent;
    margin-top: 10px;
    width: 54px;
    font-weight: bold;
}
.threat-pair-text {
    display: block;
    text-align: center;
    font-size: 12px;
    color: white;
    background-color: black;
}
.points-box {
    position: absolute;
    top: 0px;
    /*left: 500px;*/
    min-width: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    font-style: normal;
    padding: 3px;
}
.abilityDiv {
    position: absolute;
    bottom: 0px;
    left: 240px;
    width: 240px;
    text-align: center;
    font-size: 12px;
    padding: 3px;
}
.factionSymbol {
    float: left;
    text-align: center;
    font-size: 40px;
    font-style: normal;
    background-color: transparent;
    margin: 10px 10px 5px 2px;
    width: 30px;
    height: 30px;
    line-height: 24px;
}
.factionSymbolImg {
    background-color: transparent;
    width: 30px;
    height: 30px;
}
.shipSilouette {
    float: right;
    text-align: center;
    font-size: 50px;
    font-style: normal;
    color: white;
    background-color: transparent;
    margin: 0px 10px 5px 5px;
    width: 36px;
    height: 30px;
}
.shipIconImg {
    background-color: transparent;
    width: 30px;
    height: 30px;
}
.statsDiv {
    position: absolute;
    top: 50px;
    left: 0px;
    min-width: 50px;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    padding: 4px 4px 4px 10px;
}
.upgradeDiv {
    position: absolute;
    bottom: 0px;
    right: -5px;
    max-width: 400px;
    height: 290px;
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
    display: flex;
    flex-wrap: wrap-reverse;
    flex-direction: column-reverse;
}
.upgrade-block {
    position: relative;
    bottom: 5px;
    right: 0px;
    text-align: center;
    padding-left: 10px;
    padding-right: 5px;
    margin: 0px 5px 4px 5px;
    width: 220px;
}
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}
.floated-upgrade-stats{
    float: right;
}
.upgrade-stat {
    display: block;
    text-align: center;
    background-color: black;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    margin: 5px -5px 5px 2px;
    padding: 2px;
    width: 50px;
    text-shadow: none;
}
.upgrade-stat-invisible {
    background-color: transparent;
    height: 2px;
}
.attack-stat {
    display: block;
    text-align: center;
    background-color: black;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    margin: 5px -5px 5px 2px;
    padding: 2px;
    width: 50px;
    text-shadow: none;
}
.floated-upgrade-icon{
    float: left;
}
.upgrade-icon {
    margin: 0 0 0 -12px;
    display: block;
    font-size: 24px;
    font-style: normal;
    width: 30px;
    height: 24px;
    background-color: transparent;
}
.upgrade-icon-double {
    width: 50px;
}
.actionDiv {
    position: absolute;
    bottom: 5px;
    left: 5px;
    max-width: 230px;
    display: -webkit-flex; /* Safari */
    -webkit-flex-wrap: wrap; /* Safari 6.1+ */
    display: flex;
    flex-wrap: wrap-reverse;
}
.action-icon {
    display: inline-block;
    font-size: 20px;
    font-style: normal;
    text-align: center;
    min-width: 30px;
    height: 26px;
    line-height: 26px;
    padding-left: 3px;
    padding-right: 3px;
    margin: 0 0 4px 10px;
}
.watermark {
    display: block;
    width: 1000px;
    margin-left: 10px;
    color: white;
    background-color: transparent;
    border-style: none;
    font-size: 9px;
    text-align: left;
    line-height: 9px;
}
.tombstoneDiv {
    position: absolute;
    top: 4px;
    left: 64px;
    min-width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    color: white;
    background-color: black;
    padding: 3px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-style: solid solid solid solid;
}