
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #222;
  
  font-family: Helvetica, Arial, sans-serif;
}

.fullscreen-mask {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  /*width: 100%;*/
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.front-page-view,
.section-page-view,
.read-page-view {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  
  overflow: hidden;
  overflow-y: auto;
  
  background: white;
  /*border: 1px solid #ddd;*/
  
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
  .page-view .content {
    width: 860px;
    margin: 20px auto;
  }

.navigation-view {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  
  overflow: hidden;
}

.view-layout .info-bar {
  display: block;
  text-decoration: none;

  padding: 20px;
  font-size: 0.9em;
  line-height: 0.9em;
  text-align: center;
  color: #777;

  text-transform: uppercase;
  letter-spacing: 10px;
}
.view-layout a.info-bar {
  color: #333;
}
.view-layout a.info-bar:hover {
  color: #000;
  background-color: #eeeeee;
}



#front {
  width: 962px;
  margin: 0 auto;
  
  background: white;
  /*border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;*/
}
  #front header.title {
    margin-bottom: 40px;
    border-bottom: 1px solid black;
  }
    #front header.title .title-bar {
      /*font-family: CordaLight, "Times New Roman", serif;
      font-size: 50px;*/
      
      font-family: DroidSerifRegular, "Times New Roman", serif;
      font-size: 50px;
      
      text-transform: uppercase;
      
      padding: 8px 0 7px;
      
      text-align: center;
      
      border-bottom: 3px solid black;
    }
    #front header.title .info-bar {
      font-family: Tahoma, sans-serif;
      font-size: 12px;
      
      padding: 3px 5px;
    }
      #front header.title .info-bar table {
        width: 100%;
      }
      #front header.title .info-bar .timestamp {
      }
      #front header.title .info-bar .account {
        text-align: right;
      }

  #front .sections {
    padding-bottom: 10px;
  }


/* Header compact */

header.title-compact {
  position: fixed;
  top: 0;
  width: 961px;

  overflow: hidden;
  
  z-index: 800;
  
  /*-webkit-box-shadow: 0px 12px 35px 3px rgba(255, 255, 255, 0.9);
  box-shadow: 0px 12px 35px 3px rgba(255, 255, 255, 0.9);*/
  
  /*-webkit-box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.4);
  box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.4);*/
  
  margin-bottom: 35px;
  /*padding-bottom: 1px;
  border-bottom: 1px solid black;*/
}
  header.title-compact .title-bar {
    background: white;

    /*-webkit-box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.4);
    box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.4);*/
    
    /*margin-left: -2px;
    margin-right: -2px;*/
    margin-bottom: 10px;
    
    padding: 4px 0 3px;
    
    border-bottom: 3px solid black;
  }
    header.title-compact .title-bar table {
      width: 100%;
    }
      header.title-compact .title-bar table td {
        vertical-align: middle;
        padding: 0 4px;
      }
      header.title-compact .title-bar table td span {
        display: inline-block;
        vertical-align: middle;
      }
    header.title-compact .title-bar .app-title {
      font-family: DroidSerifRegular, "Times New Roman", serif;
      font-size: 20px;
      line-height: 20px;

      text-transform: uppercase;
      padding: 4px 0 3px;
      text-align: left;
    }
    header.title-compact .title-bar .section-title {
      font-family: PTSansNarrowRegular, sans-serif;
      font-size: 20px;
      line-height: 20px;

      padding: 7px 0 0;
      text-transform: uppercase;
      text-decoration: none;
      color: black;
    }
    header.title-compact .info-bar {
      text-align: right;
    }
      header.title-compact .info-bar .timestamp {
        font-family: Tahoma, sans-serif;
        font-size: 12px;
      }
      header.title-compact .info-bar .account {
        font-family: Tahoma, sans-serif;
        font-size: 12px;

        text-align: right;
      }


/* SectionView */

#section {
  width: 961px;
  margin: 0 auto;

  background: white;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
}
  #section .section {
    margin-top: 65px;
  }
  
  #section .view-layout {
    border-bottom: none;
    padding-bottom: 50px;
    margin-bottom: 0;
  }


/* ReadView */

