/*
Theme Name: True Love
Theme URI: http://demos.themography.com/
Author: Themography
Author URI: http://themography.com/
Description: A Responsive Wedding Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: true-love
Tags: one-column, two-columns, three-columns, four-columns, featured-images, theme-options

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

True Love is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.



==============================================================
| >>> Table of Contents                                      |
==============================================================

	## Basic markup formatting
	## Clearings
	## Captions
	## Galleries
	## Accessibility
	## Posts



IMPORTANT: Only the required wordpress classes are included in this file. All the styles are in "css" directory. Please use the options panel to have your custom CSS codes.
*/

/*--------------------------------------------------------------
## Basic markup formatting
--------------------------------------------------------------*/

hr {
	background-color: #d1d1d1;
	border: 0;
	height: 1px;
	margin: 0 0 1.75em;
}

ul,
ol {
	margin: 0 0 1.75em 1.25em;
	padding: 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
	margin-left: 1.5em;
}

li > ul,
li > ol {
	margin-bottom: 0;
}

dl {
	margin: 0 0 1.75em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 0 1.75em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
	vertical-align: middle;
}

del {
	opacity: 0.8;
}

table,
th,
td {
	border: 1px solid #d1d1d1;
}

table {
	border-collapse: separate;
	border-spacing: 0;
	border-width: 1px 0 0 1px;
	margin: 0 0 1.75em;
	table-layout: fixed;
	/* Prevents HTML tables from becoming too wide */
	width: 100%;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

th {
	border-width: 0 1px 1px 0;
	font-weight: 700;
}

td {
	border-width: 0 1px 1px 0;
}

th,
td {
	padding: 0.4375em;
}

.single .post-categories {
    margin: 60px 0 0;
    list-style: none;
    display: table;
}

.single .post-categories li {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.single .post-categories li a {
    display: block;
    background: #fff;
    line-height: 30px;
    padding: 0 13px;
    border-radius: 4px;
    color: #a0a0a0;
}

/*--------------------------------------------------------------
## Clearings
--------------------------------------------------------------*/
.entry-content:before,
.entry-content:after,
.entry-footer:before,
.entry-footer:after {
	content: "";
	display: table;
}

.entry-content:after,
.entry-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
    background: #fff;
    padding: 15px;
    border-radius: 4px;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 20px;
}

.gallery-item {
	display: block;
	float: left;
	text-align: center;
	vertical-align: top;
	width: 100%;
	margin-bottom: 20px;
}

.gallery-columns-2 .gallery-item {
	width: 50%;
}

.gallery-columns-3 .gallery-item {
	width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	width: 25%;
}

.gallery-columns-5 .gallery-item {
	width: 20%;
}

.gallery-columns-6 .gallery-item {
	width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	width: 11.11%;
}

.gallery-columns-2 .gallery-item:nth-child(2n+1),
.gallery-columns-3 .gallery-item:nth-child(3n+1),
.gallery-columns-4 .gallery-item:nth-child(4n+1),
.gallery-columns-5 .gallery-item:nth-child(5n+1),
.gallery-columns-6 .gallery-item:nth-child(6n+1),
.gallery-columns-7 .gallery-item:nth-child(7n+1),
.gallery-columns-8 .gallery-item:nth-child(8n+1),
.gallery-columns-9 .gallery-item:nth-child(9n+1) {
     clear: left;
}

@media ( max-width: 767px ) {
	.gallery-columns-5 .gallery-item,
	.gallery-columns-6 .gallery-item,
	.gallery-columns-7 .gallery-item,
	.gallery-columns-8 .gallery-item,
	.gallery-columns-9 .gallery-item {
		width: 25%;
	}
	.gallery-columns-5 .gallery-item:nth-child(5n+1),
	.gallery-columns-6 .gallery-item:nth-child(6n+1),
	.gallery-columns-7 .gallery-item:nth-child(7n+1),
	.gallery-columns-8 .gallery-item:nth-child(8n+1),
	.gallery-columns-9 .gallery-item:nth-child(9n+1) {
		 clear: none;
	}
	.gallery-columns-5 .gallery-item:nth-child(4n+1),
	.gallery-columns-6 .gallery-item:nth-child(4n+1),
	.gallery-columns-7 .gallery-item:nth-child(4n+1),
	.gallery-columns-8 .gallery-item:nth-child(4n+1),
	.gallery-columns-9 .gallery-item:nth-child(4n+1) {
		 clear: left;
	}
}

@media ( max-width: 450px ) {
	.gallery-columns-2 .gallery-item,
	.gallery-columns-3 .gallery-item,
	.gallery-columns-4 .gallery-item,
	.gallery-columns-5 .gallery-item,
	.gallery-columns-6 .gallery-item,
	.gallery-columns-7 .gallery-item,
	.gallery-columns-8 .gallery-item,
	.gallery-columns-9 .gallery-item {
		width: 100%;
	}
}

.gallery-caption {
    display: block;
    background: #fff;
    border-radius: 4px;
    padding: 15px;
}

.single .blog-details-content .gallery {
    padding: 0;
    margin-left: -15px;
    margin-right: -15px;
    background: none;
}

.single .blog-details-content .gallery .gallery-item {
    padding: 0 15px;
}

.single .blog-details-content .gallery img {
	width: 100%;
}

/*--------------------------------------------------------------
## Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
## Posts
--------------------------------------------------------------*/
.sticky {
	position: relative;
}

.bypostauthor {
	position: relative;
}

.alignright {
	float: right;
	text-align: right;
	width: 50%;
	margin-left: 20px;
}

.alignleft {
	float: left;
	text-align: left;
	width: 50%;
	margin-right: 20px;
}

.aligncenter {
	width: 50%;
	margin: auto;
	text-align: center;
}

img.alignright,
img.alignleft,
img.aligncenter {
	width: auto;
}