/*------------------------------------------------*/
/*-----------------[BASIC STYLES]-----------------*/
/*------------------------------------------------*/
body {
	font-family: 'Montserrat', 'Arial', sans-serif;
	line-height:20px;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 1.7em;
}

h3 {
	font-size: 1.5em;
}

h4 {
	font-size: 1.2em;
}

h5 {
	font-size: 1em;
}

h6 {
	font-size: 13px;
}

.vdo_viewer_pub_controller {
	background-color:black;
	display:block;
	color:#ffffff;
	padding: 5px;
}

.widget .v_liste_bloc_texte_span {
	width:auto;
	height:auto;
}

.vdo_viewer_video.embed_externe{
	text-align:center;
	width:100%;
	/*height:100%;*/
}

/*
	Z-index
*/
.z-index-1 {
	z-index: 1;
}

.z-index-navbar,
.z-index-bottom-bar {
	z-index: 1100;
}

/*
	Tags	
*/
.vdo_viewer_tags {
	position:absolute;
	width:500px;
	height:1px;
	z-index:1;
	padding:5px;	
}

.video_viewer_tagbtn {
	display:none;
	float:left;
	margin-right:10px;
	width:120px;
	overflow:hidden;
	height:100px;
	cursor:pointer;
	border-radius:0px;
	border:3px solid white;
}

.video_viewer_tagbtn img {
}

.video_viewer_tagbtn h6 {
	position:absolute;
	margin-top:78px;
	font-weight:bold;
	color:white;
	z-index:1;
	width:114px;
	padding:3px;
	text-align:center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;	
    font-family: 'Roboto';
    font-size:0.8em;
    background-color:#000000;
}

.video_viewer_tagbtn img:hover {
	opacity:0.6;
	filter:alpha(opacity=60);
}
/*
.vdo-btn-tags-detail-conteneur {
	width:400px;
	height:145px;
}
.vdo-btn-tags-detail-conteneur h1 {
	font-size:17px;
	font-weight:bold;
}

.vdo-btn-tags-detail-conteneur img {
	float:left;
}

.vdo-btn-tags-detail-conteneur div.vdo-btn-tags-detail-conteneur-texte {
	float:right;
	width:185px;
	padding:5px;
}

.vdo-btn-tags-detail-conteneur p {
	height:120px;
	width:190px;
	overflow:auto;
	display:block;
	font-size:0.9em;
	margin-bottom:5px;
}

.vdo-btn-tags-detail-conteneur a.ensavoirplus {
	width:169px;
	color:white;
	font-weight:bold;
	text-align:center;
	display: block;
	padding:10px;
	background-color:red;
}

.vdo-btn-tags-detail-conteneur a.ensavoirplus:hover {
	text-decoration:none;
}

/*Message erreur*/
#vdo_viewer_video_player_error_message {
	position:absolute; 
	/*width:300px; */
	-moz-box-sizing: padding-box;
    box-sizing: padding-box;		
	width:90%;
	padding:5px; 
	background-color:white;
	z-index:1;
	border:1px solid #bbbbbb;
}

#vdo_viewer_video_player_error_message.error_live {
	/*margin-left: 150px; */
	margin-left:5%;
	margin-right:5%;
	margin-top: 20px;	
}

#vdo_viewer_video_player_error_message.error_replay {
	margin-left: 100px; 
	margin-top: 80px;	
}

#vdo_viewer_video_player_error_flux_inactif {
	position:absolute; 
	-moz-box-sizing: padding-box;
    box-sizing: padding-box;	
	/*width:300px; */
	width:90%;
	padding:5px; 
	background-color:white;
	z-index:1;
	border:1px solid #bbbbbb;
}

#vdo_viewer_video_player_error_flux_inactif.error_live {
	/*margin-left: 150px; */
	margin-left:5%;
	margin-right:5%;	
	margin-top: 20px;	
}

#vdo_viewer_video_player_error_message h1, #vdo_viewer_video_player_error_flux_inactif h1 {
	margin-bottom:10px;
}

#vdo_viewer_video_player_error_message p, #vdo_viewer_video_player_error_flux_inactif p {
	text-align:justify;
}

