/*
Header for SMCM.edu
Contains:
	Utility Menu (search bar, quick links)
	Megamenu (Top tier websites)
*/

/*
	GENERAL HEADER
*/
#common-navigation {
	position:fixed;
  z-index:1;
  width:100%;
  top:0;
  right:0;
}
/*
	UTILITY MENU
*/
#utility-navigation {
  font-size: .85em;
  display: flex;
  justify-content: right;
  background-color: #00205C;
}
#utility-navigation ul {
	display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  align-items:center;
}
#utility-navigation ul li {
	list-style-type:none;
	/*border-right: 1px solid rgba(255, 255, 255, .15);*/
}
#utility-navigation .navProspectLinks {
  font-weight: 500;
}
#utility-navigation ul li a:not(#current-logo-container) {
	color:#fff;
	display:block;
	padding: .5em 1em;
  text-decoration: none;
  font-weight: 600;
}
#utility-navigation ul li a:hover,
#utility-navigation ul li a:focus,
#utility-navigation ul li a:active {
	filter: brightness(1.1);
}
/*
	UTLITY MENU - SEARCH BAR
*/
#search-toggle-input {
  display: none;
  align-items: center;
  justify-content: space-between;
  box-shadow: none;
  padding-block: 12px;
  padding-inline: 1.5em;
  column-gap: 8px;
  margin: 0 auto;
  max-width: 1200px;
}
.search-container {
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  box-shadow: inset 0 -30px 50px rgba(0, 0, 0, 0.05);
  margin-top: -1px;
  background-color: #00205c;
}
#search-toggle-input.show {
  display: flex;
}
#search-toggle-input .google-search-form .search-field {
  background: transparent;
  color: #fff;
  font-size: 2.5em;
  padding: 0;
  border: none;
  box-shadow:none;
  margin-bottom: 0;
}
#search-go-button {
  color: darkgray;
  cursor: pointer;
  background-color: transparent;
  font-size: 2em;
  padding-bottom: 0.3em;
  border: none;
}
#search-go-button:hover {
  background-color: transparent;
}
#search-go-button.active {
  color: white;
}
#google-search {
  flex-grow: 1;
}
#search-toggle-input .google-search-form .search-field:active, #search-toggle-input .google-search-form .search-field:focus {
  outline: 0;
}
#search-toggle-input .google-search-form .search-field::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.75);
}
.megamenu img {
  width: 300px;
}
/*
	UTILITY MENU - QUICKLINKS
*/
#quicklinks-toggle-output {
  display:none;
  background: #00205C;
  overflow:hidden;
}
#quicklinks-toggle-output ul {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}
#quicklinks-toggle-output li {
	list-style-type:none;
	min-width: 120px;
    max-width: 120px;
    min-height: 120px;
    max-height: 120px;
    flex-basis: auto;
    flex-grow: 1;
}
#quicklinks-toggle-output li:not(:last-child) {
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}
#quicklinks-toggle-output li a {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-transform: uppercase;
  padding: 2em 1.25em;
  font-size: .85em;
  font-weight: 400;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.81);
}
#quicklinks-toggle-output li a:hover,
#quicklinks-toggle-output li a:focus,
#quicklinks-toggle-output li a:active {
  color: white;
}
#quicklinks-toggle-output li i {
	font-size:2.5em;
	margin-bottom:.25em;
}
.header-mobile-show-only-active {
  display: none;
}
/*
  WP ADMIN TOOLBAR FIX
*/
.admin-bar #common-navigation {
  top: 32px;
}
/*footer columns*/
.footer-wrap {
  display:flex;
  flex-flow:row nowrap;
/*    justify-content:space-around;*/
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.footer__left {
  min-width: 30%
}
.footer__center {
  min-width: 20%
}
.footer__right {
  min-width: 50%
}
.footer__center,
.footer__right {
margin: 2rem;
}
.site-footer .footer-wrap h2 {
  color: white;
  font-size: 1.55em;
  margin-bottom: 0.5em;
}
.site-footer .footer-wrap a {
  color:#fff;
  border-bottom: none;
  font-size: 1.25rem;
  text-decoration: none;
}
.site-footer .footer-wrap li {
  color: white;
}
.site-footer .wrap {
  margin: unset !important;
  max-width: unset !important;
}
#footer {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-logo {
/*    text-align: center;*/
  display: block;
}
.site-footer {
  background-color: #fff;
  color: #999;
  font-size: 14px;
  font-size: 1.4rem;
  padding-top: 4rem 0;
  text-align: center;
  background-color: #00205c;
  background-image: url(https://www.smcm.edu/wp-content/uploads/2019/03/smcm-campus-college-aerial-footer-3.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  width: 100%;
  overflow: hidden;
  clear: both;
  text-align: left !important;
}
.below-footer {
  color: #333;
}
.give__action a.button.navy {
  text-transform: capitalize;
  border: 2px solid #ffffff;
  border-radius: 0;
  font-weight: 600;
  padding: 8px 24px;
  font-size: 18px;
  line-height: 25px;
}
.give__action {
  margin-block: 1.5em;
}
.copyright.wrap {
  margin: 0 auto !important;
  max-width: 1200px !important;
}
.site-footer p {
  margin-bottom: 0;
}
.footer-wrap a:hover,
.footer-wrap a:active,
.footer-wrap a:focus {
color:#fff;
  text-decoration: underline;
}
.footer__nav {
display:flex;
flex-flow:row nowrap;
}
.footer__nav nav {
  width:33.33%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin-bottom: 1em;
}
@media only screen and (max-width: 600px) {
  .footer__nav {
      flex-flow:row wrap;
  }
  .footer__nav nav {
      width: 50%;
  }
}

.footer-widgets {
  background-color: #cccccc;
  /* background-color: #333; */
  color: black;
  clear: both;
  padding: 40px 0 16px;
  padding: 4rem 0 1.6rem;
}

.footer-widgets-1,
.footer-widgets-3 {
  width: 360px;
}

@media (max-width: 1220px) {

  .footer-widgets-3 {
      margin-right: 0rem !important;
  }
}


@media (min-width: 1221px) {
  .footer-widgets-1,
  .footer-widgets-3 {
      margin-right: 4rem;
  }
}


.footer-widgets-2 {
  width: 360px;
}

.footer-widgets-1 {
  margin-right: 40px;
  margin-right: 4rem;
}

.footer-widgets-1,
.footer-widgets-2 {
  float: left;
}

.footer-widgets-3 {
  float: right;
}

.footer-widgets a {
  border-bottom: 1px solid #666;
  color: #999;
}

.footer-widgets a:hover {
  color: #ddd;
}

.footer-widgets .widget {
  margin-bottom: 24px;
  margin-bottom: 2.4rem;
}

.footer-widgets .widget-title {
  color: #fff;
}

.footer-widgets li {
  list-style-type: none;
  margin-bottom: 6px;
  margin-bottom: 0.6rem;
  word-wrap: break-word;
}

.footer-widgets .search-form input:focus {
  border: 1px solid #ddd;
}

.footer-widgets .widget-title {
  color: #333;
  margin-bottom: .5em;
  padding-bottom: .35em;
  border-bottom: 4px double #999;
}
.footer-widgets a {
  color:#00205C;
  border:0;
  text-decoration:underline;
}
.footer-widgets a:hover {
  color:#00205C;
}
.site-footer:after {
  position:absolute;
  width:100%;
  top:0;
  left:0;
}

.below-footer {
  padding: 1rem;
  font-size:11px;
  text-align: center;
  background:#D9D7E0;
}
.below-footer.copyright-section {
  background:#eee;
}
.below-footer.human-trafficking-hotline {
  background:#333;
}
.below-footer a:hover,
.below-footer a:focus {
  text-decoration: underline;
}
.below-footer nav a {
  display: block;
}

.below-footer nav ul {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center; 
  list-style-type: none;
}
.below-footer nav ul li a {
  border-right: 1px solid;
  padding: 0 10px;
  text-decoration: none;
}
.below-footer nav li:last-of-type a {
  border:none;
}
nav.copyright a {
  color:#333;
}
nav.hotline,
nav.hotline a {
  color: #fff;
}

.footer__nav li {
list-style-type:none;
line-height: 3rem;
}
.footer-telephone {
  display: inline-block;
}
.footer__social #social-icons,
.give__action a.button.navy {
    margin-top: 1.25rem;
}
.theCurrentLogo {
  height: 40px;
  padding-top: 11px;
  padding-inline: 8px;
}
.smcm-gold-promo {
  color: #F3C10D !important;
  font-weight: 800;
  padding: .5em .5em !important;
}
.header-mobile-menu-show-only {
  display: none;
}
@media only screen and (max-width: 1048px) {
  .footer-wrap {
      flex-flow: row wrap;
  }
  .footer__left,
  .footer__center {
      max-width: 50%;
  }
  .footer__right {
      width: 100%;
  }
  .footer__right .footer__nav nav {
      width: 50%
  }
}
/*
  Media Queries
*/
@media only screen and (max-width: 959px) {
  #quicklinks-toggle-output {
    background-color: transparent;
  }
  #common-navigation {
    position:relative;
  }
  .header-always-hide-mobile {
    display: none !important;
  }

  .header-mobile-menu-show-only {
    display: inherit !important;
  }
  .mobile-container-background {
    background-color: #00205C;  
    opacity: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 4;
    transition: opacity 0.5s;
    pointer-events: none;
    top: 0;
    left: 0;
  }
  .mobile-container-background.show {
    opacity: 1;
    pointer-events: unset;
  }
  .mobile-container {
  }
  .mobile-container.show {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 5;
    left: 0;
    top: 0;
    overflow-x: hidden; /* Disable horizontal scroll */
  }
  @keyframes opacityVisibleAnimation {
    from {
      display: none;
      opacity: 0;
    }
    to {
      display: block;
      opacity: 1;
    }
  }
  @keyframes opacityHiddenAnimation {
    from {
      display: block;
      opacity: 1;
    }
    to {
      display: none;
      opacity: 0;
    }
  }
  .megamenu > ul {
    opacity: 0;
    display: block;
    max-height: 0;
    overflow: hidden;
    animation: opacityHiddenAnimation 1s forwards;
  }
  .megamenu > ul.show-on-mobile {
    opacity: 1;
    max-height: 5000px;
    animation: opacityVisibleAnimation 1s forwards;
  }
  #utility-navigation, #quicklinks-toggle-output {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity 0.4s;
  }
  #utility-navigation.active, #quicklinks-toggle-output.active {
    max-height: 500px;
    opacity: 1;
    transition-delay: 0.1s;
  }
  .search-container {
    height: 55px;
  }
  .navIconsAndCampaign {
    justify-content: center !important;
  }
  #search-toggle-input {
    display: flex;
  }
  #search-action-button {
    color: white;

  }
  .header-flip-on-mobile {
    display: flex;
    flex-direction: column-reverse;
  }
  .admin-bar #common-navigation {
  top: 0;
  }
  #utility-navigation {
    flex-direction: column;
  }
  #utility-navigation .navProspectLinks {
    padding: 8px;
    text-transform: uppercase;
    font-weight: 600;
    flex-direction: column;
    font-size: 1.2em;
  }
  .navProspectLinks a {
    color: #F3C10D !important;
  }
  #utility-navigation li {
    flex-wrap:nowrap!important;
  }
  #utility-navigation .navProspectLinks {
    justify-content: center;
  }
    /*UTLITY MENU - SEARCH BAR*/
  #search-toggle-input .google-search-form .search-field, #search-go-button {
    font-size: 1.5em !important;
  }
  #search-go-button {
    width: 2.5rem;
    font-size: 2em;
    text-align: center;
  }
  /*WP ADMIN TOOLBAR FIX*/
  .admin-bar #common-navigation {
    top: 46px;
  }
}

