

.div-children-nested-with-mb > div {display:flex; align-items: center; gap: 15px;}
.div-children-nested-with-mb > div label{font-weight: 700; font-size: 0.92857143em;}
.div-children-nested-with-mb > div select{width: 100%;}
.div-children-nested-with-mb > div ul{display: none;}

.form-bg-wrapper__inner ul{display: flex; width: 100%; padding: 0; border: 1px solid rgba(34, 36, 38, 0.15);}
.form-bg-wrapper__inner ul li{
    width: 100%;
    list-style: none;
    font-size: 16px;
    font-weight: 600;
    padding-left: 15px;
    padding-top:10px;
    padding-bottom:10px;
    position:relative;
    border-right:1px solid rgba(34, 36, 38, 0.15);
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-bg-wrapper__inner ul li:last-child{
    border-right:none;
}

.timepicker {
    display: flex;
    align-items: center;
    gap: 6px;
}

.help-text{
    margin-top:8px;
}

/*Notification*/
.notification-head{
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding-left:20px;
    padding-right:20px;
}

.notification-head--title,
.notification-head--action{
    font-size:18px;
    color:rgb(26, 187, 156);
}

.notification-head--action:hover{
    cursor: pointer;
}
.notification-head--title{
    font-weight: bold;
}

#notifications{padding-left:0; padding-right:0; height: 100%; max-height: 304px; overflow-y: auto;}
#notifications ul{padding-left:0}
#notifications ul li{
    position:relative;
    padding:8px 20px 8px 40px;
    border-bottom:1px solid rgba(0,0,0,0.25);
    list-style-type:none;
}

#notifications ul li.new{
    background: rgb(26, 187, 156, 0.25);
}

#notifications ul li:before{
    content:'';
    width:9px;
    height: 9px;
    border-radius:50%;
    display: block;
    position:absolute;
    left:20px;
    top:50%;
    transform: translateY(-50%);
    background-color:rgb(242, 113, 28);
}

.notif-nb{
    background: #ff0000;
    color: white;
    border: 2px solid #ff0000;
    line-height: 11px;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    text-align: center;
    font-weight: 400;
    font-size: 8px;
    position: absolute;
    top: 6px;
    left: 25px;

}

#restaurant-form .sylius-validation-error {
    display: none;
}

.select2-container .select2-selection--single {
    height: 38px;
}
.select2-selection--single .select2-selection__rendered {
    line-height: 33px;
}

.sylius_admin_order-filter .select2-container, #select2-criteria_restaurantProduct-container{
    min-width: 350px;
}

.notification--view-all{
    text-align:center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.notification--view-all .btn--view-all{
    display:inline-block;
    font-size: 18px;
    text-decoration:none;
    cursor: pointer;
}

.notification--view-all .btn--view-all:hover{
    text-decoration: none;
}

/*loader*/
.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    border-top: 4px solid black;
    border-right: 4px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}
.loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border-left: 4px solid yellowgreen;
    border-bottom: 4px solid transparent;
    animation: rotation 0.5s linear infinite reverse;
}
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader-hidden{
    display:none;
}

.category-logo{
    max-width: 150px;
    max-height: 150px;
    object-fit:contain;
}


#order-discount .segment .field{
    display: flex;
    gap: 10px;
    margin: 15px 0;
    align-items: center;
}

#order-discount .segment .field input{
    height: 30px;
}

#order-discount div[data-form-collection="list"]{
    min-height:0;
}
/*timeslot custom*/
.timeslot-custom {
    margin-top: 20px;
    margin-bottom: 20px;
}

.timeslot-custom .ui.celled.table tr th,.timeslot-custom .ui.celled.table tr td{ border:none;}

#sylius_admin_user_restaurant_restaurantOperatingTimes_0.active-times-frame:before,
#sylius_admin_user_restaurant_restaurantOperatingTimes_1.active-times-frame:before,
#sylius_admin_user_restaurant_restaurantOperatingTimes_2.active-times-frame:before,
#sylius_admin_user_restaurant_restaurantOperatingTimes_3.active-times-frame:before,
#sylius_admin_user_restaurant_restaurantOperatingTimes_4.active-times-frame:before,
#sylius_admin_user_restaurant_restaurantOperatingTimes_5.active-times-frame:before,
#sylius_admin_user_restaurant_restaurantOperatingTimes_6.active-times-frame:before
{
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    display: block;
    width: 100%;
    height: 100%;
    z-index: 999;
}

