/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

/* overall content font size */
body {
  font-size: 16px;
  color: #303030;
}

h2 {
  font-size: 24px;
}

#content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

#content p.small-margin {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* post title desktop */
h1 {
  line-height: 1.3;
}

/* list style */
.postcontent ul {
	list-style-position: outside;
	margin-left: 30px;
}
ul.entry-meta {
	margin-left: 0px;
}

/* page width */
#wrapper {
    width: 1120px;
}
.container {
    padding-right: 0px;
}

/* logo */
#header.full-header #logo {
    margin-left: 30px;
}

/* header */
header {
  background-image: url("/mehori/bg.jpg");
  background-size: contain;
  overflow-x: hidden;
}
#header {
  border-bottom: 0px;
}
#header-wrap {
  background: rgba(255,255,255,0.9);
}

/* nav */
#header.full-header #primary-menu > ul {
    margin-right: 0px;
    padding-right:0px;
    border-right: 0px;
}

/* featured posts */
.portfolio {
  margin-bottom: 30px;
}
.portfolio-item {
  padding: 0;
  width: 24%;
  border: solid 1px #ddd;
  margin-right: 8px;
}
.portfolio-item .portfolio-image img {
  height: 160px;
  object-fit: cover;
}
.portfolio-desc {
  height: 140px;
  padding: 10px 10px 0 10px;
  overflow-y: hidden;
}

/* content area */
.content-wrap {
  padding: 30px 0;
}

/* top page blog listing vertical space */
.entry {
  margin: 0 0 20px 0;
}
.entry:after {
  margin-top: 10px;
}

/* blog list quote style */
.entry-quote .col_half {
  padding: 18px 0px;
  text-align: right;
  font-size: 15px;
  margin: 10px 0 10px 0;
  height: 100px;
}
.entry-quote .col_half.col_last {
  padding: 13px 5px 0 0;
  text-align: left;
  font-size: 20px;
  font-weight: bold;
}
a.entry-quote {
  color: #666;
}
a.entry-quote-summary {
  color: #222;
}

/* remove italic in post entry meta */
.entry-meta li {
  font-family: "Lato", sans-serif;
  font-style: normal;
}

/* center page navigation */
.hugo-pagination  {

}

/* page title in archive and etc */
#page-title {
    margin-bottom: 30px;
}

/* single.html custum */
.entry-image img.featuredimage {
  border: solid 1px #ddd;
}
.entry-content ul {
  list-style-position: outside;
  margin-left: 30px;
}
.entry-content ol {
  list-style-position: outside;
  margin-left: 27px;
}
.entry-content ol li {
  padding-left: 8px;
}

/* post navigation in single */
.post-navigation {
  margin: 30px 0;
}

/*  related-posts in single */
.related-posts {
  margin-top: 40px;
}

/* sidebar widget */
.sidebar-widgets-wrap .widget {
  padding-top: 0px;
  border-top: 0px;
}

.widget {
  margin-top: 20px;
  margin-right: 10px;
}

.widget > h4 {
  margin-bottom: 10px;
}

.widget-image {
  text-align: center;
}

.fancy-title {
  margin-bottom: 10px;
}

/* sidebar bio image */
.sidebar-bioimg {
  float: right;
}

/* sidebar youtube widget */
.sidebar-youtube {
  position: relative;
  width: 100%;
  padding-top: 0px;
  padding-right: 10px;
  margin-bottom: 5px;
}
.sidebar-youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}


/* youtube shortcode with class */
.youtube-shortcode {
	margin-bottom: 30px;
}

/* custom social button */
.si-line:hover,
.si-colored.si-line { background-color: #00B900 !important; }
.si-note:hover,
.si-colored.si-note { background-color: #41C9B4 !important; }


/* authorbox */
.author-image {
  width: 120px;
  height: 120px;
}
.author-image img {
  width: 120px;
  height: 120px;
}
.card-body {
  font-size: 14px;
}

/* related post image */
.related-post-image {
    object-fit: cover;
}

/* footer logo margin */
.footer-logo {
  margin-bottom: 0px;
}

/* link cards */
.linkcard {
	border: 1px solid #ddd;
	margin-bottom: 30px;
	margin-left: auto;
	margin-right: auto;
	width: 90%;
}
.linkcard-inner {
	display: table;
	width: 100%;
}
.linkcard-meta {
	display: table-cell;
	padding: 20px 20px 10px 20px;
	vertical-align: top;
	display: block;
}
.linkcard-site {
	text-align: right;
}
.linkcard-image {
	display: table-cell;
	vertical-align: top;
	width: 35%;
}
.linkcard-image a img {
	display: block;
	height: 160px;
	object-fit: cover;
}

.entry-title h2 {
  text-transform: none;
}

/* ratio of content vs sidebar in wide screen */
@media (min-width: 1200px){
  .container {
    max-width: 1150px;
  }
}
@media (min-width: 992px){
  .postcontent {
    width: 67%;
    margin-right: 2%;
    margin-left: 2%;
  }
  .sidebar {
    width: 28%;
  }
}

@media (max-width: 991.98px){
  .body {
    font-size: 15px !important;
  }

  .portfolio .portfolio-item {
    width: 23%;
    margin-right: 7px;
  }
  .portfolio-desc {
    height: 150px;
  }
  .portfolio-desc h3 {
    font-size: 18px;
  }
}

@media (max-width: 767.98px) {

  #logo img {
		height: 75px;
		margin-top: 20px;
		margin-bottom: 10px;
	}

  /* make blog listing same for mobile */
  .small-thumbs .entry-image {
    width: 300px !important;
    float: left !important;
    margin: 0 30px 0 0  !important;
  }

  /* blog title */
  .entry-title h2 {
    font-size: 14px !important;
    letter-spacing: 0px;
    text-transform: none;
  }

  /* page title in archive etc */
  #page-title {
    padding: 20px 0 20px;
  }

  h1 {
    font-size: 22px;
    margin: 0 !important;
  }

  h2 {
    font-size: 18px;
    margin: 0 0 10px 0 !important;
  }
  h3 {
    font-size: 19px;
    margin: 0 0 10px 0 !important;
  }

  .single-post .entry-meta {
    margin-bottom: 0px;
  }

}

@media (max-width: 575.98px){
  p {
    font-size: 15px !important;
  }
  .container {
    overflow-x: hidden;
    padding-left:  20px !important;
    padding-right: 20px !important;
  }

  /* make blog listing same for mobile 2 */
  .small-thumbs .entry-image {
    width: 120px !important;
    margin: 0 10px 0 0  !important;
  }

  /* category in iphone listing*/
  .entry-meta {
    margin: 10px 0 -5px 0;
  }

  /* blog list quote style */
  .entry-quote {
    padding: 10px 0;
  }
  .entry-quote .col_half {
    padding: 0px;
    text-align: left;
    font-size: 10px;
    margin: 10px 0 10px 0 !important;
    height: auto;
  }
  .entry-quote .col_half.col_last {
    padding: 0 0 0 0;
    text-align: left;
    font-size: 20px;
    font-weight: bold;
  }

  /* featured post in mobile */
  .portfolio-item .portfolio-image img {
    height: auto;
    object-fit: cover;
  }
  .portfolio-item {
    padding: 0;
    border: 0;
    margin-right: 0px;
    margin-bottom: 20px;
  }
  .portfolio .portfolio-item {
    width: 100%;
    margin-right: 7px;
  }
  .portfolio-desc {
    height: auto;
  }
  .portfolio-desc h3 {
    font-size: 20px;
  }

  /* hamburger menu position */
  #primary-menu-trigger {
    left: -5;
  }

}
