/*---------------------------------------------*/
/* Basic Styles
/*---------------------------------------------*/
html,
body {
    margin: 0;
    font-size: 105%;
    font-family: 'Ideal Sans SSm A', 'Ideal Sans SSm B';
    line-height: 165%;
    background: #fff;
}

p {
    margin: 0;
    padding: 0 0 23px 0;
    font-size: 0.78em;
    line-height: 1.45em;
}

p a {
    font-weight: 700;
    color: #000;
}

p a:hover {
    color: #39f;
}

#site {
    position: relative;
    max-width: 1170px;
    margin: 10px auto 0 auto;
    padding: 10px;
    overflow: hidden;
}

.section {
    overflow: hidden;
}

img {
    border: none;
}

.mobile-show {
    display: none;
}

/* Captions */
.aligncenter,
div.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    border: 1px solid #ddd;
    text-align: center;
    background-color: #f3f3f3;
    padding-top: 4px;
    margin: 10px auto 30px auto;
    border-radius: 3px;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    padding: 0 4px 5px;
}

/* End captions */

/*---------------------------------------------*/
/* Header
/*---------------------------------------------*/
#header {
    overflow: hidden;
}

#header h1 {
    height: 220px;
    margin: 0;
}

#header h1 a {
    width: 106px;
    height: 171px;
    margin: 18px 0 0;
    font-size: 0.01em;
    text-indent: -99999px;
    text-decoration: none;
    overflow: hidden;
    background: transparent url('../images/FOP_logo_standard.png') no-repeat 0 0;
    position: absolute;
}

#nav {
    margin: 0px 0px 20px 0px;
    border-color: #666;
    border-width: 0 0 1px 0;
    border-style: solid;
    display: flex;
    justify-content: space-between;
}

.post-type-archive-poster #nav {
    margin: 0;
}

#nav ul {
    margin: 0;
    padding: 12px 15px 10px 5px;
    list-style: none;
    border: 0;
    order: 0;
    min-width: max-content;
}

#nav li {
    display: inline;
    padding: 0px 21px 0px 0px;
    text-align: center;
}

#nav li a {
    font-family: "Knockout 30 A", "Knockout 30 B";
    font-size: 1.3rem;
    color: #333;
    text-decoration: none;
    line-height: 20px;
}

#nav li a:hover {
    color: #39f;
}

#nav li a.active {
    color: #333;
}

#nav-icons {
    padding: 10px 0;
    height: 28px;
    order: 1;
    min-width: max-content;
}

#nav-icons li {
    display: inline-block;
    padding: 0 4px;
}

#nav-icons li a {
    height: 28px;
    width: 28px;
    display: block;
}

#nav-twitter {
    background: transparent url('../images/twitter.png') no-repeat 0 0;
}

#nav-facebook {
    background: transparent url('../images/facebook.png') no-repeat 0 0;
}

#nav-instagram {
    background: transparent url('../images/instagram.png') no-repeat 0 0;
}

#nav-rss {
    background: transparent url('../images/rss.png') no-repeat 0 0;
}

#search {
    border-width: 0px;
    order: 2;
    align-self: center;
}

#search fieldset {
    margin: 0;
    padding: 0;
    border: none;
    display: flex;
    flex-flow: row wrap;
}

#search legend {
    display: none;
}

#search label {
    display: none;
    visibility: hidden;
}

#search input {
    height: 13px;
    margin: 3px 5px 0px 0px;
    padding: 4px 5px;
    font-size: 14px;
    color: #494949;
    border: 0px;
    background-color: #f2f2f2;
}

#search input#submit {
    width: 20px;
    height: 20px;
    margin: 4px 10px 4px 0px;
    text-indent: -999999px;
    overflow: hidden;
    cursor: pointer;
    background: transparent url('../images/search_icon.svg') no-repeat center;
}

#search input#search-query {
    border: 1px solid #a1a1a1;
    flex: 1;
}

#search select {
    margin: 5px 0px 0px 5px;
    padding: 0px 0px 0px 6px;
    height: 20px;
    width: 165px;
    border: none;
    font-family: "Knockout 30 A", "Knockout 30 B";
    font-size: 16px;
    color: #000;
}

#search option {
    padding: 2px;
}

h1#search-results {
    margin: 17px 25px 27px 0px;
    font-weight: 400;
    font-size: 24px;
    width: 100%;
}

h1.search-results-error {
    margin: 17px 25px 7px 0px;
    font-family: 'Knockout 30 A', 'Knockout 30 B';
    font-weight: 400;
    font-size: 24px;
}

