/*
Template Name: WebMag Html Template

Author: yaminncco

Colors:
	Body : #3d455c
	Headers : #212631
	Primary : #212631 #4BB92F #ff8700 #0078ff #8d00ff
	Dark : #212631
	Grey : #eceef2 #a7b3c6 #fbfbfd

Fonts: Nunito & Nunito-Sans

Table OF Contents
------------------------------------
GENERAL
NAVIGATION
HEADER
POST
POST PAGE
ASIDE
FOOTER
RESPONSIVE
------------------------------------*/

/*=========================================================
	GENERAL
===========================================================*/

/*----------------------------*\
	typography
\*----------------------------*/

html, body {
  height: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 700;
  color: #505050;
  margin: 0px 0px 15px;
}

h1 {
  font-size: 34px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 23px;
}

h4 {
  font-size: 16px;
}

a {
  font-weight: 400;
  color: #212631;
  text-decoration: none;
}

a:hover, a:focus {
  color: #212631;
  text-decoration: underline;
  outline: none;
}

p {
  margin: 0px 0px 20px;
}

blockquote.blockquote {
  position: relative;
  border-left: 0;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 20px;
}

blockquote.blockquote:before {
  content: "``";
  font-family: "Nunito Sans", sans-serif;
  display: block;
  position: absolute;
  left: -5px;
  top: 5px;
  font-size: 240px;
  line-height: 200px;
  color: #eceef2;
  letter-spacing: -30px;
  z-index: -2;
}

figure.figure-img {
  margin-bottom: 20px;
}

figure.figure-img figcaption {
  padding-top: 5px;
  font-size: 13px;
  font-weight: 600;
}

.input {
  height: 40px;
  border: 2px solid #eceef2;
  width: 100%;
  padding: 0px 15px;
  -webkit-transition: 0.2s border;
  transition: 0.2s border;
}

.input:focus {
  border-color: #3d455c;
}

textarea.input {
  height: 90px;
  padding: 15px;
}

.primary-button {
  padding: 9px 45px;
  border: none;
  background-color: #212631;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  color: #fff;
  -webkit-transition: 0.2s opacity;
  transition: 0.2s opacity;
}

.primary-button:hover, .primary-button:focus {
  color: #fff;
  opacity: 0.9;
}

.section {
  padding-top: 40px;
}

.section.section-grey {
  background-color: #fbfbfd;
  border-bottom: 1px solid #eceef2;
  border-top: 1px solid #eceef2;
}

.section .section-title {
  margin-bottom: 40px;
  text-align: center;
}

.section .section-title h2 {
  text-transform: capitalize;
  font-size: 28px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title h2:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 70px;
  height: 2px;
  background: #3dd07d;
  transform: translateX(-50%);
}

.section-row {
  margin-bottom: 40px;
}


/*=========================================================
	POST
===========================================================*/

/*----------------------------*\
	post
\*----------------------------*/

.post {
  margin-bottom: 40px;
}

.post .post-img {
  display: block;
  -webkit-transition: 0.2s opacity;
  transition: 0.2s opacity;
}

.post .post-img:hover, .post .post-img:focus {
  opacity: 0.9;
}

.post .post-img>img {
  width: 100%;
  height: 197px;
}

.post .post-meta {
  margin-top: 15px;
  margin-bottom: 15px;
}

.post-meta .post-category {
  font-size: 13px;
  text-transform: uppercase;
  padding: 3px 10px;
  font-weight: 600;
  border-radius: 2px;
  margin-right: 15px;
  color: #fff;
  background-color: #212631;
  -webkit-transition: 0.2s opacity;
  transition: 0.2s opacity;
}

.post-meta .post-category:hover, .post-meta .post-category:focus {
  text-decoration: none;
  opacity: 0.9;
}

.post-meta .post-category.cat-1 {
  background-color: #4bb92f;
}

.post-meta .post-category.cat-2 {
  background-color: #ff8700;
}

.post-meta .post-category.cat-3 {
  background-color: #8d00ff;
}

.post-meta .post-category.cat-4 {
  background-color: #0078ff;
}

