/* CSS styles applied to screens that are 1089px or narrower */

html {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
}
/* Changed by Isaac on August 2nd, 2016
    display feature header: none
*/

.single-post-image2 img {
    position: relative;
    width: 100%;
    margin: 0 0 0 0;
    height: auto;
    left: 0;
}
.background-features-header{
    display: none;   
}
/* Changed by Isaac on August 5th, 2016
   youtube video on front page off. 
*/
.sidebar-post2 {
    border-bottom: 1px solid #ccc;
    margin: 0 0 10px 0;
    display: -webkit-inline-box;
}
.sidebar-post3 {
    border-bottom: 1px solid #ccc;
    margin: 0 0 10px 0;
    display: none;}

.sidebar-post2 {
    clear: both;
    overflow: hidden;
    border-color: #ccc;
}

.sidebar-post2 h1 {
    font-size: 18px;
}

.sidebar-post2 p.featured-dek  {
    font-size: 14px;
}
/*----*/
/* Changed by Tony on June 19th, 2016
    - margin-bottom to 30px to compensate for social media footer
*/
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background: transparent;
    margin-bottom: 30px;
}

img {
    max-width: 100%;
}

.post-content img {
    width: 100%;
    height: 100%;
}

.post-content2 img {
    width: 100%;
    height: 100%;
}
/* mobile navigation */

#mobile-nav {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    width: 70%;
    max-width: 300px;
    height: 100%;
    background: #eee;
    
    opacity: 0;
}

#mobile-nav li {
    display: block;
    width: auto;
    background: #eee;
    margin: 0;
    padding: 0;
    font-size: 18px;
}

#mobile-nav li.nav-current {
    background: #ddd;
    margin: -1px 0 0 0;
}

#mobile-nav li a {
    display: block;
    width: auto;
    margin: 0;
    padding: 0 12px;
    font-weight: bold;
}

#mobile-nav li a span {
    border-bottom: 1px solid #ddd;
    display: inline-block;
    width: 100%;
    padding: 10px 0;
}

#mobile-nav li a:link, #mobile-nav li a:visited {
    color: #000;
    border: 0;
}

#mobile-nav li a:hover, #mobile-nav li a:active {
    color: #000 !important;
    border: 0 !important;
}

a.mag-nav span {
    border-bottom-width: 3px !important;
}

a.contact-nav span {
    border: 0 !important;
}

/*
a.news-nav {
    color: #0d5a84 !important;
    border-left: 5px solid #0d5a84 !important;
}

a.comment-nav {
    color: #5cab50 !important;
    border-left: 5px solid #5cab50 !important;
}

a.arts-nav {
    color: #ed71af !important;
    border-left: 5px solid #ed71af !important;
}

a.science-nav {
    color: #895c9f !important;
    border-left: 5px solid #895c9f !important;
}

a.sports-nav {
    color: #4a91c7 !important;
    border-left: 5px solid #4a91c7 !important;
}
*/


#wrapper {
    position: relative;
    top: 0;
    right: 0;
    width: auto;
    min-height: 100%;
    margin: 0;
    padding: 0 8px;
    background: #fff;
    overflow: hidden;
    box-shadow: -3px 0 5px 0 rgba(0, 0, 0, 0.2);
}

.feature-wrapper {
    position: relative;
    top: 0;
    right: 0;
    width: auto;
    min-height: 100%;
    margin: 0;
    background: #fff;
    overflow: hidden;
    box-shadow: -3px 0 5px 0 rgba(0, 0, 0, 0.2);
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    width: calc(100% - 20px);
    background: #fff;
    border-bottom: 1px solid #eee;
    height: 25px;
    padding: 15px 10px;
    box-shadow: 0 0 5px 0 #ccc;
}
#header2 {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    width: calc(100% - 20px);
    background: #fff;
    border-bottom: 1px solid #eee;
    height: 25px;
    padding: 15px 10px;
    box-shadow: 0 0 5px 0 #ccc;
    display:block;
}

#header-left {
   visibility: none;
   display: none;
}

body.admin-bar #header {
    top: 46px;
}

/*
body.admin-bar #wrapper {
    top: 46px;
}
*/

body.admin-bar #mobile-nav {
    top: 46px;
}

.hamburger-icon, .feature-hamburger-icon {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    
    width: 26px;
    height: 25px;
    background: url('images/svg/hamburger-01.svg');
    background-size: cover;
    text-indent: -9999px;
}

#header-mid {
    margin: 0;
    padding: 0;
}

#logo-box, #logo-box a {
    display: block;
    /*
    width: 361px;
    height: 43px;
    */
    width: 215px;
    height: 25px;
    margin: 0 auto;
    padding: 0;
}

#logo-box a.nameplate {
    width: 215px;
    height: 24px;
    background-image: url('images/svg/nameplate.svg');
    background-size: cover;
}

