/*
Theme Name: Outils de Livraison - By Babaweb
Description:
Version: 1.0
Author: BABAWEB
Author URI: https://www.babaweb.fr/
*/

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,700;0,800;1,300;1,400;1,700;1,800&display=swap');

@font-face {
    font-family: 'icons';
    src: url('assets/fonts/icons/icons.eot?81317296');
    src: url('assets/fonts/icons/icons.eot?81317296#iefix') format('embedded-opentype'),
        url('assets/fonts/icons/icons.woff2?81317296') format('woff2'),
        url('assets/fonts/icons/icons.woff?81317296') format('woff'),
        url('assets/fonts/icons/icons.ttf?81317296') format('truetype'),
        url('assets/fonts/icons/icons.svg?81317296#icons') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* CSS Reset */
*, *::before, *::after { box-sizing: border-box; padding: 0; border: 0; border-radius: 0; margin: 0; background: none; text-align: inherit; text-decoration: none; font: inherit; color: inherit; list-style: none; outline: none;} input, button, select, textarea { -webkit-appearance: none; -moz-appearance: none;} a, button { overflow: visible; cursor: pointer;}

/* Accessibility */
.screen-reader-text,
.screen-reader-response {
    display: block;
    width: 0;
    height: 0;

    position: absolute;

    opacity: 0;
    overflow: hidden;
}

:root {
    --header-height: ;
    --viewport-height: 100vh;

    /* Sizes */
    --h1: ;
    --h2: ;
    --h3: ;

	/* Colors */
    --black: #000;
    --white: #FFF;
    --text: #FFF
}

body {
    width: 100%;
    min-height: var(--viewport-height);
    
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    
    color: var(--text);
}

/* Icons */
[class^="icon-"]:before,
[class*=" icon-"]:before {
    font-family: "icons";
    font-style: normal;
    font-weight: normal;
    -webkit-font-Soothing: antialiased;
    -moz-osx-font-Soothing: grayscale;
}

.icon-behance:before { content: '\e800'; } /* '' */
.icon-deezer:before { content: '\e801'; } /* '' */
.icon-down:before { content: '\e802'; } /* '' */
.icon-facebook:before { content: '\e803'; } /* '' */
.icon-instagram:before { content: '\e804'; } /* '' */
.icon-left:before { content: '\e805'; } /* '' */
.icon-linkedin:before { content: '\e806'; } /* '' */
.icon-right:before { content: '\e807'; } /* '' */
.icon-download:before { content: '\e808'; } /* '' */
.icon-up:before { content: '\e809'; } /* '' */
.icon-close:before { content: '\e80b'; } /* '' */

/* Text */
b,
strong {
	font-weight: 700;
}

em,
i {
	font-style: italic;
}

u {
	text-decoration: underline;
}

sup,
sub {
    font-size: .5em;
    line-height: 1;
}

.h1,
.formatted h1 {
    font-size: 1.875em;
    font-weight: 800;
    letter-spacing:5px;
    text-transform: uppercase;
}

.h2,
.formatted h2 {
    font-size: 1.25em;
    font-weight: 800;
}

.h3,
.formatted h3 {
    font-size: 1.25em;
    font-weight: 800;
    text-transform: uppercase;
    color: #000000;
}

.h4,
.formatted h4 {
    
}

.h5,
.formatted h5 {
    
}

.formatted p:not(:first-child),
.formatted ul:not(:first-child),
.formatted h2:not(:first-child),
.formatted h3:not(:first-child),
.formatted h4:not(:first-child) {
    margin-top: 1em;
}

.formatted ol,
.formatted ul {
    padding: 0 0 0 1em;
}

.formatted a:not([class]) {
    
}

.formatted a:not([class]):hover {
    
}

.formatted img,
.formatted iframe {
    display: block;
    max-width: 100%;
}

.formatted img {
    height: auto;
}

/* Buttons */

/* Images */
.media--contain,
.media--cover {
    position: relative;

    overflow: hidden;
}

.media--contain img,
.media--cover img,
.media--contain video,
.media--cover video {
    display: block;
    width: auto;
    height: auto;

    position: absolute;
    top: -10000%;
    left: -10000%;
    bottom: -10000%;
    right: -10000%;

    margin: auto;
}

.media--contain img,
.media--contain video {
    max-width: 100%;
    max-height: 100%;
}

.media--cover img,
.media--cover video {
    min-width: 1000%;
    min-height: 1000%;
    
	transform: scale(.1);
}

/* Sliders */
.slick-list,
.slick-track {
    display: flex;

    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
}

.slick-list {
    width: 100%;

    overflow: hidden;
}

/* Header */
.header {
    width: 200px;
    height: 100vh;
    background-color:rgb(0 0 0 / 5%);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
}

.header-down {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-logo {
    width: 120px;
    margin-top: 40px;
}

.header-social {
    display: flex;
    flex-direction: column;
    align-content: center;
    margin-bottom: 40px;
}
.header-social a {
    padding: 5px;
}

.header-contact {
    text-align: center;
    margin: 60px auto;
    font-size: 0.875em;
    display: flex;
    flex-direction: column;
}

/*Content*/
#container {
    width: calc(100% - 200px);
    left: 200px;
    position: relative;
    display: flex;
}
.home {
    width: 100%;
    height: 100vh;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.content {
    width: calc(100% - 400px);
    margin: 80px 400px 0 0;
    min-height: calc(100vh - 80px);
}
.livrable {
    width: 100%;
    max-width: 780px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 40px;
    margin-bottom: 60px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: var(--text);
}
.livrable-title {
    width: 100%;
    display: flex;
}
.livrable-title .h2 {
    flex: 1;
    padding-right: 40px;
    line-height: 24px;
}
.livrable-btndownload {
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: transparent;
}
.livrable-btndownload:hover {
    border-bottom-color: var(--text);
}
.livrable-btndownload i {
    margin-left: 5px;
    font-size: 20px;
}
.livrable-item {
    width: 100%;
    height: 0;
    position: relative;
    padding-top: 56.25%;
    margin-top: 20px;
}
.livrable-item iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.graphique .livrable-title {
    flex-direction: column;
}
.graphique .h2 {
    margin-bottom: 20px;
}
.graphique .livrable-btndownload {
    margin: 20px 0;
    padding: 10px 20px 12px 20px;
    border: 1px solid;
    width: auto;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 5px;
    background-color: #ffffff1a;
}
.graphique .livrable-btndownload:hover {
    background-color: transparent;
}

/*Sidebar*/
.sidebar {
    width: 400px;
    height: 100vh;
    background-color:rgb(0 0 0 / 5%);
    padding: 40px;
    position: fixed;
    right: 0;
}
.sidebar .h1 {
    padding-bottom: 30px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: var(--text);
    font-size: 1.5em;
}
.sidebar-infoprojet {
    margin-top: 30px;
    padding-bottom: 30px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: var(--text);
}
.sidebar-infoprojet li {
    margin-bottom:15px;
}
.sidebar-infoprojet li:last-child {
    margin-bottom: 0;
}
.sidebar-infoprojet li span {
    font-weight: bold;
    display: block;
}

.sidebar-infocontact {
    margin-top: 30px;
    padding-bottom: 30px;
}
.sidebar-infocontact p {
    margin-bottom: 10px;
}
.sidebar-infocontact p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: #ffffff;
    padding: 50px;
    position: relative;
    z-index: 1;
    width: calc(100% - 200px);
    left: 200px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.footer .h3 {
    width: calc(100% - 285px);
    max-width: 350px;
    margin: 20px;
    font-size: 1rem;
}
.footer a {
    font-weight: 700;
    color: #ffffff;
    background-color:#0099b5;
    align-self: center;
    padding: 10px 20px;
    border-radius: 5px;
    margin: 20px;
}
.footer a i {
    margin-left: 5px;
}
.footer-contact {
    display: flex;
    color: #000000;
    flex-direction: column;
    text-align: center;
    align-self: center;
}

/* Tablet */
@media (max-width: 1280px) {
    .header {
        width: 150px;
    }
    #container {
        width: calc(100% - 150px);
        left: 150px;
    }
   .sidebar {
        width: 300px;
    }
    .content {
        width: calc(100% - 300px);
        margin: 80px 300px 0 0;
    }
    .footer {
        width: calc(100% - 150px);
        left: 150px;
        padding: 20px;
    }
    .footer .h3 {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 767px) {
    body {
        display: block;
    }
    .header {
        position: relative;
        height: 150px;
        padding: 0 20px;
        width: 100%;
        align-items: flex-start;
        flex-direction: row;
    }
    .header-logo {
        width: 80px;
        margin: auto;
    }
    .header-down {
        position: relative;
        width: calc(100% - 80px);
        padding: 0;
        margin: auto;
    }
    .header-social {
        flex-direction: row;
        flex: 1;
        justify-content: center;
    }
    .header-social a {
        margin: 0 5px;
    }
    .header-contact {
        margin: auto;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .header-contact span {
        margin: 0 5px
    }
    #container {
        width: 100%;
        left: 0;
        flex-direction: column-reverse;
    }
    .home {
        padding: 20px; 
        height: calc(100vh - 150px);
    }
    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
        margin-bottom: 40px;
        padding: 20px;
    }
    .sidebar .h1 {
        padding-bottom: 20px;
    }
    .sidebar-infoprojet {
        margin-top: 20px;
        padding-bottom: 20px;
    }
    .sidebar-infoprojet li {
        margin-bottom: 20px;
    }
    .sidebar-infocontact {
        margin-top: 20px;
        padding-bottom: 20px;
    }
    .content {
        width: 100%;
        margin: auto;
    }
    .footer {
        width: 100%;
        left: 0;
        flex-direction: column;
    }
    .footer .h3 {
        margin: 0;
    }
    .footer-contact {
        margin-bottom: 20px
    }
}