/*
 * @(#) pwall.css
 */

@media (max-device-width: 640px) { /* hand-held devices */

    FOOTER {
        display: flex;
        flex-direction: column;
    }

    #mobile-head {
        display: block;
        font-size: 18pt;
        font-weight: bold;
        padding: 4px;
        background-color: #FFE880;
        background-image: url("/images/bgtop3.jpg");
        color: #2A1F55;
        text-align: center;
        width: 100%;
    }

/*     #header-panel { */
/*         display: none; */
/*     } */

/*     #main-panel { */
/*         width: 100%; */
/*     } */

    #left-col {
/*         display: none; */
/*         width: 100%; */
        text-align: center;
        padding: 10px 0;
    }

    #middle-col {
/*         display: block; */
/*         width: 100%; */
        padding: 0;
    }

    #clock-holder {
        display: none;
    }

/*     #right-col { */
/*         display: none; */
/*         width: 100%; */
/*     } */

    .panel-show {
        float: left;
        display: block;
        width: 100%;
/*         -webkit-transition: width 0.2s linear; */
/*         -moz-transition: width 0.2s linear; */
/*         -o-transition: width 0.2s linear; */
/*         -ms-transition: width 0.2s linear; */
/*         transition: width 0.2s linear; */
    }

    .panel-hide {
        float: left;
        display: none;
        width: 100%;
/*         width: 0; */
/*         overflow: hidden; */
/*         -webkit-transition: width 0.2s linear; */
/*         -moz-transition: width 0.2s linear; */
/*         -o-transition: width 0.2s linear; */
/*         -ms-transition: width 0.2s linear; */
/*         transition: width 0.2s linear; */
    }

    .tab-bar {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-evenly;
        align-items: baseline;
        width: 100%;
        height: 35px;
        background-color: #FFE880;
        background-image: url("/images/bgtop3.jpg");
        color: #2A1F55;
        text-align: center;
    }

    .tab-button {
        position: relative;
        background-color: #24248F;
        color: #D1E7FF;
        font-size: 10pt;
        font-weight: bold;
        border-radius: 8px;
        -moz-border-radius: 8px;
        margin: 4px;
        padding: 4px 8px;
        text-align: center;
    }

    .tab-button-clickable {
        position: absolute;
        width: 100%;
        height: 60px;
        cursor: pointer;
        z-index: 100;
        transform: translate(-8px, -22px);
    }

    .std-top {
        width: 100%;
    }

    .page-head {
        font-size: 12pt;
        font-weight: bold;
        padding: 4px;
    }

    .site-name {
        display: none;
    }

    .main-image {
        width: 100%;
        max-width: 100%;
    }

    .para-head {
        padding-left: 2px;
        padding-right: 2px;
    }

    .para {
        padding-left: 2px;
        padding-right: 2px;
    }

    .html-logo {
        display: none;
    }

    .copyright-block {
        display: flex;
        flex-direction: row;
        justify-content: center;
        padding: 0;
        text-align: center;
        width: 100%;
        font-size: 9pt;
        cursor: pointer;
    }

    .copyright-line {
        padding: 2px;
    }

    .footer-panel {
        width: 100%;
/*         overflow: hidden; */
        height: 54px;
    }

    .last-mod {
        font-size: 10pt;
        float: left;
        padding: 12px 0 12px 10px;
    }

    .black-border {
        padding: 4px;
        border: solid 8px black;
        margin: 4px 0;
    }

    .body-button-row {
        justify-content: center;
    }

}

@media (min-device-width: 641px) { /* full-size screen */

    BODY {
        background-image: url("/images/bg960c.gif");
        background-repeat: repeat-y;
    }

    FOOTER {
        display: flex;
        flex-direction: row;
    }

    #mobile-head {
        display: none;
    }

    #header-panel {
        display: block;
    }

    #main-panel {
        width: 960px;
    }

    #left-col {
        display: block;
        width: 188px;
        float: left;
        padding: 10px 4px;
    }

    #middle-col {
        display: block;
        width: 480px;
        padding: 9px 9px 2px;
        float: left;
    }

    #clock-holder {
        display: block;
    }

    #right-col {
        display: block;
        width: 264px;
        float: left;
        padding-left: 1px;
        padding-right: 1px;
    }

    .tab-bar {
        display: none;
    }

    .tab-button {
        display: none;
    }

    .std-top {
        width: 960px;
    }

    .page-head {
        font-size: 18pt;
        font-weight: bold;
        padding: 10px;
    }

    .site-name {
        display: inline;
    }

    .main-image {
        width: 480px;
        max-width: 480px;
    }

    .html-logo {
        display: block;
    }

    .copyright-block {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 0;
        text-align: center;
        width: 128px;
        height: 68px;
        margin-right: 5px;
        font-size: 10pt;
        cursor: pointer;
    }

    .footer-panel {
        width: 343px;
        height: 58px;
        padding: 4px 0 0 4px;
    }

    .nav-button {
        margin-top: 6px;
    }

    .last-mod {
        font-size: 10pt;
        padding: 10px 0 0 10px;
    }

    .black-border {
        padding: 36px;
        border: solid 36px black;
        margin: 6px 0;
    }

}

