/*--------------------
Mixins
--------------------*/


/*--------------------
Body
--------------------*/


/*--------------------
Mixins
--------------------*/


/*--------------------
Body
--------------------*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

#volet {
    width: 300px;
    height: 80vh;
    padding: 10px;
    /* background: #638b46; */
    color: #fff;
    border-radius: 0 0 16px 0;
    /* En position "de depart", notre vollet est offscreen */
    position: fixed;
    left: 101%;
    top: 120px;
    z-index: 10;
    transition: all .5s ease-out;
}


/* Le design dev boutons open et close */

#volet a.ouvrir,
#volet a.fermer {
    font-size: 16px;
    position: absolute;
    padding: 18px 17px;
    top: 40px;
    background: #f15d36;
    line-height: 0px;
    height: 15px;
    color: #fff;
    text-decoration: none;
    transform: rotate(90deg);
    border-radius: 0 0 8px 8px;
}

.placeholder {
    color: white;
}


/* Les particularites des deux boutons */

#volet a.ouvrir {
right: 301px;
    top: 340px;
    z-index: 1;
    opacity: 1;
}

#volet a.fermer {
    right: -40px;
    top: 170px;
    z-index: -1;
    opacity: 0;
}


/* Enfin la partie interessante ! */

#volet:target a.ouvrir {
    right: -40px;
    z-index: -1;
    opacity: 0;
    transition: all .5s ease-out;
}

#volet:target a.fermer {
    right: 295px;
    z-index: 1;
    opacity: 1;
    transition: all .5s ease-out;
}

#volet:target {
    left: 80%;
}

.chat_close_icon {
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    position: absolute;
    right: 12px;
    z-index: 9;
}

.bg {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    /* background: url("") no-repeat 0 0; */
    filter: blur(80px);
    transform: scale(1.2);
}


/*--------------------
Chat
--------------------*/

.chat {
    position: absolute;
    top: 50%;
    left: 43%;
    transform: translate(-50%, -50%);
    width: 265px;
    height: 60vh;
    max-height: 500px;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 5px 30px rgb(0 0 0 / 20%);
    background: rgb(255 255 255);
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}


/*--------------------
Chat Title
--------------------*/

.chat-title {
    flex: 0 1 35px;
    position: relative;
    z-index: 2;
    background: rgb(241 93 54);
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    text-align: left;
    padding: 2px 9px 0px 55px;
}

.chat-title h1,
.chat-title h2 {
    font-weight: normal;
    font-size: 13px;
    margin: 0;
    padding: 0;
}

.chat-title h2 {
    color: rgb(255 255 255);
    /* font-size: 11px; */
    letter-spacing: 1px;
}

.chat-title .avatar {
    position: absolute;
    z-index: 1;
    top: 6px;
    left: 5px;
    border-radius: 34px;
    width: 40px;
    height: 40px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 2px solid #fb7754;
}

.chat-title .avatar img {
    width: 100%;
    height: auto;
}


/*--------------------
Messages
--------------------*/

.messages {
    flex: 1 1 auto;
    color: rgb(0 0 0);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.messages .messages-content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.messages .message {
    clear: both;
    float: left;
    padding: 6px 10px 7px;
    border-radius: 10px 10px 10px 0;
    /* background: rgb(0 0 0 / 47%); */
    margin: 10px 0;
    font-size: 11px;
    color: rgb(0 0 0);
    /* line-height: 1; */
    margin-left: 32px;
    position: relative;
}

.messages .message .timestamp {
    position: absolute;
    bottom: -15px;
    font-size: 10px;
    color: rgb(0 0 0);
}

.messages .message::before {
    content: "";
    position: absolute;
    bottom: -6px;
    border-top: 6px solid rgba(0, 0, 0, 0.3);
    left: 0;
    /* border-right: 7px solid transparent; */
}

.messages .message .avatar {
    position: absolute;
    z-index: 1;
    bottom: -25px;
    left: -50px;
    /* border-radius: 30px; */
    width: 60px;
    height: 55px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    /* border: 2px solid rgba(255, 255, 255, 0.24); */
}

.messages .message .avatar img {
    width: 100%;
    height: auto;
}

.messages .message.message-personal {
    float: right;
    color: rgb(0, 0, 0);
    text-align: right;
    /* background: rgb(0 0 0 / 47%); */
    border-radius: 10px 10px 0 10px;
}

.messages .message.message-personal::before {
    left: auto;
    right: 0;
    border-right: none;
    border-left: 5px solid transparent;
    border-top: 4px solid #25728700;
    bottom: 1px;
}

.messages .message:last-child {
    margin-bottom: 30px;
}

.messages .message.new {
    transform: scale(0);
    transform-origin: 0 0;
    -webkit-animation: bounce 500ms linear both;
    animation: bounce 500ms linear both;
    animation-delay: 1.5s;
    /* font-weight: 600; */
}

.messages .message.loading::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: "";
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    z-index: 2;
    margin-top: 4px;
    -webkit-animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
    animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
    border: none;
    -webkit-animation-delay: 0.15s;
    animation-delay: 0.15s;
}

