﻿html {
    width: 100%;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    border: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    color: white;
    background-color: black;
}

:root {
    --title: rgb(49, 131, 255);
    --center-width: 1200px;
    --gap-base: 6px;
}

a:link, a:visited, a:active {text-decoration: none; color: #008aff;}
a:hover, a:visited:hover    {text-decoration: underline; color: Silver;}

a.link-white { text-decoration: none; color: white; }
a.link-white:hover { color: #d8d8d8; }
a.link-blue { text-decoration: none; color: #008aff;}
a.link-blue:hover { color: #4a5fff; }
a.link-red { text-decoration: none; color: darkred;}
a.link-red:hover { color: red; }
a.link-grey { text-decoration: none; color: grey;}
a.link-grey:hover { color: darkgray; }
.link:hover { cursor: pointer; }

.flex {
    display: flex;
}
.flex-row {
    display: flex;
    flex-direction: row;
    gap: 6px;
}
.flex-column {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.flex-grow {
    flex-grow: 1;
}
.flex-wrap {
    flex-wrap: wrap;
}

.large-gap {
    gap: 12px;
}

.float-right    {float: right;}
.float-left     {float: left;}

input, select, textarea {
    display: flex;
    color: #000000;
    background-color: rgb(233, 233, 233);
    font-size: 10pt;
    font-weight: bold;
    border: none;
    border-radius: 2px;
    padding: 4px;
}

a.menu-link {
    text-decoration: none;
    color: white;
}
    a.menu-link:hover {
        cursor: pointer;
        color: white;
    }

img.forum-image {
    width: auto;
    max-width: 600px;
    height: auto;
    max-height: 600px;
}
img.small-preview {
    width: 150px;
    height: auto;
    padding-bottom: 8px;
    border-radius: 6px;
    overflow: hidden;
}

img.medium-preview {
    width: 300px;
    height: auto;
    padding-bottom: 8px;
    border-radius: 6px;
    overflow: hidden;
}

#titlebar {
    position: sticky;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 14pt;
	background-color: royalblue;
    background-image: url('/images/page-title.jpg');
    border-bottom: 1px solid rgba(0, 0, 0, .25);
    top: 0;
    height: 30px;
    width: 100%;
    /*padding: 0 var(--gap-base) 0 var(--gap-base);*/
    z-index: 1000;
}

#titlebar-content {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: var(--gap-base);
    width: var(--center-width);
    height: 32px;
    padding: 0;
}
#titlebar-home {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 32px;
    width: 32px;
    background-color: rgba(0, 0, 0, .5);
    cursor: pointer;
}
#titlebar-pad {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-grow: 1;
    font-weight: bold;
    text-shadow: 0 0 5px black;
    /*background-color: rgba(0, 0, 0, .5);*/
}
#titlebar-other {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-width: 100px;
    font-weight: bold;
    /*background-color: rgba(0, 0, 0, .5);*/
}
.titlebar-member {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 100px;
    font-weight: bold;
    cursor: pointer;
    /*background-color: rgba(0, 0, 0, .5);*/
}
#titlebar-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 32px;
    width: 32px;
    background-color: rgba(0, 0, 0, .5);
    cursor: pointer;
}

.header-item {
    display: flex;
    
    justify-content: center;
    align-items: center;
}
    .header-item:not(:last-child):after {
        content: ' ● ';
        font-size: 6pt;
        padding-left: 12px;
        padding-right: 12px;
    } 

.horizons-logo {
    display: flex;
    height: 90px;
    width: 500px;
    filter: drop-shadow(0px 0px 5px #000000);
}

.pop-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 32px;
    right: 0;
    background-color: rgb(11, 11, 11);
    border: 1px solid grey;
    border-top: 0;
    border-radius: 0 0 6px 6px;
}
.pop-menu-item {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    font-size: 16pt;
    padding: 6px;
    cursor: pointer;
}
.pop-menu-item:hover {
    background-color: #0073e3;
}

