* {
  box-sizing: border-box;
  font-family: 'Source Sans Pro', Verdana, sans-serif;

}

html{
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: url(../img/background/wild_oliva.png) left top repeat;
}

.grid_container {
  width: 100%;
  min-height: 100%;
  display: grid;
  grid-template-columns: [c1] 100px [c2] auto [c3] minmax(200px,300px) [c4];
  grid-template-rows: [r1] 85px [r2] auto [r3] 50px [r4];
}

header {
  grid-column: c1 / c4;
  grid-row: r1 / r2;
}

nav {
  grid-column: c1 /c2;
  grid-row: r2 / r3;
}

main {
  grid-column: c2 / c3;
  grid-row: r2 /r3;
}

aside {
  grid-column: c3 / c4;
  grid-row: r2 /r3;
  align-items: center;
  padding-top: 10px;
}

footer {
  grid-column: c2 / c3;
  grid-row: r3 / r4;
}

.grid_container {
  width: 100%;
  min-height: 100%;
  display: grid;
  display: -ms-grid;
  -ms-grid-columns: 100px auto minmax(200px,300px);
  -ms-grid-rows: 85px auto 50px;
}

header {
  -ms-grid-column: 1;
  -ms-grid-column-span: 3;
  -ms-grid-row: 1;
  -ms-grid-row-span:1;
}

nav {
  -ms-grid-column: 1;
  -ms-grid-column-span: 1;
  -ms-grid-row: 2;
  -ms-grid-row-span:1;
}

main {
  -ms-grid-column: 2;
  -ms-grid-column-span: 1;
  -ms-grid-row: 2;
  -ms-grid-row-span:1;
}

aside {
  -ms-grid-column: 3;
  -ms-grid-column-span: 1;
  -ms-grid-row: 2;
  -ms-grid-row-span:1;
}

footer {
  -ms-grid-column: 2;
  -ms-grid-column-span: 1;
  -ms-grid-row: 3;
  -ms-grid-row-span:1;
}header {
  background-color: white;
  border-bottom: 9px solid orange;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
}

header > img:nth-of-type(1) {
  height: 82px; 
  margin-left: 100px;
}

header > img:nth-of-type(2) {
  height: 41px;
  margin-left: 10px;
}

.top_links {
  flex: 1 1 auto;
  display: flex;
  flex-flow: row nowrap;
  flex-direction: row-reverse;
  justify-content: space-around;
  align-items: center;
  max-width: 300px;
  margin-left: auto;
}

.top_links > a {
  flex: 0 1 auto;
}

.top_links > a > svg {
  width: 55px;
  height: 55px;
  border-radius: 4px;
}

.icon_smartphone {
  background-color: #34495E;
}

.icon_menu {
  fill: black;
  background-color: black;
}

header > button {
  background: none;
  border: none;
  margin-left: auto;
  display: none;
}

header > button:active, header > button:focus {
  outline: 0;
}

header > button > svg {
  width: 55px;
  height: 55px;

}nav {
  background-color: rgba(0, 0, 0, .6);
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-content: flex-start;
  padding-top: 10px;
  overflow-y: auto;
}

nav::-webkit-scrollbar {
    width: 10px;
    background-color: grey;
}
 
nav::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    border-radius: 10px;
}
 
nav::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}

nav > a {
  display: block;
  width: 90px;
  flex: 0 1 auto;
  text-decoration: none;
  text-align: center;
  margin-bottom: 5px;
}

nav > a > span  {
  color: transparent;
  text-transform: uppercase;
  font-size: 70%;
  transition: color 1s;
}

nav > a > svg {
  width: 40px;
  height: 40px;
  margin: 0 20px;
  fill: #ffffff;  
}

nav > a:hover svg {
  filter: brightness(60%);
}

nav > a:hover span {
  filter: brightness(60%);
}

nav:hover span{
  color: white;
}

nav:hover .icon_home {
  fill: #7d3c98;
}

