@import '../theme-styles/variables';
@import '../theme-styles/functions';

.body-font {
  font-family: "Open Sans", sans-serif;
}
.title-font {
  font-family: "Oswald", sans-serif;
}

/* Globals */
@accent: #3f1c18;
@onaccent: #d8a33e;
@header-color: #eee;
@background: #fff;
@sbg: #ffffff;
@content: #8e8f77;
@footer-bg: #fcfeed;

body {
  .body-font;
  background: @background;
  word-wrap: break-word;
}
.mega-container {
  background: white;
  margin: auto;
  margin-top: 20px;
  overflow: visible;
}
a {
  color: @accent;
  cursor: pointer;
  &:hover {
    text-decoration: none;
    color: @accent;
  }
}
.container {
  margin: auto;

  @media screen and (min-width: 1290px) {
    width: 1270px;
  }
}

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

#top-bar-wrapper {
  overflow: visible;
}
#top-bar {
  background: @accent;
  overflow: visible;

  #search-form {
    padding: 0;
    label {
      width: 100%;
      margin: 0;
      position: relative;
      .search-field {
        width: 100%;
        border-radius: 0;
        border: none;
        padding: 22px;
        padding-left: 50px;
        font-size: 16px;
        background: lighten(@accent, 3%);
        @media screen and (max-width: 991px) {
          background: @accent;
        }
        color: @onaccent;
        outline-color: @accent;
        .placeholder(fade(@content, 50%));
      }
      &:before {
        content: "\f002";
        font-family: "FontAwesome";
        position: absolute;
        left: 17px;
        top: 14px;
        font-size: 26px;
        color: fade(@onaccent, 12%);
      }
    }
  }
}
#head {
  padding: 0;
  display: flex;
  align-items: stretch;
  border-bottom: solid 9px @onaccent;
  position: relative;
  clear: both;
  @media screen and (max-width: 767px) {
    display: block;
  }
  &:after {
    content: "";
    width: 100%;
    height: 0px;
    border-top: dotted 3px fade(@accent,50%);
    position: absolute;
    bottom: -6px;
    left: 0px;
    .transition(15s all ease);
  }
}
#masthead {
  text-align: center;
  background: @accent;
  padding-top: 80px;
  padding-bottom:160px;
  @media screen and (max-width: 767px) {
    padding-top: 20px;
    padding-bottom: 50px;
  }
  #text-title-desc {
    clear: none;
    @media screen and (max-width: 768px) {
      float: none;
    }
    vertical-align: middle;
  }
  h1.site-title {
    font-size: 42px;
    //font-weight: light;
    margin-top: 0px;
    a {
      color: @onaccent;
    }
  }
  h2.site-description {
    font-weight: 300;
    font-size: 15px;
    margin-top: 10px;
    color: @onaccent;
  }
}
.site-branding {
  padding: 15px 0;
  overflow: hidden;
  @media screen and (max-width: 768px) {
    text-align: center;
  }
}

#site-logo {
  display: inline-block;
  @media screen and (max-width: 768px) {
    float: none;
  }
}
.head-full {
  background: @accent;
}
#header-image {
  -webkit-filter: brightness(0.9);
  .entry-title {
    font-size: 42px;
    color: white;
    font-weight: bolder;
    text-shadow: 5px 5px 40px black;
    padding: 20px;
    margin-top: 75px;
    @media screen and (max-width: 767px) {
      margin-top: 5px;
      font-size: 30px;
    }
    width: 80%;
    text-align: center;
    margin-left: 10%;
    -webkit-filter: brightness(0.95);

  }
  @media screen and (max-width: 767px) {
    height: 200px;
  }
}

#head:hover {
  &:after {
  }
}
#jumbosearch {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: fade(black , 84%);
  z-index: 99999;
  text-align: center;
  display: none;
  .form {
    margin-top: 20%;
    label {
      width: 80%;
      text-align: center;
    }
    input[type=search] {
      background: none;
      outline: none;
      padding: 20px;
      font-size: 28px;
      border: none;
      border-bottom: solid 1px #ddd;
      border-radius: 0;
      color: white;
      width: 80%;
      text-align: center;
      clear: both;
    }
    input[type=submit] {
      display: none;
      text-transform: uppercase;
    }
  }
  .closeicon {
    position: absolute;
    right: 30px;
    top: 40px;
    color: #eee;
    font-size: 27px;
    padding: 15px;
    cursor: pointer;
  }
}
#search-icon {
  display: block;
  text-align: center;
  margin-bottom: 10px;
  #searchicon {
    display: inline-block;
    background: @sbg;
    border: solid 2px @accent;
    color: lighten(@content,20%);
    width: 50px;
    height: 50px;
    padding-top: 11px;
    text-align: center;
    border-radius: 50%;
    font-size: 18px;
  }
}
#social-icons {
  text-align: center;
  margin-top: 10px;
  .social-icon {
    display: inline-block;
    background: fade(white, 10%);
    color: @accent;
    width: 45px;
    height: 45px;
    margin-bottom: 4px;
    padding-top: 9px;
    text-align: center;
    font-size: 18px;
    .transition(0.4s all ease);
    &:hover {
      background: fade(white, 20%);
      color: white;
    }
  }
}


