@media screen and (min-width: 50px) and (max-width: 900px){
  body{
    background-color: #ffffff;
    background-image: url("../sources/index/indexBG_res.png");
    background-attachment: absolute;
    background-position: top;
    background-repeat: repeat-y;
    background-size: 100% auto;
  }
  div#header{
    display: none;
  }
  div#resHeader{
    z-index: 5;
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: #ffffff;
    box-shadow: 0px 0px 30px -10px #323232;
    overflow: hidden;
    transition: height 0.5s;
  }
  #resHeader.active{
    height: 100%;
    transition: height 0.5s;
  }
  div#headerLogoCon{
    width: 50px;
    height: 50px;
    position: absolute;
    top: 10px;
    left: 8vw;
  }
  div#menuButton{
    width: 35px;
    height: 40px;
    position: absolute;
    top: 15px;
    right: 8vw;
    background: url("../sources/system/resHeaderMenuB.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-attachment: absolute;
    transition: background 0.5s;
  }
  div#menuButton:hover{
    cursor: pointer;
  }
  #menuButton.active{
    background: url("../sources/system/resHeaderMenuCloseB.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-attachment: absolute;
    transition: background 0.5s;
  }
  div#headerBody{
    position: absolute;
    top: 80px;
    left: 0;
    width: calc(100% - 16vw);
    height: calc(100% - 80px - 2em);
    padding: 2em 8vw;
    padding-top: 0;
  }
  a#headerTitleLink{
    text-decoration: none;
  }
  span#headerLogoText{
    color: #262626;
    font-family: nexaBold;
    font-size: 2.5em;
    line-height: 1em;
  }
  span#headerLogoSubText{
    color: #262626;
    font-family: nexaLight;
    font-size: 0.9em;
  }
  div.headerLinks{
    position: relative;
    display: inline-block;
  }
  svg#logo{
    height: 50px;
  }
  .logoRed{
    fill:#e02726;
    transition: opacity 0.4s;
  }
  .logoYellow{
    fill:#f7a800;
    transition: opacity 0.4s;
  }
  .logoBlue{
    fill:#004788;
    transition: opacity 0.4s;
  }
  .logoRedStroke{
    fill: #e02726;
  }
  .logoYellowStroke{
    fill: #f7a800;
  }
  .logoBlueStroke{
    fill: #004788;
  }
  svg#logo:hover{
    pointer-events: none;
  }
  svg#aboutus, svg#products, svg#painttips, svg#contactus{
    display: inline-block;
    height: 20px;
  }
  .aboutFill, .productsFill, .painttipsFill, .contactUsFill{
    fill: transparent;
    transition: fill 0.3s;
  }
  .aboutStroke{
    fill: #262626;
  }
  .productsStroke{
    fill: #e02726;
  }
  .painttipsStroke{
    fill: #f7a800;
  }
  .contactUsStroke{
    fill: #004788;
  }
  div#aboutHolder, div#productsHolder, div#painttipsHolder, div#contactUsHolder{
    display: inline-block;
    position: relative;
    margin: 10px 0px;
    vertical-align: middle;
  }
  div#aboutHolder:hover, div#productsHolder:hover, div#painttipsHolder:hover, div#contactUsHolder:hover{
    cursor: pointer;
  }
  #aboutText, #productsText, #painttipsText, #contactUsText{
    position: relative;
    display: inline-block;
    color: #262626;
    font-family: nexaLight;
    font-size: 1.5em;
    text-align: left;
    padding-left: 5px;
  }
  #aboutHolder:hover .aboutFill{
    fill: #262626;
    transition: fill 0.3s;
  }
  #productsHolder:hover .productsFill{
    fill: #e02726;
    transition: fill 0.3s;
  }
  #painttipsHolder:hover .painttipsFill{
    fill: #f7a800;
    transition: fill 0.3s;
  }
  #contactUsHolder:hover .contactUsFill{
    fill: #004788;
    transition: fill 0.3s;
  }

  a.indexLink{
    font-family: nexaBold;
    color: #f7a800;
    text-decoration: none;
    transition: opacity 0.3s;
  }
  a.indexLink:hover{
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.3s;
  }
}

