:root {
    --chooseCannedResponseHeight: 400px;
    --chooseCannedResponseWidth: 300px;
}

@media screen and (max-width: 992px) {
.aspect-ratio-16-9-container{
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 992px;
	max-height: 600px;
}
.aspect-ratio-16-9-container > .aspect-ratio-16-9-content {
	position: absolute;
	top: 0;
	height: 100%;
	margin: auto;
}
}

.aspect-ratio-16-9-container{
	margin-left: auto;
	margin-right: auto;
	max-width: 992px;
}

.enterprise-video .aspect-ratio-16-9-container {
    max-width: calc(65vh * 16/9);
}

.aspect-ratio-16-9-container > .aspect-ratio-16-9-content {
	max-height: 540px !important;
}

.enterprise-video .aspect-ratio-16-9-container > .aspect-ratio-16-9-content {
	max-height: 65vh !important;
}

.video-container,
#di_reactChatInjection {
	max-height: 540px !important;
	background-color: black;
}

.video-container.enterprise-video {
	max-height: 65vh !important;
	margin-left: 12px;
	margin-right: 12px;
}

.video-container,
#di_reactChatInjection,
#di_chatvideoBlackBackground {
    z-index: 1;
}
#di_chatvideoBlackBackground {
    width: 100%;
    position: absolute;
    z-index: 0;
    max-height: 540px;
}

.container{
	padding-top: 1em;
}
.panel-heading-text {
    font-size: 1.5em;
}
.searchTagContent {
	margin-right: 0.5em;
	padding: 0.1em 0.5em;
	cursor: auto;
}

#video-description{
	font-size: 15px;
	word-wrap: break-word;
	color: black;
}

#video-date-posted{
	font-size: 15px;
	color: black;
	margin-right: 1.5em;
}
#video-duration{
	font-size: 15px;
	color: black;
	font-weight: bold;
}

#video-tags{
	padding: 15px;
}

.keywordHeader {
}

li{
	font-size: 15px;
}

.navbar-nav li {
	font-size: inherit;
}

#keyword-body {

}

#keywordContainerList{
	max-height: 300px;
	overflow-x:hidden;
	overflow-y:scroll;
}

#keywordContainerCloud{
	pointer-events: none;
}

#keywordContainerCloud svg {
	stroke: inherit;
	fill: inherit;
}

.keywordCloudContent:hover{
	border-style: solid;
	border-width: 1px;
	border-color: #ddd;
	cursor: default;
    border-radius: 0.3125rem !important;
	padding-left: 4px;
	padding-right: 4px;

}

.keywordCloudContent{
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 10px;
    margin-right: 10px;
    display: inline;
}

#keywordSwitchButton{
	border-style: solid;
	border-radius: 0.3125em;
	border-width: 1px;
	border-color: #ddd;
	cursor: pointer;
	font-size: 14px;
}

#transcript-panel-body{
	word-wrap: break-word;
	font-size: 15px;
	color: black;
	overflow-y: auto;
	max-height: 300px;
	position: relative;
}

#video {
	border: 0px;
	z-index: 3 !important;
}

#video-title{
	word-wrap: break-word
}

#video-date-posted {
	font-weight: bold;
}

#related-videos-header{
}

#keywordSwitchTab{
    margin: 0;
    padding-left: 0 !important;
    padding-top: 5px;
    overflow: hidden;
    cursor: default !important;
    display: inline-grid;
    grid-auto-columns: 1fr;
    overflow: visible;
}

#download-pdf:hover{
	cursor: pointer;
}

#copyright-panel .linkedDocument, #copyright-panel .linkedLink, 
#video-documents .linkedDocument, #video-documents .linkedLink, 
#transcript-panel .linkedDocument{
    display: block;
}

#copyright-download-pdf:hover{
	cursor: pointer;
}

div#download-pdf{
	padding: 6px 20px;
    border: 1px solid #ccc;
    float: left;
    margin-right: 2px;
    background-color: whitesmoke;
    font-size: 15px;
    border-radius: 0.3125rem !important;
}

#download-wrapper{
	padding-left: 0 !important;
	padding-top: 5px;
	overflow: hidden;
	margin: 0;
}

.keywordTab{
    padding: 6px 20px;
    border: 1px solid #ccc;
    float: left;
    margin-right: 2px;
    background-color: whitesmoke;
    font-size: 15px;
    border-radius: 0.3125rem !important;
    grid-row: 1;
    text-align: center;
}