/* -------- Nav Menu ---------- */
#site-navigation {
  float: left;
  background: @accent;
  ul {
    li {
      a {
        padding: 20px 13px;
        color: #fff;
        font-weight: 400;
        .transition( 0.2s all ease );
        &:hover {
          background: darken(@accent,3%);
        }
      }
      &:hover {
        a {
          background: darken(@accent,3%);
        }
      }
      ul li .menu-desc {
        display: none;
      }
      ul.sub-menu, ul.children {
        background: darken(@accent,3%);
        bottom: 60px;
        display: block;
        box-shadow: 0px -1px 1px 1px fade(#4a4a4a,10%);
        .transition( 0.4s all ease );
        perspective: 1000;
        -webkit-perspective: 1000;
        transform-origin: bottom;
        -webkit-transform-origin: bottom;
        transform: perspective(350px) rotateX(10deg);
        -webkit-transform: perspective(350px) rotateX(90deg);
        -moz-transform: perspective(350px) rotateX(90deg);
        opacity: 0;
        li ul {
          transform-origin: left;
          -webkit-transform-origin: left;
          .transition( 0.4s all ease );
          left: 100%;
          bottom: 0%;
          opacity: 0;
          -webkit-transform: rotateY(65deg) !important;
          transform: rotateY(65deg) !important;
          -moz-transform: rotateY(65deg) !important;
          li ul {
            display: none !important;
          }
        }
        li:hover {
          .transition(0.2s all ease);
          /* -webkit-transition: 0.2s all ease !important; */
          ul {
            opacity: 1;
            transform: rotateY(5deg) !important;
            -webkit-transform: rotateY(5deg) !important;
            -moz-transform: rotateY(5deg) !important;
          }
        }
        a {
          padding: 8px 15px;
          font-weight: normal;
          font-size: 14px;
          transition: 0.4s background ease, 0.6s padding ease;
          &:hover {
            background: darken(@accent,5%);
            padding-left: 19px;
          }
        }
      }
      &:hover {
        .transition(0.4s all ease);
        -webkit-transition: 0.4s all ease !important;
        ul.sub-menu, ul.children {
          display: block;
          opacity: 1;
          transform: rotateX(0deg);
          -webkit-transform: rotateX(0deg);
        }
      }
    }
    /* for the Currently active page */
    .current_page_item > a, .current-menu-item > a, .current_page_ancestor > a {
      background: darken(@accent, 10%);
    }
  }
  .fa {
    padding: 0 5px 0 0;
  }
  .menu-desc {
    font-size: 12px;
    font-weight: 300;
    color: #999;
    display: inline-block;
    margin-top: -5px;
    font-style: italic;
    text-transform: lowercase;
  }
  .current_page_item > a,
  .current-menu-item > a,
  .current_page_ancestor > a {
    color: #fff;
  }
  @media screen and (max-width: 767px) {
    margin-bottom: 20px;
  }
  .mobileMenu {
    margin: 15px;
    padding:3px;
    border-radius:4px;
    background: #ddd;
    padding: 5px;
    color: #888;
    border:none;
    outline:none;
    display: inline-block;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    cursor:pointer;
  }
}




