/**
 * @package		Mb2 Panel
 * @version		1.2.0
 * @author		Mariusz Boloz (http://mb2extensions.com)
 * @copyright	Copyright (C) 2014 Mariusz Boloz (http://mb2extensions.com). All rights reserved
 * @license		Commercial (http://codecanyon.net/licenses)
**/

/* General style */

.mb2panel {
	position: fixed;	
	background-color: #fff;
	color: #555;
	z-index: 9999;
	display: block!important;
	width: 100%;
}

.mb2panel-inner {
	position: relative;
	width: 100%;	
}

.mb2panel-content {
	padding: 20px;
	margin-left: auto;
	margin-right: auto;	
}

.mb2panel img {
	max-width: 100%;
	height: auto;	
}



/* Close link */

.mb2panel-close {
	position: absolute;
	background-color: #2273a7;
	color: #fff;
	display: block;	
	cursor: pointer;
	text-decoration: none;
	text-align: center;
}

.mb2panel-close:hover,
.mb2panel-close:focus {
	outline: none;
	text-decoration: none;	
}

.mb2panel-close > span {
	padding: 0 10px;	
}



/* Title osition inside */

.mb2panel.title-pos1 .mb2panel-close {
	right: 10px;
	top: 10px;
}



/* Left and right positions */

.mb2panel.lc, 
.mb2panel.rc {
	top: 50%;	
}

.mb2panel.lc.title-pos2 .mb2panel-close, 
.mb2panel.rc.title-pos2 .mb2panel-close,
.mb2panel.lt.title-pos2 .mb2panel-close, 
.mb2panel.rt.title-pos2 .mb2panel-close,
.mb2panel.lb.title-pos2 .mb2panel-close, 
.mb2panel.rb.title-pos2 .mb2panel-close {
	top:0;	
}



/* Left and right top positions */

.mb2panel.lt, 
.mb2panel.rt {
	top: 20px;	
}



/* Left and right bottom positions */

.mb2panel.lb, 
.mb2panel.rb {
	bottom: 20px;	
}



/* Top and bottom positions */

.mb2panel.tl .mb2panel-close,
.mb2panel.tc .mb2panel-close,
.mb2panel.tr .mb2panel-close,
.mb2panel.bl .mb2panel-close,
.mb2panel.bc .mb2panel-close,
.mb2panel.br .mb2panel-close {
	right: 0;	
}

.mb2panel.tf .mb2panel-close,
.mb2panel.bf .mb2panel-close {
	right: 20px;	
}

.mb2panel.lf .mb2panel-close,
.mb2panel.rf .mb2panel-close {
	top: 20px;	
}



/* Top and bottom left position */

.mb2panel.tl,
.mb2panel.bl {
	left: 20px;	
}



/* Top and bottom right position */

.mb2panel.tr,
.mb2panel.br {
	right: 20px;	
}



/* Top and bottom center position */

.mb2panel.tc,
.mb2panel.bc {
	left: 50%;	
}



/* Top and bottom full width */

.mb2panel.tf,
.mb2panel.bf {
	left: 0;
	width: 100%;	
}

.mb2panel.bf {
	bottom: 0;	
}



/* Panel left and right full width */

.mb2panel.rf,
.mb2panel.lf {
	top: 0;
	height: 100%;	
}



/* Resposnsive styles*/

@media (max-width: 530px) {}