@charset "UTF-8";
/* CSS Document */

h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 2em !important;
	font-family: 'Teko', sans-serif;
	letter-spacing: 3px;
    margin-bottom: 10px;
}

h1 {
    font-size: 50px;
}

h2 {
    font-size: 45px;
}

h3 {
    font-size: 40px;
}

h4 {
    font-size: 35px;
}

h5 {
    font-size: 30px;
}

h6 {
    font-size: 25px;
}

p, label, li {
	line-height: 2em !important;
	font-family: 'Open Sans', sans-serif;
	letter-spacing: 2px;
    font-size: 20px;
}

a {
    color: #63b0d1;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    color: #4597ca;
}

body {
    background: url("../img/space.jpg") no-repeat center center;
    background-size: cover;
    color: #FFF;
    overflow: hidden;
}

#menu {
    position: fixed;
    top: 10px;
    right: 15px;
}

#menu span {
    font-size: 50px !important;
}

#headerMenu {
    position: fixed;
    top: 20px;
    right: 70px;
    display: none;
    background: url("../img/background-opactity.png");
    width: 150px;
    padding: 10px;
    border-radius: 10px;
}

#headerMenu a {
    display: block;
    width: 100%;
    padding: 5px 0px;
    color: #FFF;
}

#playingBoard {
    width: 50%;
    margin: 200px auto 0px;
    text-align: center;
}

#playingBoard input {
    width: 50%;
    margin-bottom: 10px;
    padding: 20px;
    border-radius: 10px;
}

button, .button {
    background-image: linear-gradient(#63b0d1, #4597ca);
    color: #FFF;
    font-size: 20px;
    font-weight: bold;
    padding: 10px;
    border-radius: 10px;
}

button:hover, .button:hover {
    background-image: linear-gradient(#4597ca, #3483b4);
    color: #FFF;
}

.button.secondary, select {
    background-image: linear-gradient(#fffffd, #b7b7bc);
    padding: 10px 25px;
    color: #63b0d1;
    font-size: 20px;
    font-weight: bold;
}

.button.secondary:hover {
    background-image: linear-gradient(#b7b7bc, #9e9ea3);
    color: #4597ca;    
}

#readySetup {
    position: absolute;
	top: 40%;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
    background: url("../img/background-opactity.png");
    width: 50%;
    height: 25%;
    margin: 0px auto;
    padding: 20px;
    text-align: center;
}

#readySetup h3 {
    float: left;
    width: 49%;
    margin-bottom: 50px;
}

#tableSetup {
    position: relative;
    background: url("../img/background-opactity.png");
    width: 100%;
    height: 50%;
    padding: 20px;
    text-align: left;
}

#tableSetup #playerSetup {
    position: absolute;
    top: 30px;
    left: 30px;
}

#tableSetup #tableStatus {
    position: absolute;
    bottom: 30px;
    left: 30px;
}

#tableSetup #playerList fieldset {
    position: absolute;
    top: 20px;
    bottom: 30px;
    right: 30px;
    width: 50%;
    padding: 20px 25px;
    border: 5px solid #FFF;
}

#tableSetup #playerList fieldset legend {
    padding: 0px 15px;
    font-size: 30px;
    font-weight: bold;
}

#tableSetup #playerList table {
    width: 100%;
}

#tableSetup #playerList table h4, #tableSetup #playerList table .material-icons {
    margin: 0px;
    padding: 0px;
    font-size: 50px;
    line-height: 100px !important;    
}

#tableSetup #playerList table .material-icons.active {
    color: #FFD700;
}

.tooltip {
    position: relative;
    text-decoration: none;
}

.tooltip:hover {
    cursor: help;
    position: relative;
}

.tooltip .tooltipText {
    display: none;
}

.tooltip:hover .tooltipText {
    position: absolute;
    top: -50px;
    left: -20px;
    display: block;
    z-index: 100;
    background: #000;
    width: 125px;
    margin: 15px;
    padding: 5px 20px 5px 5px;
    text-decoration: none;
    color: #FFF;
}
      
.text-center {
    text-align: center;
}

#victoryCards {
    position: fixed;
    top: 25px;
    right: 200px;
    max-width: 490px;
    height: auto;
}

#victoryCards .victoryCards {
    display: block;
    float: left;
    width: 20%;
    height: auto;
    padding: 10px;
}

#victoryCards .victoryCards img {
    width: 100%;
}

#shipyardOne {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translate(-50%, 0%);
    height: auto;
}

#shipyardTwo {
    position: fixed;
    top: 190px;
    left: 50%;
    transform: translate(-50%, 0%);
    height: auto;
}

#shipyardThree {
    position: fixed;
    top: 355px;
    left: 50%;
    transform: translate(-50%, 0%);
    height: auto;
}

