.noscript-nav {
	text-align: center;
}
.noscript-nav a.curScreen {
	border-bottom-color: #000;
	font-size: 2em;
	color: #000;
}

.fa-pause { display: none; }

.bairbscreen a 
{ 
	font-weight: bold; 
	color: #444db0;
}
a.audiolink
{
	color: inherit;
}
a.audiolink:hover
{
	color: #444db0;
}
a.audiolink.isPlaying::before {
	background-image: url('/littlebylittle/css/au.svg');
}
.bairbscreen
{
	background-image: url('../images/conversation.png');
	background-position: top right;
	background-size: 70%;
	background-repeat: no-repeat;
	
	
	width: 78%;
	max-width: 1000px;
	margin: 0 auto;
	border: 2px solid #aaa;
	border-radius: 10px;
	/*background-color: #eeeeee;*/
	padding: 10px;
	overflow: auto;
	zoom: 1;

	box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.15);
	box-sizing: border-box;
	min-height: 700px;
	display: block;
	display: flex;
	flex-direction: column;
}
.screencontent
{
	flex: 1 0 auto;
	width: 100%;
}
.navDiv
{
	align-self: flex-end;
	flex: 0 1 auto;
	width: 100%;
}
#subheading
{
	text-align: center;
	margin-top: 0;
}
#intro { display: flex; }
.bairbscreen h3 { font-size: 1.4rem; }
.bairbscreen h3, .bairbscreen ol, .bairbscreen ul, .bairbscreen dl, .bairbscreen h4
{
	max-width: 40rem;
	margin-left: auto;
	margin-right: auto;
}
h4
{
	font-family: "quicksandregular", sans-serif;
	font-size: 1.05rem;
}
ul
{
	padding-left: 8%;
}

.audiolink 
{
	margin-left: 15px;
	margin-right: 15px;
}

.auphrase
{
	font-family: 'Noto Sans';
	font-size: 1.2rem;
	margin-bottom: 0;
	color: #27513B;
}
.sm
{
	font-size: 1rem;
}
.transphrase
{
	font-family: 'Noto Sans';
	font-size: 1rem;
	font-style: italic;
	margin-top: 2px;
	color: #873030;
}
.smt
{
	font-size: 0.9rem;
	margin-top: 1px;
}

a.next, a.prev, a.quiz
{
	min-width: 15%;
	height: 35px;
	display: block;
	font-size: 1.1em;
	line-height: 35px;
	margin-top: 5%;
	margin-left: auto;
	margin-right: auto;
	cursor: pointer;
	float: right;
	border-radius: 7px;
	background-color: #533e57;
	border: 1px solid #533e57;
	color: white;
	font-weight: normal !important;
	text-align: center;
	text-decoration: none !important;
	box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.29);
}
a.next:hover, a.prev:hover, a.quiz
{
	color: #533e57;
	background-color: #eae5e4;
}
a.prev
{
	float: left;
}

.screenindex
{
	clear: both;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
	max-width: 100%;
}
.cf:after {
  content: "";
  display: table;
  clear: both;
}
.screenindex li
{
	display: inline-block;
	padding: 0 2px;
}
.screenindex .curScreen
{
	font-size: 1.2rem;
	color: #873030;
}

.convo
{
	margin-top:25px;
}
.bairbscreen dt
{
	text-transform: uppercase;
	margin: 0;
	padding: 0;
	float: left;
	width: 30%;
}
.bairbscreen dd
{
	margin-left: 30%;
	
}
.bairbscreen dd:last-child
{
	margin-bottom: 30px;
}

.convo_en
{
	margin-bottom: 20px;
	font-size: 0.9rem;
	font-style: italic;
}


/* phrasebook overrides */

.phrases dt
{
	text-transform: none;
	margin: 0;
	padding: 6px 0px;
	float: none;
	width: 100%;
	color: #873030;
}
.phrases dd
{
	margin-left: 0;
	padding: 6px 2% 6px 5%;
	color: #27513B;
	margin-bottom: 10px;
}
.phrases dt:nth-of-type(even)
{
	background-color: rgba(0,0,0,0.1);
}
.phrases dd:nth-of-type(even)
{
	background-color: rgba(0,0,0,0.1);
}


ul.phrasebooknav  
{
	list-style: none;
	margin: 0 auto;
	padding: 0;
	clear: both;
}

ul.phrasebooknavbottom
{
	padding-top: 20px;
}

ul.phrasebooknav  li
{
	display: block;
	float: left;

	padding: 0px;
	background-color: #dddddd;
	margin: 4px 0;
	
	text-align: center;
}
ul.phrasebooknav  li a
{
	display: block;
	background-color: #533e57;
	color: white;
	padding: 2px;
	margin-right: 3px;
	font-weight: normal;
	border: 1px solid #533e57;
	min-width: 16px;
	
}
ul.phrasebooknav  li.nolink
{
	padding: 2px 2px;
	border: 1px solid #666;
	margin-right: 3px;
	color: #888;
}
ul.phrasebooknav  li a:hover
{
	text-decoration: none;
	background-color: #eae5e4;
	color: #533e57;
}
ul.phrasebooknav  li a.on
{
	background-color: #873030;
}

