@import "variables";
@import "mixins";

$container_horiz_pad: 35px;

/* General ------------------------------------------------------------------------------------------------------------*/

body {
  background-color: #fff;
}

a:hover {
  text-decoration: none;
}

blockquote {
  background: #f5f5f5 url("../images/quote.png") no-repeat 20px 25px;
  border: 1px solid #e8e8e8;
  padding: 20px 20px 20px 60px;
  color: #6f7579;
  p {
    font-size: 13px;
    font-weight: normal;
    line-height: 22px;
  }
}

.bm10 {
  margin-bottom: 10px;
}

.bm20 {
  margin-bottom: 20px;
}

.bm30 {
  margin-bottom: 30px;
}

/* Header - Logo and Nav ---------------------------------------------------------------------------------------------*/

.header-wrapper {
  background-color: #3b4348;
  width: 100%;
  height: auto;

  .container {
    position: relative;
    min-height: 60px;
    height: auto !important;
    height: 60px;
  }
}

.logo-container {
  padding: 19px 0;
  img {
    margin-right: 10px;
  }
}

.lt-ie9 .logo-container {
  width: 450px;
}

span.tag-line {
  color: #818a90;
  font-size: 12px;
  position: relative;
  top: 2px;
}

.logo-heading {
  color: #fff;
  font-weight: 600;
  display: inline;
  margin-right: 15px;
  position: relative;
  top: 4px;
  a {
    color: #fff;
    &:hover {
      color: #eaeaea;
    }
  }
}

.main-nav {
  position: absolute;
  bottom: 0;
  right: 0;
  div > ul {
    width: auto;
    margin: 0;
    > li {
      position: relative;
      float: left;
      list-style: none;
      padding: 16px 14px 16px;
      a {
        font-family: "Open Sans", sans-serif;
        font-size: 13px;
        color: #c1cad1;

        &:hover {
          color: #fff;
        }
      }
      &:hover {
        > a {
          color: #fff;
        }
      }
    }
    > li:last-child {
      padding-right: 0;
    }
    li.current-menu-item {
      a {
        color: #fff;
      }
    }
  }

  .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    margin: 0;
    display: none;

    li {
      position: relative;
      background-color: #3b4348;
      padding: 6px 10px;
      width: 150px;
      cursor: pointer;

      &:hover {
        background-color: #292e32;
        > a {
          color: #fff;
        }
      }

    }

    .sub-menu {
      top: 0;
      right: 170px;
      left: auto;
    }
  }

  .responsive-nav {
    display: none;
  }

}

/* Header - Search ---------------------------------------------------------------------------------------------------*/

.search-area-wrapper {
  background: #353b65 url("../images/main-bg.jpg") center top no-repeat;
  background-size: 100%;
  min-height: 279px;
  height: auto !important;
  height: 279px;

  .search-area {
    padding: 50px 0;
  }
}

.search-area-theme-option {
  background-size: cover;
  background-position: center;
}

h3.search-header {
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
  font-size: 36px;
  color: #fff;
  text-align: center;
}

p.search-tag-line {
  font-family: "Droid Serif", serif;
  font-style: italic;
  font-size: 18px;
  line-height: 28px;
  color: #fff;
  text-align: center;
}

form.search-form {
  margin: 40px 0 0;
  text-align: center;

  .input-common {
    font-family: "Open Sans", sans-serif;
    box-shadow: none;
    border-radius: 0;
    display: inline-block;
    border: none;
    vertical-align: bottom;
  }

  input.search-term {
    @extend .input-common;

    font-size: 14px;
    height: 24px;
    line-height: 24px;
    padding: 12px;
    width: 72%;
    color: #858c91;
    margin-right: 10px;
    margin-bottom: 0;
  }

  input.search-term.loading {
    background-image: url("../images/search-loader.gif");
    background-repeat: no-repeat;
    background-position: 98% 50%;
  }

  input.search-btn {
    @extend .input-common;

    background-color: #3f4b55;
    font-size: 14px;
    line-height: 19px;
    font-weight: 600;
    padding: 14px 30px 15px;
    color: #fff;
    &:hover {
      background-color: #4b5760;
    }
  }
}

#search-error-container {
  label {
    color: #fff;
    padding: 5px;
    font-size: 14px;
  }
}

