body.beamerAnnouncementBarTopActive{
	padding-top: 55px;
	transition: all 0.3s ease-in-out;
}

body.beamerAnnouncementBarBottomActive{
	padding-bottom: 55px;
	transition: all 0.3s ease-in-out;
}

.beamerAnnouncementBar {
	background: #000000;
	width: 100%;
	max-width: 100vw;
	height: 55px;
	border: none;
	display: block;
	display: flex;
	flex-wrap: nowrap;
	left: 0;
	z-index: 99999;
	position: absolute;
	opacity: 0;
 	transition: all 0.3s ease-in-out;
 	background-color: #0099ff;
 	color: white;
 	-webkit-font-smoothing: antialiased;
	font-family: 'Lato', sans-serif;
}

	.beamerAnnouncementBarTag {
		padding: 20px;
		font-weight: 700;
		background: rgba(0,0,0,0.2);
		min-width: 100px;
		max-width: 30%;
		text-align: center;
		position: relative;
		white-space: nowrap;
		font-size: 14px;
		text-transform: uppercase;
		width: auto;
	}

		.beamerAnnouncementBarTag span {
			display: inline-block;
			width: auto;
			max-width: calc(100% + 14px);
			overflow: hidden;
			white-space: nowrap;
			text-overflow: ellipsis;
			line-height: initial !important;
		}

		.beamerAnnouncementBarTag:after {
			content: "";
			width: 0;
			height: 0;
			border-style: solid;
			border-width: 15px 0 15px 12px;
			border-color: transparent transparent transparent rgba(0,0,0,0.2);
			position: absolute;
			right: -12px;
			top: 50%;
			transform: translateY(-50%);
		}

.beamerAnnouncementBar.beamerAnnouncementBarTop {top: -55px;}
.beamerAnnouncementBarTopActive .beamerAnnouncementBar.beamerAnnouncementBarTop {top: 0; opacity: 1;}

.beamerAnnouncementBar.beamerAnnouncementBarBottom {bottom: -55px;}
.beamerAnnouncementBarBottomActive .beamerAnnouncementBar.beamerAnnouncementBarBottom {bottom: 0; opacity: 1;}

.beamerAnnouncementBar .beamerAnnouncementBarContent {
	display: block;
	text-align: center;
	vertical-align: middle;
	height: 100%;
	width: 100%;
	position: relative;
	flex-grow: 3;
	padding: 0 40px;
}

.beamerAnnouncementBar:hover {cursor: pointer;}

.beamerAnnouncementBar > div {position: relative; z-index: 2;}

.beamerAnnouncementBar:after {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
	background: rgba(0,0,0,0);
	transition: inherit;
}

.beamerAnnouncementBar:hover:after {background: rgba(0,0,0,0.1);}

.beamerAnnouncementBar .beamerAnnouncementBarContent .beamerAnnouncementBarText {
	font-size: 18px;
	display: inline-block;
	height: 100%;
    line-height: 55px;
	max-width: 70%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: middle;
	padding: 0 10px;
}

.beamerAnnouncementBar .beamerAnnouncementBarContent .beamerAnnouncementBarButton {
	font-size: 15px;
    display: inline-block;
    box-sizing: content-box;
    background: rgba(255,255,255,0.75);
    margin: 0 0 0 20px;
    padding: 12px 10px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: #0c99fe;
	max-width: 20%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: middle;
	line-height: 1;
	height: 13px;
}

.beamerAnnouncementBar .beamerAnnouncementBarContent .beamerAnnouncementBarButton.longText {
    position: relative;
    padding: 0;
    width: 33px;
    height: 33px;
    margin-left: 10px;
    text-align: center;
}

.beamerAnnouncementBar .beamerAnnouncementBarContent .beamerAnnouncementBarButton.longText>div {
	width: 14px;
    height: 33px;
    margin-left: 3px;
    display: inline-block;
    background-color: #0099ff;
	-webkit-mask: url("") no-repeat 50% 50%;
    mask: url("") no-repeat 50% 50%;
    -webkit-mask-size: cover;
    mask-size: cover;
}

.beamerAnnouncementBar .beamerAnnouncementBarContent .beamerAnnouncementBarButton.longText>span {
	display: none;
}

