body, html {
    margin: 0;
    min-height: 100%;
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
    height: 100%;
    overflow: hidden;
}

.modal-content {
    color: #000000;
}

#zoom .sm {
    transform: scale(0.4);
}

#zoom .l {
    transform: scale(0.7);
}

#zoom .xl {
}

#uc-link a {
    text-decoration: none;
    color: white;
}

.logos {
    position: fixed;
    display: none;
    background-color: black;
    bottom: 10px;
    right: 10px;
}

.logos img {
    width: 150px;
}

#banner {
    padding: 10px;
}


.gold {
    color: #ffd700;
}

.silver {
    color: #c0c0c0;
}

.bronze {
    color: #CD7F32;
}


.direction .btn-check:checked + .btn {
    background-color: #FF7900;
    border-color: #333333;
}

.direction .btn-check + .btn {
    background-color: black;
    border-color: #333333;
    color: white;
}

.modal-xxl {
    max-width: 1140px;
}

.accordion-body {
    padding-left: 10px;
    padding-right: 10px;
}

.itemId {
    color: #FF7900;
    font-size: 20px;
    margin-right: 5px;
}

a:hover {
    color: #FF7900;
}

#banner a {
    text-decoration: none;
}

.configLogo {
    background-color: black;
    border: 5px solid black;
    width: 250px;
}


.text-content {
    padding: 20px;
}

.year-column {
    width: 170px;
    display: inline-block;
    vertical-align: top;
}

.vertical-year {
    display: table-cell;
    vertical-align: middle;
    height: 250px;
    border-right: 5px solid #FF7900;
    font-size: 24px;
    padding-right: 15px;
}

.vertical-year4Month {
    display: table-cell;
    vertical-align: middle;
    height: 250px;
    width: 140px;
    text-align: right;
    border-right: 5px solid #FF7900;
    font-size: 24px;
    padding-right: 15px;
}


.future .vertical-year {
    border-right: 5px dashed #FF7900;
}


.vertical-vignette {
    width: 150px;
    height: 250px;
    padding-left: 20px;
    vertical-align: middle;
    display: table-cell;
}

.badge.count {
    font-size: 0.5em;
    margin-left: 5px;
    padding-bottom: 0;
    margin-bottom: 10px;
}

.year-line {
    width: 100%;
    height: 250px;
    display: block;
    padding-left: 10px;
}

/* container */
#main {
    display: flex;
    height: 100%;
    flex-wrap: wrap;
}

#dates {
}

table tr.filter td {
    padding-top: 2px;
    padding-bottom: 2px;
}

#timeline {
    transform-origin: 0 0;
    height: 100%;
    width: 0;
}

#timeline:focus {
    border: 0;
}

.form-signin {
    width: 100%;
    max-width: 500px;
    padding: 15px;
    margin: auto;
}

#content {
    padding: 0;
    overflow: auto;
}


.viewer {
    border: 1px solid black;
}

.viewer button {
    float: right;
}

.viewer img, .viewer video, .viewer audio {
    width: 100%;
}

h1.main {
    margin: 0;
    font-size: 22px;
}


h1.main::before {
    content: url("img/svg/Orange_logo_50.svg");
    float: left;
    margin-right: 10px;
}

#bannerLogo {
    position: absolute;
    left: 25px;
    bottom: 20px;

}

#bannerLogo img {
    width: 250px;
}


#menu {
    margin-top: 50px;
    padding-left: 0;
}

#menu li {
    list-style: none;
    font-weight: bolder;
    font-size: 24px;
    margin-bottom: 20px;
}

#menu li a.active {
    color: #FF7900;
}


#menu #inlineFilters {
    padding-left: 12px;
    font-size: 18px;
}

#menu #inlineFilters li {
    margin-bottom: 2px;
}

#menu li span {
    display: inline-block;
    font-size: 32px;
    margin-right: 10px;
}

#menu hr {
    border-top: solid 2px #333333;
}

caption {
    font-size: 1em;
}

.empty-year {
    margin-top: 0px;
}

.year {
    padding-top: 15px;
    margin-bottom: 15px;
    list-style: none;
    display: inline-block;
    text-align: center;
    font-size: 24px;
    width: 170px;
    font-weight: bolder;
    border-bottom: 5px solid #FF7900;
}

.month {
    padding-top: 15px;
    margin-bottom: 0px;
    list-style: none;
    display: inline-block;
    text-align: center;
    font-size: 24px;
    width: 170px;
    font-weight: bolder;
    border-bottom: 5px solid #FF7900;
}

.year4Month {
    display: inline-block;
    text-align: center;
    font-size: 24px;
    width: 170px;
    font-weight: bolder;
}


.month.current, .year.current, .year4Month.current {
    color: #FF7900;
}

.future .year {
    border-bottom: 5px dashed #FF7900;
}

.vignette {
    width: 150px;
    height: 200px;
    margin-top: 15px;
    padding-left: 10px;
}


.line {
    height: 215px;
    border-left: 2px solid white;
    margin-left: 50%;
}

.future .line {
    border-left: 2px dashed white;
}

.small-line {
    height: 20px;
    border-left: 2px solid white;
    margin-left: 50%;
}

.future .small-line {
    border-left: 2px dashed white;
}

.vignette h2, .vertical-vignette h2 {
    font-size: 17px;
    margin-top: 5px;
    margin-bottom: 3px;
}

.vignette a, .vertical-vignette a {
    text-decoration: none;
    color: #999;
}

.vignette a:hover, .vertical-vignette a:hover {
    color: #ff7900;
}

.selected .visuel {
    border: solid 3px #ff7900;
    box-sizing: border-box;
    color: white;
}

