/*
Theme Name: Modish
Theme URI: http://oyeamjad.com/themes/modish/
Author: Amjad Iqbal
Author URI: http://oyeamjad.com/
Description: Clean and minimal theme to display your content beautifully using the hot modish trend.
Version: 1.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: white, black, light, two-columns, right-sidebar, custom-menu, featured-images, sticky-post, threaded-comments, custom-background, custom-header
*/



/* Sensible Defaults
-------------------------------------------------- */
@import "reset.css";

*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } /* Apply a natural box layout model to all elements: http://paulirish.com/2012/box-sizing-border-box-ftw */

body {
	background: #fff;
}
::-moz-selection {
	background: #666;
	color: #fff;
}
.clear:after, li.comment:after, #recent-comments li:after {
	display: block;
	height: 0;
	clear: both;
	content: ".";
	visibility: hidden;
}

/* Typography
-------------------------------------------------- */

/*
	 10 / 16 = 0.625em	(10px equivalent)
	 12 / 16 = 0.750em	(12px equivalent)
	 14 / 16 = 0.875em	(14px equivalent)
	 15 / 16 = 0.938em	(15px equivalent)
	 16 / 16 = 1em		(16px equivalent)
	 18 / 16 = 1.125em	(18px equivalent)
	 21 / 16 = 1.3125em	(21px equivalent)
	 24 / 16 = 1.5em	(24px equivalent)
	 30 / 16 = 1.875em	(30px equivalent)
	 40 / 16 = 2.5em	(40px equivalent)
	 50 / 16 = 3.125em	(50px equivalent)
	 60 / 16 = 3.750em	(60px equivalent)
	 72 / 16 = 4.5em	(72px equivalent)
	 80 / 16 = 5.000em	(80px equivalent)
	100 / 16 = 6.250em	(100px equivalent)
	120 / 16 = 7.500em	(120px equivalent)
*/

/* Rendering */
html, input, textarea {
	-webkit-font-smoothing: antialiased;
}

/* Families */
body, input, textarea {
	color: #777;
	font: 300 0.938em/1.875em 'Open Sans', sans-serif;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
	color: #000;
	font-family: 'Raleway', sans-serif;
}
h1 {
	font-size: 1.5em;
	font-weight: 400;
}
h2 {
	font-size: 1.5em;
	font-weight: 200;
}
h3 {
	font-size: 1.3125em;
	font-weight: 200;
}
h4, h5, h6 {
	font-size: 1.125em;
	font-weight: 200;
}
strong {
	font-weight: bold;
}

/* Color & Links */
a, #right-column a:hover, .comment-reply-link:hover {
	color: #000;
	text-decoration: none;
}
a:hover, #right-column a, .comment-reply-link, .intro a:hover {
	color: #0099cc;
}

/* WordPress Core
-------------------------------------------------- */
.alignnone,
.aligncenter,
a img.alignnone,
a img.aligncenter,
div.aligncenter {
  display: block;
  margin: 0 auto 1.5em;
}
.alignright, a img.alignright {
  float:right;
  margin: 0.5em 0 0 1.5em;
}
.alignleft, a img.alignleft {
  float: left;
  margin: 0.5em 1.5em 0 0;
}
.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 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.5%;
  padding: 0;
  width: auto;
}
.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}
.size-auto, 
.size-full,
.size-large,
.size-medium,
.sticky,
.gallery-caption,
.bypostauthor,
.size-thumbnail {
	max-width: 100%;
	height: auto;
}

/* Forms & Buttons
-------------------------------------------------- */
form input, form textarea {
	color: #000;
	width: 100%;
	font-size: 1em;
	margin-bottom: 1em;
	background: #f6f6f6;
	border: 0;
	padding: 0.875em 1em;
	border-radius: 0px;
    -webkit-appearance: none;
    -webkit-border-radius:0; 
}
form textarea {
	resize: vertical;	
}

/* Basic Layout & Containers
-------------------------------------------------- */
.pagewidth {
	max-width: 1140px;
	margin: 0 auto;
	padding: 2.5em 1em;
}
#left-column {
	float: left;
	max-width: 70%;
}
#right-column {
	float: right;
	width: 25%;
}
p {
	padding-bottom: 1.5em;
}
blockquote {
	padding-left: 1.5em;
	margin: 0 0 1.5em;
	border-left: 3px solid #f6f6f6;
}
blockquote p {
	padding: 0;
}
abbr {
	border-bottom: 1px dotted #333;
}