#restaurant_account_restaurantOperatingTimes_0.active-times-frame:before,
#restaurant_account_restaurantOperatingTimes_1.active-times-frame:before,
#restaurant_account_restaurantOperatingTimes_2.active-times-frame:before,
#restaurant_account_restaurantOperatingTimes_3.active-times-frame:before,
#restaurant_account_restaurantOperatingTimes_4.active-times-frame:before,
#restaurant_account_restaurantOperatingTimes_5.active-times-frame:before,
#restaurant_account_restaurantOperatingTimes_6.active-times-frame:before
{
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    display: block;
    width: 100%;
    height: 100%;
    z-index: 999;
}

#sylius_admin_user_restaurant_deliverySurges_0.active-times-frame:before,
#sylius_admin_user_restaurant_deliverySurges_1.active-times-frame:before,
#sylius_admin_user_restaurant_deliverySurges_2.active-times-frame:before,
#sylius_admin_user_restaurant_deliverySurges_3.active-times-frame:before,
#sylius_admin_user_restaurant_deliverySurges_4.active-times-frame:before,
#sylius_admin_user_restaurant_deliverySurges_5.active-times-frame:before,
#sylius_admin_user_restaurant_deliverySurges_6.active-times-frame:before
{
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    display: block;
    width: 100%;
    height: 100%;
    z-index: 999;
}

.active-times-frame .times-frame-wrapper {
    padding: 30px;
    background: white;
    width: 100%;
    max-width: 1200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    z-index: 999999;
}

.active-times-frame .operating-time-day,
.active-times-frame .checkbox{
    display:none;
}


.times-frame-wrapper .ui.box.segment > div {display:flex; gap: 25px;}

.times-frame-wrapper .ui.box.segment > div > div {width: 100%}

.time-frames-collection-restonotaccount > div > div {margin:15px 0}

/*orders*/
tr.order-state-new {
    opacity: 1;
}
.sylius-grid-wrapper .sylius-grid-table-wrapper{
    max-height: calc(100vh - 400px);
    overflow-y: auto;
}

/*time slot*/
.time-frames-collection-account > div > div {margin:15px 0}

.link-none {display: none !important;}

.times-frame-wrapper{
    display: none;
}

.times-frame-wrapper.active-frame{
    display: block;
}

.popup-wrapper-close{
    float: right;
}

.popup-wrapper-display{
    margin-left: 40px;
}

.addon-checkbox.hidden{
    z-index: 1 !important;
}

span.error-message{
    color: red
}

form[name="sylius_admin_user"] .ui.buttons,
form[name="sylius_customer"] .ui.buttons,
form[name="sylius_catalog_promotion"] .ui.buttons,
form[name="sylius_promotion"] .ui.buttons,
form[name="sylius_product"] .ui.buttons,
form[name="loyalty_points_config"] .ui.buttons,
form[name="restaurant_account"] .ui.buttons
{
    position: fixed;
    bottom: 168px;
    background: #fff;
    z-index: 9;
    right: 54px;
}

form[name="sylius_admin_order_addons"] .ui.buttons{
    position: fixed;
    bottom: 130px;
    background: #fff;
    z-index: 9;
    right: 54px;
}

.ui.segment.wrapper-manager{
    height: calc(100vh - 300px);
    overflow-y: auto;
}

