/* intranet/library/people specific CSS */
#footer-top a {
    display: inline;
}
.col-49-percent a {
    display: inline !important;
}
#footer-social .svg-wrapper {
    height: 3rem;
    width: 3rem;
    vertical-align: top;
    display: inline-block;
}
#footer-social svg {
    fill: white;
    width: 100%;
    height: 100%;
    vertical-align: top;
}
footer#unisa-footer li a {
   border: none;
   padding: 0px;
   line-height: 1.7;
}
footer#unisa-footer li, footer#unisa-footer li:first-child {
   border: none;
}

/* study page specific CSS */
#unisa-footer ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

/* general footer CSS */
#unisa-footer {
  background-color: #002b72;
  color: white;
  font-family: UniSA-Altis-Regular,altis_unisa,Arial,sans-serif
  line-height: 1.7;
  padding: 30px 0;
   font-size: 1.4rem;
}
#unisa-footer p { 
   line-height: 1.7;
}
#unisa-footer a {
  color: white;
  text-decoration: none;
}
#unisa-footer a:hover {
  text-decoration: underline;
  background-color: unset;
}
#footer-top, #footer-bottom {
  padding: 4rem 1rem 4rem 1rem;
  border-bottom: 3px solid #003681;
  max-width: 1097px;
  margin: 0 auto;
  display: flex;
  display: -ms-flexbox; /* IE10 */
flex-wrap: wrap;
}
#footer-bottom {
  border: none;
}
.col-17-percent {
  width: 17%;
  padding: 0 0.7rem;
}
.col-20-percent {
  width: 20%;
  padding: 0 0.7rem;
}
.col-49-percent {
  width: 49%;
  padding: 0 0.7rem;
}
#footer-enquire-button a {
  border-radius: 40px;
  line-height: 1.4rem;
  font-size: 1.4rem;
  padding: 1.2rem 1.6rem; /* previously 1.2rem 2rem */
  background-color: #98c0e6;
  color: #00418e !important;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-block;
}
#footer-enquire-button a:hover {
  background: white;
  text-decoration: none;
}
#unisa-footer h4 {
  color: #98C0E6;
  margin-bottom: .8rem;
  margin-top: 0;
  font-weight: 600;
  line-height: 1.2;
  font-size: 1.6rem;
}
#unisa-footer p {
  margin: 0;
}
.footer-contact-link p:nth-child(3) {
   padding-top: 5px;
   font-size: 1.2rem;
}
 .footer-contact-link p:nth-child(4) {
   font-size: 1.2rem;
}
.footer-color-arrow {
   color: #98c0e6;
   padding-right: 5px;
}
#footer-social {
   text-align: right;
}
#footer-social .svg-wrapper {
    height: 3rem;
    width: 3rem;
    vertical-align: top;
}
#footer-social svg {
   fill: white;
}
#footer-social svg:hover {
   fill: #98C0E6;
}
#footer-social a:hover {
   text-decoration: none;
   color: #98C0E6;
}
#footer-social p a:hover {
   text-decoration: underline;
   color: white;
}
footer .accessibility span, footer .cookie span {
   padding-right: 5px;
   vertical-align: middle;
}
#footer-art {
  text-align: right;
}
#footer-art img {
  float: right;
  padding-left: 20px;
}
#artwork-attribution {
  color: #98c0e6;
  text-transform: uppercase;
}
#affiliate-logos {
  clear: both;	
  padding: 3rem 0;
  text-align: right;
}
#affiliate-logos img {
  width: 100%;
  max-width: 150px;
}
#sa-logo {
  margin-left: 20px;
}
#footer-legals {
  font-size: 1.1rem;
  text-align: right;
}
#footer-legals a {
  display: inline-block;
  margin-left: 1.5rem;
  margin-bottom: .5rem;
  padding-bottom: .5rem;
  color: #fff;
  border-bottom: 2px solid #0052A0;
}
#footer-legals a:last-of-type {

}
#footer-legals a:hover {
  border-bottom: 2px solid #ffffff;   
  text-decoration: none;
}

/* mobiles - up to 512px */
@media print, screen and (max-width: 31.99em) { 
   #footer-top {
      padding: 2rem 1rem 3rem 1rem;
   }
   #footer-top h4 {
      margin-bottom: .5rem;
   }
   .footer-contact-link p:nth-child(3) {
      padding-top: 0px;
   }
   #footer-enquire-button { 
      order: 1; 
      width: 50%; 
   }
   #footer-aus-contact { 
      order: 3; 
      width: 100%; 
      text-align: center;
      margin-bottom: 20px;
   }
   #footer-int-contact { 
      order: 4; 
      width: 100%; 
      text-align: center;
      margin-bottom: 20px;
   }
   #footer-gen-contact { 
      order: 5; 
      width: 100%; 
      text-align: center;
   }
   #footer-social { 
      order: 2; 
      width: 50%; 
      line-height: 1.3em;
      padding-bottom: 20px;
   }
   footer .accessibility:before, footer .cookie:before {
      top: 0;
      font-size: 1.5rem;
   }
   #footer-legals {
      font-size: 1rem;
   }
}