.lt-ie8 form.search-form input.search-btn {
  padding-top: 12px;
  padding-bottom: 13px;
}

/* Page - Container --------------------------------------------------------------------------------------------------*/
.page-container {
  width: 100%;
  > .container {
    padding: 40px $container_horiz_pad;
    background-color: #fff;

  }
}

.breadcrumb {
  margin-bottom: 10px;
  background-color: #F5F2F2;
  font-size: 12px;
}

.hentry {

  iframe {
    max-width: 100%;
  }

  .wp-post-image {
    margin: 0 0 22px;
  }

  .wp-post-image-wrapper {
    display: inline-block;
    width: 100%;
    text-align: center;
  }

  .alignwide,
  .alignfull {
    margin-left: auto;
    margin-right: auto;
    clear: both;
  }

  .alignwide img,
  .alignfull img {
    width: 100%;
  }
}

.alignwide,
.alignfull {
  margin-bottom: 22px;
}

#no-sidebar .hentry .alignwide {
  max-width: none;
}

#no-sidebar .hentry .alignfull {
  margin-left: calc(-100vw / 2 + 100% / 2);
  margin-right: calc(-100vw / 2 + 100% / 2);
  width: inherit;
  max-width: 100vw;

  img {
    width: 100vw;
  }
}

.wp-block-quote:not(.is-large):not(.is-style-large) {
  padding-left: 60px;
  border: 1px solid #e8e8e8;
}

ul.wp-block-gallery {
  margin-left: 0;
  margin-right: 0;
}

.wp-block-gallery.alignleft {
  margin-right: 15px;
}

.wp-block-gallery.alignright {
  margin-left: 15px;
}

.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
  width: calc(100% - 20px);
}

.wp-block-embed {
  margin-bottom: 22px;
}

.wp-block-columns.alignfull,
.wp-block-columns.alignwide {
  padding-left: 15px;
  padding-right: 15px;
}

.has-large-font-size {
  line-height: 1.2;
}

.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
  padding: 20px 20px 20px 60px;
}

p.nopassword {
  margin-top: 22px;
}

table {
  width: 100%;
  margin-bottom: 22px;

  th,
  td {
    padding: 5px;
    border: 1px solid #eee;
  }
}

.pages-nav {
  margin-top: 22px;
  a {
    margin-right: 10px;
  }
}

#pagination .btn {
  margin-bottom: 5px;
}

#pagination .current span {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* WordPress Core --------------------------------------------------------------------------------------------------- */
.alignnone {
  margin: 5px 0 20px;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 20px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

.aligncenter {
  display: block;
  margin: 5px auto 20px auto;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 0 20px;
}

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%;
  padding: 5px 5px 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%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 7px 4px 0;
}

.sticky {
  visibility: visible;
}

.gallery-caption {
  visibility: visible;
}

.bypostauthor {
  visibility: visible;
}

.has-normal-font-size,
.has-regular-font-size {
  font-size: inherit;
}

/* Comments ----------------------------------------------------------------------------------------------------------*/
.commentlist {
  list-style: none;
  margin: 0;
  border-bottom: 1px solid #F2F2F2;

  > li.comment:first-child {
    border-top: none;
  }

  li.comment {
    border: none;
    border-top: 1px solid #F2F2F2;
    list-style: none;
    margin: 10px 0 0;
    padding: 20px 0 0;
    article {
      @include clearfix;
      padding-bottom: 20px;
    }
    .children {
      margin-left: 70px;
    }
  }

}

li.comment > article {
  .avatar {
    background: #fff;
    float: left;
    margin: 0 10px 10px 0;
    position: relative;
    z-index: 1;
    @include border-radius(60px);
  }
}

.comment-form-cookies-consent {

  label {
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px;
  }

  input[type="radio"],
  input[type="checkbox"] {
    margin: 0;
  }
}

#respond {
  .allowed-tags code {
    background-color: transparent;
    border: none;
    white-space: pre-wrap;
  }
  form label {
    font-weight: bold;
  }
}

/* Page - Sidebar ----------------------------------------------------------------------------------------------------*/
.page-content {
  margin-bottom: 20px;
}

