$font-family-sans-secondary:  'Oswald', arial, sans-serif;

body {
	line-height: 1.7;
	// color: lighten($black, 70%);
	color: rgba(0,0,0,.5);
	font-weight: 400;
	font-size: $font-size-base;
	font-family: $font-family-monospace;
	font-family: $font-family-sans-serif;
	background: #f4f4f4;
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
}
::-moz-selection { 
	background: $black;
	color: $white;
}
::selection { 
	background: $black;
	color: $white;
}
h1, h2, h3, h4, h5,
.h1, .h2, .h3, .h4, .h5 {
	color: $black;
	@extend .font-secondary;
}
a {
	transition: .3s all ease;
	&:hover {
		text-decoration: none;
	}
}
.font-secondary {
	font-family: $font-family-sans-secondary;
}
.text-black {
	color: $black!important;
}
.bg-black {
	background: $black!important;
}

.line-height-sm {
	line-height: 1.3;
}
.line-height-xs {
	line-height: 1;
}
.form-control {
	border-radius: 0px;
}
.btn {
	border-radius: 0px;
	&.btn-primary {
		&:hover {
			border-color: $primary;
		}
	}
}
.site-wrap {
	max-width: 1200px;
	margin: 0 auto;
	overflow: hidden;
	position: relative;
	box-shadow: 0 0 20px 0 rgba(0,0,0,.1);
	background: $white;
	&:before {
		transition: .3s all ease-in-out;
		background: rgba(0,0,0,.6);
		content: "";
		position: absolute;
		z-index: 2000;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		opacity: 0;
		visibility: hidden;
	}
	.offcanvas-menu & {
		position: absolute;
		height: 100%;
		width: 100%;
		z-index: 2;
		overflow: hidden;
		
		&:before {
			opacity: 1;
			visibility: visible;
		}
	}
}


.bg-black {
	background: $black;
}
.form-control {
	height: 47px;
	&:active, &:focus {
		border-color: $primary;
	}
	&:hover, &:active, &:focus {
		box-shadow: none!important;
	}
}

.site-section {
	padding: 3em 0;
	@include media-breakpoint-up(md) {
		padding: 7em 0;
	}

	&.site-section-sm {
		padding: 4em 0;
	}
}

.site-section-heading {
	font-size: 30px;
	position: relative;
	padding-bottom: 20px;
	&:before {
		content: "";
		left: 0%;
		bottom: 0;
		position: absolute;
		width: 40px;
		height: 2px;
		background: $primary;
	}
	&.text-center {
		&:before {
			content: "";
			left: 50%;
			bottom: 0;
			transform: translateX(-50%);
			position: absolute;
			width: 40px;
			height: 2px;
			background: $primary;
		}	
	}
	
}
.site-footer {
	padding: 4em 0;

	background: darken(#2b2b28, 5%);
	color: rgba($white, .5);
	
	.footer-heading {
		font-size: 1rem;
		text-transform: uppercase;
		letter-spacing: .1em;

	}
	a {
		color: rgba($white, .3);
		&:hover {
			color: $white;
		}
	}
	ul {
		li {
			margin-bottom: 10px;
		}
	}
}

.bg-text-line {
  display: inline;
  background: $black;
  box-shadow: 20px 0 0 $black, -20px 0 0 $black;
}

.bg-image {
	background-size: cover;
	background-repeat: no-rpeeat;
	overflow: hidden;
	background-position: center center;
	&.center {
		background-position: top center;
	}
	&.fixed {
		background-position: fixed!important;
	}
	&.overlay, &.overlay-primary, &.overlay-info, &.overlay-success, &.overlay-warning {
		position: relative;
		&:before {
			content: "";
			position: absolute;
			top: 0; bottom: 0; right: 0; left: 0;
		}
	}
	&.overlay {
		&:before {
			background: rgba($black, .4);
		}
	}
	&.overlay-primary {
		&:before {
			background: rgba($primary, .9);
		}
	}
	&.overlay-info {
		&:before {
			background: rgba($info, .9);
		}
	}
	&.overlay-success {
		&:before {
			background: rgba($success, .9);
		}
	}
	&.overlay-success {
		&:before {
			background: rgba($warning, .9);
		}
	}
}
.display-3, .display-2, .display-4 {
	@include media-breakpoint-down(sm) {
		font-size: 3rem!important;
	}
}

.bg-md-height {
	@include media-breakpoint-down(md) {
		height: 300px;
	}
}
.bg-sm-height {
	@include media-breakpoint-down(sm) {
		height: 300px;
	}
}