/*
   modalbox.css
   
   Modalbox project
   
   Created by Andrew Okonetchnikov.
   Copyright 2006-2010 okonet.ru. All rights reserved.
   
   Licensed under MIT license.
*/

#MB_overlay {
	position: fixed;
	margin: auto;
	top: 0;	left: 0;
        bottom: 0;right: 0;
	width: 100%; height: 100%;
	z-index: 9999;
	border: 0;
	background-color: #000!important;
}
/*#MB_overlay[id] { position: fixed; }*/

#MB_windowwrapper {
    position:fixed;
    top:0;
    width:100%;
    z-index: 10000;
}

#MB_window {
	position:relative;
	margin-left:auto;
	margin-right:auto;
	top:0;
	left:0;
	border: 0 solid;
	text-align: left;
	z-index: 10000;
}
#MB_window[id] { position: relative; }

#MB_frame {
	position: relative;
	background-color: #fff;
	height: 100%;
}

#MB_header {
	margin: 0;
	padding: 0;
}

#MB_content {
	position: relative;
	padding: 6px .75em;
	overflow: auto;
}

#MB_caption {
	font: bold 100% "Lucida Grande", Arial, sans-serif;
	padding: .8em 2em .8em .75em;
	margin: 0;
	text-align: left;
}

#MB_close {
	display: block;
	position: absolute;
	right: 5px; top: 4px;
	padding: 7px 3px;
	font-weight: bold;
	text-decoration: none;
	font-size: 13px;
}
#MB_close:hover {
	background: transparent;
}

#MB_loading {
	padding: 1.5em;
	text-indent: -10000px;
	background: transparent url(../images/indicator.gif) 50% 0 no-repeat;
}

/* Color scheme */
#MB_window {
	background-color: transparent;
	color: #000;
	
	-webkit-box-shadow: 0 0 64px rgba(0,0,0,.5); 
	-moz-box-shadow: 0 0 64px rgba(0,0,0,.5); 
	box-shadow: 0 0 64px rgba(0,0,0,.5);
}
	#MB_frame {
		padding-bottom: 4px;
		border-radius: 4px;
	}
	
	#MB_content { border-top: 1px solid #F9F9F9; background: #fff;}

	#MB_header {
	  background-color: #a4bfdd;
          border-top: 1px solid #a4bfdd;
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
	}
		#MB_caption { color: #fff; }
		#MB_close { color: #f8f8f8; }
		#MB_close:hover { color: #fff; }


/* Alert message */
.MB_alert {
	margin: 10px 0;
	text-align: center;
}

.modalboxToolbar {
    position: absolute;
    padding: 8px 10px;
    text-align: right;
    background: #efefef;
    box-sizing: border-box;
    bottom: 0;
    border-top: 1px solid #ddd;
    box-shadow: 0px -5px 15px rgba(0,0,0,.1);
}