.page-sidebar {

  #twitter_update_list {
    > ul {
      margin: 0 0 10px;
      > li {
        background: none;
        padding: 0 0 10px;
        margin-bottom: 10px;
        span {
          display: block;
          font-size: 11px;
        }
      }
    }
  }

  .flickr-photos {
    img {
      background-color: #f2f2f2;
      &:hover {
        background-color: darken(#f2f2f2, 15%);
      }
    }
  }

}

#searchform {
  input {
    margin-bottom: 10px;
    border-radius: 4px
  }
  label.screen-reader-text {
    display: none;
  }
}

.widget {
  h3 {
    font-weight: 600;
    font-size: 20px;
  }
  ul {
    li {
      list-style: none;
      padding: 8px 8px 8px 23px;
      background: url("../images/li-arrow.png") no-repeat 8px 15px;
      border-bottom: 1px solid #f2f2f2;
    }
    li:last-child {
      border-bottom: none;
    }
  }
  > div > ul,
  > ul {
    margin-left: 0;
  }

}

.support-widget {
  border: 1px solid #e9e6c4;
  padding: 10px 100px 10px 20px;
  background: #fefbdc url("../images/support.png") no-repeat 95% 20px;
  margin-bottom: 20px;
  h3 {
    margin: 0;
    padding: 0;
  }
}

.quick-links-widget {
  border: 1px solid #d7d9dc;
  padding: 10px 15px 15px;

  h3 {
    margin: 0;
    padding: 0;
  }

  .menu {
    margin: 0;
    padding: 0;
    > li {
      border-bottom: none;
      padding: 5px 5px 5px 20px;
      background-position: 5px 13px;
      float: left;
      width: 35%;
      margin-right: 5%;
    }
  }

  .sub-menu {
    display: none;
  }
}

/* Wp Calendar Widget */
#wp-calendar {
  width: 100%;
}

#wp-calendar caption {
  margin: 11px 0 30px;
  text-align: left;
  font-size: 24px;
  line-height: 30px;
  color: #3b4348;
  font-weight: 500;
}

#wp-calendar thead th {
  color: #fff;
  text-align: center;
  padding: 10px 4px;
  background: #3b4348;
}

#wp-calendar tbody {
  color: #fff;
}

#wp-calendar tbody td {
  background: #f5f5f5;
  border: 1px solid #fff;
  text-align: center;
  padding: 10px 4px;
  color: #3b4348;
}

#wp-calendar tbody td#today,
#wp-calendar tbody td:hover {
  background: #3b4348;
  color: #fff;
}

#wp-calendar tbody td a {
  font-weight: bold;
}

#wp-calendar tbody .pad {
  background: none;
}

footer #wp-calendar caption {
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  margin: 11px 0;
  line-height: 44px;
}

footer #wp-calendar thead th {
  border-color: #36384C;
}

footer #wp-calendar tbody td {
  border-color: #36384C;
}

footer #wp-calendar tbody td.pad {
  border-color: transparent;
}

/* Home --------------------------------------------------------------------------------------------------------------*/
.row.separator {
  margin-bottom: 10px;
}

.home-listing-area {
  h2 {
    font-weight: 600;
    font-size: 22px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f2f2f2;
  }
}

.home-category-list-area {
  h2 {
    font-weight: 600;
    font-size: 22px;
    padding-bottom: 10px;
  }
}

.top-cats {
  h4.category {
    margin: 9px 0;
    padding: 2px 0 2px 30px;
    background: url("../images/category-main-icon.png") no-repeat 0 0;
    font-weight: 600;
  }
}

/* Articles List Widget ----------------------------------------------------------------------------------------------*/

.articles-list {
  margin-bottom: 20px;
  > h3 {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 20px;
    span {
      color: $textColor;
      font-size: 16px;
    }
    a {
      color: $headingsColor;
      &:hover {
        color: $linkColorHover;
      }
    }
  }
}

ul.articles {
  list-style: none;
  margin: 0;

  .article-entry {
    position: relative;
    background: none;
    border-bottom: 1px solid #f2f2f2;
    padding: 0;
    .fa {
      margin-right: 5px;
    }
  }
  li.article-entry:last-child {
    border-bottom: 1px solid #f2f2f2;
  }
}

