/*
Theme Name:  DisplayWP
Theme URI:   http://www.displaywp.com/
Description: DisplayWP.com WordPress theme.
Version:     1.0
Author:      Rami Yushuvaev
Author URI:  https://GenerateWP.com
Text Domain: displaywp
*/


/* General */

html,
body {
	font-family: 'Open Sans', sans-serif, Arial;
}
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}
hr {
	margin: 20px 0;
}
h1 {
	font-size: 1.85em;
	margin: 0;
}
h2 {
	font-size: 1.5em;
	line-height: 1.25em;
}
h3 {
	font-size: 1.35em;
}
h4 {
	font-size: 1.2em;
}
h5 {
	font-size: 1.1em;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	color: #f75;
	clear: both;
}
a {
	color: #16b;
}
a:hover,
a:focus {
	color: #16b;
	text-decoration: none;
}
i {
	display: inline-block;
	width: 1em;
}
figure {
	margin: 0 0 10px;
	max-width: 100%;
}
figure img {
	max-width: 100%;
	height: auto;
}
figure figcaption {
	max-width: 200px;
    margin: 0 auto;
	font-weight: bold;
	font-weight: bold;
}
input,
select,
textarea {
	display: inline-block;
	max-width: 100%;
	padding: 0.3em 0.5em;
	color: #555;
	vertical-align: middle;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	background-color: #fff;
	border: 1px solid #ccc;
}
input[type=text],
textarea {
	width: 100%;
}
input[type=hidden] {
	display: none;
}
input[disabled],
select[disabled],
textarea[disabled],
input[readonly],
select[readonly],
textarea[readonly] {
	cursor: not-allowed;
	background-color: #eee;
}
.table thead>tr>th,
.table tbody>tr>th,
.table tfoot>tr>th,
.table thead>tr>td,
.table tbody>tr>td,
.table tfoot>tr>td {
	padding: 5px;
}



/* WordPress Core - https://codex.wordpress.org/CSS#WordPress_Generated_Classes */

.alignnone {
	margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}
.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}
.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}
a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}
a img.alignnone {
	margin: 5px 20px 20px 0;
}
a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}
a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto
}
.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;
}
.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. */
}



/* Header */

header#site-header {
}
header#site-header h1 {
	clear: left;
	margin-top: 0.75em;
	margin-bottom: 0.75em;
	color: #f75;
	letter-spacing: 1px;
}
/*
header#site-header h1:before {
	content: '';
	width: 1em;
	height: 1em;
	display: inline-block;
	background: url( 'images/logo.svg' ) no-repeat;
	background-size: 100%;
    margin-right: .5em;
}
*/
header#site-header h1 a,
header#site-header h1 a:hover,
header#site-header h1 a:focus {
	color: #f75;
}
header#site-header ul.top-nav {
	float: right;
	margin: 0;
	padding: 0;
	padding-top: 1.5em;
}
header#site-header ul.top-nav li {
	padding-left: 2em;
	font-size: 1.2em;
}



/* Footer */

footer#site-footer {
	clear: both;
	background-color: #f2f2f2;
	padding-top: 2em;
	padding-bottom: 2em;
}



/* Content */