.beamerAnnouncementBar .beamerAnnouncementBarContent .beamerAnnouncementBarClose {
    height: 20px;
    width: 20px;
    position: absolute;
    right: 16px;
    top: 16px;
}

.beamerAnnouncementBar .beamerAnnouncementBarContent .beamerAnnouncementBarClose svg {
	fill: #fff;
}

.beamerAnnouncementBar .beamerAnnouncementBarContent .beamerAnnouncementBarClose:hover {
    opacity: 0.7;
}

.beamerAnnouncementBar .beamerAnnouncementBarCategory {
	display: inline-block;
    padding: 3px 6px;
    margin-top: -3px;
    margin-right: 5px;
    max-width: 130px;
    font-size: 13px;
    color: #fff;
    border-right: 1px solid #ffffffc9;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.beamerAnnouncementBar .beamerAnnouncementBarWatermark {
	position: absolute;
    right: 16px;
    bottom: 2px;
}

.beamerAnnouncementBar .beamerAnnouncementBarWatermark .beamerAnnouncementBarWatermarkLink {
	color: white;
	font-size: 12px;
	text-decoration: none;
}

.beamerAnnouncementBar .beamerAnnouncementBarWatermark .beamerAnnouncementBarWatermarkLink:hover {
	text-decoration: underline;
	cursor: pointer;
}

.beamerAnnouncementPopup {
	display: block;
	z-index: 99999;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 700px;
	height: 90%;
	background: transparent;
	border: none;
	transition: all 0.2s ease-in-out;
	color-scheme: auto !important; /* Ensures iframe uses the default background. */
}

.beamerAnnouncementPopupContainer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	border: none;
	background: #00000024;
	display: block;
	margin: 0 auto;
	z-index: 99998;
	opacity: 0;
	transition: all 0.2s ease-in-out;
}

.beamerAnnouncementPopupContainer.beamerAnnouncementPopupActive {opacity: 1;}


.beamerAnnouncementSnippet {
	font-family: 'Lato', sans-serif;
	display: block;
	display: flex;
	position: fixed;
	background: white;
	width: 354px;
    height: auto;
    max-height: 128px;
	bottom: 20px;
	left: -360px;
	z-index: 2147483647;
	box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.1);
	border-radius: 3px;
	transition: box-shadow .25s ease, left .5s ease;
}

	.beamerAnnouncementSnippet.active {left: 20px;}
	.beamerAnnouncementSnippet.cheer {
		-webkit-animation: beamer_bounce 1.5s linear infinite;
		animation: beamer_bounce 1.5s linear infinite;
	}

		/* Top */
		.beamerAnnouncementSnippet.top {bottom: auto; top: 20px;}

		/* right */
		.beamerAnnouncementSnippet.right {
			left: auto;
			right: -360px;
			transition: box-shadow .25s ease, right .5s ease;
		}
			.beamerAnnouncementSnippet.right.active {left: auto; right: 20px;}

	.beamerAnnouncementSnippet:hover {
		cursor: pointer;
		box-shadow: 1px 1px 4px 0 rgba(0,0,0,.6);
	}

.beamerAnnouncementSnippetThumb {
	display: inline-block;
	height: inherit;
	width: 100%;
	padding: 0;
	vertical-align: middle;
	max-width: 115px;
	min-width: 100px;
	border-right: 1px solid rgba(0,0,0,0.1);
}

.beamerAnnouncementSnippetThumb img {
	display: block;
	height: 100%;
	width: 100%;
	object-fit: cover;
	overflow: hidden;
	border-radius: 3px 0 0 3px;
	min-height: 90px;
}