.article-entry {
  > h4 {
    font-size: 13px;
    margin-bottom: 5px;
    font-weight: 600;
    a {
      color: $headingsColor;
      &:hover {
        color: $linkColorHover;
      }
    }
  }
  .article-meta {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
  }
  .like-count {
    position: absolute;
    bottom: 0;
    right: 0;
    line-height: 18px;
    font-weight: 600;
    padding: 5px 8px;
    border: 1px solid #f2f2f2;
    border-bottom: none;
    .fa {
      margin-right: 5px;
    }
  }
  &:hover {
    .like-count {
      color: $linkColorHover;
      .fa {
        color: $linkColorHover;
      }
    }
  }
}

ul.sub-categories {
  list-style: none;
  margin: 0;
  .category-entry {
    position: relative;
    border-bottom: 1px solid #f2f2f2;
    .fa {
      margin-right: 5px;
    }
  }
  li.article-entry:last-child {
    border-bottom: 1px solid #f2f2f2;
  }
}

.category-entry {
  > h4 {
    font-size: 13px;
    margin-top: 11px;
    margin-bottom: 12px;
    font-weight: 600;
    a {
      color: $headingsColor;
      &:hover {
        color: $linkColorHover;
      }
    }
  }
  .cat-count {
    color: #6F7579;
    margin-left: 4px;
  }
}

#footer {
  .article-entry {
    padding: 0;
  }
  .article-entry .like-count {
    position: static;
    right: auto;
    bottom: auto;
    border: none;
    padding: 0;
    margin: 0 0 10px 0;
    display: block;
  }
  .article-entry:hover .like-count {
    color: inherit;
    .fa {
      color: inherit;
    }
  }
  ul.articles {
    li.article-entry:last-child {
      border-bottom: 1px solid #535b61;
    }
  }
}

/* Articles List ------------------------------------------------------------------------------------------------------*/
.main-listing {
  margin-bottom: 20px;

  article.hentry {
    margin-bottom: 0;
    &.sticky {
      padding: 20px;
      background: #fefbdc;
      border: 1px solid #e9e6c4;
      margin-bottom: 20px;
      .post-meta {
        border-color: #e9e6c4;
      }
    }
  }
}

.hentry {

  .post-meta {
    padding: 5px 3px 4px 5px;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    margin-bottom: 15px;
    font-size: 12px;

    > span {
      display: inline-block;
      margin-right: 15px;
      line-height: 22px;
      .fa {
        margin-right: 6px;
        font-size: 14px;
        line-height: 22px;
      }
    }

    .like-count {
      float: right;
      .fa {
        margin-right: 5px;
      }
      &:hover {
        color: $linkColorHover;
        .fa {
          color: $linkColorHover;
        }
      }
    }
  }
}

.like-btn {
  .like-it {
    display: inline-block;
    height: 20px;
    line-height: 20px;
    padding: 5px 10px 4px;
    background-color: #fafafa;
    cursor: pointer;
    @include border-radius(3px);
    color: #8cd24e;
    .fa {
      margin-right: 5px;
    }
    &:hover {
      background-color: #b6b6b6;
      color: #fff;
      .fa {
        color: #fff;
      }
    }
  }
  .like-it.already-voted {
    cursor: default;
    background-color: #fafafa;
    &:hover {
      background-color: #b6b6b6;
      color: #fff;
      .fa {
        color: #fff;
      }
    }
  }
}

.hentry.type-post {
  .post-title {
    font-size: 20px;
    line-height: 30px;
    overflow-wrap: break-word;
    .fa {
      margin-right: 8px;
    }
  }

  h1.post-title {
    font-size: 26px;
    line-height: 36px;
    background-position: 0 6px;
    a {
      color: #3B4348;
    }
  }
}

.hentry {
  .post-title {
    .fa {
      margin-right: 8px;
    }
  }
}

.single-faq .hentry h1.post-title {
  font-size: 24px;
  line-height: 34px;
}

.post-video {
  margin-bottom: 20px;

  .video-wrapper {
    width: 100%;
    position: relative;
    padding: 0;
    padding-top: 56.2%;

    iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
  }
}

.page-404 {

  h1.title-404 {
    font-size: 200px;
    line-height: 210px;
    font-weight: 800;
    text-align: center;
    margin: 30px;
  }

  h2 {
    font-size: 30px;
    text-align: center;
  }

  h3 {
    font-size: 26px;
    text-align: center;
  }

  p {
    font-size: 14px;
    text-align: center;
  }
}

