@font-face {
    font-family: Lato;
    src: url(font/Lato-Regular.ttf);
}

@font-face {
    font-family: Lato;
    src: url(font/Lato-Bold.ttf);
    font-weight: bold;
}


@font-face {
    font-family: Lato;
    src: url(font/Lato-Light.ttf);
    font-weight: 200;
}

html {
	height: 100%;
	width: 100%;
	overflow: hidden;
	}
	
body {
	width: 100%;
	background: #222;
	margin: 0;
	padding: 0;
	font-family: Lato;
	font-size: 15px;
	color: #555;
	}

p {
    display: block;
    margin-top: 0.8em;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
}

p.first {
    margin-top: 0;

}

a {
	text-decoration: none;
	color: #278AB6;
}

video {
  width: 100%    !important;
  height: 100%   !important;
}

video#bgvid, video#scrubbingvid, video#talkingvid, video#leadinvid {
    position: relative;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background-repeat: no-repeat;
    background-size: cover; 
    object-fit: cover;
}

video#bgvid, video#scrubbingvid, video#talkingvid {
    background-image: url('../assets/poster-waiting.jpg');
}

video#bgvid.mobile, video#scrubbingvid.mobile, video#talkingvid.mobile {
    background-image: url('../assets/poster-waiting.gif');
}

#preload {
	position: absolute;
	top: 1px;
	left: 1px;
	width: 1px;
	height: 1px;
	z-index: -100;
	overflow: hidden;
}

.preloadmini {
	width: 1px;
	height: 1px;
}

#phone {
	display: flex;
	flex-direction: column;
    width: 100%;
    height: 100%;
    margin-left: 0;
    margin-top: 0;
    top: 0;
    left: 0;
    max-height: none;
	background: #FFF;
	position: absolute;
	padding: 0;
	overflow: hidden;	
	}

#leftmenu {
	background-color: #111;
	position: absolute;
	width: 80%;
	height: 100%;
	z-index: 1;
	-webkit-box-shadow: inset -10px 0px 50px 0px rgba(0,0,0,1);
	-moz-box-shadow: inset -10px 0px 50px 0px rgba(0,0,0,1);
	box-shadow: inset -10px 0px 50px 0px rgba(0,0,0,1);
	overflow: hidden;
}

#menucontentwrapper {
	height: 100%;
	width: 100%;
	box-sizing: border-box;
	padding-bottom: 100px;
	overflow-y: scroll;
}

#menusignedin {
	width: 100%;
	height: 60px;
	background-color: #080808;
	position: absolute;
	bottom: 0;
	padding: 15px 25px;
	box-sizing: border-box;
	-webkit-box-shadow: 0px -5px 30px 0px rgba(0,0,0,0.4);
	-moz-box-shadow: 0px -5px 30px 0px rgba(0,0,0,0.4);
	box-shadow: 0px -5px 30px 0px rgba(0,0,0,0.4);
	border-top: 1px solid #000;
}

#avatar, #avatarsettings {
	width: 30px;
	height: 30px;
	background-repeat: no-repeat;
	background-size: contain;
}

#avatar {
	float: left;
	margin-right: 15px;
	background-image: url('../assets/avatar.png');
}

#avatarname {
	color: #CCC;
	font-size: 16px;
	font-weight: 200;
	float: left;
	margin-top: 6px;
}

#avatarsettings {
	float: right;
	background-image: url('../assets/avatarsettings.png');
	cursor: pointer;
}

#menulogo {
	width: 100%;
	height: 60px;
	margin-top: 40px;
	background-image: url('../assets/menulogo.png');
	background-repeat: no-repeat;
	background-position: center;
}

#menunav, #menuproject {
	width: 100%;
	box-sizing: border-box;
}

#menunav {
	font-weight: 200;
	font-size: 18px;
	color: #AAA;
	margin-top: 50px;
	padding: 0px 30px 0px 20px;
}

.menunavchild {
	padding-left: 10px;
	cursor: pointer;
	clear: both;
}

.menunavchild.scene {

}

.menunavchild:hover {
	color: #FFF;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.menunavchild.first {
	border-top: none;
	display: inline-block;
	width: 100%;
}