/* TOP MENU */
#top-menu {
  float: left;
  background: @accent;
  padding-left: 0;
  @media screen and (max-width: 767px) {
    float: none;
    padding: 15px;
    text-align: center;
  }
  @media screen and (max-width: 991px) {
    background: lighten(@accent, 3%);;
  }
  ul {
    list-style: none;
    margin-bottom: 0;
    margin-left: 0px;
    li {
      position: relative;
    }
    ul {
      visibility: hidden;
      opacity: 0;
      position: absolute;
      top: 100%;
      left: -2px;
      width: 200px;
      transform: translateY(10px);
      .transition(0.4s all ease);
      background: @accent;
      z-index: 99;
      li {
        border-right: none;
        width: 100%;
        padding: 0;
        &:nth-child(odd) { background: darken(@accent,2%);}
        &:nth-child(even) { background: @accent;}
        a {
          text-transform: none;
          padding: 8px;
          width: 100%;
          .transition(0.4s all ease);
          &:hover {
            text-decoration: none;
            padding-top: 8px;
            border-top: none;
          }
        }
      }
      /* level 3 onwards */
      ul {
        transform: translateX(10px);
        left: 100%;
        top: -1px;
      }
    }
    li {
      display: inline-block;
      &:last-of-type {
        border-right: none;
      }
      a {
        padding: 22px 12px;
        color: @onaccent;
        display: inline-block;
        font-size: 16px;
        font-weight: light;
        text-transform: uppercase;
        &:hover {
          background: darken(@accent, 5%);
          border-top: solid 2px @onaccent;
          padding-top: 20px;
        }
      }
      /* DROPDOWN TRIGGER */
      &:hover {
        & > ul {
          opacity: 1;
          visibility: visible;
          transform: translateY(0) translateX(0);
          .transition(0.8s all ease);
        }
      }
    }
  }
  @media screen and (max-width: 767px) {
  }
  .mobileMenu {
    padding:3px;
    margin: 0;
    border-radius:4px;
    background: lighten(@accent, 10%);
    border: solid 3px lighten(@accent, 15%);
    padding: 5px;
    color: @onaccent;
    outline:none;
    width: 200px;
    text-align: center;
    display: inline-block;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    cursor:pointer;
  }

}


/* top slider */

.slider-wrapper {
  margin-top: 40px;
  margin-bottom: 0px;
  padding: 15px;
  .nivoSlider {
    box-shadow: none;
    border: solid 5px #eee;
  }
  .nivo-controlNav {
    position: relative;
    bottom: 60px;
    z-index: 9;
  }
  .nivo-caption {
    bottom: 60px;
    left: 55px;
    right: auto;
    font-family: inherit;
    background: none;
    @media screen and (max-width: 600px) {
      .transform(scale(0.6));
      bottom: 15px;
      left: -50px;
    }
    a { text-decoration:  none;
      border-bottom: none; }
    .slide-title {
      display: inline-block;
      font-size: 24px;
      padding: 10px;
      background: fade(black, 70%);
      border-left: solid 4px @accent;
      font-weight: lighter;
    }
    .slide-desc span {
      background: fade(@accent, 50%);
      /* border-left: solid 4px black; */
      display: inline-block;
      font-size: 16px;
      padding: 8px;
    }
    .slide-cta span {
      background: fade(black, 70%);
      font-weight: bold;
      display: inline-block;
      font-size: 16px;
      margin-top: 5px;
      padding: 10px;
      border-bottom: solid 2px black;

    }
  }
}

/* Flex Images */
.flex-images {
  border: none;
  padding: 15px 30px;
  margin-bottom: 30px;
  .section-title:after {
    width: 100%;
  }
  .item {
    margin: 6px;
    border: none;
    position: relative;
    .viewtext {
      position: absolute;
      top: 35%;
      left: 40%;
      font-size: 14px;
      z-index: 9999;
      display: none;
    }
    img {
      .transition(0.4s all ease);
    }
    &:after {
      content: "";
      position: absolute;
      display: block;
      width: 0%;
      height: 5px;
      bottom: 0px;
      background: fade(@accent,80%);
      .transition(0.4s all ease);
    }
    &:hover {
      &:after {
        width: 100%;
      }
      img {
        -webkit-filter: blur(3px) grayscale(0.9);

      }
      .flex-caption {
        padding-left: 20px;
      }
      .viewtext {
        display: block;
        color: #eee;
        text-shadow: 0 0 2px #000;
        background: #000;
        padding: 10px;
        border-radius: 10px;
      }
    }
  }
  .flex-caption {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.80) 100%);
    position: absolute;
    bottom: 0px;
    display: block;
    pointer-events: none;
    .transition(0.4s all ease);
    width: 100%;
    color: #eee;
    font-weight: bold;
    text-shadow: 1px 1px 0 #222;
    font-size: 16px;
    padding: 50px 10px 20px 10px;
  }
}

/* section titles */
.section-title {
  font-weight: normal;
  color: @content;
  font-size: 22px;
  margin-bottom: 40px;
  margin-top: 40px;
  text-transform: uppercase;
  .title-font;
  text-align: center;
  width: 100%;
  @media screen and (max-width: 991px) {
    margin-top: 20px;
  }
  span {
    background: @background;
    display: inline-block;
    position: relative;
    padding: 0 3px;
  }
  span:after {
    content: "";
    display: block;
    width: 10px;
    height: 18px;
    border-top: solid 3px @accent;
    border-bottom: solid 3px @accent;
    color: @onaccent;
    position: absolute;
    bottom: 7px;
    left: -15px;

  }
  span:before {
    content: "";
    display: block;
    width: 10px;
    height: 18px;
    border-top: solid 3px @accent;
    border-bottom: solid 3px @accent;
    color: @onaccent;
    position: absolute;
    bottom: 7px;
    right: -15px;

  }
  div {
    position: relative;
    &:before {
      content: "";
      display: block;
      width: 15px;
      height: 18px;
      border-top: solid 4px @onaccent;
      position: absolute;
      bottom: 0px;
      right: -23px;
    }
    &:after {
      content: "";
      display: block;
      width: 15px;
      height: 18px;
      border-top: solid 4px @onaccent;
      position: absolute;
      bottom: 0px;
      left: -23px;
    }
  }
}

