/* CSS for opinions and stories */

.os-box {
	position: relative;
	z-index: 2;
	text-align: center;
	padding-top: 30px;
}

.os-box-inner {
	background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
	border-radius: 9px;
	width: 0px;
	margin: 0 auto;
	background-color: rgba(0,0,0,0.18);
}

.is-mobile {
	overflow: hidden;
}

.close-button {
	z-index: 3;
	opacity: 0;
	position: absolute;
	width: 15px;
	height: auto;
	right: 5px;
	top: 5px;
}

.os-name {
	font-family: 'Avenir-Black', sans-serif;
	font-weight: 700;
	color: #FFFFFF;
	text-shadow: 0px 1px 4px rgba(0,0,0,0.50);
	font-size: 18px;
	padding: 2px 8px;
}

.os-video {
	width: 100%;
	height: 100%;
	border-radius: 4px;
	overflow: hidden;
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.speak-up {
	font-family: 'Avenir-Book', sans-serif;
	text-align: center;
	font-size: 20px;
	width: 100%;
}

.speak-up > * {
	width: 100%;
	padding: 6px;
}

.os-join {
	color: #000;
}

.os-download {
	background: #FF0000;
	border-radius: 100px;
	display: block;
	width: 100%;
	background-color: #FF2b1F;
	display: block;
	padding: 10px 0 8px;
}

/*.os-white-bg {
	z-index: -1;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}*/

/*.os-bottom-wrapper {
	position: absolute;
    top: 0;
    bottom: -200px;
    left: 0;
    right: 0;
    overflow: hidden;
    z-index: 1;
	background: -moz-linear-gradient(top,  transparent 95%,  #fff 95.1%); 
	background: -webkit-linear-gradient(top,  transparent 95%,  #fff 95.1%); 
	background: linear-gradient(to bottom,  transparent 95%,  #fff 95.1%); 
}

.os-bottom {
	position: absolute;
	z-index: -1;
	top: 70%;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #FFF;
}

.os-bottom:before{
	content: "";
	background: #FFF;
	height: 400px;
	transform: skewY(-10deg);
	position: absolute;
	left: -2100px;
	right: 0;
	z-index: -1;
}

.os-bottom:before{    
	top: -20px;    
}*/

.play-button-wrapper {
	z-index: 0;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.play-button {
	position: absolute;
	height: 200px;
	z-index: 2;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 10%;
	margin: auto;
	background-size: contain;
	/*noinspection CssUnknownTarget*/
	background: url('/images/play@2x.png') no-repeat center 0;
	transition: bottom 0.25s ease-in-out;
	-moz-transition: bottom 0.25s ease-in-out;
	-webkit-transition: bottom 0.25s ease-in-out;
}

.volume-button {
	z-index: 3;
	position: absolute;
	bottom: 30px;
	left: 30px;
	opacity: 0;
}

.fa-volume-off {
	left: -2px;
}

.fa-circle {
	color: rgba(0,0,0,0.65);
}

.os-text-outer {
	text-align: left;
	z-index: 2;
	width: 100%;
	margin-bottom: 14px;
	height: 128px;
	overflow: hidden;
	transition: height 0.25s ease-in-out;
	-moz-transition: height 0.25s ease-in-out;
	-webkit-transition: height 0.25s ease-in-out;

}

/*.os-source {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin-left: -1em;
	margin-right: -1em;
	padding: 0 1em 5px;
	background-color: rgba(0,0,0,1);

}

.os-source-title {
	font-size: 1.1em;
	padding-top: 5px;
	padding-bottom: 15px;
	text-align: center;
}

.source-wrapper {
	vertical-align: middle;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

.source-wrapper > img {
	padding: 0 2.5px;
	width: 100%;
	height: auto;
	border-radius: 6px;
	max-width: 106px;
	box-shadow: 0 1px 3px rgba(100,100,100,0.16), 0 2px 4px rgba(100,100,100,0.23);
}

.os-sources {
	margin: 0 auto;
	display: table;
	height: 100%;
	border-spacing: 10px;
	width: 100%;
	text-align: center;
}*/

.os-sources {
	margin-bottom: 10px;
	text-align: left;
}

.source-wrapper {
	padding: 4px;
	margin-right: 5px;
	font-family: 'Avenir-Black';
	font-size: 11px;
	color: #FFFFFF;
	letter-spacing: 0.5px;
}

.source-wrapper:nth-child(1) {
	background-color: #EC2F21;
}

.source-wrapper:nth-child(2) {
	background-color: #00AEEF;
}

.source-wrapper:nth-child(3) {
	background-color: #26A610;
}

.read-more {
	font-weight: bold;
	float: right;
	display: inline;
}

.os-headline-outer {
	width: 100%;
	display: table;
}

.os-headline {
	font-family: 'Avenir-Black';
	display: table-cell;
	width: 100%;
	font-weight: 700;
	font-size: 20px;
	line-height: 24px;
	letter-spacing: 0px;
	padding-bottom: .25em;
}

.os-angle {
	float: right;
	font-size: 1.5em;
	margin-left: 10px;
}

#osAngleDown {
	display: table-cell;
	text-align: right;
	width: 9%;
}

.os-text {
	font-family: 'Avenir-Book', sans-serif;
	overflow-x: hidden;
	overflow-y: scroll;
	width: 100%;
	position: relative;
	letter-spacing: 1px;
	line-height: 24px;
	font-weight: 300;
	font-size: 16px;
}

.os-overlay {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 1;
	padding-top: 20px;
	background-image: linear-gradient(rgba(0,0,0,0.00) 0%, rgba(0,0,0,0.00) 40%, rgba(0,0,0,0.82) 83%);
}

.os-lower {
	position: absolute;
	bottom: 17px;
	left: 13px;
	right: 13px;
	height: 220px;
	transition: height 0.25s ease-in-out;
	-moz-transition: height 0.25s ease-in-out;
	-webkit-transition: height 0.25s ease-in-out;
}

.os-text-overlay-top {
	display: none;
	position: absolute;
	height: 60px;
	left: 0;
	right: 0;
	top: 0;
	z-index: 999;
	width: 100%;
	background: -moz-linear-gradient(top,  rgba(0,0,0,1) 0%,  rgba(0,0,0,0) 100%); 
	background: -webkit-linear-gradient(top,  rgba(0,0,0,1) 0%,  rgba(0,0,0,0) 100%); 
	background: linear-gradient(to bottom,  rgba(0,0,0,1) 0%,  rgba(0,0,0,0) 100%); 
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0000000', endColorstr='#00000000',GradientType=0 );
}

.os-text-overlay {
	display: none;
	position: absolute;
	height: 60px;
	left: 0;
	right: 0;
	z-index: 999;
	width: 100%;
	background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%,  rgba(0,0,0,1) 100%); 
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,  rgba(0,0,0,1) 100%); 
	background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,  rgba(0,0,0,1) 100%); 
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0000000', endColorstr='#00000000',GradientType=0 );
}

