/*** Basic Styles ***/
.rescue_portfolio #Grid .mix{
    display: none;
}
.rescue_portfolio {
	margin-top: 20px;
}
.rescue_portfolio ul {
	list-style-type: none!important;
	margin-left: 0;
}

.page-template-template-portfolio .entry-content {
	margin: 0;
}

/* Filter */
.rescue_portfolio .filter_wrap ul {
	margin: 20px 0px 40px 0;
}
.rescue_portfolio ul #filter_title {
	color: #222222;
	text-transform: uppercase;
}
.rescue_portfolio .filter_wrap ul li {
	text-decoration: none;
	text-transform: uppercase;
	color: #676765;
	display: inline;
	margin-right: 20px;
}
.rescue_portfolio .filter_wrap ul li.active {
	border-bottom: thin dotted #ccc;
	color: #222222;
}
.rescue_portfolio .filter_wrap ul li:hover {
	text-decoration: none;
	color: #222222;
}

/* Main Grid */
.rescue_portfolio ul#Grid li {
	margin-right: 1em;
}
.rescue_portfolio ul#Grid li p.portfolio_title {
	color: #5e5858;
	text-shadow: 1px 1px 1px #ffffff;
	font-size: 16px;
	text-align:center;
	margin-bottom: 0;
	line-height: 0em;
	position: relative;
	top: -1.35em;
}
.rescue_portfolio ul#Grid li p.portfolio_title a {
	color: #888888;
}
.rescue_portfolio ul#Grid li p.portfolio_title a:hover {
	color: #333333;
}

/* Single Page */
.portfolio .category_details, .portfolio .tags {
	display:none;
}

.small-block-grid-3 > li:nth-of-type(3n+1) {
	clear: none!important;
}

/*--- Rescue Themes Custom Styles ---*/
.rescue_portfolio {
	margin-top: 5em;
}
.page-template-template-portfolio .page-wrap.portfolio_wrap {
    margin-top: 4em;
}
.page-template-template-portfolio .portfolio_wrap .post_content_wrap {
	border: none;
	padding: 0;
}
.portfolio_wrap .post_content_wrap header.entry-header h3 {
	font-size: 2.75rem;
	font-weight: 300;
}
.portfolio_wrap .entry-content h3 {
    font-size: 1.5em;
    font-weight: 300;
}
.rescue_portfolio .filter_wrap {
/*	background-color: #f1f1f1;*/
	margin: 1em 0 3em 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.rescue_portfolio .filter_wrap ul {
	margin: 0 0 2em 0;
	text-align: center;
	padding: .57em 0;
}
.rescue_portfolio .filter_wrap ul li {
	display: none;
	margin-right: 0.2em!important;
}
.rescue_portfolio .filter_wrap ul li.all {
	margin-right: 0em!important;
}
.rescue_portfolio ul#Grid li {
    margin-bottom: 2em;

}
.rescue_portfolio .filter_wrap ul li.filter {
	font-size: .9em;
	padding: .75em .75em;
	margin: 0 0;
	background-color: #f1f1f1;
	display: inline;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -o-transition: 0.2s;
    -ms-transition: 0.2s;
    transition: 0.2s;
}
.rescue_portfolio .filter_wrap ul li.filter:hover {
	color: #404c59;
	background-color: #e1e1e1;
}
.rescue_portfolio .filter_wrap ul li.filter.active {
	color: #404c59;
	background-color: #e1e1e1;
	border-bottom: none;
}
.rescue_portfolio #Grid li {
	background-color: #f1f1f1;
	border: 5px solid #f1f1f1;
	padding-top: 40px;
}

/* Hover */
.hover_grid figure {
    margin: 0;
    position: relative;
}
.hover_grid figure img {
    max-width: 100%;
    display: block;
    position: relative;
}
.hover_grid figcaption {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
    background: #ffffff;
/*    color: #ed4e6e;*/
    height: 100%;
    width: 100%;
    opacity: 0;
    text-align: center;
    backface-visibility: hidden;
	   transition: opacity .20s ease-in-out;
	   -moz-transition: opacity .20s ease-in-out;
	   -webkit-transition: opacity .20s ease-in-out;
}
.hover_grid figcaption h3 {
	font-size: 36px!important;
	font-weight: 600!important;
    margin-top: 70px;
    padding: 0;
}

.hover_grid figcaption p {
	text-align: center!important;
	padding: 0 2em;
	margin-bottom: 0;
}
.no-touch .hover-style figure:hover figcaption, .no-touch .hover-style figure:active figcaption, .no-touch .hover-style figure:focus figcaption, .hover-style figure:hover figcaption {
    opacity: 1;
}

/* Buttons */
.rescue_portfolio #Grid a.button {
  	position: absolute;
  	top: 50%;
  	left: 50%;
  	transform: translate(-50%, -50%);
	text-transform: uppercase;
	background-color: #f2f3f7;
	color: #676765;
	padding: 1.5rem 3.1rem;
	font-size: 0.75em;
}
.rescue_portfolio #Grid a.button:hover {
	background-color: #e9eaee;
}