article#main {
	padding-bottom: 1em;
}
article#main h1 {
}
article#main p {
	font-size: 1em;
	color: #222;
}
#entry-title {
	background-color: #fd6;
	padding-top: 4em;
	padding-bottom: 4em;
	margin: 0;
}
#entry-title h2 {
	color: #fff;
	font-size: 2.5em;
	text-align: center;
}
#entry-title a,
#entry-title a:hover,
#entry-title a:focus {
	color: #fff;
}
#search-box {
	background-color: #f9f9f9;
	border-bottom: 1px solid #eee;
	padding-top: 2em;
	padding-bottom: 2em;
	margin: 0;
}
#search-box .search-field,
#search-box .search-button {
	font-size: 1.5em;
	border-radius: 2px;
	width: 100%;
}
.home-logo,
.home-versions,
.home-plugins,
.home-themes,
.home-reference {
	padding-top: 5em;
	text-align: center;
}
.home-logo {
	padding-top: 4em;
}
.home-reference {
	padding-bottom: 3em;
}
.home-logo h3,
.home-versions h3,
.home-plugins h3,
.home-themes h3,
.home-reference h3 {
	font-size: 1.75em;
	font-weight: bold;
	margin-bottom: .25em !important;
}
.nav-pills-displaywp {
	text-align:center;
	margin-top: 1em;
	margin-bottom: 1em;
}
.nav-pills-displaywp a {
	color: #f75;
}
.nav-pills-displaywp a:hover,
.nav-pills-displaywp a:focus {
	color: #fff;
	background-color: #f75;
}
.nav-pills-displaywp>li {
	float:none;
	display:inline-block;
	*display:inline; /* ie7 fix */
	 zoom:1; /* hasLayout ie7 trigger */
}
.nav-pills-displaywp>li>a:focus,
.nav-pills-displaywp>li>a:hover,
.nav-pills-displaywp>li.active>a,
.nav-pills-displaywp>li.active>a:focus,
.nav-pills-displaywp>li.active>a:hover {
	background-color: #f75;
}
.single-version p.developer,
.single-version p.contributor {
	text-align: center;
}
.single-version p.developer {
	height: 2em;
	line-height: 1em;
}
.single-version p.contributor {
	height: 4em;
	line-height: 1em;
}



.plugin-card,
.theme-card {
	padding-bottom: 35px;
	padding-right: 15px;
	padding-left: 15px;
}
.plugin-card-top {
	display: block;
    padding: 20px;
    min-height: 230px;
	border: 1px solid #eee;
	background-color: #fff;
	-webkit-transition: 0.25s;
	transition: 0.25s;
	background-size: cover;
    background-position-y: -1000px;
    background-image: inherit;
    background-repeat: no-repeat;
}
.plugin-card-top h3 {
	clear: left;
	margin-right: 200px;
	-webkit-transition: 0.25s;
	transition: 0.25s;
}
.plugin-card-top p {
	clear: left;
	margin-right: 200px;
	-webkit-transition: 0.25s;
	transition: 0.25s;
}
.plugin-card-top a {
	color: #222;
}
/*
.plugin-card-top:hover {
    background-position: top left !important;
	opacity: 0.75;
}
.plugin-card-top:hover img,
.plugin-card-top:hover h3,
.plugin-card-top:hover p {
	opacity: 0;
}
*/
.plugin-card-icon {
	overflow: hidden;
	width: 185px;
	float: right;
}
.plugin-card-icon img {
	width: 100%;
	height: auto;
	max-width: 100%;
	opacity: 1;
	-webkit-transition: 0.5s;
	transition: 0.5s;
	border: 1px solid #eee;
}
.plugin-card-icon img:hover,
.plugin-card-icon img:focus {
	opacity: 0.85;
	webkit-transform: scale(1.15);
	-ms-transform: scale(1.15);
	transform: scale(1.15);
	-webkit-transition: 0.5s;
	transition: 0.5s;
}
.plugin-card-bottom {
    clear: both;
    padding: 10px 20px;
    border: 1px solid #eee;
    border-top: 0;
    background-color: #f9f9f9;
}
.plugin-card-bottom p {
	margin: 0;
}
.plugin-card-info {
	float: left;
	width: 20%;
	text-align: center;
}
.plugin-card-info strong {
    display: inline-block;
	font-size: 1.1em;
	padding-bottom: 0.25em;
}
.plugin-card-info strong,
.plugin-card-info strong a {
	color: #16b;
}
.plugin-card-bottom:hover strong,
.plugin-card-bottom:hover strong a {
	color: #f75;
}



