/* CSS for the header and footer            */
/* BAbshier 20210121                        */
/********************************************/
/* Shift + Refresh to reload css on Firefox */
/********************************************/

/* Menu toggle button should be white */
.menu-toggle i {
    color: black;
}
#footer {
    color: black;
    background-color: white;
}
/*** Logo Header ***/
.logoBox {
    background-color:#003340;
    margin: 0px -300px;
    padding: 0px 300px;
}
.logoTable {
    display:table;
    width:100%;
    color:#ffffff;
    background-color:#003340;
}
.logoTableRow {
    display:table-row;
}
.cHeadLeft {
    dispaly:table-cell;
    margin:0px;
}
.logoTableLeft {
    display:table-cell;
    width:180px;
}
.logoTableRight {
    display:table-cell;
    margin:0px;
    padding:0px;
    width:360px;
    position:relative;
}
.logoTableRight p {
    font-weight:bold;
    position:absolute;
    top:40%;
    margin-left:5%;
}
.cHeadRight {
    display:table-cell;
    margin:0px;
}
.cHeadRight p {
    padding-right:5px;
    text-align:right;
}
.cHeadRight p a {
    color:white;
}
@media only screen and (max-width: 580px) {
    .cHeadLeft {
	display:block;
	width:360px;
    }
    .cHeadRight {
	display:block;
	width:360px;
    }
    .logoTableRow {
	display:block;
    }
    .cHeadRight p {
	text-align:left;
    }
}
@media only screen and (max-width: 900px) {
    .cHeadLeft {
	width:360px;
    }
    .logoTableRight {
        display:block;
	width:100%;
    }
    .logoTableRight p {
	margin-left:0px;
	position:static;
    }
    .logoTableLeft {
	display:block;
	width: 100%;
    }
}

/* Background color for the header */
.site-header {
    /* background-color: #4298B5; ** Light Blue **/
    /*background-color:white; */
    background-color:#d9e5e9;
    border: hidden 0px;
}
.pdHeaderPart {
    padding:0px;
    padding-top:10px;
}

/*** Header menu-bar stuff ***/
/* Lower header:     #4298B5 */
/* That was really unpopular */
/*****************************/
/* Line above the Menu */
#site-navigation {
    margin-top: 10px;
    margin-bottom: 0px;
    padding: 0px !important;
    border-top: solid 2px black;
    background-color: #d9e5e9;
    display: flex !important;
    justify-content: center;
}
.main-navigation-wrapper {
    margin: 0px;
    padding: 0px;
    border: hidden 0px;
    background-color: #d9e5e9;
}
/* Menu button */
.main-navigation .menu-toggle {
    background-color: transparent;
    color: #333333;
    font-size: 20px;
    line-height: 49px;
    height: 49px;
    padding: 0;
    position: static;
    left: 0px;
    text-align: center;
    top: 0px;
    width: 49px;
}
/* Color for menu items */
#header-menu {
    padding: 0px;
    margin-left: 0px;
}
#header-menu li a { 
    color: #222222;
    background-color: #d9e5e9;
}
.sub-menu {
    border: solid 2px black;
}
.sub-menu,.sub-menu li, .sub-menu li a {
    color: black !important;
    background-color: white !important;
}
.sub-menu li a:hover {
    color: #4298B5 !important;
    background-color: white !important;
}
@media only screen and (max-width: 960px) {
    #site-navigation {
	justify-content: start;
    }
    .sub-menu {
	visibility: hidden;
	max-height: 0px;
	overflow: hidden;
	padding: 0px !important;
	background-color: white;
	border: solid 2px black;
    }
    #header-menu li a:hover + .sub-menu {
	visibility: visible;
	max-height: 100%;
    }
    .sub-menu:hover {
	visibility: visible;
	max-height: 100%;
    }
}
/* Hover color for menu items */
#header-menu li a:hover {
    color: #4298B5;
    background-color: #d9e5e9;
}
/* Flexbox config for the footer */
.footFlex {
    display: flex;
    margin-top: 10px;
    margin-bottom: 20px;
    justify-content: center;
    flex-flow: row nowrap;
    font-size: 12pt;
    padding-top: 10px;
    border-top: solid 2px black;
}
.footText {
    margin-left: 10px;
    margin-right: 10px;
    padding: 10px;
}
.footText a, .footText a:visited {
    color: #4298B5;
}
.footText a:hover {
    color: #E8927C;
}
.footImage {
    flex: none;
    margin-left: 10px;
    margin-right: 10px;
    width: 170px;
}
@media screen and (max-width: 770px) {
    .footFlex {
	display: block;
    }
    .footText {
        margin: auto;
    }
    .footImage {
	margin: auto;
    }
}