.rescue_portfolio .portfolio_title span.amount {
	text-transform: uppercase;
	font-size: 12px;
	color: #fff;
	text-shadow: none;
	background-color: #93b800;
	padding: .25em .75em;
	margin-left: 1em;
	position: relative;
	top: -.2em;
}

/*--- Single Theme Description Page ---*/
.single-wordpress-themes.single .page-wrap {
	margin-top: 0;
}
.theme-description-header h1 {
    font-size: 2.75rem;
    font-weight: 300;
}
.theme-description-header h2 p {
    font-size: 0.6em;
    font-weight: 300;
}
.theme-description-header  {
	margin: 3em 0;
}
@media only screen and (max-width: 40em) {
	.theme-description-header  {
		text-align: center;
	}
}/* Small */
@media only screen and (min-width: 40.063em) and (max-width: 64em) {
	.theme-description-header  {
		text-align: center;
	}
}
.theme-description-header .theme-buttons {
	text-align: right;
	padding-top: 2em;
}
@media only screen and (max-width: 40em) {
	.theme-description-header .theme-buttons a {
		width: 100%;
	}
}/* Small */
@media only screen and (min-width: 40.063em) and (max-width: 64em) {
	.theme-description-header .theme-buttons  {
		margin: 0 auto;
		display: table;
	}
}/* Medium */
.theme-large-image img, .theme-mobile-image img {
    background-color: #f1f1f1;
    border: 5px solid #f1f1f1;
}
.theme-buttons .demo-button, .theme-buttons .free-download-button, .theme-buttons .plus-version-button, .theme-buttons .purchase-button {
	padding: 0.65rem 1.75rem;
	color: #333333;
	font-weight: 500;
	background: #ffffff;
	border: 3px solid #f1f1f1;
}
.theme-buttons .button.demo-button:hover, .theme-buttons .button.demo-button:focus {
	color: #333333;
	background: #f1f1f1;
}
.theme-buttons .button.free-download-button:hover, .theme-buttons .button.free-download-button:focus {
	color: #333333;
	background: #f1f1f1;
}
.theme-buttons .purchase-button {
    background-color: #e87c67;
    border: 2px solid #e87c67;
    color: #fff;
}
.theme-buttons .button.purchase-button:hover {
	background-color: #f48f7b;
	border: 2px solid #f48f7b;
}
.theme-buttons .button.purchase-button:focus {
	background-color: #333333;
}
.theme-buttons .purchase-button span {
    color: #fff;
}
.theme-buttons .plus-version-button {
    background: #555 none repeat scroll 0 0;
    border: 2px solid #555;
    color: #fff;
}
.theme-buttons .button.plus-version-button:hover, .theme-buttons .button.plus-version-button:focus {
	background: #666;
}

@media only screen and (max-width: 40em) {
	.theme-mobile-image img {
		margin: 0 auto;
		display: table;
		margin-top: 1em;
	}
}/* Small */

.theme-description .post_content_wrap {
    border: medium none;
    padding: 0;
}
.theme-description .theme-content, .theme-description .theme-details {
	margin-top: 4em;
}
.theme-description .theme-content h4 {
    font-size: 1.25em;
    font-weight: 600;
    margin-bottom: 1em;
}
.theme-description .theme-content h4 a {
	border-bottom: 1px dashed #cccccc;
	color: #222;
}
.theme-description .theme-content h4 a:hover {
	color: #444;
}
@media only screen and (max-width: 40em) {
	.theme-description .theme-content h4 {
		text-align: center;
	}
	.theme-description .theme-content .post_content_wrap .entry-content p {
		text-align: center;
	}
}/* Small */
@media only screen and (min-width: 40.063em) and (max-width: 64em) {
	.theme-description .theme-content h4 {
		text-align: center;
	}
	.theme-description .theme-content .post_content_wrap .entry-content p {
		text-align: center;
	}
}/* Medium */
.theme-description .theme-details {
    border-top: 3px solid #f1f1f1;
    margin-top: 5.5em;
    padding: 2em 1em 1em 1em;
}
@media only screen and (max-width: 40em) {
	.theme-description .theme-details {
		margin-top: 1em;
	}
}/* Small */
@media only screen and (min-width: 40.063em) and (max-width: 64em) {
	.theme-description .theme-details {
		margin-top: 1em;
	}
}/* Medium */
.theme-description .theme-details span {
	display: block;
	margin-bottom: 1em;
}
@media only screen and (max-width: 40em) {
	.theme-description .theme-details {
		margin: 0 auto;
		display: table;
		border-top: none;
		background-color: #f8f8f8;
	}
	.theme-description .theme-details span {
		margin: 0 auto;
		display: table;
		margin-bottom: 1em;
		text-align: center;
	}
}/* Small */
@media only screen and (min-width: 40.063em) and (max-width: 64em) {
	.theme-description .theme-details {
		margin: 0 auto;
		display: table;
		border-top: none;
		background-color: #f8f8f8;
	}
	.theme-description .theme-details span {
		margin: 0 auto;
		display: table;
		margin-bottom: 1em;
		text-align: center;
	}
}/* Medium */
.theme-description .theme-details span h5 {
    font-size: 1em;
    font-weight: 600;
    margin: 0;
    padding-bottom: 0.2em;
}
.theme-description .theme-details span small {
    color: #ccc;
    font-size: 0.7em;
}
.theme-description .theme-details span p {
	font-size: 1em;
	margin-bottom: 0.5em;
}
.theme-description .theme-details span.changelog p a {
	font-size: 0.9em;
	color: #73787c;
}
.theme-description .theme-details span.changelog p a:hover {
	color: #333;
}
.theme-description .theme-details .recommended-plugins {
	font-size: 0.9em;
}
.theme-description .theme-details .recommended-plugins a {
	display: block;
}
.theme-description .extra-downloads a.button {
    background: #ffffff none repeat scroll 0 0;
    border: 3px solid #f1f1f1;
    color: #666666;
    font-size: 1em;
    font-weight: 500;
    margin-bottom: 0.5em;
    padding: 0.65rem 1.75rem;
    width: 100%;
}
.theme-description .extra-downloads a.button.wpcom {
    background: #3cb3db;
    border: 3px solid #3cb3db;
    color: #ffffff;
}
.theme-description .extra-downloads a.button.wpcom:hover {
    background: #4fc1e7;
    border: 3px solid #4fc1e7;
    color: #ffffff;
}

