﻿*/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/

html 
{
    width: 100%;
    font-size: 15px;
}
body 
{
    background-color: White;
    font-size: .85em;
    font-family: Arial;
    color: var(--font-color);
    margin: 0;
    padding: 0;
    min-height: 712px;
    /*min-width: 840px;*/
}


/* Scrollbar pour Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--font-color) transparent;
}
    *:hover {
        scrollbar-color: var(--font-color) transparent;
    }

/* Scrollbar pour Chrome, Safari et Edge */
    *::-webkit-scrollbar {
        width: 12px;
        height:12px;
    }

    *::-webkit-scrollbar-thumb {
        background-color: var(--font-color);
        border: 1px solid transparent;
        border-radius: 12px;
    }

        *::-webkit-scrollbar-thumb:hover {
            opacity: 0.5;
        }



header, footer, nav, section, form 
{
            display: block;
            margin-right: auto;
            margin-left: auto;
            width: 100%;
        }

form 
{
    display: block;
    margin-right: auto;
    margin-left: auto;
    width: 95%;
    height: 95%;
}


hr {
    margin: 1rem 0;
    color: inherit;
    border: 0;
    border-top: 1px solid;
    opacity: .25;
}
/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page 
{
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 100%;
}

header, #header 
{
    margin-bottom: 0px;
    padding: 0;
}


/* LOGIN ELEMENTS   
----------------------------------------------------------*/

:root {
    /* Parameters */
    --site-header-height: 46px;
    --site-header-item-width1: 90px;
    --site-header-width-logo-name: 200px;
    --site-header-margin-left: 2%;
    --site-header-margin-right: 0px;
    --site-header-logo-url: url("/resources/system/mxplorer1.png");
    --site-header-background-color: #577BB1;
    --site-header-login-color: white;
    --site-header-login-font-weight: bold;
    --font-color: #577BB1;
    --hover-font-color: #C3C6D2;
}

.navbar {
    top: 15px !important;
}

.headerDivContainer {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: var(--site-header-height);
    background-repeat: no-repeat;
    background-position: center center;
    object-fit: fill;
    background-size: 15%;
    background-color: var(--site-header-background-color);
    position:fixed;
}

.headerDivLeftContainer {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.headerDivMidLogo {
    height: 100%;
    width: var(--site-header-item-width1);
    background-repeat: no-repeat;
    background-size: 94%;
    background-position: right center;
}

.headerDivMidLogoName {
    height: auto;
    width: var(--site-header-width-logo-name);
    background-size: 100%;
    background-image: var(--site-header-logo-url);
    background-repeat: no-repeat;
    background-position: center center;
    margin-left: var(--site-header-margin-left);
}


.headerDivMidContainer {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.headerDivRightContainer {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    background-color: var(--site-header-background-color);
    padding:0!important;
}

.headerDivRightLogin {
    color: var(--site-header-login-color);
    font-weight: var(--site-header-login-font-weight);
    /*width:100%;*/
}

.headerDivRight {
    height: 100%;
    margin-right: var(--site-header-margin-right);
    background-repeat: no-repeat;
    background-position: right bottom;
    width:100%;
    padding:0%;
}



    /* TAB MENU   
----------------------------------------------------------*/
    
.main 
{
    width: 100%;
    display: block;
    margin-right: auto;
    margin-left: auto;
}



#parentFolder 
{
    padding-top: 40px;
    padding-bottom: 10px;
    max-width: none !important;
}

ul#menu 
{
    padding: 0 0 2px;
    float: right;
    margin-top: -85px;
    width: 250px;
    margin-right: 65px;
}

.displayInlineBlock {
    display: inline-block;
    box-sizing: content-box;
    zoom: 1;
}



ul#menu li 
{
    height: 38px;
    width: 123px;
}

    ul#menu li a 
    {
        padding: 10px;
        text-decoration: none;
        color: White;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        background-image: url('/resources/system/backgroundnavigationbutton.png');
        display: block;
        vertical-align: middle;
        text-align: center;
    }

        ul#menu li a:hover 
        {
            display: block;
            text-decoration: none;
            background-image: url('/resources/system/backgroundnavigationbuttonmousehover.png');
        }

        ul#menu li a:active {
            text-decoration: none;
            color: Black;
        }

    ul#menu li.selected a {
        color: Green;
    }

