/* --------------------------- */
/* Custom style for EFFECTIVES */
/* --------------------------- */

/* --- Categories List --- */
.sbeffectives-allcats {
    position:relative;
    width: 250px;
    height: 250px;
	float: left;
	margin: 0 20px 20px 0;
	background-color: #2c5f8e;
}
.sbeffectives-allcats img {
    width:100%;
    vertical-align:top;
}
.sbeffectives-allcats:after, .sbeffectives-allcats:before {
    position:absolute;
    opacity: 1;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}
.sbeffectives-allcats:after {
    content:'\A';
    width:100%; height:100%;
    top:0; left:0;
    background: rgba(0,0,0,0.6);
}
.sbeffectives-allcats:before {
  box-sizing: border-box;
  color: #fff;
  content: attr(data-content);
  padding: 4px 10px;
  text-align: center;
  width: 100%;
  z-index: 1;
  margin-top: 40%;
}
.sbeffectives-allcats:hover:after {
    opacity: 0;
	cursor: pointer;
}
.sbeffectives-allcats:hover:before {
	cursor: pointer;
}
.sbeffectives-single-pdf {
	position: absolute;
	right: 0;
	top: 0;
	margin: 10px;
	overflow: hidden;
}
.sbeffectives-single-pdf span.pdf img {
	max-width: 30px;
	max-height: 30px;
}

/* --- Item Single --- */
.sbeffectives-single-desc, .sbeffectives-single-pedigree, .sbeffectives-single-production, .sbeffectives-single-medias, .sbeffectives-single-desc-extend {
	box-shadow: 2px 2px 5px 1px lightgrey;
	display: block;
	position: relative;
	overflow: hidden;
	margin: 0 0 25px;
}

.sbeffectives-single-desc h5, .sbeffectives-single-pedigree h5, .sbeffectives-single-production h5, .sbeffectives-single-medias h5, .sbeffectives-single-desc-extend h5 {
	text-align: center;
	font-size: 1.2em;
	text-transform: capitalize;
}

.sbeffectives-single-medias img {
	width: 100%;
	max-width: 100%;
	margin-top: 10px;
}

.sbeffectives-single-medias iframe {
	max-width: 490px;
	width: 100%;
}

.sbeffectives-single-production p {
	margin: 0 0 10px;
}

.sbeffectives-single-production a.media-icon {
	padding: 3px 3px;
	display: inline-block;
}

.sbeffectives-single-production p img {
    vertical-align: -20%;
}

.sbeffectives-single-pedigree img {
	max-width: 100%;
}

.sbeffectives-single-medias {
	text-align: center;
}

.sbeffectives-single .even {
	float: left;
	width:  45%;
	margin: 0 20px 20px 0;
	padding: 20px;
}

.sbeffectives-single .odd {
	float: right;
	width:  45%;
	margin: 0 0 20px 0;
	padding: 20px;
}

@media screen and (max-width: 1100px) {
	.sbeffectives-single .even {
		width: 96%;
		clear: both;
	}
	.sbeffectives-single .odd {
		width: 96%;
		clear: both;
	}
}

@media screen and (max-width: 990px) {
	.sbeffectives-single .even {
		width: 95%;
		clear: both;
	}
	.sbeffectives-single .odd {
		width: 95%;
		clear: both;
	}
}

@media screen and (max-width: 790px) {
	.sbeffectives-single .even {
		width: 94%;
		clear: both;
	}
	.sbeffectives-single .odd {
		width: 94%;
		clear: both;
	}
}

@media screen and (max-width: 660px) {
	.sbeffectives-single .even {
		width: 93%;
		clear: both;
	}
	.sbeffectives-single .odd {
		width: 93%;
		clear: both;
	}
}

@media screen and (max-width: 540px) {
	.sbeffectives-single .even {
		width: 92%;
		clear: both;
	}
	.sbeffectives-single .odd {
		width: 92%;
		clear: both;
	}
}

@media screen and (max-width: 470px) {
	.sbeffectives-single .even {
		width: 90%;
		clear: both;
	}
	.sbeffectives-single .odd {
		width: 90%;
		clear: both;
	}
}

/* --- Pagination Bar --- */
.sbeffectives-pagination {
	background-color: #eee;
	color: black;
	font-size: 1em;
	font-weight: 400;
	margin-bottom: 0;
	overflow: hidden;
	padding: 5px 10px;
	text-align: right;
}

.sbeffectives-pagination span a {
    background-color: white;
    color: #ddd;
    display: block;
    float: right;
    margin: 0 7px;
    padding: 0 12px 5px 5px;
    width: 20px;
    font-size: 1.7em;
    line-height: 0.8em;
}

.sbeffectives-pagination span a:hover {
    color: black;
}

.sbeffectives-pagination div {
	float: right;
	font-size: 0.9em;
	font-weight: 300;
	margin: 0 5px;
}

/* --- Item Single --- */
.sbeffectives-single-img {
	float: left;
	margin: 0 30px 20px 0;
	max-width: 50%;
	width: 100%;
}
