﻿/*
.primary {
    color: rgb(40, 40, 40);
}

.accent {
    color: rgb(185, 7, 57);
}

*/

body {
    margin: 0px;
    font-family: Calibri;
    font-size: 18px;
}

.container-home {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    overflow: auto;
}

.container {
    position: absolute;
    top: 60px;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: auto;
}

.block-margin {
    margin-bottom: 50px;
}

.content-margin {
    margin-bottom: 30px;
}

.micontent-margin {
    margin-bottom: 15px;
}

hr {
    margin: 5px 0px;
}

/* TOPBAR */

.topbar a {
    color: inherit;
    cursor: inherit;
    text-decoration: inherit;
}

.menu a {
    color: inherit;
    cursor: inherit;
    text-decoration: inherit;
}

.topbar {
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 10;
    color: white;
    padding: 0 200px;
    background-color: rgb(185, 7, 57);
    transition: background-color 0.3s, height 0.3s, box-shadow 0.3s;
    box-shadow: 0px 4px 14px rgba(40, 40, 40, 0.8);
}

.menu {
    position: fixed;
    display: flex;
    top: 60px;
    left: 0;
    right: 0;
    height: 0px;
    background-color: white;
    color: rgb(40, 40, 40);
    z-index: 9;
    overflow: hidden;
    transition: height 0.3s;
    box-shadow: 0px 4px 14px rgba(40, 40, 40, 0.8);
}

#entreprise-menu {
    padding-left: 350px;
}

#media-menu {
    padding-left: 510px;
}

.menu .menu-button {
    padding: 10px 20px;
    display: flex;
    height: calc(100% - 10px - 10px);
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background-color 0.3s, height 0.2s;
    font-weight: bold;
    cursor: pointer;
    text-shadow: 0px 1px 3px rgba(40, 40, 40, 0.2);
    text-align: center;
}

.menu .menu-button:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.menu.open {
    height: 60px;
}

.topbar-index {
    height: 110px;
    background-color: transparent;
    box-shadow: 0px 0px 0px transparent;
}

.menu-index {
    top: 110px;
}

.topbar.scrollOffset {
    right: 17px;
}

.menu.scrollOffset {
    right: 17px;
}

.topbar .topbar-button {
    padding: 10px 20px;
    display: flex;
    height: calc(100% - 10px - 10px);
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: background-color 0.3s, height 0.2s;
    font-weight: bold;
    cursor: pointer;
    text-shadow: 0px 1px 3px rgb(40, 40, 40);
}

.topbar .topbar-button:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.topbar .logo-container {
    position: relative;
    height: 100%;
    width: 150px;
}

.topbar .logo-container .logo {
    cursor: pointer;
}

.topbar .logo img {
    position: absolute;
    height: 100%;
    transition: opacity 0.3s;
}

.topbar .logo .logo-1 {
    opacity: 0;
}

.topbar .logo .logo-2 {
    opacity: 1;
}

.topbar-index .logo .logo-1 {
    opacity: 1;
}

.topbar-index .logo .logo-2 {
    opacity: 0;
}

/* BOTTOM BAR */

.bottombar {
    display: flex;
    height: 100px;
    color: white;
    padding: 0 200px;
    background-color: rgb(185, 7, 57);
    margin-top: 40px;
    font-size: 22px;
    width: calc(100% - 400px);
}

    .bottombar .logo-container {
        position: relative;
        width: 150px;
        padding: 5px 0px;
    }

        .bottombar .logo-container .logo {
            cursor: pointer;
        }

        .bottombar .logo img {
            position: absolute;
            height: calc(100% - 10px);
            transition: opacity 0.3s;
        }

    .bottombar .bottombar-content {
        display: flex;
        flex: 1 1 auto;
        align-items: center;
        justify-content: center;
        margin-left: -150px;
    }

    .bottombar a {
        margin-left: 5px;
        color: white;
    }

    .bottombar a:hover {
        color: rgb(180, 180, 180);
    }

/* LATEST CONTENT */

.latest-content {
    display: table;
    position: relative;
    width: 65%;
    margin-left: auto;
    margin-right: auto;
} 

.latest-content .latest-block {
    background-color: rgba(40, 40, 40, 0.1);
    position: relative;
    width: calc(50% - 10px);
}

.latest-content .latest-block .latest-title {
    background-color: #b90739;
    color: white;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 24px;
}

.latest-content .latest-pictures .latest-pictures-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.latest-content .image-block-container .img-wide {
    max-height: 100%;
}

.latest-content .image-block-container .img-tall {
    max-width: 100%;
}

.latest-content .image-block-container {
    position: relative;
    overflow: hidden;
    flex: 1 1 auto;
    height: 130px;
    margin: 10px 10px;
    box-shadow: 0px 4px 8px rgba(40, 40, 40, 0.4);
    transition: box-shadow 0.3s;
    flex-shrink: 0;
}

.latest-content .image-block-container:hover {
    box-shadow: 0px 4px 18px rgba(40, 40, 40, 0.8);
}

