/* bg and main text */

body {
    background-image: url('../images/background.jpg');
	background-color: #000;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
}

#all {
    background-color: #ccc;
    width: 615px;
    margin: 0 auto;
}

/* sidebar */

#side {
    background-color: #000;
    float: left;
    width: 175px;
    position: fixed;
	border: 1px solid #03346e;
}

#sidepadding {
    padding: 10px;

}

.sideimgholder {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.7;
}

#sideimg {
    width: 155px;
}

/* sidebar navigation */

#nav {
    font-size: 14px;
    padding: 5px 0;
}

ul {
    margin: 0;
    padding-left: 0;
    width: 175px;

    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
}

li {
    list-style-type: none;
    width: 71px;
    display: inline;
    float: left;
}

#sidecontent {
    font-size: 13px;
    text-align: justify;
}

.divider {
    border-top: 1px dotted #7A787D;
}

/* main posts layout */

#main {
    background-color: #000;
    float: right;
    width: 425px;
	border: 1px solid #03346e;
}

/* header post - title in jekyll */

.subheaders {
    margin: 0;
    font-weight: normal;
    letter-spacing: 0px;
    font-size: 20px;
    line-height: 14px;
    color: #fff;
	text-transform: lowercase;
    background-color: #03346e;
}

/* the main post text */

.maincontent {
    padding: 0 15px 15px 15px;
    text-align: none;
    font-size: 14px;
    letter-spacing: 0px;
}

/* link color */

a {
    text-decoration: none;
    color: #72a0d5;
}

/* clicked link color */

a:visited {
    color: #72a0d5;
}

/* link hover choice */

a:hover {
    font-style: italic;
}

/* click on link choice */

a:active {
    font-weight: bold;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #7A787D;
}

/* layout credit */

#credit {
    font-size: 12px;
    position: fixed;
    bottom: 0;
    right: 0;
}

/* media images optimizaiton */

@media (max-width: 650px) {

    #all {
        width: 100%;
    }

    #side {
        position: static;
        float: none;
        width: 100%;
		border: 1px solid #03346e;
    }

    #main {
        float: none;
        width: 100%;
    }

    #sideimg {
        max-width: 175px;
    }

}

/* custom rules for chartlist.html */

#all:has(.chartlist) {
    width: 950px;
}

#main.chartlist {
    width: 100%;
    min-width: 0;
}

.chartlist {
    font-family: 'Roboto', sans-serif;
}

/* main website font */

.maincontent {
    font-family: 'Satoshi', sans-serif;	
}

/* table optimizaitons */

table.fixed { table-layout:fixed; }
table.fixed td { overflow: hidden; }

/* fix links so they don't get sorted into columns like the sidebar */

.maincontent ul {
    column-count: 2;
    width: auto;
}

.maincontent li {
    width: auto;
    display: block;
    float: none;
    margin-bottom: 5px;
}

/* style for table borders */

th, td {
	border: 1px solid #333333;
}

.maincontent img {
    max-width: 100%;
    height: auto;
    display: block;
}

.packtext {
    text-align: center;
}

.packtext center p {
    margin-bottom: 5px;
}

.packtext h4 {
    margin-top: 0;
}

/* optimization for popup layout */

.popup body {
	background-image: none;
	background-color: #000;
}