.shipyardCards {
    display: block;
    float: left;
    width: 100px;
    height: 150px;
    padding: 10px;
}

.shipyardCards img {
    width: 100%;
}

#playerBoard {
    position: fixed;
    bottom:10px;
    left: 350px;
    right: 350px;
    background: url("../img/background-opactity.png");
    height: 425px;
    border-radius: 15px;
    z-index: 300;
}

#playerBoard #topCards {
    position: absolute;
    bottom: 415px;
    left: 10px;
    right: 10px;
    z-index: 200;
}

#playerBoard .topCards {
    position: relative;
    float: left;
    width: 7.20%;
    height: auto;
    margin: 10px;
}

#playerBoard .topCards ul {
    position: absolute;
    bottom: 0px;
    width: 100%;
    margin: 0px !important;
    padding: 0px !important;
    list-style: none;
}

#playerBoard .topCards li {
    width: 100%;
    margin: 0px 0px 0px 0px !important;
    padding: 0px !important;
    list-style: none;
    line-height: 0em !important;
}

#playerBoard .topCards li img {
    width: 100% !important;
    vertical-align: bottom;
    border-top: 2px solid #333;
}

#playerBoard .topCards li:first-child img {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-top: 0px solid #333;
}

#playerBoard #activeCards {
    position: absolute;
    bottom: 170px;
    left: 10px;
    right: 10px;
}

#playerBoard .listedCards {
    display: block;
    float: left;
    width: 7.20%;
    height: auto;
    padding: 10px;
}

#playerBoard .listedCards img {
    width: 100% !important;
    border-radius: 15px;
}

#playerBoard .listedCards h5 {
    background: #F00;
    margin: 30px 0px 0px !important;
    padding: 0px;
    line-height: 0px !important;
}

#playerBoard #activeCards .listedCards .outLine {
    position: relative;
    background-size: contain;
    height: 180px;
    padding: 8px;
    border: 1px solid #FFF;
    border-radius: 15px;
}

#playerBoard #activeCards .listedCards .outLine .cardCost {
    position: absolute;
    top: -5px;
    left: -5px;
    background: url("../img/cost.png");
    background-size: cover;
    width: 25px;
    height: 25px;
    padding-top: 0px;
    color: #333;
    font-size: 20px;
    font-weight: bold;font-family: 'Teko', sans-serif;
    text-align: center;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FFF;
    
}

#playerBoard #activeCards .listedCards .outLine .cardSection {
    position: absolute;
    top: -5px;
    right: -5px;
    background: url("../img/section.png");
    background-size: cover;
    width: 25px;
    height: 25px;
    padding-top: 0px;
    color: #333;
    font-size: 20px;
    font-weight: bold;
    font-family: 'Teko', sans-serif;
    text-align: center;
    border-radius: 10px;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FFF;
}

#playerBoard #activeCards .listedCards .outLine .cardDocked {
    position: absolute;
    bottom: 10px;
    left: 0px;
    right: 0px;
    background: #0ecac9;
    height: 75px;
    color: #FFF;
    font-size: 12px;
}

#playerBoard #activeCards .listedCards .outLine .cardDeployed {
    position: absolute;
    bottom: -12px;
    left: 0px;
    right: 0px;
    background: #F00;
    color: #FFF;
    font-size: 12px;
    transform: rotate(180deg);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

#playerBoard #activeCards .listedCards .outLine:first-child {
    margin-left: 0px;
}

#playerBoard #activeCards .listedCards .outLine:last-child {
    margin-right: 0px;
}

#playerBoard #activeCredits {
    position: absolute;
    bottom: 120px;
    left: 30px;
    right: 15px;
}

#playerBoard #activeIncome {
    position: absolute;
    bottom: 70px;
    left: 30px;
    right: 15px;
}

#playerBoard #activeVictory {
    position: absolute;
    bottom: 20px;
    left: 30px;
    right: 15px;
}

#playerBoard .measurementCards {
    display: block;
    float: left;
    width: 1.7%;
    height: 25px;
    background: #FFF;
    margin: 0px 5px 0px;
    padding-top: 8px;
    color: #333;
    font-weight: bold;
    border: 1px solid #FFF;
    border-radius: 5px;
    text-align: center;
}

.startCard {
    background: #333 !important;
    color: #FFF !important;
}

.currencyCard {
    background: #B29700 !important;
    color: #FFF !important;
}

.incomeCard {
    background: #074B01 !important;
    color: #FFF !important;
}

.victoryCard {
    background: #024993 !important;
    color: #FFF !important;
}

.currencyCard:first-child, .incomeCard:first-child, .victoryCard:first-child {
    height: 28px !important;
    padding-top: 5px !important;
}

#boardActions {
    position: fixed;
    top: 25px;
    left: 25px;
    width: 450px;
}