/* Global Header
-------------------------------------------------- */
#global-header {
	line-height: 3em;
	border-bottom: 1px solid #f6f6f6;
}
#global-header h1 {
	text-align: left;
	display: inline-block;
	font-size: 1.875em;
}
#site-title {
	float: left;
	width: auto;
	line-height: normal;
}
#site-title p {
	font-size: 0.875em;
	font-weight: 300;
	padding: 0;
}
#main-nav {
	display: block;
	float: right;
	width: auto;
	font: 200 1.125em/3em 'Raleway', sans-serif;
}
#main-nav ul {
}
#main-nav li {
	float: left;
	position: relative;
	margin: 0;
	margin-left: 1.5em;
}
#main-nav li li {
	margin: 0;
}
#main-nav a {
	display: block;
	line-height: 3.333em;
}
#main-nav ul ul {
	display: none;
	float: left;
	position: absolute;
	top: 3.333em;
	left: 0;
	width: 188px;
	z-index: 99999;
}
#main-nav ul ul ul {
	left: 100%;
	top: 0;
	width: 200px;
}
#main-nav ul ul a {
	background: #f9f9f9;
	border-bottom: 1px solid #e1e1e1;
	height: auto;
	line-height: 1.4em;
	padding: 10px 10px;
	width: 168px;
}
#main-nav li:hover > a,
#main-nav ul ul :hover > a,
#main-nav a:focus {
}
#main-nav ul li:hover > ul {
	display: block;
}
#main-nav .current-menu-item > a,
#main-nav .current-menu-ancestor > a,
#main-nav .current_page_item > a,
#main-nav .current_page_ancestor > a {
}

/* Left Column
-------------------------------------------------- */
.home-article {
	position: relative;
	/*padding-left: 230px;*/
	min-height: 200px;
	margin-bottom: 5em;
}
.home-article p {
	padding: 1.5em 0 0;
}
.home-article .size-thumbnail {
	width: 200px !important;
	height: auto;
	/*position: absolute;
	top: 0;
	left: 0;
	margin: 0;*/
}
.post-meta {
	font-size: 0.938em;
	line-height: 120%;
	padding: 0.5em 0 0 !important;
}
.intro, #title {
	width: 100%;
	max-height: 650px;
	text-align: center;
	margin-bottom: 2.5em;
	background: #f6f6f6;
	padding: 5em 0;
}
.intro, .intro a {
	color: #000;
}
.intro span, #title p {
	font-size: 0.775em;
	text-transform: uppercase;
}
.intro h1, #title h1 {
	font-size: 3.000em;
	line-height: 120%;
	padding: 0.3em 0;
}
.intro p {
	padding: 0 0 3.5em !important;
	background: url(images/icon_stars_black.png) no-repeat center bottom;
	background-size: 68px;
}
#featured-img article, section#featured-img {
	background: #000;
	position: relative;
	padding: 0;
}
#featured-img a:hover {
	color: #e1e1e1 !important;
}
#featured-img article, #featured-img h1, #featured-img a, section#featured-img {
	color: #fff;
}
#featured-img header {
	width: 100%;
	position: absolute;
	z-index: 2;
	top: 50%;
	margin-top: -94px;
}
#featured-img img {
	width: 100%;
	height: auto;
	display: block;
	opacity: .5;
	margin: 0 auto;
}
#featured-img p {
	background: url(images/icon_stars_white.png) no-repeat center bottom;
	background-size: 68px;
}
.post-tags a {
	font-size: 0.838em;
	line-height: 24px;
	padding: 0 10px 0 15px;
	display: inline-block;
	background: #ececec;
	margin: 0 8px 0 12px;
	position:relative;
}
.post-tags a:before {
	content:"";
	float:left;
	position:absolute;
	top:0;
	left:-12px;
	width:0;
	height:0;
	border-color:transparent #ececec transparent transparent;
	border-style:solid;
	border-width:12px 12px 12px 0;
}
.post-tags a:after {
	content:"";
	position:absolute;
	top:10px;
	left:0;
	float:left;
	width:4px;
	height:4px;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	border-radius:2px;
	background:#fff;
}
#title p {
	padding: 0;
}
#title header {
	margin-top: 20px;
	line-height: normal;
}

/* Post Page
-------------------------------------------------- */
.single-post .intro {
	margin-bottom: 2em;
}
.single-post .intro header {
	margin-top: -25px;
}
.single-post #featured-img header {
	margin-top: -105px !important;
} 
.single-post .intro p {
	line-height: 2em;
} 
.post-content {
	margin-bottom: 3em;
}
.post-content ul {
	list-style: disc;
	margin: 0 0 1.5em 3em;
}
.post-content ol {
	list-style: decimal;
	margin: 0 0 1.5em 3em;
}
.post-content ul li, .post-content ol li {
	margin-bottom: 0.5em;
}

/* Sub Page
-------------------------------------------------- */
.page .intro header {
	margin-top: -25px;
}