.comment-form-comment textarea {
  width: 100%;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

/* Search Page -------------------------------------------------------------------------------------------------------*/

h1.archive-title,
h1.search-title {
  background-color: #fcfcfc;
  padding: 0 20px;
  font-size: 18px;
  font-weight: 600;
  color: #6f7579;
  @include border-radius(4px);

  span {
    color: #3f4b55;
    font-style: italic;
  }
}

#live-search-results {
  z-index: 9999;
  background-color: #fff;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  width: 370px;
  @include box-shadow(0px 0px 4px rgba(0, 0, 0, 0.2));

  .search-result {
    position: relative;
    padding: 10px 10px 10px 10px;
    .fa {
      margin-right: 6px;
    }
    &:hover {
      background-color: #f8f8f8;
      a {
        color: $linkColorHover;
      }
    }
    a {
      font-weight: 600;
    }
  }

  .no-result {
    padding: 10px 10px 10px 10px;
    font-weight: 600;
    &:hover {
      background-color: #f8f8f8;
      color: $linkColorHover;
    }
  }

  .search-result {
    .like-count {
      .fa {
        margin-right: 3px;
        margin-left: 6px;
      }
    }
    &:hover {
      .like-count {
        color: $linkColorHover;
        .fa {
          color: $linkColorHover;
        }
      }
    }
  }
}

/* FAQs --------------------------------------------------------------------------------------------------------------*/

.faq-item {
  padding: 12px 25px 10px 45px;
  border: 1px solid #fff;
  border-bottom: 1px solid #e8e8e8;
  position: relative;
}

.faq-icon {
  background-image: url("../images/faq-plus.png");
  background-repeat: no-repeat;
  background-position: 0 0;
  position: absolute;
  display: inline-block;
  height: 17px;
  width: 17px;
  top: 15px;
  left: 15px;
  cursor: pointer;
}

.faq-item.active .faq-icon {
  background-image: url("../images/faq-minus.png");
}

.faq-item.active {
  background-color: #f5f5f5;
  border: 1px solid #eaeaea;
  margin-bottom: 5px;
  h3.faq-question {
    color: #395996;
  }
}

.faq-item h3.faq-question {
  color: #666565;
  font-size: 14px;
  line-height: 22px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  margin: 0;
  a {
    color: inherit;
    &:hover {
      color: #395996;
    }
  }
}

.faq-item .faq-answer {
  margin-top: 10px;
}

/* Contact -----------------------------------------------------------------------------------------------------------*/

#contact-form {
  label {
    font-weight: 700;
  }
}

textarea.error,
input[type=text].error,
.error {
  border-color: red;
}

.error-container {
  color: red;
}

#contact-form .error-container label {
  font-weight: 400;
}

#contact-loader {
  display: none;
}

#message-sent {
  font-weight: 600;
  color: darken($textColor, 15%);
}

/* Tag Cloud ---------------------------------------------------------------------------------------------------------*/

.tagcloud a {
  margin: 3px;
  font-size: 11px;
}

/* Footer ------------------------------------------------------------------------------------------------------------*/

#footer-wrapper {
  width: 100%;
  background: url("../images/footer-bg.png");
  > #footer {
    padding: 20px $container_horiz_pad;
  }
}

#footer {
  .widget {
    color: #8f98a0;

    h3 {
      color: #fff;
    }

    a {
      color: #ddd;
      &:hover {
        color: #fff;
      }
    }

    .tagcloud a {
      color: #333;
      &:hover {
        color: #222;
      }
    }

    #twitter_update_list {
      > ul {
        margin: 0 0 10px;
        > li {
          border: none;
          background: none;
          padding: 0;
          margin-bottom: 20px;
          span {
            display: block;
            color: #656f79;
          }
        }
      }
    }

    ul {
      li {
        border-bottom: 1px solid #535b61;
      }
      li:last-child {
        border-bottom: none;
      }
    }
  }
}

