/**
* ARTEPOLE Module Challenge Vip Version 1.0.0
*
*  @author    Artepole <christian.ponsoda@nordnet.fr>
*  @copyright Copyright (c) permanent, Artepole
*  @license   Addons PrestaShop license limitation
*
*  NOTICE OF LICENSE
*
*  Don't use this module on several shops. The license provided by PrestaShop Addons
*  for all its modules is valid only once for a single shop.
*/

#challenges {
    /*padding-top: 10px;*/
    background: #fff;
    /*box-shadow: 1px 3px 12px #8e8e8e;*/
    box-shadow: 1px 3px 12px #ddd;
    margin-bottom: 10px;
}
.nopad {
    padding: 0 !important;
}
.mg5 {
    margin: 5px 0;
    font-size: 14px;
}
.ptb5 {
    /*padding: 5px 0;*/
    /*padding: 0px;*/
    font-size: 0.85rem;
}
.colGreen {
    color: #2f931c;
}
.progress {
    border-radius: 5px !important;
    margin: 0px !important;
}
.challengeFilled {
    border-radius: 5px !important;
}
.challengeFilled-M {
    background-color: #78a8f0;
    color: #fff;
    padding: 3px 15px 15px;
}
.challengeFilled-T {
    background-color: #e6c75f;
    color: #fff;
    padding: 3px 15px 15px;
}
.challengeFilled-A {
    background-color: #51ae3f;
    color: #fff;
    padding: 3px 15px 15px;
}
.progress-M-0 {
    background-color: #78a8f0;
}
.progress-T-0 {
    background-color: #e6c75f;
}
.progress-A-0 {
    background-color: #bda876;
}
.progress-M-1 {
    background-color: #4c85da;
}
.progress-T-1 {
    background-color: #ddbb4c;
}
.progress-A-1 {
    background-color: #838391;
}
.progress-M-2 {
    background-color: #2a5fb0;
}
.progress-T-2 {
    background-color: #d1ac37;
}
.progress-A-2 {
    background-color: #c8c515;
}
.progress-M-3 {
    background-color: #103c80;
}
.progress-T-3 {
    background-color: #bf9924;
}
.progress-A-3 {
    background-color: #21870d;
}
.progress-M-4 {
    background-color: #042250;
}
.progress-T-4 {
    background-color: #bd910b;
}
.progress-A-4 {
    background-color: #136603;
}
.desclink {
    color: #bd910b;
    font-size: 1.2em;
}
.desclink:hover {
    color: #ad4848;
}
.chalRule {
    color: #4a0713;
    font-size: 1em;
}
.chalRule:hover {
    color: #bf364e;
}
#descM ul,
#descT ul,
#descA ul {
    list-style: disc !important;
    padding-left: 15px;
}
.hgl {
    /*background: #b7ee92;*/
    /*padding: 5px;*/
    color: #05a800;
}
.tacenter {
    text-align: center;
}
/*****************************/

.progress-bar {
    border-radius: 5px;
    padding-left: 5px;
    text-align: center;
    line-height: 1rem;
}
/**********************************/

.blocChallenge {
    display: flex;
    flex-direction: column;
    padding: 0px 10px;
    width: 100%;
}
.top-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    /*justify-content: space-around;
    background-color: #00baf0;*/
    background: #fff;/*linear-gradient(to left, #f4ecad, #fbead3);*/
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: #fff;
    /*height: 50px;*/
    padding: 15px;
}

.cmenu {
    display: flex !important;
    flex-direction: row;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.cmenu > li {
    margin: 0 1rem;
    overflow: hidden;
}

.cmenu-button-container {
    display: none;
    height: 100%;
    width: 30px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#cmenu-toggle {
    display: none;
}

.cmenu-button,
.cmenu-button::before,
.cmenu-button::after {
    display: block;
    background-color: #828181;
    position: absolute;
    height: 4px;
    width: 30px;
    transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}

.cmenu-button::before {
    content: "";
    margin-top: -8px;
}

.cmenu-button::after {
    content: "";
    margin-top: 8px;
}

#cmenu-toggle:checked + .cmenu-button-container .cmenu-button::before {
    margin-top: 0px;
    transform: rotate(405deg);
}

#cmenu-toggle:checked + .cmenu-button-container .cmenu-button {
    background: rgba(255, 255, 255, 0);
}

#cmenu-toggle:checked + .cmenu-button-container .cmenu-button::after {
    margin-top: 0px;
    transform: rotate(-405deg);
}
.partner {
    display: none;
    margin-left: 150px;
    font-size: 1.2rem;
    color: #828181;
}
@media (max-width: 780px) {
    .top-nav {
        height: 60px;
    }
    .partner {
        display: block;
    }
    .cmenu-button-container {
        display: flex;
        margin-left: 15px;
    }
    .cmenu {
        z-index: 1000;
        position: absolute;
        top: 0;
        margin-top: 50px;
        left: 0;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    #cmenu-toggle ~ .cmenu li {
        height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }
    #cmenu-toggle:checked ~ .cmenu li {
        border-bottom: 1px solid #a49d9d;
        height: 80px;
        padding: 0.5em;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
        background-color: #f3eae6 !important;
    }
    .cmenu > li {
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 0.5em 0;
        width: 100%;
        color: white;
        background-color: #222;
    }
    .cmenu > li:not(:last-child) {
        border-bottom: 1px solid #444;
    }
}