.menunavnewact {
	border-top: 1px solid #222;
	width: 100%;
	line-height: 2.5em;
	margin-top: 20px;
}

#menumypart {
	float: left;
	line-height: 1em;
	padding-bottom: 10px;
}

#menutodo {
	float: right;
	background-color: #36D1D4;
	border-radius: 100%;
	width: 25px;
	height: 25px;
	font-size: 14px;
	color: #111;
	font-weight: bold;
	text-align: center;
	margin-right: 8px;
	margin-top: -6px;
}

#menutodonum {
	line-height: 1em;
	margin-top: 6px;
	margin-left: 1px;
}


#menuproject {
	margin-top: 30px;
	text-align: center;
	padding: 0px 20px;
}

#menuprojectlabel, .menunavactname, #menunavmypart {
	text-transform: uppercase;
	font-size: 12px;
	font-weight: bold;
	color: #333;
}

.menunavactname {
	padding: 20px 10px 10px 10px;
	line-height: 1em;
}

#menuprojectname{
	font-weight: 200;
	font-size: 26px;
	color: #AAA;
	float: left;
}

#menunavmypart {
	padding-bottom: 15px;
}

#menuprojectnamewrapper {
	display: inline-block;
	padding-top: 3px;
	cursor: pointer;
}

#projectdropdown {
	width: 15px;
	height: 8px;
	background-image: url('../assets/projectdropdown.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	float: left;
	margin-top: 15px;
	margin-left: 10px;
}

#rightcontent {
	width: 100%;
	height: 100%;
	z-index: 2;
	background: #FFF;
	position: absolute;
	overflow: hidden;
	box-sizing: border-box;
}

#rightcontent.opened {
	overflow: hidden;
}

#topbar, #chat, #bottombar, #textbar, #keyboard, #currentscene {
	width: 100%;
	}

#topbar {
	height: 65px;
	background: #51126D;
	position: fixed;
	margin: 0;
	padding: 0;
	background-image: url('../assets/header.png');
	background-repeat: no-repeat!important;
	z-index: 100;
	text-align: center;
	}

#topbar.opened, .scenedivider.opened, #currentscene.opened {
	position: absolute;
	}


#purplebg {
	width: 100%;
	height: 0px;
	background: #51126D;
	position: absolute;
	top: 0;
	margin: 0;
	padding: 0;
	z-index: 10;
	}


#headertitle, #headerprojecttitle {
	margin-top: 30px;
	z-index: 20;
	font-size: 18px;
	color: #FFF;
	}

#headertitle {
	display: none;
	}

#headerprojecttitle {
	text-align: left;
	left: 55px;
	position: absolute;
	opacity: 0.85;
	}

#headertoggle {
	position: absolute;
	right: 10px;
	top: 25px;
	background-image: url('../assets/header_toggle_script.png');
	background-repeat: no-repeat;
	height: 35px;
	width: 146px;
	}

#headerback, #hamburger {
	position: absolute;
	left: 5px;
	top: 25px;
	height: 35px;
	width: 40px;
	cursor: pointer;
	}

#headerback {
	display: none;
	}

#togglescript, #togglevideo {
	height: 35px;
	position: absolute;
	right: 0;
	cursor: pointer;
	width: 73px;
	}

#togglescript {
	display:none;
	left: 0;
	}

#script, #video, #clippreview, #partqueue {
	margin-top: 65px;
	width: 100%;
	overflow-y: scroll;
	height: 100%;
	box-sizing: border-box;
	padding-bottom: 65px;
	}

#video, #clippreview, #partqueue, #recordflow {
	display: none;
}

#video {
	padding-bottom: 100px;
}

#clippreview, #partqueue {
	z-index: 100;
	background-color: #000;
	height: 100%;
	position: absolute;
	top: 0;
}

#clipwrapper {
	padding-top: 50%;
	margin-top: -25px;
}

#partqueue {
	background-color: #FFF;
}

.scenedivider {
	background: #36D1D4;
	padding: 12px 15px;
	font-size: 13px;
	font-weight: bold;
	color: #FFF;
	text-transform: uppercase;
	margin-top: 40px;
	margin-bottom: 5px;
	z-index: 15;
	box-sizing: border-box;
	width: 100%;
	}

