/*
Theme Name: G-RAF
Author: Mike Goudie
This CSS file contains styling for header, footer, sidebar and main menu elements
*/

.branding-wrapper {
  height: 200px;
  width: 100%;
  min-width: 300px;
  position: relative;
}

.branding-foreground {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  width: inherit;
  height: inherit;
  border: none;
}

.branding-background {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: inherit;
  height: inherit;
  background-color: var(--camra-primary);
/*
  background-image: url('../images/G-RAF_53-scaled.jpg');
  background-position: center;
  background-size: 100%;
  opacity: 0.8;
*/
}

h1.content-title {
  font-size: 36px;
  margin: 0.1em 0;
  color: var(--camra-contrast);
}

h2.content-title {
  font-size: 20px;
  margin: 0.1em 0;
  color: var(--camra-contrast);
}

.hamburger {
  width: 100%;
  height: 50px;
  background-color:  var(--camra-tint-80);
  display:none;
  padding: 10px 0 10px .55em;
}

.hamburger-menu {
  display: block;
  color: var(--camra-contrast);
  vertical-align: middle;
  font-size: 18px;
  cursor: pointer;
}

.hamburger-menu:hover {
  color: var(--camra-tint-20);
}

.hamburger-menu td {
  padding: 0 0 0 5px;
}

.hamburger-menu h1 {
  margin: 10px 0 10px 0;
}

.branch-branding {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  border: none;
}

.site-logo {
  width: 20vw;
  max-width: 160px;
  padding-right: 25%;
  padding: 10px 20px 0px 20px;
  padding: 6.25% 12.5% 0 12.5%;
} 

.branch-logo {
  max-width: 350px;
  padding: 50px 50px 40px 50px;
}

footer {
  width: 100%;
  min-width: 320px;
  padding: 20px 10px 10px 10px;
  color: var(--camra-contrast);
  background-color: var(--camra-primary);
/*
position: flow;
bottom: 0;
right:0;
left:0;
transform: translateY(100%);
*/
}

footer > p {
  margin: 0.8ex 0;
  font-size: small;
  font-style: italic;
}

header {
  background-color: var(--body-background);
  min-width: 320px;
}

.navigation-div {
  display: flex;
  min-width: 320px;
}

.navigation-div > nav {
  width: 20vw;
  max-width: 200px;
  background-color: var(--camra-tint-80);
}

#hamburger-block {
  display: none;
}

#hamburger-symbol {
  display: block;
}

#hamburger-close {
  display: none;
}

.hamburger-label {
  font-size: 18px;
  font-weight: normal;
  margin-left: 5px;
  vertical-align: middle;
  padding-bottom: 9px;
}

#navigation-menu {
  visibility: visible;
  max-height: 100%;
  height: 100%;
}

.primary-menu {
  padding: .45em .55em .45em .55em;
  margin: .55em 0px;
}

li.unclickable > ul.sub-menu > li > a,
.primary-menu a {
  display: block;
  text-decoration: none;
  transition: 0.3s;
  border-radius: 3px;
  padding: 2px;
  color: inherit;
  color: var(--camra-contrast);
  font-size: small;
}

li.unclickable > ul.sub-menu > li > a:hover,
.primary-menu a:hover {
  text-decoration: underline;
  background-color: #b3b6bd;
}

.primary-menu .unclickable a:hover {
  cursor: default !important;
  text-decoration: none;
  background-color: inherit;
}

.primary-menu ul {
  list-style-type: none;
  padding: 0 .5em;
}

.footer-menu {
  text-decoration: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0.8ex;
  margin-left: 0;
  margin-right: 0;
  list-style-type: none;
  list-style-image: none;
}

.footer-menu a {
  color: var(--camra-contrast);
}

.footer-menu > li {
  display: inline;
  font-style: italic;
  font-size: small;
  color: var(--camra-contrast);
}

.footer-menu > li:after {
  content: " \2219";
}

.footer-menu > li:last-child:after {
  content: none;
}

@media only screen and (max-width: 440px) {
  .navigation-div > nav {
    max-width: 100%;
    width: 100%;
  }
  .navigation-div {
    display: block;
  }
  li.unclickable > ul.sub-menu > li > a,
  .primary-menu a {
    font-size: initial;
  }
  #navigation-menu .menu-item {
    font-size: initial;
  }
  #navigation-menu {
    visibility: hidden;
    max-height: 0px;
    height: 0px;
  }
  #hamburger-block {
    display: flex;
  }
}

@media only screen and (max-width: 750px) {
  .branding-background,
  .branding-foreground,
  .branding-wrapper {
    max-height: 26.66vw;
  }
  h1.content-title {
    font-size: 4.8vw;
  }
  h2.content-title {
    font-size: 2.666vw;
  }
}

@media only screen and (max-width: 1000px) {
  .branch-logo {
    width: 35vw;
    padding: 5vw;
    padding-bottom: 4vw;
  }
}