/**
 * SweetAlert icon fixes for AMSS webshop (Bootstrap/global CSS conflicts).
 */

/* Error X: parent scale animation breaks line rotation on some desktop browsers */
.sweet-alert .sa-icon.sa-error .sa-x-mark {
	position: relative;
	display: block;
	width: 80px;
	height: 80px;
	-webkit-animation: none !important;
	animation: none !important;
	-webkit-transform: none !important;
	transform: none !important;
	margin-top: 0 !important;
	opacity: 1 !important;
}

.sweet-alert .sa-icon.sa-error .sa-line {
	position: absolute !important;
	display: block !important;
	height: 5px !important;
	width: 47px !important;
	background-color: #F27474 !important;
	border-radius: 2px !important;
	top: 50% !important;
	left: 50% !important;
	margin-left: -23.5px !important;
	margin-top: -2.5px !important;
	-webkit-transform-origin: center center !important;
	transform-origin: center center !important;
}

.sweet-alert .sa-icon.sa-error .sa-line.sa-left {
	-webkit-transform: rotate(45deg) !important;
	transform: rotate(45deg) !important;
}

.sweet-alert .sa-icon.sa-error .sa-line.sa-right {
	-webkit-transform: rotate(-45deg) !important;
	transform: rotate(-45deg) !important;
}

/* Success checkmark: tuned for desktop layout (was inline in potvrda*.php) */
.sweet-alert .sa-icon.sa-success .sa-line.sa-tip {
	width: 25px;
	left: 6px;
	top: 41px;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.sweet-alert .sa-icon.sa-success .sa-line.sa-long {
	width: 47px;
	right: 2px;
	top: 34px;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
