/* The Modal (background) */
.emg-modal {
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
	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,.35);
	/* Black w/ opacity */
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.emg-consent-settings {
	display: none;
}
.emg-consent-buttons {
	display: flex;
	justify-content: space-between;
	margin: 15px 0 5px 0;
}
.emg-consent-buttons button {
	border-color: transparent;
	padding: 6px 0;
	border-radius: 5px;
}
.emg-consent-buttons button:first-of-type {
	width: 65%;
	margin-right: 5%;
	background-color: #01a08c;
	color: #FFF;
	font-weight: bold;
}
.emg-consent-buttons button:first-of-type:hover {
	background-color: #018474 !important;
}
.emg-consent-buttons button:last-of-type {
	width: 30%;
	background-color: #EEE;
	color: #333;
}
.emg-consent-buttons button:last-of-type:hover {
	background-color: #DDD;
}
.emg-modal h5 {
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
	margin-bottom: 6px;
}
.emg-modal a {
	color: #3c609e;
}
body.emg-modal-open {
	overflow: hidden;
}
/* Modal Content/Box */
.emg-modal-content {
	background-color: #fefefe;
	border-radius: 5px;
	margin: 5% auto;
	/* 15% from the top and centered */
	padding: 20px;
	max-width: 600px;
	width: 90%;
	/* Could be more or less, depending on screen size */
	-webkit-box-shadow: 0 1px 0 0 rgba(0,0,0,.10), 0 1px 2px 0 rgba(0,0,0,.10), 0 10px 20px 0 rgba(0,0,0,.10);
	box-shadow: 0 1px 0 0 rgba(0,0,0,.10), 0 1px 2px 0 rgba(0,0,0,.10), 0 10px 20px 0 rgba(0,0,0,.10);
}
.emg-modal-content hr {
	margin-top: 1rem;
	margin-bottom: 1rem;
	border: 0;
	background: none;
	height: 1px;
	padding: 0;
	border-top: 1px solid rgba(0,0,0,.1);
}
/* The Close Button */
.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}
.close:hover,.close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}
/* Helper class to align text right in modal content */
.emg-modal-content .text-right {
	text-align: right !important;
}
/* Helper class to add some bottom margin to form elements */
.emg-modal-content .form-group {
	margin-bottom: 1rem;
}
.emg-modal-content .form-group.mt-4 {
	margin-top: 1rem;
}
.emg-modal-content .form-group:last-of-type {
	margin-bottom: 0;
}
.emg-modal-content .p-4 {
	padding: 1.5rem !important;
}
.emg-modal-content p {
	line-height: 22px;
}
.emg-modal-content .bg-light {
	background-color: #f8f9fa !important;
}
.emg-modal-content .form-text {
	font-size: 90%;
	display: block;
	margin-top: 0.25rem;
}
.emg-modal-content .consent-category {
	font-size: 100%;
	margin-right: 4px;
}
.emg-modal-content h5 {
	padding-top: 0px;
}
.emg-modal-content .fa {
	font-size: 18px !important;
}
.emg-modal-content .badge {
	display: inline-block;
	padding: 0.25em 0.4em;
	font-size: 75%;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: 0.25rem;
	background-color: #e5e5e5;
}
.form-control {
	display: block;
	width: 100%;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #495057;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	border-radius: 0.25rem;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.emg-align-right {
	float: right;
}
.emg-modal-content button {
	cursor: pointer;
}
.form-group {
	margin-bottom: 1rem;
}
.emg-switch,.emg-switch-style,.emg-switch-style:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.emg-switch {
	display: inline-block;
	font-size: 100%;
	height: 1.6em;
	position: relative;
}
.emg-switch-right {
	float: right;
}
.emg-switch .emg-switch-style {
	height: 1.6em;
	left: 0;
	background: #C0CCDA;
	-webkit-border-radius: 0.8em;
	border-radius: 0.8em;
	display: inline-block;
	position: relative;
	top: 0;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	width: 3em;
	cursor: pointer;
}
.emg-switch .emg-switch-style:before {
	display: block;
	content: '';
	height: 1.4em;
	position: absolute;
	width: 1.4em;
	background-color: #fff;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	left: 0.1em;
	top: 0.1em;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.emg-switch > input[type="checkbox"] {
	display: none;
}
.emg-switch > input[type="checkbox"][disabled] + .emg-switch-style {
	cursor: not-allowed;
	background-color: #D3DCE6;
}
.emg-switch > input[type="checkbox"]:checked + .emg-switch-style {
	background-color: #01a08c !important;
}
.emg-switch > input[type="checkbox"]:checked + .emg-switch-style:before {
	left: 50%;
}
.emg-switch > input[type="checkbox"]:checked[disabled] + .emg-switch-style {
	background-color: #91B8B4;
}
/*define size*/
.emg-switch.emg-switch-sm {
	font-size: 85%;
}
.emg-switch.emg-switch-lg {
	font-size: 125%;
}
@media only screen and (min-width: 768px) {
	.emg-modal-content {
		width: 60%;
	}
}
@media only screen and (max-width: 768px) {
	.emg-modal-content {
		line-height: 18px;
	}
	.emg-modal-content .consent-category {
		font-size: 80%;
		display: inline;
	}
	.emg-switch.emg-switch-lg {
		font-size: 80%;
	}
	.emg-modal-content .form-text {
		font-size: 80%;
	}
	.emg-modal-content .form-group {
		line-height: 18px;
	}
}
