@import url('https://fonts.googleapis.com/css?family=EB+Garamond');
@import url('https://fonts.googleapis.com/css?family=Playfair+Display');
@import url('https://fonts.googleapis.com/css?family=Raleway');

/*
Plum color used - #681442
Slightly darker color of plum - #8F1E5C
Law firm text - Playfair Display
Standard Text - Raleway
*/

body, html {
	height: 100%;
	font-family: 'Raleway', serif;
	letter-spacing: 2px;
	color: black;
	font-weight: 500;
	margin: 0;
}

.top-header-btn1 {
	height: 5%;
	width: 10%;
	text-align: left;
	position: absolute;
}

.top-header-right-btn {
	height: 5%;
	text-align: right;
}

.btn-outline-dark {
	background-color: transparent;
	border-color: transparent;
	box-shadow: none;
}

.main-title h1 {
	text-align: center;
}

.main {
	text-align: center;
}
hr {
	display: block;
	width: 70%;
	size: 8;
	text-align: center;
}
.nav-link, .navbar-brand, .dropdown-item {
	color: black!important;
	font-family: 'Playfair Display';
	font-size: 1.1em;
}

/* Enable dropdown menu to be displayed on hover instead of on click */
.dropdown-menu .sub-menu {
	left: 100%;
	position: absolute;
	top: 0;
	visibility: hidden;
	margin-top: -1px;
}

.dropdown-menu li:hover .sub-menu {
	visibility: visible;
}

.dropdown:hover .dropdown-menu {
	display: block;
}

.nav-tabs .dropdown-menu,
.nav-pills .dropdown-menu,
.navbar .dropdown-menu {
	margin-top: 0;
}

/* Center align navbar*/
.navbar-nav {
	width: 88%;
	text-align: center;
	display: inline-block;
}

.navbar-nav > li {
	float: none;
	display: inline-block;
}

.disabled-link {
	pointer-events: none;
  	cursor: default;
	color: grey!important;
	text-decoration: line-through;
	-webkit-text-decoration-line: line-through;
}

.logo {
	height: auto;
	width: 10%;
}

/* The hero image */
.hero-image {
	/* Set a specific height */
	height: 37%;

	/* Position and center the image to scale nicely on all screens */
	background-position: left;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	background-attachment: fixed;
}

.hero-image-index {
	/* Use "linear-gradient" to add a dark overlay */
	background-image: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url("../images/thomas-kelley-128626-unsplash-min.jpg");
}

/* Place text in the middle of the image */
.hero-text {
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	padding-bottom: 1%;
	font-family: 'Playfair Display';
	width: 100%;
}

.hero-h1 {
	font-size: 5em;
}

.hero-p {
	font-size: 2em;
}

#heading-title {
	margin-top: 2em;
}

.card-deck-home {
	margin-top: -5%;
	position: relative;
	z-index: 2;
	top: 0px;
	left: 0px;
	width: 100%;
}

.card1 {
	width: 30%;
	margin: 1%;
	margin-left: 3%;
}

.card2 {
	width: 30%;
	margin: 1%;
}

.bottom-footer {
	font-size: 0.8em;
	font-family: 'Raleway';
	text-align: center;
}

.bottom-footer .text-center {
	margin-top: 100px!important;
}

#menu-button {
	display: none;
}

.conveyancing-content, .complaints-content {
	margin-top: 4em;
}

.headings {
	font-family: 'Playfair Display';
	margin-bottom: 1em;
}

.dropcap {
	color: #8F1E5C;
	float: left;
	font-family: Georgia;
	font-size: 75px;
	line-height: 60px;
	padding-top: 4px;
	padding-right: 8px;
	padding-left: 3px;
	top: 0px;
	left: 0px;
}

.card > .card-text {
	font-size: 1em;
	text-align: center;
}

#bigTriangleColor path {
	fill: #8F1E5C;
	stroke: #8F1E5C;
	stroke-width: 1;
}

#trianglePath1 {
	fill: #8F1E5C;
	stroke: #8F1E5C;
} 

#trianglePath2 {
	fill: #681442;
	stroke: #681442;
}

#triangle-overlay {
	position: relative;
	z-index: 1;
}

button {
	cursor: pointer;
}

.overlay {
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 10;
	top: 0;
	left: 0;
	overflow-x: hidden;
	background-color: black;
	opacity: 1;
	transition: 0.5s;
}

.overlay-content {
	position: relative;
	top: 15%;
	width: 100%;
	text-align: center;
	margin-top: 30px;
	display: none;
}

.overlay a {
	padding: 8px;
	text-decoration: none;
	font-size: 2em;
	display: block;
	color: white;
	font-family: 'Raleway';
}

.overlay a:hover {
	color: #681442;.
}

.overlay .close {
	position: absolute;
	top: 20px;
	right: 45px;
	font-size: 60px;
}

#menu-button {
	background-color: transparent;
	border: 0;
	border-radius: 3px;
	padding-top: 10%;
	padding-bottom: 10%;
}

.close {
	color: white!important;
	border: 0;
}

.close:hover {
	color: #681442!important;
}