nav:hover .icon_calendar {
  fill: #cb4335;
}

nav:hover .icon_design {
  fill: #2e86c1;
}

nav:hover .icon_employment {
  fill: #138d75;
}

nav:hover .icon_form {
  fill: #28B463;
}

nav:hover .icon_locations {
  fill: #d68910;
}

nav:hover .icon_services {
  fill: #ba4a00;
}

nav:hover .icon_staff {
  fill: #D60D25;
}

nav:hover .icon_newsletter {
  fill: #f4d03f;
}

nav:hover .icon_referrals {
  fill: #5DADE2;
}

nav:hover .icon_handbook {
  fill: #c39bd3;
}

.nav_fb {
  display: none;
}

.sticky_nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100px;
  height: 100%;
}

main {
  display: flex;
  flex-flow: row wrap;
  padding-top: 20px;
  justify-content: center;
  align-items: flex-start;
}

section {
  flex: 1 1 auto;
  background-color: #ffffff;
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  border-radius: 5px;
}

section > h1 {
  font-size: 2rem;
  margin-left: 20px;
}

section > h3 {
  color: #222;
  width: 100%;
  background-color: #ddd;
  padding: 10px 0px 10px 20px;
}

section > h3 > span {
  font-style: italic;
  color: white;
  margin-left: 20px;
}

