* {
    padding: 0;
    margin: 0;
    outline: 0;
    border: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #f9f9f9;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.kanit-thin {
    font-family: "Kanit", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.kanit-extralight {
    font-family: "Kanit", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.kanit-light {
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.kanit-regular {
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.kanit-medium {
    font-family: "Kanit", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.kanit-semibold {
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.kanit-bold {
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.kanit-extrabold {
    font-family: "Kanit", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.kanit-black {
    font-family: "Kanit", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.kanit-thin-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.kanit-extralight-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 200;
    font-style: italic;
}

.kanit-light-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.kanit-regular-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.kanit-medium-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.kanit-semibold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-style: italic;
}

.kanit-bold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.kanit-extrabold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 800;
    font-style: italic;
}

.kanit-black-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 900;
    font-style: italic;
}

ul {
    padding: 0;
}

li {
    list-style: none;
}

a,
a:visited,
a:hover,
a:active,
a:focus {
    text-decoration: none;
}

.tc {
    text-align: center;
}

.flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.space-between {
    justify-content: space-between;
}

.list li {
    border-bottom: 1px solid rgb(212, 212, 212);
    padding: 0 0 0 10px
}

.list li:nth-child(even) {
    background-color: #716d6d19;
}

.list li.passive {
    background-color: #a52a2a1c;
}


a,
button, .btn {
    white-space: nowrap;
    box-shadow: 2px 2px 5px 1px #4f4f4f1a;
    border-radius: 8px;
    padding: 6px 20px;
    background-color: #fbac4b;
    color: #fff;
    cursor: pointer;
    transition: 0.1s;
    font-size: 18px;
    display: inline-block;
    text-align: center;
    margin: 4px
}

a:hover,
button:hover,
.btn:hover {
    background-color: #e67b1e;
}

input,
select {
    width: 490px;
    display: block;
    margin:5px;
    height: 40px;
    box-shadow: 4px 4px 10px 1px #c7c7c750;
    border-radius: 8px;
    padding: 10px 20px
}

#form-login {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 290px;
    text-align: center;
}

#admin-wrapper {
    height: 100vh;
    display: flex;
}

#admin-wrapper .left {
    width: 320px;
    background-color: #fff8e7;
    height: 100%;
    padding: 15px;
    overflow: auto;
    border-right: 1px solid #e5e5e5;
}

#admin-wrapper .right {
    width: calc(100% - 320px);
    height: 100%;
    padding: 15px 5%;
    overflow: auto;
}

.admin-module-title {
    text-align: center;
    padding:5px 15px;
    font-size: 30px;
}

#admin-wrapper .left a {
    display: block;
    text-align: left;
}

#admin-wrapper .left li:last-child a {
    background-color: rgb(255, 28, 28);
}

#admin-wrapper .left li:last-child a:hover {
    background-color: rgb(163, 14, 14);
}

textarea {
    width: 50%;
    height: 200px
}

#form-login input {
    max-width: 290px !important;
}

.admin-navigation {
    display: flex;
    justify-content: center;
}

/* .admin-navigation a {
    text-decoration: underline;
    background-color: transparent !important;
    box-shadow: 0 !important;
    color: #555 !important
}
 */

a[href*='show'] {
    background-color: #ffea49 !important;
    color: #333 !important;
}

a[href*='show']:hover {
    background-color: #ffd902 !important;
}

a[href*='delete'] {
    background-color: #f74d23 !important;
}

a[href*='delete']:hover {
    background-color: #ff0202 !important;
}

a[href*='new'] {
    background-color: #5be479 !important;
    color: #333 !important;
}

a[href*='new']:hover {
    background-color: #108645 !important;
    color: #fff !important
}

/* .cke_toolbox>span:nth-child(-n+6) {
    display: none;
} */

.flex {
    display: flex;
}

.group-cbx {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

.showMoreImagesPopup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    box-shadow: 0 0 10px 2px #00000020;
    background-color: #fff;
    display: none;
}

.showMoreImagesPopup.active {
    display: block;
}

.closeShowMorePopup {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
}



.closeShowMorePopup::before,
.closeShowMorePopup::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    background-color: #444;
    width: 10px;
    height: 1px;
}

.closeShowMorePopup::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.list-sorting-item.passive {
    display: none;
}

#flashdata {
    position: absolute;
    top: 20px;
    right: 10px;
    padding: 10px 20px;
    background-color: #25933d;
    color: #fff;
    transition: 2.5s;
    box-shadow: 0 0 10px 2px #00000050;
    
}

#flashdata.moving {
    right: 20px;
}

#flashdata.passive {
    opacity: 0;
    top: 0;
}

.mainblog {
    background-color: #f6b29a !important;
}

.mostread {
    background-color: #c8f69a !important;
}

.image-place {
    padding: 2px;
    background-color: cornsilk;
}

.block-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0 10px;
    padding: 0 10px;
}

.i-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #cacaca73;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.i-wrapper.green {
    background-color: #64cc64;
    color: #fff
}

.i-wrapper.passive {
    display: none
}

.food-list-item label > div:nth-child(1) {
    width: 50%;
}

.food-list-item label > div:nth-child(2) {
    width: 25%;
}

.food-list-item label > div:nth-child(3) {
   /*  width: 25%; */
}

#alert_msg {
    position: fixed;
    top: 50px;
    right: 50px;
    padding: 10px 20px;
    background-color: red;
    box-shadow: 0 0 35px 1px #00000020;
    color: #fff;
}

@media(max-width: 1599px) {
    #admin-wrapper .right {
        padding: 15px 10px;
    }

    .food-list-item {
        font-size: 13px;
    }

   /*  #filters-list{
        flex-direction: column;
    } */
    #filters-list>div {
        width: 210px !important;
    }
}
