:root{
    --modal-logo-info-fs: 13px;
    --modal-logo-fs: 14px;
    --texts-fs: 15px;
    --buttons-fs: 16px;
    --titles-fs: 17px;
    --libraryTitle-fs: 18px;
    --tabs-fs: 19px;
    --price-fs: 20px;
    --picked-color: 21px;
    --dicount-price: 24px;
    --fonts-fs: 27px;
    --product-title: 28px;
    --close-icon: 29px;
}

/* MOBILE MESSAGE */
.mobile-message{
    display: none;
    margin: 140px 30px;
    border: 1.5px solid #E4032E;
    border-radius: 9px;
    padding: 16px;
    background-color: #ffffff;
    box-shadow: 3px 3px 8px #c5c5c5;
}

.mobile-message p{
    color: #1a1a1a;
    font-size: 20px !important;
    font-weight: 400;
    text-align: center;
}


/* LOADING PAGE  */
#loading-page{
    display: flex;
    justify-content: center;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: white;
}

#loading-page .loading-block{
    text-align: center;
}

#loading-page .loading-block p{
    margin-top: 40vh;
    color: #E4032E;
    font-size: var(--tabs-fs) !important;
    font-weight: 500;
    text-transform: uppercase;
}

@keyframes ldio-m5dbm54bhvb {
    0% {
      opacity: 1;
      backface-visibility: hidden;
      transform: translateZ(0) scale(1.5,1.5);
    } 100% {
      opacity: 0;
      backface-visibility: hidden;
      transform: translateZ(0) scale(1,1);
    }
  }
  .ldio-m5dbm54bhvb div > div {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e4032e;
    animation: ldio-m5dbm54bhvb 0.9900990099009901s linear infinite;
  }.ldio-m5dbm54bhvb div:nth-child(1) > div {
    left: 76px;
    top: 44px;
    animation-delay: -0.8663366336633663s;
  }
  .ldio-m5dbm54bhvb > div:nth-child(1) {
    transform: rotate(0deg);
    transform-origin: 82px 50px;
  }.ldio-m5dbm54bhvb div:nth-child(2) > div {
    left: 67px;
    top: 67px;
    animation-delay: -0.7425742574257426s;
  }
  .ldio-m5dbm54bhvb > div:nth-child(2) {
    transform: rotate(45deg);
    transform-origin: 73px 73px;
  }.ldio-m5dbm54bhvb div:nth-child(3) > div {
    left: 44px;
    top: 76px;
    animation-delay: -0.6188118811881188s;
  }
  .ldio-m5dbm54bhvb > div:nth-child(3) {
    transform: rotate(90deg);
    transform-origin: 50px 82px;
  }.ldio-m5dbm54bhvb div:nth-child(4) > div {
    left: 21px;
    top: 67px;
    animation-delay: -0.49504950495049505s;
  }
  .ldio-m5dbm54bhvb > div:nth-child(4) {
    transform: rotate(135deg);
    transform-origin: 27px 73px;
  }.ldio-m5dbm54bhvb div:nth-child(5) > div {
    left: 12px;
    top: 44px;
    animation-delay: -0.3712871287128713s;
  }
  .ldio-m5dbm54bhvb > div:nth-child(5) {
    transform: rotate(180deg);
    transform-origin: 18px 50px;
  }.ldio-m5dbm54bhvb div:nth-child(6) > div {
    left: 21px;
    top: 21px;
    animation-delay: -0.24752475247524752s;
  }
  .ldio-m5dbm54bhvb > div:nth-child(6) {
    transform: rotate(225deg);
    transform-origin: 27px 27px;
  }.ldio-m5dbm54bhvb div:nth-child(7) > div {
    left: 44px;
    top: 12px;
    animation-delay: -0.12376237623762376s;
  }
  .ldio-m5dbm54bhvb > div:nth-child(7) {
    transform: rotate(270deg);
    transform-origin: 50px 18px;
  }.ldio-m5dbm54bhvb div:nth-child(8) > div {
    left: 67px;
    top: 21px;
    animation-delay: 0s;
  }
  .ldio-m5dbm54bhvb > div:nth-child(8) {
    transform: rotate(315deg);
    transform-origin: 73px 27px;
  }
  .loadingio-spinner-spin-dolb57g5lph {
    width: 92px;
    height: 92px;
    display: inline-block;
    overflow: hidden;
    background: none;
    margin-top: 20px;
  }
  .ldio-m5dbm54bhvb {
    width: 100%;
    height: 100%;
    position: relative;
    transform: translateZ(0) scale(0.92);
    backface-visibility: hidden;
    transform-origin: 0 0; /* see note above */
  }
  .ldio-m5dbm54bhvb div { box-sizing: content-box; }


