/*  cBB Editor StyleSheet
    --------------------------------------------------------------
	Style:	All
	Copyright (c) 2019 CaniDev ( https://www.canidev.com )
    --------------------------------------------------------------
*/

.bbcode-media-container {
	display: inline-block;
}

.bbcode-media-container,
.bbcode-media-container > iframe,
.bbcode-media-container > embed {
	max-width: 100%;
}

.content sub {
	font-size: smaller;
    vertical-align: sub;
}

.content sup {
	font-size: smaller;
    vertical-align: sub;
}

.fadeEffect {
    -webkit-animation: fade 2s infinite;
    -moz-animation: fade 2s infinite;
    animation: fade 2s infinite
}

@-webkit-keyframes fade {
    50% { opacity: 0 }
}

@-moz-keyframes fade {
    50% { opacity: 0 }
}

@keyframes fade {
    50% { opacity: 0 }
}

.spoilwrapper {
	margin: 1em 0;
    font-weight: normal;
    padding: 4px 10px;
    background-color: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 4px;
    color: #333;
}

.spoiltitle {
	padding: 2px 5px;
    text-transform: uppercase;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    display: block;
    cursor: pointer;
    color: #333;
}

.spoilcontent {
	color: #333;
    padding: 5px;
    border-top: 1px solid #ccc;
    display: none;
}

body.sceditor-body .spoilcontent {
	display: block;
}

.hiddenbox {
	color: #2f4f2f;
    position: relative;
    margin: 5px 0;
    font-weight: 400;
    padding: 39px 19px 14px;
    background-color: #c5e3bf;
    border: 1px solid #72B173;
    border-radius: 4px;
}

.hiddenbox:before {
	content: attr(data-title);
	display: block;
    position: absolute;
    top: -1px;
    left: -1px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    font-size: 12px;
    padding: 5px 12px;
    border: 1px solid #72B173;
    border-radius: 4px 0;
}

.hiddenbox.hidden-alert,
.hiddenbox.hidden-alert:before {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #80001c;
}

.offtopicbox {
	position: relative;
    margin: 1em 0;
    padding: 39px 19px 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.offtopicbox:before {
	content: attr(data-title);
	display: block;
	position: absolute;
    top: -1px;
    left: -1px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 12px;
    color: #9da0a4;
    background: #f5f5f5;
    padding: 5px 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 4px 0;
}

.tablebox,
table[data-bbcode="table"] {
	width: 100%;
}

.tablebox td,
table[data-bbcode="table"] td {
	border: 1px solid #c3c3c3;
	padding: 4px;
}

blockquote.twitter-tweet {
	background: none;
	display: inline-block;
	font-family: "Helvetica Neue", Roboto, "Segoe UI", Calibri, sans-serif;
	font-size: 12px;
	font-weight: bold;
	line-height: 16px;
	border-color: #eee #ddd #bbb;
	border-radius: 5px;
	border-style: solid;
	border-width: 1px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
	margin: 10px 5px;
	padding: 0 16px 16px 16px;
	max-width: 468px;
}

blockquote.twitter-tweet p {
	font-size: 16px;
	font-weight: normal;
	line-height: 20px;
}

blockquote.twitter-tweet a {
	color: inherit;
	font-weight: normal;
	text-decoration: none;
	outline: 0 none;
}

blockquote.twitter-tweet a:hover,
blockquote.twitter-tweet a:focus {
	text-decoration: underline;
}

.marquee {
    white-space: nowrap;
    overflow: hidden;
}

.marquee > .marquee-inner {
    display: inline-block;
	line-height: 1.8em;
    padding-left: 100%;
    text-indent: 0;
}

.marquee[data-direction="left"] > .marquee-inner {
	-webkit-animation: marquee-left 15s linear infinite;
	-moz-animation: marquee-left 15s linear infinite;
	animation: marquee-left 15s linear infinite;
}

.marquee[data-direction="right"] > .marquee-inner {
	-webkit-animation: marquee-right 15s linear infinite;
	-moz-animation: marquee-right 15s linear infinite;
	animation: marquee-right 15s linear infinite;
}

.marquee > .marquee-inner:hover {
    -webkit-animation-play-state: paused;
	-moz-animation-play-state: paused;
	animation-play-state: paused;
}

@-webkit-keyframes marquee-left {
    0%   { -webkit-transform: translate(0, 0); }
    100% { -webkit-transform: translate(-100%, 0); }
}

@-moz-keyframes marquee-left {
    0%   { -moz-transform: translate(0, 0); }
    100% { -moz-transform: translate(-100%, 0); }
}

@keyframes marquee-left {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

@-webkit-keyframes marquee-right {
    0%   { -webkit-transform: translate(-100%, 0); }
    100% { -webkit-transform: translate(0, 0); }
}

@-moz-keyframes marquee-right {
    0%   { -moz-transform: translate(-100%, 0); }
    100% { -moz-transform: translate(0, 0); }
}

@keyframes marquee-right {
    0%   { transform: translate(-100%, 0); }
    100% { transform: translate(0, 0); }
}

/* Dark Themes
------------------------- */
@media screen {
	.dark-theme .spoilwrapper {
		background-color: #252525;
		border-color: #404040;
	}

	.dark-theme .spoilcontent {
		border-color: #404040;
	}

	.dark-theme .spoiltitle,
	.dark-theme .spoilcontent {
		color: #ccc;
	}

	.dark-theme .hiddenbox {
		color: #ccc;
		background-color: #83967f;
	}

	.dark-theme .hiddenbox,
	.dark-theme .hiddenbox:before {
		border-color: #315432;
	}

	.dark-theme .offtopicbox {
		background-color: #424242;
		border-color: #737373;
	}

	.dark-theme .offtopicbox:before {
		color: #dcdcdc;
		background-color: #696969;
		 border-color: #737373;
	}

	.dark-theme .tablebox td,
	.dark-theme .content table td {
		border-color: #676767;
	}
}
