@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600$display=swap');

:root {
	/* --main-color: #DD2F6E; */
	--main-color: #990000;
	/*--main-color: #33CC33;*/
	--color-dark: #1D2231;
	--text-grey: #8390A2;
}


* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	list-style-type: none;
	text-decoration: none;
	font-family: 'Poppins', sans-serif;
}

a, a:hover {
	text-decoration: none;
}



/* Stylings for main dashboard */
/*.mob-search-wrapper {
	display: none;
}*/



.sidebar {
	width: 250px;
	position: fixed;
	left: 0;
	top: 0;
	height: 100%;
	background: var(--main-color);
	z-index: 100;
	transition: width 300ms;
	list-style-type: alpha;
}

.sidebar-brand {
	height: 90px;
	padding: 1rem 0rem 1rem 2rem;
	color: #fff;
}

.sidebar-brand span {
	display: inline-block;
	padding-right: 1rem;
}

.sidebar-menu {
	margin-top: 1rem;
	margin-left: -30px;
}

.sidebar-menu li {
	width: 100%;
	margin-top: 20px;
	margin-bottom: 20px;
	padding-left: 1rem;
}

.sidebar-menu a {
	padding-left: 1rem;
	display: block;
	color: #fff;
	font-size: 15px;
	text-=text-decoration: none;
}
.sidebar-menu a.active {
	background: #fff;
	padding-top: 1rem;
	padding-bottom: 1rem;
	color: var(--main-color);
	border-radius: 30px 0px 0px 30px;
}
.sidebar-menu a:hover {
	color: cyan;
	text-decoration: none;
}


.sidebar-menu li .headerr {
	color: lightgrey;
	padding-left: 1rem;
}

/*.sidebar-menu a:active {
	background: #fff;
	padding-top: 1rem;
	padding-bottom: 1rem;
	color: var(--main-color);
	border-radius: 30px 0px 0px 30px;
}*/

/*.active {
	background: #fff;
	padding-top: 1rem;
	padding-bottom: 1rem;
	color: var(--main-color);
	border-radius: 30px 0px 0px 30px;
}*/

/*.sidebar-menu a:hover {
	background: #fff;
	padding-top: 1rem;
	padding-bottom: 1rem;
	color: var(--main-color);
	border-radius: 30px 0px 0px 30px;
}*/

.sidebar-menu a span:first-child {
	font-size: 15px;
	padding-right: 1rem;
}

#nav-toggle:checked + .sidebar li .headerr {
	display: none;
}

#nav-toggle:checked + .sidebar {
	width: 70px;
}

#nav-toggle:checked + .sidebar .sidebar-brand,
#nav-toggle:checked + .sidebar li {
	padding-left: 1rem;
	text-align: center;
}

#nav-toggle:checked + .sidebar li a {
	padding-left: 0rem;
}


#nav-toggle:checked + .sidebar .sidebar-brand h2 span:last-child,
#nav-toggle:checked + .sidebar li a span:last-child {
	display: none;
}

#nav-toggle:checked ~ .main-content {
	margin-left: 70px;
}

#nav-toggle:checked ~ .main-content header {
	width: calc(100% - 70px);
	left: 70px;
}

.main-content {
	transition: margin-left 300ms;
	margin-left: 250px;
}

#nav-toggle {
	display: none;
}

.main-content header {
	display: flex;
	justify-content: space-between;
	padding: 1rem 1.5rem;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
	position: fixed;
	left: 250px;
	width: calc(100% - 250px);
	top: 0;
	z-index: 100;
	transition: left 300ms;
	background: #fff;
}

.main-content header h2 {
	color: #222;
}
.main-content header label span {
	font-size: 25px;
	padding-right: 1rem;
}
.search-wrapper {
	border: 1px solid #ccc;
	border-radius: 30px;
	height: 50px;
	display: flex;
	align-items: center;
	overflow-x: hidden;
}


.search-wrapper.recommended {
	border: none;
	border-radius: 0;
	height: 70px;
	display: flex;
	align-items: center;
	overflow-x: hidden;
}
.search-wrapper.recommended select {
	padding: 7px 8px;
	border-radius: 0;
	font-size: 15px;
}
.search-wrapper.recommended button {
	padding: 5.5px 8px;
	font-size: 15px;
	border-radius: 0;
}

