
.tribe-common .tribe-dialog {
	--tec-dialog-background-color: #fff;
	--tec-dialog-close-background: #fff;
	--tec-dialog-close-border-color: #bababa;
	--tec-dialog-close-border-width: 1px;
	--tec-dialog-close-color: #bababa;
	--tec-dialog-close-height: 12px;
	--tec-dialog-close-height-desktop: 16px;
	--tec-dialog-overlay-color: rgba(0, 0, 0, 0);
	--tec-modal-overlay-color: rgba(20, 24, 39, .9);
	--tec-dialog-border-radius: 4px;
	--tec-dialog-padding: 16px;
	--tec-dialog-padding-top: 24px;
	--tec-dialog-padding-side: 28px;
}

.tribe-common div.tribe-dialog {
	align-items: center;
	display: flex;
	height: 100vh;
	justify-content: center;
	left: 0;
	position: fixed;
	top: 0;
	width: 100vw;
	z-index: 100;
}

.tribe-common div.tribe-dialog[aria-hidden=true] {
	display: none;
}

.tribe-common .tribe-dialog__overlay {
	background-color: var(--tec-dialog-overlay-color);
	height: 100vh;
	left: 0;
	opacity: .9;
	position: fixed;
	top: 0;
	width: 100vw;
	z-index: 100;
}

.tribe-common .tribe-dialog__wrapper {
	background-color: var(--tec-dialog-background-color);
	border-radius: var(--tec-dialog-border-radius);
	box-shadow: 0 2px 54px 0 var(--tec-modal-overlay-color);
	max-height: 100vh;
	max-width: 100vw;
	overflow-y: auto;
	padding: var(--tec-dialog-padding);
	-webkit-perspective: 1000;
	-webkit-transform: translateZ(0);
	width: 800px;
	z-index: 200;
}

.tribe-common .tribe-dialog__wrapper div[role=document] {
	align-items: flex-end;
	display: flex;
	flex-flow: column;
	justify-content: space-between;
	position: relative;
}

@media screen and (min-width:768px) {
	.tribe-common .tribe-dialog__wrapper {
		max-height: calc(100vh - 160px);
		padding: var(--tec-dialog-padding-top) var(--tec-dialog-padding-side);
	}
}

.tribe-common .tribe-dialog__close-button {
	background: var(--tec-dialog-close-background);
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2718%27 height=%2718%27%3E%3Cpath fill=%27none%27 fill-rule=%27evenodd%27 stroke=%27%23bababa%27 stroke-linecap=%27square%27 stroke-width=%272%27 d=%27M16 2 2 16m14 0L2 2%27/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat;
	background-size: contain;
	cursor: pointer;
	display: inline-block;
	font-size: 14px;
	height: var(--tec-dialog-close-height);
	line-height: var(--tec-dialog-close-height);
	padding: 0;
	position: absolute;
	width: var(--tec-dialog-close-height);
	z-index: 1;
}

.tribe-common .tribe-dialog__close-button.nitro-lazy {
	background-image: none !important;
}

@media screen and (min-width:768px) {
	.tribe-common .tribe-dialog__close-button {
		height: var(--tec-dialog-close-height-desktop);
		line-height: var(--tec-dialog-close-height-desktop);
		width: var(--tec-dialog-close-height-desktop);
	}
}

.tribe-common .tribe-dialog__close-button:focus, .tribe-common .tribe-dialog__close-button:hover {
	background: var(--tec-dialog-close-background);
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2718%27 height=%2718%27%3E%3Cpath fill=%27none%27 fill-rule=%27evenodd%27 stroke=%27%235d5d5d%27 stroke-linecap=%27square%27 stroke-width=%272%27 d=%27M16 2 2 16m14 0L2 2%27/%3E%3C/svg%3E");
	background-size: contain;
	outline: none;
}

.tribe-common .tribe-dialog__close-button:focus.nitro-lazy, .tribe-common .tribe-dialog__close-button:hover.nitro-lazy {
	background-image: none !important;
}

.tribe-common .tribe-dialog__close-button:focus {
	outline: auto;
}

.tribe-common .tribe-dialog__close-button--hidden {
	display: none;
}

.tribe-common .tribe-dialog__close-button--round {
	border-radius: 50%;
}

.tribe-common .tribe-dialog__close-button--border {
	border: var(--tec-dialog-close-border-width) solid var(--tec-dialog-close-border-color);
}

.tribe-common h2.tribe-dialog__title {
	align-self: flex-start;
	margin: 0 0 22px;
	padding-right: calc(var(--tec-dialog-close-height) + .5em);
	padding-top: 0;
}

.tribe-common .tribe-dialog__content {
	color: #141827;
	font-size: 14px;
	line-height: 1.64em;
	padding-right: calc(var(--tec-dialog-close-height) + .5em);
	padding-top: calc(var(--tec-dialog-close-height) + .5em);
	width: 100%;
}

.tribe-common .tribe-dialog__title+.tribe-dialog__content {
	padding: 0;
}

.tribe-common .tribe-dialog__content p {
	font-size: var(--tec-font-size-2);
}

.tribe-common .tribe-dialog__content .tribe-dialog__content__wrapper.tribe-dialog__content__wrapper--centered {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	min-height: 145px;
}

@media screen and (max-width:768px) {
	.tribe-common .tribe-dialog__content:last-of-type {
		padding-bottom: 36px;
	}
}

.tribe-common .tribe-modal__overlay {
	background-color: var(--tec-modal-overlay-color);
}

.tribe-common .tribe-confirm__content {
	padding-right: 0;
}

.tribe-common .tribe-dialog__button_wrap {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-end;
	margin-top: 1rem;
}

.tribe-common .tribe-dialog__button-cancel, .tribe-common .tribe-dialog__button-continue {
	margin-left: var(--tec-spacer-1);
	width: auto;
}

#top .main_color .tribe-common div.tribe-dialog, #top.tribe-theme-enfold .tribe-common div.tribe-dialog, .tribe-theme-avada .tribe-common div.tribe-dialog, .tribe-theme-divi .tribe-common div.tribe-dialog {
	z-index: 99999;
}
