html, body, h1, h2, h3, h4, h5, h6, p, ul, li {
    margin: 0px;
    padding: 0px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.flex-container-col {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
}

.flex-container-ligne {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}

.main {
    max-width: 1400px;
    margin: auto;
    padding-left: 10px;
    padding-right: 10px;
}

.espace {
    margin-top: 20px;
    margin-bottom: 20px;
}

h3 {
    font-weight: bold;
    color: #444444;
    margin-top: 20px;
    margin-bottom: 18px;
    font-size: 18px;
}

h4 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
}

p {
    margin-top: 10px;
    margin-bottom: 10px;
}

sub, sup {
    font-size: 0.7em;
    line-height: 0;
    position: relative;
    text-transform: lowercase;
}

/* HEADER */
header {
    background-image: url('/images/AccueilVOD8.jpg');
    min-height: 420px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
}

#siglecrc {
    position: absolute;
    top: 126px;
    left: 165px;
}

#notrepere {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

#fond_h1 {
    position: absolute;
    top: 40px;
    left: 0px;
    right: 0px;
    height: 78px;
    background-color: white;
    opacity: 0.5;
}

header h1.bandeau {
    position: absolute;
    top: 35px;
    left: 150px;
    color: #c5091d;
    font-family: 'EB Garamond', serif !important;
    font-size: 72px !important;
    font-style: italic;
    font-weight: bold;
    line-height: normal !important;
}

header h2 {
    position: absolute;
    top: 305px;
    left: 45px;
    color: #c5091d;
    font-size: 28px;
    font-weight: bold;
    width: 350px;
    text-align: center;
    padding: 5px;
    text-shadow: 1px 1px 1px #fff;
    line-height: 35px;
}

header nav {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: white;
    opacity: 0.9;
}

header nav ul {
    list-style: none;
}

header nav ul a {
    display: block;
    color: black;
    padding: 10px;
    font-size: 14px;
}

header nav ul a:hover {
    background-color: #c5091d;
    color: white;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

.dropdown:hover .dropdown-content {
    display: block;
}

div.recherche {
    float: right;
    padding: 3px;
    border: 1px solid #e0e3e8;
    margin-top: 3px;
}

div.recherche button {
    border: none;
    background-color: white;
}
div.recherche button:hover {
    cursor: pointer;
    background-color: #f7f7f7;
}

i.recherche {
    color: grey;
}

input.recherche {
    border: none;
    width: 100px;
    transition: all 0.7s ease 0s;
    -webkit-transition: all 0.7s ease 0s;
}

input.recherche:focus {
    outline: 0;
    width: 180px;
}

a {
    color: #228fe6;;
}


/* FIN HEADER */

/* MAIN */
#section1 div.section1-col {
    flex: 1;
}

#section2 {
    background-color: #EEEEEE;
    /* background-color: lightgrey;*/
}

#section3 {
    margin-bottom: 30px;
 /*   padding-bottom: 20px;
    background-color: lightgrey;*/
}

div.slider {
    padding: 5px;
    min-height: 80px;
}

div.titre-feuilleton {
    background-color: #c5091d;
    padding: 8px 5px;
}

div.titre-feuilleton:hover {
    background-color: #d24554;
}

#section1-col2 {
    margin-left: 20px;
}

/* SLIDER STRUCTURE */

.slideshow-container {
    position: relative;
    margin: auto;
    background-color: black;
    /*max-height: 492px;*/
}

.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
    height: auto;
}

.mySlides p {
    margin-top: 8px;
    margin-bottom: 15px;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

div.mySlides .text {
    display: none;
    color: #f2f2f2;
    font-size: 14px;
    padding: 5px;
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

div#dot {
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    text-align: center;
}

.dot {
    cursor: pointer;
    height: 13px;
    width: 13px;
    margin: 0 2px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
}

.active, .dot:hover {
    background-color: #c5091d;
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 3s;
    animation-name: fade;
    animation-duration: 3s;
}

.fade2 {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 2s;
    animation-name: fade;
    animation-duration: 2s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}
/*FIN SLIDESHOW*/

.voir_aussi {
    position: relative;
    width: 18%;
}

.voir_overlay {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
}

.voir_aussi:hover .voir_overlay {
    bottom: 0;
    height: 100%;
}

div.voir_aussi .text {
    color: white;
    font-size: 14px;
    position: absolute;
    overflow: hidden;
    top: 8px;
    left: 8px;
    bottom: 8px;
    right: 8px;
    line-height: 130%;
}

.text h4 {
    color: white !important;
    font-weight: bold;
}

span.detail h4 {
    color: white !important;
    font-weight: bold;
}


.image {
    display: block;
    width: 100%;
    height: auto;
}

div#voir_aussi {
    justify-content: space-between;
    margin-bottom: 20px;
}

/* TABS */
.tabs {
    width: 100%;
}

.tabs label {
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
    display: block;
    padding: 16px 30px 16px 30px;
    border-right: 1px solid white;
    cursor: pointer;
    background: #EEEEEE;
    color: #c5091d;
    font-weight: bold;
    -webkit-transition: background ease 0.2s;
    transition: background ease 0.2s;
    font-size: 16px !important;
}

.tabs .tab {
    -webkit-box-ordinal-group: 100;
    -webkit-order: 99;
    -ms-flex-order: 99;
    order: 99;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    width: 100%;
    display: none;
    padding: 20px;
}

.tabs input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.tabs input[type="radio"]:checked + label {
    background: #c5091d;
    color: white;
}

