#home
{
  position:relative;
  width: 200px;
  margin: auto;
  margin-top:20px;
  z-index:5000;
}
@media screen and (min-width: 400px) {
  #home
  {
      width: 200px;
      margin-top:52px;
  }
}
@media screen and (min-width: 600px) {
  #home
  {
      width: 350px;
      margin-top:54px;
  }
}
@media screen and (min-width: 800px) {
  #home
  {
      width: 450px;
      margin-top:30px;
  }
}
@media screen and (min-width: 1000px) {
  #home
  {
      width: 750px;
  }
}
@media screen and (min-width: 1200px) {
  #home
  {
      width: 800px;
  }
}

#home a 
{
   width: 75px;
    border-radius: 10px;
    height: 22px;
    text-align: center;
    padding: 2px;
    background: #f7f7f7;
    color: #27AEC5;
    text-decoration: none;
    border: 1px solid #cbcbcb;
    display: block;
    font-size: 12px;
}
#home a:hover
{ background: #e7e7e7;}
.affix
{
  top: 20px;
  width: 19%;
}
@media screen and (min-width: 1000px) {
  .affix
  {
      width: 22.8%;
  }
}
@media screen and (min-width: 1200px) {
  .affix
  {
      width: 16%;
  }
}
/*bootstrap OVERWRITES*/
nav
{
  margin-top: 25px;
  display: none;
}
@media screen and (min-width: 800px) {
  nav
  {
     display: block;
  }
}
.nav-pills
{
  border-right: 1px solid #ccc;
}

a:hover
{
  color: #fafafafa !important;
}
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
  color: #fafafafa !important;
  background-color: #095a68 !important;
}
.nav-pills>li>a
{
  color: #095a68;
  border-radius: 0 !important;
    padding-top: 12px !important;
  padding-bottom: 12px !important;
}
.nav-pills>li>a:hover
{
  color: #fafafa !important;
  background-color: #0C778A !important;
}

/*content*/
#content
{
  padding-left: 0;
  padding-right: 0;
}
#nextPage
{
    position: absolute;
    padding-top: 30px;
    left: auto;
    right: 60px;
    top: -32px;
    z-index: 500;
}
#nextPage,#prevPage
{

    width: 75px;
    border-radius: 10px;
    height: 22px;
    text-align: center;
    padding: 2px;
    background: #f7f7f7;
    color: #27AEC5;
    text-decoration: none;
    border: 1px solid #cbcbcb;
    display: block;
    font-size: 12px;
    z-index:6000;
}
#nextPage:hover,#prevPage:hover
{
  background: #e7e7e7;
}
#prevPage
{
    position: absolute;
    right: auto;
    left: 60px;
    top: -32px;
    z-index: 500;
}
.section
{
  background-color: #fafafa;
  margin-top: 25px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 30px;
  position: relative;
}
.section a
{
  text-decoration: none;
}
.section h3:hover
{
  color: #0C778A;
}
.section h3
{
  color: #095a68;
  padding-left: 30px;
  
}
.sectionContent
{
  padding-bottom: 30px;
}
.sectionContent a
{
  width: 210px;
  padding-top: 20px;
  display: inline-block;
  vertical-align: top;
  padding-left: 10px;
}
@media screen and (min-width: 400px) {
  .sectionContent a
  {
    width: 265px;
    padding-left: 30px;
  }
}
@media screen and (min-width: 600px) {
  .sectionContent a
  {
    width: 240px;
    padding-left: 30px;
  }
}
@media screen and (min-width: 800px) {
  .sectionContent a
  {
    width: 220px;
  }
}
@media screen and (min-width: 1000px) {
  .sectionContent a
  {
    width: 240px;
  }
}
@media screen and (min-width: 1200px) {
  .sectionContent a
  {
    width: 240px;
  }
}
.sectionContent img
{
  width: 100%;
}
.sectionContent p
{
  width: 240px;
  height: 165px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  padding-left: 20px;
  padding-top: 15px;
  padding-right: 30px;
  color: #666;
}
@media screen and (min-width: 400px) {
  .sectionContent p
  {
    width: 290px;
  }
}
@media screen and (min-width: 600px) {
  .sectionContent p
  {
    width: 200px;
    padding-right: 0;
  }
}
@media screen and (min-width: 800px) {
  .sectionContent p
  {
    width: 210px;
    padding-left: 30px;
  }
}
@media screen and (min-width: 1000px) {
  .sectionContent p
  {
    width: 240px;
    padding-left: 30px;
  }
}
@media screen and (min-width: 1200px) {
  .sectionContent p
  {
    width: 240px;
    padding-left: 30px;
  }
}
.sectionYear
{
  position: absolute;
  bottom: auto;
  top:25px;
  left: 30px;
  right: auto;
}
.sectionYear p
{
  font-size: 10px;
  color: #ccc;
}