/*
 Keep Footer @ bottom of page or content, whichever is lower
    (1): container and parent containers must stretch entire height
    (2): give content 100% of the proportion of free space available
 Ref: https://www.w3.org/TR/css-flexbox-1/#flex-common
 Ref: https://stackoverflow.com/questions/12239166/footer-at-bottom-of-page-or-content-whichever-is-lower
 */

/* (1a/2) Footer @ bottom */
#parent-container {
    display: flex;
    flex-direction: column;
    
    min-height: 100%;
}

/* (1b/2) Footer @ bottom */
/* TODO: NOTE: (1b/2) Moved to loginRegister.css, because doesn't fit for about page */
/*html,*/
/*body {*/
/*    height: 100%;*/
/*}*/

/* (2/2) Footer @ bottom */
.footer-proportional-content {
    flex: 1;
}











.footer-div {
    position: relative;
    bottom: 0;

    z-index: var(--layer-10); /* So we can click the links, when in conflict with the left-panel-nav */

    padding: 10px 0;
    
    width: 100%; /* TODO: REMOVE */
    
    background: linear-gradient(to left, var(--active-left-nav-color-light), transparent);
/*    background-color: #ffffff;*/
/*    color: #4b4c4d;*/
}

.footer-div ul {
  padding:0;
  list-style:none;
  text-align:center;
  font-size:18px;
  line-height:1.6;
  margin-bottom:0;
}

.footer-div li {
  padding:0 10px;
}

.footer-div ul a {
  color:inherit;
  text-decoration:none;
  opacity:0.8;
}

.footer-div ul a:hover {
  opacity:1;
}

.footer-div .social {
    text-align: center;
    padding-bottom: 5px;
}

.footer-div .social > a {
  font-size:24px;
  width:40px;
  height:40px;
  line-height:40px;
  display:inline-block;
  text-align:center;
  border-radius:50%;
  border:1px solid #ccc;
  margin:0 8px;
  color:inherit;
  opacity:0.75;
}

.footer-div .social > a:hover {
  opacity:0.9;
}

.footer-div .copyright {
    font-size: 13px;
/*    margin-top: 5px;*/
    text-align: center;
}

.footer-div .copyright p {
    margin-bottom: 0;
    color: #aaa;
}

.footer-div .footer-text p {
    text-align: center;
    font-size: 10px;
    color: #aaa;
    margin-bottom: 3px;
    padding: 0 5vw 0 5vw;
}

.footer-div .list-inline {
    position: relative;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0px 24vw 0 24vw;
/*    width: 100vw;*/
}

.footer-div .list-inline a {
    font-size: 12px;
    text-decoration: none;
    color: #aaa;
}

.footer-div .list-inline a:hover {
    text-decoration: underline;
    color: blue;
}

.footer-div .list-inline p {
    margin-bottom: 0;
    color: #aaa;
    font-size: 12px;
}

/* Phone width settings */
@media (max-width: 750px) {
    .footer-div .list-inline {
        padding: 0px;
    }
}