/* Page Navigation
-------------------------------------------------- */
.post-pages, .post-pages p {
	margin: -2em 0 0 !important;
}
.post-pages a, .comment-pages a  {
	line-height: 100%;
	display: block;
}
.previous a, .comment-pages .prev {
	float: left;
	background: url(images/icon_previous-arrow.png) no-repeat left center;
	padding-left: 15px;
	background-size: 7px;
	margin-bottom: 1.5em;
}
.next a, .comment-pages .next {
	float: right;
	background: url(images/icon_next-arrow.png) no-repeat right center;
	padding-right: 15px;
	background-size: 7px;
	margin-bottom: 1.5em;
}
.comment-pages {
	margin-top: 1em;
	text-align: center;
}
.comment-pages a, .comment-pages .current {
	margin: 0;
	display: inline-block !important;
	background-color: #f6f6f6;
	width: 35px;
	height: 35px;
	line-height: 35px;
}
.comment-pages .prev, .comment-pages .next {
	text-indent: -999em;
	background-position: 50% 50%;
	background-color: #f6f6f6;
}
.comment-pages .page-numbers {
	display: inline-block;
}
.comment-pages .current, .comment-pages a:hover {
	background-color: #e1e1e1;
}

/* Right Column
-------------------------------------------------- */
.widget {
	margin: 0 0 4em;
}
.widget h2 {
	margin: 0 0 0.5em;
}
#searchform {
	margin: 0 0 2em;
}
#searchform p {
	padding: 0;
}
#searchform #s {
	background: #f6f6f6 url(images/icon_search.png) no-repeat 95% 50%;
	background-size: 14px;
}

/* Recent Comments
-------------------------------------------------- */
#recent-comments {
	background: #f6f6f6;
	padding: 2.5em 0;
}
#recent-comments h2 {
	padding-bottom: 2.5em;
}
#recent-comments img {
	float: left;
	margin-right: 1.5em;
}
#recent-comments h3 {
	margin-top: 10px;
}
#recent-comments span {
	font-size: 0.838em;
}
#recent-comments li {
	width: 49.8%;
	display: inline-block;
}
#recent-comments p {
	float: left;
	display: block;
	margin-top: 1.5em;
	padding: 0 3em 0 0;
}

/* Page Comments
-------------------------------------------------- */
#comments {
	margin-top: 1.5em;
}
#comments h1, .comment-notes {
	padding-bottom: 0.5em;
	border-bottom: 1px solid #e1e1e1;
}
#comments li {
	margin: 2.5em 0;
}
.comment-author {
	margin-bottom: 1em;
}
.comment-author img {
	float: left;
	margin-right: 1.5em;
}
.comment-author h3 {
	padding-top: 10px;
}
.comment-author span {
	font-size: 0.838em;
}
#comments p {
	padding: 1em 0 0;
}
.comment-reply-link {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.875em;
}
#comments .children {
	padding-left: 2.5em;
	border-left: 3px solid #f6f6f6;
}
#comments .children li {
	padding-bottom: 0;
	margin-bottom: 0;
}
.comment-author-admin, .bypostauthor {
	background: #ffffca;
	padding: 15px;
}
.comments-closed {
	color: #000;
	padding: 1em !important;
	background-color: #ff9a9a;
}

/* Comment Form
-------------------------------------------------- */
#respond {
	margin-top: 1em;
}
#respond p {
	padding: 0 0 0.5em;
}
.comment-notes {
	margin-bottom: 1.5em;
}
#respond label {
	color: #000;
}
.required {
	color: #cc0000;
}
#submit {
	color: #fff;
	cursor: pointer;
	width: 200px;
	background: #0099cc;
	margin-top: 1em;
}
#submit:hover {
	background: #0889b4;
}

/* Global Footer
-------------------------------------------------- */
.copyright {
	float: left;
	width: 50%;
	padding: 0;
}
.credits {
	float: right;
	width: 50%;
	text-align: right;
	padding: 0;
}

/* Media Queries
-------------------------------------------------- */
@media screen and (max-width: 1024px) {
	
}

@media screen and (max-width: 980px) {
	.intro, #title {
		margin-bottom: 0.5em !important;
	}
	#recent-comments {
		padding: 1em 0;
	}
	#recent-comments li {
		width: 49.7%;
	}
	#recent-comments h2 {
		padding-bottom: 2em;
	}
}

@media screen and (max-width: 800px) {
	.intro h1, #title h1 {
		font-size: 2.000em;
	}
	#featured-img header {
		margin-top: -78px !important;
	}
	.post-meta {
		font-size: 0.875em;
	}
	.intro span, #title p {
		font-size: 0.775em;
	}
	.single-post #featured-img header {
		margin-top: -83px !important;
	}
}

@media screen and (max-width: 768px) {
	#left-column, #right-column {
		float: none;
		width: 100%;
		max-width: 100%;
	}
	#right-column {
		margin-top: 4em !important;
	}
	.widget {
		margin: 0 0 2em;
	}
}

@media screen and (max-width: 640px) {
	#recent-comments h2 {
		padding-bottom: 0;
	}
	#recent-comments li {
		width: 100%;
		padding-top: 3.5em;
	}
	.copyright {
		width: 40%;
	}
	.credits {
		width: 60%;
	}
}

@media screen and (max-width: 480px) {
	
}

@media screen and (max-width: 360px) {
	
}