@charset "utf-8";
/* CSS Document */

html, body {
    position:relative;
    height: 100%;
    margin:0;
    font-family:  "Arial Black", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    color: #000000;
    /* background-color: #FFFFFF;  */
    background-image: url(images/logo1.gif) ;
}
#mainContainer {
	position:absolute;
	box-sizing: border-box;
	top: 20px;
	bottom: 20px;
	left:20px;
	right: 20px;
	display: flex;
	flex-direction:column;
	align-items: stretch;
	border: 1px solid #000000;
}
#headerContainer
{
	flex: 0 0 30px;
	border: thin solid #000000;
	padding: 5px;
	/* background-color:#26907C; */
        text-align: center;
}
#middleContainer {
	position:relative;
	flex: 5 0 auto;
	display: flex;
	flex-direction:row;
	border: thin solid #000000;
	align-items: stretch;
}

#contentContainer {
	position:relative;
	flex: 5 1 auto;
	border: thin solid #000000;
	padding: 5px;
	overflow:auto;
}
#contentDiv
{
	position: absolute;
	height: 100%;
	width: 100%;
	top:0;
	left:0;
	overflow: auto;
	padding: 2em;
	box-sizing:border-box;
        background: rgba(255,255,255, 0.7);
}
#footerContainer {
	flex: 0 0 15px;
	border: thin solid #000000;
	padding-left: 5px;
}
#footerContainer p {
    margin: 0;
}
/* menu styles */
#middleContainer[menuloc=top] {
    flex-direction: column;
}
#middleContainer[menuloc=left] {
    flex-direction: row;
}
#menuContainer {
	position:relative;
	flex: 0 0 5em;
	border: thin solid #000000;
	padding: 1em;
        z-index: 10;  /* make sure menus are on top */
}
.menuDiv {
    position: relative;
}
.menuItem {
    display: block;
    position: relative;
    cursor:pointer;
    font-weight: bold;
    white-space:nowrap;
    padding-left: 1em;
    padding-right: 1em;
    border: #000000 thin solid;
}
.menuItem > .menuDiv {
    position: absolute;
    display: none;
}

.menuItem:focus {
    color: green;
    background-color: grey;
    display: block;
    z-index: 10;
}
.menuItem:focus  > .menuDiv, .menuItem:focus-within  > .menuDiv {
    display: block;
}
.menuLeft {
    position: relative;
    padding-left: 5px;
    padding-right: 5px;
}
.menuTop {
/*    flex: 0 0 1em;*/
    position: relative;
    padding-top: 2px;
    padding-bottom: 5px;
}
/*#middleContainer[menuloc=left]*/
.menuItem > .menuDiv > .menuItem:focus > .menuDiv {
    display: block;
}
/*#middleContainer[menuloc=left]*/
.menuLeft .menuDiv > .menuItem > .menuDiv {
    position: absolute;
    top: 0;
    left: 100%;
    background-color: yellow;
    display: none;
}
.menuLeft > .menuDiv > .menuItem:focus > .menuDiv, .menuLeft > .menuDiv > .menuItem:focus-within > .menuDiv {
    display: block;
}
/*#middleContainer[menuloc=top]*/

/*#middleContainer[menuloc=top]*/
.menuTop > .menuDiv > .menuItem {
    display: inline;
}

/*#middleContainer[menuloc=top]*/
.menuTop .menuDiv > .menuItem > .menuDiv {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: yellow;
    display: none;
}

/*#middleContainer[menuloc=top] */
/*.menuTop .menuDiv > .menuItem:hover .menuDiv {
    display: inline-block;
} */

/*  Calendar selectors */
.calTitleDiv
{
	font-size:1.5em;
	font-weight:bold;
}
.calItemDiv
{
    border-bottom: thin solid black;
}
.calItemTitleDiv
{
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
}
.calItemContentDiv
{
    padding-left: 3em;
    padding-right: 3em;
}
/* Library rules */
.imageContainer, .imageDiv, .imageHolder, .imageImg, .imageTitle {
    position: relative;
}
.imageHolder {
    min-height: 455px;
}
.slideshowDiv .imageHolder {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 2 2 90%;
    align-self: center;
}
.slideshowDiv .imageHolder .imageDiv {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s;
}
.imageNav {
    position: absolute;
    top: 50%;
    margin-top: -0.5em;
    margin-bottom: auto;
    font-size: 10em;
    color: rgba(116,116,116,0.50);
    background: rgba(125,125,125,0);
    z-index: 10;
    cursor: pointer;
}
.imageNav::selection {
    color: rgba(116,116,116,0.50);
    background: rgba(125,125,125,0);
}
.imageNav:hover {
    color: white;
    background:rgba(125,125,125,0.2);
}
/* Mobile related rules */
#mobileMenuDiv {
    display: none;
    position: absolute;
    /*z-index: 5;*/
    top: 10px;
}
#menuContactUsDiv
{
    display: none;
}
/* Library and Library Items selectors */
.libContainer {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 2px;
}
.libItemDiv {
    position: relative;
    max-width: 30%;
    max-height: 300px;
    flex: 1 1 25%;
    border: thin solid black ;
}
.libitemimghw {
    display: none;
}
.libItemImg, .imageImg {
    max-width: 70%;
    max-height: 70%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.libItemCaption, .imageTitle {
    text-align: center;
}
.libItemDesc {
    text-align: left;
    margin-left: 1em;
    margin-right: 1em;
}
.imageThumbsDiv {
        position: relative;
}
#thumbsContainer, .thumbsContainer {
    position: relative;
    display: block;
    overflow: hidden;
    visibility:visible;
    width:100%;
    white-space: nowrap;
    margin: 0;
}
.imageThumbsDiv img {
    position: relative;
    max-height: 150px;
    max-width: 150px;
    margin: 0;
}
.libDisplayFlex {
    top:0px;
    height: 100%;	
    margin: 0px;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.libDisplayFlex .imageDiv {
    top:0px;
    margin-bottom: 2px;
    height: auto;	
    width:100%;
    flex: 1 0 50%;
    overflow: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: stretch;
}
.imageContainer > .imageDiv {
    min-height: 150px;
    border: thin solid black;
    flex-grow: 1;
}
.imageDiv img {
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.libItemImgDiv {
    width: 100%;
}
/* Media control */
@media screen and (max-width: 400px), screen and (max-height: 450px) {

    #mainContainer {
        top: 0px;
        bottom: 0px;
        left: 0px;
        right: 0px;
    }
    #headerContainer {
        padding-left:2em;
    }
    #menuContainer {
        /*display: none;*/
        position: absolute;
        z-index: 5;
        /*background-color: #fff;*/
        background: none;
        border: none;
    }
    #menuContainer > .menuDiv {
        display: none;
        background-color: #fff;
    }
    #menuContainer:focus > .menuDiv, #menuContainer:focus-within > .menuDiv {
        display: block;
    }
    #footerContainer {
            display: none;
    }
    #mobileMenuDiv {
            display: block;
    }
    #headerContainer p {
            margin-top: 0px;
            padding-top: 0px;
    }
    #menuContactUsDiv {
            display: block;
    }
}
