.youtube_container {
  width: 560px;
  padding: 0;
  margin: 10px auto;
}

.dropdown_banner {
  margin: 5px 10px;
  border: solid 1px gray;
  border-radius: 25px;
  background-color: whitesmoke;
  overflow-y: hidden;
}

.short {
  max-height: 33px;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -o-transition: all 1s;
  transition:all 1s;
}

.long {
  max-height: 2000px;
  transition: max-height 1s ease-in-out;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -o-transition: all 1s;
  transition:all 1s;
}

.dropdown_banner_title {
  padding: 5px 30px;
  text-align: center;
  cursor: pointer;
  position: relative;
  font-size: 130%;
}

.dropdown_banner_title > p {
  margin: 0;
}

.dropdown_icon {
  background-image: url('../images/dropdown20x20.png');
  position: absolute;
  bottom: 6px;
  right: 20px;
  width: 20px;
  height: 20px;
}

.dropdown_banner > .dropdown_banner_content {
  border-radius: 25px;
  position: relative;
}

.banner_content_youtube {
  width: 570px;
  max-width: 90%;
  margin: auto;
}

.banner_content_text {
  width: 570px;
  max-width: 90%;
  margin: 40px auto;
}

#application input [type="button"] {
  font-family: sans-serif;
  text-transform: uppercase;
}

select:focus {
  outline: none;
}

#application button {
  padding: 0;
  border-radius: 8px 8px 8px 8px;  
  background-color: white;
}

#application button:focus {
  outline: none;
}

#application .menuhead {
	position: relative;
}

#application .menuhead .dropdownmenu {
  visibility:hidden;
  transition-delay: 0.5s;      
  display:block;
  position: absolute;
  top: 32px;
  border:solid 1px gray;
  max-height: 330px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  border-radius: 8px 8px 8px 8px;
  z-index: 999;
  opacity: 0;
  transition:visibility 0s linear 0.5s,opacity 0.5s linear;
  background-color: white;
}

#application .menuhead:hover .dropdownmenu {
  opacity: 1;
  visibility:visible;
  z-index: 999;
  transition-delay: 0s;      
}

#application .dropdownmenu li {
  display: block;
	padding: 7px 10px;
  width: 250px;
  border:1px solid lightgray;
  vertical-align: middle;
  text-align: left;
  font-family: sans-serif;
  letter-spacing:0;
  font-size: 1em;
  font-weight: lighter;
  color: gray;
  position: relative;
}

#application .dropdownmenu li:hover {
  background-color:lightgray;
  color:black;
}

#application #select_session {
	overflow-y: scroll;
	  right: 0;	
}


#application .dropdownmenu li .sessionOption {
  display: inline-block;
  overflow: hidden;
  width: 218px;
  vertical-align: middle;
  text-align: left;
  cursor: pointer;
}

#application .dropdownmenu li .optionIcon {
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
  vertical-align: middle;
  opacity: 0.8;
}

#application .dropdownmenu li .optionIcon:hover {
  opacity: 1;
  cursor: pointer;
}

#application .shareButton {
  float: left;
  width: 48px;
  height: 48px;
  margin: 5px 2px;
  border-radius: 5px;
  background-color: rgba(256,256,256,0.3);  
}

#application .shareButton:hover {
  cursor: pointer;  
  background-color: transparent;  
}

  
#application select {
  /*font-family: Arial,Helvetica,sans-serif;*/
  letter-spacing:0;
  font-size: 1em;
  border-radius: 8px 8px 8px 8px;
}

.activityContainer {
  display: none;
  position: absolute;
  top: 0;
  left:0;
  width: 100%;
  height: 100%;
  border-radius: 10px 10px 10px 10px;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 990;
}

#notification {
  display: none;
  position: fixed;
  top: 33%;
  left:0;
  right:0;
  max-width: 460px;  
  margin-left:auto;
  margin-right:auto;
  padding: 15px 25px;
  border-radius: 5px 5px 5px 5px;
  background-color: black;
  color: white;
  text-align: center;
  font-weight: bold;
  z-index: 999;
}

