Exploiting-Vulnerable-Website / templates / scss / _site-blocks.scss
_site-blocks.scss
Raw
.intro-section {
	background-size: cover;
	position: relative;
	&, .container .row {
		height: 100vh;
		min-height: 500px;
	}
	&:before {
		content: "";
		position: absolute;
		height: 100%;
		width: 100%;
		background: rgba($black, .2);
		border-bottom-right-radius: 0px;
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		@include media-breakpoint-down(md) {
			width: 100%;
		}
	}

	h1 {
		font-size: 60px;
		font-weight: 900;
		line-height: 1;
		color: $white;
		@include media-breakpoint-down(md) {
			font-size: 34px;
		}
	}
	p {
		color: rgba($white, .8);
		font-size: 20px;
	}

	&.small {
		&, .container .row {
			height: 90vh;
			min-height: 300px;
		}
	}

	.intro {
		margin-top: 6rem;
	}
}
.custom-breadcrumns {
	padding: 20px 0;
	span, a {
		font-size: 14px;
	}
	a {
		display: inline-block;
		color: rgb(189, 189, 189);
		
		&:hover {
			color: $primary;
		}
	}
	.current {
		color: $primary;
	}
}
.section-title-underline {
	color: $black;
	&.style-2 {
		color: $white;
		span {
			border-color: $primary;
		}
	}
}

.section-bg {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 4rem 0;
	&.style-1 {
		position: relative;
		&:before {
			content: "";
			position: absolute;
			top: 0;
			left: 0;
			right: 0;
			bottom: 0;
			background: $primary;
			opacity: .9;
			z-index: 0;
		}
		> .container {
			z-index: 2;
		}
		.icon {
			font-size: 3.5rem;
			color: $primary;
		}
		h3 {
			font-size: 20px;
			color: $primary;
			margin-bottom: 30px;
		}
		p {
			color: rgba($white, .5);
		}
	}
}

.news-updates {
	.section-heading {
		font-size: 30px;
		font-weight: bold;
		margin-bottom: 40px;
		h2 {
			margin-bottom: 0;
			line-height: 0;
		}
		a {
			font-size: 16px;
		}
	}
	padding: 5rem 0;
	.post-entry-big {
		.img-link {
			position: relative;
			display: inline-block;
			margin-bottom: 30px;
			overflow: hidden;
			img {
				transition: .3s all ease;
			}
			&:before {
				left: 0;
				right: 0;
				bottom: 0;
				top: 0;
				position: absolute;
				content: "";
				background: #000;
				opacity: 0;
				z-index: 2;
				visibility: hidden;
				transition: .3s all ease;
			}
			img {
				z-index: 1;
			}
			&:hover {
				&:before {
					opacity: .6;
					visibility: visible;
				}
				img {
					transform: scale(1.05);
				}
			}
		}
		.post-content {
			.post-meta {
				a {
					display: inline-block;
					font-size: 13px;
					text-transform: uppercase;
					font-weight: bold;
					color: rgb(147, 147, 147);
				}
			}
			.post-heading {
				line-height: .9;
				a {
					font-size: 18px;
					font-weight: bold;
					
					color: rgb(48, 48, 48);
					&:hover {
						color: $primary;
					}
				}
			}
		}
		&.horizontal {
			.img-link {
				flex: 0 0 90px;
			}
		}
	}
}

.social-wrap {
	.social-item {
		display: inline-block;
		width: 40px;
		height: 40px;
		background: $primary;
		position: relative;
		border-radius: 50%;
		> span {
			position: absolute;
			color: $white;
			left: 50%;
			top: 50%;
			transform: translate(-50%, -50%);
		}
		&:hover {
			background: $black;
		}
	}
}

.block-number-1 {
	.icon {
		color: $white;
		font-size: 2rem;
	}
}

// 05 - Block
.ftco-testimonial-1 {
	.ftco-testimonial-vcard {
		img {
			width: 50px;
			height: 50px;
			border-radius: 50%;
		}
		h3 {
			font-size: 1.2rem;
			display: block;
			margin-bottom: 0;
			color: rgba($white, 1);
		}
	}
	p {
		color: $white;
		font-size: 20px;
	}
	span {
		color: rgba($white, .5);	
	}
}

