/*
Theme Name: Contempo
Theme URI: http://cnic.co.uk/wp/contempo
Author: Cameron Nicolson
Author URI: http://cnic.co.uk
Description: Contempo is a fully responsive WordPress theme with a modern, flat design. It was created for people that want their website or blog to have a more professional look. Esteem is based on Bootstrap framework, and will make your website fully optimised for use on all devices including mobiles and tablets.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Domain Path: /languages/
Tags: green, white, two-columns, fluid-layout, responsive-layout, post-formats, translation-ready, custom-background, custom-colors, custom-menu, featured-images, full-width-template, theme-options, threaded-comments, editor-style
Text Domain: contempo
*/

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
.sticky {
}
.gallery-caption {
}
.bypostauthor {
}
/* =Global
----------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Lustria;
}
a:hover {
  text-decoration: none;
}
blockquote {
  font-family: Lustria;
  font-style: italic;
  width: 100%;
  margin: 0.25em 0;
  padding: 0.25em 40px;
  line-height: 1.45;
  position: relative;
  border: 0;
  color: #888888;
}
blockquote:before {
  display: block;
  content: "\201C";
  font-size: 80px;
  position: absolute;
  left: -5px;
  top: -20px;
  color: #b6b6b6;
}
iframe,
object {
  max-width: 100%;
}
.site-header {
  padding:10px 0;
}
.navbar-brand {
  font-family: Lustria;
}
.gallery dl {
  display: inline-block;
  margin-right: 10px;
}
.row {
  margin:0;
}
.postInfo {
  margin: 0 0 20px 0;
  border-bottom: 1px solid #d8d8d8;
  border-top: 1px solid #d8d8d8;
  padding: 10px 20px;
}
@media (max-width: 768px) {
  .postInfo {
    margin-top: 20px;
  }
}
/* =Content
----------------------------------------------- */
.contentContainer {
  background-color: #fff;
  border: 1px solid #d8d8d8;
  border-bottom-width: 2px;
  margin: 0 0 27px 0;
  padding: 15px;
}
@media (max-width: 768px) {
  .contentContainer {
    margin: 20px 0;
  }
}
.contentContainer .page-header {
  margin-top: 15px;
}
.contentContainer .page-header h1 {
  margin-top: 0;
}
.pageTitle {
  border-bottom: 1px solid #eee;
}
.page-container {
  position: relative;
  padding: 70px 0 0 0;
}
@media (max-width: 978px) {
  .page-container {
    margin: 0;
    width: auto !important;
    overflow-x: hidden !important;
  }
}
@media (max-width: 768px) {
  .page-container {
    padding: 50px 0;
  }
}
.attachment-featured_preview {
  max-width: 100%;
  max-height: 500px;
}
#articleTags {
  color: #808080;
}
#articleTags .glyphicon {
  display: block;
  margin: 20px 0;
  text-decoration: none;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
}
#articleTags .glyphicon:before {
  padding: 0 10px 0 0;
  font-family: 'Glyphicons Halflings';
}
#articleTags span {
  margin-left: 10px;
  margin-right: 7px;
}
.authorHeader {
  margin: 0 0 15px 0;
}
@media (max-width: 1200px) {
  .authorHeader {
    margin: 0 auto;
    text-align: center;
  }
}
.authorarea {
  margin: 0 15px;
  background: #ededed;
  padding: 20px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .authorarea {
    text-align: center;
  }
}
.authorarea img {
  margin-right: 10px;
  float: left;
}
@media (max-width: 768px) {
  .authorarea img {
    float: none;
    clear: both;
  }
}
.authorarea h3 {
  margin-top: 0;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .authorarea h3 {
    margin-top: 20px;
  }
}
.authorarea h3 a {
  color: #777;
  border-bottom: 1px solid #dfdfdf;
}
.authorarea h3 a:hover {
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  color: rgba(0, 0, 0, 0.8);
}
.related {
  padding: 0 0 0 15px;
}
/* =Widgets
----------------------------------------------- */
.widget-header {
  border-bottom: 1px solid #eee;
  margin-bottom: 12px;
}
.widget-header h3 {
  font-family: Lato;
  margin: 0 0 12px 0;
}
.widget-header h3 a {
  color: #666666;
}
.widget-body {
  color: #666666;
}
.widget-body span {
  display: block;
}
.widget_nav_menu ul {
  padding: 0 0 0 20px;
}
.widget_pages ul,
.widget_meta ul,
.widget_categories ul,
.widget_recent_entries ul,
.widget_recent_comments ul,
.widget_archive ul {
  padding: 0;
}
.widget_pages li,
.widget_meta li,
.widget_categories li,
.widget_recent_entries li,
.widget_recent_comments li,
.widget_archive li {
  list-style: none;
  padding: 5px 0;
}
#wp-calendar {
  margin: 0 auto;
  background: #ffffff;
  width: 90%;
}
#wp-calendar caption {
  margin: 30px 0;
  width: 40%;
  background: #ffffff;
  text-align: left;
  color: #333;
  font-size: 12px;
  margin-top: 10px;
  margin-bottom: 15px;
}
#wp-calendar th {
  text-align: center;
}
#wp-calendar thead {
  font-size: 10px;
}
#wp-calendar thead th {
  padding-bottom: 10px;
}
#wp-calendar tbody {
  color: #aaa;
}
#wp-calendar tbody td {
  background: #f5f5f5;
  border: 1px solid #fff;
  text-align: center;
  padding: 8px;
}
#wp-calendar tbody td:hover {
  background: #fff;
}
#wp-calendar tbody .pad {
  background: none;
}
#wp-calendar tfoot #next {
  font-size: 10px;
  text-transform: uppercase;
  text-align: right;
}
#wp-calendar tfoot #prev {
  font-size: 10px;
  text-transform: uppercase;
  text-align: left;
}
.tagcloud a {
  margin-right: 5px;
}
/* =Comments
----------------------------------------------- */
.commentList {
  list-style: none;
  padding: 0;
  margin: 30px 0 0 0;
}
.commentHeader {
  position: relative;
}
.commentBtn {
  position: absolute;
  top: 0;
  right: 0;
}
@media (max-width: 768px) {
  .commentBtn {
    position: relative;
  }
}
.commentsPopup {
  padding: 0 0 0 5px;
}
/* =Post styling
----------------------------------------------- */
.entryHeader {
  height: 40px;
}
.article-info {
  display: block;
  color: #999;
  padding: 3px 0 0 0;
}
.media .thumbnail {
  margin-bottom: 0;
}
.entryTitle {
  margin-top: 10px;
}
.entryTitle a {
  color: #666666;
  border-bottom: 1px solid #eee;
}
.entryTitle a:hover {
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  color: rgba(0, 0, 0, 0.8);
}
.paginationNav {
  text-align: center;
}
.nextPrevBtns {
  margin: 20px 0;
}
.format-video iframe {
  min-height: 500px;
}
@media (max-width: 768px) {
  .format-video iframe {
    min-height: 300px;
  }
}
@media (max-width: 768px) {
  .postContainer {
    margin-top: 20px;
  }
}
/* =Page
----------------------------------------------- */
.table-of-contents {
  width: 40%;
  background-color: #ededed;
  padding: 0.8em 1em;
  margin: 0 0 0.5em 0;
}
@media (max-width: 768px) {
  .table-of-contents {
    width: 100%;
  }
}
#heading-content-list {
  margin-top: 10px;
}
/* =Carousel
----------------------------------------------- */
#carousel-example-generic {
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}
.carousel-caption {
  left: 30px;
  text-align: left;
  padding-bottom: 20px;
  padding: 15px;
}
.carousel-caption h4 {
  padding: 15px;
  color: #fff;
  max-width: 55%;
  margin-bottom: 4px;
}
@media (max-width: 768px) {
  .carousel-caption h4 {
    display: none;
  }
}
.carousel-caption p {
  background: rgba(0, 0, 0, 0.5);
  padding: 15px;
  max-width: 50%;
}
@media (max-width: 768px) {
  .carousel-caption p {
    display: none;
  }
}
.carousel-caption h4 a {
  color: #fff;
}
.carousel-caption p a {
  color: #fff;
}
.carousel-inner > .item > img {
  min-width: 100%;
}
.featured-post {
  padding: 0 15px;
}
@media (max-width: 768px) {
  .featured-post {
    padding: 0;
  }
}
.carousel {
  margin: 0 0 30px 0;
}
@media (max-width: 768px) {
  .carousel {
    margin-bottom: 0px;
  }
}
/* =Author Page
----------------------------------------------- */
#activityList {
  margin-top: 13.5px;
  list-style-type: none;
  padding: 0;
}
.tab-content {
  padding: 15px 0 20px 20px;
}
.tab-content dt {
  margin-top: 13.5px;
  margin-bottom: 13.5px;
}
/* =Footer
----------------------------------------------- */
footer {
  border-top: 1px solid #d8d8d8;
}
@media (max-width: 978px) {
  footer {
    text-align: center;
  }
}
footer p {
  font-size: 1em;
  color: #777;
}
#footerNav {
  margin: 10px 0;
}
#footerNav ul {
  padding: 0;
  display: inline;
  list-style-type: none;
}
#footerNav li {
  display: inline-block;
  padding: 0 20px 0 0;
}
.developed {
  text-align: right;
}