p.search-results-error {
    width: 700px;
    padding: 0px 0px 50px 0px;
}

/*---------------------------------------------*/
/* Misc
/*---------------------------------------------*/
#contact-content {
    padding-top: 15px;
    max-width: 700px;
}

#contact-content h2 {
    margin: 0;
    padding: 0px 0px 15px 0px;
    font-family: 'Knockout 30 A', 'Knockout 30 B';
    font-weight: 400;
    font-size: 26px;
}

.right-column-about h3 {
    margin: 0;
    padding: 0px 10px 15px 0px;
    font-family: 'Knockout 30 A', 'Knockout 30 B';
    font-weight: 400;
    font-size: 22px;
}

#comments {
    font-family: Arial, Helvetica, sans-serif;
}

#comments p {
    padding: 0 0 30px 0;
}

/*---------------------------------------------*/
/* Article
/*---------------------------------------------*/
.article {
    display: flex;
    flex-flow: row wrap;
    padding: 17px 0 0 0;
}

.article-content {
    display: flex;
    flex-wrap: wrap;
    padding: 0px 0px 40px 0px;
}

.left-column {
    width: 500px;
    padding: 15px 52px 33px 0px;
}

.left-column-about h1 {
    font-family: 'Knockout 30 A', 'Knockout 30 B';
    font-weight: 400;
    font-size: 26px;
    margin-top: 0;
}

.left-column-about {
    /* float: left; */
    /* width: 660px; */
    /* padding: 15px 26px 33px 0px; */
}

.right-column {
    flex: 1 0 0;
    padding: 15px 0px 50px 0px;
}

.right-column-about {
    float: left;
    width: 200px;
    padding: 15px 0px 10px 0px;
}

.right-column-about h1 {
    font-family: 'Knockout 30 A', 'Knockout 30 B';
    font-weight: 400;
    font-size: 26px;
}

.left-column h2,
.left-column-about h2,
.right-column h2,
.right-column-about h2,
.right-column-about h3 {
    margin: 0;
    padding: 0px 0px 15px 0px;
    font-family: 'Knockout 30 A', 'Knockout 30 B';
    font-weight: 400;
    font-size: 22px;
}

.left-column img,
.left-column-about img {
    margin-bottom: 15px;
}

.full-column {
    width: 580px;
    padding: 15px 0px 10px 74px;
}

.full-column h4 {
    font-family: 'Knockout 30 A', 'Knockout 30 B';
    font-size: 22px;
}


.article h1 {
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 75px;
    font-family: 'Knockout 30 A', 'Knockout 30 B';
    font-weight: 400;
    font-size: 26px;
}

.article h1 a {
    color: #000;
    text-decoration: none;
}

.article h1 a:hover {
    color: #39f;
}

.article h2 {
    position: absolute;
    margin: 0px 0px 0px 0px;
    padding: 3px 0px 0px 0px;
    font-family: 'Knockout 30 A', 'Knockout 30 B';
    font-weight: 400;
    font-size: 18px;
    color: #333;
}

.gallery ul {
    margin: 5px 0 0 0;
    padding: 6px 0;
    list-style: none;
    display: flex;
    flex-flow: row wrap;
    justify-content: start;
}

.gallery li {
    width: 64px;
    padding: 10px 2px;
    border-top: 1px solid #9c9996;
}

.gallery li a {
    display: block;
    height: 88px;
}

#poster-gallery {
    font-family: 'Knockout 30 A', 'Knockout 30 B';
    font-size: 20px;
}

#poster-gallery a {
    color: #333;
}

#poster-gallery a:hover {
    color: #39f;
}

.gallery h3 {
    margin: 0;
    padding: 0px 0px 10px 0px;
    font-family: 'Knockout 30 A', 'Knockout 30 B';
    font-weight: 400;
    font-size: 20px;
}

.gallery h4 {
    float: left;
    width: 37px;
    margin: 0 6px 0 0;
    padding: 11px 0px 0px 0px;
    font-size: 12px;
}

.gallery .instructions {
    color: #333;
    padding-bottom: 5px;
}

.info {
    padding: 22px 0 22px 0;
}

dl.detail {
    margin: 0;
    padding: 0px 0px 5px 0px;
    font-family: 'Knockout 30 A', 'Knockout 30 B';
    font-size: 20px;
    display: flex;
    flex-flow: row wrap;
}

dl.detail dt {
    padding: 0 4px 0 0;
    flex: 1;
}

dl.detail dd {
    margin: 0;
    flex: 2;
}