.hero-slide {
	position: relative;

	.owl-nav {
		
		.owl-prev,
		.owl-next {
			opacity: 0;
			visibility: hidden;
			transition: .3s all ease;
			position: absolute;
			top: 50%;		
			text-align: center;
			width: 50px;
			height: 50px;
			border-radius: 50%;
			transform: translateY(-50%);
			background: $white;
			> span {
				font-size: 1.5rem;
				position: absolute;
				top: 50%;
				left: 50%;
				transform: translate(-50%, -50%);
			}
		}
		.owl-prev {
			left: 20px;
		}
		.owl-next {
			right: 20px;
		}
	}
	.owl-dots {
		position: absolute;
		bottom: 30px;
		left: 50%;
		transform: translateX(-50%);
		text-align: center;
		.owl-dot {
			display: inline-block;
			> span {
				

				border-radius: 0%;
				display: inline-block;
				width: 20px;
				height: 4px;
				margin: 2px 5px;

				background: rgba(255,255,255,.2);
			}
			&.active {
				> span {
					background: $white;
				}
			}
		}
	}

	&:hover {
		.owl-prev,
		.owl-next {
			opacity: .7;
			visibility: visible;
			&:hover {
				opacity: 1;
			}
		}
	}
}

.owl-slide-3, .owl-slide {
	position: relative;
	
	.owl-stage {
		padding-top: 30px;
		padding-bottom: 30px;
	}
	.owl-nav {
		
		.owl-prev,
		.owl-next {
			position: absolute;
			top: 50%;		
			text-align: center;
			width: 40px;
			height: 40px;
			transform: translateY(-50%);
			background: $white;
			> span {
				font-size: 1.5rem;
				position: absolute;
				top: 50%;
				left: 50%;
				transform: translate(-50%, -50%);
			}
		}
		.owl-prev {
			left: 0;
		}
		.owl-next {
			right: 0;
		}
	}
	.owl-dots {
		position: absolute;
		bottom: -30px;
		left: 50%;
		transform: translateX(-50%);
		text-align: center;
		.owl-dot {
			display: inline-block;
			> span {
				border-radius: 50%;
				display: inline-block;
				width: 7px;
				height: 7px;
				margin: 2px 5px;
				background: rgba($black,.2);
			}
			&.active {
				> span {
					background: $primary;
				}
			}
		}
	}
}
.owl-slide {
	.owl-nav {
		display: none;
	}
}

.flaticon-svg {
	width: 90px;
	margin: 0 auto;
} 
.feature-1, .person {
	background: $white;
	margin-bottom: 100px;
	.icon-wrapper {
		position: relative;
		width: 96px;
		height: 55.43px;
		right: 0;
		left: 0;
		margin: 0 auto;
		z-index: 1;
		margin-top: -33.94px;
		// border: 1px solid red;
		background:#ccc;
		
		> svg {
			position: absolute;
			left: 50%;
			top: 50%;
			transform: translate(-50%, -50%);
			text-align: center;
			font-size: 40px;
			color: $white;
			line-height: 96px;
			display: inline-block;
			position: absolute;
			
			
		}
		&:before, &:after {
			content: "";
			position: absolute;
			z-index: -1;
			width: 67.88px;
			height: 67.88px;
			-webkit-transform: scaleY(.5774) rotate(-45deg);
			-ms-transform: scaleY(.5774) rotate(-45deg);
			transform: scaleY(.5774) rotate(-45deg);
			background-color: inherit;
			left: 14.06px;

			
		}
		&:before {
			top: -33.94px;
		}
		&:after {
			bottom: -33.94px;	
		}
	}

	.feature-1-content {
		padding: 50px 20px 20px 20px;
		text-align: center;
		h2 {
			font-size: 1.3rem;
			color: $black;
		}
	}



}
.person {
	margin-bottom: 50px!important;
	img {
		width: 100px;
		height: 100px;
		margin-top: -50px;
		border-radius: 50%;
		margin-left: auto;
		margin-right: auto;
	}
}

