/* @override http://birmingham-rep.devspace.net/mmlib/css/birmingham-rep/pagecurl-announcement.css */

/* @group Styling */

.media img {
	width: 99%;
	height: auto;
	border: 1px solid #ccc;
}

div.pagecurl-announcement {
	position: fixed;
	width: 100%;
	z-index: 255;
	background: rgb(0,0,0);
	background: rgba(0,0,0,0.85);
	border-right: 2px solid white;
	background-image: url(/mmlib/images/birmingham-rep/bg-takeover.png);
	background-repeat: repeat-y;
	background-position: 0 0;
	left: -383px;
	width: 380px;
	top: 0;
	bottom: 0;
	-webkit-transition: all 350ms cubic-bezier(0.420, 0.000, 0.580, 1.000); 
    -moz-transition: all 350ms cubic-bezier(0.420, 0.000, 0.580, 1.000); 
    -ms-transition: all 350ms cubic-bezier(0.420, 0.000, 0.580, 1.000); 
    -o-transition: all 350ms cubic-bezier(0.420, 0.000, 0.580, 1.000); 
    transition: all 350ms cubic-bezier(0.420, 0.000, 0.580, 1.000);
}


div.pagecurl-announcement.visible {
	left: 0;
}

div.pagecurl-announcement .inner {
	margin: 0 auto;
	width: 80%;
	overflow: hidden;
	padding: 12px 0;
	position: relative;
}

div.pagecurl-announcement.visible .inner {

}

div.pagecurl-announcement .inner .body {
	color: #fff;
}

div.pagecurl-announcement .inner h3 {
	color: #fff;
	font-size: 2.2em;
	line-height: 1em;
}

div.pagecurl-announcement .media {
	width: 100%;
}

div.pagecurl-announcement .tab,
div.pagecurl-announcement .tab:active {
	position: absolute;
	background-color: #449c15;
	border-top: 0;
	padding: 9px 12px;
	line-height: normal;
	right: -86px;
	color: #fff;
	font-weight: bold;
	font-size: 14px;
	cursor: pointer;
	border-radius: 0 0 6px 6px;
	width: 110px;
	text-align: center;
	top: 120px;
	box-shadow: 0 2px 2px rgba(0,0,0,0.5);
}

.csstransforms div.pagecurl-announcement .tab,
.csstransforms div.pagecurl-announcement .tab:active {
	transform:rotate(-90deg);
	-ms-transform:rotate(-90deg); /* IE 9 */
	-webkit-transform:rotate(-90deg); /* Safari and Chrome */
	-moz-transform:rotate(-90deg); /* Mozilla */
	-o-transform:rotate(-90deg); /* Safari and Chrome */	
}

div.pagecurl-announcement .tab:hover,
div.pagecurl-announcement.visible .tab,
div.pagecurl-announcement.visible .tab:hover {
	-webkit-animation: none;
	-moz-animation: none;
	-o-animation: none;
	animation: none;
	background-color: #fff;
	color: #333;
}

a.call-to-action:link,
a.call-to-action:visited {
	color: #fff;
}

/* @end */

/* @group Animation */

@-webkit-keyframes tab-pulse {	
from {	background-color: #449c15;}
	to {background-color: #6aed23;}
}

@-moz-keyframes tab-pulse {	
from {	background-color: #449c15;}
	to {background-color: #6aed23;}
}

@-o-keyframes tab-pulse {	
from {	background-color: #449c15;}
	to {background-color: #6aed23;}
}

@keyframes tab-pulse {	
from {	background-color: #449c15;}
	to {background-color: #6aed23;}
}


div.pagecurl-announcement .tab {
/*animation-name*/
-webkit-animation-name:tab-pulse;
   -moz-animation-name:tab-pulse;
    -ms-animation-name:tab-pulse;
     -o-animation-name:tab-pulse;
        animation-name:tab-pulse;
/*animation-duration*/
-webkit-animation-duration:0.5s;
   -moz-animation-duration:0.5s;
    -ms-animation-duration:0.5s;
     -o-animation-duration:0.5s;
        animation-duration:0.5s;
/*animation-timing-function*/
-webkit-animation-timing-function:linear;
   -moz-animation-timing-function:linear;
    -ms-animation-timing-function:linear;
     -o-animation-timing-function:linear;
        animation-timing-function:linear;
/*animation-iteration-count*/
-webkit-animation-iteration-count:infinite;
   -moz-animation-iteration-count:infinite;
    -ms-animation-iteration-count:infinite;
     -o-animation-iteration-count:infinite;
        animation-iteration-count:infinite;
/*animation-direction*/
-webkit-animation-direction:alternate;
   -moz-animation-direction:alternate;
    -ms-animation-direction:alternate;
     -o-animation-direction:alternate;
        animation-direction:alternate;
}

/* @end */

@media only screen and (max-width: 767px) {
	div.pagecurl-announcement .tab,
	div.pagecurl-announcement .tab:active {
		font-size: 10px;
		padding: 6px 12px;
		width: 106px;
		right: -79px;
	}
	
	div.pagecurl-announcement {
		width: 280px;
		left: -283px;
	}
	
	div.pagecurl-announcement .inner .body  p{
		font-size: 12px;
	}
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	div.pagecurl-announcement {
		width: 420px;
		left: -423px;
	}
	div.pagecurl-announcement .media {
		display: none;
	}
}