.keywordTab:hover{
	background-color: #ddd;
	cursor: pointer;
}

.keywordTab.active{
	background-color: #ccc;
}

.tab-content-title {
	font-size: 2em;
}

.navbar-yuja {
	background-color: #F5F5F5;
	border-color: #ddd;
	border-radius: 0 !important;
}

#video-related-menu{
	display: flex;
	flex-direction: column;
	background-color: white;
}

.video-related-menu-panel-heading{
	border-top: 1px solid transparent;
}

#keywords-video-related-menu-panel-heading{
	background-color: white;
}

.video-related-menu-buttons{
	background-color: #F5F5F5;
}

.video-related-menu-panel-body{
	border: none;
}

#tab-menu {
	margin: 0;
}

#keywords-panel{
	border: none;
}

#transcript-panel{
	border: none;
}

#copyright-panel{
	border: none;
}

#video-documents-panel{
	border: none;
}

#video-tags-panel{
	border: none;
}

.navbar-yuja .navbar-nav > li > a {
	color: #777;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 1px;
	display: flex;
}

.navbar-yuja .navbar-nav > .active > a,
.navbar-yuja .navbar-nav > .active > a:hover,
.navbar-yuja .navbar-nav > .active > a:focus {
	color: #fff;
}

.navbar-yuja .navbar-nav > li > a:hover,
.navbar-yuja .navbar-nav > li > a:focus{
	background-color: #f5f5f5;
}

.navbar-yuja .navbar-nav > li .tab-icon {
	width: 20px;
	height: 20px;
	margin-top: 0px;
	display: inherit;
}
.metadata-tab{
	margin-left: 5px;

}
#word-cloud-icon {
	background-size: cover;
}

#transcript-icon {
	background-size: cover;
}

#tags-icon {
	background-size: cover;
}

#documents-icon {
	background-size: cover;
}

#copyright-icon {
	background-size: cover;
}

.navbar-yuja .navbar-nav > .active > a >#word-cloud-icon,
.navbar-yuja .navbar-nav > .active > a:hover > #word-cloud-icon,
.navbar-yuja .navbar-nav > .active > a:focus > #word-cloud-icon{
	background: url(/Dashboard/MediaChannel/icons/word-cloud_active.svg) no-repeat;
	background-size: cover;
}

.navbar-yuja .navbar-nav > .active > a >#transcript-icon,
.navbar-yuja .navbar-nav > .active > a:hover > #transcript-icon,
.navbar-yuja .navbar-nav > .active > a:focus > #transcript-icon{
	background: url(/Dashboard/MediaChannel/icons/transcript_active.svg) no-repeat;
	background-size: cover;
}

.navbar-yuja .navbar-nav > .active > a >#tags-icon,
.navbar-yuja .navbar-nav > .active > a:hover > #tags-icon,
.navbar-yuja .navbar-nav > .active > a:focus > #tags-icon{
	background: url(/Dashboard/MediaChannel/icons/tags_active.svg) no-repeat;
	background-size: cover;
}

.navbar-yuja .navbar-nav > .active > a >#documents-icon,
.navbar-yuja .navbar-nav > .active > a:hover > #documents-icon,
.navbar-yuja .navbar-nav > .active > a:focus > #documents-icon{
	background: url(/Dashboard/MediaChannel/icons/documents_active.svg) no-repeat;
	background-size: cover;
}

.navbar-yuja .navbar-nav > .active > a >#copyright-icon,
.navbar-yuja .navbar-nav > .active > a:hover > #copyright-icon,
.navbar-yuja .navbar-nav > .active > a:focus > #copyright-icon{
	background: url(/Dashboard/MediaChannel/icons/copyright_active.svg) no-repeat;
	background-size: cover;
}

