/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

div.sk-affiliate {
	width: 700px;
	position: relative;
	min-height: 350px;
	margin: 30px 0 20px;
}

div.sk-affiliate > div {
	margin-left: 350px;
	margin-bottom: 15px;
	width: 350px;
}
div.sk-affiliate a,
div.sk-affiliate a:hover,
div.sk-affiliate a:active,
div.sk-affiliate a:focus,
div.sk-affiliate a img
{
	text-decoration:none;
	box-shadow: none;
	border-style:none;
}
div.sk-affiliate a:hover {
	opacity: .6;
}


div.sk-affiliate > div.sk-af-image {
	width: 350px;
	position: absolute;
	left: 0;
	top: 0;
	margin-left: 0;
	margin-bottom: 15px;
}

div.sk-affiliate > div.sk-af-image a {
	display: block;
}

div.sk-affiliate > div.sk-af-image a:hover {
}

div.sk-affiliate > div.sk-af-image a img {
	max-width: 316px;
    max-height: 316px;
	margin: 0 auto;
	display: block;
}

div.sk-affiliate > div.sk-af-image div.sk-af-item-icon {
	font-size: 90%;
	color: #FFF;
	background-color: #1760B7;
	position: absolute;
	border-radius: 25px;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	width:50px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	top: -17px;
	right: 17px;
	transform: rotate(-15deg);
	-moz-transform: rotate(-15deg);
	-webkit-transform: rotate(-15deg);
	z-index: 99;
}


div.sk-affiliate > div.sk-af-title {
	font-weight: bold;
}

div.sk-affiliate > div.sk-af-description {
	font-size: 13px;
	text-align: justify;
	line-height: 1.5;
}

div.sk-affiliate > div.sk-af-link {
	clear: both;
}

div.sk-affiliate > div.sk-af-link > a {
	font-weight: bold;
	border-radius: 5px;
	display: block;
	color: #fff;
	line-height: 50px;
	font-size: 14.4px;
	text-align: center;
	float: left;
}

div.sk-affiliate > div.sk-af-link::after {
	content: ".";
	display: block;
	height: 0;
	font-size:0;
	clear: both;
	visibility:hidden;
}

div.sk-affiliate > div.sk-af-link > a > .dashicons {
	line-height: 50px;
	margin-right: 6px;
}

div.sk-affiliate > div.sk-af-link > a.rakuten {
	background-color: rgb(191, 0 ,0);
}

div.sk-affiliate > div.sk-af-link > a.amazon {
	background-color: rgb(248, 152, 29);
}

div.sk-affiliate > div.sk-af-link > a.coleman {
	background-color: rgb(226, 10, 18);
}

div.sk-affiliate > div.sk-af-link > a:nth-child(1):nth-last-child(1) {
	width: 100%;
	margin: 0;
}

div.sk-affiliate > div.sk-af-link > a:nth-child(1):nth-last-child(2) {
	width: calc(50% - 4px);
	margin-left: 0;
	margin-right: 4px;
}

div.sk-affiliate > div.sk-af-link > a:nth-child(2):nth-last-child(1) {
	width: calc(50% - 4px);
	margin-left: 4px;
	margin-right: 0;
}

div.sk-affiliate > div.sk-af-link > a:nth-child(1):nth-last-child(3) {
	width: calc(50% - 4px);
	margin-left: 0;
	margin-right: 4px;
	margin-bottom: 8px;
}

div.sk-affiliate > div.sk-af-link > a:nth-child(2):nth-last-child(2) {
	width: calc(50% - 4px);
	margin-left: 4px;
	margin-bottom: 8px;
}

div.sk-affiliate > div.sk-af-link > a:nth-child(3):nth-last-child(1) {
	width: calc(50% - 4px);
	margin-left: 0;
	margin-right: 4px;
}
div.sk-affiliate > div.sk-af-review {
	border-radius: 5px;
	background-color: rgb(245, 245, 245);
	position: relative;
	padding: 15px 25px;
	box-sizing: border-box;
    text-align: justify;
}
div.sk-affiliate > div.sk-af-review p {
	font-size: 12px;
	line-height: 1.6;
}

div.sk-affiliate > div.sk-af-review > span.dashicons.dashicons-editor-quote {
	position: absolute;
	left: 0;
	top: 0;
	color: rgb(184, 184, 184);
}
div.sk-affiliate > div.sk-af-review > p.sk-af-review-link-source {
	margin-bottom: 0;
}


div.sk-affiliate-summary {
	width: 700px;
}

div.sk-affiliate-summary > h2 {
	font-size: 24px;
	font-weight: bold;
	border-bottom: 2px solid rgb(195, 0, 35);
	padding-bottom: 5px;
}

div.sk-affiliate-summary > .items {
	margin: 0 10px;
	display: flex;
	flex-wrap: wrap;
}

div.sk-affiliate-summary > .items > .item {
	width: 160px;
	margin: 0 5px 25px;

}
div.sk-affiliate-summary > .items > .item > .item-image {
	height: 140px;
}

div.sk-affiliate-summary > .items > .item > .item-image > img {
	max-width: 100%;
	height: 120px;
	margin: 0 auto;
	display: block;
}

div.sk-affiliate-summary > .items > .item > .item-title {
	font-size: 12px;
	line-height: 16px;
	height: 45px;
}

div.sk-affiliate-summary > .items > .item > .item-button {

	background-color: rgb(23, 96, 183);
	color: #fff;
	text-align: center;
	border-radius: 4px;
	position: relative;
	cursor: pointer;
	box-sizing: border-box;
	height: 40px;
	font-size: 12px;
	line-height: 40px;
}
div.sk-affiliate-summary > .items > .item > .item-button > .dashicons.dashicons-cart {
	width: 16px;
    height: 16px;
    font-size: 16px;
	line-height: 38px;
	margin-right: 6px;
}

div.sk-affiliate-summary > .items > .item > .item-button > div {
	display: none;
	position: absolute;
	top:38px;
	left: 0;
	right: 0;
	box-shadow: #f1f1f1 3px 3px 3px;
	border: 2px solid #1760B7;
	z-index: 9999;
}
div.sk-affiliate-summary > .items > .item > .item-button:hover > div {
	display: block;
}

div.sk-affiliate-summary > .items > .item > .item-button > div > a {
	display: block;
	height: 62px;
	text-decoration: none;
	box-shadow: none;
	background-size: 82px auto;
	background-position: center center;
	background-repeat: no-repeat;
	text-indent: 100%;
    white-space: nowrap;
	overflow: hidden;
	background-color: #fff;
	border-bottom: 1px dashed #aaa;
}

div.sk-affiliate-summary > .items > .item > .item-button > div > a:last-child {
	border-bottom: none;
}

div.sk-affiliate-summary > .items > .item > .item-button > div > a.rakuten {
	background-image: url('../img/icn_rakuten.png');
}

div.sk-affiliate-summary > .items > .item > .item-button > div > a.amazon {
	background-image: url('../img/icn_amazon.png');
}

div.sk-affiliate-summary > .items > .item > .item-button > div > a.coleman {
	background-image: url('../img/icn_coleman.png');
}

div.sk-affiliate-summary > .items > .item > .item-button > div > a.yahoo {
	background-image: url('../img/icn_yahoo.png');
}