.scenedivider.first {
	margin-top: 0px;
	}

#currentscene {
	z-index: 14;
	margin: 0;
	position: fixed;
	opacity: 0.9;
	}

#scene1  {
	z-index: 1000000;
	position: relative;
	}

.scriptrow {
	padding: 15px 15px 19px 17px;
	border-top: 1px solid #DDD;
	box-sizing: border-box;
	width: 100%;
	display: table;
	}

.scriptrow.first {
	border-top: 0;
	}

.scriptrow.top {
	margin-top: 42px;
	}

.lineswrapper {
	display: table-cell;
	padding-right: 25px;
	}

.character {
	color: #BBB;
	background: #FFF;
	font-size: 11px;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 8px;
	}

.character.selected {
	color: #FFF;
	background: #36D1D4;
	margin-left: -2px;
	padding: 3px 6px 3px 5px;
	display: inline-block;
}

.lines {
	line-height: 20px;
	display: table-row;
}

.record {
	width: 30px;
	max-width: 30px;
	height: 45px;
	min-height: 45px;
	display: table-cell;
	vertical-align: middle;
	cursor: pointer;
	background-repeat: no-repeat;
	background-position: 0px center;
}

.record.selected {
	background-image: url('../assets/record.png');
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.record.selected.disappear, .record.play.disappear {
	background-image: url('../assets/white.png');
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.record.play {
	background-image: url('../assets/play.png');
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
}

.graycirclewrapper{
	height: 30px;
	width: 30px;
	margin-top: -14px;
}

.graycircle {
	height: 0px;
	width: 0px;
	padding: 15px;
	overflow: hidden;
	text-align: center;
	border-radius: 100%;
	border: 1px solid #CCC;
	top: 0%;
	left: 0%;
	position: relative;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.graycircle:hover {
	border-color: #AAA;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}

.graycircle.closed {
	padding: 3px;
	margin-left: -3px;
	margin-top: -3px;
	top: 50%;
	left: 50%;
}

#videoprogresswrapper {
	background: #EAE5EC;
	padding: 25px 18px;
	height: 20px;
	border-bottom: 1px solid #DBCFDF;
	cursor: pointer;
	display: none;
}

#videoprogress {
	color: #333;
	font-size: 18px;
	margin-right: 15px;
}


#barimg {
	width: 208px;
	height: 24px;
	background-image: url('../assets/videoprogress.png');
	background-repeat: no-repeat;
	margin-right: 15px;
	font-size: 12px;
	color: #FFF;
	font-weight: bold;
	position: relative;
}

#percentcomplete {
	position: absolute;
	left: 95px;
	top: 4px;
}

#recordnext {
	margin-top: 2px;
	width: 12px;
	height: 18px;
	background-image: url('../assets/progressarrow.png');
	background-repeat: no-repeat;
	opacity: 0.3;
	float: right;
}

.floatleft {
	float: left;
}

.videoscenerow {
	padding: 25px 15px 15px 15px;
}

.videoscenetitle {
	font-size: 18px;
	margin-bottom: 15px;
}

.gray {
	color: #ccc;
}

.videowrapper {
	position: relative;
}

.videothumb {
	width: 100%;
	height: auto;
	min-height: 210px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	cursor: pointer;
}

#videothumb1 {
	background-image: url('../assets/poster-scene1_1.jpg');
}

#videothumb2 {
	background-image: url('../assets/poster-scene2_1.jpg');
}

#videothumb3 {
	background-image: url('../assets/poster-scene3_1.jpg');
}

.videoplay {
	width: 100px;
	height: 100px;
	z-index: 10;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -50px;
	margin-top: -50px;
	background-image: url('../assets/videoplay.png');
	background-repeat: no-repeat;
	cursor: pointer;
}

.scenethumbstrip {
	height: 25px;
	margin-top: 15px;
	background-repeat: no-repeat;
}

#thumbstrip1 {
	background-image: url('../assets/scenethumbstrip.png');
}

#thumbstrip2 {
	background-image: url('../assets/scenethumbstrip2.png');
}