.columns {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.col_600 {
  flex: 0 1 auto;
  width: 60%;
  min-width: 300px;
  margin: 0 10px;
}

section p {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #222;
}

section > p
{
  margin: 0px 10px 10px 10px;
}

.col_400 {
  flex: 0 1 auto;
  width: 40%;
  min-width: 200px;
  margin: 0 10px;

}

.col_400 > img {
  margin-top: 10px;
  max-width: 100%;
}

.return_link {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  margin-bottom: 10px;
  color: white;
  margin: 0px auto 10px;
  padding: 5px 10px;
  border-radius: 5px;
}

.return_link > span  {
  margin-left: 15px;
  font-size: 1.5rem;
}

.return_link > svg {
  width: 60px;
  height: 60px;
  fill: white;
}

.return_link:hover svg {
  filter: brightness(80%);
}

.return_link:hover span {
  filter: brightness(80%);
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
/* IE10+ CSS styles go here */

section {
  flex: 1 1 0%;
}

.columns {
}

.col_600 {
  flex: 0 1 0%;
}

.col_400 {
  flex: 0 1 0%;
}

main {
  background: none;
  background-color: white;
}

}aside {
  background-color: rgba(0, 0, 0, .6);
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: center;
  padding-top: 10px;
}

.notices
{
  color: white;
  width: 90%;
  border-radius: 5px;
  margin-bottom: 20px;
  background-color: #5DADE2;
}

.notices h1 {
  text-align: center;
  border-top: 1px solid #5DADE2;
  width: 100%;
}

.notices p {
  padding: 0 10px;
}

.notices p:nth-of-type(1) {
  font-size: .9rem;
  font-style: italic;
}

.notices p:nth-of-type(2)
{
  font-size: 1.1rem;
  line-height: 1.5;
}

.alerts
{
  color: white;
  width: 90%;
  border-radius: 5px;
  margin-bottom: 20px;
  background-color: #28B463;
  margin-top: 20px;
}

.alerts h1 {
  text-align: center;
  border-top: 1px solid #28B463;
  width: 100%;
}

.alerts p {
  padding: 0 10px;
    font-size: 1.1rem;
  line-height: 1.5;
}


aside > a {
  display: block;
  max-width: 90%;
  flex: 0 1 auto;
  text-decoration: none;
  text-align: center;
  margin-bottom: 5px;
  background-color: #A569BD;
  border-radius: 5px;
}

aside > a > span {
  color: white;
}

aside > a > span:nth-of-type(1)  {
  font-size: 150%;
  font-style: italic;
}

aside > a > span:nth-of-type(2)  {
  text-transform: uppercase;
  font-size: 220%;
}

aside > a > svg {
  width: 70%;
  height: 70%;
  fill: #ffffff;
  margin: 10px 15% 0px;
}

aside > a:hover {
  background-color: #7D3C98;
}footer {
  background-color:rgba(192,192,192,0.3);
  display: flex;
  flex-flow: row nowrap;
}

.blcorner {
  flex: 0 0 auto;
  width: 100px;
  margin-right: auto;
}

footer > p {
  flex: 1 1 auto;
  font-size: .8rem;
  text-align: center;
  height: 100%;
  margin: 0;
  padding: 5px 0 0 0;

}

.brcorner {
  flex: 1 1 auto;
  min-width: 200px;
  max-width: 300px;
  margin-left: auto;
}

@media screen and (max-width: 1440px) {
  main {
    background-color: white;
  }
}

@media screen and (max-width: 1024px)
{
  .grid_container {
  grid-template-columns: [c1] 100px [c2] auto [c3] 200px [c4];
  }

  footer {
  grid-column: c2 / c3;
  }

  footer > p {
    margin: 0;
  }
}

@media screen and (max-width: 865px)
{

  .grid_container {
    grid-template-columns: [c1] 100px [c2] auto [c3] 0px [c4];
  }

  aside{
    display: none;
  }

  header > img:nth-of-type(1) {
    margin-left: 10px;
  }

  footer {
    background-color: white;
    border-top: 1px solid grey;
  }

  .top_links {
    max-width: 200px;
  }

  .top_links > a > svg {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  }
}


@media screen and (max-width: 665px) {
  .grid_container {
  grid-template-columns: [c1] 0px [c2] auto [c3] 0px [c4];
  grid-template-rows: [r1] 85px [r2] auto [r3] 50px [r4];
  }

  nav {
    z-index: -1;
    grid-column: c2 /c3;
    grid-row: r2 / r3;
    background-color: black;
    display: none;
    flex-flow: row wrap;
    justify-content: space-around;
    align-content: flex-start;
    padding-top: 10px;
    overflow-y: auto;
    position: fixed;
    top: 82px;
  }

  .hidden_tiger {
  display: none;
}

.crouching_tiger {
    display: flex;
    z-index: 1;
}

  header > .top_links {
    display: none;
  }



  

  header > button {
    display: inherit;
  }

  header > button:hover .icon_menu{
    fill: red;
  }

  nav > .nav_fb {
    display: block;
  }


  nav > a:hover svg {
    filter: brightness(60%);
  }

  nav > a:hover span {
    filter: brightness(60%);
  }

  nav > a > span{
    color: white;
  }

  nav .icon_home {
    fill: #7d3c98;
  }

  nav .icon_calendar {
    fill: #cb4335;
  }

  nav .icon_design {
    fill: #2e86c1;
  }

  nav .icon_employment {
    fill: #138d75;
  }

  nav .icon_form {
    fill: #28B463;
  }

  nav .icon_locations {
    fill: #d68910;
  }

  nav .icon_services {
    fill: #ba4a00;
  }

  nav .icon_staff {
    fill: #D60D25;
  }

  nav .icon_newsletter {
    fill: #f4d03f;
  }

  nav .icon_referrals {
    fill: #5DADE2;
  }

  nav .icon_handbook {
    fill: #c39bd3;
  }
}

@media screen and (max-width: 565px) {
  .col_400 {
    display: none;
  }

  .col_600 {
    width: 100%;
  }

}

@media screen and (max-width: 400px) {


  .grid_container {
  grid-template-columns: [c1] 0px [c2] 100% [c3] 0px [c4];
  grid-template-rows: [r1] 85px [r2] auto [r3] 50px [r4];
  }

  body {
    background: none;
    background-color: white;
    }

  main, .col_600 {
    padding: 0;
    margin: 0;
  }

  .col_600 {
    min-width: 100%;
  }

    header {
    justify-content: space-between;
  }

  

  main {
  }
  
  header > img:nth-of-type(1) {
    height: 42px;
    margin: auto;
  }

  header > img:nth-of-type(2) {
    height: 21px;
    margin: auto;
  }

  header > button {
    margin: auto;
  }

  header > button > svg {
    width: 35px;
    height: 35px;
  }

  section > h1 {
  font-size: .9rem;
  }

  h3{
    font-size: .8rem;
  }
  }


@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1){
  
  .grid_container {
  grid-template-columns: [c1] 0px [c2] auto [c3] 0px [c4];
  grid-template-rows: [r1] 85px [r2] auto [r3] 50px [r4];
  }

  nav {
    z-index: -1;
    grid-column: c2 /c3;
    grid-row: r2 / r3;
    background-color: black;
    display: none;
    flex-flow: row wrap;
    justify-content: space-around;
    align-content: flex-start;
    padding-top: 10px;
    overflow-y: auto;
    position: fixed;
    top: 82px;
  }

  .hidden_tiger {
  display: none;
}

.crouching_tiger {
    display: flex;
    z-index: 1;
}

  header > .top_links {
    display: none;
  }



  

  header > button {
    display: inherit;
  }

  header > button:hover .icon_menu{
    fill: red;
  }

  nav > .nav_fb {
    display: block;
  }


  nav > a:hover svg {
    filter: brightness(60%);
  }

  nav > a:hover span {
    filter: brightness(60%);
  }

  nav > a > span{
    color: white;
  }

  nav .icon_home {
    fill: #7d3c98;
  }

  nav .icon_calendar {
    fill: #cb4335;
  }

  nav .icon_design {
    fill: #2e86c1;
  }

  nav .icon_employment {
    fill: #138d75;
  }

  nav .icon_form {
    fill: #28B463;
  }

  nav .icon_locations {
    fill: #d68910;
  }

  nav .icon_services {
    fill: #ba4a00;
  }

  nav .icon_staff {
    fill: #D60D25;
  }

  nav .icon_newsletter {
    fill: #f4d03f;
  }

  nav .icon_referrals {
    fill: #5DADE2;
  }

  nav .icon_handbook {
    fill: #c39bd3;
  }


}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2){
  
  .grid_container {
  grid-template-columns: [c1] 0px [c2] auto [c3] 0px [c4];
  grid-template-rows: [r1] 85px [r2] auto [r3] 50px [r4];
  }

  nav {
    z-index: -1;
    grid-column: c2 /c3;
    grid-row: r2 / r3;
    background-color: black;
    display: none;
    flex-flow: row wrap;
    justify-content: space-around;
    align-content: flex-start;
    padding-top: 10px;
    overflow-y: auto;
    position: fixed;
    top: 82px;
  }

  .hidden_tiger {
  display: none;
}

.crouching_tiger {
    display: flex;
    z-index: 1;
}

  header > .top_links {
    display: none;
  }



  

  header > button {
    display: inherit;
  }

  header > button:hover .icon_menu{
    fill: red;
  }

  nav > .nav_fb {
    display: block;
  }


  nav > a:hover svg {
    filter: brightness(60%);
  }

  nav > a:hover span {
    filter: brightness(60%);
  }

  nav > a > span{
    color: white;
  }

  nav .icon_home {
    fill: #7d3c98;
  }

  nav .icon_calendar {
    fill: #cb4335;
  }

  nav .icon_design {
    fill: #2e86c1;
  }

  nav .icon_employment {
    fill: #138d75;
  }

  nav .icon_form {
    fill: #28B463;
  }

  nav .icon_locations {
    fill: #d68910;
  }

  nav .icon_services {
    fill: #ba4a00;
  }

  nav .icon_staff {
    fill: #D60D25;
  }

  nav .icon_newsletter {
    fill: #f4d03f;
  }

  nav .icon_referrals {
    fill: #5DADE2;
  }

  nav .icon_handbook {
    fill: #c39bd3;
  }


}