/* PAGE ELEMENT DISPOSITION TO TAKE THE WHOLE SPACE */
body#module-mm_custom-customModule section#wrapper{
    padding-top: 0;
}

body#module-mm_custom-customModule .container{
    width: 100%;
}

body#module-mm_custom-customModule #content-wrapper{
    padding: 0;
}

body#module-mm_custom-customModule section#main{
    margin-bottom: 0;
}

body#module-mm_custom-customModule #content{
    width: 100% !important;
    margin-bottom: 0 !important;
}

body#module-mm_custom-customModule .module-title{
    border-bottom: 1px solid black;
    padding: 18px 0 18px 27px;
    color: black;
    font-weight: 700;
    font-size: var(--product-title);
}

.module-container{
    display: flex;
    justify-content: space-between;
    margin-bottom: 45px;
    margin-top: 10px;
}

/*///////// TOOLS SIDE ////////*/

    /* WHOLE BLOCK */
    .module-container .info{
        width: 30%;
    }

    .module-container .tools{
        margin-top: 20px;
        margin-left: 27px;
        height: 500px;
    }

    /* TABS */
    .module-container .tools .tabs{
        display: flex;
        align-items: center;
    }

    .module-container .tools .tabs .tab{
        width: 50%;
        color: black;
        font-weight: 700;
        font-size: var(--tabs-fs);
        padding: 12px 20px 12px 20px;
        text-align: center;
    }

    .module-container .tools .tabs .tab:hover{
        cursor: pointer;
    }

    .module-container .tools .tabs .active{
        border-right: 1px solid #cecece;
        border-left: 1px solid #cecece;
        box-shadow: 0px -5px 0px 0px #E4032E;
    }

    .module-container .tools .tabs .not-active{
        background-color: #f8f8f8;
        border-bottom: 1px solid #cecece;
    }

    /* HIDE CLASS */
    .hide{
        display: hidden;
    }

    /* PRESENTATION */
    .module-container .tools .presentation, .design-block{
        margin-top: 32px;
    }

    .module-container .tools .presentation h2, .design-block h2{
        font-size: var(--titles-fs);
        margin-bottom: 11px;
    }

    body#module-mm_custom-customModule .module-container .tools .presentation p,body#module-mm_custom-customModule .module-container .tools .design-block p{
        text-align: initial;
        font-size: var(--texts-fs) !important;
        line-height: 20px;
        margin-bottom: 28px;
    }

    /* TEXT CHOICE AND LOGO CHOICE*/
    .module-container .tools .text-choice, .logos-choice{
        padding: 18px 22px;
    }

    body#module-mm_custom-customModule .module-container .tools .text-choice p:first-child,
    body#module-mm_custom-customModule .module-container .tools .logos-choice p:first-child{
        font-weight: 700;
        font-size: var(--titles-fs) !important;
        margin-bottom: 0;
        text-align: left;
    }

    body#module-mm_custom-customModule .module-container .tools .text-design-subtext,
    body#module-mm_custom-customModule .module-container .tools .logo-design-subtext{
        font-size: var(--buttons-fs) !important;
    }

    .module-container .tools .text-choice .text-choice-buttons, .logos-choice-buttons{
        margin-top: 45px;
    }

    .module-container .tools .text-choice .add-text,  .module-container .tools .logos-choice .add-logo, .module-container .tools .leave-empty-button{
        display: block;
        margin-left: 50%;
        transform: translateX(-50%);
        border: 1px solid #cecece;
        border-radius: 4px;
        padding: 15px 31px;
        background-color: transparent;
        font-weight: 700;
        font-size: var(--buttons-fs);
        margin-bottom: 60px;
        min-width: 246px;
        transition-duration: 0.1s;
    }

    .module-container .tools .text-choice .add-text:hover, .module-container .tools .leave-empty-button:hover, .module-container .tools .logos-choice .add-logo:hover{
        border: 1px solid #E4032E;
        cursor: pointer;
    }

    .module-container .tools .text-choice .add-text:hover:disabled{
        border: 1px solid #cecece;
        cursor: default;
    }

    .module-container .tools .text-choice-buttons img, .logos-choice-buttons img{
        width: 47px;
        display: block;
        margin-left: 50%;
        transform: translateX(-50%);
        margin-bottom: 4px;
    }

    /* TEXT DESIGN TOOL */
    .module-container .tools .text-design{
        padding: 18px 22px;
        height: 500px;
        overflow: scroll;
    }

    .module-container .tools .text-design::-webkit-scrollbar{
        width: 20px;
      }
      
    .module-container .tools .text-design::-webkit-scrollbar-track{
        background-color: transparent;
    }

    .module-container .tools .text-design::-webkit-scrollbar-thumb{
        background-color: #E4032E;
        border-radius: 20px;
        border: 6px solid transparent;
        background-clip: content-box;
    }


    body#module-mm_custom-customModule .module-container .tools .text-design .text-design-first-p, 
    body#module-mm_custom-customModule .module-container .tools .colors-design .colors-design-first-p{
        font-weight: 700;
        font-size: var(--titles-fs) !important;
        margin-bottom: 0;
        color: black;
        text-align: left;
    }

    .module-container .tools .text-design div{
        margin-top: 12px;
    }

    .module-container .tools .text-design label{
        font-weight: 700;
        font-size: var(--titles-fs) !important;
        margin-bottom: 0;
        margin-top: 10px;
        color: black;
    }

        /* INPUT TEXT */
        body#module-mm_custom-customModule .module-container .tools .text-design .inputTextDesign input{
            width: 100%;
            padding: 6px 18px;
            font-size: var(--buttons-fs);
            border: 1px solid #cecece;
            border-radius: 4px;
        }

        /* INPUT RANGE TEXT WIDTH AND POSITION*/
        .slider-text-width, .slider-text-position, .slider-text-border, .slider-logo-size, .slider-logo-position{
            -webkit-appearance: none;
            width: 100%;
            height: 3px;
            border-radius: 5px;
            background: #cecece;
            outline: none;
            -webkit-transition: .2s;
            transition: opacity .2s;
            z-index: 1;
            position: relative;
            margin-top: 17px;
        }
          
        .slider-text-width::-webkit-slider-thumb, .slider-text-position::-webkit-slider-thumb, .slider-text-border::-webkit-slider-thumb, .slider-logo-size::-webkit-slider-thumb, .slider-logo-position::-webkit-slider-thumb{
            -webkit-appearance: none;
            appearance: none;
            width: 25px;
            height: 25px;
            border-radius: 50%;
            background: #E4032E;
            cursor: pointer;
            margin-right: 10px;
            border: none;
        }
          
        .slider-text-width::-moz-range-thumb, .slider-text-position::-moz-range-thumb, .slider-text-border::-moz-range-thumb, .slider-logo-size::-moz-range-thumb, .slider-logo-position::-moz-range-thumb{
            -webkit-appearance: none;
            appearance: none;
            width: 25px;
            height: 25px;
            border-radius: 50%;
            background: #E4032E;
            cursor: pointer;
            margin-right: 10px;
            border: none;
        }

        .module-container .tools .text-design .slider-input{
            margin-top: 0;
        }

        .module-container .tools .text-design .slider-input span{
            font-size: var(--buttons-fs);
            font-weight: 600;
        }

        .tools .text-design .slider-text-width-container .slider-text-width-pixel-top, .tools .text-design .slider-text-position-container .slider-text-position-pixel-top{
            display: flex;
            justify-content: space-between;
            margin-top: 0;
        }

        .tools .text-design .slider-text-width-container .slider-text-width-pixel-top p, .slider-text-position-pixel-top p{
            opacity: 0;
            width: 30px;
            text-align: center;
            color: #E4032E;
            font-weight: 600;
            margin-bottom: 0px;
        }

        /* FONT CHOICE */
        .module-container .tools .text-design .fonts .fonts-grid{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }

        .module-container .tools .text-design .fonts .fonts-grid .font{
            width: 47%;
            text-align: center;
            border: 1px solid #cecece;
            border-radius: 4px;
            font-size: var(--fonts-fs) !important;
            color: #cecece;
            padding: 5px;
            transition-duration: 0.1s;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .module-container .tools .text-design .fonts .fonts-grid .font:hover{
            border: 1px solid #E4032E;
            color: #E4032E;
            cursor: pointer;
        }

        .module-container .tools .text-design .fonts .fonts-grid .font:hover + .active-font{
            border: 1px solid #e4032ea3 !important;
            color: #e4032ea3 !important;
        }

        .module-container .tools .text-design .fonts .fonts-grid .active-font{
            border: 1px solid #E4032E;
            color: #E4032E;
        }
        
        /* COLOR FONT */
        .module-container .tools .text-design .font-colors .font-colors-buttons{
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .module-container .tools .text-design .font-colors .font-colors-buttons div{
            width: 47%;
            font-size: var(--tabs-fs);
            font-weight: 600;
            color: black;
            text-align: center;
            border: 1px solid #cecece;
            border-radius: 4px;
            color: #cecece;
            padding: 5px;
            transition-duration: 0.1s;
        }

        .module-container .tools .text-design .font-colors .font-colors-buttons div:hover{
            color: #E4032E;
            border: 1px solid #E4032E;
            cursor: pointer;
        }

        .module-container .tools .text-design .font-colors .font-colors-buttons div.active{
            color: white;
            background-color: #E4032E;
            border: 1px solid #E4032E;
        }

        .module-container .tools .text-design .font-colors .slider-input-border{
            position: relative;
        }

        #main .page-content .module-container .tools .text-design .font-colors .slider-input-border p.erase-border{
            font-size: var(--modal-logo-fs) !important;
            position: absolute;
            top: 11px;
            right: 0px;
            font-weight: 500;
            color: #5a5a5a;
        }

        .module-container .tools .text-design .font-colors .slider-input-border p.erase-border:hover{
            cursor: pointer;
            color: #E4032E !important;
        }

        .module-container .tools .text-design .font-colors .slider-border-levels{
            display: flex;
            justify-content: space-between;
            margin-top: -17px;
        }

        .module-container .tools .text-design .font-colors .slider-border-levels p{
            background-color: #cecece;
            width: 3px;
            height: 15px;
            border-radius: 3px;
        }

        .module-container .tools .text-design .font-colors .slider-border-pixels{
            display: flex;
            justify-content: space-between;
            margin-top: -12px;
        }

        .module-container .tools .text-design .font-colors .slider-border-pixels p{
            color: #cecece;
        }

        .module-container .tools .text-design .font-colors .colors-grid{
            display: flex;
            justify-content: flex-start;
            align-items: center;
            flex-wrap: wrap;
            margin-left: 3%;
        }

        /* .module-container .tools .text-design .font-colors .colors-grid::after{
            content: "";
            flex: auto;
        } */

        .module-container .tools .text-design .font-colors .colors-grid .font-color{
            width: 27px;
            height: 27px;
            margin: 3.5px;
            border-radius: 3px;
            transition-duration: 0.2s;
        }

        .module-container .tools .text-design .font-colors .colors-grid .font-color:hover{
            transform: scale(1.1);
            cursor: pointer;
        }

        .module-container .tools .text-design .font-colors .colors-grid .picked{
            outline: 3px solid #454545;
        }
    
        .module-container .tools .text-design .font-colors .colors-grid .picked::after{
            content: "\f00c";
            font-family: FontAwesome;
            color: white;
            font-size: var(--picked-color);
            margin-left: 11%;
        }
    
        .module-container .tools .text-design .font-colors .colors-grid .white::after{
            color: #505050;
            margin-left: 9%;
        }
    
    /* COLORS-DESIGN */
    svg .eyedropper{
        cursor: url('../img/icons/eyedropper.png') 0 23, pointer;
    }

    svg .hoverBorder{
        stroke: rgb(22, 134, 255);
        stroke-width: 13;
        stroke-linejoin: bevel;
    }

    svg .hoverBorder-for-background{
        stroke: rgb(22, 134, 255);
        stroke-width: 26;
        stroke-linejoin: bevel;
    }

    .module-container .tools .colors-design{
        padding: 18px 22px;
        height: 500px;
    }

    .module-container .tools .colors-design .colors-grid{
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
        margin-left: 3%;
        margin-top: 11px;
    }

    .module-container .tools .colors-design .colors-grid .colors-color{
        width: 27px;
        height: 27px;
        margin: 3.5px;
        border-radius: 3px;
        transition-duration: 0.2s;
    }

    .module-container .tools .colors-design .colors-grid .colors-color:hover{
        transform: scale(1.1);
        cursor: pointer;
    }

    .module-container .tools .colors-design .colors-grid .picked{
        outline: 3px solid #454545;
    }

    .module-container .tools .colors-design .colors-grid .picked::after{
        content: "\f00c";
        font-family: FontAwesome;
        color: white;
        font-size: var(--picked-color);
        margin-left: 11%;
    }

    .module-container .tools .colors-design .colors-grid .white::after{
        color: #505050;
        margin-left: 9%;
    }


    /* LOGOS */
        /* LOGOS LEAVE EMPTY INPUT */
        .leave-empty-logo, .leave-empty-text{
            display: flex;
            align-items: center;
            margin-left: 50%;
            transform: translateX(-50%);
            margin-bottom: 32px;
            width: 100%;
            justify-content: center;
        }
    
        body#module-mm_custom-customModule .module-container .tools .logos-choice .logos-choice-buttons .leave-empty-logo p,
        body#module-mm_custom-customModule .module-container .tools .text-choice .text-choice-buttons .leave-empty-text p{
            margin-right: 15px;
            font-size: var(--buttons-fs) !important;
        }
    
        .leave-empty {
            position: relative;
            display: inline-block;
            width: 60px;
            height: 34px;
            margin-bottom: 0;
        }
          
        .leave-empty input { 
            opacity: 0;
            width: 0;
            height: 0;
        }
        
        .leave-empty-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #E4032E;
            -webkit-transition: .4s;
            transition: .4s;
            border-radius: 34px;
        }
        
        .leave-empty-slider:before {
            position: absolute;
            content: "";
            height: 26px;
            width: 26px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            -webkit-transition: .4s;
            transition: .4s;
            border-radius: 50%;
            -webkit-transform: translateX(26px);
            -ms-transform: translateX(26px);
            transform: translateX(26px);
        }
        
        input:checked + .leave-empty-slider {
            background-color: #ccc;
        }
        
        input:checked + .leave-empty-slider:before {
            -webkit-transform: translateX(0px);
            -ms-transform: translateX(0px);
            transform: translateX(0px);
        }
    

        /* MODAL IMPORT OR LIBRARY LOGOS */
        #modal-logo-choice{
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgb(0,0,0);
            background-color: rgba(0,0,0,0.4);
        }

        #modal-logo-choice-content{
            position: relative;
            background-color: white;
            margin: 13% auto;
            padding: 15px;
            border: 1px solid #888;
            width: 57%;
            border-radius: 3px;
        }

        #modal-logo-choice-content p.library-title{
            font-size: var(--libraryTitle-fs) !important;
            font-weight: 600;
            margin-bottom: 0;
        }

        #modal-logo-choice-content hr{
            border: 0.1px solid #e0e0e0;
            margin-top: 9px;
        }

        #modal-logo-choice-content form{
            display: flex;
            justify-content: space-between;
            margin-bottom: 14px;
        }

        #modal-logo-choice-content form .logo-choice-left, .logo-choice-right{
            width: 50%;
            text-align: center;
            margin-top: 4%;
        }

        #modal-logo-choice-content form .logo-choice-left img, .logo-choice-right img{
            width: 60%;
            margin-bottom: 20px;
        }
        
        #modal-logo-choice-content form .logo-choice-left label, .logo-choice-right button{
            background: #E4032E;
            border: none;
            border-radius: 5px;
            color: white;
            font-size: var(--modal-logo-fs);
            font-weight: 600;
            padding: 5px 27px;
            margin-bottom: 15px;
            transition-duration: 0.2s;
        }
        
        #modal-logo-choice-content form .logo-choice-left label:hover, .logo-choice-right button:hover{
            cursor: pointer;
            box-shadow: 2px 2px 5px #c5c5c5;
        }

        #modal-logo-choice-content form .logo-choice-left input{
            display: none;
        }
        
        #modal-logo-choice-content form .logo-choice-left p, #modal-logo-choice-content form .logo-choice-right p{
            font-size: var(--modal-logo-fs) !important;
            margin-bottom: -27px;
        }

        #modal-logo-choice-content form .logo-choice-center{
            position: relative;
            background-color: #e0e0e0;
            width: 1px;
            height: 396px;
            z-index: 1;
            margin-bottom: 15px;
        }

        #modal-logo-choice-content form .logo-choice-center .logo-choice-circle{
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 34px;
            height: 34px;
            border: 2.5px solid #e0e0e0;
            border-radius: 50%;
            text-align: center;
            z-index: 2;
            background-color: white;
        }

        #modal-logo-choice-content form .logo-choice-center .logo-choice-circle p{
            color: #6a6a6a;
            font-weight: 600;
            font-size: var(--modal-logo-fs) !important;
            margin-top: 50%;
            transform: translateY(-50%);
        }

        #modal-logo-choice-content form button.close-logo-modal{
            background: none;
            border: none;
        }

        #modal-logo-choice-content form .close-logo-modal{
            position: absolute;
            top: 9px;
            right: 10px;
            font-size: var(--close-icon);
            color: #a2a2a2;
        }
    
        #modal-logo-choice-content form .close-logo-modal:hover i{
            cursor: pointer;
            color: #E4032E;
        }

        #modal-logo-choice-content .logo-choice-info{
            background-color: #f8f8f8;
            border: 1px solid #efefef;
            padding: 5px 20px;
        }

        #modal-logo-choice-content .logo-choice-info p{
            font-size: var(--modal-logo-info-fs) !important;
            font-weight: 600;
            text-align: left;
            color: #7f7f7f;
            margin-bottom: 0;
        }

        #modal-logo-choice-content .logo-choice-info p a{
            color: #E4032E;
        }

        #modal-logo-choice-content .logo-choice-info p a:hover{
            color: #b30021;
        }

        /* LOGOS LIBRARY MODAL */
        #modal-logos-library{
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgb(0,0,0);
            background-color: rgba(0,0,0,0.4);
        }

        #modal-logos-library-content{
            position: relative;
            background-color: white;
            margin: 13% auto;
            padding: 15px;
            border: 1px solid #888;
            width: 65%;
            border-radius: 3px;
            padding: 40px 40px;
        }

        #modal-logos-library-content #close-logos-library-modal{
            position: absolute;
            top: 9px;
            right: 10px;
            font-size: var(--close-icon);
            color: #a2a2a2;
            background: none;
            border: none;
        }
    
        #modal-logos-library-content #close-logos-library-modal:hover i{
            cursor: pointer;
            color: #E4032E;
        }

        #modal-logos-library-content .sort-letters{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 0 12px;
        }

        #modal-logos-library-content .sort-letters button{
            border: 1.5px solid transparent;
            background-color: #f8f8f8;
            font-size: var(--titles-fs);
            font-weight: 500;
            border-radius: 5px;
            padding: 3px 13px;
        }

        #modal-logos-library-content .sort-letters button:hover{
            background: #E4032E;
            cursor: pointer;
            color: white;
        }

        #modal-logos-library-content .sort-letters button.active{
            border: 1.5px solid #E4032E;
            background: transparent;
        }

        #modal-logos-library-content .sort-letters button.active:hover{
            background: #E4032E;
            cursor: pointer;
        }

        #modal-logos-library-content .logos-block{
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            margin-top: 30px;
        }

        #modal-logos-library-content .logos-block img{
            margin: 12px;
            /* background: #f7f7f7; */
            background: #e5e5e5;
            padding: 25px 12px;
            width: 143px;
            height: 133px;
            border-radius: 3px;
        }

        #modal-logos-library-content .logos-block img:hover{
            cursor: pointer;
        }

        /* LOGO DESIGN TOOL BLOCK */
        .module-container .tools .logo-design label{
            font-weight: 700;
            font-size: var(--titles-fs) !important;
            margin-bottom: 0;
            color: black;
        }

        .module-container .tools .logo-design .slider-logo-level{
            display: flex;
            justify-content: space-between;
            margin-top: -17px;
        }

        .module-container .tools .logo-design .slider-logo-level p{
            background-color: #cecece;
            width: 3px;
            height: 15px;
            border-radius: 3px;
            margin-left: 75px;
        }

        .module-container .tools .logo-design .slider-logo-pixel, .slider-logo-pixel-top{
            display: flex;
            justify-content: space-between;
            margin-top: -12px;
        }

        .module-container .tools .logo-design .slider-logo-pixel p{
            color: #cecece;
            margin-left: 15%;
        }

        .module-container .tools .logo-design .slider-logo-pixel-top p{
            width: 30px;
            text-align: center;
            color: #E4032E;
            font-weight: 600;
            margin-left: 13%;
            margin-bottom: -8px;
        }