.input-icon-wrap{
    position: relative;
    margin-bottom: 1em;
}
.input-icon-wrap__show-hide-pass{
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.input-icon-wrap__show-hide-pass:after{
    position: absolute;
    top: 25%;
    left: 28px;
    width: .3rem;
    height: 50%;
    background: #18858a;
    content: "";
    transform: skewX(-10deg);
    opacity: 0;
    transition: all .3s cubic-bezier(.215,.61,.355,1) 0s;
}

.input-icon-wrap__show-hide-pass--show:after {
    opacity: 1;
}

.tookan-icon {
    display: block !important;
    background: transparent url('../tookan_logo.png') no-repeat center;
    width: 25px !important;
    height: 25px !important;
    background-size: cover;
}

.order-history.column{width: calc(50% - 10px); float:left;}
.ui.accordion.order-history .content > .order-history:first-child{margin-right: 10px}
.ui.accordion.order-history .content > .order-history:last-child{margin-left: 10px}

/*restaurant reset pwd*/
form[name="restaurant_password_reset"] .input-icon-wrap.error {
    margin-bottom: 4em;
}

form[name="restaurant_password_reset"] .input-icon-wrap.error .ui.pointing.label.sylius-validation-error{
    position: absolute;
    left:0;
    top:100%;
}

.restaurant-reset-password.ui.modal{
    will-change: inherit;
}

.ui.dimmer .restaurant-reset-password{
    width: 540px!important;
    max-width: 90%!important;
}

.restaurant-reset-password.ui.fullscreen.modal{
    width: 540px!important;
    max-width: 90%!important;
    top:50%;
    transform: translateY(-50%);
    animation-duration:0s;
}


.restaurant-reset-password .restaurant-reset-password--logo{
    width: 120px;
    margin:40px auto;
}

.restaurant-reset-password .restaurant-reset-password--logo img{
    width:120px!important;
    margin-left:auto;
    margin-right:auto;
    height: auto;
}


/*new-order-item-wrapper*/
.new-order-item-wrapper .qty-element{
    width: calc(15% - 10px);
    margin-right: 10px;
    float: left;
}

.new-order-item-wrapper .product-element{
    width: calc(35% - 10px);
    margin-left: 10px;
    float: left;
}

.new-order-item-wrapper .product-element .field > span {
    width: 100%!important;
}

.order-item-addons-wrapper{
    padding-top: 20px;
}

.order-item-addons-wrapper .addons-wrapper .addons-list-content{
    display: flex;
    width: 100%;
    margin-top: 15px;
    gap:30px;
    flex-wrap: wrap;
}

.order-item-addons-wrapper .addons-wrapper.collapsed .addons-list-content{
    display: none;
}

.order-item-addons-wrapper .addons-wrapper .summary-title i.icon:before{
    display: inline-block;
    position: relative;
    bottom: 2.5px;
    transform: none;
}

.order-item-addons-wrapper .addons-wrapper.collapsed .summary-title i.icon:before{
    transform: rotate(-90deg);
}

.order-item-addons-wrapper .addons-wrapper .addons-list-content .addon-item{
    width: 25%;
}

.order-item-addons-wrapper .addon-item .sub-addon-items{
    margin-top:10px;
}

.order-item-addons-wrapper .addon-item .sub-addon-items .sub-addon-item{
    display: flex;
    gap: 30px;
    margin-bottom:8px;
}

/* boutons customer */
body #actions .ui.buttons.buttons--actions {
    display: flex;
    gap: 20px;
}

body #actions .ui.buttons.buttons--actions .ui.labeled.icon.button {
    margin-top: 0;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
}

input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    z-index: 1;
}

/*customer*/
.statistic-active .ui.statistic:not(.tiny) > .value {
    font-size: 2.6rem !important;
}

.new-order-counter{
    margin-top: 15px;
}

.new-order-counter span.ui.label{
    display: inline-block;
    font-size: 1.25rem;
}

.new-order-counter span.ui.label:first-child{
    color: white;
    background: #1abb9c;
}

.new-order-counter span.ui.label:last-child{
    background: #2185D0;
    color: white;
}

/*edit addons*/
form[name="sylius_admin_order_addons"] .select2-container{
    max-width: 100%
}

.fields-config-wrapper{
    display:flex; 
    width: 100%;
    margin-bottom: 45px;
}

.fields-config-wrapper > .field:first-child{
    width: 33.3333%;
}

.fields-config-wrapper > .field:nth-child(2){
    width: 33.3333%;
    display: flex;
    justify-content: center;
}

.fields-config-wrapper .fields-config-multiselect{
    width: 33.3333%;
}

.fields-config-wrapper .fields-config-multiselect .min-max-fields{
    gap:20px;
}

.fields-config-addonsItems div[data-form-collection="item"]{
    display: flex;
    gap: 25px;
    align-items: flex-end;
}

.fields-config-addonsItems div[data-form-collection="item"] > a{
    height: 36px;
    margin-top:0!important;
    margin-bottom:30px!important;
}

.fields-config-addonsItems div[data-form-collection="item"] > div{
    display:flex; 
    width: 100%;
    gap: 25px;
    margin-bottom:15px;
    align-items: flex-end;
}

.fields-config-addonsItems div[data-form-collection="item"] > div > .field{
    width: 100%;
}

.fields-config-addonsItems div[data-form-collection="item"] > div > .field:last-child{
    margin-bottom:1em;
}

