#first-page {
	float: left;
}

#last-page {
	float: right;
}

.quick-nav {
	width: 100%;
}

.join-link {
	font-size: 20px;
	text-decoration: underline;
}

.join-link {
	color: #5281c2;
	text-decoration: underline;
}

.results-header {
	position: relative;
	float: left;
}

.agencylogo {
	max-height: 100px;
	max-width: 150px;
}

.advantage {
	padding: 2px 4px;
	background-color: #1a94de;
	font-size: 11.5px;
	font-weight: 600;
	color: rgb(250, 250, 250) !important;
	border-radius: 4px;
}

.freelancer-overview .freelancer-avatar img {
	width: auto !important;
	height: auto;
	max-height: 150px;
	cursor: pointer;
	border-radius: 2px;
}

.profile-details {
	position: absolute;
	top: 8px;
	left: 32px;
	margin: 5px;
}

.profile-name {
	color: black;
	white-space: nowrap;
}

.profile-subtitle {
	padding-left: 5px;
}

.performer-logo {
	text-align: center;
	width: 175px;
}

.performer-details {
	display: flex;
	align-items: center;
}

.card-buttons {
	padding: 40px 0px;
	display: flex;
	flex-direction: column;

	justify-content: center;
	align-items: center;
	margin: 0px 25px;
}

#portfolio-button {
	border: 1.5px solid #1a94de !important;

	width: 100% !important;
	border-radius: 4px !important;
	margin-bottom: 7px;
}

#invite-button {
	background-color: #fefefe;
	border: 1.5px solid #1a94de !important;
	color: #1a94de !important;

	width: 100% !important;
	border-radius: 4px !important;
	margin-bottom: 7px;
}

.confirmed {
	width: 100% !important;
	border-radius: 4px !important;
	margin-bottom: 7px;
	background: #ffc150 !important;
	cursor: default;
	pointer-events: none;
}

/* Boost button styling */
#boost-button {
	border: 1.5px solid #1a94de !important;
	border-radius: 4px 4px 0px 0px !important;
	min-width: 130px;
	height: 27px !important;
	padding: 0 !important;
}

.icon-material-outline-star {
	color: #ffa200;
}

.placement-rank {
	padding: 2px 10px;
	font-size: 14px;
	border-radius: 4px !important;
	background-color: #f29500;
	text-align: center;
	min-width: 130px;
	width: max-content !important;
	color: white !important;
	box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.13);
	transition: 0.3s;
}

.top-rank {
	background-color: #eb0606 !important;
	font-size: 15px !important;
	border-radius: 4px !important;
}

.placement-rank:hover {
	scale: 1.02;
}

select {
	margin-bottom: 3px;
	padding: 0 13px;
}

/* common */
.ribbon {
	width: 92px;
	height: 92px;
	overflow: hidden;
	position: absolute;
	z-index: 10;
}

.ribbon::before,
.ribbon::after {
	position: absolute;
	z-index: -1;
	content: '';
	display: block;
	border: 5px solid #942F1E;
}

.ribbon span {
	position: absolute;
	display: block;
	width: 170px;
	padding: 7px 0;
	background-color: #E43D20;
	color: #fff;
	font: 700 18px/1 'Lato', sans-serif;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	text-transform: uppercase;
	text-align: center;
}

/* search sidebar */
.full-page-sidebar { height: 100%; }
.full-page-sidebar form {
	margin-bottom: 0;
	height: calc(100% - 48px - 46px);
}
.full-page-sidebar-inner { height: 100% !important; }
.sidebar-search-button-container {
	width: 100%;
	padding: 24px 30px;
}
.sidebar-search-button-container button {
	width: 100%;
	height: 46px;
}

/* bottom left */
.ribbon-bottom-left {
	bottom: -10px;
	left: -10px;
}

.ribbon-bottom-left::before,
.ribbon-bottom-left::after {
	border-bottom-color: transparent;
	border-left-color: transparent;
}

.ribbon-bottom-left::before {
	bottom: 0;
	right: 0;
}

.ribbon-bottom-left::after {
	top: 0;
	left: 0;
}

.ribbon-bottom-left span {
	right: -30px;
	bottom: 17px;
	transform: rotate(45deg);
}


@media (max-width: 1239px) {
	.freelancer {
		max-width: 49%;
	}

	.freelancer:nth-child(even) {
		margin-left: 10px;
	}

	.freelancers-list-layout .freelancer-overview-inner {
		justify-content: space-around;
		margin-top: 30px;
	}

	.freelancer-overview {
		justify-content: center;
	}

	.agencylogo {
		max-width: 100px;
	}

	.card-buttons {
		margin-right: 0px;
	}
}


@media (max-width: 1099px) {
	.freelancer-overview {
		justify-content: center;
	}

	.card-buttons {
		padding-top: 0px;
	}

	.freelancer {
		max-width: 100%;
	}

	.freelancer:nth-child(even) {
		margin-left: unset;
	}

	.performer-details {
		justify-content: space-around;
	}

	.agencylogo {
		max-width: 150px;
	}

	.freelancer-avatar {
		width: 120px !important;
	}
}


@media (max-width: 767px) {
	.profile-details {
		position: relative;
		top: 0px;
		left: 0px;
		margin: 0px;
	}

	.results-header {
		margin-left: 10px;
	}

	.freelancer-avatar {
		width: 90px !important;
	}

	.freelancer {
		max-width: 49%;
	}

	.freelancer:nth-child(even) {
		margin-left: 10px;
	}

	.agencylogo {
		max-width: 70px;
	}
}

@media (max-width: 676px) {
	.freelancer {
		max-width: 100%;
	}

	.freelancer:nth-child(even) {
		margin-left: unset;
	}
}
