@font-face {
    font-family: 'confortaa';
    src: url('../font/Comfortaa-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: var(--text-color);
    box-sizing: border-box;
}

:root {
    --theme-color: #112233;
    --nav-color: rgb(29, 209, 161);
    --nav-color-text: #112233;
    --main-color: rgb(29, 209, 161);
    --main-color-a: rgba(29, 209, 161, 0.3);
    --text-color: #EEEEEE;
    --grey--global--color: #000000;
    --table-head-color: #000000;
    --table-back-color: #112233;
    --width-general: 99%;
    --theme-color-clair: rgba(7, 16, 36, 0.5);
}

.back-main { background-color: var(--main-color); }
.col-main { color: var(--main-color); }
.col-theme { color: var(--theme-color); }

html, body {
    width: 100%;
    background-color: var(--theme-color);
}

@media screen and (max-width: 768px) {

    :root {
        --width-general: 100%;
    }

    html, body {
        width: var(--width-general);
    }
    
}

#logo {
    /*background: url(../img/newLogo.png) no-repeat center; 
    background-size: cover; 
    width: 40px;
    height: 42px;
    margin: 4px;*/
}

@media screen and (max-width: 768px) {
    #logo {
        margin-left: 5px;
    }
}

/* ######################################################################## */
/* ######################################################################## */

#voile_acryptod {
    position: fixed; 
    top: 0; left: 0;
    display: none; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.6); 
    z-index: 1203;
}

    #logo_loader_container {
        position: absolute;
        border: 0px solid #000000;
        width: 60px; height: 60px;
        top: 50%;
        left: 50%;
        margin-top: -60px;
        margin-left: -30px;
        animation: 1s linear infinite alternate animlogo;
    }

    @keyframes animlogo {
        from {
            width: 60px; height: 60px;
            margin-top: -60px;
            margin-left: -30px;
        }
        to   {
            width: 120px; height: 120px;
            margin-top: -80px;
            margin-left: -60px;
        }
      }

    #loader_animation {
        position: absolute;
        border: 0px solid #000000;
        top: 50%;
        left: 50%;
        margin-top: 0;
        margin-left: -50px;
        width: 100px;
        height: 30px;
        border-left: 6px solid #112233;
        border-right: 6px solid #112233;
        display: none;
    }

        .demi_rond_haut {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            border: none;
            border-top: 4px solid #112233;
            border-right: 0px solid #112233;
        }

/* ######################################################################## */
/* ######################################################################## */

section {
    width: var(--width-general);
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    section {
        padding: 0 10px;
    }
}

input {
    background-color: rgba(0, 0, 0, 0.5);
    border: 0;
    border-radius: 4px;
    padding: 5px 10px;
}

::placeholder {
  color: var(--main-color);
}

button {
    background-color: rgba(0, 0, 0, 0.7);
    border: 0;
    border-radius: 4px;
    padding: 5px 10px;
    color: #112233;
    cursor: pointer;
}

button i {
    color: #112233;
}

.btnMarron {
    color: var(--main-color);
}

/* ######################################################################## */
/* ######################################################################## */

nav {
    background-color: var(--nav-color);
    width: 100%;
    height: 40px;
}

#nav_content {
    width: var(--width-general);
    margin: 0 auto;
}

nav > #nav_content > #nav_title {
    width: 200px !important;
    display: flex;
    justify-content: flex-start;
}

@media screen and (max-width: 768px) {
    nav > #nav_content > #nav_title {
        width: 140px !important;
    }
}

nav #nav_content h1 {
    font-size: 18px;
    line-height: 40px;
}

nav #nav_content h1 a {
    font-size: 20px;
    line-height: 40px;
    text-decoration: none;
    font-family: 'confortaa', Arial, Helvetica, sans-serif;
    color: #112233;
}

nav #div_nav_search_crypto {
    margin: 8px 0px 0px 0px;
}

nav #div_nav_search_crypto input {
    
}

nav #div_nav_search_crypto button {
    
}

nav #nav_burger {
    display: none;
}

@media screen and (max-width: 768px) {

    nav #nav_burger {
        display: block;
        padding: 5px 10px 2px 5px;
        color: #112233;
    }

}

nav ul {
    /*width: 550px;*/
    display: flex;
    justify-content: space-between;
}

nav ul li {
    list-style: none;
}

nav ul li:hover {
    
}

nav ul li a  {
    display: block;
    text-decoration: none;
    padding: 12px 34px;
    color: var(--theme-color);
}

nav ul li a:hover {
    background-color: var(--theme-color);
    color: var(--main-color);
}

