.mgz-base-footer{
  display: flex;
  flex-direction: column;
  padding: 40px 100px 20px 100px;
}

/* Large Format  */

/* Menu */

.mgz-base-footer-menu-wrapper{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: wrap;
}


.mgz-footer-menu-header-wrapper{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.mgz-footer-menu-spinning-plus{
  display: none; /* Disable for large screen */
}

.mgz-base-footer-menu-item-wrapper{
  display: block;
}

.mgz-footer-menu-header-text{
  margin: 0px 0px 5px 0px;
}

.mgz-footer-menu-subitem-list{
  margin: 0px;
  list-style: none;
}
.mgz-footer-menu-subitem{
  margin-left: -40px;
}

.mgz-base-footer-menu-item-wrapper a{
  text-decoration: none;
}

.mgz-base-footer-large-format-divider{
  margin: 30px 0px 20px 0px;
  height: 1px;
}

/* Logo and Social  */
.mgz-base-footer-logo-and-social-wrapper{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.mgz-footer-logo{
  display: block;
  margin: 10px;
  max-width: 250px;
  height: auto;

  /* removed and replaced with wagtail image tags */
  /* width: 300px;
  height: 150px; */
}

.mgz-footer-social-wrapper{
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 400px;
  justify-content: space-between;
}

.mgz-social-frame{
  height: 60px;
  width: 60px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60px 60px;
}

/*Supply images for social links*/

#mgz-social-frame-1{background-image: url("../images/social_facebook.png");}
#mgz-social-frame-2{background-image: url("../images/social_insta.png");}
#mgz-social-frame-3{background-image: url("../images/social_linkedin.png");}
#mgz-social-frame-4{background-image: url("../images/social_twitter.png");}
#mgz-social-frame-5{background-image: url("../images/social_youtube.png");}

/*Bottom Links*/

.mgz-base-footer-bottom-link-wrapper{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin-top: 30px;
}

.mgz-footer-bottom-link{
  text-decoration: none;
  font-size: 12px;
  color: RGB(111,199,176);
}

.mgz-footer-logo {
  max-height: 150px;
  width: auto;
}

.mgz-footer-bottom-vertical-spacer{
  margin: 0px 5px 0px 5px;
}

/* Small Format  */

@media screen and (max-width:775px){

/* Hide and show elements */

.mgz-base-footer-large-format-divider{
  display: none;
}

/* Menu */

.mgz-base-footer-menu-wrapper{
  flex-direction: column;
  align-items: flex-start;
}

.mgz-footer-menu-header-text{
  margin: 20px 0px 15px 0px;
}

.mgz-base-footer-menu-item-wrapper{
  width: 100%;
  cursor: pointer;
}

.mgz-footer-menu-header-wrapper{
  width: 100%;
}

/* .mgz-footer-menu-spinning-plus{
  display: block;
  height: 50px;
  width: 50px;
} */

.mgz-footer-menu-subitem-wrapper{
  transition: .5s ease;
  display: none;
  visibility: hidden;
}

.mgz-footer-menu-subitem{
  margin-top: 5px;
  margin-bottom: 5px;
}

.mgz-footer-menu-spacer{
  margin-top: 10px 0px 10px 0px;
  width: 100%;
  height: 1px;
}

/* Logo and social and links*/

.mgz-base-footer-logo-and-social-wrapper{
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
}

.mgz-footer-social-wrapper{
  width: 300px;
}

.mgz-social-frame{
  height: 40px;
  width: 40px;
  background-size: 40px 40px;
}

.mgz-base-footer-bottom-link-wrapper{
  justify-content: center;
  flex-wrap: wrap;
}

/* Functionality */

.mgz-base-footer-menu-item-wrapper:hover .mgz-footer-menu-subitem-wrapper{
  visibility: visible;
  display: flex;
}






}