/*
Theme Name: PBC 2.0
Theme URI: http://www.peterbcollins.com
Description: Responsive 2015 theme for PBC
Author: John Gorenfeld
Author URI: http://www.gorenfeld.net
Template: twentyfifteen
Version: 1.0.0
*/

/* Powerpress */

.powerpress_subsribe_links {
    display: none;
}

.powerpress_player {
    margin-bottom: 3em;
}

/* Fonts */

body, .widget-area p {
    font-family: 'Open Sans', Verdana, sans-serif;
    font-size: 15px;
    line-height: 22px;
    color: #000;
}

h1.page-title, .post-title {
  font-family: 'Open Sans', Verdana, sans-serif !important;
}

h2.widget-title {
    font-family: "Open Sans", Verdana;
    font-size: 21px;
    font-weight: bold;
}

.widget-area p {
    font-weight: normal;
    font-size: 15px;
    line-height: 22px;
}

a.more-link {
    color: rgb(8, 8, 224);
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
}

h2.entry-title {
    font-family: "Open Sans", Verdana;
    font-weight: bold;
}

#secondary li, .advanced_recent_posts_widget .post-title {
    font-weight: bold;
    font-size: 15px !important;
    line-height: 19px !important;
}

.negative {
  background-color: black;
  color: white;
  padding: 2px 5px 2px 5px;
}

a.negative:hover {
  color: white !important;  
}

.posted-on a, .cat-links a {
    color: #888 !important;
    text-transform: uppercase;
    font-size: 13px;
}


/* Distinguish premium and free content */

article:first-child {
  padding-top: 0 !important;		    
}

article.post {
  padding-top: 1em;
}

article.category-premium {
  background-color: #eee;
  padding-top: 1em !important;
}

article h2.entry-title {
  font-size: 22px;
}

article.category-premium h2.entry-title {
    font-size: 32px;
}

article.free {
  background-color: #fff !important; 
}



/* Layout */

#main {
    padding-top: 0;    
}

#page {
    background: #fff;
}

#primary {
    background: #fff;
}

.ws-plugin--s2member-s-badge {
    background: #fff;
    border-style: none;
}

#navbar {
  z-index: 9;
  position: relative;
  margin: 0px;
  width: 100%;
  padding: 20px 20px 30px 20px;
  background-color: #fff;
  color: black;
  text-transform: uppercase;
  overflow: hidden;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

div#navbar a#logo {
  float: left;
  width: 316px;
  height: 92px;
  padding: 0;
  margin-right: 10px;
  background: url(https://www.peterbcollins.com/wp/wp-content/uploads/2015/09/pbc_logo.jpg) center left no-repeat;
  background-size: contain;
}

slogan {
    display: none;
}

div#optionsdiv {
  text-align: right;
}

div#menu-icon {
  display: block;
  width: 150px;
  height: 75px;
  position: absolute;
  top: 0px;
  right: 20px;
  background: url(https://www.peterbcollins.com/wp/wp-content/uploads/2015/09/menu_graphic.png) no-repeat right center;
  background-size: contain;
  cursor: pointer;
}

div#search-icon {
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 20px;
    right: 200px;
    font-size: 36px;
}

div#rss-icon {
  display: block;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 20px;
  right: 300px;
  font-size: 36px;
}

div#search {
  display: inline-block;
  position: absolute;
  right: 270px;
}

.sidebar {
    margin-top: 2px;
    margin-right: -100%;
    position: relative !important; /* Turn off annoying Twentyfifteen scroll behavior */
    top: 0 !important;
}

.secondary {
    display: block;
}

header meta {
  margin-top: 4px;
}

.hentry, .page-header, .page-content {
  /* box-shadow: 0 0 0px rgba(0, 0, 0, 0); */
  margin-left: 0 !important;
}


/* Responsive */

.visible-mobile {
  display: none;
}


/* Big full screen on certain views */

.single #sidebar, .page #sidebar {
    display: none;
}

.single #content, .page #content {
    width: 100%;
    margin-left: none;
}

.single .site-content, .page .site-content {
  margin-left: 0;
}

.single h1, .page h1 {
  text-align: center;
}

.single .entry-header, .page .entry-header {
  text-align: center;
}

.single .entry-content, .page .entry-content {
  font-size: 17px;
  line-height: 1.5;
}


/* Hamburger Menu */

#drop .menu {
  display: none;
  clear: both;
}

#drop .menu li a {
  font-weight: bold;
  color: rgb(8, 8, 224);
}

ul#menu-hamburger-menu {
  list-style-type: none;
}

/* Responsive: Wide screens */

@media (min-width: 59.6875em) {

.hentry {
    margin-top: 0 !important;
}

slogan {
    height: 92px;
    width: 400px;
    margin-right: 200px;
    float: right;
    display: inline-block;
    overflow: hidden;
    background: url('https://www.peterbcollins.com/wp/wp-content/uploads/2015/09/realpatriots.jpg');
    background-repeat: no-repeat;
    background-size: contain;
}

#navbar {
    margin: 0 auto;
    max-width: 1403px;
}

 .widget_search {
      display: none;
  }



}


/* =Responsive Structure for narrow screens
* to keep min width and sidebar

-------------------------------------------- */
@media (max-width: 60em) {
 
  aside#ws_plugin__s2member_pro_login_widget-2 {
    display: none;
  }

  #php_widget-5 {
      display: none;
  }
  
   .visible-mobile {
    display: inline-block;
  }

  .hidden-mobile {
    display: none !important;
  }

  div#menu-icon {
    width: 100px;
  }

  #sidebar {
    width: 100%;
  }

  .widget_categories, .widget_archive {
    display: none;
  }

  .widget ul li:nth-child(n + 3){
    display: none;
  }

  .paged #secondary, .single #secondary, .archive #secondary {
    display: none; /* We will possibly need an exception for news & comment archive */
  }
}