/*Featured Area 1*/
#featured-area-1 {
  margin: 20px 0;
  margin-top: 0;
  position: relative;
  clear: both;
  .container-fluid {
    padding: 0;
  }
  .popular-articles {
    overflow: auto;
    overflow-x: hidden;
    padding: 0;
    position: relative;
    z-index: 999;
  }
  .imgcontainer {
    padding: 1px;
    position: relative;
    overflow: hidden;
    @media screen and (min-width: 767px) {
      padding-right: 0px;
      &:last-child {
        padding-right: 1px;
      }
    }
    .postdate {
      display: inline-block;
      padding: 5px;
      color: white;
      width: 60px;
      background: @accent;
      position: absolute;
      opacity: 0;
      top: -20px;
      left: 1px;
      text-align: center;
      font-weight: normal;
      text-transform: uppercase;
      z-index: 10;
      .transition(0.8s all ease);
      pointer-events: none;
      padding-right: 8px;
      border-top-right-radius: 5px;
      border-bottom-right-radius: 5px;
      border: solid 3px lighten(@accent,5%);
      font-size: 11px;
      color: fade(@onaccent,90%);
      span {
        margin-bottom: 1px;
      }
      .day {
      }
    }
    .popimage {
      position: relative;
      overflow: hidden;
      .transition( 0.6s all ease );
      img {
        display: block;
        .transition( 0.4s all ease );
        @media screen and (max-width: 991px) {
          width: 100%;
        }
      }
      .readmore {
        position: absolute;
        right: 1px;
        bottom: 15px;
        a {
          background: @accent;
          color: fade(@onaccent,90%);
          padding: 5px;
          border: solid 3px lighten(@accent,5%);
          border-right: none;
          text-transform: uppercase;
          font-size: 11px;
          border-top-left-radius: 5px;
          border-bottom-left-radius: 5px;
        }
      }
      &:hover {
        img {
          .transform( translateX(0px) );
          opacity: 1;
        }
        .titledesc {
          display: block;
          .transform( translateX(0px) );
          /* left: 0; */
          opacity: 1;

        }
      }
    }
    .titledesc {
      display: block;
      position: absolute;
      background: fade(@accent, 65%);
      .transition(0.8s all ease 0.1s);
      .transform( translateY(-5px) );
      top: 0px;
      left: 0px;
      width: 100%;
      height: 100%;
      opacity: 0;
      pointer-events: none;
      h2 {
        font-size: 16px;
        text-align: center;
        color: white;
        font-weight: normal;
        position: relative;
        top: 50%;
        max-width: 90%;
        margin-left: 5%;
        .transform(translateY(-200%));
        a {
          color: white;
        }
      }

    }

    .popimage:hover {
      img {
        .transform( translateX(0px));
      }
      .titledesc {
        .transform( translateX(0px));
      }
    }
  }
  .imgcontainer:hover {
    .postdate {
      opacity: 1;
      top: 10px;

    }
  }

}

#featured-area-2 {
  margin-bottom: 20px;
  .section-title {
    margin-bottom: 30px;
  }
  .imgcontainer {
    padding: 1px;

    .popimage {
      position: relative;
      img {
        -webkit-filter: brightness(0.4);
        filter: brightness(0.4);
        width: 100%;
        .transition(0.8s all ease);
      }
      .titledesc {
        position: absolute;
        width: 100%;
        top: 50%;
        .transform(translateY(-60%));
        pointer-events: none;
        a {
          color: white;
          font-size: 16px;
          font-weight: lighter;
          display: block;
          text-align: center;
          pointer-events: none;
        }

      }
      &:hover {
        img {
          -webkit-filter: brightness(0.7);
          filter: brightness(0.7);
        }
      }
    }
  }
}