nav ul li a i {
    color: var(--theme-color);
    font-size: 14px;
}

nav ul li a:hover i {
    background-color: var(--theme-color);
    color: var(--main-color);
}

@media screen and (max-width: 768px) {

    nav ul {
        display: none;
        width: 50%;
        position: absolute;
        top: 30px;
        right: 20px;
        background-color: rgba(0, 0, 0, 0.8);
        border-radius: 4px;
    }

    nav ul li a {
        color: white;
    }

}

#div_nav_search_crypto {
    display: block;
}

@media screen and (max-width: 768px) {
    #div_nav_search_crypto {
        display: none;
    }
}

#session_message {
    background-color: var(--main-color);
    color: #112233;
    text-align: center;
    width: 350px;
    margin: 15px auto;
    border-radius: 4px;
    padding: 10px;
}

#session_error {
    background-color: #ff5555;
    color: #112233;
    text-align: center;
    width: 350px;
    margin: 15px auto;
    border-radius: 4px;
    padding: 10px;
}

/* ######################################################################## */
/* ######################################################################## */

#voile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1010 !important;
}

#popup {
    position: fixed;
    width: 600px;
    /*height: 400px;*/
    top: 200px;
    left: 50%;
    margin-left: -300px;
    background-color: #112233;
    border-top: 12px solid var(--main-color);
    color: #112233;
    padding: 20px;
    border-radius: 4px;
    z-index: 1020 !important;
}

@media screen and (max-width: 768px) {

    #popup {
        width: 360px;
        margin-left: -290px;
    }

}

/* ######################################################################## */
/* ######################################################################## */

#introduction {
    width: 48%;
}

#welcome {
    color: var(--main-color);
    font-size: 24px;
}

#accroche {
    margin-top: 15px;
    margin-bottom: 20px;
    color: white;
    font-size: 18px;
}

#screen {
    background: url(../img/screen.png) no-repeat center;
    background-size: cover;
    width: 52%;
    height: 200px;
    border: 6px solid #112233;
    border-radius: 6px;
}

#phone {
    background: url(../img/phone.jpg) no-repeat center;
    background-size: cover;
    width: 15%;
    height: 180px;
    border: 6px solid #112233;
    border-radius: 6px;
}

@media screen and (max-width: 768px) {

    #introduction {
        width: 100%;
    }

    #screen {
        margin-top: 20px;
        width: 100%;
        height: 200px;
    }

}

/* ######################################################################## */
/* ######################################################################## */

#block_contact {
    width: 340px;
    margin: 50px auto;
    background-color: var(--main-color);
    border-radius: 4px;
    padding: 20px;
}

#block_contact textarea {
    background-color: rgba(0, 0, 0, 0.5);
    border: 0;
    border-radius: 4px;
    padding: 5px 10px;
    height: 300px;
}

/* ######################################################################## */
/* ######################################################################## */

#block_login {
    width: 340px;
    margin: 50px auto;
    background-color: var(--main-color);
    border-radius: 4px;
    padding: 20px;
}

h2 {
    color: var(--theme-color)
}

/* ######################################################################## */
/* ######################################################################## */

#panel-cube-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.panel-cube {
    background-color: rgba(29, 209, 161, 0.1);
    border-radius: 4px;
    padding: 10px 20px;
    width: 13.8%;
}

@media screen and (max-width: 768px) {

    #panel-cube-container {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .panel-cube {
        width: 48%;
        margin-bottom: 10px;
    }

}

.panel-cube .panel-cube-title {
    width: 100%;
}

.panel-cube .panel-cube-value {
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    text-align: right;
    margin: 10px 0;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px 6px;
    border-radius: 4px;
}

.panel-cube .panel-cube-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.panel-cube .panel-cube-comment-left {
    width: 48%;
    text-align: left;
}

.panel-cube .panel-cube-comment-right {
    width: 48%;
    text-align: right;
}

/* ######################################################################## */
/* ######################################################################## */

#graph_content_after {
    display: flex;
    width: 100%;
    height: 400px;
    padding: 25px 25px 0;
    border-radius: 4px;
    margin-bottom: 15px;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: rgba(0, 0, 0, 0.2);
}

#graph_content_courbe {
    width: 49%;
    height: 400px;
    padding-bottom: 0;
    margin-bottom: 0 auto 0;
}

#graph_content_diagram {
    width: 49%;
    height: 400px;
    padding-bottom: 0;
    margin-bottom: 0 auto 0;
}