#boardActions table {
    background: url("../img/background-opactity.png");
    width: 100%;
    padding: 0px 10px 10px 10px;
    text-align: center;
}

#boardActions table td {
    padding: 5px;
}

#boardActions table tr:nth-child(even) {
  background: #000;
}

 #boardActions table tr:nth-child(odd) {
  background: #333;
}

#boardActions table th {
    background: #000 !important;
    margin-bottom: 5px;
    padding: 5px 0px;
    font-weight: bold;
}

#boardActions #activePlayer {
    position: relative;
    background: url("../img/background-opactity.png");
    width: 430px;
    height: 150px;
    margin-top: 50px;
    padding: 10px 10px 40px;
    overflow: hidden;
    text-align: center;
}

#boardActions #activePlayer h3 {
    margin: 0px;
    padding: 0px 0px 10px;
    font-size: 30px;
}

#boardActions #activePlayer .button {
    display: block;
    width: 50%;
    margin: 10px auto 0px !important;
    font-size: 30px;
}

#boardActions #activePlayer #diceHolder {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0%);
    display: block;
    height: 100px;
}

.first-face {
    display: flex;
    justify-content: center;
    align-items: center;
}

.second-face {
    display: flex;
    justify-content: space-between;
}

.second-face .pip:nth-of-type(2) {
    align-self: flex-end;
}

.third-face {
  display: flex;
  justify-content: space-between;
}
  
.third-face .pip:nth-of-type(2) {
  align-self: center;
}

.third-face .pip:nth-of-type(3) {
  align-self: flex-end;
}

.fourth-face, .sixth-face {
  display: flex;
  justify-content: space-between;
}

.fourth-face .column, .sixth-face .column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fifth-face {
  display: flex;
  justify-content: space-between;
}
  
.fifth-face .column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
  
.fifth-face .column:nth-of-type(2) {
  justify-content: center;
}

[class$="face"] {
    float: left;
    margin: 0px 12.5px 0px;
    padding: 4px;
    background-color: #e7e7e7;
    width: 75px;
    height: 75px;
    object-fit: contain;
    box-shadow:
        inset 0 5px white, 
        inset 0 -5px #bbb,
        inset 5px 0 #d7d7d7, 
        inset -5px 0 #d7d7d7;
    border-radius: 10%;
}

.pip {
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin: 4px;
    background-color: #333;
    box-shadow: inset 0 3px #111, inset 0 -3px #555;
}

#windowBlur {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: url("../img/opacity.png");
    z-index: 600;
}

#windowData {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #333;
    width: 25%;
    height: auto;
    color: #FFF;
    z-index: 700;
}

#windowData #closeButton {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #333;
    width: 30px;
    height: 30px;
    padding-top: 0px;
    color: #FFF;
    font-size: 20px;
    font-weight: bold;
    font-family: 'Teko', sans-serif;
    text-align: center;
    border-radius: 50%;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #333;
}

#windowData.shipHighlights {
    width: 15%;
    padding-bottom: 10px;
    text-align: center;
}

#windowData.diceFunctions {
    width: 35%;
    padding: 50px 10px 10px;
    text-align: center;
}

#windowData.shipHighlights h1, #windowData.diceFunctions h1 {
    margin: 10px 0px 5px 0px !important;
    padding: 0px 10px;
    line-height: 1em !important;
    font-size: 30px;
}

#windowData.shipHighlights small {
    color: #999;
    font-size: 25px;
}

#windowData.shipHighlights p {
    padding: 0px 10px;
}

#windowData.shipHighlights #shipCost {
    position: absolute;
    top: 10px;
    left: 10px;
    background: url("../img/cost.png");
    width: 50px;
    height: 37px;
    padding-top: 13px;
    color: #333;
    font-size: 20px;
    font-weight: bold;font-family: 'Teko', sans-serif;
    text-align: center;
    border-radius: 50%;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FFF;
    
}

#windowData.shipHighlights #shipSection {
    position: absolute;
    top: 10px;
    right: 10px;
    background: url("../img/section.png");
    width: 50px;
    height: 37px;
    padding-top: 13px;
    color: #333;
    font-size: 20px;
    font-weight: bold;
    font-family: 'Teko', sans-serif;
    text-align: center;
    border-radius: 10px;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FFF;
}

#windowData.shipHighlights img {
    width: 100%;
}

#windowData.shipHighlights .button.purchase {
    background-image: linear-gradient(#5cb85c, #1c721c);
    color: #FFF;
}

#windowData.diceFunctions button {
    margin: 25px 0px 50px !important;
    font-size: 30px;
}

#windowData.diceFunctions #shipHolder {
    width: auto;
    margin: 15px auto 0px;
    align-content: center;
    text-align: center;
}

#windowData.diceFunctions #shipHolder .half {
    display: inline-block;
    width: 30%;
    margin: 0px 5px 0px;
}