/* Second Featured Area - OLD CODE DONT CARE */
.featured-2 {
  margin: 20px 0;
  position: relative;
  .popular-articles {
    overflow: auto;
    overflow-x: hidden;
    .imgcontainer {
      padding: 6px;
      position: relative;
    }
    .popimage {
      position: relative;
      .transition( 0.4s all ease );
      img {
        display: block;
        .transition( 0.4s all ease );
        @media screen and (max-width: 991px) {
          width: 100%;
        }
      }
      &:hover {
        img {
          .transform( translateX(0px) );
          opacity: 1;
        }
        .titledesc {
          display: block;
          .transform( translateX(0px) );
          /* left: 0; */
          opacity: 1;

        }
      }
    }
    .titledesc {
      display: block;
      position: absolute;
      background: fade(black, 60%);
      .transition(0.8s all ease);
      .transform( translateX(-50px) );
      top: 0px;
      left: 0px;
      width: 100%;
      height: 100%;
      opacity: 0;
      h2 {
        font-size: 16px;
        text-align: center;
        color: white;
        font-weight: bold;
      }
      a {
        color: #eee;
        background: @accent;
        text-align: center;
        display: block;
        width: 40%;
        padding: 5px;
        margin: auto;
        margin-top: 25px;
      }
    }
    .imgcontainer:nth-child(odd) {
      .titledesc {
        .transform(translateX(50px));
      }
      .popimage:hover {
        img {
          .transform( translateX(0px));
        }
        .titledesc {
          .transform( translateX(0px));
        }
      }
    }
  }

}
/* sb slider */
.latest-hap {
  position: relative;
}
.sb-slider {
  .sb-description {
    pointer-events: none;
    z-index: 88;
    background: fade(black, 40%);
    border-left-color: @accent;
    padding: 10px;
    h3 {
      margin: 0;
    }

  }
}
.nav-arrows {
  position: absolute;
  top: 50%;
  a {
    background-color: fade(black,50%);
    .transition(0.2s all ease);
    box-shadow: 0px 0px 1px @accent;
    outline: none;
    &:hover {
      background-color: fade(@accent,50%);
    }
  }
  a:first-child {
    right: -535px;
    @media screen {
      @media (max-width: 1199px) {
        right: -435px;
      }
      @media (max-width: 991px) {
        right: -675px;
      }
      @media (max-width: 768px) {
        display: none;
      }
    }
  }
  a:nth-child(2) {
    right: -47px;
    @media screen and (min-width: 768px) and (max-width: 991px) {
      right: -57px;
    }
    @media screen and (max-width: 768px) {
      display: none;
    }
  }
}

#content {
  margin-top: 0px;
}

.grid-row {
  margin: 0;
}

/* Grid */
.grid {
  margin: 10px 0;
  padding-left: 0;
  padding-bottom: 17px;
  border-bottom: solid 1px #eee;
  @media screen and (max-width: 768px) {
    border-bottom: none;
  }
  &:nth-child(odd) {
  }
  &:nth-child(even) {
  }
  &:nth-last-child(2) {
    border: none;
  }

  .featured-thumb {
    overflow: hidden;
    .transition(0.4s all ease);
    padding: 0;
    @media screen and (max-width: 768px) {
      img {
        width: 100%;
      }
    }
    img {
      .transition(0.4s all ease);
    }
    &:hover {
      img {
        .transition(0.4s all ease);
        .transform( scale(1.1) );


      }
    }
  }
  .out-thumb {
    @media screen and (max-width: 768px) {
      padding: 10px 3px;
    }
    h1 {
      margin: 5px 0;
      margin-top: 1px;
      font-weight: normal;
      font-size: 19px;
      a {
        color: darken(@content,25%);
        padding-bottom: 2px;
        &:before {
          height: 2px;
          background: darken(@content,25%);
          width: 96%;
          left: 2%;
        }
      }

    }
    .postedon {
      font-size: 12px;
      color: #888;
      font-weight: normal;
      margin-bottom: 5px;
      a {
        color: #999;
        text-decoration: underline;

      }
    }
    .entry-excerpt {

      color: #777;
      line-height: 1.6em;
      font-weight:400;
    }
  }
  .readmore {
    display: block;
    clear: both;
  }
  .hvr-underline-from-center:before {
    height: 1px;
    background: @accent;
  }
}

.grid_2_column {
  padding: 0;
  border-bottom: none;
  .out-thumb {
    padding: 12px 0;

  }
  @media screen and (max-width: 768px) {
    padding-right: 0px;
  }

  @media screen and (min-width: 768px) {
    &:nth-of-type(even) {
      padding-left: 10px;
    }
    &:nth-of-type(odd) {
      padding-right: 10px;
      clear: left;
    }
  }

}

.grid_3_column {
  padding: 0 10px;
  @media screen and (min-width: 768px) {
    &:nth-of-type(odd) {
      padding-right: 10px;
      clear: none;
    }
    &:nth-of-type(3n+1) {
      clear: left;
    }
  }
}