li#folder {
    margin: auto 15px auto 15px;
}

    li#folder table {
        display: inline;
    }

    li#folder a {
        font-weight: bold;
        text-decoration: none;
        color: var(--font-color);
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        text-align: center;
        width: 100px;
    }

.commonFolderStyle {
    background-position: center center;
    height: 100px;
    width: 100px;
    margin-bottom: 10px;
    background-repeat: no-repeat;
}

    .commonFolderStyle > img {
        border-style: none;
        max-height: 100%;
        max-width: 100%;
    }

.customFolder {
    background-image: none;
}

.navigationFolder {
    background-image: url('/resources/system/closed navigation folder.png');
}

    .navigationFolder:Hover {
        background-image: url('/resources/system/open navigation folder.png');
    }

.navigationFolderUpdate {
    background-image: url('/resources/system/navigation folder work in progress.png');
}

.documentFolderEmpty {
    background-image: url('/resources/system/empty document folder.png');
}

    .documentFolderEmpty:Hover {
        background-image: url('/resources/system/empty document folder.png');
    }

.documentFolder {
    background-image: url('/resources/system/closed document folder.png');
}

    .documentFolder:Hover {
        background-image: url('/resources/system/open document folder.png');
    }

.documentFolderUpdate {
    background-image: url('/resources/system/document folder work in progress.png');
}

.folderLabel 
{
    max-height: 75px;
    overflow: hidden;
    clear: both;
    font-weight: bold;
    text-decoration: none;
    color: Black;
    text-align: center;
    width: 100px;
}

.displayInline 
{
    display: inline;
}

.displayCentered 
{
    margin: auto;
}
.fileNameLabel 
{
    margin: auto;
    height: 50px;
    vertical-align: top;
    top: auto;
    bottom: auto;
    white-space: pre-line;
    font-weight: bold;
}

    .fileNameLabel a 
    {
        text-align: center;
    }

.fileListDisposition 
{
    background-position: center center;
    background-repeat: no-repeat;
    overflow: auto;
}

#downloadExcel 
{
    background-image: url('/resources/system/xls.png?v=2');
    background-size: contain;
    width: 50px;
    margin-left:20%;
}

#downloadETVUpdateFile {
    background-image: url('/resources/system/download_etvupdatefile.png');
    background-size: contain;
}

#downloadPowerPoint {
    background-image: url('/resources/system/ppt.png?v=2');
    background-size: contain;
    width: 50px;
    margin-left: 20%;
}

#downloadZip {
    background-image: url('/resources/system/telecharger.png');
    background-size: contain;
    width: 50px;
    height:25px;
    margin-left: 20%;
}

.viewIconLayout 
{
    width: 100px;
    height: 50px;
}

    .viewIconLayout:hover 
    {
        cursor: pointer;
    }

.downloadTitle 
{
    background-image: url('/resources/system/download.png');
}

.previewTitle 
{
    background-image: url('/resources/system/preview.png');
}
.viewIconTitleLayout 
{
    width: 100px;
    height: 50px;
    color: Black;
    font-size: 20px;
}

#searchInput 
{
    width: fit-content;
    padding: 0.5% 30% 0.5% 2%;
    font: 12px 'lucida sans', 'trebuchet MS', 'Tahoma';
    display:flex;
    margin-inline:auto;
    border-radius:5px;
    border:1px gray solid!important;
}

    #searchInput:focus 
    {
        outline: 0;
        background: #fff;
        box-shadow: 0 0 2px rgba(0,0,0,.8) inset;
    }

    #searchInput::placeholder 
    {
        color: #999;
        font-weight: normal;
        font-style: italic;
    }

#nav-search {
    display: block;
    padding-block: 10px;
    width: 100%;
}

.webDashBoardView {
    background-image: url('/resources/system/dashboard.png?v=3');
    background-size: contain;
    width: 50px;
    margin-left: 20%;
}

.dynamicTableView {
    margin-right:10px;
    background-image: url('/resources/system/view_dynamxplorer.png');
}

