@font-face { font-family: 'Roboto'; src: url('../../assets/presta_theme/assets/fonts/Roboto-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Lato'; src: url('../../assets/presta_theme/assets/fonts/Lato-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Raleway'; src: url('../../assets/presta_theme/assets/fonts/Raleway-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Montserrat'; src: url('../../assets/presta_theme/assets/fonts/Montserrat-Regular.ttf') format('truetype'); }
@font-face { font-family: 'ComicNeue'; src: url('../../assets/presta_theme/assets/fonts/ComicNeue-Regular.ttf') format('truetype'); }
@font-face { font-family: 'CourierPrime'; src: url('../../assets/presta_theme/assets/fonts/CourierPrime-Regular.ttf') format('truetype'); }
@font-face { font-family: 'NanumBrushScript'; src: url('../../assets/presta_theme/assets/fonts/NanumBrushScript-Regular.ttf') format('truetype'); }
@font-face { font-family: 'OpenSans'; src: url('../../assets/presta_theme/assets/fonts/OpenSans-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Poppins'; src: url('../../assets/presta_theme/assets/fonts/Poppins-Regular.ttf') format('truetype'); }


#general small{
    font-size: 16px;
}

.overlay {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.3);
    display: none;
    transition: opacity 0.4s ease;
    opacity: 0;
}


body{
    box-sizing: border-box;
}

.content-div{
   padding: 0 16px 0 224px!important;
}
.content{
    padding: 0px;
    align-items: flex-start;
    flex-wrap: nowrap!important;
}

.type-text .col-sm{ 
    display: table;
    border-collapse: separate;
    position: relative;
}

.mColorPickerTrigger{
    display: table-cell;
    width: 1%;
    vertical-align: middle;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #f5f8f9;
    border-top: 1px solid #bbcdd2;
    border-left: 1px solid #bbcdd2;
    border-bottom: 1px solid #bbcdd2;
    border-right: 1px solid #bbcdd2;
    border-radius: 4px
}




.container-content{
    width: 100%;
}


.panel-heading{
    padding: 0px 0px 10px;
    font-family: "Open Sans", helvetica, arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #363a41;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-bottom: 1px solid #dbe6e9;
    margin-bottom: 10px;
}

.tab-content{
    margin-bottom: 20px;
}


.container-nav{
    background:white;
    min-width: 300px;
    height: 100vh;
    border-right: 1px solid #ebe6e7;
    .header-nav{
        padding: 24px;
        border-bottom: 1px solid #ebe6e7;
    }
    .nav-tabs{
        display: flex;
        flex-direction: column;
        padding: 16px;
        li{
            padding: 10px 12px;
            a{
               text-decoration: none!important;
               display: flex;
               align-items: center;
               svg{
                margin-right: 10px;
                color: black;
               }
            }
        }
    }
}

.container-admin{
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 15px;
    position: relative;
    .header{
        .intro-form{
            font-style: italic;
            opacity: 0.6;
            margin-bottom: 20px!important;
        }
        .help{
            padding: 16px;
            border-radius: 1rem;
            border: 1px solid #ebe6e7;
            margin-bottom: 20px;
            background: #ffe2d2;
            p{
                margin-bottom: 0!important;
            }
        }
    }
    .container-content{
        .form-group{
            background: white;
            border: 1px solid #ebe6e7;
            border-radius: 1rem;
            padding: 24px;
            margin-top: 1.2rem;
        }
    }
    .tab-content{
        background: white;
        border: 1px solid #ebe6e7;
        border-radius: 1rem;
        padding: 24px;
        table{
            width: 100%;
            tr{
                border-bottom: 1px solid #eaedef;
                td{
                    padding: 10px 5px;
                    vertical-align: middle;
                }
                th{
                    font-weight: 500;
                    vertical-align: top;
                    border: none;
                    padding: 8px;
                }
                .btn-default{
                    border-radius: 1rem;
                    border: 1px solid #ebe6e7!important;
                    padding: 5px 8px!important;
                }
            }
           
        }
        #sortable-blocks{
            li{
                justify-content: space-between;
                a{
                    text-decoration: none;
                }
            }
            
        }
    }
    .popup-block{
        display: none;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translateY(-100%);
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.05);
        width: 800px;
        background: white;
        border-radius: 1rem;
        border: 1px solid #ebe6e7;
        padding: 24px;
        z-index: 99999;
       .header-popup{
            position:relative;
            svg{
                position: absolute;
                top: 0;
                right: 0;
            }
       }
        .container-popup{
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap:10px;
            .card-block{
                border: 1px solid #ebe6e7;
                border-radius: 1rem;
                padding: 0px!important;
                transition: all ease 0.5s;
                a{
                    cursor: pointer;
                    padding: 24px;
                    display: block;
                    text-decoration: none!important;
                    display: flex;
                    gap: 10px;
                    h3{
                        margin-bottom: 6px;
                    }
                    p{
                        margin-bottom: 0;
                    }
                    svg{
                        background-color: #ffe2d2;
                        padding: 5px;
                        border-radius: 50%;
                        width: 34px;
                        height: 34px;
                    }
                }
            }
            .card-block:hover{
                transform: scale(1.05);
            }
        }
    }
}




.title-theme {
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.theme-choice{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
}

.theme-choice img{
    max-width: 100%;
    margin-top: 20px;
}


.theme-choice div{
    max-width: 30%;
}

#theme_save{
  display: block;
  margin: auto;
}


form[name="general"] .form-group,
form[name="header"] .form-group,
form[name="footer"] .form-group,
form[name="catalogue"] .form-group,
form[name="category_parameter"] .form-group,
form[name="brand"] .form-group,
form[name="product"] .form-group{
  display: block!important;
}

form[name="general"] .form-check-round,
form[name="header"] .form-check-round,
form[name="footer"] .form-check-round,
form[name="catalogue"] .form-check-round,
form[name="category_parameter"] .form-check-round,
form[name="brand"] .form-check-round,
form[name="product"] .form-check-round   {
    display: block;
    margin: auto;
}

form[name="general"] .form-check-label,
form[name="header"] .form-check-label,
form[name="footer"] .form-check-label,  
form[name="catalogue"] .form-check-label,
form[name="category_parameter"] .form-check-label,
form[name="brand"] .form-check-label,
form[name="product"] .form-check-label {
    display: block!important;
}

.type-submit label{
    display: none!important;
}

#brand_selected_brands{
    margin-top: 10px;
}



.material-choice-tree-container ul.choice-tree .collapsed>ul, .sidebar-closed .category-title>.title{
    display: block!important;
}


.img-form{
    padding: 5px 5px;
    border: 2px solid #ddd;
    margin-top: 20px;
    max-width: 200px;
    max-height: 300px;
    display: none;
}

#menu_media .form-control-label:empty {
  display: none;
} 

#store .form-control-label:empty {
  display: none;
} 



.action-link {
  position: relative;
  margin-left: 10px;
}

.action-link::after {
  content: '';
  position: absolute;
  top: -25px;
  right: 0;
  background-color: #333;
  color: #fff;
  padding: 4px 8px;
  font-size: 11px;
  white-space: nowrap;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  z-index: 10;
}

.action-link.settings::after {
  content: "Modifier les paramètres";
}

.action-link.add::after {
  content: "Ajouter un élement";
}

.action-link.add-category::after{
    content: "Ajouter une sous-categorie";
}

.action-link.add-media::after{
    content: "Ajouter un media";
}

.action-link.add-parent::after{
    content: "Ajouter une categorie parente";
}

.action-link:hover::after {
  opacity: 1;
}