@charset "utf-8";
/* CSS Document */

@media screen and (min-width: 768px){
  .mobileOnly {
    display: none;
  }
}

/* *** --- MOBILE VIEW --- *** */
@media screen and (max-width: 767px){
  .pcOnly {
    display: none;
  }
  
  body {
    font-size: 19px;
    max-width: 100vw;
  }
  
  .parallax {
    background-attachment: scroll;
  }
  
  .banner.parallax {
    background-size: 100% auto;
  }
  
  .pageSwish:before {
    background-position: top left -50%;
  }
  
  header.siteHeader {
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  header.siteHeader .siteLogo {
    max-width: 50%;
  }
  
  nav.siteMenu {
    position: fixed;
    opacity: 0;
    right: -260px;
    transition: all .3s ease, color .3s linear, background .3s linear;   
    top: 60px;
    width: 260px;
    max-width: 100vw;
    background-color: var(--site-background);
    line-height: 1.6;
    border-left: solid 1px #707070;
    box-shadow: -5px 5px 10px 0px rgba(0,0,0,0.1);
    padding: 10px;
    min-height: calc(100vh - 60px);
    background-image: url("images/EMACCS Logo Purple Swish.png");
    background-repeat: no-repeat;
    background-position: bottom right 80%;
    background-size: 150%;
  }
  
  nav.pageMenu {
    display: none;
  }
  
  nav.siteMenu.on {
    display: block;
    opacity: 1;
    right: 0px;
  }
  
  nav.siteMenu .labelledDetail {
    font-size: 16px;
  }
  
  ul.siteMenu li {
    display: block;
    vertical-align: middle;
  }
  
  h1 {
    font-size: 19px;
  }
  
  h2 {
    font-size: 26px;
  }
  
  h3 {
    font-size: 19px;
    font-family: var(--accent-font);
  }
  
  .standardPadding {
    padding: 30px;
  }
  
  img {
    max-width: 100%;
  }
  
  .banner {
    height: 215px;
    background-size: contain;
  }
  
  .banner.home {
    /*background-position: bottom 60px left;*/
  }
  
  .banner + .articles {
    margin-top: 20px;    
  }
  
  section.articles {    
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .iconBox {
    padding: 0px;
  }
  
  .backgroundAccent .iconBox {
    padding-left: 10px;
  }
  
  .iconBox > img {
    float: left;
    margin-right: 13px;
    margin-top: 65px;
    max-width: 20%;
  }
  
  .iconBoxText {
    overflow: hidden;
    font-size: 16px;
    text-align: center;
    min-height: 190px;
  }
  
  .greyPanel, .lightGreyBox {
    padding: 20px;
  }
  
  .greyPanel img {
    max-height: 25vh;
  }
  
  ul.none {
    font-size: 19px;
  }
  
  label.checkbox {
    white-space: normal;
    display: inline-block;
  }
}