.ytdAnalysisView {
    background-image: url('/resources/system/view_ytdanalysis.png');
}

.massExplorerView {
    background-image: url('/resources/system/view_massxplorer.png');
}

.mediaCampagnesView {
    background-image: url('/resources/system/view_mediacampagnes.png');
}

.reportViewerView {
    background-image: url('/resources/system/view_dynamxplorer.png');
}


.excelView {
    background-image: url('/resources/system/pdf.png?v=2');
    background-size: contain;
    width: 50px;
    margin-left: 20%;
}

.excelDownload {
    background-image: url('/resources/system/download_excel.png?v=3');
}

.settingsDisplay {
    background-image: url('/resources/system/recomputenavigation.png');
}

.mp4View {
    background-image: url('/resources/system/videoplay.png?v=2');
}

.imageView {
    background-image: url('/resources/system/imageviewicon.png?v=2');
}

.powerPointView {
    background-image: url('/resources/system/pdf.png?v=2');
}

.optionsButtonClass {
    background-position: center center;
    background-image: url('/resources/system/options.png');
    opacity: 0.55;
    height: 32px;
    width: 32px;
    display: inline-block;
    float: right;
    margin-right: 50px;
}

    .optionsButtonClass:Hover {
        opacity: 1;
    }

.optionsDialogContentHeader {
    text-align: center;
    width: 100%;
    color: var(--font-color);
    font-weight: bold;
}

.optionsDialogContentHeaderSeparator {
    background-color: var(--font-color);
    width: 100%;
}

.commonSwitchViewStyle {
    background-position: center center;
    outline: 0;
    height: 48px;
    width: 48px;
    display: inline-block;
    background-repeat: no-repeat;
    transform: translateZ(0);
    transition-duration: 0.3s;
    transition-property: transform;
}

    .commonSwitchViewStyle:Active {
        border: 0px none Transparent;
    }

    .commonSwitchViewStyle:Hover {
        transform: scale(0.9);
    }

.commonSwitchViewStyleSelected {
    border: 2px Solid Black;
}

.switchLiClass {
    margin-right: 10px;
}

.switchLiTableTd {
    text-align: center;
    width: 100%;
}

.switchMapView {
    background-image: url('/resources/system/map.png');
}

.switchNavigationView {
    background-image: url('/resources/system/navigation.png');
}

.switchFolderView {
    border-color: transparent;
    background-image: url('/resources/system/folders.png');
}

/* Styles for JQVMap
----------------------------------------------------------*/
.jqvmap-label {
    position: absolute;
    display: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #292929;
    color: white;
    font-family: sans-serif, Verdana;
    font-size: smaller;
    padding: 3px;
}

.jqvmap-zoomin, .jqvmap-zoomout {
    position: absolute;
    left: 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #000000;
    padding: 3px;
    color: white;
    width: 10px;
    height: 10px;
    cursor: pointer;
    line-height: 10px;
    text-align: center;
}

.jqvmap-zoomin {
    top: 10px;
}

.jqvmap-zoomout {
    top: 30px;
}

.jqvmap-region {
    cursor: pointer;
}

.jqvmap-ajax_response {
    width: 100%;
    height: 300px;
}

#mapPanel {
    border: 4px double black;
}

#vMap {
    margin: auto;
    width: 95%;
}

#nomPaysSelection {
    text-align: center;
    font-size: x-large;
    background-color: #e8eef4;
    color: #696969;
    font-weight: 600;
    padding: 10px;
}



/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #000;
}

h1 {
    font-size: 2em;
    margin-bottom: auto;
    margin-top: auto;
}

h2 {
    padding: 0 0 10px 0;
    height: 45px;
    margin-left: 59px;
    color: #FF0000;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

#logindisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
    margin: 10px;
    color: #FFFFFF;
}


a#login {
    padding-top: 10px;
    padding-left: 10px;
    text-decoration: none;
    color: White;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    display: block;
    vertical-align: middle;
    text-align: center;
    background-repeat: no-repeat;
    height: 36px;
    width: 123px;
}



a#logout {
    padding-top: 10px;
    padding-left: 10px;
    text-decoration: none;
    color: white;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    display: block;
    vertical-align: middle;
    text-align: center;
    background-repeat: no-repeat;
    height: 36px;
    width: 123px;
}

