:root {
    /* Base colors */
    --red: #de3f3f;
    --orange: #f85f00;
    --yellow: #ffd452;
    --green: #145223;
    --blue: #1270ce;
    --purple: #4d2d3d;
    --teal: #26716c;
    --gray: #b8b8b8;
    /* Light colors */
    --lightorange: #ff9a5c;
    --lightgreen: #8ce3a2;
    --lightblue: #85add6;
    --lighpurple: #9b7889;
    --lightergray: #d6d6d6;
    --lightgray: #c7c7c7;
    /* Dark colors */
    --darkorange: #c64c00;
    --darkblue: #153452;
    --darkgray: #333333;
}

* {
    margin: 0;
    padding: 0;
}

html body {
    background-color: var(--lightergray);
}

#bodywrap {
    display: table;
    max-width: 1400px;
    background-color: white;
    margin: 0 auto;
    font-family: verdana, arial, helvetica, sans-serif;
    border-right: 1px solid var(--lightgray);
}

#leftcol {
    display: table-cell;
    width: 29%;
    vertical-align: top;
    border-right: 1px solid var(--lightgray);
    border-left: 1px solid var(--lightgray);
    padding-bottom: 50px;
}

#pagewrapper {
    display: table-cell;
    width: 69%;
    padding-right: 15px;
    overflow: hidden;
    padding-bottom: 100px;
}

#top-content {
    color: var(--darkgray);
    text-align: left;
    padding-left: 3%;
}

h1,
h2,
h3,
h4 {
    color: var(--darkgray);
}

h1 {
    margin: 25px 0 5px 0;
}

h2 {
    margin: 15px 0 5px 0;
}

ul {
    margin: 20px 3%
}

ol {
    margin: 20px 3%
}

p {
    margin: 10px 0;
}

img {
    margin-top: 20px;
    max-width: 100%;
}

td {
    color: var(--darkgray);
}

a {
    color: var(--darkorange);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.screenshot {
    width: 95%;
    max-width: 510px;
    margin: 10px auto;
}

.bigbold {
    font-weight: bold;
    color: black;
}

.inlineblock {
    position: relative;
    display: inline-block;
}

.steps {
    margin-top: 60px!important;
}

.clear {
    clear: both;
}

.floatleft {
    position: relative;
    float: left;
    padding: 0 15px 15px 0;
}

.floatright {
    position: relative;
    float: right;
    padding: 0 0 15px 15px;
}


/*---------------------- topbar --------------------------*/

#topbar {
    position: relative;
    height: 50px;
    background-color: var(--gray);
    color: white;
    vertical-align: middle;
    font-family: verdana, arial, helvetica, sans-serif;
}

#topbar div {
    display: table;
    height: 100%;
    margin-left: 10px;
}

#topbar a {
    display: table-cell;
    color: white;
    padding: 0 10px;
    vertical-align: middle;
    text-decoration: none;
}

#topbar a:hover {
    text-decoration: underline;
}

#topbar span {
    display: table-cell;
    vertical-align: middle;
    font-size: 1.15em;
}

#topbar img {
    margin: 0px;
    max-width: 25px;
    padding: 0px 15px;
}

@media (min-width: 801px) {
    #navtop {
        position: absolute;
        top: 0px;
        right: 20px;
        margin-right: 20px;
    }
}

@media (max-width: 800px) {
    #topbar {
        text-align: center;
    }
    #topbar div {
        display: none;
    }
    #navtop {
        display: table!important;
    }
    #topbar a {
        padding: 0 5px;
    }
    #topbar img {
        padding: 0px 15px 0px 0px;
    }
}

#breadcrumbs {
    position: relative;
    height: 35px;
    width: 100%;
    text-align: left;
    margin: 0;
    padding: 0 10px;
    background-color: #EFEFEF;
    /* Todo: You may have to turn this back on */
    /* font-size: .8em; */
    border-bottom: 1px solid var(--lightgray);
}

#breadcrumblinks {
    margin: 0 0;
    padding-top: 7px;
    font-weight: bold;
}

#breadcrumblinks a {
    color: var(--darkorange);
    text-decoration: none;
}

