a {
  display: inline-block;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
a:hover {
  text-decoration: none;
}

article img,
article div img,
.entry-content img,
.comment-content img,
.widget img,
img.alignnone,
img.alignleft,
img.alignright,
.sidebar-widget a,
img {
  height: auto;
  max-width: 100%;
}

.wp-caption {
  max-width: 100%;
  padding: 4px;
}

figure {
  margin: 0;
  padding: 0;
}

.panel-title a {
  display: block;
}

html input[type="text"],
input[type="password"],
input[type="email"] {
  border: 1px solid #aeaeae;
}

input[type="submit"] {
  border: 0px;
  padding: 4px 15px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

/*========== Helper Classes Styles ============= */
.button,
a.button {
  display: inline-block;
  font-weight: bold;
  padding: 8px 15px;
  color: #373A41;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.margin-top {
  margin-top: 20px;
}

.margin-bottom {
  margin-bottom: 30px;
}

.section-padding {
  padding-top: 30px;
  padding-bottom: 60px;
}

.fancy-hr {
  border: 0px solid;
  background: #ffffff;
  /* Old browsers */
  background: -moz-linear-gradient(left, white 0%, #f9f9f9 12%, #e5e5e5 38%, #dfdfdf 49%, #e5e5e5 63%, #f9f9f9 88%, white 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%, white), color-stop(12%, #f9f9f9), color-stop(38%, #e5e5e5), color-stop(49%, #dfdfdf), color-stop(63%, #e5e5e5), color-stop(88%, #f9f9f9), color-stop(100%, white));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(left, white 0%, #f9f9f9 12%, #e5e5e5 38%, #dfdfdf 49%, #e5e5e5 63%, #f9f9f9 88%, white 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left, white 0%, #f9f9f9 12%, #e5e5e5 38%, #dfdfdf 49%, #e5e5e5 63%, #f9f9f9 88%, white 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(left, white 0%, #f9f9f9 12%, #e5e5e5 38%, #dfdfdf 49%, #e5e5e5 63%, #f9f9f9 88%, white 100%);
  /* IE10+ */
  background: linear-gradient(to right, #ffffff 0%, #f9f9f9 12%, #e5e5e5 38%, #dfdfdf 49%, #e5e5e5 63%, #f9f9f9 88%, #ffffff 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ffffff',GradientType=1 );
  /* IE6-9 */
  width: 50%;
  height: 1px;
  margin: 1.5em auto;
}

.feature-img {
  margin-right: 15px;
}

/*========== Layout ============= */

/* ========== Main Header ============= */
.main-header {
  background: #fff;
  z-index: 9999999;
  -moz-box-shadow: rgba(0, 0, 0, 0.17) 0px 2px 2px 1px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.17) 0px 2px 2px 1px;
  box-shadow: rgba(0, 0, 0, 0.17) 0px 2px 2px 1px;
}
.main-header.stuck {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}
.slicknav_menu {
  display:none;
}
/*========== Top Navigations========== */
.main-navigation {
  margin-top: 30px;
  text-transform: capitalize;
  float: right;
  z-index: 99;
}

.main-navigation ul {
  margin: 0px;
  padding: 0;
  list-style: none;
}

.main-navigation ul li {
  position: relative;
}

.main-navigation ul li a {
  display: block;
  color: #4C4C4D;
}

.main-navigation > ul > li {
  float: left;
}

.main-navigation > ul > li:hover > a {
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}

.main-navigation > ul > li > a {
  padding: 10px 20px;
  font-weight: bold;
}

.main-navigation ul:hover li.active {
  border-bottom: 0px solid;
}

.main-navigation li:hover > a,
.main-navigation li a:hover {
  color: #fff;
}

/*========= SUBMENU ======== */
.main-navigation ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  -moz-box-shadow: rgba(0, 0, 0, 0.18) 0px 0px 2px 3px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.18) 0px 0px 2px 3px;
  box-shadow: rgba(0, 0, 0, 0.18) 0px 0px 2px 3px;
  z-index: 10;
}
.main-navigation ul li ul li {
  border-bottom: 1px solid #eee;
  min-width: 170px;
}
.main-navigation ul li ul li a {
  display: block;
  color: #727272;
  padding: 10px;
}

.main-navigation ul li:hover > ul {
  display: block;
}

.main-navigation ul li ul:after {
  content: "";
  width: 170px;
  position: absolute;
  top: 0;
}

.main-navigation ul li ul li ul {
  left: 100%;
  top: 5px;
}

article,
.article-nav,
.comments-area,
.archive-body {
  border: 1px solid #dfdfdf;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  padding: 30px;
  margin-top: 50px;
  background: #fff;
}

.sticky {
  position: relative;
}
.sticky .featured-post i {
  position: absolute;
  top: -7px;
  right: 20px;
  font-size: 60px;
}

.post-title a {
  color: #333;
}
.post-title a:hover {
  color: #666;
}

.post-date {
  display: inline-block;
  list-style: outside none none;
  margin: 21px 17px 0 0;
  padding: 0;
}
.post-date .day {
  font-weight: 900;
  font-size: 20px;
  padding: 3px 12px;
}
.post-date .month {
  background: #000;
  padding: 1px 6px;
}

.feature-image,
.author-avatar {
  margin-right: 2em;
}

.article-meta {
  color: #555;
}
.article-meta a {
  font-weight: bold;
  color: #666;
}
.article-meta a:hover {
  color: #999;
}

.article-meta-extra {
  color: #858585;
  font-weight: bold;
}
.article-meta-extra .fa {
  color: #858585;
  font-weight: normal;
}
.article-meta-extra a {
  color: #555555;
  font-weight: normal;
}
.article-meta-extra a:hover {
  color: #111;
}
.article-meta-extra .author_link {
  display: inline-block;
  padding-right: 10px;
}

.quote-container {
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.4) inset;
  color: #707070;
  padding: 30px;
  text-align: center;
}