#logoutForm {
    display: flex;
    margin-block: auto;
    justify-content: right;
    padding-right: 9%;
}

#siteMap {
    display: inline;
    padding-bottom: 3%;
}

    #siteMap ul {
        margin: 0;
        padding: 0;
        width: 500px;
    }

    #siteMap ul li {
        display: inline;

        }

        #siteMap ul li a {
            font-size: 1em;
            font-weight: bold;
            color: white !important;
            text-decoration: none;
        }

            #siteMap ul li a:hover {
                opacity: 80%;
                text-decoration: underline;
            }

.homeLinkClass {
    display: block;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
}


a#homeLink {
    background-image: url('/resources/system/new_homeicon.png');
    background-size: 69%;  
}


#navigation-breadcrumb {
    display: flex;
    align-items: center;
    padding: 0;
    top: 0!important;
    left:0;
    position: fixed;
    width: fit-content;
    margin-top: 0;
    padding-top: 6px;
    margin-left: 1%;
}


#viewItemsContainer {
    text-align: center;
}

#DashBoardsTableContainer1 {
    margin-left: auto;
    margin-right: auto;
    /*width: 600px;*/
}

#DashBoardsTableContainer2 {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    /* width: 600px;*/
}

#ulViewContainer {
    margin-left: -3em;
}

.ParentImageClass {
    display: block;
    background-repeat: no-repeat;
    width: 100px!important;
    height: 100px!important;
}

#navigationTable {
    width: 100%;
    height: 100%;
}

#navigationSearchTd {
    width: 30%;
    vertical-align: top;
    border-right: 3px solid Gray;
}

    #navigationSearchTd > div {
        margin-right: 5px;
    }

.navigationSearchItemsdHeader {
    background-color: #d4d4d4;
    margin-bottom: 5px;
    margin-top: 5px;
    padding: 2px 2px 2px 5px;
    font-weight: bold;
}

.navigationSearchItemsContent {
    max-height: 150px;
    overflow: auto;
}

#navigationSearchItems {
    width: 100%;
}

.navigationSearchItem {
    background-color: White;
}

.searchItem {
    text-decoration: none;
    color: Gray;
    margin-left: 20px;
    width: 100%;
    

}

.contextSearchItem {
    text-decoration: none;
    color: Gray;
    margin-left: 20px;
    width: 100%;
    white-space: nowrap;
}

.navigationSearchItem:hover {
    background-color: #e7e7e7;
}

.navigationSearchItemSelected {
    background-color: #6C6B6B;
    color: White;
}

    .navigationSearchItemSelected a {
        color: White;
    }

#navigationSearchResult {
    margin-left: 2%;
    margin-right: 2%;
}

#navigationSearchResultTd {
    vertical-align: top;
    width: 70%;
}

.navigationSearchContextTd, .navigationSearchFolderTd {
    vertical-align: top;
}

.navigationSearchResultContentTable, .navigationSearchResultFolderTable {
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}

    .navigationSearchResultContentTable > tbody > tr > td {
        border-bottom: 3px solid Gray;
    }

.navigationSearchResultFolderTableTd {
    width: 120px;
}

.tableWidthAll {
    width: 100%;
}

.navigationViewIcon {
    width: 25px;
    height: 25px;
    margin-left: 10px;
    margin-right: 10px;
    background-size: contain;
}

.navigationViewIconTd {
    width: 45px;
}

.navigationFormClass {
    margin: 0px;
    padding: 0px;
}

.navigationViewIcon:hover {
    cursor: pointer;
}

.navigationFileNameLabel {
    color: #5189b8;
    font-weight: bold;
    font-size: 0.8em;
    text-decoration: none;
}

.navigationFileNameLabelDisabled {
    color: #5189b8;
    font-weight: bold;
    font-size: 0.8em;
    text-decoration: none;
}

.navigationFileNameLabel:hover {
    cursor: pointer;
}

#searchContextTable {
    width: 100%;
    border: 1px solid black;
}

#searchContextTableHeader {
    background-color: Gray;
    color: White;
    font-weight: bold;
    text-align: center;
}