.search-wrapper span {
	display: inline-block;
	padding: 0rem 1rem;
	font-size: 1.5rem;
}
.search-wrapper input {
	height: 100%;
	padding: .5rem;
	border: none;
	outline: none;
}

.localgov {
    display: none;
}
.copy_link input {
	padding: 5px 5px;
	width: 72%;
	outline: none;
}
.copy_link .copybtn {
	background: var(--main-color);
	color: #fff;
	padding: 8px 5px;

}

.user-wrapper {
	display: flex;
	align-items: center;
	position: relative;
}

.user-wrapper .dropbtn {
	margin-right: 2rem;
	cursor: pointer;
}
.user-wrapper .dropbtn span {
	margin-top: -20px;
}
.user-wrapper .dropbtn img {
	border-radius: 50%;
	display: inline-block;
}

.user-wrapper small {
	display: inline-block;
	color: var(--text-grey);
	/*margin-top: ;*/
}


.main {
	margin-top: 0px;
	padding: 2rem 5px;
	background: #f1f5f9;
	min-height: 100vh;
}

.cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 2rem;
	margin-top: 1rem;
}
.card-single {
	display: flex;
	justify-content: space-between;
	background: #fff;
	padding: 2rem;
	border-radius: 2px;
}

.card-single div:first-child span {
	color: var(--text-grey);
}
.card-single div:last-child span {
	font-size: 3rem;
	color: var(--main-color);
}

.card-single:last-child {
	background: var(--main-color);
}

.card-single:last-child h1,
.card-single:last-child div:first-child span,
.card-single:last-child div:last-child span {
	color: #fff;
}

.recent-grid {
	margin-top: 3.5rem;
	display: grid;
	grid-gap: 2rem;
	grid-template-columns: 100% auto;
}

.recent-grid table {
	
}
.recent-grid table tr th {
	font-size: 13.5px;
}
.recent-grid table tr td {
	font-size: 13.5px;
	border: .2px solid lightgrey;
}

/* .recent-grid td:nth-child(even):hover {
	color: #FFF;
	background: #000;
} */

.card {
	background: #fff;
	border-radius: 5px;
}

.card-header, .card-body {
	padding: 1rem;
}

.card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #f0f0f0;
}

.card-header button {
	background: var(--main-color);
	border-radius: 10px;
	color: #fff;
	font-size: .8rem;
	padding: .5rem 1rem;
	border: 1px solid var(--main-color);
	cursor: pointer;
}

.card-body table {
	border-collapse: collapse;
}

.card-body thead tr {
	border-top: 1px solid #f0f0f0;
	border-bottom: 1px solid #f0f0f0;
}
.card-body thead td {
	font-weight: 700;
}
.card-body td {
	padding: .5rem 1rem;
	font-size: .9rem;
	color: #222;
}
/*
.card-body td .status {
	display: inline-block;
	height: 10px;
	width: 10px;
	border-radius: 50%;
	margin-right: 1rem;
}

 .card-body tbody tr td:last-child {
	display: inline-block;
	align-items: center;
}
.status.approved {
	background: #33cc33;
}
.status.pending {
	background: orange;
}
.status.rejected {
	background: red;
} */

.table-responsive {
	width: 100%;
	overflow-x: auto;
}


.customer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: .5rem 0;
}

.info {
	display: flex;
	align-items: center;
}
.info img {
	border-radius: 50%;
	margin-right: 1rem;
	height: 40px;
}
.info h4 {
	font-size: .9rem;
	font-weight: 700;
	color: #222;
}
.info small {
	font-weight: 600;
	color: var(--text-grey);
}
.contact span {
	font-size: 1.1rem;
	display: inline-block;
	margin-left: .2rem;
	color: var(--main-color);
}


@media screen and (max-width: 1200px){
	.sidebar {
		width: 70px;
	}

	.sidebar .sidebar-brand,
	.sidebar li {
		padding-left: 1rem;
		text-align: center;
	}

	.sidebar li a {
		padding-left: 0rem;
	}


	.sidebar .sidebar-brand h2 span:last-child,
	.sidebar li a span:last-child {
		display: none;
	}

	.main-content {
		margin-left: 70px;
	}

	.main-content header {
		width: calc(100% - 70px);
		left: 70px;
	}

	.user-wrapper .dropbtn {
		margin-right: 0;
	}
	.dropdown-content {
		position: absolute;
		margin-right: -30px;
		font-size: 15px;		
	}
	.recent-grid table tr th,
	.recent-grid table tr td {
		font-size: 15px;
	}
	.sidebar-menu a span:first-child {
		font-size: 15px;
	}
	.card-single span {
		font-size: 15px;
	}
	.card-single div span {
		font-size: 15px;
	}
}

