/* Nav section starts*/

.nav {
  padding-top: 20px;
  list-style: none;
  z-index: 99;
  text-align: center;
  background-color: #FFF;
}


.nav a {
  height: 40px;
  width: 15%;
  text-decoration: none;
  font-size: 16.8px;
  font-weight: lighter;
  color: #1a3549;
  display: inline-block;
  transition: .3s background-color;
  border-bottom: 3px solid;
  border-color: #FFF;
  letter-spacing: 1px;
}
 
 

.nav a:hover {
  border-color: #c39431;
}
 


.nav .icon {
  display: none;
}


.anchor {
  display: inline-block;
  height: 210px; /*same height as header*/
  margin-top: -210px; /*same height as header*/
  visibility: hidden;
}

/* Nav section ends*/


/* Screens over 2000px wide*/
@media only screen and (max-width:2000px){
  .nav li {
    width: 15%;
    border-bottom: 3px solid;
    height: 50px;
    line-height: 50px;
    font-size: 16.8px;
    display: inline-block;
    margin-right: -4px;
  }




}


/* Screens over 1440px wide*/
 
@media screen and (max-width: 1440px) {

}




/* Screens over 960px wide*/

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

    .nav a {
    font-size: 20px;
    padding-top: 0px;
  }

  .nav a:hover {
  border-color: #FFF;
  color: #c39431;
}

  .nav a:not(:first-child) {display: none;}
  .nav a.icon {
    float: right;
    display: block;
    border-bottom: 0;
  }

  .nav.responsive {position: relative;}
  .nav.responsive .icon {
    right: 0;
    top: 10px;
  }
  .nav.responsive a {
    float: none;
    display: block;
    text-align: center;
    width: 100%;
  }

}


/* default iPad screens */
@media only screen and (max-width:768px){

  .nav a {
    font-size: 20px;
    padding-top: 0px;
  }

  .nav a:hover {
  border-color: #FFF;
  color: #c39431;
}

  .nav a:not(:first-child) {display: none;}
  .nav a.icon {
    float: right;
    display: block;
    border-bottom: 0;
  }

  .nav.responsive {position: relative;}
  .nav.responsive .icon {
    right: 0;
    top: 10px;
  }
  .nav.responsive a {
    float: none;
    display: block;
    text-align: center;
    width: 100%;
  }
}


/* styles for mobile browsers smaller than 480px; (iPhone) */
@media only screen and (max-width:600px){

  .nav a {
    font-size: 20px;
    padding-top: 0px;
  }

  .nav a:hover {
  border-color: #FFF;
  color: #c39431;
}

  .nav a:not(:first-child) {display: none;}
  .nav a.icon {
    float: right;
    display: block;
    border-bottom: 0;
  }

  .nav.responsive {position: relative;}
  .nav.responsive .icon {
    right: 0;
    top: 10px;
  }
  .nav.responsive a {
    float: none;
    display: block;
    text-align: center;
    width: 100%;
  }
}