#logo-box p.header-tagline {
    display: none;
}

#header-ad {
    line-height: 10px; /* 90px*/
    display: none;
}

#header a.volunteer, #header .twitter-icon, #header .facebook-icon {
    display: none;
}

.instagram-icon, .rss-icon {
    display: none;
}

#header .search-icon {
    width: 26px;
    height: 25px;
    background-image: url('images/svg/search-01.svg');
    background-size: cover;
}

#search-input {
    height: 30px;
    font-size: 20px;
    font-weight: lighter;
}

#nav {
    display: none;
}

#main {
    /*
    margin-top: 93px;
    */
    margin-top: 70px;
}

.mobile-date {
    display: inline;
}

a.author-twitter {
    display: none !important;
}

h1.single-hed {
    font-size: 30px;
    line-height: 1.1em;
    margin: 0 0 10px 0;
}
h1.single-hed2 {
    font-size: 30px;
    line-height: 1.1em;
    margin: 15px 0 15px 0;
}

p.single-dek {
    font-size: 16px;
    line-height: 1.1em;
    margin: 0 0 15px 0;
}
p.single-dek2 {
    font-size: 16px;
    line-height: 1.1em;
    margin: 0 0 15px 0;
}

p.single-authorinfo {
    font-size: 15px;
    margin: 15px 0 15px 0;
}

p.single-authorinfo-featured {
    font-size: 16px;
    margin: 0 0 40px 0;
}

.single-top {
    margin-bottom: 5px;
}

.single-topleft {
    display: none;
}

.single-post-image {
    width: 100%;
    margin: 0;
    padding: 0;
}
.single-post-image2 {
    width: 100%;
    margin-top: 55.4px;
    padding: 0;
}
.single-leftcol, .single-rightcol {
    width: auto;
    max-width: 600px;
}

.mobile-featured-image-caption {
    display: block;
    
    color: #818181;
    margin: 0 0 5px 0;
    line-height: 1.2em;
}

#single-social {
    display: none;
}

.post-content {
    width: auto;
}

.post-content2 {
    width: 100%;
    margin: 0 0 20px 0;
}



#related-articles {
    max-width: 600px;
    width: auto;
}

#related-article {
    max-width: 600px;
    width: auto;
}

/*
#footer {
    display: none;
}
*/

/* Added by Tony on July 5th 2016 */
.footer-nav a {
    font-size: 0.7em;
    line-height: 2;
}

#footer-left .nameplate {
    background-image: url('images/svg/nameplate.svg');
    max-width: 330px;
    height: 38px;
    /*
    background-size: 330px 39px;
    */
    background-size: cover;
}

#footer-left .nameplage img {
    display: inline-block;
    width: 100%;
}

#footer-left p.footer-tagline {
    font-size: 12px;
    display: block;
}

#footer-links {
    width: 330px;
}

.sidebar-widget {
    margin-bottom: 30px;
}

#related-articles h2 {
    border-top: 3px solid #eee;
    padding-top: 5px;
    border-bottom: 0;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

#related-articles h2 span {
    border-bottom: 0;
}

#home-sidebar {
    display: none;
}

#home-content {
    width: 100%;
}

.home-featured {
    padding: 0;
}

#home-upper .home-featured-right {
    float: left;
    width: 100%;
    margin: 0 0 10px 0;
}

#home-upper img.home-featured-image {
    float: left;
    width: 100%;
}

#home-upper .home-featured-left {
    float: left;
    width: 100%;
    clear: both;
}

p.home-type {
    display: none;
}

.home-3col {
    display: block;
}

.home-3col .home-col {
    display: block;
    float: left;
    clear: both;
    width: 100%;
    margin: 0 0 10px 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #eee;
}

.home-3col .home-col:last-child {
    border-bottom: 0;
}

.home-col .home-featured-image {
    width: 120px !important;
    margin: 0 10px 10px 0;
    float: left;
}



#home-content #related-articles h2.styled-h {
    border-top: 0;
    padding-top: 0;
    border-bottom: 2px solid #eee;
    text-transform: none;
    font-size: 20px;
    margin-bottom: 10px;
}

#home-content #related-articles h2.styled-h a {
    color: #000;
}

#home-content #related-articles h2.styled-h a.ep-link {
    color: #eee;
    border-bottom-color: #eee;
    display: inline-block;
    margin-left: 10px;
}

.home-top {
    margin-bottom: 0 !important;
}

.home-section {
    margin: 0 0 20px 0;
}

h1.section-title {
    margin: 0 0 12px 0;
}

h1.section-title, h1.section-title a {
    border-bottom-width: 2px;
    font-size: 26px;
}

.home-section .home-featured-image {
    display: none;
}

.home-section .home-featured-left {
    width: 100%;
}

.home-subgrid {
    display: block;
}