.mob-line-divider {
	display: none;
}

@media screen and (max-width: 960px){
	.cards {
		grid-template-columns: repeat(3, 1fr);
	}
	.recent-grid {
		grid-template-columns: 100%;
	}

	.card-header {
		display: block;
		width: 100%;
	}
	.card-header h3 {
		width: 100%;
	}
	.card-header .search-wrapper{
		width: 100%;
		display: block;
	}
	.mob-line-divider {
		display: block;
		width: 100%;
		border: 1px solid lightgrey;
		margin-bottom: 10px;
	}
	
	.main-content header h2 {
		font-size: 20px;
	}

	
	.search-wrapper.recommended {
		height: 150px;
		display: block;
		align-items: none;
		overflow-x: hidden;
	}
	.search-wrapper.recommended form {
		width: 100%;
		display: block;
		margin: auto;
	}
	.search-wrapper.recommended select, .search-wrapper.recommended button {
		width: 100%;
		margin-bottom: 8px;
	}
	.mob-line-divider {
		display: block;
		width: 100%;
		border: 1px solid lightgrey;
		margin-bottom: 10px;
	}
	.copy_link input {
		display: none;
	}
}

@media screen and (max-width: 768px){
	.cards {
		grid-template-columns: repeat(2, 1fr);
	}
	.recent-grid {
		grid-template-columns: 100%;
	}

	.sidebar {
		left: -100% !important;
	}

	.sidebar-menu ul li {
		margin-top: 20px;
	}

	.main-content header h2 {
		display: flex;
		align-items: center;
		/* font-size: 25px; */
	}

	.main-content header h2 label {
		display: inline-block;
		background: var(--main-color);
		padding-right: 0rem;
		margin-right: 1rem;
		height: 40px;
		width: 40px;
		border-radius: 50%;
		color: #fff;
		display: flex;
		align-items: center;
		justify-content: center !important;
	}

	.main-content header h2 span {
		text-align: center;
		padding-right: 0rem;
	}

	/* .main-content header h2 {
		font-size: 1.1rem;
	} */

	.main-content {
		width: 100%;
		margin-left: 0rem;
	}

	.main-content header {
		width: 100% !important;
		left: 0 !important;
	}

	#nav-toggle:checked + .sidebar {
		left: 0 !important;
		z-index: 100;
		width: 345px;
	}


	#nav-toggle:checked + .sidebar .sidebar-brand,
	#nav-toggle:checked + .sidebar li {
		padding-left: 2rem;
		text-align: left;
	}

	#nav-toggle:checked + .sidebar li a {
		padding-left: 1rem;
	}


	#nav-toggle:checked + .sidebar .sidebar-brand h2 span:last-child,
	#nav-toggle:checked + .sidebar li a span:last-child {
		display: inline;
	}

	#nav-toggle:checked ~ .main-content {
		margin-left: 0rem !important;
	}

}

@media screen and (max-width: 560px){
	.cards {
		grid-template-columns: 100%;
	}
}



.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 200px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  top: 50px;
  right: 15px;
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 9px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:last-child {
	padding: 12px 16px;
}

.dropdown-content a span {
	margin-right: 10px;
}

.dropdown a:hover {background-color: #ddd;}
.show {display: block;}






/***********************************************************************************/
.page-action {
	text-align: center;
	margin-bottom: 18px;
	/*line-height: 20px;*/
}
.page-action small {
	color: var(--main-color);
	font-size: 15px;

}
.white-container {
	display: flex;
}
/*===============================================================================*/


/*===============================================================================*/
/* STYLINGS FOR MODAL BOX*/


/* The Modal (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1000000; /* Sit on top */
	padding-top: 100px; /* Location of the box */
	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.6); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 50%;
  }
  
  /* The Close Button */
  .close {
	color: #aaaaaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
  }
/*===============================================================================*/