.messages .message.loading span {
    display: block;
    font-size: 0;
    width: 20px;
    height: 10px;
    position: relative;
}

.messages .message.loading span::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: "";
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    z-index: 2;
    margin-top: 4px;
    -webkit-animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
    animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
    margin-left: -7px;
}

.messages .message.loading span::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: "";
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    z-index: 2;
    margin-top: 4px;
    -webkit-animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
    animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
    margin-left: 7px;
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}


/*--------------------
Message Box
--------------------*/

.message-box {
    flex: 0 1 40px;
    width: 100%;
    background: rgb(241 93 54 / 0%);
    padding: 10px;
    position: relative;
}

.message-box .message-input {
    background: none;
    border: none;
    resize: none;
    color: rgb(0, 0, 0);
    font-size: 15px;
    height: 17px;
    margin: 0px;
    padding-right: 20px;
    width: 265px;
    outline: none !important;
}

.message-box textarea:focus:-webkit-placeholder {
    color: white;
}

.message-box .message-submit {
    position: absolute;
    z-index: 1;
    top: 9px;
    right: 10px;
    color: #fff;
    border: none;
    background: #1f1a17;
    font-size: 12px;
    /* text-transform: uppercase; */
    line-height: 1;
    padding: 6px 10px;
    border-radius: 10px;
    outline: none !important;
    transition: background 0.2s ease;
}

.message-box .message-submit:hover {
    background: #1d7745;
}


/*--------------------
Custom Srollbar
--------------------*/

.mCSB_1_container {
    position: relative;
    top: 0px;
    left: -28px;
}

.mCSB_scrollTools {
    margin: 1px -3px 1px 0;
    opacity: 0;
}

.mCSB_inside>.mCSB_container {
    margin-right: 0px;
    padding: 0 10px;
}

.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background-color: rgba(0, 0, 0, 0.5) !important;
}


/*--------------------
Bounce
--------------------*/