/*///////// TEMPLATE SIDE /////////*/

    .module-container .template{
        width: 70%;
        display: flex;
        justify-content: center;
    }

    .module-container svg:not(#logo_group svg) {
        width: 83%;
    }

    .module-container .template.quad svg:not(#logo_group svg) {
        width: 69%;
    }

    .module-container svg text{
        cursor: pointer;
    }

    .module-container svg [id*='logo']{
        cursor: pointer;
    }

    .module-container .template button.reload-template{
        position: absolute;
        right: 40px;
        top: 80px;
        background: #f8f8f8;
        border: 1px solid #cecece;
        border-radius: 3px;
        font-weight: 600;
        padding: 4px 7px;
        color: #424242;
    }

    .module-container .template button.reload-template:hover{
        cursor: pointer;
        background: #f3f3f3;
    }


/*///////// FOOTER /////////*/
    .module-footer{
        background-color: #f8f8f8;
        position: relative;
    }

    .module-footer .info{
        border-bottom: 1px solid #dadada;
    }

    .module-footer .info img{
        width: 152px;
        position: absolute;
        top: -19px;
        left: 22px;
    }

    body#module-mm_custom-customModule .module-footer .info p{
        font-size: var(--buttons-fs) !important;
        line-height: 22px;
        margin-bottom: 0;
        padding: 21px;
    }

    .module-footer .info p strong{
        font-weight: 800;
    }

    .module-footer .add-to-shopping-cart{
        display: flex;
        align-items: center;
        justify-content: end;
        padding: 16px 39px;
        border-bottom: 1px solid #efefef;
    }

    body#module-mm_custom-customModule .module-footer .add-to-shopping-cart p.price{
        font-size: 22px !important;
        font-weight: 800;
        margin-right: 40px;
        margin-bottom: 0;
        color: #E4032E;
    }

    body#module-mm_custom-customModule .module-footer .add-to-shopping-cart p.original-price{
        text-decoration: line-through;
        font-size: var(--price-fs) !important;
        font-weight: 800;
        margin-bottom: 0;
        margin-right: 22px;
    }

    body#module-mm_custom-customModule .module-footer .add-to-shopping-cart p.discount-price{
        font-size: var(--dicount-price) !important;
        font-weight: 800;
        margin-bottom: 0;
        margin-right: 30px;
        color: #E4032E;
    }

    .module-footer .add-to-shopping-cart button{
        background-color: #2D2A2A;
        color: white;
        font-weight: 600;
        padding: 8px 21px;
        border-radius: 5px;
        border: none;
        font-size: var(--titles-fs);
        transition-duration: 0.1s;
    }

    .module-footer .add-to-shopping-cart button:hover{
        cursor: pointer;
        background-color: #E4032E;
    }

    .module-footer i.fa-close{
        position: absolute;
        top: 11px;
        right: 30px;
        font-size: 27px;
        color: #a2a2a2;
    }

    .module-footer i.fa-close:hover{
        cursor: pointer;
    }

    .module-footer .closed{
        transform: translateY(-100%);
    }

    .module-footer-fixed{
        position: fixed;
        width: 100%;
        left: 0;
        bottom: 0;
        z-index: 100;
    }

    /* Product added to cart message */
    .product-added-to-cart{
        transform: translateX(100%);
        z-index: 1000;
        position: absolute;
        top: 11px;
        right: 0;
        padding: 18px 20px;
        background: #43ab34;
        /* border: 1.5px solid #43ab34; */
        border-top-left-radius: 16px;
        border-bottom-left-radius: 16px;
        box-shadow: 4px 2px 5px #aeaeae;
        animation: productAddedSlideIn cubic-bezier(0.58, 0, 0.58, 1);
        animation-duration: 4s;
        animation-delay: 2s;
    }

    .product-added-to-cart p{
        margin-bottom: 0;
        font-weight: 600;
        color: white;
        display: flex;
        align-items: center;
    }

    .product-added-to-cart p i{
        font-size: 23px;
        font-weight: 600px !important;
        margin-right: 11px;
    }

    @keyframes productAddedSlideIn{
        0%{
            transform: translateX(100%);
        }
        20%{
            transform: translateX(0%);
        }
        80%{
            transform: translateX(0%);
        }
        100%{
            transform: translateX(100%);
        }
    }