dl.detail dd a {
    color: #333;
    text-decoration: none;
}

dl.detail dd a:hover {
    color: #39f;
}

dl.newgroup {
    padding-top: 22px;
}

.article-footer {
    width: 100%;
    padding: 13px 0px 13px 0px;
    border-width: 1px 0;
    border-style: solid;
    border-color: #929292;
    font-family: 'Knockout 30 A', 'Knockout 30 B';
    font-size: 18px;
}

.article-footer dl {
    margin: 0;
}

.article-footer dl a {
    color: #000;
}

.article-footer dl a:hover {
    color: #39f;
}

.article-footer dt {
    display: none;
}

.article-footer .exposed {
    display: inline;
}

.article-footer dd {
    display: inline;
    margin: 0;
    padding: 0 42px 0 0;
    background: transparent url('../images/test/FOP_spacer_001.jpg') no-repeat 100% 6px;
}

.article-footer dd.last {
    background: transparent;
}

#pagination {
    padding: 11px 0 11px 0;
    width: 100%;
    font-family: 'Knockout 30 A', 'Knockout 30 B';
}

ul#pagination,
#pagination ul {
    margin: 0;
    list-style: none;
    display: flex;
}

#pagination ul {
    padding: 0;
}

#pagination li a {
    display: block;
    width: 128px;
    height: 34px;
    font-size: 15px;
    text-decoration: none;
    background-color: #6C6C6C;
    color: white;
    line-height: 34px;
    text-align: center;
}

#pagination li#older,
#pagination li#next {
    margin-left: auto;
}

#pagination li#newer a:before,
#pagination li#previous a:before {
    content: "\25C0";
    font-size: 10px;
    margin-right: 5px;
}

#pagination li#older a:after,
#pagination li#next a:after {
    content: "\25B6";
    font-size: 10px;
    margin-left: 5px;
}

#pagination li#previous a {
    width: 149px;
}

#site #pagination li a:hover {
    background-color: #39f;
    color: white;
}

blockquote {
    background: #f2f2f2;
    border-left: 10px solid #f2f2f2;
    margin: 1.5em 10px;
    padding: .5em 10px;
    quotes: "\201C""\201D""\2018""\2019";
}

blockquote:before {
    color: #ccc;
    content: open-quote;
    font-size: 4em;
    line-height: .1em;
    margin-right: .25em;
    vertical-align: -.4em;
}

blockquote p {
    display: inline;
}


/*---------------------------------------------*/
/* Footer
/*---------------------------------------------*/
#footer {
    padding: 26px 0 0 0;
    border-width: 1px 0 0 0;
    border-style: solid;
    border-color: #929292;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

#footer h2 {
    margin: 0;
    padding: 0 0 13px 0;
    font-family: 'Knockout 30 A', 'Knockout 30 B';
    font-weight: 400;
    font-size: 20px;
}

#footer ul {
    margin: 0;
    padding: 0;
    list-style: none;

}

#footer li {
    padding: 0 0 9px 0;
    font-size: 14px;
}

#footer li a {
    color: #000;
    text-decoration: none;
}

#footer li a:hover {
    color: #666;
}

#footer #latest-additions {
    flex: 1 0 0;
    padding: 0 30px 30px 0;
}

#footer #twitter {
    flex: 1 0 0;
    padding: 0 30px 30px 0;
}

#footer #about {
    flex: 2 0 0;
    padding: 0 0 30px 0;
}

/*---------------------------------------------*/
/* Lightbox
/*---------------------------------------------*/
#sb-title-inner,
#sb-info-inner,
#sb-loading-inner,
div.sb-message {
    font-family: 'Knockout 30 A', 'Knockout 30 B';
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    color: #fff;
}

#sb-container {
    position: fixed;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    z-index: 999;
    text-align: left;
    visibility: hidden;
    display: none;
}

#sb-overlay {
    position: relative;
    height: 100%;
    width: 100%;
}

#sb-wrapper {
    position: absolute;
    visibility: hidden;
    width: 100px;
}

#sb-wrapper-inner {
    position: relative;
    overflow: hidden;
    height: 100px;
}

#sb-body {
    position: relative;
    height: 100%;
    overflow: visible;
    margin: 0 34px 0 34px;
}

#sb-body-inner {
    position: absolute;
    height: 100%;
    width: 100%;
}

#sb-player.html {
    height: 100%;
    overflow: auto;
}

#sb-body img {
    border: none;
}

#sb-loading {
    position: relative;
    height: 100%;
}