.section {
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: rgb(22, 22, 22);
}
.section.type-1 {
    background-color: rgb(34, 34, 34);
}
.section.sec-space {
    background-image: url('/images/hyper-space.jpg');
    background-size: cover;
    background-position: center;
}

.content {
    display: flex;
    flex-direction: column;
    text-align: justify;
    width: var(--center-width);
    padding: 12px;
    /* background-color: blueviolet; */
}

.content-title {
    font-size: 16pt;
    font-weight: bold;
    color: var(--title);
    margin-bottom: 12px;
}

.input-area {
    display: flex;
    flex-direction: row;
    column-gap: 6px;
    margin: 2px;
}

.label {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 10pt;
    width: 80px;
}
    .label.fixed {
        margin-left: 12px;
        justify-content: flex-end;
        width: 60px;
    }
    .label.narrow {
        /*margin-left: 12px;*/
        width: auto;
    }
.data {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: auto;
}

#footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    color: white;
    background-color: rgb(20, 71, 148);
}

#footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    /*column-gap: 6px;*/
    width: var(--center-width);
    padding: 6px;
}

.footer-item {
    display: flex;
    justify-content: center;
    align-items: center;
}
    .footer-item:not(:last-child):after {
        content: ' ● ';
        font-size: 6pt;
        padding-left: 6px;
        padding-right: 6px;
    } 

#copyright {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 8pt;
    margin: 2px;
}

.button {
	position: relative;
	display: table-cell;
    width: auto;
    min-width: 50px;
    padding: 6px;
    color: White;
    font-family: Arial, Helvetica;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    border: 0px;
	background-color: #0073e3;
	-moz-border-radius: 4px;
	border-radius: 4px;
	text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.9);
	cursor: pointer;
}

.button:hover {
    filter: brightness(150%);
}

.button-solo { display: inline-block; }
.button-web { display: inline-block;height: 26px; }
.button-green { background-color: darkgreen; }
.button-red { background-color: darkred; }

.error-text {
    color: red;
}

.flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.sub-title {
    color: rgb(65, 195, 255);
    font-weight: bold;
}

/* DIALOG */

.shader {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.75);
    z-index: 1000;
}

.dialog {
    display: none;
    position: relative;
    top: 150px;
    margin: 0px auto;
    padding: 0px;
    max-width: 600px;
    height: 500px;
    background-color: White;
    border: 1px solid Black;
	border-radius: 6px;
	box-shadow: 0px 5px 15px Black;
    overflow: hidden;
	z-index: 100;
}

.dialog-body {
    background-image: none;
    background-color: #2b2b2b;

}

#dialog-title {
	position: relative;
    height: 22px;
    padding-top: 4px;
    padding-left: 6px;
    padding-right: 6px;
    border-bottom: 1px solid Black;
    text-align: center;
    color: White;
    font-weight: bold;
    font-size: 14px;
    font-family: Arial, Helvetica;
    vertical-align: middle;
	background-color: Blue;
    background-image: url('/images/page-title.jpg');
    -moz-border-radius: 4px 4px 0px 0px;
	border-radius: 4px 4px 0px 0px;
	text-shadow: 0px 1px 1px rgba(0, 0, 0, 1);   
}

#dialog-icon {
	display: table-cell;
	width: 30px;
	height: 30px;
}

#dialog-content {
    position: relative;
    padding: 6px;
}

/* Bottom */

.w100 {
    width: 100px;
}
.w200 {
    width: 200px;
}
.w500 {
    width: 500px;
}

.padded {
    padding: 3px;
}


.hidden {
    display: none !important;
}

@media only screen and (max-width: 600px) {

    :root {
        --center-width: 100%;
    }

    body {
        font-size: 10pt;
    }

    .horizons-logo {
        width: 300px;
        height: 75px;
    }

    .content-title {
        font-size: 12pt;
    }

    .main-link {
        display: none;
    }

    .response-flex {
        flex-wrap: wrap;
    }

}