/* MEDIA QUERIES */
@media screen and (max-width: 1366px){

    /* FONT SIZE */
    :root{
        --modal-logo-info-fs: 12px;
        --modal-logo-fs: 13px;
        --texts-fs: 14px;
        --buttons-fs: 15px;
        --titles-fs: 16px;
        --libraryTitle-fs: 17px;
        --tabs-fs: 18px;
        --price-fs: 19px;
        --picked-color: 20px;
        --dicount-price: 23px;
        --fonts-fs: 25px;
        --product-title: 26px;
        --close-icon: 26px;
    }

    /* TOOLS AND TEMPLATE REPARTITION */
    .module-container .info {
        width: 34%;
    }

    .module-container .template{
        width: 66%;
    }

    .module-container svg:not(#logo_group svg){
        width: 88%;
    }

    .module-container .template.quad svg:not(#logo_group svg) {
        width: 64%;
    }

    /* BUTTONS */
    .module-container .tools .text-choice .add-text, .module-container .tools .logos-choice .add-logo, .module-container .tools .leave-empty-button{
        min-width: 235px;
    }

    /* COLORS GRID */
    .module-container .tools .colors-design .colors-grid .colors-color,
    .module-container .tools .text-design .font-colors .colors-grid .font-color{
        width: 25px;
        height: 25px;
    }

    /* MODAL LOGO */
    #modal-logo-choice-content{
        width: 72%;
    }

    #modal-logos-library-content{
        width: 72%;
    }

    #modal-logos-library-content .sort-letters button{
        padding: 3px 11px;
    }

    #modal-logos-library-content .logos-block img{
        width: 123px;
        height: 113px;
    }
}

@media screen and (min-width: 1367px) and (max-width: 1440px){

    /* TOOLS AND TEMPLATE REPARTITION */
    .module-container .info {
        width: 34%;
    }

    .module-container .template{
        width: 66%;
    }
    .module-container svg:not(#logo_group svg){
        width: 88%;
    }

    /* MODAL LOGO */
    #modal-logo-choice-content{
        width: 67%;
    }

    #modal-logos-library-content{
        width: 76%;
    }
}

@media screen and (min-width: 1367px) and (max-width: 1540px){
    :root{
        --titles-fs: 16px;
    }
}

@media screen and (min-width: 1441px) and (max-width: 1640px) {
    #modal-logos-library-content .sort-letters button{
        padding: 3px 11px;
    }

    .module-container svg:not(#logo_group svg){
        width: 81%;
    }
}


/* FAIRE LA FONT SIZE DES BUTTONS SORTING LETTERS */