.home-subgrid-row {
    display: block;
}

.home-subgrid-left, .home-subgrid-right {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #ccc !important;
    margin: 0;
    padding: 10px 0 !important;
}

.home-subgrid-left h1, .home-subgrid-right h1, .home-section .home-featured h1, .section-post-features h1, .section-post-features:last-child h1 {
    font-size: 20px;
}

/* Changed by Tony on June 11, 2016
 * Added home-featured-left
 * Added home-featured-right
 * Added home-opposite-featured-right
 */
.home-subgrid-left p.featured-dek, .home-subgrid-right p.featured-dek,
.home-section .home-featured p.featured-dek,
.home-section .home-featured-left p.featured-dek,
.home-section .home-featured-right p.featured-dek,
.home-section .home-opposite-featured-right p.featured-dek {
    font-size: 16px;
}

.home-featured {
    border-bottom: 1px solid #ccc;
}

.sidebar-section {
    margin: 0 0 20px 0;
}

.sidebar-post {
    clear: both;
    overflow: hidden;
    border-color: #ccc;
}

.sidebar-section .home-featured-image {
    width: 120px;
    float: left;
    margin: 0 10px 10px 0;
}

.sidebar-post h1 {
    font-size: 18px;
}

.sidebar-post p.featured-dek  {
    font-size: 14px;
}

.leftcol {
    width: 100%;
}

body.tax-section h1.section-title {
    font-size: 28px;
}

.section-featured-table {
    display: block;
    margin: 0;
}

.section-featured {
    display: block;
    float: left;
    width: 100% !important;
    margin: 0;
    padding: 10px 0 0 0;
    border: 0;
    border-bottom: 1px solid #ccc;
}

.section-featured h1 {
    font-size: 22px !important;
}

.section-sidebar {
    display: none;
}

.section-post img.featured-image {
    max-width: 120px !important;
}

.section-post-features img.featured-image {
    max-width: 120px !important;
}

.section-post h1 {
    font-size: 22px;
}

.section-leftcol .tip-us {
    display: block;
}

.wp-pagenavi {
    font-size: 18px !important;
}

body.tax-section .section-leftcol .home-featured .home-featured-left h1 {
    font-size: 22px !important;
}


.ad-half-page {
    display: none;
}

/* Photo section page */

body.term-photo .home-featured img {
    display: block;
}

body.term-photo .section-post {
    max-width: 100%;
    width: 100%;
    margin: 0 0 10px 0;
    float: left;
    clear: both;
}

body.term-photo .section-post img.featured-image {
    max-width: 100% !important;
    width: 100% !important;
    float: left;
    clear: both;
}

/* Video section page */
.video-display {
    display: none !important;
}

.video-grid-cell {
    width: 100%;
    clear: both;
    margin: 0 0 10px 0 !important;
}

/* Ad labels */
.ad-label {
    font-size: 10px;
    font-family: Adelle, "Times New Roman", Times, serif;
    color: #a1a1a1;
    text-align: center;
}



/* =========================================
    Share Social Media
    Added by Tony on June 19th, 2016
   =========================================
*/

.share-soc-footer {
    display: block;
}

.share-soc {
    display: none;
}


/* ===============================================================
    Tony's Changes Section
   ===============================================================
*/

/* Added June 11, 2016 */
.photo-caption-mobile {
    display: block;
    position: relative;
}

/* Added June 11, 2016 */
.photo-caption-mobile p {
    font-size: 0.65em;
}

/* Added June 11, 2016 */
.features-padding {
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box; 
     box-sizing: border-box;
     padding: 0px;
}

/* Added June 11, 2016 */
.home-features-section {
    padding: 0px 0px 10px 0px;
}

/* Added June 11, 2016 */
.home-features-section:last-child {
    border-bottom: 1px solid #ccc !important;
}

/* Added June 11, 2016 */
.home-opposite-featured-right {
    float: left;
    padding: 10px 0px 0px 0px;
}

/* Added June 11, 2016 */
.home-features-section:last-child {
    padding: 10px 0px 10px 0px;
}

/* Added June 11, 2016 */
.home-opposite-featured-right {
    width: 100%;
}

/* Added Junde 27th, 2016
    - Show Author on Mobile
*/

.single-authorinfo {
    display: block;
}


/* ===============================================================
    Isaac's Changes Section
   ===============================================================
*/

/* ===============================================================
    Author Platypus Template
   ===============================================================
*/
.author-wrapper {
    margin-top: 65px;
}
/* ===============================================================
    Masthead Platypus Template
   ===============================================================
*/
.masthead-title-container {
    margin-top: 65px;
}
.masthead-box { 
    width: 100%;
}
/* ===============================================================
    Newspaper Issue Platypus Template
   ===============================================================
*/
.newspaper-start-title {
    margin-top: 65px;
}

#en-zh {
    display: none;
}