#sb-loading-inner {
    position: absolute;
    line-height: 24px;
    height: 24px;
    top: 50%;
    margin-top: -12px;
    width: 100%;
    text-align: center;
}

#sb-loading-inner span {
    background: url("../images/global-lightbox-loading.gif") no-repeat;
    padding-left: 34px;
    display: inline-block;
}

#sb-body,
#sb-loading {
    background-color: #060606;
}

#sb-title,
#sb-info {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#sb-title {
    display: none;
}

#sb-title,
#sb-title-inner {
    height: 26px;
    line-height: 26px;
}

#sb-title-inner {
    font-size: 16px;
}

#sb-info,
#sb-info-inner {
    height: 20px;
    line-height: 20px;
}

#sb-info-inner {
    font-size: 12px;
}

#sb-nav {
    float: right;
    height: 16px;
    padding: 2px 0;
    width: 45%;
}

#sb-nav a {
    display: block;
    float: right;
    height: 16px;
    width: 16px;
    margin-left: 3px;
    cursor: pointer;
    background-repeat: no-repeat;
}

#sb-counter {
    float: left;
    width: 45%;
    display: none;
}

#sb-counter a {
    padding: 0 4px 0 0;
    text-decoration: none;
    cursor: pointer;
    color: #fff;
}

#sb-counter a.sb-counter-current {
    text-decoration: underline;
}

div.sb-message {
    font-size: 18px;
    padding: 10px;
    text-align: center;
}

div.sb-message a:link,
div.sb-message a:visited {
    color: #fff;
    text-decoration: underline;
}

#sb-nav-inner {
    margin-top: -55px;
}

a#sb-nav-close {
    position: absolute;
    top: 0;
    right: -16px;
    width: 50px;
    height: 50px;
    margin: 0 0 4px 0;
    padding: 0;
    text-indent: -99999px;
    overflow: hidden;
    font-size: 0.01em;
    background: transparent url("../images/close.png") no-repeat 0 0/50px 50px;
}

a#sb-nav-next {
    position: absolute;
    top: 50%;
    right: -16px;
    display: block;
    width: 50px;
    height: 50px;
    margin: 0 0 4px 0;
    padding: 0;
    text-indent: -99999px;
    overflow: hidden;
    font-size: 0.01em;
    background: transparent url("../images/right_arrow.png") no-repeat 0 0/50px 50px;
}

a#sb-nav-previous {
    position: absolute;
    top: 50%;
    left: -16px;
    display: block;
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0;
    text-indent: -99999px;
    overflow: hidden;
    font-size: 0.01em;
    background: transparent url("../images/left_arrow.png") no-repeat 0 0/50px 50px;
}

#sb-nav-inner a:hover {
    background-position: 0 -34px;
}

#swipebox-title {
    display: none;
    visibility: hidden;
}

#swipebox-slider .slide {
    padding: 50px 0;
    box-sizing: border-box;
}

#poster-filters form {
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
    border-block: 1px solid black;
    height: 203px;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    overflow: hidden;
    background-color: #eee;
    padding: 20px 2% 5px;
}

#poster-filters.closed form {
    height: 0;
    padding: 0 2%;
}

.filter-field {
    display: flex;
    flex-direction: column;
    width: 24%;
    font-size: 13px;
    padding: 5px 0;
}

.filter-field input {
    line-height: 24px;
    color: #444;
    padding: 5px 0 5px 8px;
    background-color: #fff;
    border: 1px solid #000;
    font: 400 13px Arial;
}

#poster-filters input[type="submit"],
#poster-filters .reset {
    width: 150px;
    margin: 15px 0;
    padding: 10px 0;
    cursor: pointer;
    font: 400 13px 'Ideal Sans SSm A', 'Ideal Sans SSm B';
    border-style: solid;
}

#poster-filters input[type="submit"] {
    color: #fff;
    background-color: #1D70B8;
    border-color: #1D70B8;
    text-shadow: white 0 0 1px;
}

#poster-filters input[type="submit"]:hover,
#poster-filters .reset:hover {
    background-color: #5897FB;
    border-color: #5897FB;
    color: #fff;
}

.filter-field .select2-container--default .select2-selection--single {
    border: 1px solid #000;
    border-radius: 0;
}

.select2-results__option {
    font-size: 13px;
    line-height: 135%;
}

.filter-field .selection {
    font: 400 13px Arial;
}

.filter-drawer-handle {
    background-color: #626A6E;
    color: white;
    padding: 5px 10px;
    font-size: 13px;
    cursor: pointer;
}

.filter-drawer-handle::before {
    content: "▲";
    margin-right: 0.5em;
}

