/**
 * Web Directoey Plugin
 * By: Aphagon Phromdesarn
 * site: https://aphagon.me
 */

tr.type-wpwd th , tr.type-wpwd td { vertical-align: middle !important; }
.column-screenshot { width: 120px; }
.column-screenshot img {
	width: 120px;
	height: auto;
}
.column-status { width: 60px; }
.wpwd-clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
* html .wpwd-clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .wpwd-clearfix { zoom: 1; } /* IE7 */
ul > li.wpwd-clearfix {
	list-style: none!important;
	margin: 0px!important;
}
.wpwd-block-in-category,
.wpwd-block-in-page {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: flex-start;
	align-self: stretch;
}
.wpwd-block-in-category ul,
.wpwd-block-in-page ul {
    list-style-type: none!important;
    padding: 0px!important;
    margin: 0px!important;
    color: #9C9C9C;
}
.wpwd-block-in-category ul, 
.wpwd-block-in-page ul {
    flex-basis: 100%;
    max-width: 100%;
}
.wpwd-block-in-category ul > li {
	display: inline-block;
	width: 50%;
	vertical-align: top;
}
.wpwd-block-in-category ul > li,
.wpwd-block-in-page ul > li {
    border-bottom: 1px dashed #b5b5b5;
    margin-bottom: 10px;
    padding: 0px 0px 10px!important;
}
.wpwd-block-in-category ul > li > h3, 
.wpwd-block-in-category ul > li > h3 > a,
.wpwd-block-in-page ul > li > h3, 
.wpwd-block-in-page ul > li > h3 > a { color: #6f5f5f; }
.wpwd-block-in-category ul > li > div.wpwd-parent,
.wpwd-block-in-page ul > li > div.wpwd-parent {
    margin: 0px;
    padding-left: 12px;
    display: block;
    list-style-type: none;
    font-size: 13px;
}

/**
 * directory page
 */
.wpwd-list {
	display: block;
	margin: 0!important;
	padding: 0!important;
    list-style-type: none;
}
.wpwd-list-item {
	padding: 5px!important;
	margin: 5px 0!important;
	display: block;
	border: 1px solid #efefef;
	overflow: hidden;
}
.wpwd-list-item-screenshot {
	float: left;
	width: 250px;
	height: auto;
	margin-right: 15px;
	text-align: center;
}
.wpwd-list-item-screenshot img {
	max-width: 100%;
	height: auto;
	border: 1px solid #efefef;
}
.wpwd-list-item-body {
	display: block;
    float: left;
	width: calc(100% - 265px);
}
.wpwd-list-item-body p {
	margin: 0 0 5px;
	line-height: 1;
	padding: 0;
	white-space: pre-wrap;
}
.wpwd-list-item-body-link {
	margin: 0;
    padding: 0 5px;
    font-size: 11px;
    background-color: #ef8abd;
    border-radius: 2px;
    color: white;
}
.wpwd-list-item-body-tag {
	font-size: 13px;
}
.wpwd-nav-previous,
.wpwd-nav-next { margin: 10px 0;
}
.wpwd-nav-previous a,
.wpwd-nav-next a {
    padding: 5px 10px;
    border-radius: 30px;
    display: inline-block;
    font-size: 14px;
    border: 1px solid #efefef;
    text-decoration: none !important;
}
.wpwd-nav-previous a:hover,
.wpwd-nav-next a:hover {
    background-color: #efefef;
}
.wpwd-nav-previous { float: left; }
.wpwd-nav-next { float: right; }

/**
 * Text Link Show
 */
.wpwd-text-links, 
.wpwd-recommend-links, 
.wpwd-category-links {
	overflow: hidden;
	display: block;
	clear: both;
	padding: 0px;
	margin: 0;
	line-height: 1;
}
.wpwd-text-links-title, 
.wpwd-recommend-links-title, 
.wpwd-category-links-title {
	display: block;
	overflow: hidden;
	white-space: nowrap;
	margin: 0px;
	font-size: 18px;
	padding: 10px;
	border-bottom: 2px solid #333;
	color: #333;
}
.wpwd-text-links-list, 
.wpwd-recommend-links-list,
.wpwd-category-links ul {
	margin: 15px 0px!important;
	padding: 0px 0px 10px!important;
	border-bottom: 1px solid #c9c9c9;
	color: #333;
	display: block;
	overflow: hidden;
	list-style: none;
}
.wpwd-text-links-list-item {
	float: left;
	width: 33.33333333%;
	margin: 0px 0px 10px!important;
	vertical-align: top;
	padding: 0;
	list-style: none!important;
}
.wpwd-text-links-list-item-title {
	padding: 5px;
}
.wpwd-recommend-links-list-item {
	width: 100%;
	display: block;
	margin: 0px 0px 5px;
	vertical-align: top;
}
.wpwd-category-links ul li {
	display: inline-block;
    width: 25%;
    margin-left: -5px!important;
    margin-bottom: 10px!important;
    margin-right: 0px!important;
    margin-top: 0px!important;
    vertical-align: top;
}
.wpwd-category-links ul li span {
	margin: 3px 5px;
	padding: 5px;
}
@media screen and (max-width: 1018px) {
	.wpwd-category-links ul li {
		width: 33.33333333%;
	}
}
@media screen and (max-width: 480px) {
	.wpwd-list-item-screenshot {
		width: 100%;
		float: none;
		margin: 0 0 10px;
	} 
	.wpwd-block-in-category ul > li, 
	.wpwd-text-links-list-item {
		width: 50%;
		margin: 0 0 10px!important;
	}
	.wpwd-list-item-body { float: none; }
	.wpwd-category-links ul li {
		width: 100%;
		display: block;
		margin-left: 0px!important;
	}
}
