/* CELS FARM */
/* COMPONENT STYLING */
/* V.1.0.0 */




/* colorBlack: #0E0E0E; */
/* colorGreen: #478978; */
/* colorRed: #D90429; */
/* colorWhite: #FAFAFA; */




/* MAIN */
a,
a:hover,
a.active {
    color: #0E0E0E !important;
}

body {
    background-image: url('../images/main/main.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    font-family: 'Glory-Regular';
}

button.main {
    background-color: transparent;
    border: 1px solid #478978;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Glory-Semibold';
    padding: 3.75px 15px;
    transition: .3s all;
}

button.main.xs {
    font-size: .8rem;
    padding: 1.75px 10.5px;
}

button.main.cart {
    font-size: .8rem;
    padding: 3.75px 10.5px;
}

button.main.tab {
    font-size: .9rem;
    padding: 3.75px 10.5px;
}

button.main:hover,
button.main.active {
    background-color: #478978;
    color: #fafafa;
}

.btn-group {
    align-items: center;
    display: flex;
}

.btn-group button.main {
    border-radius: 0;
    font-size: 1.1rem;
    margin: 7.5px 0 0 !important;
    padding: 10.5px;
    width: 50%;
}

.btn-group button.main:first-child {
    background: #D90429;
    border-color: #D90429;
    border-right: 0;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    color: #fff;
}

.btn-group button.main:last-child {
    background: #478978;
    border-color: #478978;
    border-right: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    color: #fff;
}


.main-container {
    padding: 30px 30px 30px 120px;
}

.main-container .name {
    font-family: 'Glory-Semibold';
    font-size: 1.4rem;
}

.main-container .subtitle {
    font-family: 'Glory-Semibold';
    font-size: 1rem;
}

.main-container .title {
    font-family: 'Glory-Semibold';
    font-size: 1rem;
}

.main-container .title.big {
    font-family: 'Glory-Bold';
    font-size: 1.3rem;
    padding-top: 7.5px;
}

.pagination {
    align-items: center;
    display: flex;
    justify-content: flex-start;
}

.pagination .input-pagination {
    border: 1px solid #000;
    border-radius: 5px;
    font-size: .8rem;
    margin: 0 7.5px;
    min-width: 45px;
    outline: none;
    padding: 1.75px;
    text-align: center;
    width: 45px;
}

.sort {
    cursor: pointer !important;
}

.tabs {
    align-items: center;
    border-bottom: 1px solid #b2b2b2;
    display: flex;
    padding-bottom: 7.5px;
}

.tabs .menu {
    cursor: pointer;
    font-family: 'Glory-SemiBold';
    font-size: 1.05rem;
    margin-right: 7.5px;
    padding: 0 22.5px;
    position: relative;
}

.tabs .menu.active,
.tabs .menu:hover {
    font-family: 'Glory-Bold';
}

.tabs .menu.active:before,
.tabs .menu:hover:before {
    background-color: #000;
    bottom: -10px;
    content: '';
    height: 5px;
    left: 0;
    position: absolute;
    width: 100%;
}
/* END MAIN */




/* LOGIN PAGE */
.login-container {
    align-items: center;
    display: flex;
    height: 100vh;
    justify-content: center;
    width: 100%;
}

.login-container input {
    min-width: 300px !important;
}

.login-container .box {
    background-color: rgba(250, 250, 250, .7);
    box-shadow: 0px 0px 2px 0px rgba(71, 137, 120, 0.75);
    border-radius: 5px;
    padding: 15px 15px 0;

    -moz-box-shadow: 0px 0px 2px 0px rgba(71, 137, 120, 0.75);
    -webkit-box-shadow: 0px 0px 2px 0px rgba(71, 137, 120, 0.75);
}

.login-container .box .logo {
    font-family: 'Chakra Petch';
    font-size: 1.8rem;
    padding: 30px 0;
    text-align: center;
}

.login-container .box .copyright {
    font-family: 'Glory-Semibold';
    font-size: .8rem;
    padding: 7.5px 0;
}
/* END LOGIN PAGE */




/* NAVIGATION */
nav {
    border-radius: 5px;
    box-shadow: 0px 0px 2px 0px rgba(71, 137, 120, 0.9);
    height: 100vh;
    left: 0;
    margin: 15px;
    max-height: calc(100vh - 30px);
    position: fixed;
    top: 0;
    padding: 15px;

    -moz-box-shadow: 0px 0px 2px 0px rgba(71, 137, 120, 0.9);
    -webkit-box-shadow: 0px 0px 2px 0px rgba(71, 137, 120, 0.9);
}

nav .item {
    margin-bottom: 7.5px;
    padding: 7.5px 0;
    position: relative;
    text-align: center;
}

nav .item:hover:before,
nav .item.active:before {
    background-color: #478978;
    content: '';
    height: 100%;
    left: -15px;
    position: absolute;
    top: 0;
    width: 7.5px;
}

nav .logo {
    align-items: center;
    background-color: #478978;
    border-radius: 50%;
    color: #fafafa;
    display: flex;
    height: 60px;
    justify-content: center;
    margin-bottom: 15px;
    width: 60px;
}
/* END NAVIGATION */




/* SALE */
.timeline {
    border-left: 1px solid rgba(0, 0, 0, .3);
    margin-left: 15px;
    margin-top: 15px;
    padding-left: 22.5px;
}

.timeline .line {
    color: rgba(0, 0, 0, .6);
    padding: 7.5px 0;
    position: relative;
}

.timeline .line:before {
    background: #b2b2b2;
    border-radius: 50%;
    content: '';
    height: 15px;
    left: -30px;
    position: absolute;
    top: 10.5px;
    width: 15px;
}

.timeline .line:first-child:before {
    background-color: #478978;
}

.timeline .line .description {
    font-family: 'Glory-SemiBold';
}

.timeline .line:first-child {
    color: #0E0E0E;
}
/* END SALE */




/* POS */
.cart-list-product {
    align-items: center;
    background: #fafafa;
    border-radius: 5px;
    box-shadow: 0px 0px 2px 0px rgba(71, 137, 120, 0.9);
    display: flex;
    margin: 1px 1px 7.5px 1px;
    padding: 7.5px;
    position: relative;

    -moz-box-shadow: 0px 0px 2px 0px rgba(71, 137, 120, 0.9);
    -webkit-box-shadow: 0px 0px 2px 0px rgba(71, 137, 120, 0.9);
}

.cart-list-product .close {
    cursor: pointer;
    position: absolute;
    right: 7.5px;
    top: 7.5px;
}

.cart-list-product .quantity {
    align-items: center;
    display: flex;
}

.cart-list-product .qty {
    text-align: center;
    width: 30px;
}

.cart-list-product .rect {
    background-color: #478978;
    border-radius: 5px;
    height: 75px;
    margin-right: 7.5px;
    width: 75px;
}

.pos-cart {
    background-color: #e5e5e5;
    border-radius: 5px;
    height: calc(100vh - 60px);
    max-height: calc(100vh - 60px);
    padding: 15px;
    width: 100%;
}

.pos-cart-list {
    max-height: calc(100vh - 285px);
    min-height: calc(100vh - 285px);
    overflow: auto;
    position: relative;
}

.pos-cart-list-text {
    color: rgba(0, 0, 0, .3);
    font-family: 'Glory-SemiBold';
    font-size: 1.2rem;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.pos-cart-total {
    background-color: #fafafa;
    border-radius: 5px;
    box-shadow: 0px 0px 2px 0px rgba(71, 137, 120, 0.9);
    margin-top: 7.5px;
    max-height: calc(100vh - 825px);
    min-height: calc(100vh - 825px);
    padding: 7.5px;

    -moz-box-shadow: 0px 0px 2px 0px rgba(71, 137, 120, 0.9);
    -webkit-box-shadow: 0px 0px 2px 0px rgba(71, 137, 120, 0.9);
}

.pos-container {
    width: 100%;
}

.pos-nav {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.pos-product {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -7.5px;
    position: relative;
}

.pos-product .product-list {
    align-items: center;
    border-radius: 5px;
    box-shadow: 0px 0px 2px 0px rgba(71, 137, 120, 0.9);
    cursor: pointer;
    display: flex;
    margin: 0 7.5px 7.5px;
    padding: 7.5px;
    flex: 18.85%;
    flex-basis: 18.85%;
    flex-grow: 0;

    -moz-box-shadow: 0px 0px 2px 0px rgba(71, 137, 120, 0.9);
    -webkit-box-shadow: 0px 0px 2px 0px rgba(71, 137, 120, 0.9);
}

.pos-product .product-list .rect {
    background-color: #478978;
    border-radius: 5px;
    height: 60px;
    margin-right: 7.5px;
    width: 60px;
}

.pos-product-container {
    max-height: calc(100vh - 125px);
    overflow: auto;
}

.pos-title {
    font-family: "Glory-Bold";
    font-size: 1.4rem;
}

.pos-total-amount {
    align-items: center;
    display: flex;
    font-size: 1.05rem;
    justify-content: space-between;
    margin-bottom: 7.5px;
}

.user-box {
    align-items: center;
    border-radius: 5px;
    box-shadow: 0px 0px 2px 0px rgba(71, 137, 120, 0.9);
    cursor: pointer;
    display: flex;
    line-height: 1;
    padding: 7.5px;

    -moz-box-shadow: 0px 0px 2px 0px rgba(71, 137, 120, 0.9);
    -webkit-box-shadow: 0px 0px 2px 0px rgba(71, 137, 120, 0.9);
}

.user-placeholder {
    background-color: #478978;
    border-radius: 50%;
    height: 35px;
    margin-right: 15px;
    width: 35px;
}
/* END POS */




/* SETTINGS */
.card-item {
    margin-top: 7.5px;
}

.card-count {
    font-family: 'Glory-SemiBold';
    font-size: 2rem;
    margin-top: 7.5px;
}

.card-title {
    font-family: 'Glory-SemiBold';
    font-size: 1.1rem;
}
/* END SETTINGS */




/* UTILITIES */
.display-flex {
    align-items: center;
    display: flex;
}

.display-none {
    display: none;
}

.font-bold {
    font-family: 'Glory-Bold';
}

.justify-space-between {
    justify-content: space-between;
}

.mr-7-5 {
    margin-right: 7.5px;
}

.mt-7-5 {
    margin-top: 7.5px !important;
}

.mt-15 {
    margin-top: 15px;
}

.mt-30 {
    margin-top: 30px;
}

.p-1-75 {
    padding: 1.75px !important;
}

.position-relative {
    position: relative;
}

.text-center {
    text-align: center;
}

.w-50 {
    width: 50%;
}

.w-100 {
    width: 100%;
}
/* END UTILITIES */




/* OVERRIDE */
.ui.form input:not([type]):focus,
.ui.form input[type="date"]:focus,
.ui.form input[type="datetime-local"]:focus,
.ui.form input[type="email"]:focus,
.ui.form input[type="file"]:focus,
.ui.form input[type="number"]:focus,
.ui.form input[type="password"]:focus,
.ui.form input[type="search"]:focus,
.ui.form input[type="tel"]:focus,
.ui.form input[type="text"]:focus,
.ui.form input[type="time"]:focus,
.ui.form input[type="url"]:focus {
    border-color: #478978 !important;
}

.ui.card > .content > .header:not(.ui),
.ui.cards > .card > .content > .header:not(.ui) {
    font-size: 1.1rem !important;
}
/* END OVERRIDE */