.mobile-nav-sub {
	text-align: center;
	list-style: none;
	display: none;
	font-size: 0.5em;
	padding: 0;
}

#sub-menu {
	display: none;
}

.fa-times {
	font-size: 0.6em;
}

#image-separator-header {
	margin-bottom: 6em;
}

#image-separator-header:after {
	content: '';
	display: block;
	width: 100%;
	height: 1px;
	background: #ccc;
	margin-top: -70px; /* Negative margin up by half height of logo + half total top and bottom padding around logo */
}

#image-separator {
	position: relative; /* Brings the div above the header:after element */
	width: 250px;
	padding: 0px;
	padding-left: 50px;
	margin: 0 auto;
	background: white; /* Must be same as body */
}

#image-separator img {
	display: block;
}

.services-container {
	position: relative;
}

.services-image {
	display: block;
	width: 100%;
}

.services-overlay-image {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 90%;
	margin-left: 5%;
	opacity: 0;
	transition: .5s ease;
	background-color: #681442;
}

.services-container:hover .services-overlay-image {
	opacity: 0.8;
}

.services-text {
	color: white;
	font-size: 2em;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}

.row {
	margin: 0;
}

.services-link {
	text-decoration: underline;
	color: white;
}

.services-link:hover {
	color: white;
	text-decoration: none;
}

.a-link {
	text-decoration: underline;
}

.a-link:hover {
	color: #8F1E5C;
}

.card-deck-divorce {
	margin-top: 1%;
	margin-bottom: 1%;
	text-align: center;
}

.card-deck-divorce-2 {
	margin-top: 1%;
	text-align: center;
}

.card-body-divorce {
	box-shadow: 0 0 1px 1px #adabab;
}

.visit-us {
	margin-top: 0;
}

.complaints-content li {
	margin-bottom: 20px;
}

.footer-links {
	margin-left: auto;
	margin-right: auto;
}

.footer-links a {
	text-decoration: underline;
}

.footer-links a:hover {
	color: #8F1E5C;
}

.footer-links ul {
	padding: 0;
	list-style: none;
	margin-left: 60%;
	margin-top: -100px;
}

.footer-links li {
	display: block;
	text-align: left;
}

.footer-links .sra {
	margin-left: 25%;
}

@media (min-width: 1200px) { 
	.card-columns {
		column-count: 4;
	}
}

@media (max-width: 992px) {
	.card-columns {
		column-count: 2;
	}
	#menu-button {
		display: block;
	}
	.logo {
		width: 20%;
	}

	.footer-links ul {
		padding: 0;
		list-style: none;
		width: fit-content;
		margin-left: auto;
		margin-right: auto;
		margin-top: 30px;
	}

	.footer-links .sra {
		margin-left: auto;
		margin-right: auto;
	}

	.bottom-footer .text-center {
		margin-top: 50px!important;
	}
}
.covid-banner {
	background-color: black;
	color: white;
	padding: 10px 50px;
	position: sticky;
	bottom: 0;
	z-index: 9999;
	font-size: .8em;
	width: 100%;
}

.covid-banner-desktop {
	display: block;
}
.covid-banner-modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 99999; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.covid-btn{
	display: none;
}

@media (max-width: 768px) { 
	.hero-h1 {
		font-size: 3em;
	}
	.hero-p {
		font-size: 1em;
	}

	.card1, .card2 {
		width: 100%;
		margin: 0;
	}
	.team1-img {
		width: 50%;
	}
	.card-columns {
		column-count: 1;
	}
	#triangle-overlay {
		display: none;
	}
	#bigHalfCircle {
		display: none;
	}
	.card-deck-home {
		margin-top: 5%;
	}
	.services-overlay-image {
		width: 92%;
		margin-left: 4%;
	}
	.headings {
		text-align: center;
	}
	.logo {
		width: 30%;
	}
	.services-container {
		margin-bottom: 15px;
		width: 100%;
	}
	.row-services {
		flex-wrap: wrap;
		display: flex;
		margin-right: 15px;
		margin-left: 15px;
	}
	.covid-banner {
		padding: 5px 10px;
		font-size: 1em;
		position: -webkit-sticky;
		position: sticky;
		background-color: black;
		color: white;
	}
	.covid-banner-desktop {
		display: none;
	}
	.covid-banner-mobile {
		background-color: #000000;
		/* margin: 15% auto; 15% from the top and centered */
		padding: 20px;
		border: 1px solid #888;
		width: 100%; /* Could be more or less, depending on screen size */
		height: 100%;
	}
	/* The Close Button */
	.close {
		color: #aaa;
		float: right;
		font-size: 50px;
		font-weight: bold;
	}
	.close:hover,
	.close:focus {
		color: black;
		text-decoration: none;
		cursor: pointer;
	}
	.covid-btn {
		display: block;
		position: -webkit-sticky;
		position: sticky;
		background-color: #000;
		color: #fff;
		border: 0;
		width: 100%;
		text-align: center;
		bottom: 0;
		z-index: 99999;
		font-size: 1.5em;
		padding: 20px;
	}
}