.flickr-photos {
  margin-left: -10px;
  img {
    margin: 0 0 10px 10px;
    padding: 4px;
    background-color: #8F98A0;
    &:hover {
      background-color: lighten(#8F98A0, 15%);
    }
  }
}

#footer-contact {
  label {
    display: none;
  }
  input[type=text], textarea {
    border: none;
    box-shadow: none;
    border-radius: 0;
    background-color: #2d3338;
    color: #5a646c;
  }
  input[type=submit] {
    border: none;
    background-color: #5d686b;
    color: #aab5bf;
    padding: 5px 20px;
    &:hover {
      background-color: #525e61;
    }
  }
}

.lt-ie9 #footer-contact {
  label {
    display: block;
  }
}

#footer-bottom-wrapper {
  background-color: #353c41;
  width: 100%;
  > #footer-bottom {
    padding: 15px $container_horiz_pad 10px;
  }
}

#footer-bottom {
  .copyright {
    margin: 5px 0 10px;
  }
  .social-nav {
    list-style: none;
    margin: 0;
  }
}

.social-nav {
  > li {
    float: right;
    margin-left: 4px;
  }
  li > a {
    display: inline-block;
    width: 30px;
    height: 30px;
  }
  li.facebook a {
    background: url(../images/facebook.png) no-repeat 0 0;
  }
  li.deviantart a {
    background: url(../images/devine-art.png) no-repeat 0 0;
  }
  li.flickr a {
    background: url(../images/flickr.png) no-repeat 0 0;
  }
  li.google a {
    background: url(../images/google.png) no-repeat 0 0;
  }
  li.linkedin a {
    background: url(../images/linked-in.png) no-repeat 0 0;
  }
  li.rss a {
    background: url(../images/rss.png) no-repeat 0 0;
  }
  li.skype a {
    background: url(../images/skype.png) no-repeat 0 0;
  }
  li.stumble a {
    background: url(../images/stumble.png) no-repeat 0 0;
  }
  li.twitter a {
    background: url(../images/twitter.png) no-repeat 0 0;
  }
  li > a {
    &:hover {
      background-position: 0 -40px;
    }
  }
}

/* Accordion Styles -----------------------------------------------------------------------------------*/
.toggle,
.accordion {
  margin-bottom: 25px;
  padding-left: 0;
  text-align: left;
}

.toggle dt,
.accordion dt {
  position: relative;
  padding: 10px 10px 9px 35px;
  line-height: 20px;
  margin-bottom: 1px;
  border-bottom: 1px solid #e8e8e8;
  cursor: pointer;
  font-weight: 600;
  &:hover {
    color: $linkColorHover;
  }
}

.toggle dt span,
.accordion dt span {
  position: absolute;
  top: 11px;
  left: 9px;
  display: block;
  width: 17px;
  height: 17px;
  background: url(../images/plus-minus.png) no-repeat 0 0;
}

.toggle dt.current span,
.accordion dt.current span {
  background-position: bottom;
}

.toggle dd,
.accordion dd {
  display: none;
  padding: 20px;
  margin-bottom: 0;
  margin-left: 15px;
}

.lt-ie8 .toggle dt span,
.lt-ie8 .accordion dt span {
  top: 0;
}

/* Tabs Styles -----------------------------------------------------------------------------------*/
.tabs-nav {
  list-style: none;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding-left: 0;
}

.tabs-nav li {
  float: left;
  line-height: 32px;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
  border-bottom: none;
  background: none;
}

.tabs-nav li.active {
  line-height: 31px;
}

.tabs-nav li a {
  background: #f5f5f5;
  border: 1px solid #efefef;
  border-top: 2px solid #d7d7d7;
  border-left: none;
  color: #6f7579;
  display: block;
  letter-spacing: 0;
  outline: none;
  padding: 0 20px;
  text-decoration: none;
  text-shadow: 0 1px 0 #fff;
}

.tabs-nav li:first-child a {
  border-left: 1px solid #efefef;
}

.tabs-nav li a:hover {
  background: #fafafa;
  color: #395996;
}

.tabs-nav li.active a {
  color: #395996;
  background: #fff;
  border-bottom: 2px solid #fff;
  border-top: 2px solid #395996;
}

.tabs-container {
  border: 1px solid #efefef;
  margin: -1px 0 20px;
  overflow: hidden;
  width: 100%;
}

.tabs-container .tab-content {
  padding: 20px 15px;
  margin-bottom: 0;
}

.lt-ie9 .tabs-container .tab-content {
  background-color: #fff;
}