#read {
  width: 961px;
  margin: 0 auto;

  background: white;
  /*border-left: 1px solid transparent;
  border-right: 1px solid transparent;*/
}
  #read .scroll-page {
    overflow-x: hidden;
    overflow-y: scroll;
  }

  /*#read .content {
    margin-top: 65px;
    width: 961px;
  }
    #read .content td {
      vertical-align: top;
    }
    #read .content td.article {
      width: 690px;
    }
    #read .content td.aside {
      width: 269px;
      border-left: 1px solid transparent;
      background: #F2F2F2;
      
      padding: 20px;
      
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
    }*/
    
  #read .left-arrow,
  #read .right-arrow {
    position: absolute;
    top: 40%;
    
    z-index: 850;
    cursor: pointer;
    
    background: #ddd;
    width: 70px;
    height: 80px;
    
    font-size: 40px;
    line-height: 110px;
    color: #555;
  }

  #read .left-arrow {
    left: 0;

    -webkit-border-radius: 0 130px 130px 0;
    -moz-border-radius: 0 130px 130px 0;
    border-radius: 0 130px 130px 0;

    height: 110px;
    width: 55px;
  }
  #read .right-arrow {
    right: 0;
    
    -webkit-border-radius: 130px 0 0 130px;
    -moz-border-radius: 130px 0 0 130px;
    border-radius: 130px 0 0 130px;

    height: 110px;
    width: 55px;
    
    text-indent: 10px;
    font-size: 45px;
  }

  #read header.title-compact {
    margin-left: -1px;
  }
  
  #read .article {
  	margin: 0 auto;
  	/*margin-top: 65px;
  	width: 700px;*/
  	
  	width: 959px;
  	padding-top: 65px;
  	background: white;
  	border-left: 1px solid #ddd;
  	border-right: 1px solid #ddd;
  }
    #read .article article.reading {
      margin: 0 auto;
      width: 700px;
      padding-bottom: 50px;
    }

  #read aside.comments {
  	/*position: fixed;*/
  	position: absolute;
  	/*top: 65px;
  	right: -240px;*/
  	top: 0;
  	/*right: -348px;*/
  	right: 0;
  	bottom: 0;
	
    /*width: 350px;*/

    background: #F2F2F2;
    border-left: 3px solid #3B5998;
    /*border-left: 1px solid transparent;
    padding: 20px;*/
    
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;

	  /*-webkit-transition: all 200ms cubic-bezier(0.470, 0.000, 0.745, 0.715);
       -moz-transition: all 200ms cubic-bezier(0.470, 0.000, 0.745, 0.715);
        -ms-transition: all 200ms cubic-bezier(0.470, 0.000, 0.745, 0.715);
         -o-transition: all 200ms cubic-bezier(0.470, 0.000, 0.745, 0.715);
            transition: all 200ms cubic-bezier(0.470, 0.000, 0.745, 0.715);*/ /* easeInSine */
  }
  	/*#read aside.comments:hover {
	    right: 0;
	  }*/
	  #read aside.comments header {
	    position: absolute;
	    /*left: -60px;*/
	    /*top: 65px;*/
	    /*left: -68px;*/
	    left: -98px;
	    top: 140px;

      -webkit-transform: rotate(270deg) scale(1.01);
      -moz-transform: rotate(270deg) scale(1.01);
      -ms-transform: rotate(270deg) scale(1.01);
      -o-transform: rotate(270deg) scale(1.01);
      transform: rotate(270deg) scale(1.01);

	    padding: 20px;
	    padding-bottom: 0;
	    
	    cursor: pointer;

      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
	  }
	    #read aside.comments header > div {
  	    background: #3B5998;
  	    color: white;

  	    font-family: PTSansNarrowRegular, sans-serif;
  	    font-weight: bold;
  	    font-size: 20px;
  	    line-height: 20px;
  	    text-transform: uppercase;

  	    /*padding: 4px 7px;*/
  	    padding: 8px 7px 1px;

        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
      }
	  #read aside.comments .list {
	    padding: 20px;
    }


/* Article Preview */

article.preview {
  padding: 20px;
}
  article.preview .title {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 1.2em;
    line-height: 1.2;
    font-weight: bold;
    margin: 2px 0 3px;
  }
    article.preview .title a {
      color: black;
      text-decoration: none;
    }
  article.preview .info {
    font-size: 0.8em;
    line-height: 1.4;
    color: #777;
    margin-bottom: 0;
  }
    article.preview .info b {
      color: #555;
    }
  article.preview .brief {
    /* OpenSansRegular for Mac, OpenSansSemibold for Win */
    font-family: OpenSansRegular, Helvetica, Arial, sans-serif;
    margin-top: 0.8em;
    font-size: 0.9em;
    line-height: 1.6;
    color: #333;
  }
    article.preview .brief p:first-child {
      margin-top: 0;
    }
    article.preview .brief p:last-child {
      margin-bottom: 0;
    }


/* Full Article */