#searchInputNavigation {
    width: 100%;
    height: 35px;
    font: 12px 'lucida sans', 'trebuchet MS', 'Tahoma';
    border: 1px solid gray;
    background: #fff;
    border-radius: 8px;
}

    #searchInputNavigation:focus {
        outline: 0;
        background: #fff;
        box-shadow: 0 0 2px rgba(0,0,0,.8) inset;
    }

    #searchInputNavigation::placeholder {
        color: #999;
        font-weight: normal;
        font-style: italic;
    }


#navigationTreeSearchDetail {
    margin-top: 20px;
    margin-bottom: 50px;
    font-size: 1.2em;
    font-weight: bold;
    color: Gray;
}

#mp4Player {
    background-color: Black;
    width: 100%;
    min-height: 325px;
    min-width: 575px;
}

#imageView {
    background-color: Black;
    vertical-align: middle;
    width: 100%;
}

#commonMediaViewer .e-dlg-content {
    vertical-align: middle;
    text-align: center;
    display: table-cell;
}

.navigationDateSelection {
    background-color: white;
    border: 1px solid black;
    font: arial;
    font-family: Arial;
    font-size: small;
    font-weight: normal;
    color: #000000;
    padding: 10px;
}

a.boxclose {
    float: right;
    cursor: pointer;
    color: #fff;
    border: 1px solid #AEAEAE;
    background: #605F61;
    font-size: 31px;
    font-weight: bold;
    display: inline-block;
    line-height: 0px;
    padding: 11px 3px;
}

.boxclose:before {
    content: "×";
}

.dialogButton {
    border: 1px solid #c0c0c0;
    cursor: pointer;
}

.dialogButtonText {
    font-size: 15px;
    color: Black;
    min-height: 20px;
    padding: 5px;
}

    /* Evite de surligner en bleu tout moche apres clic ou tap sur tablette */
    .dialogButtonText ::selection, .dialogButtonText::-moz-selection {
        background: transparent;
    }

.dialogExitButton {
    background-color: #c0c0c0;
}

.loadingExportPopup {
    font-size: 15px;
    width: 300px;
    text-align: center;
    border: grey solid 1px;
    display: none;
    background-color: White;
}

.loadingExportPopupHeader {
    background-color: lightgrey;
    height: 30px;
    vertical-align: middle;
    text-align: center;
    width: 100%;
    line-height: 30px;
}

/* //TODO: duplicated in DashboardCommon.css; move these rules to a common place */

/*
//TODO in order to be consistent with MxplorerPlace1:
- ensure scrollbars are visible even when a modal dialog is displayed
- ensure modal dialogs move along with page scrolling 
*/

body.e-dlg-target.e-scroll-disabled {
    overflow: visible !important;
}

.e-dlg-container {
    position: absolute !important;
}

.e-dlg-overlay {
    opacity: 0.1;
}


/* 
AsjQuerySkinCupertino - emulates jQueryAutoFormat(jQuerySkins.Cupertino) 
//TODO do something similar for jQuerySkins.Redmond
*/

.e-dialog.AsjQuerySkinCupertino {
    padding: .2em;
}

    .e-dialog.AsjQuerySkinCupertino .e-dlg-header {
        font-family: Segoe UI;
        font-size: 11px;
        font-weight: bold;
        float: left;
        margin: .1em 0 .2em;
        background: #e7eef3;
    }

    .e-dialog.AsjQuerySkinCupertino .e-dlg-header-content {
        border: 1px solid #ddd;
        border-radius: 4px;
        padding: .5em .3em .3em 1em;
        background: #e7eef3;
    }

    .e-dialog.AsjQuerySkinCupertino .e-dlg-content {
        font-family: Segoe UI;
        font-size: 11px;
        border: 1px solid #ddd;
        border-radius: 4px;
        padding: .5em 1em;
    }

    .e-dialog.AsjQuerySkinCupertino input,
    .e-dialog.AsjQuerySkinCupertino button,
    .e-dialog.AsjQuerySkinCupertino .ui-widget {
        font-family: Segoe UI;
        font-size: 11px;
        font-weight: normal;
        color: #444;
}
