/*
Theme Name: Coup
Theme URI: ?
Author: Vijith Assar
Author URI: http://www.vijithassar.com/
Description: Based on Twitter Bootstrap
Version: 0.0.1
Tags: light, white, gray, one-column, left-sidebar, flexible-width, custom-header, custom-background, threaded-comments, sticky-post, post-formats
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* bootstrap mods */

@media all {

  body,
  #bootstrap-mods {
    font-family: 'Open Sans', 'Helvetica Neue', 'Helvetica', 'sans-serif';
    background-color: rgb(250,248,247);
    color: rgb(118,57,49);
  }

  #bootstrap-mods a {
    color: rgb(196,56,13);
  }

}

.btn-link,
.btn-link a {
  color: rgb(196,56,13);
}

/* other tweaks */
div.wrapper {
  padding: 5%;
}

header#branding {
  margin-bottom: 3em;
}

header#branding h4 {
  line-height: 22px;
}

header#branding div.logo {
  max-height: 120px;
  max-width: 120px;
  margin-left: 15px;
}

@media all and (max-width: 960px) {
  header#branding div.logo {
    display: none;
  }
}

header#branding div.logo img {
  display: none;
}

/* remove redundant form labels */
header form#searchform label {
  display: none;
}
header .widget_professionals_filter label {
  display: none;
}

.widget h3 {
  display: none;
}

header .widget_nav_menu ul {
  padding-left: 0;
}

header .widget_nav_menu li {
  display: inline;
  margin-left: 1.5em;
}
header .widget_nav_menu li:first-child {
  margin-left: 0em;
}

/* post headers */
article .entry-header h3,
article .entry-header span.edit-link {
  display: inline;
}

article div.entry-content h5 {
  font-weight: bold;
}

/* inline lists for subcategories */

div.subcategories {
  margin: 1em 0 1em 0;
}

div.subcategories h5,
div.subcategories ul,
div.subcategories li {
  display: inline;
}

div.subcategories ul,
div.subcategories h5 {
  margin: 0;
  padding: 0;
}

div.subcategories h5 {
  padding-left: 0;
}

div.subcategories ul li {
  margin-left: 0.5em;
  padding: 0;
}

div.etc div.twitter {
  padding-left: 0;
}

/* hide email divs from multi-post views */
/*body.blog div.etc div.email,
body.search div.etc div.email,
body.archive div.etc div.email {
  display: none;
}*/

/* mouseover effect */

article {
  border-top: 1px solid rgb(242,177,17);
  padding-top: 5px;
  box-sizing: border-box;
  width: 100%; /* bootstrap fix for this? */
  padding-left: 3%;
  padding-right: 3%;
}

article .entry-header {
  margin-top: 3em;
  margin-bottom: 1em;
}

article .entry-content {
  margin-bottom: 3em;
  font-size: 1.2em;
}

article .entry-content h5 {
  font-size: 1em;
}

article .entry-content div.subcategories ul {
  display: inline;
}

/* hover effect on desktop */
@media only screen and (min-width: 960px) {
  body.blog article:hover,
  body.search-results article:hover,
  body.archive article:hover {
    border-top: 6px solid rgb(242,177,17);
    padding-top: 0px;
    background-color: rgb(219,218,217);
  }
}

body.blog article:last-of-type,
body.search-results article:last-of-type,
body.archive article:last-of-type {
  border-bottom: 1px solid rgb(242,177,17);
}

body.single article,
body.error404 article,
body.page article {
  border-top: 6px solid rgb(242,177,17);
  padding-top: 0px;
  background-color: rgb(219,218,217);
  border-bottom: 1px solid rgb(242,177,17);
}

@media only screen and (max-width: 960px) {
  div.links ul li {
    margin-bottom: 0.5em;
  }
}

/* more posts */
div.more-posts-links {
  width: 100%;
  float: left;
  margin-top: 2em;
}

header .widget_search form div {
  width: 100%;
}

.widget-areas {
  margin-left: 0px;
}

/* submission form */
#writersubmissionform {
  padding-bottom: 2em;
}
#writersubmissionform div.field div.notes,
#writersubmissionform div.field label {
  display: inline;
}
#writersubmissionform div.field div.notes {
  font-size: 60%;
  padding-left: 1em;
}
#writersubmissionform .required label:after {
  content: ' [required]';
}