.post-meta .post-date {
  font-size: 13px;
  font-weight: 600;
}

.post .post-title {
  font-size: 18px;
  margin-bottom: 0px;
}

.post-tags li {
  display: inline-block;
  margin-right: 3px;
  margin-bottom: 5px;
}

.post-tags li a {
  display: block;
  color: #fff;
  background-color: #212631;
  padding: 3px 10px;
  font-weight: 600;
  border-radius: 2px;
  -webkit-transition: 0.2s opacity;
  transition: 0.2s opacity;
}

/*----------------------------*\
	post thumb
\*----------------------------*/

.post.post-thumb {
  position: relative;
}

.post.post-thumb .post-img:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: -webkit-gradient( linear, left bottom, left top, from(rgba(33, 38, 49, 0.3)), to(transparent));
  background: linear-gradient( to top, rgba(33, 38, 49, 0.3) 0%, transparent 100%);
}

.post.post-thumb .post-body {
  position: absolute;
  bottom: 0px;
  padding: 20px 15px;
}

.post.post-thumb .post-meta .post-date {
  color: #eceef2;
}

.post.post-thumb .post-title {
  font-size: 22px;
}

.post.post-thumb .post-title>a {
  color: #fff;
}

/*----------------------------*\
	post widget
\*----------------------------*/

.post.post-widget:after {
  content: "";
  display: block;
  clear: both;
}

.post.post-widget .post-img {
  width: 90px;
  float: left;
  margin-right: 15px;
}

.post.post-widget .post-img img {
  width: 100%;
}

.post.post-widget .post-title {
  font-size: 18px;
}

/*----------------------------*\
	post row
\*----------------------------*/

.post.post-row:after {
  content: "";
  display: block;
  clear: both;
}

.post.post-row .post-img {
  width: 40%;
  float: left;
}

.post.post-row .post-body {
  margin-left: calc(40% + 30px);
}

.post.post-row .post-meta {
  margin-top: 0px;
}

.post.post-row .post-title {
  margin-bottom: 15px;
}

/*=========================================================
	POST PAGE
===========================================================*/

.sticky-container {
  position: relative;
  padding-left: 80px;
}

.sticky-container .sticky-shares {
  position: absolute;
  top: 0;
  left: 0;
}

.sticky-shares a {
  display: block;
  margin-bottom: 10px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background-color: #fbfbfd;
  color: #a7b3c6;
  border: 1px solid #eceef2;
  -webkit-transition: 0.2s all;
  transition: 0.2s all;
}

.sticky-shares a:hover {
  -webkit-transform: scale(1.3);
  -ms-transform: scale(1.3);
  transform: scale(1.3);
}

.sticky-shares a.share-facebook:hover {
  color: #3b5998;
  border-color: #3b5998;
}

.sticky-shares a.share-twitter:hover {
  color: #55acee;
  border-color: #55acee;
}

.sticky-shares a.share-google-plus:hover {
  color: #dd4b39;
  border-color: #dd4b39;
}

.sticky-shares a.share-pinterest:hover {
  color: #ff0000;
  border-color: #ff0000;
}

.sticky-shares a.share-linkedin:hover {
  color: #007bb5;
  border-color: #007bb5;
}

/*----------------------------*\
	author
\*----------------------------*/

.post-author .media .media-left {
  padding-right: 40px;
}

.post-author .media .media-left .media-object {
  width: 120px;
  border-radius: 50%;
}

.post-author .author-social {
  margin-top: 15px;
}

.post-author .author-social li {
  display: inline-block;
  margin-right: 5px;
}

.post-author .author-social li>a {
  display: block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background-color: #a7b3c6;
  color: #fff;
  border-radius: 2px;
  -webkit-transition: 0.2s opacity;
  transition: 0.2s opacity;
}

.post-author .author-social li>a:hover, .post-author .author-social li>a:focus {
  color: #fff;
  opacity: 0.9;
}

/*----------------------------*\
	comments
\*----------------------------*/

.post-comments .media {
  padding-top: 15px;
  border-top: 1px solid #eceef2;
}