.course-1-item {
	box-shadow: 0 2px 10px 0 rgba($black, .1);
	figure {
		position: relative;
	}
	.category {
		background: $primary;
		
		
		padding: 20px;
		h3 {
			color: $white;
			font-size: 20px;
			margin-bottom: 0;
		}
	}
	.price {
		position: absolute;
		bottom: 0;	
		right: 0;
		transform: translatey(-100%);
		padding: 10px 20px;	
		background: #183661;
		color: $white;
	}
	.course-1-content {
		padding: 20px 40px;
		text-align: center;
		h2 {
			margin: 0 0 30px 0;
			font-size: 18px;
			color: $black;
		}
		.rating {
			text-align: center;
			> span {
				display: inline-block;
				margin: 2px;
			}
		}
		.desc {
			font-size: 15px;
		}
	}
}

.footer {
	padding: 4rem 0;
	background: $light;
	.footer-heading {
		font-size: 16px;
		margin-bottom: 30px;
		color: $black;
		
	}
	ul {
		li {
			margin-bottom: 10px;
		}
	}
	a {
		color: #777;
		text-decoration: underline;
		&:hover {
			text-decoration: underline;
		}
	}
	.copyright {
		padding-top: 7rem;
		text-align: center;
	}
}

.ftco-subscribe-1 {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	position: relative;
	&:before {
		position: absolute;
		content: "";
		background: #183661;
		opacity: .7;
		z-index: 1;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}
	> .container {
		position: relative;
		z-index: 2;
		h2, p {
			color: $white;
		}
		
	}
	.form-control {
		height: auto!important;
	}
}

.video-1 {
	position: relative;
	display: block;

	.play {
		position: absolute;
		top: 50%;
		left: 50%;
		width: 50px;
		height: 50px;
		background: rgba($black, .3);
		color: $white;
		transform: translate(-50%, -50%);
		border-radius: 50%;
		> span {
			position: absolute;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
		}
	}
	&:hover {
		box-shadow: 0 5px 30px -10px rgba($black, .3);
	}
}



#loader {
	position: fixed;
	width: 96px;
	height: 96px;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	background-color: rgba(255, 255, 255, 0.9);
	-webkit-box-shadow: 0px 24px 64px rgba(0, 0, 0, 0.24);
	box-shadow: 0px 24px 64px rgba(0, 0, 0, 0.24);
	border-radius: 16px;
	opacity: 0;
	visibility: hidden;
	-webkit-transition: opacity .2s ease-out, visibility 0s linear .2s;
	-o-transition: opacity .2s ease-out, visibility 0s linear .2s;
	transition: opacity .2s ease-out, visibility 0s linear .2s;
	z-index: 2000;
}

#loader.fullscreen {
	padding: 0;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	-webkit-transform: none;
	-ms-transform: none;
	transform: none;
	background-color: #fff;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}

#loader.show {
	-webkit-transition: opacity .4s ease-out, visibility 0s linear 0s;
	-o-transition: opacity .4s ease-out, visibility 0s linear 0s;
	transition: opacity .4s ease-out, visibility 0s linear 0s;
	visibility: visible;
	opacity: 1;
}

#loader .circular {
	-webkit-animation: loader-rotate 2s linear infinite;
	animation: loader-rotate 2s linear infinite;
	position: absolute;
	left: calc(50% - 24px);
	top: calc(50% - 24px);
	display: block;
	-webkit-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	transform: rotate(0deg);
}

#loader .path {
	stroke-dasharray: 1, 200;
	stroke-dashoffset: 0;
	-webkit-animation: loader-dash 1.5s ease-in-out infinite;
	animation: loader-dash 1.5s ease-in-out infinite;
	stroke-linecap: round;
}

