/* General styles for the modal */

/* 
Styles for the html/body for special modal where we want 3d effects
Note that we need a container wrapping all content on the page for the 
perspective effects (not including the modals and the overlay).
*/
.md-perspective,
.md-perspective body {
	height: 100%;
	overflow: hidden;
}

.md-perspective body  {
	background: #222;
	-webkit-perspective: 600px;
	-moz-perspective: 600px;
	perspective: 600px;
}

.container {
	background: #e74c3c;
	min-height: 100%;
}

.md-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 10000;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.md-show {
	visibility: visible;
}

.md-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 1000;
	opacity: 0;
	background: rgba(0, 0, 0, 0.7);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show ~ .md-overlay {
	opacity: 1;
	visibility: visible;
}

/* Content styles */
.md-content {
	background: #FFFFFF;
	position: relative;
	border-radius: 3px;
	margin: 0 auto;
}

.popup_content span.icon {
	display: block;
    margin: 0 auto;
    margin-bottom: 50px;
    position: relative;
    top: 20px;
    height: 78px;
    width: 78px;
    background-repeat: no-repeat;
}

.popup_content span.icon.warning {
	background-image: url('../../img/infotip_warning.png');
}
.popup_content span.icon.information {
	background-image: url('../../img/infotip_confirm.png');
}
.popup_content span.icon.success {
	background-image: url('../../img/infotip_valid.png');
}
.popup_content span.icon.error {
	background-image: url('../../img/infotip_error.png');
}
.popup_content span.icon.login {
	background-image: url('../../img/infotip_login.png');
}
.md-content .modal-footer {
	text-align: right;
	padding-top: 0!important;
}

.md-content .popupBtn {
	background-color: #FFFFFF;
	border: 1px solid #CCCCCC!important;
	color: #5E5E5E;
	border-radius: 0;
	font-size: 14px;
	padding: 7px 20px;
}

.md-content .popupBtn:hover {
	background-color: #ebebeb;
}


.md-content > div {
	/*padding: 30px 15px;*/
	padding:15px 15px 25px 15px;
	margin: 0;
	font-weight: 300;
	font-size: 15px;
    line-height: 19px;
}

.md-content .closeBtn {
	display: block;
	position: absolute;
	height: 15px;
	background: url(../../img/close_icon.png) no-repeat center center;
	top: 10px;
	right: 15px;
	width: 15px !important;
	cursor: pointer;
	padding: 0;
	z-index: 9999;
        padding: 0 !important;
}

.md-effect-8.md-modal {
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	perspective: 1300px;
}

.md-effect-8 .md-content {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: rotateY(-70deg);
	-moz-transform: rotateY(-70deg);
	-ms-transform: rotateY(-70deg);
	transform: rotateY(-70deg);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	opacity: 0;
}

.md-show.md-effect-8 .md-content {
	-webkit-transform: rotateY(0deg);
	-moz-transform: rotateY(0deg);
	-ms-transform: rotateY(0deg);
	transform: rotateY(0deg);
	opacity: 1;
}

#afterclose {
  transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -webkit-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
	animation: blink 1s infinite;
}

.highlighted {
  box-shadow: 0 0 1px 2px #FFF;
}

.popupWrap, .windowPopupImage{
	display: none;  
    width: 85%;
	max-width:1200px;
}
#windowPopup{ max-width : 1200px !important } 
iframe { border:0}

.popup_content .title {
	margin-bottom:20px;
	color:#000;
}
.popup_content h1 {
	margin-bottom:0px;
	color:#666666;
	font-weight:500;
	font-size:2.25em;
	
}
#windowPopup h2, #windowPopup h1 { margin-top:0;padding-top:0; }


/* popup style start */
.popup_style{
	display: none;
	width: 500px;
}
.popup_style .popup_wrap{
	margin: 0 15px;
}
.popup_style .close_btn{
	position: absolute;
	top: -11px;
	right: -11px;
	background: #fff;
	color: #000;
	text-align: center;
	height: 22px;
	width: 22px;
	font-size: 17px;
	font-weight: 500;
	line-height: 22px;
	cursor: pointer;
	border-radius:11px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
}
.popup_style .close_btn:hover{
	background: #000;
	color: #fff;
}
.popup_style .popup_content{
	font-family: 'Poppins', sans-serif;
	background: #fff;
	padding: 20px;
	position: relative;
	border: 1px solid #ccc;
	-moz-box-shadow:0px 4px 4px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow:0px 4px 4px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;

}
.popup_style h2{
	font-size: 17px;
	color: #2996ce;
	margin: 0 0 20px 0;
	text-transform: uppercase;
}
#login_popup, #password_reset_popup{
	text-align: center;
}
#login_popup form, #password_reset_popup form{
	max-width: 360px;
	margin: 0 auto;
}

#login_popup input { font-size:12px;background-color:#FFF; height:22px; width:230px;border:1px solid lightgrey; border-radius:3px;}
#ressetPasswordForm input { font-size:12px;background-color:#FFF; height:22px; width:200px;border:1px solid lightgrey; border-radius:3px;}

#login_popup .form_label, #login_popup form_field, #ressetPasswordForm .form_label, #ressetPasswordForm form_field  { float:left;}
#login_popup .form_label, #ressetPasswordForm .form_label { padding-top:3px;}
#login_popup fieldset { margin-bottom:10px;}
#login_popup .form_style fieldset .form_label{
	width: 120px;
}
#password_reset_popup .form_style fieldset .form_label{
	width: 140px;
}
.form_style .error_txt{
	display: block;
	color: #e47433;
	margin: 0 0 5px 0;
}
.popup_content .message{
	padding:0px 20px 15px;
	text-align:justify;
}