.selected a {
    color: #ff7900;
}

.vignette>a:has(> .visuel.disabled) {
    display:none;
    /*
      filter: grayscale(100%);
      opacity: 0.5;
   */
}


.visuel:hover {
    border: solid 3px #ff7900;
    box-sizing: border-box;
    color: white;
}


.visuel {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    font-size: 24px;

}



.fiche {
    position: fixed;
    overflow-y: auto;
    z-index: 1000;
    top: 20%;
    bottom: 20%;
    width: 50%;
    height: 60%;
    background-color: #FFFFFF;
    padding: 30px;
}

.fiche.right {
    right: 0%;
    width: 50%;
    top: 0%;
    bottom: 0%;
    height: 100%;    
}

.fiche.left {
    left: 0%;
    width: 50%;
    top: 0%;
    bottom: 0%;
    height: 100%;
}

.fiche.middle {
    left: 25%;
    right: 25%;
}


/* tablet breakpoint */
@media (min-width: 768px) {
    #banner {
        width: 300px;
        border-right: solid 2px #333333;
        order: -1;
    }
    
    #content {
        width: calc(100% - 300px);
    }
}

@media screen and (height <= 700px) {
    #bannerLogo {
        display: none;
    }
}


@media screen and  (1001px <= width <= 1280px) {
    .fiche {
        width: 80%;
        left: 10%;
        right: 10%;
        top: 10%;
        bottom: 10%;
    }
}

#menu li .text {
    font-size: 1em;
}

@media screen and  (300px <= width <= 1000px) {
    .label4SC {
        display: inline-block !important;
        font-size: 0.8em;
    }

    #banner {
        width: 80px;
        border-right: solid 2px #333333;
        order: -1;
    }

    #content {
        width: calc(100% - 80px);
    }

    #banner h1 .label {
        display: none;
    }

    #menu {
        margin-top: 5px;
    }

    #filtersLogo {
        display: none;
    }

    #direction {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    #zoom {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    
    #menu li span.label {
        display: none;
    }

    #menu li .text {
	font-size: 1em;
        display: none;
    }

    #menu li span {
        margin-left: 5px;
    }

    #menu li {
        margin-bottom: 5px;
    }

    #bannerLogo {
        display: none;
    }

    .fiche {
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
    }

    .fiche.middle {
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
    }
}


.visuel_fiche {
    /*		background-color: blue;*/
    width: 100%;
    max-height: 80%;
    height: 80%;
    overflow: hidden;
    float: left;
    margin-right: 20px;
}

.visuel_fiche img, .visuel_fiche video {
    width: 100%;
    max-height: 90%;
    object-fit: contain;
}

.visuel_fiche video {
    width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.visuel_fiche audio {
    width: 90%;
}

.texte_fiche {
    display: block;
    color: #000000;
}

.texte_fiche a {
    color: #F60;
}


.fiche h2 {
    display: block;
    color: #000000;
    margin-top: 0;
}

.item {
    text-decoration: none;
    color: #000000;
}

.next {
    float: right;
}

.close {
    text-decoration: none;
    color: #000000;
    display: block;
    float: right;
    font-weight: bolder;
    font-size: 32px;
}

.no-contractual {
    font-size: 24px;
    font-weight: bold;
    width: 500px;
    padding-top: 10px;
}

.calendar {
    padding: 10px;
}

.calendar h1, .calendar h2 {
    margin-bottom: 0px;
}


#advent { 
    transform-origin: 0 0;
}

#advent table { 
    transform-origin: 0 0;
    margin-top: 2em;
    border-collapse: separate;
}

#advent table td {
    border: 2px solid transparent;
    border-collapse: separate;
    background-color: #1a1a1a;
    width: 200px;
    height: 200px;
    font-weight: bold;
    font-size: 1.5rem;
    color: #4e4e4e;
    text-align: center;
    vertical-align: center;
}


#advent  table td:hover {
    border: 2px solid #ff7900;
}

#advent table td p {
    padding: 0;
    margin: 0;
}

#advent table td .date {
    font-size: 3rem;
}

#advent table td .video {
    height: 100%;
    text-align: left;
    padding-top: 140px;
    padding-left: 15px;
}

#advent table td .video i {
    color: white;
}


.calendarItem {
    background-color: black;
    color: white;
    position: fixed;
    overflow-y: auto;
    z-index: 1000;
    top: 10%;
    bottom: 10%;
    width: 60%;
    height: 80%;
    left: 20%;
    right: 20%;
    padding: 30px;
}


.calendarItem h2 {
    color: white;
    padding: 5px;
}


.calendarItem h2 a{
    color: white;
}

.calendarItem h2 .title {
    color: #ff7900;
}

#graph {
    background: url(/img/svg/Orange_logo.svg) right bottom no-repeat;
    background-size: 48px;
    margin-top : 100px;
}

#graph h2 {
    color: #ff7900;
}

#graph img {
    max-width: 100%;
    max-height: auto;
}

.calendar {
    max-width: 1450px;
    margin: auto;
}

.calendarItem h2 .subtitle {
    color: white;
    font-size: 0.8em;
}


.calendarItem video {
    max-height: 90%;
    max-width: 100%;
    width: 100%;
}

#calendarTitle td.logo {
    width: 70px;
}

#calendarTitle img {
    width: 70px;
    margin-right: 15px;
    margin-top: -10px;    
}

.logout {
    float: right;
}

@media screen and  (1001px <= width <= 1280px) {
    .calendarItem {
        width: 80%;
        left: 10%;
        right: 10%;
        top: 10%;
        bottom: 10%;
    }
}

@media screen and  (300px <= width <= 1000px) {
    .calendarItem {
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
    }
}