.theme-description .extra-downloads a.button.themecloud {
    background: #FF9B42;
    border: 3px solid #FF9B42;
    color: #ffffff;
}
.theme-description .extra-downloads a.button.themecloud:hover {
    background: #ffac62;
    border: 3px solid #ffac62;
    color: #ffffff;
}
.theme-description .extra-downloads a.button.themecloud span.icon {
  background: url('../images/themecloud-logo.png') no-repeat;
  padding: 0.2em 1em 0.5em 1em;
  margin-left: 0.5em;
}

@media only screen and (max-width: 40em) {
	.theme-description .extra-downloads {
		padding-top: 2em;
	}
}/* Small */
@media only screen and (min-width: 40.063em) and (max-width: 64em) {
	.theme-description .extra-downloads {
		padding-top: 2em;
	}
}/* Medium */
.theme-description .extra-downloads a.button:hover {
	background: #f1f1f1;
	color: #555;
}
.theme-description .random-themes {
	border-top: 1px solid #f1f1f1;
	padding-top: 5em;
}
@media only screen and (max-width: 40em) {
	.theme-description .random-themes {
		border-top: none;
		padding-top: 1em;
	}
	.theme-description .random-themes img {
		margin: 0 auto;
		display: table;
		margin-bottom: 1em;
	}
}/* Small */
@media only screen and (min-width: 40.063em) and (max-width: 64em) {
	.theme-description .random-themes {
		border-top: none;
		padding-top: 1em;
	}
	.theme-description .random-themes img {
		margin: 0 auto;
		display: table;
		margin-bottom: 1em;
	}
}/* Medium */
.theme-description .random-themes a:hover img {
	opacity: .8;
}
.customizer-diagram h3 {
	text-align: center;
	font-weight:300;
}
.customizer-diagram p {
	text-align: center;
	font-weight:300;
	width: 50%;
	margin: 0 auto;
	display:table;
}
@media only screen and (max-width: 40em) {
	.customizer-diagram {
		display: none;
	}
}/* Small */
@media only screen and (min-width: 40.063em) and (max-width: 64em) {
	.customizer-diagram {
		width: 100%;
	}
}/* Medium */

/* Single Theme Sidebar */
.theme-sidebar {
	margin-top: 2em;
}
.theme-sidebar h3 {
    font-size: 1.25em;
    font-weight: 600;
    margin-bottom: 1em;
}

/*--- Media Queries ---*/

@media only screen and (max-width: 40em) {
	.hover_grid figcaption h3 {
	    font-size: 20px !important;
	    margin-top: 10px;
	}
	.hover_grid figcaption p {
	    display: none;
	}
	.rescue_portfolio .filter_wrap ul li.filter {
		display: block;
	}
	.rescue_portfolio .filter_wrap ul li {
		margin-right: 0!important;
	}
	.rescue_portfolio ul#Grid li {
		width: 100%;
	}
	.rescue_portfolio #Grid a.button {
		padding: 1rem;
	}
	.theme-description .extra-downloads a.button.wpcom i {
		padding-top: 0.5em;
	}
	.home .rescue_portfolio {
	  margin-top: 2em;
	}
	.portfolio_wrap .post_content_wrap header.entry-header h3 {
  		font-size: 2rem;
  		font-weight: 500;
  		margin-bottom: 1em;d
	}
	.page-template-template-portfolio .page-wrap.portfolio_wrap {
		margin-top: 2em;
	}
} /* Small */

@media only screen and (min-width: 40.063em) and (max-width: 64em) {
	.rescue_portfolio ul#Grid {
		text-align: center;
	}
	.rescue_portfolio ul#Grid li {
		margin: auto auto 2em;
		text-align:left;
	}
} /* Medium */