/* Messages Styles -----------------------------------------------------------------------------------*/
p.error {
  padding: 10px 20px 10px 45px;
  background: #F9E5E6;
  border: 1px solid #F7C7C9;
  border-left-width: 4px;
  color: #B3696C;
}

p.success {
  padding: 10px 20px 10px 45px;
  background: #e3ebc6;
  border: 1px solid #c2d288;
  border-left-width: 4px;
  color: #8fa442;
}

p.info {
  padding: 10px 20px 10px 45px;
  background: #d8ecf5;
  border: 1px solid #9ac9df;
  border-left-width: 4px;
  color: #528da9;
}

p.notice {
  padding: 10px 20px 10px 45px;
  background: #fcf7d9;
  border: 1px solid #f5dc7d;
  border-left-width: 4px;
  color: #c4a21b;
}

.dropcap {
  font-size: 62px;
  margin-right: 6px;
  padding-top: 4px;
  text-transform: uppercase;
  float: left;
  position: relative;
  top: 5px;
  color: #824328;
}

/* Contact Form 7 CSS ----------------------------------------------------------------------------------------------- */
.wpcf7-form {
  p {
    margin-bottom: 10px;
  }
}

/* Scroll Top ------------------------------------------------------------------------------------------------------- */
a#scroll-top {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  height: 42px;
  width: 42px;
  line-height: 42px;
  background: darken(#353c41, 15%) url("../images/scroll-top.png") center center no-repeat;
  opacity: 0.8;
  -moz-opacity: 0.8;
  -webkit-opacity: 0.8;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
}

a#scroll-top:hover {
  background-color: #353c41;
}

/*------------------------------------------------------------------------------------------------------------------- */
/* bbPress CSS           -------------------------------------------------------------------------------------------- */
/*------------------------------------------------------------------------------------------------------------------- */