/* Kurama Layout */
.kurama {
  margin-bottom: 70px;
  &:nth-of-type(odd) {
    clear: left;
  }
  .featured-thumb {

  }
  img {
    .transition(1s all ease);
    -webkit-filter: sepia(0%);
    filter: sepia(0%);
  }

  .out-thumb {
    margin-top: 8px;
    .transition(0.4s all ease);

    .post-meta {
      text-align: right;
      text-transform: uppercase;
      font-weight: bold;
      font-size: 11px;
      padding-left: 2px;
      transform-origin: top right;
      .transition(1s all ease);
      .author {
        margin-top: 5px;
        .fa-user {
          font-size: 11px;
          color: fade(@content, 70%);
          position: relative;
          bottom: 0px;
          right: 2px;
        }
      }
    }
    header {
      border-left: solid 3px @onaccent;
      position: relative;
      transform-origin: top left;
      .transition(1s all ease);
      &:after {
        content: "";
        position: absolute;
        left: -3px;
        top:0;
        bottom: 0;
        width: 3px;
        background: @accent;
        .transition(0.6s all ease 0s);
        .transform(scaleY(0));
        transform-origin: top;
      }
      &:hover:after {
        .transform(scaleY(1));
      }
      h1.entry-title {
        font-size: 16px;
        margin-top: 5px;
        margin-bottom: 30px;
        a {
          color: @content;
          .transition(0.4s all ease);
          &:hover {
            color: @accent;
          }
        }

      }
      .readmore {
        font-weight: bold;
        text-transform: uppercase;
        color: @accent;
        font-size: 12px;
      }
    }
  }
  &:hover {
    img {
      -webkit-filter: sepia(50%);
      filter: sepia(50%);
      .transform(scale(1.02));
    }

    .out-thumb .post-meta {
      .transform(scale(1.1));
    }
    .out-thumb header {
      .transform(scale(1.1));
    }
  }
}

/* Revive Layout */

.revive {
  margin: 2px;
  border: none;
  position: relative;
  float: left;
  overflow: hidden;

  img {
    transform: scale(1.05);
    .transition(0.8s all ease);
  }

  .postdate {
    display: inline-block;
    padding: 2px;
    color: white;
    width: 50px;
    background: @accent;
    position: absolute;
    top: 0px;
    left: 0%;
    text-align: center;
    font-weight: normal;
    text-transform: uppercase;
    z-index: 10;
    .transition(0.4s all ease);
    pointer-events: none;

    span {
      display: block;
      margin-bottom: -5px;
      font-size: 14px;
      font-weight: lighter;
    }
    .day {
      display: block;
      font-size: 14px;
      margin-bottom: 0px;
      font-weight: normal;
    }
  }
  .out-thumb {
    position: absolute;
    right: -30px;
    opacity: 0;
    bottom: 5px;
    .transition(0.8s all ease);
    transition-delay: 0.2s;
    h1 {
      font-size: 15px;
      a {
        padding: 8px;
        display: block;
        max-width: 80%;
        float: right;
        background: black;
        color: white;
        font-weight: lighter;
      }
    }
  }
  /*
&:nth-child(even) {
      .out-thumb {
          h1 a {
              background: @accent;
              color: white;
              font-weight: normal;
          }
      }
  }
*/
  &:hover {
    img {
      -webkit-filter: brightness(0.5) blur(1px);
      filter: brightness(0.5) blur(1px);
      transform: scale(1.15);
    }
    .out-thumb {
      right: 0;
      opacity: 1;
    }
  }

}

/* --------------- pagination ------------ */
.pagination {
  margin: 20px 0;
  text-align: center;
  margin-bottom: 40px;
  width: 100%;
  clear: both;
  text-align: center;
  .nav-links {
    text-align: center;
    display: block;
  }
  .current {
    border-bottom: 2px solid @accent;
    pointer-events: none;
  }
  span {
    pointer-events: none;
  }
}
.pagination .nav-links a, .pagination .nav-links span {
  padding: 4px 8px;
  line-height: 20px;
  text-decoration: none;
  margin-right: 5px;
  font-size: 16px;
  background-color: none;
  display: inline-block;
  color: @onaccent;
  font-weight: bold;
  &:hover {
    border-bottom: 2px solid @accent;
  }

}

