Your IP : 216.73.216.95


Current Path : /var/www/mainsite/wp-content/themes/maxcoach/assets/scss/elementor/widgets/
Upload File :
Current File : /var/www/mainsite/wp-content/themes/maxcoach/assets/scss/elementor/widgets/_blog.scss

.maxcoach-blog {
	.grid-item {
		min-width: 0;
	}

	.post-item {
		box-sizing: border-box;
		word-wrap: break-word;
	}

	.post-title {
		font-size: 24px;
		line-height: 1.5;
		margin: 0;

		a {
			// Block to fix title overlap box.
			display: block;
			color: inherit;
			font-size: inherit;
		}
	}

	.post-wrapper {
		@extend %NormalTransition;
	}

	.post-meta {
		font-size: 14px;
		color: #7e7e7e;
		margin: 15px 0 0;

		.inner {
			margin-left: -16px;
			margin-right: -16px;

			> div {
				display: inline-block;
				margin: 5px 0 0;
				padding: 0 16px;
			}
		}
	}

	.post-author {
		a {
			display: block;
		}

		img {
			width: 32px;
			height: 32px;
			border-radius: 50%;
			vertical-align: middle;
			margin-right: 6px;
		}
	}

	.meta-icon {
		margin-right: 6px;
	}

	.post-excerpt {
		margin-top: 16px;

		&:first-child {
			margin-top: 0;
		}
	}

	.post-thumbnail {
		position: relative;

		img {
			border-radius: inherit;
			width: 100%;
		}
	}

	.post-categories {
		font-size: 15px;
		font-weight: 500;
		text-transform: uppercase;
		letter-spacing: 2px;
		line-height: 1.4;
		margin: 0 0 6px;

		a {
			color: inherit;
		}
	}

	.post-overlay-categories {
		position: absolute;
		top: 24px;
		right: 26px;
		font-size: 12px;
		font-weight: 500;
		text-transform: uppercase;
		letter-spacing: 1.38px;
		line-height: 1.4;
		color: #111;

		a {
			background: #fff;
			color: inherit;
			padding: 6px 16px;
			display: inline-block;
		}
	}

	.post-footer {
		margin: 36px 0 0;
		display: flex;
		align-items: center;
		justify-content: flex-end;
	}

	.post-read-more {
		flex-grow: 1;
	}
}

/* Overlay styles */
.maxcoach-blog {
	.post-overlay-content {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
	}

	.post-overlay-title {
		margin-bottom: 0;
		font-size: 22px;
		color: #fff;

		a {
			font-size: inherit;
			color: inherit;
		}
	}

	.post-overlay-meta {
		color: rgba(255, 255, 255, .8);
		font-size: 14px;

		a {
			color: #fff;
		}
	}

	.post-overlay-meta {
		font-size: 14px;
		font-style: italic;
		margin: 0 -2px 6px;

		a {
			@extend %LinkTransition;
			font-weight: 500;
		}

		> div {
			display: inline-block;
			padding: 0 2px;
			margin-bottom: 5px;
		}
	}
}

.maxcoach-blog-overlay-style-float {
	.post-overlay-background {
		@extend %NormalTransition;
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		border-radius: inherit;
		//background-image: linear-gradient(-180deg, transparent 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 1) 100%);

		background-image: linear-gradient(180deg, transparent 0%, transparent 50%, rgba(0, 0, 0, 0.8) 100%);
	}

	.post-overlay-info {
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		padding: 30px 30px 44px;
		text-align: center;
	}

	.portfolio-overlay-title {
		font-size: 26px;
	}

	.post-overlay-content {
		z-index: 1;
	}

	.post-overlay-categories {
		z-index: 2;
	}
}

.maxcoach-blog-caption-style-01 {
	.post-thumbnail {
		border-radius: 5px;
		overflow: hidden;
	}

	.post-caption {
		padding: 26px 0 20px;
	}
}