.theme-card-thumb {
    border: 1px solid #eee;
	overflow: hidden;
}
.theme-card-thumb img {
	opacity: 1;
	width: 100%;
	-webkit-transition: 0.5s;
	transition: 0.5s;
}
.theme-card-thumb img:hover,
.theme-card-thumb img:focus {
	opacity: 0.85;
	webkit-transform: scale(1.15);
	-ms-transform: scale(1.15);
	transform: scale(1.15);
	-webkit-transition: 0.5s;
	transition: 0.5s;
}
.theme-card-title {
	display: block;
	padding: 20px;
	border: 1px solid #eee;
    border-top: 0;
	background-color: #fff;
}
.theme-card-title h3 {
	clear: left;
	margin: 0 !important;
}
.theme-card-title p {
	float: right;
	margin: 0;
}
.theme-card-title a {
	color: #222;
}
.theme-card-bottom {
    clear: both;
    padding: 10px 20px;
    border: 1px solid #eee;
    border-top: 0;
    background-color: #f9f9f9;
}
.theme-card-bottom p {
	margin: 0;
}
.theme-card-info {
	float: left;
	width: 33.33%;
	text-align: center;
}
.theme-card-info strong {
    display: inline-block;
	font-size: 1.1em;
	padding-bottom: 0.25em;
}
.theme-card-info strong,
.theme-card-info strong a {
	color: #16b;
}
.theme-card-bottom:hover strong,
.theme-card-bottom:hover strong a {
	color: #f75;
}





/* Blog Pagination */
ul.pagination {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
}
ul.pagination li {
	display: inline-block;
	margin: 0 5px;
	text-align: center;
}
.pagination a:hover,
.pagination.active {
	color: #fff;
	background: #37b;
	border-color: #37b;
}
.pagination a,
.pagination span{
	display: block;
	padding: 4px 10px;
	color: #777;
	font-size: 12px;
	line-height: 1.5em;
	text-decoration: none;
	background: #fff;
	border: 1px solid #eee;
	cursor: pointer;
	border-radius: 3px;
}



@media (min-width: 768px) {

	/* Header */

	header#site-header h1 {
	}

	/* Footer */

	footer#site-footer {
	}
	footer#site-footer .created-by {
		text-align: left;
	}
	footer#site-footer .powered-by {
		text-align: right;
	}

	/* Content */

	article#main h2 {
		font-size: 2em;
		margin: 0;
	}
	article#main h3 {
		margin-bottom: 1em;
	}
	article#main h4 {
		margin-top: 0.75em;
		margin-bottom: 0.75em;
	}
	article#main table.table th {
		background-color: #f9f9f9;
		padding-top: 1em;
		padding-bottom: 1em;
		border: 0;
	}
	article#main table.table td {
		padding-top: 1em;
		padding-bottom: 1em;
	}
	article#main .tab-content {
		padding: 0.5em;
	}
	article#main .tab-pane {
		padding-top: 0.5em;
	}

}
@media (max-width: 767px) {

	/* General */

	body {
		border-top: 0;
		background: #fff;
	}

	/* Header */

	header#site-header h1 {
		text-align: center;
	}
	header#site-header ul.top-nav {
		display: block;
		float: none;
		margin: 1em auto;
		padding-top: 0;
		text-align: center;
	}
	header#site-header ul.top-nav li {
		display: inline-block;
		padding: 0 1em;
	}

	/* Footer */

	footer#site-footer {
	}
	footer#site-footer .created-by {
		text-align: center;
	}
	footer#site-footer .powered-by {
		text-align: center;
	}

	/* Content */

	table.table-external-libraries>tbody>tr {
		border-top: 1px solid #ddd;
	}
	table.table-external-libraries>tbody>tr>td {
		display: block;
		border-top: 0;
		padding-right: 0;
		padding-left: 0;
	}

	.post-type-archive-version table thead th {
		display: none;
	}
	.post-type-archive-version table tbody th,
	.post-type-archive-version table tbody tr,
	.post-type-archive-version table tbody td {
		display: block;
		text-align: left;
	}
	.post-type-archive-version table tbody tr {
		margin-top: 20px;
		border-width: 0 1px 1px;
		border-color: #ddd;
		border-style: solid;
	}
	.post-type-archive-version table tbody td {
		padding: 3px 10px;
		position: relative;
		padding-left: 45%;
		height: 1.85em;
		overflow: hidden;
		word-break: break-all;
	}
	.post-type-archive-version table tbody td:before {
		position: absolute;
		top: 3px;
		left: 10px;
		width: 40%;
	}
	.post-type-archive-version td:before {
		content: attr(data-column-title);
	}

}