.footer-panel {
    display: flex;
    flex-direction: row;
}

BODY {
    border: 0 none;
    margin: 0;
    font-family: "Roboto Sans","Droid Sans",FreeSans,Helvetica,Arial,sans-serif;
}

FORM {
    border: 0 none;
    margin: 0;
}

IMG {
    border: 0 none;
}

A {
    text-decoration: none;
}

A:hover {
    text-decoration: underline;
}

CODE {
/*    font-family: "Roboto Mono","Droid Mono",FreeMono,Consolas,monospace; */
    font-family: monospace;
/*    background-color: #EEEEEE; */
/*    background-color: #D3E1E4; */
/*    background-color: #D1E7FF; */
    background-color: #E4E4E4;
}

PRE {
    margin: 0px;
}

.std-top {
    background-color: #FFE880;
    background-image: url("/images/bgtop3.jpg");
    color: #2A1F55;
    height: 48px;
}

.top-right {
    float: right;
    font-size: 11pt;
    font-weight: bold;
    padding: 7px 12px 0 0;
}

#left-col {
    background-color: #141450;
    color: #D1E7FF;
}

#right-col {
    background-color: #D1E7FF;
    color: #2A1F55;
    text-align: center;
    padding-bottom: 1px;
}

.left-head {
    font-size: 12pt;
    font-weight: bold;
    padding-left: 12px;
    text-align: left;
}

.left-item {
    background-color: #24248F;
    font-size: 11pt;
    font-weight: bold;
    border-radius: 8px;
    -moz-border-radius: 8px;
    margin: 6px 0;
    padding: 6px 4px;
    text-align: center;
    cursor: pointer;
}

.left-item:hover {
    background-color: #2F2FBF;
}

.left-item:active {
    background-color: #3333CC;
}

.para-head {
    font-size: 14pt;
    font-weight: bold;
    color: #2A1F55;
    padding-top: 6px;
    padding-bottom: 4px;
}

.para {
    font-size: 11pt;
    line-height: 1.2;
    padding-top: 6px;
    padding-bottom: 12px;
}

.inset-para {
    font-size: 11pt;
    padding: 2px 10px 8px;
}

.main-image {
}

.button-head {
    background-color: #A6CAF0;
    padding: 2px;
    color: #2A1F55;
    font-size: 10pt;
    font-weight: bold;
    margin: 4px 2px 2px;
}

.button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    font-weight: bold;
    color: #2A1F55;
    cursor: pointer;
    margin: 2px;
    background-color: #A6CAF0;
    border-radius: 9px;
    -moz-border-radius: 9px;
}

.button-item {
    text-align: center;
    padding: 0 2px 1px;
}

.body-button-row {
    display: flex;
    flex-flow: row-reverse wrap;
    align-items: right;
}

.nav-button {
    padding-top: 6px;
    height: 44px;
    width: 50px;
}

.button:hover {
    background-color: #92BFF0;
}

.button:active {
    background-color: #7FB5F0;
}

.button-row {
    height: 64px;
    margin: 2px 0;
    display: flex;
    flex-direction: row;
}

.button-notes {
    font-size: 10pt;
    margin: 4px;
}

.palebg {
    color: #2A1F55;
    background-color: #D1E7FF;
}

A.blink {
    color: #2A1F55;
    text-decoration: none;
}

A.blink:visited {
    color: #2A1F55;
    text-decoration: none;
}

A.tlink {
    color: #2A1F55;
    text-decoration: none;
}

A.tlink:visited {
    color: #2A1F55;
    text-decoration: none;
}

A.tlink:hover {
    color: #2A1F55;
    text-decoration: underline;
}

A.llink {
    color: #D1E7FF;
    text-decoration: none;
}

A.llink:visited {
    color: #D1E7FF;
    text-decoration: none;
}

A.plink {
    color: #D1E7FF;
    text-decoration: none;
}

A.plink:visited {
    color: #D1E7FF;
    text-decoration: none;
}

A.xlink {
    background: url("/images/off.png") no-repeat scroll right center transparent;
    padding-right: 12px;
}

/* Clocks */

#clock-blocks {
    /* height: 88px; */
    display: none;
}

.pwall-clock-block {
    color: #2A1F55;
    width: 76px;
    height: 76px;
    border: 2px solid white;
    float: left;
    text-align: center;
}

.pwall-clock-city {
    background-color: #A6CAF0;
    border-bottom: 1px solid white;
    font-size: 9pt;
    font-weight: bold;
    padding: 1px;
}

.pwall-clock-date {
    background-color: #D1E7FF;
    font-size: 8pt;
    padding: 2px 6px 0;
}

.pwall-clock-day {
    background-color: #D1E7FF;
    border-bottom: 1px solid white;
    font-size: 8pt;
    padding: 0 0 2px;
}

.pwall-clock-time {
    background-color: #D1E7FF;
    font-size: 16pt;
    padding-top: 2px;
}
