/*COLOR SCHEME*/
:root{
    --primary: #F38220;
    --seconday: ;
    --text: #13181b;
    --accent: #555555;
    --light: #F9F9F9;
}

#frmRegister .card .card-title {
    font-weight: bold;
}

#frmRegister .btn {
    text-transform: unset;
}

.ajax-loading {
    position: fixed;
    width: 100%;
    height: 100% !important;
    top: 0;
    z-index: 999;
    float: right;
    background-color: #00000047;

    display: flex;
    justify-content: center;
    align-items: center;
}

.ajax-loading img {
    width: 120px;
    float: right;
    right: 10px;
}

.message-error {
    display: none;
}

.row-radio-box-custom {
    display: flex;
    justify-self: start;
}

.radio-box-custom {
    width: 300px;
    min-width: 150px;
    max-width: 500px;
    padding: 10px;
    border: 1px solid rgb(212, 212, 212);
    border-radius: 0.5rem;
}

.radio-box-custom.ischecked {
    border: 1px solid #F38220;
    background-color: #fff4f0;
}

.hidden {
    display: none;
}

@media only screen and (max-width: 600px) {
    .row-radio-box-custom {
        display: block;
    }
    .radio-box-custom {
        margin-top: 5px;
        margin-bottom: 5px;
        width: 100%;
    }
}

/* THEME */
.navbar{
    padding: 0 5rem;
}
.card{
    border-radius: 12px;
    box-shadow: 0 1px 20px rgb(0 0 0 / 2%), 0 1px 10px rgb(0 0 0 / 2%);
    margin-bottom: 1.5rem;
}
.card .card-header{
    padding: 1rem 2rem;
}
.card .card-body{
    padding: 2rem;
}

@media only screen and (max-width: 600px){
    .navbar{
        padding: 0 1.5rem;
    }
    .card .card-body{
        padding: 1.1rem;
    }
}

/* MENU */

.customer-information .row label{
    font-size: 15px;
    font-weight: 500;
    margin-top: 2px;
    margin-left: 6px;
}

.menu-item-content,
.template-size-content,
.general-box-content {
    background-color: rgb(253 253 253);
    border: 1px solid lightgrey;
    border-radius: 0.5rem;
    padding: 14px 12px;
}

.box-select-category {
    background-color: rgb(253 253 253);
    border: 2px dashed lightgrey;
    border-radius: 0.5rem;
    padding: 5px 8px;
}

.menu-item-body {
    width: 100%;
    display: grid;
    grid-template-areas: 'item item';
    gap: 20px;
    grid-auto-rows: 1fr;
    transition: 350ms;
}

.menu-item-body .menu-item {
    grid-area: 'item';
    border: 1px solid lightgrey;
    border-radius: 0.5rem;
    padding: 8px;
    position: relative;
}

.menu-item-body .menu-item.item-selected {
    outline: 2px solid #F08E3B;
    border: 1px solid #FFF;
}

.menu-item-body .menu-item .item-checkbox {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 11;
}

.menu-item-body .menu-item .item-left {
    float: left;
    width: 35%;
    height: 100%;
    border-radius: 8px;
    background-color: #F3F3F3 ;
}

.menu-item-body .menu-item .item-left img {
    width: 100%;
    height: 100% !important;
    object-fit: contain;
}

.menu-item-body .menu-item .item-left .image-file {
    width: 100% !important;
    height: 100% !important;
}

.menu-item-body .menu-item .item-right {
    float: left;
    width: 65%;
}

/*ACCORDION*/
.accordion-list{
    color: var(--text);
    transition: 200ms;
}
.accordion-list:hover, 
.accordion-list:hover button{
    color: var(--primary);
}
a[aria-expanded=false]{
    transform:rotateX(0deg);    
    transition: 300ms;
}
a[aria-expanded=true] button{
    transform:rotate(90deg);
    transition: 300ms;
}

.btn-toggle-arrow{
    padding: 0;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
    outline-offset: 0;
}
.btn-toggle-arrow:hover{
    background-color: #F5F5F5;
    box-shadow: none !important;
}

.item-right ul,
.addon-item ul {
    padding: 0 0 0 20px;
    margin: 0;
    list-style-type: none;
}

.addon-item ul {
    padding: 0;
}

.item-right ul li,
.addon-item ul li {
    padding-top: 6px;
    font-size: 0.9rem;
}

.item-right ul li.item-size,
.addon-item ul li.item-size,
.addon-item ul li.addon-item-name {
    padding: 1px 5px !important;
}

.item-size .form-group,
.addon-item-name .form-group {
    margin-bottom: 4px;
}

.addon-menu-item {
    position: relative;
}

.addon-menu-item>ul {
    margin-bottom: 0;
}

.addon-menu-item>ul>li {
    margin-bottom: 2px;
}

.addon-item-remove {
    position: absolute;
    top: -10px;
    right: -10px;
    color: #F38220;
    cursor: pointer;
    background: #f0f0f0;
    border-radius: 50%;
    padding: 8px;
    z-index: 11;
}