#poster-filters.closed .filter-drawer-handle::before {
    content: "▼";
    margin-right: 0.5em;
}

/* Retina displays
-------------------------------------------------------------- */
@media only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {

    #header h1 a {
        background-image: url('../images/FOP_logo_retina.png');
        background-size: 106px 171px;
    }

    #nav-icons li a {
        background-size: 28px 28px;
    }

    #nav-twitter {
        background: transparent url('../images/twitter_2x.png') no-repeat 0 0;
    }

    #nav-facebook {
        background: transparent url('../images/facebook_2x.png') no-repeat 0 0;
    }

    #nav-rss {
        background: transparent url('../images/rss_2x.png') no-repeat 0 0;
    }

    a#sb-nav-close {
        background: transparent url("../images/close@2x.png") no-repeat 0 0/50px 50px;
    }

    a#sb-nav-next {
        background: transparent url("../images/right_arrow@2x.png") no-repeat 0 0/50px 50px;
    }

    a#sb-nav-previous {
        background: transparent url("../images/left_arrow@2x.png") no-repeat 0 0/50px 50px;
    }

}


/* Smartphones (portrait and landscape) ----------- */
@media only screen and (max-width : 480px) {
    .mobile-hide {
        display: none;
    }

    .mobile-show {
        display: block;
    }

    #site {
        margin: 0;
    }

    .left-column,
    .left-column-about {
        flex-flow: row wrap;
        width: 100%;
        display: flex;
        align-content: stretch;
    }

    .left-column a {
        max-width: 50%;
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .left-column img,
    .left-column-about img {
        flex-shrink: 1;
        width: 100%;
        height: auto;
        align-self: flex-start;
    }

    .right-column,
    .left-column,
    .left-column-about,
    .right-column-about {
        padding: 15px 0;
    }

    .left-column h2,
    .left-column-about h2,
    .right-column h2,
    .right-column-about h2 .right-column-about h3 {
        width: 100%;
    }

    .left-column-about p,
    .right-column-about p {
        width: 100%;
    }

    #header {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        align-items: baseline;
    }

    #header>h1 {
        order: 1;
        height: 145px;
    }

    #header>h1 a {
        background-size: 90px auto;
        width: 90px;
        height: 145px;
        margin: 0;
    }

    #nav {
        order: 3;
        flex-flow: column nowrap;
        width: 100%;
        margin: 10px 0 0;
    }

    #nav>ul:nth-child(1) {
        order: 2;
        display: flex;
        flex-flow: row wrap;
        padding: 0;
        justify-content: space-between;
    }

    #nav>ul:nth-child(1)>li {
        padding: 0;
    }

    #nav li a {
        font-size: 1.1rem;
    }

    #nav-icons li {
        padding: 0 2px;
    }

    #search {
        order: 3;
        width: 100%;
    }

    #search input {
        margin: 5px 5px 15px 0;
    }

    #search select {
        padding: 0;
        width: auto;
        flex: 1;
        margin: 5px 0;
    }

    h1#search-results {
        margin: 0 0 10px;
    }

    #footer #latest-additions,
    #footer #twitter,
    #footer #about {
        flex: 100%;
        padding: 0 0 20px 0;
    }

    .full-column {
        width: 100%;
        padding: 15px 0;
    }

    .article {
        flex-flow: column;
    }

    .article h1 {
        order: 2;
        padding: 0;
    }

    .article h2 {
        order: 1;
        position: relative;
    }

    .article .article-content {
        order: 3;
    }

    .article-footer dl {
        display: flex;
        flex-flow: row wrap;
    }

    .article-footer dt {
        width: 30%;
    }

    .article-footer dd {
        background: none;
        padding: 0;
        width: 70%;
    }

    .article-footer dd:nth-child(2) {
        display: none;
    }

    .wp-caption {
        width: 100% !important;
    }

    .wp-caption img,
    .full-column img {
        width: 100%;
        height: auto;
    }

    .filter-field {
        width: 100%;
        flex-grow: 1;
        box-sizing: border-box;
    }

    .filter-field .select2-container {
        width: 100% !important;
    }

    #poster-filters form {
        height: 600px;
    }
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-width : 768px) and (max-width : 1024px) {

    /* Styles */
    .left-column {
        flex: auto 0 0;
    }

    .right-column {
        flex: 1 0 0;
    }

    dl.detail dt,
    dl.detail dd {
        flex: 100%;
    }

    #nav {
        align-items: center;
    }

    #search select {
        margin: 5px 0;
        padding: 0;
        flex: 100%;
    }
}