
/* 
    Override foundation padding
    to position people images at edge
    (small-screens).
*/
.columns
{
    padding-left: 0px !important;
    padding-right: 0px !important;
}


body 
{ 
    background-color: #999; 
    color: white; 
    font-family: Verdana, Geneva, sans-serif;
    z-index: 0;
    width: 100%;
}

.link-logo 
{
    border: none;	
}

#faction-tabs, #faction-spacer, #faction-name
{
    position: relative;
    height: 50px;
}

#body-main 
{
    position: relative;
    
    /* height: 600px; */
    
    z-index: 0;
    border: solid #CCC 1px;
    background-color: #265789;
    padding: 0px !important;
}

#img-logo 
{
    position: absolute;
    top: 10px;
    left: 10px;
    height: 70px;
    width: 560px;
    border: 0;
}

#main-image
{
    position: absolute;
    top: 30px;
    right: 0px;
    width: 1000px;
    height: 571px;
    border: solid #CCC 1px;
    z-index: 0;
}

#main-faction 
{
    position: absolute;
    top: 516px;
    left: 0px;
    height: 30px;
    width: 880px;
    background-color: black;
    padding: 10px;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
}

#desc-faction-1
{
    position: absolute;
    right: 15px;
    top: 5px;
    width: 300px;
    height: 571px;
    z-index: 2;
}

#desc-faction-2
{
    position: relative;
    padding-top: 30px;
    z-index: 2;
}

#faction-quote-1
{
    position: relative;
    top: 0px;
    right: 0px;
    width: 280px;
    font-size: 12px;
    font-style: italic;
    font-weight: normal;
    text-align: center;
    line-height: 18px;
    padding-top: 5px;
}

#faction-quote-2 
{
    position: relative;
    margin-left: auto;
    margin-right: auto;
    height: 30px;
    font-size: 15px;
    font-style: italic;
    font-weight: normal;
    text-align: center;
    margin-bottom: 10px;
}


#faction-text-1 
{
    position: relative;
    margin-top: 10px;
    right: 0px;
    width: 280px;
    text-align: justify;
    padding: 5px 10px 0px 10px;
}

#faction-text-1 p 
{ 
    font-size: 13px; 
    line-height: 16px;
    margin-bottom: 5px;
}

#faction-text-2  
{
    /* height: 200px; */
    font-size: 10px;
    line-height: 15px;
    padding: 10px;
    padding-left: 15px;
    padding-right: 15px;
    line-height: 18px;
    text-align: justify;
}


#main-gallery_dots
{
    margin-top: 10px;
    border: solid 1px red;
}

#galleryButtonContainer
{
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    width: 300px;
}

.galleryButton 
{ 
    height: 15px; 
    width: 15px; 
    margin-left: 20px; 
    margin-right: 20px;
    /* background-image: url('img/galleryButtonEmpty.jpg'); */

}

.faction-view-button 
{
    position: absolute;
    bottom: -1px;
    height: 35px;
    width: 100px;
    z-index: 0;
    font-size: 13px;
    text-align: center;
    vertical-align: middle;
    border: solid 1px #CCC;
    padding-top: 8px;
    cursor: pointer;
}

#faction-link-info { left: 0px;}
#faction-link-vessel { left: 105px; }
#faction-link-map { left: 212px; }

#faction-tab-cover 
{
    position: absolute;
    left: 2px; /* -1, 106, 213 */
    bottom: -2px;
    width: 98px;
    height: 5px;
    background-color: #265789;
    z-index: 2;
}

#faction-title 
{
    position: relative;
    margin-left: auto;
    margin-right: auto;
    top: 25px;
    height: 16px;
    width: 316px;
    background: url(../../img/sprite_faction_names_2.png) no-repeat;
    background-position: 0px 0px;
    overflow: hidden;
    padding-top: 0px;
    padding-bottom: 0px;
}

#faction-background 
{
    left: 0px;
}

#people-container
{
    width: 100%;
}

#people-container-male
{
    position: relative;
    left: 0px;
    bottom: 0px;
    width: 50%;
    float: left;
    margin-top: 10px;
    margin-bottom: 10px;
}