#breadcrumblinks a:hover {
    text-decoration: underline;
}

#hiddenbreadcrumb {
    display: none;
}

#externalip {
    position: absolute;
    top: 7px;
    right: 10%;
}

#sitenav {
    display: none;
    margin: 0 0;
    padding-top: 7px;
    font-weight: bold;
}

#sitenav a {
    color: var(--darkorange);
    text-decoration: none;
}

#sitenav a:hover {
    text-decoration: underline;
}


/*---------------------- guidebody --------------------------*/

#guidebody {
    margin-bottom: 80px;
    background-color: white;
}

#guidebody p {
    margin-left: 20px;
}

#guidebody img {
    margin-left: 20px!important;
}

#guidebody table {
    margin: 20px 40px;
}

#guidebody td {
    padding: 4px;
}

#guidebody ol {
    list-style-type: decimal!important;
    margin-left: 80px;
}

#guidebody ul {
    margin-left: 80px;
}

#guidebody ol ul {
    list-style-type: none!important;
    margin-left: 20px!important;
}

#appchecked {
    display: none;
    margin: 0!important;
}

#addresschecked {
    display: none;
    margin: 0!important;
}


/* 
appears to be not used anymore
.steps {
    color: var(--darkgray);
    font-size: 20px;
} */

.unpw {
    color: var(--darkgray);
    /* font-size: 16px; */
    margin-left: 40px;
}

#unpwhelp {
    margin: 40px 120px 40px 40px;
    padding: 15px;
    background-color: var(--lightergray);
    border: 1px solid var(--gray);
    border-radius: 5px;
}

#inapp {
    min-width: 650px;
}

#Enteredipaddr {
    min-width: 635px;
}

#addrchecked {
    display: none;
}


/*---------------------- addressbar --------------------------*/

#addressbar {
    position: relative;
}

#addressbar div {
    position: absolute;
    top: 50px;
    left: 140px;
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

#addressbar img {
    margin: 0;
    padding: 0;
}


/*---------------------- portmold --------------------------*/

#portmoldarchive {
    display: none;
    max-width: 69%;
}

#displayportmold {
    max-width: 900px;
    overflow-x: scroll;
}

#displayportmold img {
    padding: 0px;
    margin: 0px;
    max-width: none;
    width: auto!important;
}

#displayportmold input {
    padding: 0px;
    margin: 0px;
}

input[name="Enteredipaddr"] {
    width: 200px!important;
}


/*---------------------- nu-spot --------------------------*/

#nu-spot {
    text-decoration: none;
}

#nu-spot div {
    text-align: center;
    margin: 20px 0px 40px 0px;
}

#nu-spot img {
    opacity: 1;
    transition: opacity .5s ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    -webkit-transition: opacity .5s ease-in-out;
}


/*---------------------- navbar --------------------------*/

#logo {}

#logo img {
    border: none;
    width: 100%;
}

#pfnavbar {}

#pfnavbar ul {
    list-style: none;
    margin: 0 5%;
}

#pfnavbar a {
    color: var(--darkgray);
    display: block;
    text-decoration: none;
    font-size: 10pt;
    font-weight: bold;
    font-size: 1em;
}

#pfnavbar a:hover {
    text-decoration: underline;
}

#pfnavbar ul li ul li a {
    font-weight: normal!important;
}


/*---------------------- topcontent --------------------------*/

#top-content h2 {
    color: var(--darkgray);
    text-align: left;
}

#top-content a {
    color: var(--darkorange);
    text-decoration: none;
}

#top-content hr {
    padding: 0px 10px;
}

#top-content blockquote {
    border-left: 5px solid var(--darkorange);
    background-color: var(--lightergray);
    width: 80%;
    padding: 10px;
    margin-left: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

#top-content .answer {
    background-color: var(--lightergray);
    padding: 5px;
    width: 70%;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 3%;
}

#top-content table {
    margin-left: 20px;
    border-collapse: collapse;
}

#top-content th {
    background-color: var(--lightgray);
}

#top-content td {
    background-color: #dddddd;
    padding-left: 20px;
    padding-right: 20px;
}