.beamerAnnouncementSnippetContent {
	padding: 10px;
	vertical-align: top;
	text-align: right;
	flex-grow: 1;
	overflow: hidden;
	max-height: 128px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.beamerAnnouncementSnippetTitle {
    max-width: calc(100% - 12px);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
	word-break: break-word;
	overflow: hidden;
	line-height: 1.3;
	color:#1c1E21;
}

.beamerAnnouncementSnippetText {
	padding: 6px 0;
	color: #848484;
	font-size: 13px;
	line-height: 1.2;
	text-align: left;
	max-height: 92px;}

	.beamerAnnouncementSnippetText:empty {padding: 0;}

.beamerAnnouncementSnippetLink {
	display: block;
	font-size: 12px;
	text-align: left;
	color: #3d50e0;
}

.beamerAnnouncementSnippetClose {
	position: absolute;
	transform: rotate(45deg);
	font-size: 24px;
	top: -4px;
	right: 4px;
	font-weight: normal;
	color: rgba(0,0,0,0.2);
	transition: color .25s ease;
}

.beamerAnnouncementSnippetClose:hover {
	cursor: pointer;
	color: rgba(0,0,0,0.6);
}

.beamerAnnouncementSnippetWatermark .beamerAnnouncementSnippetWatermarkLink {
	color: #3d50e0;
	font-size: 13px;
	text-decoration: none;
}

.beamerAnnouncementSnippetWatermark .beamerAnnouncementSnippetWatermarkLink:hover {
	text-decoration: underline;
	cursor: pointer;
}

.beamerAnnouncementBarWatermark .beamerAnnouncementBarWatermarkLink:before, .beamerAnnouncementSnippetWatermark .beamerAnnouncementSnippetWatermarkLink:before {
	content: "";
    display: inline-block;
    vertical-align: middle;
    height: 12px;
    width: 12px;
    margin-top: -1px;
    margin-right: 3px;
    -webkit-mask: url("") no-repeat 50% 50%;
    mask: url("") no-repeat 50% 50%;
    -webkit-mask-size: cover;
    mask-size: cover;
}

.beamerAnnouncementBarWatermark .beamerAnnouncementBarWatermarkLink:before {
	background-color: white;
}

.beamerAnnouncementSnippetWatermark .beamerAnnouncementSnippetWatermarkLink:before {
    background-color: #3d50e0;
}

@media all and (max-width: 800px) {
	.beamerAnnouncementSnippet{
		width: 100%;
		left: 0;
		bottom: -128px;
		transition: box-shadow .25s ease, bottom .5s ease;
	}

	.beamerAnnouncementSnippet.active {
   		bottom: 0;
   		left: 0;
	}

	.beamerAnnouncementBarTag {
    	display: none;
	}

	.beamerAnnouncementSnippet .beamerAnnouncementSnippetClose {
		font-size: 30px;
	}

	.beamerAnnouncementBar .beamerAnnouncementBarContent .beamerAnnouncementBarText{
		width: 100%;
		max-width: none;
    	height: auto;
/*    	max-height: 38px;*/
    	font-size: 15px;
		white-space: normal;
		line-height: normal;
	}

	.beamerAnnouncementBar .beamerAnnouncementBarContent{
		display: flex;
		width: calc(100% - 40px);
		padding: 0 40px;
		align-items: center;
	}

	.beamerAnnouncementBar .beamerAnnouncementBarContent .beamerAnnouncementBarButton {
	    position: relative;
	    padding: 0;
	    width: 33px;
	    height: 33px;
	    margin-left: 10px;
	    text-align: center;
	}

	.beamerAnnouncementBar .beamerAnnouncementBarContent .beamerAnnouncementBarButton>div {
		width: 14px;
	    height: 33px;
	    margin-left: 3px;
	    display: inline-block;
		-webkit-mask: url("") no-repeat 50% 50%;
	    mask: url("") no-repeat 50% 50%;
	    -webkit-mask-size: cover;
	    mask-size: cover;
	}

	.beamerAnnouncementBar .beamerAnnouncementBarContent .beamerAnnouncementBarButton>span {
		display: none;
	}

	.beamerAnnouncementBar .beamerAnnouncementBarWatermark {
	    position: absolute;
	    left: 0;
	    bottom: -10px;
	    width: 100%;
	    padding: 3px 0;
	    text-align: right;
	    border-radius: 0 0 0 3px;
	}

	.beamerAnnouncementBar .beamerAnnouncementBarWatermark .beamerAnnouncementBarWatermarkLink {
	    margin-right: 20px;
	}

	.beamerAnnouncementPopup {
		width: 90%;
		max-height: 90%;
	}
}

/* Themes --------------------------------------------------------------------------------------- */
	.beamerAnnouncementBarTop.themed {
		background-position: top right top;
		background-size: contain;
	}
	.beamerAnnouncementBarTop.themed.theme-xmas {
		background-color: #ff1d54;
		background-image: url("");
		background-repeat: no-repeat;
	}
	.beamerAnnouncementBarTop.themed.theme-4july {
		background-color: #5388d4;
		background-image: url("");
		background-repeat: no-repeat;
	}
	.beamerAnnouncementBarTop.themed.theme-hanukkah {
		background-color: #09b3f1;
		background-image: url("");
		background-repeat: no-repeat;
	}
	.beamerAnnouncementBarTop.themed.theme-halloween {
		background-color: #e58935;
		background-image: url("");
		background-repeat: no-repeat;
	}
	.beamerAnnouncementBarTop.themed.theme-newyear {
		background-color: #413e7c;
		background-image: url("");
		background-repeat: no-repeat;
	}
	.beamerAnnouncementBarTop.themed.theme-thanksgiving {
		background-color: #d4a553;
		background-image: url("");
		background-repeat: no-repeat;
	}
	.beamerAnnouncementBarTop.themed.theme-blackfriday {
		background-color: #fdb51a;
		background-image: url("");
		background-repeat: no-repeat;
	}
	.beamerAnnouncementBarTop.themed.theme-cybermonday {
		background-color: #34f1a3;
		background-image: url("");
		background-repeat: no-repeat;
	}
	.beamerAnnouncementBarTop.themed.theme-covid {
		background-color: #34d8f1;
		background-image: url("");
		background-repeat: no-repeat;
	}
	.beamerAnnouncementBarTop.themed.theme-poppy {
		background-color: #d45353;
		background-image: url("");
		background-repeat: no-repeat;
	}
	.beamerAnnouncementBarTop.themed.theme-cancer {
		background-color: #ff6db1;
		background-image: url("");
		background-repeat: no-repeat;
	}
	.beamerAnnouncementBarTop.themed.theme-dark {
		background-color: #0d0f0f;
		background-image: url("");
		background-repeat: no-repeat;
	}

/* RTL ------------------------------------------------------------------------------------------- */

	/* Popup */
	.popup.rtl .popupContainer .feature {text-align: right; direction: rtl;}
	.popup.rtl .feature.boostedAnnouncementPopup .featureTitle {margin: 0 0 12px 20px;}
	.popup.rtl .feature.boostedAnnouncementPopup .category {margin: 0 5px 0 0;}

		.popup.rtl .feature.hasShare .featureDate {right: -5px;}
		.popup.rtl .social.featureControl {left: 0; position: absolute;}

	/* Topbar */
	.rtl.beamerAnnouncementBar {flex-direction: row-reverse;}
	.rtl.beamerAnnouncementBar .beamerAnnouncementBarTag:after {right: auto; transform: translateY(-50%) rotate(180deg); left: -12px;}
	.rtl.beamerAnnouncementBar .beamerAnnouncementBarContent .beamerAnnouncementBarClose {right: auto; left: 16px;}

	/* Snippet */
	.rtl.beamerAnnouncementSnippet {direction: rtl; /*flex-direction: row-reverse;*/}
	.rtl.beamerAnnouncementSnippet .beamerAnnouncementSnippetTitle,
	.rtl.beamerAnnouncementSnippet .beamerAnnouncementSnippetText {text-align: right; direction: rtl;}
	.rtl.beamerAnnouncementSnippet .beamerAnnouncementSnippetClose {right: auto; left: 8px; top: -4px; direction: rtl;}
	.rtl.beamerAnnouncementSnippet .beamerAnnouncementSnippetThumb {margin-right: -1px;}
	.rtl.beamerAnnouncementSnippet .beamerAnnouncementSnippetThumb img {border-radius: 0 3px 3px 0;}

	/* Tooltip */
	#beamerLastPostTitle.rtl {display: flex; flex-direction: row-reverse; align-items: center;}
	#beamerLastPostTitle.rtl .beamerTitle {direction: rtl; text-align: right;}
	#beamerLastPostTitle.rtl .beamerCategory {margin: 0 0 0 6px;}
	#beamerLastPostTitle.rtl .beamerClose {margin: 0 4px 0 0;}

/* Weird Safari Fullscreen fix */
iframe.safari:-webkit-full-screen {
	-webkit-transform: none !important;
	transform: none !important;
	height: 100vh !important;
}