@-webkit-keyframes loader-rotate {
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes loader-rotate {
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@-webkit-keyframes loader-dash {
	0% {
		stroke-dasharray: 1, 200;
		stroke-dashoffset: 0;
	}
	50% {
		stroke-dasharray: 89, 200;
		stroke-dashoffset: -35px;
	}
	100% {
		stroke-dasharray: 89, 200;
		stroke-dashoffset: -136px;
	}
}

@keyframes loader-dash {
	0% {
		stroke-dasharray: 1, 200;
		stroke-dashoffset: 0;
	}
	50% {
		stroke-dasharray: 89, 200;
		stroke-dashoffset: -35px;
	}
	100% {
		stroke-dasharray: 89, 200;
		stroke-dashoffset: -136px;
	}
}



// Book Keeping 
.caption {
	color: $primary;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: .2rem;
	font-weight: 700;
}
.title-with-line {
	color: $black;
	position: relative;	
	padding-bottom: 20px;
	margin-bottom: 20px;
	font-size: 30px;
	&:after {
		left: 0;
		bottom: 0;
		position: absolute;
		content: "";
		width: 30px;
		height: 2px;
		background: $primary;
	}
	&.text-center {
		&:after {
			left: 50%;
			transform: translateX(-50%);
		}
	}
}

.ul-arrow {
	position: relative;
	li {
		padding-left: 30px;
		position: relative;
		&:before{
			position: absolute;
			content: "\e5c8";
			font-family: 'icomoon';
			left: 0;
			color: $primary;
		}
	}
}

.numbers {
	strong {
		font-size: 30px;
		font-weight: 700;
		color: $black;
	}
	span {
		display: block;
		font-size: 15px;
	}
}

.owl-testimonial{
	.owl-dots {
		position: absolute;
		bottom: -30px;
		left: 50%;
		transform: translateX(-50%);
		text-align: center;
		.owl-dot {
			display: inline-block;
			> span {
				border-radius: 0%;
				display: inline-block;
				width: 20px;
				height: 4px;
				margin: 2px 5px;
				background: rgba($black,.2);
			}
			&.active {
				> span {
					background: $white;
				}
			}
		}
	}
}

.news-entry-item {
	h3 {
		font-weight: 700;
		font-size: 18px;
		a {
			color: $black;
		}
	}
	.thumbnail {
		margin-bottom: 20px;
		position: relative;
		display: block;
		overflow: hidden;
		img {
			transition: .3s all ease;
		}
		.date {
			position: absolute;
			bottom: 0;
			left: 0;
			padding: 15px 30px;
			border-bottom: 2px solid $primary;
			background: $white;
			span {
				color: $primary;
				display: block;
				line-height: 1;
				font-weight: 700;
			}
		}
	}
	&:hover {
		.thumbnail {
			img {
				transform: scale(1.05);
			}
		}
	}
}



// sidebar
.sidebar-box {
	margin-bottom: 30px;
	padding: 25px;
	font-size: 15px;
	width: 100%;
	float: left;
	background: $white;
	*:last-child {
		margin-bottom: 0;
	}
	h3 {
		font-size: 18px;
		margin-bottom: 15px;
	}
}

.categories,
.sidelink {
	li {
		position: relative;
		margin-bottom: 10px;
		padding-bottom: 10px;
		border-bottom: 1px dotted gray('300');
		list-style: none;
		&:last-child {
			margin-bottom: 0;
			border-bottom: none;
			padding-bottom: 0;
		}
		a {
			display: block;
			span {
				position: absolute;
				right: 0;
				top: 0;
				color: #ccc;
			}
		}
		&.active {
			a {
				color: $black;
				font-style: italic;
			}
		}
	}
}

.comment-form-wrap {
	clear: both;
}

.comment-list {
	padding: 0;
	margin: 0;
	.children {
		padding: 50px 0 0 40px;
		margin: 0;
		float: left;
		width: 100%;
	}
	li {
		padding: 0;
		margin: 0 0 30px 0;
		float: left;
		width: 100%;
		clear: both;
		list-style: none;
		.vcard {
			width: 80px;
			float: left;
			img {
				width: 50px;
				border-radius: 50%;
			}
		}
		.comment-body {
			float: right;
			width: calc(100% - 80px);
			h3 {
				font-size: 20px;
				color: $black;
			}
			.meta {
				text-transform: uppercase;
				font-size: 13px;
				letter-spacing: .1em;
				color: #ccc;
			}
			.reply {
				padding: 5px 10px;
				background: lighten($black, 90%);
				color: $black;
				text-transform: uppercase;
				font-size: 14px;
				&:hover {
					color: $black;
					background: lighten($black, 89%);
				}
			}
		}
	}
}

.search-form {
	background: lighten($black, 97%);
	padding: 10px;
	.form-group {
		position: relative;
		input {
			padding-right: 50px;
		}
	}
	.icon {
		position: absolute;
		top: 50%;
		right: 20px;
		transform: translateY(-50%);
	}
}

.post-meta {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .2em;
	a {
		color: $white;
		border-bottom: 1px solid rgba($white, .5);
	}
}
.custom-pagination {
	a {
		display: inline-block;
		width: 40px;
		height: 40px;
		line-height: 40px;
		font-weight: 700;
		border-radius: 50%;
		background: rgba($primary, .1);
		color: $primary;
		text-align: center;
		&:hover, &.active {
			background: $primary;
			color: $white;
		}
	}

}

// auctions

.auctions-entry {
	.item {
		margin-bottom: 30px;
		box-shadow: 0 1px 2px 0 rgba($black, .05);
		position: relative;
		img {
			margin-bottom: 30px;
		}
		h3 {
			font-size: 22px;
			font-weight: 700;
			a {
				color: $black;
			}
		}
		.price {
			position: absolute;
			display: inline-block;
			width: 90px;
			height: 90px;
			line-height: 90px;
			border-radius: 50%;
			background: $primary;
			font-size: 20px;
			text-align: center;
			color: $white;
			font-weight: 700;
		}
	}
	.btn-bid {
		padding: 7px 15px;
		text-transform: none;
		border-radius: 0;
		background: $light;
		color: $black;
		// background: $black;
		// color: $white;
	}
}

.step, .service {
	position: relative;
	&:after {
		position: absolute;
		content: "\e315";
		top: 10%;
		font-size: 30px;
		color: $black;
		right: 20%;
		font-family: 'icomoon';
	}
	&.last {
		&:after {
			display: none;
		}
	}

	.wrap-icon {
		width: 90px;
		height: 90px;
		border-radius: 50%;
		line-height: 90px;
		text-align: center;
		display: inline-block;
		background: $primary;
		color: $white;
		font-size: 40px;
		margin-bottom: 20px;
	}	
	h3 {
		font-size: 20px;
		font-weight: 700;
		color: $black;
		margin-bottom: 20px;
	}
	p {
		line-height: 1.5;
	}
}
.service {
	&:after {
		display: none;
	}
}

.feature-icon {
	.wrap-icon {
		flex: 0 0 70px;
		width: 70px;
		height: 70px;
		line-height: 70px;
		border-radius: 50%;
		text-align: center;
		background: $primary;
		color: $white;
		font-size: 40px;
	}
	h3 {
		font-size: 18px;
		line-height: 1;
		margin-bottom: 0;
	}
}


.side-box {
	padding: 20px;
	border: 1px solid #efefef;
	box-shadow: 0 3px 5px 0 rgba($black, .03);
	h3 {
		color: $black;
		font-size: 18px;
	}
}

.bidders {
	li {
		border-bottom: 1px solid #efefef;
		padding-bottom: 10px;
		margin-bottom: 10px;
		img {
			flex: 0 0 40px;
			width: 40px;
			border-radius: 50%;
		}
		.price {
			font-weight: 700;
			color: $black;
		}
	}
}

.slide-one-item {
	border: 2px solid $light;
	.owl-nav {
		position: absolute;
		top: 50%;
		width: 100%;
		.owl-next, 
		.owl-prev {
			transform: translateY(-50%);
			font-size: 30px;
			position: absolute;
			width: 40px;
			height: 40px;
			line-height: 40px;
			text-align: center;
			background: $primary;
			color: $white;
		}
		.owl-next {
			right: 0;
		}
	}
	.owl-dots {
		position: absolute;
		bottom: 30px;
		width: 100%;
		text-align: center;
		.owl-dot {
			display: inline-block;
			> span {
				margin: 5px;
				display: inline-block;
				width: 7px;
				height: 7px;
				background: rgba($black, .3);
				border-radius: 50%;
			}
			&.active {
				> span {
					background: $primary;
				}
			}
		}
	}
}


.auction-categories {
	margin-bottom: 0;
	li {
		display: block;
		margin-bottom: 10px;
		a {
			display: block;
			position: relative;
			color: $black;
			span {
				position: absolute;
				right: 0;
				color: darken(#ccc, 10%);
			}
		}
	}
}