/* impromptu overrides */
div.jqi .jqimessage {
    line-height: inherit;
    color: inherit;
}
div.jqi {
    font-family: inherit;
    font-size: inherit;
}
div.jqi a
{
	font-weight: bold;
}

.nobm { margin-bottom: 0; }
div.jqi .jqiclose:hover
{
	color: inherit;
	cursor: pointer;
}
div.jqi .jqibuttons button.jqidefaultbutton:hover
{
	color: #992222;
	cursor: pointer;
}

.tablewrap
{
	max-width: 40em; 
	margin: 0 auto; 
	box-sizing: border-box; 
	padding: 2%;
}
table.prep
{
	border: 1px solid #ddd;
	border-collapse: collapse;
	font-size: 0.9rem;
}


table.prep td, table.prep th
{
	text-align: left;
	border: 1px solid #ddd;
	padding: 10px;
	word-wrap:break-word;
}

.red
{
	color: #DB1414;
}


ul.innernav
{
	list-style: none;
	width: 90%;
	margin: 0 auto;
	padding: 0;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
ul.innernav li
{
	
}

ul.innernav li a
{
	padding: 2px 8px;
	background-color: #efefef;
	margin: 2px;
	display:block;
	font-weight: normal;
	font-size: 0.9rem;
	border-radius: 2px;
}
ul.innernav li a:hover,
ul.innernav li a.on:hover
{
	color: #fff;
	background-color: #873030;
	text-decoration: none !important;
}

ul.innernav li a.on
{
	color: #873030;
	font-weight: bold;
}

.inav_toggle, .lbl-toggle {
	display: none;
}
@media only screen and (max-width: 600px) {
	.lbl-toggle {
		display: block;
		cursor: pointer;
		transition: all 0.25s ease-out;
		font-size: 1.1875rem;
		line-height: 1.625rem;
		padding: 0 6px;
	}
	.lbl-toggle:hover {
		color: #7C5A0B;
	}
	.lbl-toggle::before {
		content: ' ';
		display: inline-block;

		border-top: 5px solid transparent;
		border-bottom: 5px solid transparent;
		border-left: 5px solid currentColor;

		vertical-align: middle;
		margin-right: .7rem;
		transform: translateY(-2px);

		transition: transform .2s ease-out;
	}
	.innernav {
		max-height: 0;
		overflow: hidden;
		transition: max-height .25s ease-in-out;
	}
	.inav_toggle:checked + .lbl-toggle + .innernav {
		max-height: 100vh;
		overflow: auto;
	}
	.inav_toggle:checked + .lbl-toggle::before {
		transform:rotate(90deg) translateX(-3px);
	}

}

.set
{
	max-width: 40em;
	padding: 5px;
	background-color: #dfdfdf;
	background-color: rgba(200,200,200,0.5);
	margin: 15px auto;
	
}
.set p.auphrase
{
	margin-top: 0;
}


.jp-video
{
/*	float: right;
	width: 75%;
	overflow: hidden;*/
}
.bairbvid
{
	max-width:512px;
	height:288px;
	margin: 10px auto;
	display: block;
}

.bairbvid video
{
	width: 100%;
}


.jp-video-270p {
    width: 50%;
	min-width: 380px;
	margin-left: auto;
	margin-right: auto;
 }
.jp-jplayer
{
	border: none;
	padding: 0;
	max-width: 30em;
	
}
	
	
.jp-video .jp-volume-controls
{
	right: 18px;
}
.progress-holder
{
	width: calc(100% - 45px);
}

.track
{
	color: white;
	font-size: 12px;
	font-family: 'quicksandregular',sans-serif;
	text-align: center;
	padding: 1px 0;
	background-color: #523D57;
	width: 30%;
	min-width: 190px;
	margin: 0 auto;
	position: relative;
	top: 4px;
}
.track i.fa-step-backward, .track i.fa-step-forward
{
	/* IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	
	opacity: 0;
	margin: 0 10px;
}


.little-by-little .bairbscreen .screencontent p.auphrase .audiolink
{
	position: absolute;
	top: 10px;
	right: 4px;
}
.little-by-little .bairbscreen .screencontent .auphrase
{
	padding-right: 2em;
}

#spinner 
{
	text-align: center;
}

/* custom volume selector */

button.vol20, button.vol40, button.vol60, button.vol80, button.vol100
{
  padding:0;
  width: 7px;
  height: 12px;
  top: 25px; /* +-2 */
  left: 22px;
}

button.vol40  { height: 17px; left: 31px; top: 20px; } /* +3 */
button.vol60  { height: 21px; left: 40px; top: 16px; }
button.vol80  { height: 26px; left: 49px; top: 11px;  }
button.vol100 { height: 34px; left: 58px; top: 3px;    }

.volon  { background-color: white;   } 
.voloff { background-color: #785c80; }
.volon:hover  { background-color: #aaa;   } 
.voloff:hover { background-color: white; }



/*  midrange layout */
@media only screen and (max-width: 768px) {
	#intro, .bairbscreen
	{
		width: 88%;
	}
}
/*  sm layout */
@media only screen and (max-width: 480px) {
	#intro, .bairbscreen
	{
		width: 99%;
	}
}