.link-content {
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.4) inset;
  color: #707070;
  padding: 30px;
  text-align: center;
}
.link-content a {
  display: inline-block;
  padding: 20px;
  border: 1px solid;
  color: #555555;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  border-radius: 100%;
}

.link-icon {
  font-size: 2em;
}

.nav-single {
  border: 1px solid #dfdfdf;
  border-top: 0px solid transparent;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  padding: 30px;
  background: #fff;
}

.article-add-comment {
  float: right;
  font-size: 26px;
  padding: 5px 14px;
  -moz-border-radius-topleft: 39px;
  -webkit-border-top-left-radius: 39px;
  border-top-left-radius: 39px;
  -moz-border-radius-topright: 39px;
  -webkit-border-top-right-radius: 39px;
  border-top-right-radius: 39px;
  -moz-border-radius-bottomleft: 8px;
  -webkit-border-bottom-left-radius: 8px;
  border-bottom-left-radius: 8px;
  -moz-border-radius-bottomright: 39px;
  -webkit-border-bottom-right-radius: 39px;
  border-bottom-right-radius: 39px;
}

.comment {
  list-style-type: none;
}
.comment .avatar {
  margin-right: 1.6em;
  margin-bottom: 1em;
  float: left;
}
.comment .children li article {
  margin-top: 0px;
  border-top: 0px solid;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
}

#comment-nav {
  margin-top: 50px;
  margin-bottom: 50px;
}

.comment-awaiting-moderation {
  border: 1px solid;
  color: #d31919;
  font-weight: bold;
  padding: 6px;
}

.form-submit input[type=submit] {
  border: 1px solid #b1b1b1;
  margin-top: 20px;
  padding: 13px;
}
.form-submit input[type=submit]:hover {
  background: #ddd;
}

.sidebar {
  margin-top: 49px;
}

.sidebar-widget {
  border: 1px solid #dfdfdf;
  padding: 10px 15px;
  margin-bottom: 20px;
  background: #fff;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
.sidebar-widget .widget-title {
  border-bottom: 1px solid #eee;
  line-height: 50px;
  position: relative;
}
.sidebar-widget .widget-title:before {
  content: "";
  height: 2px;
  width: 84px;
  position: absolute;
  bottom: 0;
  left: 0;
}
.sidebar-widget ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.sidebar-widget ul li a {
  color: #6f6f6f;
  display: inline-block;
  padding: 5px;
}
.sidebar-widget ul li a:hover {
  color: #1f1f1f;
  font-weight: bold;
}

footer {
  background: #0b0707;
  color: #666666;
  padding-top: 20px;
  margin-top: 50px;
}

footer a {
  display: block;
  color: #666666;
  padding: 6px;
}

footer a:hover {
  background: #1A1A1A;
  color: #999999;
}

footer h1, footer h2, footer h3, footer h4, footer h5, footer h6 {
  color: #D6D6D6;
}

footer .footer-top {
  border-bottom: 1px solid #222;
}

footer .footer-widget ul li {
  border-bottom: 1px solid #191919;
}

footer .footer-widget ul li:last-child {
  border-bottom: 0px solid;
}

footer .footer-widget ul.flicker-feed li {
  border: 0px solid;
  float: left;
}

footer .footer-widget ul.flicker-feed a {
  display: inline-block;
}

footer .footer-bottom {
  padding-top: 14px;
}

footer .footer-bottom a{
  display: inline-block;
  color: #999;
}
footer .footer-bottom a:hover{
  background: transparent;
}
@media screen and (max-width: 40em) {
  /* #menu is the original menu */
  .js .main-navigation {
    display:none;
  }
  .main-header.stuck {
    position: relative;
  }
  
  .js .slicknav_menu {
    display:block;
  }
}