#people-container-female
{
    position: relative;
    right: 0px;
    bottom: 0px;
    width: 50%;
    float: right;
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 10px;
}

#faction-image-male 
{
    position: relative;
    bottom: 0px;    
    /* width: 20%; */
    background: url(../../img/sprite_characters_4.png) no-repeat;
    background-position: 0px 0px;
    background-position: center;
    overflow: hidden;
    visibility: visible;
    z-index: 1;
    margin-left: auto;
    margin-right: auto;
}

#faction-image-fem 
{
    position: relative;
    bottom: 0px;
    /* width: 20%; */
    background: url(../../img/sprite_characters_4.png) no-repeat;
    background-position: -217px 0px;
    background-position: center;
    overflow: hidden;
    visibility: visible;
    z-index: 0;
    margin-left: auto;
    margin-right: auto;
}

#vessel-container
{
    position: relative;
    margin-left: auto;
    margin-right: auto;
    min-width: 300px;
    min-height: 300px;
    height: 542px;
    visibility: hidden;
    display: none;
    vertical-align: middle;
    margin-top: auto;
    margin-bottom: auto;
    text-align: center;
}

#vessel-img-tag
{
    margin-top: auto; 
    margin-bottom: auto; 
    margin-left: auto; 
    margin-right: auto; 
    vertical-align: middle; 
}


#faction-vessel-image 
{
    /* background: url(../../img/scout_perspective.png) no-repeat; */
    
    -webkit-background-size: contain !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: contain !important;
    
    background-repeat: no-repeat;
    background-position: center;
    visibility: hidden;
    display: none;

    min-height: 300px;
    /* height: 100%;*/
    width: 100%;

    height: 100%;
    width: 100%;
}

#faction-map 
{
    position: relative;
    /*
    top: 20px;
    left: 50px;
    */
    margin-left: auto;
    margin-right: auto;
    width: 480px;
    height: 480px;
    visibility: hidden;
    display: none;
    background: url(../../img/tau_ceti_group_6_500sq.jpg) no-repeat;
    background-size: 480px 480px; 
    background-position: 10px -10px;
    
    margin-top: 5px;
    margin-bottom: 5px;
        
    z-index: 0;
    /* border: solid 1px #187aff; */
    overflow: hidden;
}

.div-star-map-pos 
{
    position: absolute;
    height: 24px;
    width: 24px;
    cursor: pointer;
    z-index: 2;
}

#div-star-map-beacon 
{
    position: absolute;
    height: 24px;
    width: 24px;
    background-image: url(../../img/highlightStar_animation_2m.gif);  /* a, b, h is best*/
    visibility: hidden;
    z-index: 1;
}

.div-star-map-text 
{
    position: absolute;
    border: none;
    color: white;
    font-size: 12px;
    font-weight: bold;
    line-height: 14px;
    cursor: pointer;
}

#systemDataTable 
{
    margin: 0 auto;
    width: 250px;
    font-size: 11px;
    line-height: 17px;
}

.orbit-type 
{
    width: 100px;
    font-weight: bold;
}

.bottom-button
{
    position: absolute;
    font-weight: bold;
    color: #DDD;
    bottom: 5px;
    height: 30px;
    width: 150px;
    visibility: hidden;
    background-color: #111;
    border: solid 1px #ddd;
}

#button-map, #button-workshop
{
    left: 225px;	
}

#button-clear-star-data
{
    left: 65px;
    visibility: visible;
}

#galaxy-map
{
    position: absolute;
    height: 800px;
    width: 800px;
    top: 0px;
    background: url(../../img/galaxyMap_reduced_800sq_v1.png) no-repeat;
    border: solid 5px gray;
    z-index: 5;
    visibility: hidden;
    display: none;
}

#workshop
{
    position: relative;
    height: 800px;
    width: 800px;
    top: 90px;
    background: url(../../img/galaxyMap_reduced_800sq_v1.png) no-repeat;
    border: solid 5px gray;
    z-index: 5;
    visibility: hidden;
}	

#close-galaxy-map, #close-workshop 
{
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: red;
    color: white;
    width: 16px;
    height: 16px;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 18px;
    font-weight: bold;
    padding-left: 1px;
    line-height: 16px;
    cursor: pointer;
    visibility: inherit;
}