.latest-content .image-block-container img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.latest-content .latest-block .latest-block-container {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.latest-content .latest-button {
    background-color: rgb(40, 40, 40);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 2px 2px 16px rgba(40, 40, 40, 0.8);
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}

.latest-content .latest-button:hover {
    background-color: rgb(80, 80, 80);
}
    
.latest-content .latest-pictures .latest-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.latest-content .latest-pictures {
    float: left;
    height: 400px;
}

.latest-content .navigation {
    float: right;
}

.latest-content .navigation .button-container {
    display: flex;
    flex-wrap:wrap;
    align-items: center;
}

.latest-content .navigation .block .block-title {
    font-weight: bold;
    font-size: 22px;
}

.latest-content .navigation .block {
    margin-bottom: 10px;
}

.latest-content .navigation .block:last-child {
    margin-bottom: 0px;
}

.latest-content .navigation .button-container .latest-button {
    margin: 5px;
}

/* HEADER */

.header {
    width: 100%;
    text-align: center;
    background-color: rgb(40, 40, 40);
    overflow: hidden;
    position:relative;
}

.header .header-image {
    display: block;
    width: 100%;
    margin: auto;
}

.header .fader {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(rgba(40, 40, 40, 0.8), transparent 50%);
}

/* CONTENT */

.titlebar {
    position: relative;
    width: 100%;
    height: 100px;
    line-height: 100px;
    background-color: #b90739;
    color: white;
    font-size: 40px;
    text-align: center;
    vertical-align: middle;
}

.titlebar .logo {
    position: absolute;
    width: 16%;
    top: 50%;
    transform: translateY(-50%);
    left: 50px;
    box-shadow: 0px 4px 14px rgba(40, 40, 40, 0.8);
}

.content .image-block {
    display: flex;
    align-items: center;
}

.content .video-block {
    text-align: center;
}

.content .image-block .block {
    flex: 1 1 auto;
}

.content .image-block-container {
    position: relative;
    overflow: hidden;
    width: 300px;
    height: 250px;
    margin: 0px 10px;
    box-shadow: 0px 4px 8px rgba(40, 40, 40, 0.4);
    transition: box-shadow 0.3s;
    flex-shrink: 0;
}

.content .image-block-container.video {
    width: 400px;
    height: 225px;
}

.content .image-block .button-container {
    text-align: right;
}

.content .button {
    background-color: rgb(40, 40, 40);
    color: white;
    font-size: 18px;
    box-shadow: 2px 2px 16px rgba(40, 40, 40, 0.8);
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}

.content .button:hover {
    background-color: rgb(80, 80, 80);
}

.play-shadow {
    box-shadow: 2px 2px 16px rgba(40, 40, 40, 0.8);
}

.content .image-block-container .play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 100px;
}

.content .image-block-container:hover {
    box-shadow: 0px 4px 18px rgba(40, 40, 40, 0.8);
}

.content .image-block-container:hover .play {
    text-shadow: 0px 4px 18px rgba(40, 40, 40, 0.8);
}

.content .image-block-container img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.content .image-block-container .image-title {
    position: absolute;
    width: 100%;
    background-color: rgba(40, 40, 40, 0.7);
    color: white;
    text-align: center;
    text-transform: uppercase;
    height: 30px;
    line-height: 30px;
}

.content .image-block-container .img-wide {
    max-height: 100%;
}

.content .image-block-container .img-tall {
    max-width: 100%;
}

.content .block {
    text-align: justify;
    background-color: rgba(40, 40, 40, 0.1);
    padding: 10px 20px;
    border-left: solid 4px rgb(185, 7, 57);
}

.content .title-container {
    display: block;
    width: 100%;
    text-align: center;
}

.content .image-container {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-around;
}

.content .image-container img {
    display: block;
    margin: 5px;
    width: 200px;
}

.content .list-container {
    display: block;
    width: 100%;
    text-align: center;
}
.content .list {
    display: inline-block;
    text-align: initial;
    list-style-type: square;
    list-style-image: url('../pictures/checkmark.svg');
    margin: 0;
}

.content .subtitle {
    font-size: 28px;
    font-weight: bold;
}

.content .title-container .title {
    display: inline-block;
    background-color: rgba(40, 40, 40, 0.1);
    padding: 5px 15px;
    font-size: 22px;
    font-weight: bold;
    color: rgb(185, 7, 57);
}

.content .title-container .dark-title {
    background-color: rgba(40, 40, 40, 0.5);
    box-shadow: 0px 4px 14px rgba(40, 40, 40, 0.8);
}

.content .devise-container {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.content .devise-container .title {
    background-color: rgb(185, 7, 57);
    padding: 5px 10px;
    font-size: 22px;
    font-weight: bold;
    color: white;
    margin: 0px 10px;    
    box-shadow: 0px 4px 14px rgba(40, 40, 40, 0.8);
}

.content .flat-block {
    text-align: center;
}

.content-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(80, 80, 80, 0.8);
    color: white;
    padding-left: 20%;
    padding-right: 20%;
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0px 1px 3px rgba(40, 40, 40, 0.2);
}

.content-header {
    width: 100%;
    height: 230px;
    text-align: center;
    background-color: rgb(40, 40, 40);
    overflow: hidden;
    position: relative;
    box-shadow: 0px 4px 14px rgba(40, 40, 40, 0.4);
    margin-bottom: 40px;
}

.content-header .header-image {
    display: block;
    position:absolute;
    bottom: 0;
    width: 100%;
    margin: auto;
    opacity: 0.5;
}

.content {
    width: 65%;
    margin-left: auto;
    margin-right: auto;
    font-size: 22px;
    color: rgb(40, 40, 40);
}

.content-index {
    width: 55%;
}

.content hr {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.accent {
    color: rgb(185, 7, 57);
}

.uppercase {
    text-transform: uppercase;
}

/* CONTACT */

.adresse-tel {
    display: inline-block;
    width: 130px;
    font-weight: bold;
}