#thumbstrip3 {
	background-image: url('../assets/scenethumbstrip3.png');
}

#blackoutwrapper {
	position: absolute;
	height: 100%;
	width: 100%;
	z-index: 25;
	display: none;
	margin-top: -65px;
}

#blackout{
	position: absolute;
	height: 100%;
	width: 100%;
	z-index: 25;
	background: #FFF;
	display: none;
}


#thumbanim {
	position: absolute;
	z-index: 30;
	height: 210px;
	background-size: cover;
	background-position: center;
}

#playvideo {
	height: 100%;
	background: #000;
	box-sizing: border-box;
	padding-bottom: 230px;
	opacity: 0;
}

.vidparent {
	height: 100%;
}

#playalongwrapper {
	display: none;
	width: 100%;
	background: #FFF;
	font-size: 12px;
	z-index: 100;
	max-height: 295px;
	position: absolute;
	bottom: -295px;

}

.playalong {
	width: 100%;
	overflow-y: scroll;
	max-height: 245px;
	display: none;
}

#playalongtoolbar, #previewcliptoolbar, #reviewcliptoolbar {
	height: 50px;
	background: #278AB6;
	width: 100%;
	min-height: 50px;
}

#previewcliptoolbar, #reviewcliptoolbar {
	text-align: center;
	color: #FFF;
	font-weight: bold;
	line-height: 50px;
	bottom: -50px;
	position: absolute;
	z-index: 1001;
}

#rerecordbutton {
	cursor: pointer;
}

.toolbarbutton {
	width: 30px;
	height: 30px;
	position: absolute;
	left: 10px;
	top: 10px;
	cursor: pointer;
	background-image: url('../assets/toolbar_pause.png');
}

#reviewplay {
	background-image: url('../assets/toolbar_play.png');
}

#reviewpublish {
	position: absolute;
	right: 15px;
	cursor: pointer;
}

#hidebutton {
	left: initial;
	right: 15px;
	background-image: url('../assets/toolbar_hide.png');
}

.playalongrow {
	padding: 17px 15px;
	color: #BBB;
	position: relative;
	border: 2px solid #FFF;
	border-bottom: 1px solid #DDD;
	cursor: pointer;
	;
}

.playalongrow.selected, .playalongrow.played {
	border: 2px solid #36D1D4;
	color: #333;
}

.playalongprogress {
	width: 6px;
	height: 0px;
	position: absolute;
	left 0;
	margin-left: -17px;
	margin-top: -19px;
	padding-bottom: 4px;
}

.playalongprogress.selected, .playalongprogress.played {
	background: #36D1D4;
}


#recordflow {
	background-color: #000;
	height: 100%;
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	position: absolute;
}

#bgvidwrapper, #scrubbingvideo, #talkingvideo, #clipleadin {
	position: relative;
	bottom: 0%;
	left: 0%;
	height: 100%;
	width: 100%;
	overflow: hidden;
	background: #000;
}

#scrubbingvideo, #talkingvideo {
	position: absolute;
	z-index: 100;
	display: none;
}

#talkingvideo {
	z-index: 98;
}

#talkingvid {
    background-image: url('../assets/poster-talking.jpg');
    background-repeat: no-repeat;
    background-size: cover; 
}

#recordtoolbar {
	width: 100%;
	height: 100px;
	position: absolute;
	bottom: 0;
	background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0) 1%, rgba(0,0,0,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 1%,rgba(0,0,0,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 1%,rgba(0,0,0,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
	z-index: 1000;
}

#recordbutton {
	width: 64px;
	height: 64px;
	cursor: pointer;
	position: absolute;
	bottom: 20px;
	left: 50%;
	margin-left: -32px;
}

#recordbutton_ring {
	width: 64px;
	height: 64px;
	background-image: url('../assets/camera_record.png');
}

#recordtimer {
	width: 40px;
	height: 20px;
	font-size: 14px;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -20px;
	margin-top: -10px;
	color: #FFF;
	z-index: 100;
	display: none;
}

#recordbuttonpulse {
	border-radius: 50%;
	background-color: #C00E4B;
	height: 46px;
	width: 46px;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -23px;
	margin-top: -23px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#recordbuttonpulse:hover {
	background-color: #AC0C43;
}

