.sg-popup {position: relative; margin: 0 auto; text-align: center; opacity: 0}
.sg-popup.transitions {
	-webkit-transition-property: opacity, -webkit-transform;
    -webkit-transition-duration: .2s, .2s;
    -webkit-transition-timing-function: ease-in-out;
    -o-transition-property: opacity, -o-transform;
    -o-transition-duration: .2s, .2s;
    -o-transition-timing-function: ease-in-out;
    -moz-transition-property: opacity, -moz-transform;
    -moz-transition-duration: .2s, .2s;
    -moz-transition-timing-function: ease-in-out;
	-ms-transition-property: opacity, -ms-transform;
    -ms-transition-duration: .2s, .2s;
    -ms-transition-timing-function: ease-in-out;
}

.sg-popup.zoom-small {-webkit-transform: scale(.8,.8); -moz-transform: scale(.8,.8); -o-transform: scale(.8,.8); -ms-transform: scale(.8,.8)}
.sg-popup.zoom-normal {-webkit-transform: scale(1,1); -moz-transform: scale(1,1); -o-transform: scale(1,1); -ms-transform: scale(1,1)}

.sg-popup .content {
	-moz-border-radius: 7px; -webkit-border-radius: 7px; border-radius: 7px;
	min-height: 100px; max-height: 280px; min-width: 220px; text-align: center;
	margin: 0 auto; -webkit-user-select: none; position: relative
}

.sg-popup .content {background-color: rgba(0,0,0,.6)}
.sg-popup .popup-border .content {background-color: transparent}
.sg-popup .popup-border {background-color: rgba(0,0,0,.6); padding: 8px; border-radius: 15px; -webkit-border-radius: 15px; -moz-border-radius: 15px}
.sg-popup.visible{opacity: 1}

.popup-overlay {
    top: 0;
    width: 100%;
    position: absolute;
    z-index: 999; /* Popup bekommt 1000 */
    opacity: 0;
    background: #000;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0)
}

.popup-overlay.visible {opacity: .5; left: 0px}
.popup-overlay.transitions {-webkit-transition: opacity .2s linear; -o-transition: opacity .2s linear; -moz-transition: opacity .2s linear; -ms-transition: opacity .2s linear}

.sg-popup .icon,
.cart-choice .icon {display: block; background-repeat: no-repeat; -webkit-user-select: none; cursor: pointer}
.sg-popup .icon.close {
	background-image: url('../../img/webapp/default/layout/popup_icon_close.png');
	width: 45px; height: 45px;
	position: absolute; z-index: 2;
	top: -18px; left: -18px;
	-webkit-tap-highlight-color: rgba(0,0,0,0)
}

.content-wrapper {display: inline-block; position: relative}

/* FLASH */
.sg-popup.flash.transitions {-webkit-transition-duration: .5s, .5s;}
.flash .content {min-width: 150px !important; min-height: 150px !important; margin-top: 90px}
.flash .border {background-color: rgba(0, 0, 0, .5) !important}
.flash .content img {width: 100px; height: 100px; margin-top: 25px}
.flash .content .icon {width: 100px; height: 100px; position: absolute; top: 25px; left: 25px}
.flash .content .icon.checkmark {background-image: url('../../img/webapp/default/layout/popup_flash_checkmark.png'); background-size: 100px}

/* CART */
.cart-choice .content {width: 290px; height: 130px; background: none}
.cart-choice .content > div {display: inline-block; height: 130px}
.cart-choice .content > div:first-child {margin-right: 5px}
.cart-choice .content > div:last-child {margin-left: 5px}
.cart-choice .content > div > span {
	font-size: 11px; font-weight: bold; color: #bfbfbf; text-shadow: 0 -1px 1px rgba(0,0,0,.5);
	text-align: center; margin-top: -29px; display: block
}

.cart-choice .content img {width: 135px; height: 135px}