/* large mobiles - 512px to 768px */
@media print, screen and (min-width: 32em)  and (max-width: 47.99em) { 
   #footer-top {
      padding: 2rem 2rem 2rem 2rem;
   }
   #footer-enquire-button { 
      order: 1; 
      width: 50%; 
   }
   #footer-aus-contact { 
      order: 3; 
      width: 33%; 
   }
   #footer-int-contact { 
      order: 4; 
      width: 33%; 
   }
   #footer-gen-contact { 
      order: 5; 
      width: 33%; 
   }
}

/* tablets - up to 768px */
@media print, screen and (max-width: 47.99em) { 
   #footer-bottom {
      padding: 2rem 2rem 0rem 2rem;
   }
   #footer-bottom .col-17-percent {
      width: 33%;
   }
   #footer-social { 
      order: 2; 
      width: 50%; 
      line-height: 1.3em;
      padding-bottom: 20px;
   }
   footer .accessibility:before, footer .cookie:before {
      top: 0;
      font-size: 1.5rem;
   }
   .col-49-percent {
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      margin-top: 2rem;
   }
   #footer-art {
       font-size: .8em;
       text-align: right;
       width: 50%;
       order: 2;
   }
   #affiliate-logos {
      clear: both;
      text-align: left;
      width: 50%;
      order: 1;
      padding: 0;
   }
   #footer-legals {
       width: 100%;
       text-align: center;
       order: 3;
       margin-top: 2rem;
   }
}

/* mobile additionals - up to 521px */
@media print, screen and (max-width: 31.99em) { 
   #footer-bottom .col-17-percent {
      width: 100%;
   }
   #footer-bottom .col-17-percent:nth-child(0) { order: 2; }
   #footer-bottom .col-17-percent:nth-child(1) { order: 3; }
   #footer-bottom .col-17-percent:nth-child(2) { order: 1; }
   #footer-bottom .col-49-percent { order: 4; }
}

/* small desktop - 768px to 928px */
@media print, screen and  (min-width: 48em) and (max-width: 58em) { 
   #footer-enquire-button {
      width: 15%;
   }
   #footer-enquire-button a {
      padding: 1.2rem 1.5rem;
      text-align: center;
   }
   #footer-social {
      width: 25%;
   }
   #affiliate-logos img {
     max-width: 120px;
   }
}

/* large mobile tweak - max 600px */
@media print, screen and (max-width: 37.5em) { 
   #footer-art {
       text-align: left;
       width: 100%;
   }
   #footer-art img {
       float: left;
       padding: 0;
       padding-right: 20px;
   }
   #affiliate-logos {
       text-align: center;
       width: 100%;
       padding: 0;
       padding-bottom: 3rem;
   }
}

/* small desktops - max 1088px */
@media print, screen and (max-width: 68em) { 
   #footer-art p {
     font-size: .9em;
   }
   #footer-legals {
       font-size: 1rem;
   }
}

/* super small mobiles - max 395px */
@media print, screen and (max-width: 24.68em) { 
   #footer-enquire-button {
      width: 100%;
      text-align: center;
      margin-bottom: 2rem;
   }
   #footer-social {
      width: 100%;
      text-align: center;
   }
   #atn-logo img, #sa-logo img {
       margin-top: 1rem;
   }
}

/* athena-logo addition */

#athena-logo img {
    margin: 0 1.6rem;
}
#sa-logo {
    margin-left: 0px;
}

@media print, screen and (min-width: 58.001em)  {
#athena-logo img {
    max-width: 80px;
}
#sa-logo img {
    width: 130px;
}
}

@media print, screen and  (max-width: 58em) { 
#athena-logo img {
    max-width: 60px;
}
#sa-logo img {
    width: 105px;
}
}

@media print, screen and (max-width: 47.99em) { 
#affiliate-logos img {
   margin-top: 1rem;
}
#atn-logo img {
   width: 100px;
}
#athena-logo img {
    max-width: 60px;
}
#sa-logo img {
    width: 90px;
}
}

/* Jan 2021 footer update tweak */

#footer-gen-contact.footer-contact-link p:nth-child(2) {
    font-size: 1.2rem;
}

#footer-gen-contact.footer-contact-link p:nth-child(3) {
    padding-top: 0px;
}

@media (max-width: 58em) and (min-width: 48em) {
    .col-20-percent {
        width: 18%;
    }
    #footer-social {
        width: 25%;
    }
    #footer-enquire-button {
        width: 100%;
    }
}

@media (max-width: 47.99em) {
    #footer-aus-contact,
    #footer-int-contact,
    #footer-current-contact,
    #footer-gen-contact {
        width: 25%;
    }
    #footer-current-contact {
        order: 5;
    }
    #footer-gen-contact {
        order: 6;
    }
    #footer-social {
        width: 100%;
        display: flex;
    }
    #footer-enquire-button {
        order: 0;
        text-align: left;
    }
    #footer-social-inner {
        width: 50%;
    }
}

@media (max-width: 31.99em) {
    #footer-aus-contact,
    #footer-int-contact,
    #footer-current-contact,
    #footer-gen-contact {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 24.68em) {
    #footer-social {
        display: block;
    }
    #footer-enquire-button {
        text-align: center;
        margin-bottom: 0px;
    }
    #footer-social-inner {
        width: 100%;
    }
}

@media (min-width: 1020px) {
    #footer-current-contact h4 {
        padding-top: 18px;
    }
    #footer-gen-contact h4 {
        padding-top: 18px;
    }
    #footer-gen-contact.col-20-percent {
        padding: 0 .88rem;
    }
}