/*.os-text-outer.expanded .os-text-overlay {
	display: block;
}

.os-text-outer.expanded .os-text {
	height: 100% !important;
	padding-bottom: 250px;
}
*/
.os-category {
	margin-top: 30px;
	font-family: 'Avenir-Black', sans-serif;
	z-index: 3;
	position: absolute;
	right: 0;
	top: 0;
	padding: 8px 40px;
	font-weight: bold;
	font-size: 13px;
}

.app-store-icon {
	height: 30px;
	width: auto;
	margin-left: -45px;
	padding-right: 15px;
	margin-top: -4px;
}

/* This used to work for parent element of button divs */

/* But it is not enough now, below dont hide play button parent div */

/*noinspection CssInvalidPseudoSelector*/
*::-webkit-media-controls-panel {
  display: none!important;
  -webkit-appearance: none;
}

/* Old shadow dom for play button */

/*noinspection ALL*/
*::--webkit-media-controls-play-button {
  display: none!important;
  -webkit-appearance: none;
}

/* New shadow dom for play button */

/* This one works */

/*noinspection CssInvalidPseudoSelector*/
*::-webkit-media-controls-start-playback-button {
  display: none!important;
  -webkit-appearance: none;
}

.is-mobile .header {
	display: none;
}

.is-mobile .os-box {
	padding: 0;
}

.is-mobile .speak-up {
	padding: 0;
}

.is-mobile .os-join {
	display: none;
}

.is-mobile .os-bottom-wrapper {
	display: none;
}

/*.is-mobile .tumbleweed-watermark {
	display: block;
}*/

.is-mobile .app-store-icon {
	margin-left: -15px;
}

/*.tumbleweed-watermark {
	display: none;
	top: -85px;
	right: 15px;
	position: absolute;
}

.is-mobile .expanded .tumbleweed-watermark {
	display: none;
}
*/
.is-mobile .os-video {
	border-radius: 0;
}

#osVid {
	margin-bottom: -5px;
	/*opacity: 0;*/
	z-index: -1;
}

@media (max-width: 400px) {
	.os-headline {
		font-size: 24px;
	}

	.source-wrapper > img {
		max-width: 100px;
	}
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    display: none;
}

.embeded {
	width: 705px;
	margin: 60px auto;
}

.embeded form {
	margin-bottom: 40px;
}

.embeded .story {
	padding: 7px;
	border: none;
	width: 550px;
}
.embeded .submit {
	float: right;
	padding: 7px;
	border: none;
	width: 140px;
	background-color: #2e92dc;
}