.post-comments .media:nth-child(1) {
  padding-top: 0px;
  border-top: none;
}

.post-comments .media .media-left {
  padding-right: 15px;
}

.post-comments .media .media-left .media-object {
  width: 70px;
  border-radius: 50%;
}

.post-comments .media .media-body .media-heading h4 {
  text-transform: capitalize;
}

.post-comments .media .media-body .media-heading .time {
  font-size: 13px;
  margin-right: 15px;
  color: #a7b3c6;
}

.post-comments .media .media-body .media-heading .reply {
  font-size: 13px;
  color: #a7b3c6;
  -webkit-transition: 0.2s color;
  transition: 0.2s color;
}

.post-comments .media .media-body .media-heading .reply:hover, .post-comments .media .media-body .media-heading .reply:focus {
  color: #212631;
  text-decoration: none;
}

/*=========================================================
	Aside
===========================================================*/

.aside-widget {
  margin-bottom: 40px;
}

/*----------------------------*\
	category
\*----------------------------*/

.category-widget ul li {
  display: block;
  padding-bottom: 10px;
  border-bottom: 1px solid #eceef2;
}

.category-widget ul li+li {
  margin-top: 10px;
}

.category-widget ul li>a {
  display: block;
  -webkit-transition: 0.2s color;
  transition: 0.2s color;
}

.category-widget ul li>a>span {
  float: right;
  color: #fff;
  background-color: #212631;
  padding: 0px 5px;
  font-weight: 600;
  border-radius: 2px;
}

.category-widget ul li>a.cat-1>span {
  background-color: #4bb92f;
}

.category-widget ul li>a.cat-2>span {
  background-color: #ff8700;
}

.category-widget ul li>a.cat-3>span {
  background-color: #8d00ff;
}

.category-widget ul li>a.cat-4>span {
  background-color: #0078ff;
}

.category-widget ul li>a:hover, .category-widget ul li>a:focus {
  text-decoration: none;
}

.category-widget ul li>a.cat-1:hover, .category-widget ul li>a.cat-1:focus {
  color: #4bb92f;
}

.category-widget ul li>a.cat-2:hover, .category-widget ul li>a.cat-2:focus {
  color: #ff8700;
}

.category-widget ul li>a.cat-3:hover, .category-widget ul li>a.cat-3:focus {
  color: #0078ff;
}

.category-widget ul li>a.cat-4:hover, .category-widget ul li>a.cat-4:focus {
  color: #8d00ff;
}

/*----------------------------*\
	tags
\*----------------------------*/

.tags-widget ul li {
  display: inline-block;
  margin-right: 3px;
  margin-bottom: 5px;
}

.tags-widget ul li a {
  display: block;
  color: #fff;
  background-color: #212631;
  padding: 3px 10px;
  font-weight: 600;
  border-radius: 2px;
  -webkit-transition: 0.2s opacity;
  transition: 0.2s opacity;
}

.tags-widget ul li a:hover, .tags-widget ul li a:focus {
  opacity: 0.9;
  color: #fff;
  text-decoration: none;
}

/*----------------------------*\
	archive
\*----------------------------*/

.archive-widget ul li {
  display: block;
  padding-bottom: 10px;
  border-bottom: 1px solid #eceef2;
}

.archive-widget ul li+li {
  margin-top: 10px;
}

.archive-widget ul li>a {
  display: block;
}

/*=========================================================
	RESPONSIVE
===========================================================*/

@media only screen and (max-width: 991px) {
  #nav .nav-menu {
    display: none;
  }
}

@media only screen and (max-width: 767px) {
  .page-header h1 {
    font-size: 28px;
  }
  .post.post-row .post-img {
    width: 100%;
    float: none;
  }
  .post.post-row .post-body {
    margin-left: 0px;
  }
  .post.post-row .post-meta {
    margin-top: 15px;
  }
  .post.post-row .post-body p {
    display: none;
  }
}

/*=========================================================
	Custom
===========================================================*/

.main {
  flex: 1 0 auto;
}