@media screen and (min-width: 901px){
  body{
    background-color: #ffffff;
    background-image: url("../sources/index/indexBG.png");
    background-attachment: absolute;
    background-position: top;
    background-repeat: repeat-y;
    background-size: 100% auto;
  }
  div#resHeader{
    display: none;
  }
  div#header{
    z-index: 5;
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0px 0px 30px -10px #323232;
    overflow: hidden;
    transition: height 0.3s;
  }
  div#header:hover{
    height: 140px;
    transition: height 0.3s;
  }
  #header:hover #headerLogoPseudo, #header:hover .headerLinks{
    width: 10%;
    transition: width 0.3s;
  }
  #header:hover .headerTableEnds{
    width: 25%;
    transition: width 0.3s;
  }
  #header:hover #aboutus, #header:hover #products, #header:hover #painttips, #header:hover #contactus{
    height: 20px;
    transition: height 0.3s;
  }
  #header:hover #aboutText, #header:hover #productsText, #header:hover #painttipsText, #header:hover #contactUsText{
    display: block;
  }
  div#headerLogoCon{
    width: 50px;
    height: 50px;
    position: absolute;
    top: 15px;
    left: 50%;
    margin-left: -25px;
    vertical-align: middle;
  }
  table#headerTable{
    width: 100%;
    height: auto;
  }
  td#headerLogoPseudo{
    width: 5%;
    height: 80px;
    transition: width 0.3s;
  }
  td.headerLinks{
    width: 5%;
    height: 80px;
    transition: width 0.3s;
  }
  td.headerText{
    font-family: nexaLight;
    font-size: 0.9em;
    color: #262626;
  }
  td.headerTableEnds{
    width: 37.5%;
    transition: width 0.3s;
  }
  span#headerLogoText{
    color: #262626;
    font-family: nexaBold;
    font-size: 2em;
    line-height: 0.9em;
  }
  span#headerLogoSubText{
    color: #262626;
    font-family: nexaLight;
    font-size: 0.75em;
  }
  svg#logo{
    height: 50px;
  }
  .logoRed{
    fill:#e02726;
    transition: opacity 0.4s;
  }
  .logoYellow{
    fill:#f7a800;
    transition: opacity 0.4s;
  }
  .logoBlue{
    fill:#004788;
    transition: opacity 0.4s;
  }
  .logoRedStroke{
    fill: #e02726;
  }
  .logoYellowStroke{
    fill: #f7a800;
  }
  .logoBlueStroke{
    fill: #004788;
  }
  svg#logo:hover{
    pointer-events: none;
  }
  svg#aboutus, svg#products, svg#painttips, svg#contactus{
    height: 13px;
    transition: height 0.3s;
  }
  .aboutFill, .productsFill, .painttipsFill, .contactUsFill{
    fill: transparent;
    transition: fill 0.3s;
  }
  .aboutStroke{
    fill: #262626;
  }
  .productsStroke{
    fill: #e02726;
  }
  .painttipsStroke{
    fill: #f7a800;
  }
  .contactUsStroke{
    fill: #004788;
  }
  div#aboutHolder, div#productsHolder, div#painttipsHolder, div#contactUsHolder{
    display: inline-block;
    position: relative;
    padding: 0px 10px;
    vertical-align: middle;
  }
  div#aboutHolder:hover, div#productsHolder:hover, div#painttipsHolder:hover, div#contactUsHolder:hover{
    cursor: pointer;
  }
  #aboutHolder #aboutText, #productsHolder #productsText{
    display: none;
    position: absolute;
    top: 2px;
    right: 40px;
    width: 65px;
    height: auto;
    color: #262626;
    font-family: nexaLight;
    font-size: 0.9em;
    text-align: right;
  }
  #painttipsHolder #painttipsText, #contactUsHolder #contactUsText{
    display: none;
    position: absolute;
    top: 2px;
    left: 40px;
    width: 75px;
    height: auto;
    color: #262626;
    font-family: nexaLight;
    font-size: 0.9em;
    text-align: left;
  }
  #aboutHolder:hover .aboutFill{
    fill: #262626;
    transition: fill 0.3s;
  }
  #productsHolder:hover .productsFill{
    fill: #e02726;
    transition: fill 0.3s;
  }
  #painttipsHolder:hover .painttipsFill{
    fill: #f7a800;
    transition: fill 0.3s;
  }
  #contactUsHolder:hover .contactUsFill{
    fill: #004788;
    transition: fill 0.3s;
  }

  a.indexLink{
    font-family: nexaBold;
    color: #f7a800;
    text-decoration: none;
    transition: opacity 0.3s;
  }
  a.indexLink:hover{
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.3s;
  }
}