@-webkit-keyframes bounce {
    0% {
        transform: matrix3d(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    4.7% {
        transform: matrix3d(0.45, 0, 0, 0, 0, 0.45, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    9.41% {
        transform: matrix3d(0.883, 0, 0, 0, 0, 0.883, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    14.11% {
        transform: matrix3d(1.141, 0, 0, 0, 0, 1.141, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    18.72% {
        transform: matrix3d(1.212, 0, 0, 0, 0, 1.212, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    24.32% {
        transform: matrix3d(1.151, 0, 0, 0, 0, 1.151, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    29.93% {
        transform: matrix3d(1.048, 0, 0, 0, 0, 1.048, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    35.54% {
        transform: matrix3d(0.979, 0, 0, 0, 0, 0.979, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    41.04% {
        transform: matrix3d(0.961, 0, 0, 0, 0, 0.961, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    52.15% {
        transform: matrix3d(0.991, 0, 0, 0, 0, 0.991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    63.26% {
        transform: matrix3d(1.007, 0, 0, 0, 0, 1.007, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    85.49% {
        transform: matrix3d(0.999, 0, 0, 0, 0, 0.999, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    100% {
        transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
}

@keyframes bounce {
    0% {
        transform: matrix3d(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    4.7% {
        transform: matrix3d(0.45, 0, 0, 0, 0, 0.45, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    9.41% {
        transform: matrix3d(0.883, 0, 0, 0, 0, 0.883, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    14.11% {
        transform: matrix3d(1.141, 0, 0, 0, 0, 1.141, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    18.72% {
        transform: matrix3d(1.212, 0, 0, 0, 0, 1.212, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    24.32% {
        transform: matrix3d(1.151, 0, 0, 0, 0, 1.151, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    29.93% {
        transform: matrix3d(1.048, 0, 0, 0, 0, 1.048, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    35.54% {
        transform: matrix3d(0.979, 0, 0, 0, 0, 0.979, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    41.04% {
        transform: matrix3d(0.961, 0, 0, 0, 0, 0.961, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    52.15% {
        transform: matrix3d(0.991, 0, 0, 0, 0, 0.991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    63.26% {
        transform: matrix3d(1.007, 0, 0, 0, 0, 1.007, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    85.49% {
        transform: matrix3d(0.999, 0, 0, 0, 0, 0.999, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
    100% {
        transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
}

@-webkit-keyframes ball {
    from {
        transform: translateY(0) scaleY(0.8);
    }
    to {
        transform: translateY(-10px);
    }
}

@keyframes ball {
    from {
        transform: translateY(0) scaleY(0.8);
    }
    to {
        transform: translateY(-10px);
    }
}

.box {
    width: 200px;
    height: 200px;
    /* background-color: red; */
    opacity: 0;
    visibility: hidden;
    -moz-transition: opacity 500ms linear, visibility 0s linear 500ms;
    -o-transition: opacity 500ms linear, visibility 0s linear 500ms;
    -webkit-transition: opacity 500ms linear, visibility 0s linear;
    -webkit-transition-delay: 0s, 500ms;
    transition: opacity 500ms linear, visibility 0s linear 500ms;
}

.box--show {
    opacity: 1;
    visibility: visible;
    cursor: pointer;
    -moz-transition: opacity 500ms linear, visibility 0s linear;
    -o-transition: opacity 500ms linear, visibility 0s linear;
    -webkit-transition: opacity 500ms linear, visibility 0s linear;
    transition: opacity 500ms linear, visibility 0s linear;
}

.iconInner {
    -ms-align-items: center;
    align-items: center;
    background: #a64bf4;
    background: linear-gradient(to left, #fff6f4, #ed5e38, #ff7d5b, #f15d36);
    background-position: 50%;
    background-size: 300%;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    font-size: 1.7em;
    height: 2em;
    justify-content: center;
    width: 2em;
}

a {
    text-decoration: none;
    color: #000000;
}

a:hover {
    color: #222222;
}


/* Dropdown */

.dropdown {
    display: inline-block;
    position: relative;
    color: black;
    /* font-weight: 600; */
}

.dd-button {
    font-size: 11px;
    /* font-weight: bold; */
    justify-content: center;
    align-items: center;
    margin: 0px 0px 0px -13px;
    width: 210px;
    height: 30px;
    display: inline-block;
    border: 2px solid #f15d36;
    border-radius: 4px;
    /* padding: 6px 4px; */
    background-color: #ffffff;
    cursor: pointer;
    white-space: nowrap;
}

.dd-button:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    /* border-right: solid 2px #f15d36;
    border-top: solid 2px #f15d36;
    border-bottom: solid 2px #f15d36; */
    /* border-top: 5px solid black; */
}

.dd-button:hover {
    background-color: #eeeeee;
    transition-delay: 0.3s;
}

.dd-input {
    display: none;
}

.dd-menu {
    position: absolute;
    top: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0;
    margin: 2px 0 0 0;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);
    background-color: #575454;
    list-style-type: none;
}

.dd-input+.dd-menu {
    display: none;
}

.dd-input:checked+.dd-menu {
    display: contents;
}

.dd-menu li {
    /* padding: 10px 20px; */
    cursor: pointer;
    white-space: nowrap;
}


/* .dd-menu li:hover {
    background-color: #f6f6f6;
} */

.dd-menu li a {
    display: block;
    margin: -10px -20px;
    padding: 10px 20px;
}

.divider {
    padding: 0;
    border-bottom: double;
}

div.first {
    width: 210px;
    height: 30px;
    position: relative;
    margin: 0 0 0 -13px;
    margin-top: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
}

div.first::before {
    content: "";
    width: 10%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    border-left: solid 2px #f15d36;
    border-top: solid 2px #f15d36;
    border-bottom: solid 2px #f15d36;
    transition: all 0.3s ease;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

div.first::after {
    content: "";
    width: 10%;
    height: 100%;
    right: 0;
    top: 0;
    position: absolute;
    border-right: solid 2px #f15d36;
    border-top: solid 2px #f15d36;
    border-bottom: solid 2px #f15d36;
    transition: all 0.3s ease;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

div.first:hover {
    cursor: pointer;
}

div.first:hover::before,
div.first:hover::after {
    width: 50%;
}

div.first:hover .background {
    height: 100%;
    transition-delay: 0.3s;
    top: 0;
}

div.first:hover h5 {
    color: #f83600;
    transition-delay: 0.3s;
}

div.first div.background {
    min-width: 100%;
    height: 0;
    position: absolute;
    background-color: #f15d36;
    opacity: 0.2;
    bottom: 0;
    left: 0;
    transition: all ease 0.3s;
    border-radius: 5px;
}

div.first h5 {
    width: fit-content;
    z-index: 5;
    font-size: 16px;
    margin: 3px 0 0 0px;
    /* text-transform: uppercase; */
    color: #f15d36;
    transition: all ease 0.5s;
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}


/* <---------SECOND------> */

div.second h5 {
    width: fit-content;
    z-index: 5;
    font-size: 15px;
    margin: 3px 0 0 0px;
    /* text-transform: uppercase; */
    color: #f15d36;
    transition: all ease 0.5s;
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

div.second:hover h5 {
    color: #f83600;
    transition-delay: 0.3s;
}

div.second {
    width: 210px;
    height: 30px;
    position: relative;
    margin: auto;
    margin-top: 0%;
    display: flex;
    justify-content: center;
    align-items: center;
}

div.second::before {
    content: "";
    width: 0%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    border-top: solid 2px #f15d36;
    transition: all 0.2s ease;
}

div.second::after {
    content: "";
    width: 10%;
    height: 0%;
    right: 0;
    top: 0;
    position: absolute;
    border-right: solid 2px #f15d36;
    transition: all 0.2s ease;
}

div.second .border::before {
    content: "";
    width: 0%;
    height: 100%;
    right: 0;
    bottom: 0;
    position: absolute;
    border-bottom: solid 2px #f15d36;
    transition: all 0.2s ease;
}

div.second .border::after {
    content: "";
    width: 10%;
    height: 0%;
    left: 0;
    bottom: 0;
    position: absolute;
    border-left: solid 2px #f15d36;
    transition: all 0.2s ease;
}

div.second h1 {
    color: greenyellow;
    transition: all 0.5s ease;
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

div.second:hover {
    cursor: pointer;
}

div.second:hover::before {
    width: 100%;
}

div.second:hover::after {
    height: 100%;
    transition-delay: 0.2s;
}

div.second:hover .border::before {
    width: 100%;
    transition-delay: 0.4s;
}

div.second:hover .border::after {
    height: 100%;
    transition-delay: 0.6s;
}

div.second div.background {
    min-width: 100%;
    height: 0;
    position: absolute;
    background-color: #e77e6299;
    opacity: 0.5;
    bottom: 0;
    left: 0;
    transition: all ease 0.3s;
    border-radius: 5px;
}

div.second:hover .background {
    height: 100%;
    /* transition-delay: 0.3s; */
    top: 0;
}

div.second:hover h1 {
    color: white;
    /* transition-delay: 0.3s; */
}

div.second div.background {
    min-width: 100%;
    height: 0;
    position: absolute;
    background-color: #ededed;
    opacity: 0.5;
    bottom: 0;
    left: 0;
    transition: all ease 0.3s;
    border-radius: 5px;
}

div.second h1 {
    width: fit-content;
    z-index: 5;
    text-transform: uppercase;
    color: greenyellow;
    transition: all ease 0.5s;
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}