.alertNotification {
  position: absolute;
  top: 10%;
  left:0;
  right:0;
  width: 480px;
  margin: 0 auto;
  padding: 15px;
  border:solid 2px gray;
  border-radius: 5px 5px 5px 5px;
  background-color: white;
  opacity: 1;
  color: black;
  text-align: center;
  box-shadow: 10px 10px 5px rgb(50, 50, 50);
  z-index: 999;
}

.activityTitle {
  font-size: 1em;
  background-color: gray;
  color: white;
  font-weight: bold;
  text-align: center;
  line-height: 150%;
  padding: 15px;
}

.activityContent {
  max-height: 480px;
	overflow-y: auto;
}

.activityInfo {
  font-size: 1em;
  color: black;
  font-weight: regular;
  text-align: justify;
  line-height: 150%;
  padding: 5px 0;
  clear:both;  
}

#application .tagsDisplay {
	margin:5px 0;
  overflow-y: hidden;
}

#application .inlineTag {
  float:left;
	background-color: lightgray;
	border-radius: 10px;
	padding: 2px 0;
	margin: 2px 5px;
	vertical-align: middle;
}

#application .inlineTag p {
	display: inline-block;
	margin: 0 5px;
}

#application .inlinetrash {
	display:inline-block;
	text-align: center;
	width: 20px;
	height: 20px;
	border-radius: 10px;
  background-color: whitesmoke;
  line-height: 17px;
  margin: 0 1px;
  cursor:pointer;
}

#application .inlinetrash:hover {
  background-color: red;  
}

#application .editTags {
	margin: 10px 0;
  clear:both;	
}

#application .closeButton {
  background-image: url('../images/close.gif');
  position: absolute;
  right: 0;
  top: 0;
  margin-top: -10px;
  margin-right: -10px;
  width: 30px;
  height: 30px;
  opacity: 1;
  background-color: black; 
  border-radius: 14px;
  cursor: pointer;
}

#application .closeButton:hover {
  opacity: 1;
}

#application .OkButton {
}

#application #colorpicker {
  height: 22px;
  border: none;
  padding: 0;    
  display: inline-block;
  background-color: transparent;
  text-align: center;
  vertical-align: middle;
}

#application .colorButtons {
	opacity: 1;
	/*display: inline-block;*/
	float:left;
	width: 20px;
  height: 20px;
  border: solid 1px;
  padding: 0;    
  border-radius: 10px 10px 10px 10px;
  margin-right: 5px;
  cursor: pointer;
}

.colorGradientBack {
  background: -webkit-linear-gradient(left, red , blue); /* For Safari */
  background: -o-linear-gradient(right, red, blue); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(right, red, blue); /* For Firefox 3.6 to 15 */
  background: linear-gradient(to bottom right, red, yellow, green , blue); /* Standard syntax (must be last) */	
  border-color: orange;    
}
.blueBack {
	  background-color: #97d1fd;
    border-color:blue;	  
}
.grayBack {
    background-color: #dadada;
    border-color:gray;
    display: none;    
}
.greenBack {
    background-color: #aae89d;
    border-color:green;    
}
.yellowBack {
    background-color: #ebf475;
    border-color:yellow;    
    display: none;    
}
.redBack {
    background-color: #f1a5bc;
    border-color:red;    
}

#application #favcolor {
  opacity: 0;
  display: block;
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 0;    
  border: none;
  border-radius: 10px 10px 10px 10px;
  cursor: pointer;
}

#application #favcolor:hover {
  cursor: pointer;
}

#application #favcolor:focus {
  outline: none;
}


#application #change_view_button {
  position: absolute;
  right: 7px;
  top: 7px;
}

#application #preferences_button {
  position: absolute;
  left: 7px;
  top: 7px;
}

#application #preferences_button .dropdownmenu{
  left: 0;
}

#application #credit_panel {
	display: none;
  position: absolute;
  left: 1px;
  bottom: -31px;  
  height: 28px;
  background-color: transparent;
}

#application #google_translate_attribution {
  position: absolute;
  right: -1px;
  bottom: -21px;	
  width: 183px;
  height: 28px;
  background-image: url('../images/google_translate_attribution.png');
  border-radius: 5px;
}

#application #session_title {
  width: 80%;
  margin: 0 auto;  
  text-align: center;
  font-size: 1.25em;
  font-weight: bold;
}