#secondary {
  aside {
    padding: 10px;
  }
  /*
aside:nth-child(odd) {
      background: #fafafa;
      border: solid 1px #eee;
  }
*/
  h1.widget-title {
    font-weight: normal;
    color: @onaccent;
    font-size: 18px;
    margin-bottom: 20px;
    margin-top: 0px;
    text-transform: uppercase;
  }
  .widget {
    a {
      color: #888;
      font-weight: 14px;
      .transition( 0.4s all ease );
      &:hover {
        color: @accent;
      }
    }
    ul {
      font-size: 14px;
      margin-left: 0px;
      li {
        list-style: none;
        padding: 6px;

        &:last-child {
          border-bottom: none;
        }
      }
    }
  }
  .widget_search {
    margin-bottom: 20px;
    label {
      width: 100%;
    }
    input[type=search] {
      background: white;
      border: solid 2px @sbg;
      border-radius: 0px;
      padding: 15px;
      font-size: 16px;
      padding-bottom: 10px;
      outline: none;
      width: 80%;
    }
  }
  .search-submit {
    display: none;
  }
  /* Some Styling for Default WordPress Widgets */
  .widget_recent_entries, .widget_recent_comments, .widget_categories, .widget_pages, .widget_archive, .widget_meta, .widget_nav_menu {
    ul li:before {
      content: "\f058";
      font-family: "FontAwesome";
      color: @accent;
      font-size: 10px;
      margin-right: 5px;
      position: relative;
      top: -1px;

    }
    ul li {
      .transition( 0.4s all ease );

      &:hover {
        .transform(translateX(2px));
      }
    }
  }
  .widget_tag_cloud {
    .tagcloud a {
      background: @accent;
      font-size: 14px !important;
      text-transform: uppercase;
      font-weight: normal;
      color: @sbg;
      padding: 7px 5px;
      margin-bottom: 5px;
      display: inline-block;
      &:hover {

      }
    }
  }
  /* Pulse Grow */
  @-webkit-keyframes hvr-pulse-grow {
    to {
      -webkit-transform: scale(1.05);
      transform: scale(1.05);
    }
  }

  @keyframes hvr-pulse-grow {
    to {
      -webkit-transform: scale(0.95);
      transform: scale(0.95);
    }
  }

  .tagcloud a {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
  }
  .tagcloud a:hover, .tagcloud a:focus, .tagcloud a:active {
    -webkit-animation-name: hvr-pulse-grow;
    animation-name: hvr-pulse-grow;
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
  }
  .widget_kurama_rp {
    li.rp-item {
      overflow: auto;
      clear: both;
      display: block;
      padding: 8px 0px;
      font-size: 13px;
    }
    .rp-thumb {
      width: 52px;
      float: left;
      display: inline-block;
      margin-right: 6px;
    }
    .rp-date {
      color: lighten(@content,10%);
      font-size: 11px;

    }
  }
}


/* Footer Sidebar */
#footer-sidebar {

  background: @footer-bg;
  border-top: solid 1px #eee;
  .footer-column {
    h1.widget-title {
      font-weight: normal;
      font-size: 17px;
      color: @onaccent;
      text-transform: uppercase;
    }
    .widget {
      color: darken(@content, 10%);
      a {
        color: @content;
        font-weight: normal;
        .transition(0.4s all ease);
        &:hover {
          color: @accent;
        }
      }
      ul {
        margin-left: 0px;
      }
      ul li {
        list-style: none;
        padding: 5px;
        ul {
          margin-left: 5px;
        }
        li {
          margin-left: 2px;
          border-bottom: none;
          padding: 2px;
        }
      }
    }
    .widget_tag_cloud {
      .tagcloud a {
        background: @accent;
        font-size: 14px !important;
        text-transform: uppercase;
        font-weight: normal;
        color: @sbg;
        padding: 7px 5px;
        margin-bottom: 5px;
        display: inline-block;
        &:hover {

        }
      }
    }
    /* Pulse Grow */
    @-webkit-keyframes hvr-pulse-grow {
      to {
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
      }
    }

    @keyframes hvr-pulse-grow {
      to {
        -webkit-transform: scale(0.95);
        transform: scale(0.95);
      }
    }

    .tagcloud a {
      display: inline-block;
      vertical-align: middle;
      -webkit-transform: translateZ(0);
      transform: translateZ(0);
      box-shadow: 0 0 1px rgba(0, 0, 0, 0);
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
      -moz-osx-font-smoothing: grayscale;
    }
    .tagcloud a:hover, .tagcloud a:focus, .tagcloud a:active {
      -webkit-animation-name: hvr-pulse-grow;
      animation-name: hvr-pulse-grow;
      -webkit-animation-duration: 0.3s;
      animation-duration: 0.3s;
      -webkit-animation-timing-function: linear;
      animation-timing-function: linear;
      -webkit-animation-iteration-count: infinite;
      animation-iteration-count: infinite;
      -webkit-animation-direction: alternate;
      animation-direction: alternate;
    }
    .widget_kurama_rp {
      li.rp-item {
        overflow: auto;
        clear: both;
        display: block;
        padding: 8px 0px;
        font-size: 13px;
      }
      .rp-thumb {
        width: 52px;
        float: left;
        display: inline-block;
        margin-right: 6px;
      }
      .rp-date {
        color: lighten(@content,10%);
        font-size: 11px;

      }
    }
    .widget_recent_entries, .widget_recent_comments, .widget_categories, .widget_pages, .widget_archive, .widget_meta, .widget_nav_menu {
      ul li:before {
        content: "\f058";
        font-family: "FontAwesome";
        color: @accent;
        font-size: 10px;
        margin-right: 5px;
        position: relative;
        top: -1px;

      }
    }
  }
}