#cameraflipbutton, #cameralinesbutton {
	width: 32px;
	height: 24px;
	cursor: pointer;
	position: absolute;
	bottom: 40px;
}

#cameraflipbutton {
	background-image: url('../assets/camera_flip.png');
	right: 35px;
}

#cameralinesbutton {
	background-image: url('../assets/camera_lines.png');
	height: 28px;
	left: 35px;
	bottom: 38px;
}

#cameralinesbutton.opened {
	background-image: url('../assets/camera_lines_hide.png');
}


#scriptlines {
	position: absolute;
	bottom: 80px;
	width: 86%;
	padding: 0 7%;
	min-height: 50px;
	color: #FFF;
	font-size: 20px;
	font-weight: 100;
	display: none;
	line-height: 26px;
	opacity: 0;
	z-index: 20000;

}

#recordtimerwrapper {
	text-align: center;
	color: #FFF;
	width: 150px;
	height: 80px;
	position: absolute;
	bottom: 110px;
	left: 50%;
	margin-left: -75px;
	display: none;
	opacity: 0;
	z-index: 21000;
}

#recordtimerbottom {
	font-size: 50px;
}

#clipleadin {
	width: 180px;
	height: 135px;
	position: absolute;
	bottom: -40px;
	left: 50%;
	margin-left: -90px;
	opacity: 0;
	z-index: 21000;
	display: none;
}

#cliptimelinewrapper {
	margin: 0 5%;
	width: 90%;
	height: 50px;
	position: absolute;
	bottom: 25px;
	display: none;
	border-radius: 5px;
	background-image: url('../assets/cliptimeline50.png');
	background-repeat: repeat-x;
	z-index: 1000;
	opacity: 0;
}

#cliptimeline {
	width: 100%;
	height: 100%;
	float: left;
	background-image: url('../assets/cliptimeline.jpg');
	background-repeat: repeat-x;
}

.grabber {
	width: 8px;
	background: #FFF;
	margin-top: -7px;
	padding-bottom: 14px;
	height: 100%;
	z-index: 1001;
}

#grabberleft {
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	float: left;
	margin-left: -8px;
}

#grabberright {
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	float: right;
	margin-right: -8px;
}

#scrubline {
	position: absolute;
	left: 0;
	height: 74px;
	width: 11px;
	margin-top: -25px;
	margin-left: -4px;
	background-image: url('../assets/scrubline.png');
	background-repeat: no-repeat;
}


#publishbutton {
	width: 120px;
	padding: 15px 0;
	background-color: #278AB6;
	color: #FFF;
	font-size: 14px;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	position: absolute;
	left: 50%;
	bottom: 25px;
	margin-left: -60px;
	display: none;
	z-index: 1000;
}

#clipreviewplay {
	display: none;
	z-index: 1001;
	opacity: 0.2;
}

#uploadprogresswrapper {
	display: none;
}

#uploadprogress {
	position: absolute;
	width: 75%;
	height: 8px;
	left: 5%;
	background-color: rgba(255,255,255,0.3);
	border-radius: 4px;
	top: 22px;
}

#uploadprogressinner {
	position: absolute;
	left: 0px;
	width: 0px;
	height: 100%;
	background-color: #FFF;
	border-radius: 4px;
}

#uploadprogresspercent, #uploadprogresscheckmark {
	position: absolute;
	right: 5%;
	width: 12%;
	text-align: right;
	color: #FFF;
	font-weight: 100;
}

#uploadprogresscheckmark {
	display: none;
	background-image: url('../assets/toolbar_checkmark.png');
	background-repeat: no-repeat;
	width: 30px;
	height: 30px;
	top: 10px;
}




@media only screen and (min-width: 451px) and (-webkit-min-device-pixel-ratio: 1) {
#phone {
	width: 375px;
	height: 667px;
	max-height: 667px;
	left: 50%;
	top: 50%;
	margin-left: -187px;
	margin-top: -333px;
}

#topbar, #chat, #bottombar, #textbar, #keyboard, #currentscene {
    max-width: 375px;
}
}