.maxcoach-blog-caption-style-02 {
	.post-wrapper {
		border-radius: 5px;
		box-shadow: 0 20px 50px rgba(0, 0, 0, .05);
		background: #fff;
	}

	.post-title {
		font-size: 20px;
	}

	.post-thumbnail {
		border-top-left-radius: inherit;
		border-top-right-radius: inherit;
	}

	.post-caption {
		padding: 26px 30px;
	}

	// Highlight sticky post.
	.post.sticky {
		.post-wrapper {
			background: #333;
			color: #fff;
		}

		.post-title,
		.post-meta {
			color: #fff;
		}
	}
}

.maxcoach-blog-metro {
	.post-thumbnail {
		width: 100%;
		height: 100%;
	}
}

.maxcoach-blog-zigzag {
	.maxcoach-grid {
		display: grid;
		grid-template-columns: 270px minmax(270px, 500px) 270px;
		justify-content: space-between;
		grid-gap: 50px 30px;
		grid-auto-flow: column;
	}

	.grid-item {
		min-width: 0;

		&:nth-child( 3n + 1 ) {
			margin: 162px 0 0;
		}

		// Move third item to center.
		&:nth-child( 3n + 2 ) {
			margin: 55px 0 0;
			grid-column-end: 4;
		}

		&:nth-child( 3n + 3 ) {
			grid-column-end: 3;
		}
	}

	.post-wrapper {
		position: relative;
		background: #fff;
		box-shadow: 0 14px 59px rgba(0, 0, 0, .12);
		border-radius: 5px;
		overflow: hidden;
	}

	.post-caption {
		padding: 26px 20px 35px;
	}

	.post-thumbnail {
		position: relative;

		img {
			width: 100%;
		}
	}

	.post-title {
		font-size: 20px;
		line-height: 1.5;
	}

	.post-categories {
		font-size: 15px;
		color: #8c89a2;
		margin: 0 0 4px;
	}

	.post-meta {
		font-size: 14px;
		font-style: normal;
		margin: 8px 0 0;
	}

	.highlight-item {
		.post-wrapper {
			box-shadow: none;
		}

		.post-thumbnail {
			&:after {
				content: '';
				position: absolute;
				top: 0;
				left: 0;
				right: 0;
				bottom: 0;
				pointer-events: none;
				border-radius: inherit;
				background-image: linear-gradient(-180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
			}
		}
		.post-thumbnail {
			img {
				width: 100%;
				height: 680px;
				object-fit: cover;
			}
		}

		.post-categories {
			color: #fff;
			margin: 0 0 8px;

			a {
				&:hover {
					color: #fff !important;
				}
			}
		}

		.post-title {
			font-size: 34px;
			line-height: 1.42;

			a {
				color: #fff !important;
			}
		}

		.post-meta {
			color: #fff !important;
			margin: 1px 0 0;

			a {
				color: #fff !important;
			}
		}

		.post-caption {
			position: absolute;
			bottom: 0;
			left: 0;
			right: 0;
			padding: 20px 38px 54px;
		}
	}
}

.maxcoach-blog-list-01 {
	.post-item {
		margin: 0 0 50px;
		border-bottom: 1px solid #eee;

		&:last-child {
			margin: 0;
		}
	}

	.post-title {
		font-size: 34px;
		line-height: 1.42;
	}

	.post-categories {
		margin: 0 0 17px;
	}

	.post-caption {
		padding-top: 32px;
		padding-bottom: 50px;
	}
}

.maxcoach-blog-list-02 {
	.post-wrapper {
		display: flex;
	}

	.post-thumbnail-wrapper {
		width: 50%;
		padding-right: 45px;
	}

	.post-item {
		margin: 0 0 50px;
		padding: 0 0 50px;
		border-bottom: 1px solid #eee;

		&:last-child {
			margin: 0;
			border: 0;
			padding: 0 0 20px;
		}
	}

	.post-caption {
		width: 50%;
		padding: 0;
	}

	.post-title {
		font-size: 34px;
		line-height: 1.42;
	}

	.post-categories {
		margin: 0 0 17px;
	}

	.has-post-thumbnail {
		.post-caption {
			margin: 0;
		}
	}
}

.maxcoach-blog-list-03 {
	.post-wrapper {
		display: flex;
	}

	.post-caption {
		padding: 0 !important;
	}

	.post-thumbnail-wrapper {
		width: 80px;
		flex-shrink: 0;
		margin: 0 30px 0 0;
	}

	.post-thumbnail {
		border-radius: 5px;
		overflow: hidden;
	}

	.post-item {
		+ .post-item {
			margin: 20px 0 0;
		}
	}

	.post-title {
		font-size: 15px;
		font-weight: 700;
		line-height: 1.78;

		a {
			display: block;
			position: relative;
			padding: 0 0 0 30px;

			&:before,
			&:after {
				@extend %FontAwesomeSolid;
				content: '\f30b';
				position: absolute;
				top: 5px;
				left: 0;
				font-size: 15px;
				transition: all .25s cubic-bezier(.645, .045, .355, 1), 0s color linear;
			}

			&:after {
				color: currentColor;
				opacity: 0;
				visibility: hidden;
				transform: translateX(-100%);
			}

			&:hover {
				&:before {
					opacity: 0;
					visibility: hidden;
					transform: translateX(100%);
				}

				&:after {
					opacity: 1;
					visibility: visible;
					transform: translateX(0);
				}
			}
		}
	}

	&.maxcoach-blog-caption-style-02 {
		.post-wrapper {
			padding: 20px;
		}
	}
}

.maxcoach-blog-one-left-featured {
	.featured-post {
		padding-right: 45px;

		.post-overlay-background {
			position: absolute;
			top: 0;
			right: 0;
			bottom: 0;
			left: 0;
			border-radius: inherit;
			opacity: 0.5;
			background-image: linear-gradient(180deg, rgba(51, 51, 51, 0.00) 11%, #000 80%);
		}

		.post-overlay-meta {
			font-style: normal;
			margin: 0 -13px;

			> div {
				padding: 0 13px;
			}
		}

		.post-overlay-info {
			padding: 20px 20px 15px;
		}

		.post-overlay-categories {
			position: static;
			font-size: 15px;
			font-weight: 500;
			text-transform: uppercase;
			letter-spacing: 2px;

			a {
				background: none;
				padding: 0;
			}
		}

		.post-title {
			line-height: 1.42;

			a {
				font-size: 1.42em;
			}
		}

		.post-caption {
			padding: 20px 0 0;
		}

		.post-excerpt {
			font-size: 14px;
			font-weight: 500;
			line-height: 2;
			margin-top: 10px;
		}

		.post-read-more {
			margin-top: 11px;
		}
	}

	.normal-posts {
		margin-left: -15px;
		border-left: 1px solid #272931;

		.grid-item {
			padding: 20px 0 20px 30px;
			border-bottom: 1px solid #272931;

			&:first-child {
				padding-top: 0;
			}

			&:last-child {
				padding-bottom: 0;
				border-bottom: 0;
			}
		}

		.maxcoach-box {
			display: flex;
			flex-wrap: wrap;
		}

		.post-thumbnail-wrap {
			flex: 0 0 36.333333%;
			max-width: 36.333333%;
		}

		.post-info {
			flex: 0 0 63.666667%;
			max-width: 63.666667%;
			display: flex;
			align-items: center;
		}

		.post-caption {
			padding-left: 30px;
		}
	}
}

.maxcoach-blog-masonry-02 {
	.post-wrapper {
		margin: 0 0 30px;
	}

	.post-categories {
		position: absolute;
		bottom: 10px;
		left: 10px;
		font-size: 13px;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 1px;
		line-height: 19px;
		margin: 0;

		a {
			background: $primary-color;
			color: #fff;
			padding: 4px 10px 1px;
			display: inline-block;
			border-radius: 5px;
		}
	}

	.post-thumbnail {
		border-radius: 5px;
	}

	.post-caption {
		padding: 15px 0 0;
	}

	.post-title {
		font-size: 18px;
	}

	.post-meta {
		margin: 11px 0 0;
		line-height: 24px;
	}

	.post-highlight-item {
		.post-wrapper {
			position: relative;
		}

		.post-thumbnail {
			border-radius: 10px;
			min-height: 300px;
			box-shadow: 0 2px 10px rgba(51, 51, 51, .15);

			> a {
				img {
					position: absolute;
					top: 0;
					left: 0;
					width: 100%;
					height: 100%;
					object-fit: cover;
					object-position: 50% 50%;
				}

				&:after {
					content: '';
					position: absolute;
					top: 0;
					right: 0;
					bottom: 0;
					left: 0;
					background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 9%, #000 100%);
				}
			}
		}

		.post-categories {
			position: static;
			margin: 0 0 16px;
		}

		.post-caption {
			position: absolute;
			bottom: 0;
			left: 0;
			right: 0;
			padding: 20px 27px 23px !important;
		}

		.post-title {
			font-size: 28px;
			line-height: 1.43;

			a {
				color: #fff !important;
			}
		}

		.post-meta {
			margin: 6px 0 0;
			font-size: 15px;
			color: #fff !important;
		}

		.post-excerpt {
			color: #fff !important;
		}
	}
}

.maxcoach-blog-caption-style-03 {
	.post-thumbnail {
		border-radius: 5px;
		overflow: hidden;
	}

	.post-title {
		font-size: 24px;
		line-height: 1.5;
	}

	.post-meta {
		margin: 0 0 9px;
	}

	.tm-button.style-bottom-line .button-icon {
		font-size: 14px;
	}
}

@include media-breakpoint-down(sm) {
	.maxcoach-blog-one-left-featured {
		.featured-post {
			padding: 0;
		}

		.normal-posts {
			margin-left: 0;
			margin-top: 40px;
		}
	}
}

@include media-breakpoint-down(xs) {
	.maxcoach-blog-one-left-featured {
		.normal-posts {
			.grid-item {
				padding: 20px 0 20px 20px;
			}

			.post-caption {
				padding: 0 0 0 20px;
			}
		}
	}
}

@include elementor-breakpoint-down(md) {
	.maxcoach-blog-zigzag {
		.maxcoach-grid {
			grid-template-columns: repeat(2, 1fr);
			justify-content: normal;
			grid-auto-flow: row;
		}

		.grid-item {
			margin: 0 !important;

			&:nth-child( 3n + 2 ) {
				grid-column-end: unset;
			}

			&:nth-child( 3n + 3 ) {
				grid-column-start: 1;
				grid-column-end: 3;
			}
		}
	}

	.maxcoach-blog-list-01 {
		.post-title {
			font-size: 30px;
		}
	}

	.maxcoach-blog-list-02 {
		.post-title {
			font-size: 30px;
		}
	}

	.maxcoach-blog-one-left-featured {
		.post-title {
			font-size: 20px;
		}
	}
}

@include elementor-breakpoint-down(sm) {
	.maxcoach-blog-zigzag {
		.maxcoach-grid {
			grid-template-columns: repeat(1, 1fr);
		}

		.grid-item {
			grid-column: unset !important;
		}
	}

	.maxcoach-blog-list-01 {
		.post-title {
			font-size: 26px;
		}
	}

	.maxcoach-blog-list-02 {
		.post-wrapper {
			display: block;
		}

		.post-thumbnail-wrapper {
			width: 100%;
			padding: 0;
		}

		.post-caption {
			width: 100%;
			padding-top: 30px;
		}

		.post-title {
			font-size: 26px;
		}
	}

	.maxcoach-blog-one-left-featured {
		.post-title {
			font-size: 16px;
		}
	}
}