/*---------------------- game landing --------------------------*/

.game-landing-header img {
    vertical-align: top;
    margin: 10px 0;
}

.game-landing-platform img {
    vertical-align: top;
    margin: 10px 0;
}

.game-landing-header div {
    position: relative;
    display: inline-block;
    max-width: 50%;
    margin: 0px 3%;
}

.game-landing-platform div {
    position: relative;
    display: inline-block;
    max-width: 75%;
    margin: 10px 3%;
}


/*---------------------- game guide --------------------------*/

#gamelinks a {
    line-height: 25px;
}


/*---------------------- static guide customizations ---------*/

.static-tabbed {
    margin-left: 5%;
}

.static-block {
    display: block;
}


/*---------------------- adverts --------------------------*/

#adtext-top-content {
    margin: 8px auto;
    text-align: center;
}

#adtext-middle-content {
    margin: 8px auto;
}

#pfad-rect {
    text-align: center;
    margin-bottom: 20px;
}

#uglypfconfig {
    text-align: center;
}

#uglypfconfig img {
    border-style: none;
    width: 100%;
    max-width: 555px;
}

#sidebar-pfconfig-wrap {
    text-align: center;
}

#sidebar-pfconfig-wrap img {
    border: none;
    width: 90%;
    margin: 10px auto;
}

.softwareblock {
    position: relative;
    margin: 30px 0;
}

.softwareblock div {
    position: relative;
    display: inline-block;
    margin: 10px;
    vertical-align: top;
}

.softwareblock div div {
    position: relative;
    display: block;
    margin-bottom: 10px;
}

.bahsoftwareblock ul {
    border: 1px solid blue;
}

.softwareblocktext {
    width: 60%;
}

.softwareblock .blue {
    color: #0A1B8A;
}

.softwareblock img {
    border: none;
}

#pf-ugly {
    text-align: center;
}

#pf-ugly img {
    border-style: none;
    width: 99%;
    max-width: 500px;
}


/*---------------------- FPA --------------------------*/

#blanket {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background-color: black;
    text-align: center;
}

#pfconfigspot {
    cursor: pointer;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

#pfcspotbuy {
    position: relative;
    top: 413px;
    left: 250px;
}

#clicktoclose {
    position: relative;
    margin-top: 50px;
    left: 290px;
}

#pfcimg {
    width: 800px;
    height: 600px;
    background-color: var(--lightergray);
    background: url(/build/images/pfconfig_800x600_background.png);
}

#paypalbin {
    margin-left: 11px;
}


/*---------------------- author --------------------------*/

#author-info {
    padding: 3%;
    border-radius: 25px;
    background-color: var(--lightergray);
    margin: 20px 0 30px 0;
}

#author-info div {
    display: inline-block;
    margin: 0 3% 0 3%;
    vertical-align: top;
}

#author-info h4 {
    margin: 0 0 10px 0;
}

#author-bio {
    width: 70%;
}


/*---------------------- s page css --------------------------*/

#spage {
    position: absolute;
    top: 51px;
    width: 100%;
    z-index: 10;
    background-color: white;
    display: none;
}


/*----------------------  --------------------------*/

#displayoutput {
    display: none;
}

@media (min-width: 1201px) {
    #bodywrap {
        font-size: 100%;
    }
}


/*---------------------- column data formatting --------------------------*/

#wrapthreecol {
    width: 95%;
    border: 1px solid var(--lightgray);
    margin: 10px 0 20px 15px;
    text-align: center;
}

#wrapthreecol div {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    border-bottom: 1px solid var(--lightgray);
    padding: 10px 0px 10px 20px;
    text-align: left;
}

#wrapthreecol a {
    font-weight: bold;
    color: var(--darkorange);
    text-decoration: none;
    margin: 0;
    padding: 0;
    line-height: 30px;
}

#wrapthreecol a:hover {
    text-decoration: underline;
}

#wrapgenreindex {
    width: 95%;
    border: 1px solid var(--lightgray);
    margin: 10px 0 20px 15px;
    text-align: center;
}

