#opc_alert.moss {
	
}
#opc_alert.moss .modal__close {
	position: absolute; 
	right: 30px; 
	top: 30px; 
	font-size: 2em; 
}
#opc_alert.moss .modal__container { 
	position: relative; 
	background-color: white; 
}
div.tax_data {
	float:left; clear:both; font-size:0.6em;
}
div.moss_country_list .clist {
	display: flex; 
	flex-direction: row; 
	flex-wrap: wrap; 
	max-height: 80vh;
	min-height: 400px; 
	min-width: 300px; 
	width: 100%;
	max-width: 100%; 
}

div.moss_country_list { 
	width: 100%; 
	max-width: 100%; 
}
div.moss_country_list div.c {
	max-width: 200px; 
	line-height: 30px; 
	vertical-align: middle; 
	box-sizing: border-box; 
	padding-top: 5px; 
	padding-bottom: 5px; 
	padding-right: 10px; 
	margin-right: 10px; 
}
div.moss_country_list div.c a,
div.moss_country_list div.c a:active,
div.moss_country_list div.c a:hover,
div.moss_country_list div.c a:visited {
	box-sizing: border-box; 
	color: black; 
	text-decoration: none; 
	line-height: 30px; 
	vertical-align: middle; 
	border: 1px solid #ddd; 
	height: 38px; 
	display: inline-block; 
	min-width: 200px; 
	border-radius: 2px; 
	background-color: #ddd;
	padding-left: 5px; 
	padding-top: 3px; 
	padding-bottom: 3px; 
}
div.moss_country_list div.c a > img {
	margin-right: 5px; 
}
#opc_alert.flex.align-center.align-vert.modal--align.moss {
	display: flex; 
	flex-direction: row; 

}
#opc_alert.align-center { justify-content: center; }
#opc_alert.moss .align-vert,#opc_alert.align-vert.align-center.moss { align-items: center; }
#opc_alert.moss .modal__container {
	color: black; 
}
#opc_alert.moss .modal__container {
	width: 1000px; 
	max-width: 100%; 
}
a.modal__close,
a.modal__close:visited,
a.modal__close:hover,
a.modal__close:active {
	color: black; 
	text-decoration: none; 
}
@media (max-width: 1300px){
	#opc_alert.moss .modal__container {
		padding-left: 15%; 
		padding-right: 15%; 
	}
}
@media (max-width: 768px){
	#opc_alert div.moss_country_list .clist { width: 100%; }
	#opc_alert div.moss_country_list div.c {
		max-width: 45%; 
		width: 48%;
		padding-left: 2px; 
		padding-right: 0px; 
		margin-right: 0px; 
	}
	#opc_alert .country_pick { font-size: 0.9em; }
	#opc_alert div.moss_country_list div.c a.country_pick {
		 width: 100%; 
		 min-width: unset; 
	}
	#opc_alert div.moss_country_list .clist {
		min-width: unset; 
		padding-bottom: 70px; 
	}
	#opc_alert.moss .clist { overflow-y: scroll }
	#opc_alert.moss { display: block !important; position: absolute; top: 0; left: 0; } 
	#opc_alert.moss .modal__container { max-width: 100%; box-sizing: border-box; padding-left:5px; padding-right: 5px;  }
	#opc_alert.moss .modal__container { max-height: unset; float: left; clear: both; width: 100%; height:100%;}
	#opc_alert.moss .modal__close { vertical-align: top; top: 15px; right: 15px; }
	
}

/* Generic mod_taxcountry preferences layout. Site templates may override it. */
.tax-preferences-trigger {
	align-items: center;
	background: transparent;
	border: 0;
	cursor: pointer;
	display: inline-flex;
	gap: .4rem;
	min-height: 32px;
}
.tax-preferences-trigger img {
	border: 1px solid rgba(0, 0, 0, .18);
	border-radius: 3px;
	display: block;
	object-fit: cover;
}
.tax-preferences-trigger__caret {
	border-left: .25rem solid transparent;
	border-right: .25rem solid transparent;
	border-top: .3rem solid currentColor;
	height: 0;
	width: 0;
}
.tax-preferences-modal .modal-dialog {
	max-width: 590px;
}
.tax-preferences-modal .modal-content {
	background: #fff;
	border: 0;
	border-radius: 14px;
	box-shadow: 0 1.25rem 3.75rem rgba(25, 35, 45, .24);
	overflow: hidden;
}
.tax-preferences-modal .modal-header,
.tax-preferences-modal .modal-footer {
	align-items: center;
	display: flex;
	justify-content: space-between;
	padding: 1.25rem 1.5rem;
}
.tax-preferences-modal .modal-body {
	padding: .25rem 1.5rem 1.5rem;
}
.tax-preferences-modal .modal-footer {
	background: #f5f6f7;
	gap: .5rem;
	justify-content: flex-end;
}
.tax-preferences-modal .modal-title {
	font-size: 1.5rem;
	margin: 0;
}
.tax-preferences-modal .modal-subtitle {
	font-size: .9rem;
	line-height: 1.5;
	margin: .25rem 0 0;
}
.tax-preferences-field {
	margin-bottom: 1.25rem;
}
.tax-preferences-field .form-label {
	align-items: center;
	display: flex;
	font-size: .86rem;
	font-weight: 700;
	gap: .6rem;
	margin-bottom: .55rem;
}
.tax-preferences-field .form-select {
	box-sizing: border-box;
	min-height: 44px;
	width: 100%;
}
.tax-preferences-field__number {
	background: rgba(0, 135, 190, .12);
	border-radius: 50rem;
	font-size: .68rem;
	padding: .28rem .48rem;
}
.tax-preferences-notice {
	align-items: flex-start;
	background: #eef8fc;
	border-left: 3px solid #169dcc;
	border-radius: 0 8px 8px 0;
	display: flex;
	font-size: .82rem;
	gap: .7rem;
	line-height: 1.5;
	margin: .2rem 0 1.25rem;
	padding: .8rem .9rem;
}
.tax-preferences-notice svg {
	fill: #169dcc;
	flex: 0 0 auto;
}
.tax-preferences-modal--fallback {
	background: rgba(0, 0, 0, .5);
	bottom: 0;
	left: 0;
	overflow-y: auto;
	opacity: 1 !important;
	padding: 1rem;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 1055;
}
.tax-preferences-modal--fallback.show {
	display: block;
}
.tax-preferences-modal--fallback .modal-dialog {
	margin: 5vh auto;
}
.tax-preferences-modal--fallback .btn-close {
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	font-size: 1.5rem;
	line-height: 1;
}
.tax-preferences-modal--fallback .btn-close::before {
	content: "\00d7";
}
body.tax-preferences-open {
	overflow: hidden;
}
@media (max-width: 575.98px) {
	.tax-preferences-modal {
		padding: 0 !important;
	}
	.tax-preferences-modal .modal-dialog {
		align-items: flex-end;
		display: flex;
		margin: 0;
		max-width: none;
		min-height: 100%;
	}
	.tax-preferences-modal .modal-content {
		border-radius: 14px 14px 0 0;
		max-height: 94vh;
		max-height: 94dvh;
		width: 100%;
	}
	.tax-preferences-modal .modal-body {
		overflow-y: auto;
	}
	.tax-preferences-modal .modal-footer .btn {
		flex: 1 1 50%;
	}
}