.cart-choice .icon {
	background-image: url('../../img/webapp/default/layout/popup_cart_icons.png');
	width: 135px; height: 135px;
	border-radius: 15px; -webkit-border-radius: 15px; -moz-border-radius: 15px;
	z-index: 2000;
}

.cart-choice .icon.checkout {background-position: -135px 0px}

/* ALERT BOX */
.alert .content {
	width: 270px;
	border: 3px solid rgba(255,255,255,.8);
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    border-radius: 16px;
	background-color: rgba(22,33, 67,.9);
    background: -o-linear-gradient(top, rgba(22,33,67,.8), rgba(19,32,69,.8));
    background: -moz-linear-gradient(top, rgba(22,33,67,.8), rgba(19,32,69,.8));
    background: -webkit-gradient(linear,left top, left bottom,from(rgba(22,33,67,.8)),to(rgba(19,32,69,.8)));
 	-webkit-box-shadow: 0 2px 5px rgba(0,0,0,.8);
    -moz-box-shadow: 0 2px 5px rgba(0,0,0,.8);
    box-shadow: 0 2px 5px rgba(0,0,0,.8)
}

.alert .content > div {padding: 7px}
.alert .icon.alert-bg {
	background-image: url('../../img/webapp/default/layout/popup_alert_bg.png');
	width: 270px; height: 30px; position: absolute; top: 0; left: 0; cursor: default
}