#di_masterChatObject {
    display: flex;
    flex-direction: column;
    height: inherit;
    max-height: inherit;
    margin-right: 10px;
}
.dc_sectionHeader {
    padding: 1.75rem 1.25rem;
    margin-bottom: 0;
    background-color:var(--btn-default-inner-text-color, #42296E);
    border-bottom: 1px solid var(--btn-default-inner-text-color, #42296E);
    flex-basis: 5%;
    box-sizing: border-box;
    font-size: 18px;
    font-family: sans-serif;
    display: flex;
    -ms-flex-direction: row;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}


#di_cannedResponsePreview {
    text-align: left;
    font-weight: bold;
    padding: 1em 1em 0;
    font-size: 1.2em;
}
#di_messagesContainer {
	position: relative;
    flex-basis: 86%;
    overflow-y: auto;
    padding: 10px;
    background-color: whitesmoke;
}
#di_cannedResponsePreviewContainer{
    display: flex;
    flex-direction: column;
}
#di_cannedResponsePreviewContainer {
    height: 200px;
}
#di_previewMessageContent {
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
    margin: 1em;
    white-space: pre-line;
    word-wrap: break-word;
}
#di_messagePreviewSection{
    padding: 0.5em;
    overflow-y: auto;
    overflow-x: hidden;
}
#di_sendChatMessageSection {
    /*flex-basis: 10%; causes bugs in IE*/
    position: relative;
}

#di_chooseCannedResponseContainer {
    position: absolute;
    width: 300px;   /*IE support*/
    width: var(--chooseCannedResponseWidth);
    height: 400px;  /*IE support*/
    height: var(--chooseCannedResponseHeight);
    background-color: #fafafa;
    color: #64686c;
    display: flex;
    flex-direction: column;
    bottom: 100%;
    right: 0;
    cursor: default;
    border: 2px solid #cfcfcf;
    border-radius: 5px !important;
}

#di_chooseCannedResponse {
    overflow-y: auto;
    min-height: 200px;
    border-bottom-style: dotted;
}
.ic_offsetIcon {
    padding-left: 30px;
}
.dc_cannedResponseChoice {
    cursor: pointer;
    /*IE support*/
    text-overflow: ellipsis;
    overflow-x: hidden;
    overflow-wrap: break-word;
    word-break: break-word;
    word-break: break-all;
    border: 1px solid transparent;
    padding: 0.2em;
    white-space: normal;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding-left: 0.5em;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
}
.dc_cannedResponseChoice:hover {
    background-color: #eff5fd;
}
.dc_cannedResponseSeparator:not(:last-child) {
    border-bottom: 1px solid #c3c3c3;
}
#ti_chatInput {
    width: 70%;
    padding: 5px;
    font-family: sans-serif;
    background: white;
    border: 3px solid transparent;
}
#ti_chatInput:active,
#ti_chatInput:focus,
#ti_chatInput:hover{
    border: 3px solid #375a7f;
}
/* move buttons to right */
#di_chatButtonsContainer {
    min-width: 100%;
    display: inline-flex;
    flex-wrap: wrap;
    white-space: nowrap;
    align-items: center;
    background-color: var(--btn-default-background-color,#FFF);
}

.ic_chatAvatar {
    width: 35px;
    height: 35px;
}

.dc_messageRowContainer {
    margin-bottom: 5px;
}

li.rbdm_emojiMenu {
    text-align: left;
}

li.rbsmi_emojiSection > a{
    display: block;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

.dc_messageRowContainer {
    display: flex;
    text-overflow: ellipsis;
    overflow-x: hidden;
    overflow-wrap: break-word;
    word-break: break-word;
}
.dc_chatAvatar{

}
.dc_chatMessageSender {
    margin-left: 10px;
    margin-right: 10px;
    white-space: nowrap;
    color:#25163F;
}
.dc_chatMessageContent {
    text-overflow: ellipsis;
    overflow-x: hidden;
    color:var(--primary-color-text,#000000);
}
.dc_chatBubble {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 1px; /* for IE */
    min-width: 1px; /* for firefox */
}

.dc_chatBubble:first-child {
    padding-top: 1em;
}
.dc_chatBubble:last-child {
    padding-bottom:1em;
}

.talk-bubble-angle-left{
    margin-left: 2em;
    margin-top: 1em;
    margin-right: 1em;
    padding: 1em;
    position: relative;
    display: inline-block;
    height: auto;
    background-color:#d3d3d3;
    border-radius: 10px !important;
}
.talk-bubble-angle-left:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: -20px;
    right: auto;
    top: 0;
    bottom: auto;
    border: 22px solid;
    border-color: #d3d3d3 transparent transparent transparent;
}

.talk-bubble-angle-right{
    display: inline-block;
    position: relative;
    width: 200px;
    margin-left: 2em;
    margin-top: 1em;
    margin-right: 1em;
    padding: 1em;
    background-color: #375a7f;
    border-radius: 10px !important;
    border: 3px solid #375a7f;
}
.talk-bubble-angle-right:before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: auto;
    right: -22px;
    top: 6px;
    bottom: auto;
    border: 10px solid;
    border-color: #375a7f transparent transparent #375a7f;
}
.talk-bubble-angle-right:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: auto;
    right: -16px;
    top: 8px;
    bottom: auto;
    border: 12px solid;
    border-color: #375a7f transparent transparent #375a7f;
}
.talk-bubble-angle-right:hover {
    border: 3px solid #ffffff;
}
.talk-bubble-angle-right:hover:before {
    border-color: #ffffff transparent transparent #ffffff;
}
#di_reactChatInjection {
    color: white;
}
.dc_lastMessageBlockTimestamp {
    text-align: right;
}
.rbsmi_emojiSection + ul.dropdown-menu {
    min-width: 55px;
}
.rbsmi_emojiSection .caret {
    border-bottom-color: white;
}