.addon-menu-item-add {
    border: 2px dashed #F38220 !important;
    height: 99.5%;
    color: #F38220;
    position: relative;
    background-color: #F3822005;
}

.add-addon-item {
    cursor: pointer;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.add-addon-item i{
    font-size: 20px;
}

.add-addon-item div{
    font-size: 0.95rem;
}

#btnAddCategory {
    text-transform: unset;
}

@media only screen and (max-width: 600px){
    .item-right ul,
    .addon-item ul {
        padding: 20px 5px 10px 5px;
        margin: 0;
        list-style-type: none;
    }
    .menu-item-body .menu-item .item-checkbox{
        top: 16px;
        right: 8px;
    }
    .addon-menu-item-add{
        width: 100%;
        height: 180px !important;
    }
    .addon-menu-item-add .add-addon-item{
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 60%;
    }
}


/* /MENU */

input.item-form-control,
textarea.item-form-control {
    width: 100%;
    border: 1px solid lightgrey !important;
    padding: 0.6rem 0.8rem;
    border-radius: 0.45rem;
}

input.item-form-control:focus,
textarea.item-form-control:focus {
    outline: none !important;
    border-color: #F38220 !important;
}


/* TEMPLATE SIZE */

.template-size-check-box {
    width: 100%;
    margin: auto;
    padding: 0.8rem;
    padding-bottom: 1rem;
    border: 1px solid rgb(224, 224, 224);
    padding: 0.8rem;
    border-radius: 0.45rem;
}
.template-size-check-box a{
    color: rgb(65, 65, 65);
    font-weight: 600;
}
.template-size-check-box .form-check{
    padding-left: 2.2rem;
    padding-top: 0.2rem;
}

.template-size-check-box.tab-active {
    border-color: #F08E3B;
    outline: 1px solid #F08E3B;
}

.template-size-check-box input.item-form-control {
    margin-top: -6px;
    margin-bottom: -2px;
    padding: 0.4rem 0.3rem;
}


/* /TEMPLATE SIZE */

@media only screen and (max-width: 780px) {
    .menu-item-body {
        grid-template-areas: 'item';
        grid-auto-rows: 0fr;
    }
    .template-size-check-box input.item-form-control {
        margin-top: 5px;
        margin-bottom: unset;
    }
}

@media only screen and (max-width: 600px) {
    .menu-item-body {
        grid-template-areas: 'item';
        
    }
    .menu-item-body .menu-item .item-left,
    .menu-item-body .menu-item .item-right {
        width: 100%;
        height: auto;
    }
}

.multiselect.btn-light {
    border-width: unset;
    border-top-color: unset;
    border: 1px solid lightgrey;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.multiselect.btn-light:hover {
    border: 1px solid #F38220;
}

.box-select-category .dropdown-item.active {
    background-color: #F38220;
}

.btn-group.show .multiselect.btn-light,
.multiselect.btn-light:focus,
.multiselect.btn-light:not([disabled]):not(.disabled):active {
    border-bottom-color: #F38220;
    box-shadow: 0 1px 0 #F38220;
}

.group-btn-submit {
    display: flex;
    justify-content: flex-end;
}

.order-1 {
    order: 1 !important;
}

.order-2 {
    order: 2 !important;
}

.order-3 {
    order: 3 !important;
}

.media-item-list a {
    color: black;
}


/* SINGLE TEMPLATE */

.box-single-template {
    background-color: #F5F5F5;
    border-radius: 10px;
    padding: 1rem;
}

.single-template {
    width: 100%;
    position: relative;
    border: 1px solid rgb(235, 235, 235);
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.single-template-checkbox {
    position: absolute;
    top: 8px;
    right: 14px;
    z-index: 11;
}

.single-template-selected {
    border-color: #F08E3B;
    outline: 2px solid #F08E3B;
}

.single-template-selected .single-image img {
    opacity: 1.5;
}

.single-template-title {
    font-size: 18px;
    font-weight: bold;
    color: #F08E3B;
}

.single-template-layout-type-title {
    font-size: 14px;
    font-weight: bold;
}

.trim-line {
    width: 100%;
    border-bottom: 2px dashed lightgrey;
}

.single-template-tab-show {
    display: flex;
    justify-content: space-between;
}

.btn-show-more {
    display: block;
}

.btn-show-less {
    display: none;
}


/* END SINGLE TEMPLATE */

#ownUploadLogoImage {
    display: none;
    float: right;
    width: 160px;
    height: 150px;
    border-radius: 5px;
    object-fit: cover;
}

#ownLogoFileName {
    cursor: pointer;
}

#boxOwnLogoNoImage {
    display: block;
    float: right;
    width: 160px;
    line-height: 150px;
    height: 150px;
    border-radius: 5px;
    background: #f0f0f0;
    text-align: center;
}

.box-vertical-middle {
    line-height: 2.5;
    display: inline-block;
    vertical-align: middle;
    color: gray;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.single-template-panel-portrait,
.single-template-panel-landscape {
    display: none;
}

@media only screen and (max-width: 600px) {
    #boxOwnLogoNoImage{
        display: block;
        float: left;
    }
}