.alert .title,
.alert .message, 
.alert .button {color: #fff; font-weight: normal; text-align: center; text-shadow: 0 -1px 1px black}
.alert .title {font-size: 18px; font-weight: bold; margin: 6px 0 10px 0}
.alert .message {font-size: 15px}
.alert .button {margin-top: 15px}

.alert .button {
    font-weight: bold;
    line-height: 37px;
    height: 35px;     
    border: 1px solid #111b3c;
    border-radius: 6px;     
    -webkit-border-radius: 6px; 
    -moz-border-radius: 6px;
    background-color: #212d4f;                    
    background-image: -moz-linear-gradient(top,#70798f,#323d5d 50%,#132045 50%,#212d4f);
    background-image: -o-linear-gradient(top,#70798f,#323d5d 50%,#132045 50%,#212d4f);
    background-image: -ms-linear-gradient(top,#70798f,#323d5d 50%,#132045 50%,#212d4f);
   	background-image: -webkit-gradient(linear,left top, left bottom,from(#70798f),to(#212d4f),color-stop(.5, #323d5d),color-stop(.5, #132045));
    -webkit-box-shadow: 0 1px 1px rgb(67,77,106);
    -moz-box-shadow: 0 1px 1px rgb(67,77,106);
    -ms-box-shadow: 0 1px 1px rgb(67,77,106);
    box-shadow: 0 1px 1px rgb(67,77,106);
    cursor: pointer;
    -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;
    z-index: 1001;
}

.alert .button.active {
    background-color: #66708b !important;
	background-image: -moz-linear-gradient(top,#adb1bf,#66708b 50%,#4a5573 50%,#5d6882) !important;
    background-image: -o-linear-gradient(top,#adb1bf,#66708b 50%,#4a5573 50%,#5d6882) !important;
    background-image: -ms-linear-gradient(top,#adb1bf,#66708b 50%,#4a5573 50%,#5d6882) !important;
    background-image: -webkit-gradient(linear,left top, left bottom,from(#adb1bf),to(#5d6882),color-stop(.5, #66708b),color-stop(.5, #4a5573)) !important
}

.alert .button.left,
.alert .button.right {width: 120px; display: inline-block}
.alert .button.left {margin-right: 5px}

/* COUPON */
.coupon .content {background-color: #fff !important; width: 220px; height: 135px}
.coupon .content > h4 {font-size: 18px; text-align: center; padding-top: 14px; margin-bottom: 10px}

.coupon .content > input,
.coupon .content > form > input {
    height: 34px;
    width: 165px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border: none;
    background: #fff url('../../img/webapp/default/layout/popup_coupon_input_bg_sw.png');
    text-align: center;
    font-size: 18px;
    font-family: Courier;
    font-weight: normal;
    margin-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px
}
.coupon input::-webkit-input-placeholder {color: #444}

.coupon .button {
    display: block;
    width: 175px;
    height: 30px;
    margin: 7px auto;
    padding-top: 3px;
    text-align: center;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
    -webkit-box-shadow: 0 -1px 1px rgba(0,0,0,.5),1px 0 1px rgba(255,255,255,.3), 0 1px 1px rgba(255,255,255,.2), -1px 0 1px rgba(255,255,255,.3);
    -moz-box-shadow: 0 -1px 1px rgba(0,0,0,.5), 1px 0 1px rgba(255,255,255,.3), 0 1px 1px rgba(255,255,255,.2), -1px 0 1px rgba(255,255,255,.3);
    box-shadow: 0 -1px 1px rgba(0,0,0,.5), 1px 0 1px rgba(255,255,255,.3), 0 1px 1px rgba(255,255,255,.2), -1px 0 1px rgba(255,255,255,.3);
    background-color: #292929;
    background-image: -moz-linear-gradient(top, #040404, #1A1A1A 50%, #292929);
    background-image: -webkit-gradient(linear, left top, left bottom,from(#040404), color-stop(.5, #1A1A1A), to(#292929)); 
    background-image: -o-gradient(linear, left top, left bottom,from(#040404), color-stop(.5, #1A1A1A), to(#292929))
}

.coupon .button > span {
    color: white;
    font-size: 15px;
    font-weight: bold;
    text-shadow: rgba(0,0,0,.7) 0 -1px 1px;
    line-height: 28px;
    cursor: pointer;
    height: 27px;
    width: 168px;
    margin: 0 auto !important;
    display: block;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    -webkit-box-shadow: 0 1.4px 1px rgba(0,0,0,.5);
    -moz-box-shadow: 0 1.4px 1px rgba(0,0,0,.5);
    box-shadow: 0 1.4px 1px rgba(0,0,0,.5);
	background-color: #0D9C23;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#A1C69B),color-stop(.5, #43BF4C), color-stop(.5, #0EB81D), to(#0D9C23));  
    background-image: -moz-linear-gradient(top, #A1C69b, #43BF4C 50%, #0EB81D 50%, #0D9C23);
    background-image: -o-linear-gradient(top, #A1C69b, #43BF4C 50%, #0EB81D 50%, #0D9C23)
}

/* ATTRIBUTE */
.attributes {}
.attributes.visible {}
.attributes ul {display: inline-block; min-width: 220px; max-width: 270px}

.attributes .content li {
	list-style: none;
	border-bottom: 1px solid #ababab;
    border-left: 1px solid #ababab;
    border-right: 1px solid #ababab;
    cursor: pointer;
    background-color: #f1f1f1;
    background-image: -moz-linear-gradient(top,#fafafa,#f1f1f1 50%,#e9e9e9);
    background-image: -o-linear-gradient(top,#fafafa,#f1f1f1 50%,#e9e9e9);
    background-image: -webkit-gradient(linear,left top, left bottom,from(#fafafa),to(#e9e9e9),color-stop(.5, #f1f1f1));
    -moz-background-clip: padding-box; -webkit-background-clip: padding-box; background-clip: padding-box 
}

.attributes .content li > div {
    color: #000; font-size: 21px; font-weight: bold; line-height: 21px;
    text-shadow: 0 1px 1px rgb(255,255,255); word-wrap: break-word; padding: 5px
}

.attributes .content li:first-child {
	border-top: 1px solid #ababab;
    background-color: #2B2B2B;
    background-image: -moz-linear-gradient(top, #69696B, #3E3E40 80%, #2B2B2B);
    background-image: -o-linear-gradient(top, #69696B, #3E3E40 80%, #2B2B2B);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#69696B), to(#2B2B2B), color-stop(.8, #3E3E40))
}

.attributes .content li:first-child > div {color: white; text-shadow: 0 -1px 1px rgb(0,0,0); padding-right: 4px}

.attributes .content ul,
.attributes .content li:first-child {
    -webkit-border-top-left-radius: 7px;
    -webkit-border-top-right-radius: 7px;
    -moz-border-radius-topleft: 7px;
    -moz-border-radius-topright: 7px;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px
}

.attributes .content ul,
.attributes .content li:last-child {
    -webkit-border-bottom-right-radius: 7px;
    -webkit-border-bottom-left-radius: 7px;
    -moz-border-radius-bottomright: 7px;
    -moz-border-radius-bottomleft: 7px;
    border-bottom-right-radius: 7px;
    border-bottom-left-radius: 7px
}

.attributes .content li.unavailable > div {color: #B44D4E}

.attributes .content li.checked > div {
 	background-image: url('../../img/webapp/default/layout/variation_checkmark.png');
    background-repeat: no-repeat; background-position: 98% 50%;
    padding-right: 20px; padding-left: 20px
}

/* DIALOG */

.dialog .content {
	max-height: inherit;
	height: 300px;
	width: 270px;
    background-size: 10px; /*!!!!!!!!!!*/
    background-color: #fff !important;
    overflow: hidden;
}

.dialog .content .dialog-content {
	min-height: 300px	
}

.dialog .content .preloader {
	width: 50px;
	height: 50px;
	margin-left: -25px;
	margin-top: -25px;
	position: absolute;
	left: 50%;
	top: 50%;
	text-align: center
}

.dialog .content .preloader img {
	height: 50px;
	width: 50px
}

.dialog .content {
	font-size: 13px;
	text-align: left
}

.sg-popup.dialog.item-input-infotext {
	margin-left: -140px !important	
}

.sg-popup.dialog .content {
	width: 250px
}
.sg-popup.dialog .item-input-infotext {
	padding: 10px	
}

.dialog .navbar {
	color: #323232;
	line-height: 29px;
	padding: 5px 5px;
	height: 20px;
	border-bottom: 1px solid #E5E5E5;
	margin: 0 auto;
	text-align: left;
	position: relative;
	background-color: #fff;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff),to(#f4f7f7));
	background-image: -webkit-linear-gradient(top, #ffffff, #f4f7f7);
	background-image: -moz-linear-gradient(top, #ffffff, #f4f7f7);
	background-image: -o-linear-gradient(top, #ffffff, #f4f7f7);
	background-image: -ms-linear-gradient(top, #ffffff, #f4f7f7);
	background-image: linear-gradient(top, #ffffff, #f4f7f7);
  	-moz-border-radius-topleft: 7px;
    -webkit-border-top-left-radius: 7px;
    border-top-left-radius: 7px;
    -moz-border-radius-topright: 7px;
    -webkit-border-top-right-radius: 7px;
    border-top-right-radius: 7px
}

.dialog .navbar .center-abs {
	text-align: center;
	position: absolute;
	left: 0;
	right: 0;
}

.dialog .navbar h2 {
	font-size: 14px;
	line-height: 21px;
	font-weight: bold;
	text-align: left;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	display: block;
	text-shadow: none
}

@media only screen and (-webkit-min-device-pixel-ratio: 2) { 

		.sg-popup .icon.close {
		background-image: url('../../img/webapp/default/layout/popup_icon_close@2x.png'); 
		background-size: 45px
	}
	
	.cart-choice .icon {
		background-image: url('../../img/webapp/default/layout/popup_cart_icons@2x.png');
		background-size: 270px
	}
	
	.alert .icon.alert-bg {
		background-image: url('../../img/webapp/default/layout/popup_alert_bg@2x.png');
		background-size: 270px
	}
	
	.attributes .content li.checked > div {
		background-image: url('../../img/webapp/default/layout//variation_checkmark@2x.png');
		background-size: 15px
	}
}