#colophon {
  background: darken(@footer-bg,5%);
  padding: 10px 10px 10px 10px;
  color: @content;
  font-size: 13px;
  padding-top: 15px;
  overflow: auto;
  text-align: center;
  a {
    color: @content;
    text-decoration: underline;
  }
}


/* Single Posts Area */
#primary-mono {
  padding: 0 10px;
  padding-left: 20px;
  @media screen and (max-width:767px) {
    padding-left: 10px;
  }
  h1.entry-title {
    font-weight: bold;
    color: @onaccent;

    font-size: 34px;
    margin-top: 0px;
    padding: 10px;
    padding-left: 0;
    margin-bottom: 20px;

  }
  .entry-meta, .entry-footer {
    font-size: 12px;
    border-bottom: solid 1px #eee;
    padding-bottom: 7px;

    a {
      color: @content;
      text-decoration: underline;
      &:hover {
        color: @accent;
      }
    }
  }
  .entry-meta {
    overflow: visible;
    border-bottom: none;
    margin-top: 25px;
    border-top: solid 1px #eee;
    padding-top: 10px;
    .author {
      display: inline-block;
      font-weight: normal;

    }

  }
  .entry-footer {
    border-top: solid 1px #eee;
    padding-top: 7px;
    overflow: auto;
    .post-edit-link {
      float: right;

    }
    .cat-links {
      margin-right: 6px;
    }
  }

  .entry-content {
    color: @content;
    line-height: 1.7em;
    font-size: 15px;
  }
}

#primary-mono.page h1.entry-title:after {
  display: none;
}
.edit-link {
  display: inline-block;
  float: right;
}
.page-header {
  margin-top: 0px;
  border-bottom: none;
  h1 {
    font-size: 18px;
    font-weight: lighter;
    border-bottom: solid 1px #e1e1e1;
    display: inline-block;
    padding-bottom: 10px;
  }
}

/* --------------- comments -------------- */
#respond {
  h3#reply-title {
    font-weight: normal;
    font-size: 32px;
  }
  input[type=text] {
    max-width: 550px;
  }
  input, textarea {
    background: darken(@background,5%);
    border: solid 1px darken(@background,20%);
    color: @content;
    outline: none;
  }
  .comment-form-author, .comment-form-email, .comment-form-url, .comment-form-comment {
    position: relative;
    input, textarea {
      padding: 4px 5px 5px 10px;
      border-radius: 0;
    }
    label {
      background: @accent;
      color: @background;
      border-bottom: solid 1px @accent;
      padding: 5px;
      margin-right: -5px;
      min-width: 70px;
    }
  }
  .comment-form-comment {
    label {
      margin-bottom: 0px;
    }
  }
  .form-submit {
    input[type=submit] {
      box-shadow: none;
      text-shadow: none;
      padding: 10px;
      background: lighten(@background,5%);
      font-weight: bold;
      color: @accent;
      margin-bottom: 60px;
    }
  }
  .comment-notes, .logged-in-as {
    color: @content;
  }
}

#comments {
  margin-top: 55px;
  h2.comments-title {
    font-size: x-large;

  }
  ol.comment-list {
    list-style: none;
    margin-left: 0px;
  }
  li.comment {
    border: solid 1px darken(@background,12%);
    padding: 10px;
    margin-top: 15px;
    list-style: none;
    background: darken(@background,3%);
    .comment-content {
      color: darken(@content,0%);
      font-weight: normal;
    }
  }
  li.trackback {
    background: lighten(@background,10%);
    padding: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
    border: solid 1px #eee;
    font-weight: bold;
    a { font-weight: normal; }
  }
  .vcard img {
    border: solid 4px @background;
    border-radius: 5px;
    margin: 0 10px 10px 0;
  }
  .form-allowed-tags {
    display: none;
  }
  .comment-metadata {
    font-weight: bold;
    time {
      float: right;
      color: darken(@background, 30%);
      font-weight: lighter;
      font-style: italic;
      font-size: 12px;
    }
  }
}
@media screen and (max-width:480px) {
  li.comment {
    margin-left: -5%;
  }
}

