/* Messi CSS */

.messi-modal {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: #000;
	opacity: 0;
}

.messi {
	position: absolute;
	padding: 0;
	margin: 0;
	font-size: 16px;
	text-shadow: none;
	font-family: Arial, sans-serif;
}

.messi-box {
	position: relative;
	width: 350px;
	height: auto;
	padding: 2px;
	overflow: hidden;
	background-color: #ffffff;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border: 1px solid #cccccc;
	box-shadow: 0 0 1em #444;
}

.messi-wrapper {
	position: relative;
	background-color: #fff;
	border-radius: 5px;
}

.messi-titlebox {
	background: url("../../images/app/bg/bg_top_button.gif") repeat-x scroll 50% 50% #EEEEEE;
	border: 1px solid #CCCCCC;
	border-radius: 4px 4px 4px 4px;
	color: #999999;
	font-size: 14px;
	font-weight: bold;
	padding: 0.5em 1em 0.3em;
}

.messi-closebtn {
	position: absolute;
	top: 8px;
	right: 8px;
	display: block;
	width: 25px;
	height: 25px;
	color: #333;
	cursor: pointer;
	background-color: #fff;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 40px;
}

.messi-closebtn::before {
	position: relative;
	top: 2px;
	display: block;
	width: 25px;
	text-align: center;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
	content: '\00D7';
}

.messi-content {
	font-size: 12px;
	overflow: hidden;
}

.messi-content p {
	margin: 0 0 1.3em;
	line-height: 1.3em;
}

.messi-content .messi-closebtn {
	top: 7px;
	font: 1.3em bold helvetica, arial;
	color: #fff;
	background-color: #333;
	opacity: 0;
	-webkit-transition: opacity .25s linear, visibility .1s linear .5s;
	-moz-transition: opacity .25s linear, visibility .1s linear .5s;
	-o-transition: opacity .25s linear, visibility .1s linear .5s;
	transition: opacity .25s linear, visibility .1s linear .5s;
}

.messi-content:hover .messi-closebtn {
	opacity: 1;
}

.messi-footbox {
	text-align: center;
	width: 100%;
	overflow: hidden;
	padding-bottom:5px;
	border-top: 1px solid #eee;
}

.messi-actions {
	display: -webkit-box;
	display: -moz-box;
	display: box;
	padding-top: 8px;
	-webkit-box-orient: horizontal;
	-moz-box-orient: horizontal;
	box-orient: horizontal;
	text-align: center;
	display:block;
}

.messi-actions .btnbox {
	display: inline-block;
	margin: 0 auto;
	width: 75px;
	padding-left:3px;
}

.messi-actions .btnbox .btn {
	min-width: 75px;
}

.messi-titlebox.anim {
	background-color: #666;
	background-image: -o-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.05) 75%, transparent 75%, transparent);
	background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.05) 75%, transparent 75%, transparent);
	background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0.25, rgba(255, 255, 255, 0.05)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.05)), color-stop(0.75, rgba(255, 255, 255, 0.05)), color-stop(0.75, transparent), to(transparent));
	background-image: -webkit-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.05) 75%, transparent 75%, transparent);
	background-image: -moz-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.05) 75%, transparent 75%, transparent);
	background-image: -ms-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.05) 75%, transparent 75%, transparent);
	-webkit-background-size: 40px 40px;
	-moz-background-size: 40px 40px;
	background-size: 40px 40px;
	-webkit-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.4);
	-moz-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.4);
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.4);
	-webkit-animation: animate-bg 5s linear infinite;
	-moz-animation: animate-bg 5s linear infinite;
}

.messi-titlebox.anim.info {
	background-color: #4ea5cd;
}

.messi-titlebox.anim.error {
	background-color: #de4343;
}

.messi-titlebox.anim.warning {
	background-color: #eaaf51;
}

.messi-titlebox.anim.success {
	background-color: #61b832;
}

@-webkit-keyframes animate-bg {
	from {
	background-position: 0 0;
}
to {
	background-position: -80px 0;
}
}

@-moz-keyframes animate-bg {
	from {
	background-position: 0 0;
}
to {
	background-position: -80px 0;
}
}

/* CSS Buttons from Twitter Bootstrap: http://twitter.github.com/bootstrap/ */

.messi .btn {
	font-family: Arial, sans-serif;
	padding: 0;
        display: inline-block;
        background: #4baad7 url('../../images/app/bg/blue/button.gif') repeat-x top left;
        line-height: 20px;
        height: 28px;
        color: #ffffff!important;
        font-size: 12px;
        font-weight: bold;
        /*text-shadow: grey 1px 1px;*/
        text-decoration: none;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        margin: 0;
	border:none;
	border: 1px solid #9dc4d6;
}
.messi .btn:hover{
	border: 1px solid #9dc4d6;
	background: #1e7dbf url('../../css/buttons/images/ui-bg_flat_100_1e7dbf_40x100.png') 50% 50% repeat-x; 
	font-weight: bold; 
	color: #ffffff; 
}