#di_characterLimitDisplay {
    display: inline-block;
    font-family: monospace, serif;
}
#di_reactChatInjection .btn.btn-dark-contrast {
    color: #fff;
    background-color: var(--btn-default-inner-text-color, #42296E);
    border-color: var(--btn-default-inner-text-color, #42296E);
    position: relative; /*inline popups*/
    margin-left:9px;
}
#di_reactChatInjection .btn.btn-dark-contrast:hover {
    color: #fff;
    background-color: #2b4764;
    border-color: #28415b;
}

#di_chatDisplayPlayerButton {
    display: inline-block;
   /* float: right;*/
    padding: 0;
    text-align: center;
    cursor: pointer;
    font-variant: small-caps;
}

#di_emojiCategoriesContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-bottom: 10px;
    min-height: 20px;
}
#di_emojiSelectionPanel {
    background: #000000;
    right: 0;
    bottom: 100px;
    cursor: default;
    height: 150px;
    display: flex;
    flex-direction: column;
}
#di_emojiSelectionPanel.hidden {
    display: none;
}
.dc_emojiCategory {
    flex-grow: 1;
    text-align: center;
    cursor: pointer;
    border: none;
}
.dc_emojiCategory.emoji-category-selected {
    border-bottom: white solid 1px;
}
#di_emojisListContainer {
    height: 200px;
    overflow-y: auto;
    width: inherit;
    padding: 10px;
     display: flex;
     flex-direction: row;
     flex-wrap: wrap;
}
.dc_emoji {
    font-size: 24px;
    width: 30px;
    height: 30px;
    display: inline-block;
    cursor: pointer;
}
.dc_emoji.hidden {
    display: none;
}
.ic_roundedSearchBar {
    font-size: 16px;
    display: block;
    width: 80%;
    padding: .2em .6em;
    border-radius: 25px;
    border: 1px solid #d9d9d9;
    margin-left: auto;
    margin-right: auto;
    outline: 0;
}
#di_emojiSearchBar {

}
#di_cannedResponseSearchContainer{
    display: flex;
    flex-grow: 0;
    flex-shrink: 0;
}

#di_cannedResponseSearchIcon {
    color: black;
    background: white;
    padding: 0.5em;
}

#di_cannedResponseSearchInput {
    flex-grow: 1;
    background: white;
    padding-bottom: 0.5em;
    padding-top: 0.5em;
    text-align: left;
}
#ii_cannedResponseSearch{
    border: none;
    width: 90%;
    padding: 0;
}
input#ii_cannedResponseSearch:focus {
    outline: 0;
    /*border-bottom: 1px solid #375a7f;*/
}

#ii_cannedResponseSearch:focus::-webkit-input-placeholder {
    color: transparent;
}

#di_masterChatObject button i.fa {
    padding-right: 0; /* offset the style that adds a 0.5 padding right on button i tags*/
}

#di_masterChatObject button i.fa.fa-search.fac_magnifyingGlass {
    border: none;
    outline: none;
}
#playerContainer {
    height: 100%;
    min-width: 300px;
    flex-grow: 1;
}

#di_reactChatInjection {
/*    flex-basis: 20vw;
    min-width: 385px;
    max-width: 500px; */
}

img.emoji.ic_emojiImage {
    height: 1.2em;
    width: 1.2em;
    margin: 0 .05em 0 .1em;
    vertical-align: -0.1em;
}

#di_reactChatInjection.fullscreen-chat {
	max-height: none !important;
	background-color: black;
}

.dc_lastMessageBlockTimestamp {
	color: var(--primary-color-text,#000000);
}