#vdo_viewer_video_player_error_message i, #vdo_viewer_video_player_error_flux_inactif i {
	font-size:0.9em;
}

#vdoLiveTeaserCompteARebours {
	display:block;
	text-align:center;
	width:100%;
	margin-top:10px;
	font-size:1.4em;
}

/*Masquage elements programme*/
/*
.forceHide {
	display: none!important;
}

.breakoutFull {
	background-color: #ff5252!important;
}
*/

.fo_live_internaute_sondage_prog_bar {
	color: var(--default-button-text-color);
	height: 30px;
	background-color: var(--default-button-bg-color);
	padding-left: 2px;
	border-radius:5px;
	margin-top:5px;
	display:inline-block;
}

body:not(.backoffice) .fancybox-skin *,
body:not(.backoffice) .tooltip * {
	box-sizing: content-box;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
}

.vdopollPrctContainer{
	font-weight:700;
	line-height:20px !important;
}

.subtitle-iframe-holder {
    height: 300px;
}

.subtitle-iframe-holder-fullscreen {
    height:135px;
}

.wordly-fullScreen {
    position: absolute;
    margin-top: 10px;
    right: 25px;
}

.support-chats-list {
    list-style: none;
    margin: 0;
    padding: 0.5rem;
}

.support-chats-list-item {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2px;
}

.support-chats-list-link {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
    padding: 10px 12px;
    text-decoration: none;
    background: #ffffff;
    border: 0.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
}

.support-chats-list-link:hover {
    background: #f5f5f5;
}

.support-chats-list-avatar {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--default-bg-color);
    color: var(--default-link-color);
    border: 1px solid var(--default-link-color);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.support-chats-list-name {
    grid-column: 2;
    grid-row: 1;
    font-size: 14px;
    font-weight: 500;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    padding: 0;
}

.support-chats-list-time {
    grid-column: 3;
    grid-row: 1;
    font-size: 11px;
    color: #888;
    white-space: nowrap;
    align-self: center;
    padding-left: 6px;
}

.support-chats-list-link p {
    grid-column: 2 / 3;
    grid-row: 2;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.support-chats-unread-badge {
    grid-column: 3;
    grid-row: 2;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--default-link-color);
    color: var(--default-bg-color);
    font-size: 11px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
}

.fo-moderateur-unread-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: var(--danger-button-bg-color);
    color: var(--default-bg-color);
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    z-index: 10;
}

.support-chats-list-item.support-unread .support-chats-list-name {
    font-weight: 600;
}

.support-chats-list-item.support-unread .support-chats-list-link p {
    color: #111;
}

@keyframes support-flash {
    0%   { background-position: 150% center; }
    60%  { background-position: 0% center; }
    100% { background-position: -150% center; }
}

.support-chats-list-item.support-new .support-chats-list-link {
    background: linear-gradient(
            90deg,
            transparent 25%,
            #e8e6fd 50%,
            transparent 75%
    );
    background-size: 250% 100%;
    animation: support-flash 1.2s ease-in-out forwards;
}

#zone-contenu-principale {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    height: 600px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
}

.chat-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid #e9ecef;
    background: #fff;
    flex-shrink: 0;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--default-bg-color);
    color: var(--default-link-color);
    border : 1px solid var(--default-button-bg-color);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

#zone-contenu-principale {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
}

.chat-status-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #28a745;
}

.chat-header-name   { font-size: 14px; font-weight: 600; color: #212529!important; margin: 0; line-height: 1.2; }
.chat-header-status { font-size: 12px; color: #6c757d!important; margin: 0; }

#chatPrivateMsgSendProcess {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

#chatMsgSendHistorique {
    flex: 1;
    overflow-y: auto !important;
    width: 100% !important;
    max-height: none !important;
    margin-top: 0 !important;
    padding: 16px 18px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
}

#chatMsgSendHistorique::-webkit-scrollbar {
    width: 4px;
}

#chatMsgSendHistorique::-webkit-scrollbar-thumb {
    background: #dee2e6; border-radius: 4px;
}