#application #speaker {
  display: block;
  width: 80%;
  margin: 15px auto;
  text-align: center;
  border: none;
  color: gray;
  font-size: 1.0em;
  font-weight: bold;
  border-radius: 10px 10px 10px 10px;
}

#preferences_line {
  text-align: center;
  padding: 15px 0;
}

#punctuationBar {
	max-width: 90%;
	margin: -20px auto;
	text-align: center;
  padding: 15px 0;
}

#punctuationBar p{
  color: gray;
  font-size: 1.0em;
  font-weight: bold;
}

#application .punctuationButton {
	width: 45px;
	line-height: 35px;
	text-align: center;
	display: inline-block;
	background-color: white;
	opacity: 0.7;
	border-radius: 10px;
	cursor: pointer;
	font-weight: bold;
	font-size: 1.4em;
    margin: 3px 0;
}

#application .punctuationButton:hover {
  opacity: 1;
}

#application button {
  opacity: 0.85;
  border: none;
  width: 50px;
  height: 50px;
  padding: 1px;
  margin: 5px 1px;
  cursor: pointer;
  font-weight: bold;
}

#application button:hover {
  opacity:1
}

#application .purchaseButton {
  width: 28%;
  vertical-align: middle;
  text-align: center;
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px blue solid;
  margin-left: 5%;
}

#purchase_like_button {
	background-color: #3B5998;
	color: white;
	font-weight: bold; 
	font-family: Tahoma;
}

#application #refill {
  width: auto;
  height: auto;
  border-radius: 5px;	
  padding: 2px 5px;
}

.purchase_option {
	display: inline-block;
	text-align: left;
	width: 66%;
}

#application .buttons_row {
  width: 100%;
  text-align: center;
  margin: 20px auto;
  position: relative;
}

#application img {
  vertical-align: baseline;
}

#left_buttons {
  display: inline-block;
  width: 45%;
  padding-right: 40px;
}

#application #start_button {
  cursor: pointer;
  background-color:white;
  padding: 0;
  border:solid 2px red;
  border-radius: 40px 40px 40px 40px;
  width: 74px;
  height: 74px;
  display: inline-block;
  position: absolute;
  right: 50%;
  margin-right: -36px;
  top: 50%;
  margin-top: -36px;
}

#start_img {
  width: 70px;
  height: 70px;
}

#right_buttons {
  display: inline-block;
  width: 45%;
  padding-left: 40px;
}

#translate_options {
  display: inline-block;
}

#start_button:focus {
    outline: none;
}

#selected_file {
  width: 100px;
  cursor: pointer;
}


/* outpu scrollbar */
#output_panel::-webkit-scrollbar {
    width: 16px;
}
 
/* Track */
#output_panel::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
 
/* Handle */
#output_panel::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(0,0,0,0.3); 
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}
#output_panel::-webkit-scrollbar-thumb:hover {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(0,0,0,0.6); 
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}

/* dropdownmenus scroll */
.dropdownmenu::-webkit-scrollbar {
    width: 12px;
    background-color: white; 
    border-radius: 8px; 
    margin-right: 1px;   
}

/* Track */
.dropdownmenu::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    -webkit-border-radius: 8px;
    border-radius: 8px;
}
 
/* Handle */
.dropdownmenu::-webkit-scrollbar-thumb {
    -webkit-border-radius: 8px;
    border-radius: 8px;
    background: rgba(0,0,0,0.3); 
    -webkit-box-shadow: inset 0 0 4px rgba(0,0,0,0.5); 
}
.dropdownmenu::-webkit-scrollbar-thumb:hover {
    -webkit-border-radius: 8px;
    border-radius: 8px;
    background: rgba(0,0,0,0.6); 
    -webkit-box-shadow: inset 0 0 4px rgba(0,0,0,0.5); 
}


#application .box .select_results_button {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 100;
  opacity: 0.2;
}

#application .box:hover .select_results_button {
  opacity: 1;
}

#application #zoom_buttons button {
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 5px -5px;
}

.box .hot_spot {
  position: absolute;
  height: 60px;
  z-index: 99;
  right: 0;
  left: 0;
}