#wrapgenreindex div {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
    border-bottom: 1px solid var(--lightgray);
    padding: 10px 0px 10px 20px;
    text-align: left;
}

#wrapgenreindex a {
    font-weight: bold;
    color: var(--darkorange);
    text-decoration: none;
    margin: 0;
    padding: 0;
    line-height: 30px;
}

#wrapgenreindex a:hover {
    text-decoration: underline;
}

#letterdex a {
    font-weight: bold;
    color: var(--darkorange);
    text-decoration: none;
    font-size: 15px;
    margin-left: 1px;
    margin-right: 1px;
    border: none;
    padding: 0;
    line-height: 40px;
}

#letterdex a:hover {
    text-decoration: underline;
}

#double_column_data {
    float: left;
    width: 95%;
    display: block;
    border: 1px solid var(--lightgray);
    margin: 10px 0 20px 15px;
    text-align: center;
}

#double_column_data div {
    float: left;
    padding: 0 5px;
    padding-bottom: 10px;
    display: block;
    text-align: left;
    width: 45%;
}

#double_column_data div div {
    width: 100%;
    padding: 0;
}

#double_column_data hr {
    clear: left;
    width: 100%;
    max-width: 873px;
}

#double_column_data ul {
    margin-bottom: 20px;
}

#double_column_data li {
    list-style-type: none;
    width: 100%;
}

#double_column_data h2 {
    width: 100%;
    text-align: center;
    margin-bottom: 5px;
}

#double_column_data a {
    padding: 0 48%;
    line-height: 40px;
}

#double_column_data a:hover {
    text-decoration: underline;
}

#double_column_data div div a {
    font-weight: bold;
    color: var(--darkorange);
    text-decoration: none;
    margin: 0;
    padding: 0;
    line-height: 30px;
}

#single_column_data {
    float: left;
    width: 95%;
    display: block;
    border: 1px solid var(--lightgray);
    margin: 20px 0 20px 3%;
}

#single_column_data div {
    width: 100%;
    display: block;
}

#single_column_data a {
    font-weight: bold;
    color: var(--darkorange);
    text-decoration: none;
}

#single_column_data a:hover {
    text-decoration: underline;
}

#letterindex {
    width: 100%!important;
    text-align: center!important;
}

#letterindex a {
    font-weight: bold;
    color: var(--darkorange);
    text-decoration: none;
    font-size: 15px;
    margin-left: 1px;
    margin-right: 1px;
    border: none;
    padding: 0;
    line-height: normal;
}

#letterindex a:hover {
    text-decoration: underline;
}

.cports {
    width: 95%;
    margin: 0 0 7px 10px;
    border: 1px solid var(--lightgray)!important;
    border-collapse: collapse;
}

.cports td {
    color: var(--darkgray);
    height: 40px;
    margin: 0;
    padding: 0 5px;
    text-align: left;
    background-color: white;
    border: 1px solid var(--gray);
}

.cports a {
    display: block;
    font-weight: bold;
    color: #fdc58a !important;
    text-decoration: none;
    cursor: pointer;
}

.cports a:hover {
    text-decoration: underline;
}

.cports tr td:first-child {
    width: 50px;
    padding-left: 15px!important;
    background-color: var(--lightgray)!important;
}

.cports tr:first-child td {
    background-color: var(--gray)!important;
}

.manupasswordstable {
    width: 80%;
    border-collapse: collapse;
}

.manupasswordstable tr td:first-child {
    padding-left: 15px!important;
    background-color: var(--lightgray)!important;
}

.manupasswordstable tr:first-child td {
    background-color: var(--gray)!important;
}

.manupasswordstable td {
    color: var(--darkgray);
    height: 40px;
    margin: 0;
    padding: 0 5px;
    text-align: left;
    background-color: white;
    border: 1px solid var(--gray);
}

#fwdouble_column_data {
    float: left;
    width: 95%;
    display: block;
    border: 1px solid var(--lightgray);
    margin-left: 15px;
}

#fwdouble_column_data div {
    float: left;
    padding: 0 5px;
    padding-bottom: 10px;
    display: block;
    text-align: left;
    width: 47%;
}