#bbpress-forums {
  .bbp-search-form {
    display: none;
  }
  .bbp-breadcrumb {
    margin-left: 1px;
    margin-bottom: 4px;
    .bbp-breadcrumb-sep {
      margin: 0 4px;
    }
  }
  li.bbp-header {
    background: #fafafa;
    padding: 10px 10px 12px;
    margin: 0;
    border: 1px solid #eee;
    .forum-titles li {
      font-weight: 700;
    }
  }
  li.bbp-body ul.forum,
  li.bbp-body ul.topic {
    padding: 0;
  }
  ul.bbp-lead-topic,
  ul.bbp-topics,
  ul.bbp-forums,
  ul.bbp-replies,
  ul.bbp-search-results {
    border-color: #eee;
    border: none;
  }
  ul.bbp-forums {
    padding-top: 0;
    margin-top: 0;
  }
  li.bbp-body ul.forum,
  li.bbp-body ul.topic {
    border-color: #eee;
    border: none;
    margin: 0;
    padding-bottom: 20px;
    padding-top: 20px;
    border-bottom: 1px solid #eee;

  }
  li.bbp-body ul.topic {
    padding-left: 10px;
    padding-right: 10px;
    border-right: 1px solid #eee;
    border-left: 1px solid #eee;
  }
  li.bbp-header,
  li.bbp-footer {
    color: #6F7579;
    font-weight: 700;
    font-size: 14px;
  }
  li.bbp-footer {
    background: transparent;
    border: none;
  }
  .bbp-forum-info {
    .bbp-forum-title {
      color: #3B4348;
      font-weight: 600;
      font-size: 16px;
      line-height: 26px;
      &:hover {
        color: $linkColorHover;
      }
    }
  }
  .bbp-forum-info .bbp-forum-content {
    font-size: 13px;
    line-height: 22px;
    margin: 5px 0 8px;
  }
  div.odd,
  ul.odd {
    background: transparent;
  }
  .bbp-forums-list li {
    display: block;
    font-weight: 600;
    font-size: 12px;
    margin: 5px 0;
  }
  .bbp-forums-list {
    border-left: 3px solid #eee;
    margin: 0;
  }
  p.bbp-topic-meta img.avatar,
  ul.bbp-reply-revision-log img.avatar,
  ul.bbp-topic-revision-log img.avatar,
  div.bbp-template-notice img.avatar,
  .widget_display_topics img.avatar,
  .widget_display_replies img.avatar,
  p.bbp-topic-meta img.avatar {
    border: 2px solid #ccc;
    margin-bottom: auto;
    margin-right: 2px;
    margin-left: 2px;
  }

  div.bbp-forum-author img.avatar,
  div.bbp-topic-author img.avatar,
  div.bbp-reply-author img.avatar {
    margin-bottom: 10px;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    border-radius: 60px;
  }

  div.bbp-template-notice,
  div.indicator-hint {
    border-radius: 0;
  }
  fieldset.bbp-form legend {
    font-weight: 600;
    border: none;
    width: auto;
    padding: 5px 10px;
    margin: 0;
  }
  .bbp-pagination-count {
    float: none;
    text-align: right;
  }
  .bbp-reply-content {
    span {
      font-size: 12px;
    }
  }
  div.bbp-reply-header {
    background: transparent;
    border-bottom: 1px solid #eee;
  }
  .bbp-replies .bbp-header {
    border-bottom: none;
  }
  .bbp-replies .bbp-footer {
    display: none;
  }
  .bbp-topic-title {
    font-size: 13px;
    line-height: 22px;
  }
  div.bbp-forum-content,
  div.bbp-topic-content,
  div.bbp-reply-content {
    font-size: 13px;
    line-height: 22px;
    pre {
      border-style: solid;
      border-width: 1px;
      overflow: auto;
      padding: 2em;
      line-height: 2em;
      font-size: 12px;
      background: transparent;
      background-image: -webkit-linear-gradient(rgba(0, 0, 0, .04) 50%, transparent 50%, transparent);
      background-image: -moz-linear-gradient(rgba(0, 0, 0, .04) 50%, transparent 50%, transparent);
      background-image: -ms-linear-gradient(rgba(0, 0, 0, .04) 50%, transparent 50%, transparent);
      background-image: -o-linear-gradient(rgba(0, 0, 0, .04) 50%, transparent 50%, transparent);
      background-image: linear-gradient(rgba(0, 0, 0, .04) 50%, transparent 50%, transparent);
      -webkit-background-size: 100% 4em;
      -moz-background-size: 100% 4em;
      background-size: 100% 4em;
      font-family: Monaco, "Andale Mono", "Courier New", Courier, monospace;
      -webkit-transition: all ease-in-out 0.5s;
      -moz-transition: all ease-in-out 0.5s;
      -o-transition: all ease-in-out 0.5s;
      transition: all ease-in-out 0.5s;
      margin-bottom: 30px;
      position: relative;
      left: 0;
      border-radius: 0;
    }
  }
  div.bbp-the-content-wrapper {
    border: 1px solid #dedede;
    border-radius: 4px;
  }
}

.bbp-login-form {
  label {
    width: auto;
    display: block;
  }
  .bbp-remember-me {
    label {
      display: inline-block;
      line-height: 100%;
      margin: 2px 0 0 5px;
    }
    input[type="checkbox"] {
      margin: 0;
    }
  }
  .bbp-submit-wrapper {
    float: none;
    clear: both;
    text-align: left;
  }
  .bbp-username,
  .bbp-email,
  .bbp-password,
  .bbp-remember-me {
    margin-top: 0;
  }
  .bbp-login-links {
    margin-top: 10px;
  }
}

.bbp-logged-in img.avatar {
  border: 3px solid #eee;
}

#bbp-search-form {
  input {
    vertical-align: top;
  }
}

.widget .bbp-author-avatar img {
  border: 2px solid #ddd;
  margin-right: 2px;
}

.post-password-form {
  margin-bottom: 22px;

  label {
    display: inline-block;
    margin-bottom: 0;
    line-height: 1;
  }

  input[type="text"],
  input[type="password"] {
    display: block;
    margin-top: 5px;
    margin-bottom: 0;
    border-radius: 0;
  }

  input[type="submit"] {
    display: inline-block;
    padding-top: 4px;
    padding-bottom: 4px;
    margin: -4px 0 0;
  }
}

p[style^="font-size"],
p[style^="font-size:"],
p[style^="font-size: "]{
  line-height: 1.2;
}
/*------------------------------------------------------------------------------------------------------------------- */
/* CUSTOM RESPONSIVE CSS -------------------------------------------------------------------------------------------- */
/*------------------------------------------------------------------------------------------------------------------- */
@import "custom-responsive";