#results_box #zoom_buttons {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 99;
  opacity: 0;
  border: #5bc0de solid 1px;
  border-radius: 15px;
  padding: 0 5px;
}


#results_box:hover #zoom_buttons {
  opacity: 0.9;
}

#application .readOut_button {
	position: absolute;
  top: 10px;
  right: 10px;
  z-index: 99;
  opacity: 0.7;
  cursor: pointer;
  width: 48px;
  height: 48px;
}

#application .readOut_button:hover {
  opacity: 1;
}

#application .resultsClass {
  background-color: transparent;
  position: absolute;
  padding: 20px 20px;
  font-weight: bold;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
      -ms-box-sizing: border-box;
       -o-box-sizing: border-box;
          box-sizing: border-box;
}

#application .interim {
  color: gray;
}

#application .final {
  color: black;
  padding-right: 3px;
}

#application .highlight {
  background-color: yellow;
  border-radius: 0.5em;
}

#application .text_results {
  position: relative;
  cursor: text;
}

#application output_panel a:empty:before {content:"...";}

#application .text_results .realTimeDisplay {
  display: none;
}

#application .text_results .difTimeDisplay {
  display: none;
}

#application .text_results .timeDisplay {
  display: none;
}

#application .text_results:hover .timeDisplay {
  background-color:rgba(0,0,0,0.5);
  color: white;  
  display:block;
  position: absolute;
  bottom: 105%; /* change to TOP and it will drop down */
  left: 0;
  z-index: 999;
  padding: 2px 5px;
  border-radius: 0.5em 0.5em 0.5em 0.5em;
  font-weight: bold;
}

#application a {
  color: black;
}

#application .red_font a {
  color: red;  
}

#application .text_results ul {
  display: none;
  }

#application   .text_results:hover ul {
    display:block;
    position: absolute;
    bottom: 10%; /* change to TOP and it will drop down */
    left: 0;
    z-index: 999;
  }

#application   .text_results li {
  padding: 2px 5px;
  width: auto;  
  display: block;
  border:solid 1px black;
  background-color: gray;
  color: whitesmoke;
  float: left;
  text-align: left;
  font-weight: bold;
  }

#application   .text_results:hover ul a {
  display: block;
  width: 100%;
  cursor: pointer;
  }

#application #output_box {
  padding: 0 0;
  position: absolute;
  top: 10px;
  bottom: 0;
  right: 30px;
  left: 30px;
  margin: 10px auto;
  margin-top: 20px;
}

#boxes_container {
  height: 100%;
  width: 100%;
  
}

#output_panel {
  padding: 20px 0;
  top:10px; left:0px;right:0px;bottom:20px;    
  position: absolute;
  clear: both;
  overflow-y: scroll;
  overflow-x: hidden;
  background-color: transparent;
}

#application .box {
  height: 100%;
  border: solid 2px lightgray;
  border-radius: 10px 10px 10px 10px;
  padding: 0 0;
  background-color: white;
}

#application .widebox {
  display:block;
  position: relative;
  margin-left: auto ;
  margin-right: auto ;
  outline: none;
}

#application textarea {
  padding-left: 32px ;
  overflow-y: scroll;
  height: 100%;
}

#application .leftbox {
  position: absolute;
  left: 0;
  right: 51.5%;
  top: 0;
  bottom: 0;
  overflow-y: scroll;
}

#application .rightbox {
  position: absolute;
  right: 0;
  left: 51.5%;
  top: 0;
  bottom: 0;
  overflow-y: scroll;
}

#application .rightbox.fullWidthRightbox {
  left: 0;
}

#application {
  display: flex;
  flex-flow: column;
}

#application .row {
  /*border: 1px dotted grey;*/
}

#application .row.header {
  flex: 0 1 auto;
  /* The above is shorthand for:
  flex-grow: 0,
  flex-shrink: 1,
  flex-basis: auto
  */
}

#application .row.content {
  flex: 1 1 auto;
  position: relative;
}

#application .row.footer {
  flex: 0 1 70px;
}

#application .ltr {
  direction: ltr;
  text-align: left;
}

#application .rtl {
  direction: rtl;
  text-align: right;
}




