﻿.ModalPopupContainer
{
	width:100%;
	position:fixed;
	z-index:9999;
	top:0;
	left:0;
    height:100%
}

.ModalPopupContainer.overlay
{
    background-color:#000;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
    filter: alpha(opacity=60);
    -khtml-opacity: 0.6;
    -moz-opacity: 0.6;
    opacity: 0.6; 
}

.ModalPopupWrapper {
    top: 0;
    left: 0;
    overflow-y: auto;
    position: fixed;
    width: 100%;
    z-index: 9999;
    right: 0;
    bottom: 0;
    display: none;
    overflow-x: hidden;
}

.ModalPopupWrapper.show {
  display: block !important;
}

.ModalPopup
{
	display:none;
	background-color:#fff;
	color:#000;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	-moz-background-clip: padding;
	-webkit-background-clip: padding;
	background-clip: padding-box;
	width:406px;
	opacity:0;

    -webkit-box-shadow: 0px 0px 23px 0px rgba(0,0,0,0.32);
    -moz-box-shadow: 0px 0px 23px 0px rgba(0,0,0,0.32);
    box-shadow: 0px 0px 23px 0px rgba(0,0,0,0.32);
	
	-webkit-transform: scale(0.9);
    -moz-transform:    scale(0.9);
    -ms-transform:     scale(0.9);
    -o-transform:      scale(0.9);
    transform:         scale(0.9);
	
	-webkit-transition: -webkit-transform 0.2s cubic-bezier(0.165, 0.840, 0.440, 1.000),
						opacity 0.2s cubic-bezier(0.165, 0.840, 0.440, 1.000);
    -moz-transition: -moz-transform 0.2s cubic-bezier(0.165, 0.840, 0.440, 1.000),
						opacity 0.2s cubic-bezier(0.165, 0.840, 0.440, 1.000);
    -ms-transition: -ms-transform 0.2s cubic-bezier(0.165, 0.840, 0.440, 1.000),
						opacity 0.2s cubic-bezier(0.165, 0.840, 0.440, 1.000);
    -o-transition: -o-transform 0.2s cubic-bezier(0.165, 0.840, 0.440, 1.000),
						opacity 0.2s cubic-bezier(0.165, 0.840, 0.440, 1.000);
    transition: transform 0.2s cubic-bezier(0.165, 0.840, 0.440, 1.000),
						opacity 0.2s cubic-bezier(0.165, 0.840, 0.440, 1.000);
}

.ModalPopup.show-mid 
{
	display:block;
	position:fixed;
	z-index:99999;
}

.ModalPopupContainer .ModalPopup,
.ModalPopup.show
{
	opacity:1;
	
	-webkit-transform: scale(1);
    -moz-transform:    scale(1);
    -ms-transform:     scale(1);
    -o-transform:      scale(1);
    transform:         scale(1);
}

.ModalPopup .close
{
	top: 5px;
	right: 5px;
	border: 1px solid #E2E2E2;	
	background: url("https://www.next.co.uk/Images/Structural/Icons/24x24.png") no-repeat scroll -24px 0 transparent;
	float: right;
	height: 24px;
	width: 24px;
	display: block;
	cursor:pointer;
	overflow:hidden;
}

/* Preview Confirm Exit - Specific */

.ModalPopup .PreviewContent 
{
	padding:8px;	
}

.ModalPopup .PreviewConfirmExit
{
	text-align:center;
	padding:25px 16px;
}

.ModalPopup .PreviewConfirmExit p
{
	font-size:24px;
	margin:6px;
	color:#212121;
}

.ModalPopup .PreviewConfirmExit .buttons
{
	padding-top:20px;
	width:314px;
	margin:0 auto;
}

.ModalPopup .PreviewConfirmExit .buttons input[type='submit']
{
	text-transform:uppercase;
	padding: 8px;
	width: 130px;
	color: white;
	border-radius: 8px;
	border: 0;
	text-shadow: 1px 1px 1px black;
	background-image:url('https://www.next.co.uk/Images/Structural/Buttons/Custom/PreviewModalButton.png');
	background-repeat:repeat-x;
	background-color:#3e3e3e;
	cursor:pointer;
	outline: none;
	-moz-box-shadow: 0px 3px 5px #888;
	-webkit-box-shadow: 0px 3px 5px #888;
	box-shadow: 0px 3px 5px #888;
	font-size:14px;
}

.ModalPopup .PreviewConfirmExit .buttons input[type='submit'].no
{
	float:left;
}

.ModalPopup .PreviewConfirmExit .buttons input[type='submit'].yes
{
	float:right;
}
