﻿/* Style sheet for Public Master */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family:'Helvetica', 'Lucida Grande', 'Lucida Sans', 'Trebuchet MS', Arial, sans-serif;
	vertical-align: baseline;
}

html, form, body {
    min-height: 100%;
}

body.pub {
    background-image: linear-gradient(to top right, darkseagreen, mintcream) !important;
    background-attachment:fixed;
}

    body.priv {
        background-color: #009999;
        background-image: linear-gradient(to top right, #009999, #00E0E0);
        background-attachment: fixed;
    }

    body.adm {
        background-color: #009999;
        background-image: linear-gradient(to top right, DarkViolet, HotPink);
        background-attachment: fixed;
    }

    h1 {
        font-size: 175%;
        padding: 0.1em;
        margin: 0.1em;
    }

#ContentHolder {
    box-sizing: border-box;
    padding-left: 1em;
    padding-right: 1em;
    padding-bottom: 2em;
    margin: 0 auto;
    overflow-y: auto;
    overflow-x: hidden;
    color: black;
    position:relative;
    flex: 1 1 auto;
}

#TitHolder {
    width: 100%;
    z-index: 1;
    background-color: mintcream;
    flex: 0 0 5%;
    padding: 6px 10%;
    margin-bottom: 0.2em;
    text-align: center;
    box-sizing: border-box;
}

#RetHolder {
    border-style: solid;
    border-width: 1px;
    border-color: #330000;
    padding: 0.1em;
    overflow: hidden;
    margin-right: 0.15em;
}


#BottomContainer, #BotHolder {
    background-color: ghostwhite;
    line-height: 1.25;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.5em;
    width: 100%;
    overflow: hidden;
}

#BottomContainer {
    justify-content: space-between;
    flex: 0 0 auto;
}

#BotHolder {
    justify-content: flex-start;
    flex: 0 0 auto;
    min-height: 1em;
}

    #BotHolder > * {
        padding: 0 0.2em;
        border: 1px solid ghostwhite;
    }

        #BotHolder > *:focus > img {
            /*padding: 0 0.2em;*/
            border: 1px solid red;
        }

    #BottomContainer > *::after {
        padding: 0.5em;
    }

    #BottomContainer > *:focus {
        background-color: darkolivegreen;
        color: mintcream;
    }
    .closebutton:focus {
        font-weight: bold;
        color: yellow;
        background-color: black;
    }
.closebutton:hover {
    font-weight: bold;
}

#flxcols {
    display: flex;
    flex-direction: row;
    flex: 1 1 auto;
    max-height: 90%;
    min-height: 80%;
    box-sizing:border-box;
}

#flxrows {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: absolute;
}

#MenuHolder-Open, #MenuHolder-Close {
    position: relative;
}

    #BottomContainer > *::after {
        padding: 6px;
        content: "|";
    }

    #restoffooter::after {
        content:unset;
    }

.closelabel {
    position:absolute;
    bottom:0;
    font-weight: bold;
    border: 1px solid black;
    border-radius: 3px;
    padding: 2px;
    margin-bottom: 6px;
    background-color: orange;
}

.seal {
    color: #000000;
    text-decoration: none;
    font: bold 7px verdana,sans-serif;
    letter-spacing: .5px;
    text-align: center;
    margin: 0px;
    padding: 0px;
}

.card {
    vertical-align: middle;
    border: 0;
}

.nolink {
    text-decoration: none;
}

.menutoggler {
    display: none;
}

.panel * {
    display: block;
    border: ridge 2px black;
    text-align: center;
    text-decoration: none;
    background-color: darkolivegreen;
    color: mintcream;
}

    .panel a:hover, .panel a:focus {
        background-color: mintcream;
        color: darkolivegreen;
    }

.TitleStyle {
    font-style: italic;
    color: blue;
    letter-spacing: 0.25em;
    font-weight: bolder;
}

    .TitleStyle:focus {
        font-weight: bold;
        background-color: darkolivegreen;
        color: lightblue;
    }

.cornerbox {
    position: fixed;
    z-index: 1;
    border-radius: 3px;
    overflow: hidden;
    box-sizing: border-box;
    background-color: yellow;
    height: 0;
    width: 0;
    bottom: 0;
    opacity: 0;
    display: none;
    transition: opacity 0.8s ease;
    -webkit-transition: opacity 0.8s ease;
}

    .toggler {
        visibility: hidden;
    }

    .toggler:focus, .toggler:hover {
        visibility:hidden;
    }

        .toggler:checked + .cornerbox {
            display: block;
            height: auto;
            width: 100%;
            opacity: 1;
            padding: 3px;
            box-shadow: 10px 10px 5px darkslategrey;
            border: 1px groove #000000;
        }
        #blankbox {
            display:none;
        }


@media(min-width:980px) { /* big screens */

    .cornerbox {
        bottom: 50px;
    }
    
    .TitleStyle {
        font-size: 175%;
    }

    .panel a {
        margin: 0.4em;
        padding: 1em 2.5em;
        border-radius: 0.8em;
    }

    #menu1 {
        z-index: 1;
        width: 300px;
        flex: 0 0 auto;
        display: inline;
    }

    #MenuHolder-Open, #MenuHolder-Close {
        display: none;
    }

/*    #ContentHolder {
        font-size: 14px;
    }*/

    #MenuHolder {
        display: none;
    }

/*    #form1, body {
        width: 100%;
    }*/

    .sealbox {
        position:fixed;
        top:0;
        right:0;
        padding: 1px;
        z-index: 999;
    }
    

}

@media(max-width:980px) { /* mobile screens */
        
    .sealbox {
        position:fixed;
        top:0;
        right:0;
        padding: 1px;
        z-index: 999;
    }

    .TitleStyle {
        font-size: 125%;
    }

    .panel a {
        margin: 0px;
        padding: 8px;
        border-radius: 0px;
    }

    #menu1 {
        top: 43px;
        position:fixed;
        z-index: 3;
        width: 100%;
        flex: 0 0 auto;
    }

    .panel {
        height:0px;
        overflow-y:hidden;
        transition: height 1.5s;
        -webkit-transition: height 1.5s;
    }
    
    .menutoggler:checked~.panel {
        height:100%;
    }

    #ContentHolder {
        max-width: 100%;
        margin: 0 auto;
        border: 0;
        width: 100%;
    }

    #MenuHolder-Open {
        display: inline;
        font-size: 22px;
        line-height: 30px;
        text-align: center;
        padding-right: 10%;
    }

    #MenuHolder-Close {
        display: none;
        font-size: larger;
        line-height: 50px;
        text-align: center;
    }
}
 

 