#fwdouble_column_data div div {
    width: 100%;
    padding-bottom: 10px;
}

#fwdouble_column_data div div div {
    width: 100%;
    padding: 0;
    margin: 0;
}

#fwdouble_column_data hr {
    clear: left;
    width: 100%;
}

#fwdouble_column_data h3 {
    width: 100%;
    margin-bottom: 5px;
}

#fwdouble_column_data a {
    font-weight: bold;
    color: var(--darkorange);
    text-decoration: none;
}

#fwdouble_column_data a:hover {
    text-decoration: underline;
}


/*---------------------- Mobile --------------------------*/

@media (min-width: 1160px) {}

@media (max-width: 1400px) and (min-width: 1160px) {
    #bodywrap {
        /* font-size: 100%; */
    }
}

@media (max-width: 1160px) and (min-width: 801px) {
    #bodywrap {
        /* font-size: 110%; */
    }
}

@media (max-width: 800px) and (min-width: 641px) {
    #bodywrap {
        font-size: 130%;
    }
    #podiv {
        display: none;
    }
}

@media (max-width: 640px) and (min-width: 1px) {
    #bodywrap {
        font-size: 135%;
    }
    #podiv {
        display: none;
    }
}

@media (max-width: 419px) {
    #pagewrapper {
        width: 100%;
    }
    #bodywrap {
        /* font-size: 60%; */
    }
    #leftcol {
        display: none;
    }
    #sitenav {
        display: block;
    }
    #breadcrumblinks {
        display: none;
    }
    #podiv {
        display: none;
    }
    .game-card-wrap {
        -webkit-columns: 1;
        -moz-columns: 1;
        columns: 1;
        margin-top: 20px;
    }
    .game-card {
        height: 250px;
        padding: 10px 15px;
        margin-bottom: 10px;
    }
}

#pfnuad {
    margin: 50px 120px 50px 40px;
    padding: 15px;
    background-color: var(--lightergray);
    border: 1px solid var(--gray);
    border-radius: 5px;
    min-height: 275px;
}

#pfnuad img {
    margin-right: 20px;
}

pre code {
    border-left: 5px solid var(--lightergray);
    background-color: var(--darkgray);
    color: var(--lightergray);
    font-family: Consolas, monaco, monospace;
    display: block;
    width: 80%;
    padding: 10px;
    margin-left: 20px;
    margin-bottom: 10px;
}


/*---------------------- game cards --------------------------*/

.game-card {
    height: auto;
    min-height: 525px;
    margin-bottom: 30px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 20px 15px 30px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: text-top;
    /* 3 Column */
    width: calc( (100% / 3) - 5px);
}

.game-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 24px;
    min-height: 72px;
}

.game-card-pane {
    height: auto;
    position: initial;
    width: 100%;
    max-width: 100%;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0px 5px 0px rgba(0, 0, 0, 0.24);
}

.game-card-pane div {
    height: 250px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.game-card-pane p {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 24px;
    margin-left: 0;
    text-align: justify;
    margin: 10px 2px 2px 2px;
    padding: 10px 15px;
}

.game-card a {
    color: #666666!important;
}

@media only screen and (max-width: 899px) {
    .game-card {
        width: calc( (100% / 2) - 5px) !important;
    }
}

@media only screen and (max-width: 599px) {
    .game-card {
        width: 100%!important;
    }
}


/*---------------------- controlbtn and dataentry --------------------------*/

.controlbtn {
    font-weight: bold;
    border: 1px solid var(--gray);
    border-bottom: 0px;
    text-align: center;
    padding: 8px 5px 8px 5px;
    cursor: pointer;
    background-color: rgba(150, 150, 150, .6);
}

.controlbtn:hover {
    background-color: rgba(150, 150, 150, .3);
}

.dataentry {
    width: 80%;
}

.dataentry table {
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
}

.dataentry td {
    padding: 5px;
    border: 1px solid var(--gray);
}

.dataentry td input {
    min-width: 400px;
}

.dataentry textarea {
    width: 100%;
    margin: 5px auto;
}

.dataentry h2 {
    margin: 5px;
    color: var(--lightorange);
}