article.reading {
  padding: 0 20px 20px 0;
}
  article.reading .title {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 1.6em;
    line-height: 1.1;
    font-weight: bold;
	  color: black;
    margin: 2px 0 5px;
  }
  article.reading .byline {
    font-size: 0.8em;
    line-height: 1.4;
    color: #777;
    margin-bottom: 0;
  }
    article.reading .byline b {
      color: #555;
    }
  article.reading figure {
	  width: 100%;
    margin: 14px 0;
  }
  article.reading .body {
    font-family: OpenSansRegular, Helvetica, Arial, sans-serif;
    margin-top: 0.8em;
    font-size: 1.0em;
    line-height: 1.6;
    color: #333;
  }
    article.reading .body p:first-child {
      margin-top: 0;
    }
    article.reading .body p:last-child {
      margin-bottom: 0;
    }


/* BirdView */

  .birdview-layout .items {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
  }
    .birdview-layout .items .entries {
      float: left;
      width: 640px;
      border-right: 1px solid #ddd;
    }
    .birdview-layout .items aside {
      float: left;
      width: 319px;
      margin-left: -1px;
      
      padding: 0;
      border-left: 1px solid #ddd;
    }

  .birdview-layout .items article {
    /*border-right: 1px solid #ddd;*/
    border-top: 1px solid #ddd;
    padding: 20px;
    
    /*float: left;*/
    display: inline-block;
    vertical-align: top;
    
    width: 320px;
    max-height: 420px;
    overflow: hidden;
    
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    
    cursor: pointer;
  }
  

/* ViewLayout */

.view-layout {
  border-bottom: 1px solid #ddd;
  margin-bottom: 50px;
}
  .view-layout header {
    /*display: inline-block;
    vertical-align: top;

    padding: 0 5px;
    font-family: PTSansNarrowBold, sans-serif;
    font-size: 23px;
    line-height: 20px;
    border-bottom: 3px solid black;*/

    border-bottom: 2px solid #006a97;
  }
    .view-layout header > a {
      font-family: PTSansNarrowRegular, sans-serif;
      font-size: 23px;
      font-weight: bold;
      line-height: 23px;

      text-transform: uppercase;
      text-decoration: none;
      color: white;
      background-color: #006a97;
      padding: 7px 10px 0;
    }
    .view-layout header .updated {
      float: right;

      padding-right: 10px;
      font-size: 13px;
      line-height: 23px;
      color: #777;
    }
  .view-layout section {
    /*margin-top: -1px;
    border-top: 1px solid #ddd;*/
  }

  .view-layout .entry-cell:hover {
    background-color: #eeeeee;
    cursor: pointer;
  }
    /*.view-layout .items article .title {
      font-size: 1.2em;
      line-height: 1.2;
      font-weight: bold;
      margin-bottom: 8px;
    }
      .view-layout .items article .title a {
        color: black;
        text-decoration: none;
      }
    .view-layout .items article .info {
      font-size: 0.8em;
      line-height: 1.4;
      color: #333;
      margin-bottom: 5px;
    }*/
    .view-layout .items article figure {
      width: 100%;
      max-height: 180px;
      overflow: hidden;
      margin: 14px 0;
    }
      .view-layout .items article figure img {
        display: block;
        max-width: 100%;
        margin: 0 auto;
        background: #ddd;

        margin-top: -20%; /* ??? */
      }
    /*.view-layout .items article .brief {
      font-size: 0.9em;
      line-height: 1.6;
      color: #333;
    }
      .view-layout .items article .brief p:first-child {
        margin-top: 0;
      }
      .view-layout .items article .brief p:last-child {
        margin-bottom: 0;
      }*/

  .view-layout .items .featured-entries td.entry-cell {
    vertical-align: top;
  }
  .view-layout .items .featured-entries td.entry-cell:first-child {
    border-right: 1px solid #ddd;
  }
  .view-layout .items .featured-entries tr:first-child td.entry-cell:first-child {
    border-right: none;
  }
  
  .birdview-layout .items .featured-entries tr article {
    display: block;
    height: 100%;
  }

  .birdview-layout .items .featured-entries tr:first-child article {
    float: none;
    width: 640px;
    max-height: inherit;
    border-top: none;
  }
    .birdview-layout .items .featured-entries tr:first-child article .title {
      font-size: 1.6em;
      line-height: 1.1;
      margin-bottom: 5px;
    }
    .birdview-layout .items .featured-entries tr:first-child article figure {
      width: 100%;
      max-height: 250px;
      overflow: hidden;
      margin: 14px 0;
    }
      .birdview-layout .items .featured-entries tr:first-child article figure img {
        display: block;
        max-width: 100%;
        margin: 0 auto;
        background: #ddd;

        margin-top: -20%; /* ??? */
      }
    .birdview-layout .items .featured-entries tr:first-child article .brief {
      -webkit-column-count: 2;
      -moz-column-count: 2;
      column-count: 2;
      
      -webkit-column-gap: 31px;
      -moz-column-gap: 31px;
      column-gap: 31px;
    }

  .birdview-layout aside {
  }
    .birdview-layout aside article.preview {
      float: none;
      border: none;
      width: auto;
      /*margin: 0 20px 15px;
      padding: 0 0 15px;*/
      border-bottom: 1px dashed #ddd;
      /*margin: 0px 20px 25px;
      padding: 0;*/
    }
    .birdview-layout aside article.preview:last-child {
      border-bottom: none;
    }
      .birdview-layout aside article.preview .title {
        font-size: 1em;
        margin-top: 2px;
        margin-bottom: 3px;
      }
      .birdview-layout aside article.preview .info {
        font-size: 0.75em;
        margin-bottom: 0;
        color: #777;
      }
        .birdview-layout aside article.preview .info b {
          color: #555;
        }
      .birdview-layout aside article.preview .brief {
        font-size: 0.8em;
        line-height: 1.5;
        margin-top: 0.8em;
      }
      
    .birdview-layout .read-more {
      border-top: 1px solid #ddd;
    }
      /*.birdview-layout .read-more a {
        display: block;
        text-decoration: none;

        padding: 20px;
        font-size: 0.9em;
        text-align: center;
        color: #333;

        text-transform: uppercase;
        letter-spacing: 10px;
      }
      .birdview-layout .read-more a:hover {
        color: #000;
      }*/