#givingtuesday {
  width: 0;
max-width: 100%;
height: 185px;
background: transparent;
text-align: center;
border-left: 55px solid #d0343a;
border-right: 55px solid #d0343a;
border-bottom: 35px solid transparent;
position: absolute;
top: 0px;
transform: translate(0,-70px);
-webkit-transition: 0.5s all;
-moz-transition: 0.5s all;
-o-transition: 0.5s all;
transition: 0.5s all;
}
#givingtuesday a:before {
content: "\f06b";
font-size: 3em;
font-family: fontawesome;
position: absolute;
top: 0px;
left: -50px;
width: 100px;
color: #fff;
}
#givingtuesday img {
max-width: 100px;
position: absolute;
top: 80px;
left: -50px;
}
#givingtuesday span {
color: #fff;
font-size: 38px;
display: block;
padding-top: 105px;
margin-left: -30px;
}
#givingtuesday:hover {
filter: brightness(1.15);
transform: translate(0,0);

}
.smcm-floating-back-to-top a {
  position: fixed;
  bottom: 0;
  right: 0;
  color: white;
  background-color: #00205C;
  padding: 1em;
  margin: 1.5em;
  height: 3em;
  width: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  text-decoration: none;
}
.smcm-floating-back-to-top a i, .smcm-floating-back-to-top a i:hover, .smcm-floating-back-to-top a i:visited {
  color: white;
}

@media only screen and (max-width: 959px) {
  .smcm-floating-back-to-top {
    display: none;
  }
}