.tabs input[type="radio"]:checked + label + .tab {
    display: block;
}

.logos {
    justify-content: space-between;
    font-size: 16px !important;
}

a.logo {
    width: 20%;
    color: #D10000;
    padding: 20px 5px 20px 5px;
    text-align: center;
    margin: 5px;
    border: 1px solid #D10000;
    border-radius: 5px;
}

a.logo:hover {
    background-color: lightgoldenrodyellow;
    color: #D10000;
    text-decoration: none;
}

.logo i, .logo img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
}

ul.forfaits {
    align-items: center;
}

ul.forfaits li {
    margin: 4px;
    font-size: 16px !important;
}

ul.forfaits li span {
    display: inline-block;
    width: 50px;
    text-align: right;
}

.tag {
    float: right;
    font-size: 10px;
    font-weight: bold;
    color: white;
    padding: 3px;
    border-radius: 2px;
    text-align: center;
    min-width: 10px;
}

h4#forfaits {
    margin-top: 20px;
    font-size: 18px !important;
    font-weight: bold;
}

p.formules-abt {
    font-size: 16px !important;
}

a.abonne {
    font-size: 16px !important;
    font-weight: bold;
}

ul.nouveautes {
    list-style: none;
}

ul.nouveautes li {
    padding-right: 2px;
    padding-left: 2px;
    padding-bottom: 9px;
    padding-top: 6px;
    border-bottom: 1px solid lightgrey;
    height: 53px;
    position: relative;
    font-size: 14px;
}

ul.nouveautes li .detail {
    visibility: hidden;
    width: 100%;
    /*background-color: #23408f;*/
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    position: absolute;
    z-index: 1;
    bottom: 120%;
    left: 50px;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 600ms;
}

ul.nouveautes li .detail::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 9%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

ul.nouveautes li:hover .detail {
    visibility: visible;
    opacity: 1;
}

ul.nouveautes li:hover {
    background-color: lightgoldenrodyellow;
}

ul.nouveautes li img {
    float: left;
    margin-right: 10px;
    width: 100px;
}

ul.nouveautes li span.detail img {
    width: 200px;
    border: 1px solid white;
    border-radius: 5px;
}

ul.nouveautes li span.detail h4 {
    margin-top: 2px;
    margin-bottom: 0px;
}

ul.nouveautes li span {
    color: #777777;
    display: block;
    font-size: 12px;
    margin-top: 5px;
}


/* FOOTER */
footer {
    background-color: #333;
    color: #fff;
    padding-top: 30px;
    padding-bottom: 26px;
    font-size: 14px;
}

footer a {
    color: #999;
}

footer a:hover {
    color: #fff;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-left: 10px;
}

/* FIN FOOTER */

.bouton {
    background-color: #d10000;
    border: none;
    color: white;
    padding: 8px 8px;
    text-align: center;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    width: 140px;
    border-radius: 4px;
}

.connexion {
    position: absolute;
    right: 480px;
    top: 0px;
    border-radius: 0 0 4px 4px;
}

.inscription {
    position: absolute;
    right: 310px;
    top: 0px;
    border-radius: 0 0 4px 4px;
}

.bouton:hover {
    box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
    background-color: #f12c2c;
}

.bleu {
    background-color: #23408f; /*23408f*/
}

.bleu:hover {
    background-color: #228fe6;/*00a8e6*/
}

.vert {
    background-color: #4CAF50; /*23408f*/
}

.vert:hover {
    background-color: #66cc66;/*00a8e6*/
}

.rouge {
    background-color: #d10000;
}

.orange {
    background-color: #faa732;
}

a {
    text-decoration: none;
}

.smallcaps {
    font-variant: small-caps;
}

/*MEDIA QUERY*/

@media screen and (min-width: 1400px) {

    .tabs .tab {
        max-height: 300px;
    }

    .slideshow-container {
        max-height: 492px;
    }

}

@media screen and (max-width: 1280px) {
    .tabs label {
        font-size: 14px;
        padding: 16px 20px 16px 20px;
    }
}

@media screen and (max-width: 1000px) {
    .voir_aussi {
        width: 30%;
        margin-bottom: 10px;
    }

    #section1 div.section1-col {
        flex: 1 1 100%;
    }

    #section1-col2 {
        margin-left: 0;
    }

    #notrepere, header h2, #siglecrc {
        display: none;
    }

    header h1 {
        font-size: 48px;
        top: 75px;
    }

    header {
        min-height: 250px;
    }

    #fond_h1 {
        height: 50px;
        top: 80px;
    }

    .connexion {
        position: absolute;
        left: 20px;
        top: 0px;
        border-radius: 0 0 4px 4px;
    }

    .inscription {
        position: absolute;
        left: 190px;
        top: 0px;
        border-radius: 0 0 4px 4px;
    }

    .tabs label {
        font-size: 16px;
        padding: 16px 30px 16px 30px;
    }


    ul.nouveautes li span {
        margin-top: 0px;
    }


}

@media screen and (max-width: 680px) {
    .no-smart {
        display: none;
    }

    header nav ul, footer ul {
        flex-direction: column;
        -webkit-flex-direction: column;
    }

    .tabs .tab, .tabs label {
        -webkit-box-ordinal-group: NaN;
        -webkit-order: initial;
        -ms-flex-order: initial;
        order: initial;
    }

    .tabs label {
        width: 100%;
        margin-right: 0;
        margin-top: 5px;
        border-right: 0;
    }

    header h1 {
        left: 50px;
    }


    .logo {
        width: 40%;
    }

}