body {
    background: white;
    font-size:14pt;
    font-family: 'Wingdings';
    margin: 0px;
    color: #2c2c2c;
}

.global-header {
    position:relative;
    width: 768px;
    background: #ffffff;
    margin-left: auto;
    margin-right: auto;
    height: 57px;
    border-bottom: 1px solid rgb(187, 187, 187);
    margin-bottom: 14px;
}

.global-header .paper_section {
    position: absolute;
    top: 0px;
    font-family: 'Droid Serif', serif;
    font-size: 1.285em;
    font-weight: bold;
    line-height: 58px;  /* global-header-height*/
    color: #4d80c8;
    margin-left: 28px;
}

.global-header .paper_date {
    /* 24 px */
    position: absolute;
    top: 0px;
    right: 0px;
    font-family: 'Droid Sans', sans-serif;
    font-size: 0.85em;
    line-height: 58px;  /* global-header-height*/
    margin-right: 28px;
}

.spread-cat {
    display: none;
}

.logo {
    text-align: center;
}
.logo img {
    height: 100%; /* global-header-height*/
}

div.paper {   
    width: 768px;
    /*
     * This seems to screw with the height of the paper when trying to hit excact device size
     *
        min-height: 100%;
    */
    background: white;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
}

/** Base article text and content formatting classes **/
article .title {
    margin-bottom: 0px;
    margin-top: 0px;
    font-family: 'Droid Serif', serif;
    font-size: 3.29em;
    line-height: 1.04em;
    text-transform: uppercase;
}
article .sub-title {
    margin-bottom: 0.5em;
    margin-top: 0px;
    font-family: 'Droid Sans', sans-serif;
    font-weight: 700;
    font-size: 1.14em;
    line-height: 1.125em;
    text-transform: uppercase;
}
article .blurb {
    font-family: 'Droid Sans', sans-serif;
    line-height: 1.29em;
}

article .content, article .extras, article .byline {
    font-family: 'Droid Serif', serif;
    line-height: 1.29em;
}

/*article .blurb, article .content {
    text-indent: 1.25em;
    text-align: justify;
    text-justify: auto;
}*/
article .blurb p , article .content p {
    margin-bottom: 0px;
    margin-top: 1em;
}
article .blurb .first-words, article .blurb .first-delimiter {
    font-weight: bold;
}
article .blurb .first-letter {
    font-size: 1.5em;
    font-weight: bold;
    margin-right: -0.18em;
}

article .page, article .category, article .super-title {
    display: inline-block;    
    color: grey;
}
article .caption {
    font-family: 'Droid Sans', sans-serif;
    font-size: 0.71em;
    line-height: 1.2em;
    margin-bottom: 1em;
    margin-top: 0.25em;
}
article .byline {
    display: inline-block;
    margin-top: 1em;
    margin-bottom: 0em;
    color: #8c8c8c;
}
article .byline text {
    display: inline-block;
}
article .byline-header {
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    background: #fa21bb;
    vertical-align:top;
    margin-top: 0.35em;
    margin-right: 0.5em;
}
article {
    /*margin: 2em;*/
}
article .secondary-graphics {
    margin-top: 1em;
}
article .graphics {
    position: relative;
    display: inline-block;
    width: 100%;
}

article .image-container {
    /*max-width: 100%;
    border: 1px solid black;
    -moz-background-size: cover;
    -webkit-background-size: cover;    
    background-size: cover;
    background-position: center;    */
    
    /* Alternative scaling: */
    max-width: 100%;
    border: none; /*1px solid black;*/
    -moz-background-size: cover;
    -webkit-background-size: cover;    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: black;    
    
}
article .image-container img {
    width: 100%;
    visibility: hidden;
}
article .extras {
    background: #ecfbff;
    border-top: solid 0.3em #84c7d9;
    padding: 1em;
    float: right;
    margin-right: -22px;
    margin-left: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
    width: 170px;    
}

/** Swipeable spread viewer **/
div.swipe-view {
    overflow: hidden;
    position: relative;
    height: 768px;
}
.spreads {
    width: 99999em;
    padding-left: 0px;
    margin-top: 0px;
}
.spread {
    display: inline-block;
    vertical-align: top;
    position: relative;
}
.swipeable {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;

    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);

    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    -ms-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;        
}

/** Navigators and menus **/
.local-navigator {
    z-index: 100;
}
.local-navigator.active {
    left: -1em;
}

.graphics-carussel {
    overflow: hidden;
    margin-bottom: 0.5em;
}
.graphics-carussel .dots {
    text-align: center;    
}
.carussel-dot {
    background-image: url(../img/more-dots.png);
    width: 13px;
    height: 13px;
    margin: 3px;
    display: inline-block;
    opacity: 0.25;
    -webkit-transition: opacity ease-out 1s;
    transition: opacity ease-out 1s;
}
.carussel-dot.selected {
    opacity: 1;
}



.primary-graphics {
    width: 1000em;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;

    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);

    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    -ms-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;        
}

/* Basic block styles */
.spread:not(.overview) .blocks .block:not(:first-of-type) {
    border-top: 1px solid black;
}

/* Landscape changes for main */
@media all and (orientation:landscape){
    div.paper, .global-header, .spread, .swipe-view {   
        width: 1024px;    
    }
}
@media all and (orientation:portrait){
    div.paper, .global-header, .spread, .swipe-view {   
        width: 768px;    
    }
}
