$radius : 6px;

.card {
	width: 100%;
	min-height: 200px;
	background-color: $white;
	border-radius: $radius;
	box-shadow: 0 3px 8px 0px rgba(120, 120, 120, 0.10);
	margin-bottom: 16px;
	border: 1px solid $clouds;
	color: $asbestos;

	@each $c, $h in $colors {
		&-#{$c} {
			background-color: $h;
			color: $white;
			
			@if $c == 'clouds' {
				color: $asbestos;
			}

			@if $c == 'default' {
				color: $asbestos;
			}
			
			@if $c == 'link' or $h == #FFFFFF {
				color: $peterriver;
				background-color: $white;
			}
		}
	}
	&-small {
		min-height: 50px;
		text-align: center;
	}
	&-small > &-content {
		padding: 10px;
	}
	&-clean {
		border: 0;
		box-shadow: 0 3px 10px 0px rgba(120, 120, 120, 0.25);
	}
	&-icon {
		width: 100%;
		height: 125px;
		background-color: $green;
		border-radius: $radius;
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
		position: relative;
		background-image: url(../img/bg-sign-in.jpeg);
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center;

		span {
			background-color: $green;
			width: 75px;
			height: 75px;
			padding: 20px 20px;
			text-align: center;
			font-size: 36px;
			border-radius: 50%;
			position: absolute;
			left: 50%;
			bottom: 0;
			transform: translateX(-50%) translateY(50%);
			box-shadow: 0 2px 6px 0px rgba(111, 111, 111, 0.35);
			color: $white;
		}

		&+.card-content {
			margin-top: 50px;
		}
	}
	&-header {
		border-bottom: 1px solid transparentize($black, 0.9);
		padding: 10px 20px;
		text-align: left;
		font-size: 20px;
		display: flex;
		justify-content: space-between;
		border-top-right-radius: $radius;
		border-top-left-radius: $radius;

		@each $c, $h in $colors {
			&-#{$c} {
				background-color: transparentize($h, 0.1);
				color: $white;
				
				@if $c == 'clouds' {
					color: $asbestos;
				}
				
				@if $c == 'link' {
					color: $peterriver;
				}

				@if $c == 'default' {
					color: $asbestos;
				}
			}
		}
	}
	&-title {
		i, span {
			margin-right: 8px;
		}
	}
	&-menu {
		i {
			font-size: 24px;
			line-height: normal;
			cursor: pointer;
			width: 24px;
			text-align: center;
		}
		.btn,
		.btn-group .btn,
		.btn-group .btn.open {
			padding: 0 10px;
			border: 0;
			box-shadow: none;
			background-color: transparent;
			color: $white;

			&:hover,
			&:active,
			&:focus,
			&:visited {
				color: $white;
				box-shadow: none;
				background-color: transparent;
			}
		}
	}
	&-content {
		padding: 10px 20px;
		position: relative;
		overflow: hidden;

		&-icon {
			font-size: 130px;
			position: absolute;
			bottom: -60px;
			right: 10px;
			opacity: 0.1;
		}
	}
	&-number {
		font-size: 64px;
		font-family: $sansSerifBold;
		text-align: center;
		margin: 10px auto;
	}
	&-footer {
		border-top: 1px solid transparentize($black, 0.9);
		padding: 12px 20px;
		text-align: center;
		background-color: transparentize($clouds, 0.8);
		
		&-clean {
			background-color: $white;
			border-top: 0;
			text-align: left;
		}
		a:not(.btn) {
			color: transparentize($black, 0.4);
		}
	}
}