@charset "UTF-8";

@font-face
{
    font-family: Kimblery;
    src: url("../Fonts/kimberley bl.ttf");
}
@font-face
{
  font-family: XWingShip;
  src: url("../Fonts/xwing-miniatures-ships.ttf");
}

@font-face
{
    font-family: XWing;
    src: url("../Fonts/xwing-miniatures.ttf");
}

body
{
    background-color: #201c1d;
    margin: 0px;
    font-family: Arial;
}

/* W3 Styles */
html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}
h1{font-size:36px}h2{font-size:30px}h3{font-size:24px}h4{font-size:20px}h5{font-size:18px}h6{font-size:16px}
h1,h2,h3,h4,h5,h6{font-family:"Segoe UI",Arial,sans-serif;font-weight:400;margin:10px 0}
.w3-main,#main{transition:margin-left .4s}
.w3-button{border:none;display:inline-block;padding:8px 16px;vertical-align:middle;overflow:hidden;text-decoration:none;color:inherit;background-color:inherit;text-align:center;cursor:pointer;white-space:nowrap}
.w3-button{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none} 
.w3-button:disabled{cursor:not-allowed;opacity:0.3}
.w3-bar{width:100%;overflow:hidden}
.w3-bar .w3-bar-item{padding:8px 16px;float:left;width:auto;border:none;display:block;outline:0}
.w3-bar .w3-button{white-space:normal}
.w3-bar-block .w3-bar-item{width:100%;display:block;padding:8px 16px;text-align:left;border:none;white-space:normal;float:none;outline:0}
.w3-bar-block .w3-center .w3-bar-item{text-align:center}
.w3-bar:before,.w3-bar:after{content:"";display:table;clear:both}
.w3-left-align{text-align:left}
.w3-large{font-size:18px}
.w3-xlarge{font-size:24px}
.w3-hide-large{display:none}
.w3-bar .w3-button{white-space:normal}
.w3-button:hover{color:#000;background-color:#ccc}
.w3-right{float:right!important}
.w3-hover-white:hover{color:#000;background-color:#fff}
.w3-hover-black:hover{color:#fff;background-color:#000}
.w3-sidebar{height:100%;width:200px;background-color:#fff;position:fixed;z-index:1;overflow:auto}
.w3-padding-large{padding:12px 24px}
.w3-grey,.w3-gray{color:#000;background-color:#9e9e9e}
.w3-text-grey{color:#757575}

#ShipSelect
{
    width: 100%;
    margin: 0px 0px 12px 0px;
    overflow: auto;
    border-left: solid 1px white;
}

#ShipSelect a
{
    color: white;
    font-family: XWingShip;
    text-decoration: none;
    border-right: solid 1px white;
    border-bottom: solid 1px white;
    font-size: 2.4em;
    float:left;
}

.addShipButton
{
    padding: 8px 16px;
    font-size: 2.9em!important;
    font-family: Kimblery!important;
}

#ShipSelectPopup
{
    display: none;
    width: 400px;
    height: 350px;
    z-index: 2;

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;

    background-color: #201c1d;
    border: solid 2px white;
    color: white;
}

#ShipSelectPopup a
{
    color: white;
    font-family: XWingShip;
    text-decoration: none;
    font-size: 2em;
    float:left;
}

.factionSelectButton
{
    color: white;
    font-family: XWingShip;
    text-decoration: none;
    border-right: solid 1px white;
    border-bottom: solid 1px white;
    font-size: 1em;
    float:left;
    padding: 0px 16px 8px 16px;
    display:inline-block;
    position:relative;
}

.shipSelectButton
{
    padding: 8px 16px;
    display:inline-block;
    position:relative;
}

.shipSelectExtra
{
    position: absolute;
    bottom: 3px;
    left: 3px;
    color: #FF6666;
    font-size: 0.6em;
    font-family: XWing;
}

#ShipSelectPopup a:hover
{
    background-color: #000000;
}

#ShipAbility
{
    background-color: #DDCCBB;
    width: 95%;
    font-size: 0.8em;
    color: black;
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 5px;
    margin: auto;
    border-radius: 15px;
    display: none;
}

#ShipAbility h4
{
    font-weight: bold;
    font-size: 1.3em;
}

.targetWindow
{
    background-color: #201c1d;
    border: 2px solid white;
    padding: 5px;
    margin-left: 15px;
    color: white;
    width: 770px;
    font-family: Arial;
}

.closeButton
{
    display:block;
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 3px 10px;
    border: solid 1px white;
    color: white;
    font-family: Kimblery;
    font-size: 1.2em;
    text-decoration: none;
}

.featureButton
{
    display:block;
    position: absolute;
    top: 15px;
    padding: 6px 12px 8px 12px;
    border: solid 1px white;
    color: white;
    font-family: XWing;
    font-size: 1.2em;
    text-decoration: none;
}

.fleeButton
{
    left: 15px;
    padding: 5px 16px 7px 16px;
}

.fleeText
{
    color: white;
    font-weight: bold;
    display:block;
    position: absolute;
    top: 15px;
    left: 70px;
}

.cloakButton
{
    left: 15px;
    top: 64px;
}

.payloadButton
{
    right: 15px;
    top: 64px;
    padding: 6px 14px 8px 14px;
}

.critButton
{
    right: 15px;
}

.targetButton
{
    top: 700px;
    left: 15px;
}

.commandWindow
{
    background-color: #201c1d;
    border-right: solid 2px white;
    color: white;
}

.shipManeuver
{
    margin: 0px;
    width: 100%;
    border:none;
    outline:0;
    font-family: Kimblery;
    text-align: center;
    font-style: normal;
    font-size: 1.5em;
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
}

.maneuverTable
{
    background-color: #000000;
    border-radius: 15px;
    width: 150px;
    height: 100px;
    margin: 20px;
    position: relative;
}

#TargetSelectFrame
{
    position: relative;
    width: 800px;
    height: 800px;

    background-image: url("Images/TargetSelect.png");
    background-position: center;
    background-size: cover;
}

.shipProfile
{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    margin: auto;
}

.targetKey
{
    position: absolute;
    right: 20;
    bottom: 20;
}

.payloadPopup
{
    display: none;
    width: 700px;
    height: 700px;
    z-index: 2;

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    padding: 5px;

    background-color: #201c1d;
    border: solid 2px white;
    color: white;
    font-size: 1em;
    font-family: Arial;

    overflow: auto;
}

.payloadPopup h2
{
    font-size: 1.5em;
    text-align: center;
}

.payloadPopup table
{
    color: white;
    background-color: #202020;
}

.payloadPopup tr:nth-child(odd)
{
    background-color: #404040;
    margin: 0px 5px;
}

.rngPopup
{
    display: none;
    width: 400px;
    height: 300px;
    z-index: 2;

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    padding-top: 120px;

    background-color: #201c1d;
    border: solid 2px white;
    color: white;
    font-size: 3em;
    text-align: center;
    vertical-align: center;
    font-family: Arial;
}

@media (min-width:1215px)
{
    .w3-hide-large{display:none!important}
    .w3-sidebar.w3-collapse{display:block!important}
}
@media (max-width:1214px)
{
    .w3-sidebar.w3-collapse{display:none}
    .w3-main{margin-left:10!important;margin-right:0!important}
}