@media screen and (max-width: 768px) {

    #graph_content_after {
        height: 440px;
    }

    #graph_content_courbe {
        width: 100%;
        height: 180px;
        margin: 0 auto;
    }
    
    #graph_content_diagram {
        width: 100%;
        height: 200px;
        margin: 0 auto;
        text-align: center;
        text-align: -webkit-center;
    }

}

#graph_content_courbe_crypto {
    width: 100%;
    height: 400px;
    padding-bottom: 0;
    margin-bottom: 0 auto 0;
}

/* ######################################################################## */
/* ######################################################################## */

.table-container {
    background-color: var(--grey--global--color);
    border-radius: 4px;
    padding: 2px 0;
    z-index: 1000;
}

table.table-design {
    width: 100%;
    border: 0;
    border-spacing: 0;
}

table.table-design tr {
    border: 0;
}

table.table-design tr td {
    border: 0;
}

table.table-design tr:first-child {
    font-weight: bold;
    background-color: rgba(29, 209, 161, 0.1);
    color: var(--theme-color);
}

table.table-design tr:first-child td {
    color: var(--main-color);
    padding: 4px 6px 6px 6px;
    border: 0;
}

table.table-design tr:not(:first-child) {
    background-color: var(--table-back-color);
}

table.table-design tr:not(:first-child) td {
    background-color: var(--table-back-color);
    padding: 6px;
    border: 0;
    border-bottom: 1px solid #444444;
}

table.table-design tr:nth-child(even) td {
    background-color: rgba(0, 0, 0, 0.2); /* Gris clair */
}

table.table-design tr:hover td {
    background-color: var(--main-color-a);
}

.viewResult {
    padding: 4px 8px;
    border-radius: 4px;
}

.viewResultPos {
    background-color: rgba(29, 209, 161, 0.2);
    color:rgb(29, 209, 161);
}

.viewResultNeg {
    background-color: rgba(212, 77, 77, 0.2);
    color:rgb(212, 77, 77);
}

.mobileHide {
    display: table-cell;
}

.mobileShow {
    display: none;
}

.mobileHideBlock {
    display: block;
}

.mobileShowBlock {
    display: none;
    margin-top: 8px;
}

@media screen and (max-width: 768px) {

    .mobileHide {
        display: none;
    }

    .mobileShow {
        display: table-cell;
    }

    .mobileHideBlock {
        display: none;
    }

    .mobileShowBlock {
        display: block;
    }

}

.widthLibelle { width: 100px; }
.widthBtn { width: 80px; }

@media screen and (max-width: 768px) {

    .widthLibelle { width: 60px; }
    .widthBtn { width: 45px; }

}

/* ######################################################################## */
/* ######################################################################## */

.evol_move {
    display: flex;
    justify-content: space-between;
    padding: 5px;
    width: 80px;
    border-radius: 4px;
    background-color: rgba(50, 50, 50, 0.5);
    font-size: 12px;
}


.btn_portfolio_action {
    padding: 8px 16px;
    border: 0;
    border-radius: 4px;
    background-color: var(--main-color);
    text-align: center;
    color: #112233;
    cursor: pointer;
}


.btn_portfolio_action:hover {
    background-color: rgba(0, 0, 0, 0.2);
    /*color: #DDDDDD;*/
}


.btn_portfolio_action:active {
    transform: translateY(1px);
    box-shadow: 0 0 0 #2980b9;
}

/* ######################################################################## */
/* ######################################################################## */

.autocomplete {
    position: relative;
    width: 300px;
}


input.autoc {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}


.autocomplete-items {
    position: absolute;
    border: 1px solid #ccc;
    border-radius: 8px;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #112233;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.autocomplete-item {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
    transition: background-color 0.2s;
}


.autocomplete-item img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 10px;
}


.autocomplete-item:hover {
    background-color: #e9e9e9;
}


.autocomplete-item:last-child {
    border-bottom: none;
}

.col-vert-site {
    color: var(--main-color);
}

/* ######################################################################## */
/* ######################################################################## */

.leg-back-vert-site-1 { background-color: rgba(29, 209, 161, 0.1) !important; }
.leg-back-vert-site-2 { background-color: rgba(29, 209, 161, 0.2) !important; }
.leg-back-vert-site-3 { background-color: rgba(29, 209, 161, 0.3) !important; }
.leg-back-vert-site-4 { background-color: rgba(29, 209, 161, 0.4) !important; }
.leg-back-vert-site-5 { background-color: rgba(29, 209, 161, 0.5) !important; }

/* ######################################################################## */
/* ######################################################################## */