#section .view-layout header > a {
  font-family: PTSansNarrowRegular, sans-serif;
  font-size: 36px;
  line-height: 36px;

  text-transform: uppercase;
  text-decoration: none;
  color: #006a97;
  background: none;
  padding: 0;
}
#section .view-layout header .updated {
  line-height: 36px;
  
  display: inline-block;
  vertical-align: bottom;
}

#section .columns {
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  /*margin-bottom: 45px;*/
}
  #section .columns .column-left,
  #section .columns .column-right {
    width: 50%;
    vertical-align: top;
  }
  #section .columns .column-right {
    border-left: 1px solid #ddd;

    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  #section .columns article.preview {
    border-bottom: 1px dashed #ddd;
  }
  #section .columns article.preview:last-child {
    border-bottom: none;
  }
    #section .columns article.preview .brief {
      /*overflow: hidden;*/
    }
    /*#section .columns article.preview figure {
      float: right;
      margin: 10px;
      margin-top: 1.1em;
    }
      #section .columns article.preview figure img {
        max-width: 180px;
        max-height: 200px;
      }*/
    #section .columns article.preview figure {
      margin: 10px 0;
      margin-top: 1.1em;
      max-height: 200px;
      overflow: hidden;
    }
      #section .columns article.preview figure img {
        margin: 0 auto;
        max-width: 439px;
        max-height: 500px;
      }
      
  #section .section .info-bar {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    /*padding: 20px;
    color: #aaa;
    text-align: center;
    
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 10px;*/
  }

  #section .section .info-bar[data-role="fresh-news"] {
    display: none;
  }


.paged-scroll-view {
  /* DEBUG */
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  
  width: 100%;
  height: 100%;
  
  /*padding: 0 100px;*/
  
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}


/* NavMap */

.nav-map {
  min-width: 110px;
}
  .nav-map .nav-map-pin {
    position: absolute;
    top: 0;
    right: 0;
    /*width: 5px;*/
    /*height: 35px;*/
    overflow: hidden;

    /*margin-right: -15px;*/
    
    width: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    
    font-weight: bold;
    color: #fff;
    white-space: nowrap;

    font-family: PTSansNarrowRegular, sans-serif;
    font-size: 1.2em;
    text-transform: uppercase;
    padding: 6px 0 0 11px;

    background: red;

    cursor: pointer;

    /*-moz-transition-property: width, margin-right;
    -moz-transition-duration: 0.15s;
    -moz-transition-timing-function: ease-out;
    -webkit-transition-property: width, margin-right;
    -webkit-transition-duration: 0.15s;
    -webkit-transition-timing-function: ease-out;
    -o-transition-property: width, margin-right;
    -o-transition-duration: 0.15s;
    -o-transition-timing-function: ease-out;
    transition-property: width, margin-right;
    transition-duration: 0.15s;
    transition-timing-function: ease-out;*/
  }
.nav-map:hover .nav-map-pin {
  width: auto;
  padding-right: 9px;

  -webkit-transition: all 150ms cubic-bezier(0.215, 0.610, 0.355, 1.000); 
     -moz-transition: all 150ms cubic-bezier(0.215, 0.610, 0.355, 1.000); 
      -ms-transition: all 150ms cubic-bezier(0.215, 0.610, 0.355, 1.000); 
       -o-transition: all 150ms cubic-bezier(0.215, 0.610, 0.355, 1.000); 
          transition: all 150ms cubic-bezier(0.215, 0.610, 0.355, 1.000); /* easeOutCubic */
}