#table-ship-data
{
    /*
    position: relative;
    bottom: 15px;
    font-size: 11px;
    line-height: 13px;
    margin: 0 auto;
    */
    position: relative;
    bottom: 0px;
    margin-left: auto;
    margin-right: auto;
    max-width: 650px;
    border: solid 1px #fff;
    background-color: transparent !important;
    color: #fff;
}

#table-ship-data tr 
{
    height: 14px;
    background-color: transparent !important;
}

#table-ship-data td
{
    height: 14px;
    font-size: 12px;
    padding: 0.2rem 0.625rem;
    color: #fff;
}

.td-right 
{ 
    font-weight: bold;
    padding-right: 20px;
}

#select-faction 
{
    position: absolute;
    bottom: 25px;
    right:105px;
    width: 120px;
    height: 28px;
    font-size: 14px;
    font-weight: bold;
    border: solid white 1px;
    text-align: center;
    vertical-align: middle;
    color: white;
}

/* ----------------------------------- */
/* 		LOG IN BOX	       */
#login-box
{
      position: absolute;
      top: 90px;
      left: 325px;
      height: 225px;
      width: 350px;
      background-color: #4aa8bf;
      border: solid 1px white;
      visibility: hidden;
      z-index: 2;
      text-align: center;
      padding-top: 25px;
}

#login-box table
{
    margin-right: auto;
    margin-left: auto;
}

#login-form-table
{
    font-size: 11px;
}

#login-form-table td
{
    height: 25px;	
}

.login-table-td-right
{
    text-align: right;	
    padding-right: 10px;
}

#login-form-table a:link { color: white; text-decoration: none;}
#login-form-table a:visited { color: white; text-decoration: none;}
#login-form-table a:hover { color: aqua; text-decoration: none; cursor: pointer;}
#login-form-table a:active { color: white; text-decoration: none;}	

#login-button, #login-cancel
{
    height: 25px;
    width: 100px;
    background-color: #999;
    color: black;
    border: solid 1px black;
    font-size: 11px;
}

#login-button-table td
{
    width: 100px;
}

#login-button:hover, #login-cancel:hover 
{
    color: #0ff;
    border: solid 1px #0ff;
}

/* 	------- FOOTER	------- */
.footer-table
{
    font-size: 12px;
}

.footer-table
{
    height: 100%;
    width: 100%;
}

.footer-td-left 
{
    text-align: left;
    padding-left: 15px;
}

a:link 
{
    text-decoration: none;
    font-weight: bold;
    color: #fff;
}
a:hover { color: #0ff; }
a:visited { color: #fff; }
a:active { color: #fff; }

.footer-td-right
{
    text-align: right;
    padding-right: 15px;
}
.td-footer
{
    padding-top: 10px;
    padding-bottom: 10px;
    width: 50%;
    height: 50%;
}

#systemDataTable { border-top: solid 1px white; }
#systemDataTable td { padding: 5px; }
.td-underline{ border-bottom: solid 1px white; }
.orbit-data { border-left: solid 1px white; }
.orbit-type { border-right: solid 1px white; }
.orbit-none
{
    text-align: center;
    border-bottom: solid 1px white;
    border-left: solid 1px white;
    border-right: solid 1px white;
}


#faction-large-spacer
{
    height: 100px;
}


/* -------------------------------- */
/*            ARROW BOXES           */

.arrow-hit-box
{
    z-index: 7;
    position: absolute;
    top: 0px;
    width: 100px;
    height: 100%;
}

#arrow-hit-left
{
    left: 0px;
}

#arrow-hit-right
{
    right: 0px;
}

.arrow-container
{
    z-index: 7;
    position: relative;
    height: 100px;
    width: 100px;
    top: 40%;
    visibility: hidden;
    display: none;
    background-repeat: no-repeat;
    background-size: 100px 100px;
}

#arrow-container-left
{
    background-image: url('../../img/arrow_left.png');
}

#arrow-container-right
{
    background-image: url('../../img/arrow_right.png');
}

/* ----------------  */
#swipe-box
{
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
}