.chat-bubble {
    max-width: 78%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 13.5px;
    line-height: 1.45;
    word-wrap: break-word;
    position: relative;
    animation: bubbleIn 0.25s ease-out;
}

@keyframes bubbleIn {
    from { opacity: 0; transform: translateY(8px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-bubble__sent {
    align-self: flex-end;
    background: var(--default-link-color);
    color: var(--default-bg-color);
    border-bottom-right-radius: 4px;
}

.chat-bubble__received {
    align-self: flex-start;
    background: var(--default-bg-color);
    color: var(--default-text-color);
    border: 1px solid #e9ecef;
    border-bottom-left-radius: 4px;
}

.chat-bubble__author {
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 2px;
    opacity: 0.85;
}

.chat-bubble__sent .chat-bubble__author {
    color: var(--default-bg-color);
}

.chat-bubble__received .chat-bubble__author {
    color: var(--default-link-color);
}

.chat-bubble__text {
    margin: 0;
}

.chat-bubble__time {
    font-size: 10px;
    margin-top: 4px;
    text-align: right;
    opacity: 0.6;
}

.chat-bubble__sent .chat-bubble__time {
    color: var(--default-input-border-color);
}

.chat-bubble__received .chat-bubble__time {
    color: #6c757d;
}

.ubiquity-chat-msg-conteneur {
    max-width: 78%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 13.5px;
    line-height: 1.45;
    word-wrap: break-word;
    align-self: flex-start;
    background: #fff;
    color: #212529;
    border: 1px solid #e9ecef;
    border-bottom-left-radius: 4px;
}

.ubiquity-chat-msg-conteneur.bubble-mine {
    align-self: flex-end;
    background: #534AB7;
    color: #fff;
    border: none;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 18px;
}

.ubiquity-chat-msg-conteneur.bubble-mine i,
.ubiquity-chat-msg-conteneur.bubble-mine .ubiquity-chat-msg-time {
    color: rgba(255,255,255,0.7) !important;
}

.chat-input-area {
    padding: 12px 16px;
    border-top: 1px solid #e9ecef;
    background: #fff;
    flex-shrink: 0;
}

.chat-input-row {
    display: flex; align-items: flex-end; gap: 10px;
}

.chat-textarea {
    flex: 1;
    resize: none;
    border: 1px solid #ced4da;
    border-radius: 22px !important;
    padding: 10px 16px !important;
    font-size: 13.5px;
    max-height: 100px;
    overflow-y: auto;
    font-family: inherit;
    line-height: 1.4;
    transition: border-color .15s;
    outline: none;
}

.chat-textarea:focus {
    border-color: #534AB7;
    box-shadow: 0 0 0 0.15rem rgba(83,74,183,.2);
}

.chat-textarea::placeholder {
    color: #adb5bd;
}

.btn-chat-send {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--default-link-color);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background .15s, transform .1s;
    text-decoration: none;
}

.btn-chat-send:active {
    transform: scale(0.95);
}

.btn-chat-send svg    {
    width: 16px;
    height: 16px;
    fill: #fff;
}

#chatmsgpop_error {
    margin-top: 8px; padding: 8px 14px;
    background: #f8d7da; border: 1px solid #f5c6cb;
    border-radius: 8px; font-size: 12.5px; color: #721c24;
    display: none;
}

#interface-live-moderateur-contact-link {
    position: relative;
}

#zone-contenu-principale-internaute {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    height: 600px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
}

.chat-modal-header-internaute {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid #e9ecef;
    background: #fff;
    flex-shrink: 0;
    color: #000000!important;
}

#msgSendProcess {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    height: 100%;
}

.live_chat_message_internaute_historique {
    flex: 1;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    max-height: none !important;
    margin-top: 0 !important;
    padding: 16px 18px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    min-height: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.live_chat_message_internaute_historique * {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.live_chat_message_internaute_historique::-webkit-scrollbar {
    width: 4px;
}

.live_chat_message_internaute_historique::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 4px;
}


.btn-chat-send,
.fancybox-close {
    text-decoration: none!important;
}
