:root {
    --primary: #38A650;
    --primary-over: #219653;
    --primary-border: #1e834a;
    --primary-outline: #3ea554;
    --primary-selected: #D3EADD;
    --primary-checked: rgba(33, 150, 83, 0.5);
    --primary-shadow: 0 0 0 0.2rem rgba(33, 150, 83, 0.5);

    --info: #38A650;
    --info-over: #219653;
    --info-border: #1e834a;
    --info-outline: #3ea554;
    --info-selected: #D3EADD;
    --info-checked: rgba(33, 150, 83, 0.5);
    --info-shadow: 0 0 0 0.2rem rgba(33, 150, 83, 0.5);

    --bs-success: #219653;
    --bs-warning: #F2C94C;
    --bs-danger: #EB5757;
}

.color-primary {
    color: var(--primary);
}

.btn-primary {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    color: #fff;
    background-color: var(--primary-over);
    border-color: var(--primary-over);
}

.btn-primary.focus {
    color: #fff;
    background-color: var(--primary-over);
    border-color: var(--primary-over);
    box-shadow: var(--primary-shadow);
}

.btn-primary:focus {
    color: #fff;
    background-color: var(--primary-over);
    border-color: var(--primary-over);
    box-shadow: var(--primary-shadow);
}

.btn-primary.disabled,
.btn-primary:disabled {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: var(--primary-over);
    border-color: var(--primary-border);
}

.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show>.btn-primary.dropdown-toggle:focus {
    box-shadow: var(--primary-shadow);
}

.btn-info {
    color: var(--info);
    background-color: transparent;
    border-color: var(--info);
}

.btn-info:hover {
    color: var(--info-over);
    background-color: transparent;
    border-color: var(--info-over);
}

.btn-info.focus {
    color: var(--info-over);
    background-color: transparent;
    border-color: var(--info-over);
    box-shadow: var(--info-shadow);
}

.btn-info:focus {
    color: var(--info-over);
    background-color: transparent;
    border-color: var(--info-over);
    box-shadow: var(--info-shadow);
}

.btn-info.disabled,
.btn-info:disabled {
    color: #CCC;
    background-color: transparent;
    border-color: #CCC;
}

.btn-info:not(:disabled):not(.disabled):active,
.btn-info:not(:disabled):not(.disabled).active,
.show>.btn-info.dropdown-toggle {
    color: var(--info-over);
    background-color: transparent;
    border-color: var(--info-border);
}

.btn-info:not(:disabled):not(.disabled):active:focus,
.btn-info:not(:disabled):not(.disabled).active:focus,
.show>.btn-primary.dropdown-toggle:focus {
    color: var(--info-over);
    background-color: transparent;
    box-shadow: var(--info-shadow);
}

/* @import url('https://fonts.googleapis.com/css2?family=Prompt:wght@400;500&display=swap'); */

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    background-color: #F0F0F0;
    font-family: 'Prompt', sans-serif;
}

.eng {
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

.content {
    background-color: #F8F8F8;
}

.container-nav {
    height: 56px;
}

.mobile.container {
    max-width: 768px !important;
}

.layout-1 img {
    max-height: 180px;
    min-height: 96px;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

.layout-2 img {
    width: auto;
    height: 72px;
    object-fit: cover;
    border-radius: 4px;
}

.layout-3 img {
    width: auto;
    height: 64px;
    object-fit: cover;
    border-radius: 4px;
}

.feed-name-box {
    min-height: 64px;
}

.input-search {
    border: 1px solid #A8A8A8;
}

.pointer {
    cursor: pointer;
}

.item-card {
    background: #FFFFFF;
    box-shadow: 0px 4px 8px rgba(117, 176, 156, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
}

.item-card:active,
.item-card:hover {
    background: #edf3ea;
}

.item-card:active.no-mouse,
.item-card:hover.no-mouse {
    background: #FFFFFF;
}

.item-card .ic-down {
    position: absolute;
    right: 16px;
    top: calc(50% - 9px);
}

.item-card[aria-expanded="true"] .ic-down {
    transition: all 0.3s ease;
    transform: rotate(180deg);
}

.item-card[aria-expanded="false"] .ic-down {
    transform: rotate(0deg);
}

.item-list {
    position: relative;
    padding: 8px 16px;
}

.item-list .ic-next {
    position: absolute;
    right: 16px;
    top: calc(50% - 9px);
}

.item-list:active,
.item-list:hover {
    background: #edf3ea;
}

.ic-down {
    transition: all 0.3s ease;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: #599D43;
}

.map-legend {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0px 4px 14px rgba(117, 176, 156, 0.2);
    border-radius: 4px;
    font-size: 12px;
    padding: 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.btn-toggle {
    font-size: 14px;
    background: #FFFFFF;
    border: 1px solid #C4C4C4;
    border-radius: 6px;
    color: #C4C4C4;
}

.btn-toggle.active {
    background: #E3EFEB;
    border: none;
    border-radius: 6px;
    color: #75B09C;
}

.bg-none {
    background-color: none;
    background: none;
}

.border-bottom-double {
    border-bottom: 3px solid #E5E5E5;
}

.dashboard .table-header th {
    font-size: 14px;
    color: #898A8D;
    font-weight: normal !important;
}

.dashboard table {
    width: 100%;
}

.dashboard td {
    font-size: 14px;
}

.dashboard th,
.dashboard td {
    padding: 6px 6px;
}

.dashboard tbody tr {
    border-bottom: 1px solid #f1f1f1;
}

.color-normal {
    color: #599D43 !important;
}

.color-danger {
    color: #CF4841 !important;
}

.color-gray {
    color: #999999 !important;
}


.title-1 {
    font-size: 22px;
    color: #333;
    padding: 0;
    margin: 0;
    font-weight: 500;
}

.title-2 {
    font-size: 20px;
    color: #333;
    padding: 0;
    margin: 0;
    font-weight: 500;
}

.title-3 {
    font-size: 18px;
    color: #333;
    padding: 0;
    margin: 0;
    font-weight: 500;
}

.title-4 {
    font-size: 16px;
    color: #333;
    padding: 0;
    margin: 0;
    font-weight: 500;
}

.title-5 {
    font-size: 14px;
    color: #333;
    padding: 0;
    margin: 0;
    font-weight: 500;
}

.title-6 {
    font-size: 12px;
    color: #333;
    padding: 0;
    margin: 0;
    font-weight: 500;
}

.subtitle-1 {
    font-size: 20px;
    color: #545454;
}

.subtitle-2 {
    font-size: 18px;
    color: #545454;
}

.subtitle-3 {
    font-size: 16px;
    color: #545454;
}

.subtitle-4 {
    font-size: 14px;
    color: #545454;
}

.subtitle-5 {
    font-size: 12px;
    color: #545454;
}

.subtitle-6 {
    font-size: 10px;
    color: #545454;
}

.date-1 {
    font-size: 20px;
    color: #A0A0A0;
}

.date-2 {
    font-size: 18px;
    color: #A0A0A0;
}

.date-3 {
    font-size: 16px;
    color: #A0A0A0;
}

.date-4 {
    font-size: 14px;
    color: #A0A0A0;
}

.date-5 {
    font-size: 12px;
    color: #A0A0A0;
}

.date-6 {
    font-size: 10px;
    color: #A0A0A0;
}

.max-line-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.max-line-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.max-line-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.img-remove-button {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    cursor: pointer;
}

.clickable {
    cursor: pointer;
}

.clickable:hover {
    color: #599D43;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.4);
    left: 10%;
    right: 10%;
}

.desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pre-line {
    white-space: pre-line;
}

.fw-500 {
    font-weight: 500;
}

.fw-700 {
    font-weight: 700;
}

/* Home */
.nav-brand {
    font-weight: 700;
    color: var(--primary);
}

.navbar {
    padding-left: 40px;
    padding-right: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.08);
}

#txtHero {
    margin-top: 56px;
    padding-top: 50px;
    padding-left: 60px;
    /* padding-right: 60px; */
}

#txtHero h1 {
    color: #005513;
}

#txtHero h2 {
    color: var(--primary);
}

.title-gray {
    font-size: 18px;
    color: #A8A8A8;
}

.section-title-1 {
    color: #38A650;
}

.section-title-2 {
    color: #005513;
    font-weight: 600;
}

.section-title-3 {
    color: #545454;
    font-weight: 600;
}

#bgHero {
    background-image: url("../images/landings/hero.jpg");
    height: 580px;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}

#thumbDown {
    position: relative;
    height: 0px;
    text-align: center;
    margin-bottom: 80px;
}

#thumbDown img {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
}

#appTitle {
    text-align: center;
}

#app {
    font-size: 18px;
    text-align: center;
    font-weight: 500;
}

#appImage {
    max-width: 100%;
    max-height: 658px;
}

#how {
    color: #FFF;
    background-color: #78a565;
}

#slide {
    padding-left: 40px;
    padding-right: 40px;
}

#appSlide {
    position: relative;
    width: 100%;
    height: 496px;
    overflow-x: hidden;
}

.btn-slide-prev {
    position: absolute;
    top: 50%;
    left: calc(50% - 146px);
    z-index: 998;
}

.btn-slide-next {
    position: absolute;
    top: 50%;
    right: calc(50% - 146px);
    z-index: 999;
}

#appPan {
    /* snap mandatory on horizontal axis  */
    scroll-snap-type: x mandatory;

    overflow-x: scroll;
    overflow-y: hidden;

    display: flex;
    align-items: center;

    /* Enable Safari touch scrolling physics which is needed for scroll snap */
    -webkit-overflow-scrolling: touch;

    scroll-behavior: smooth;
}

/* Hide scrollbar for Chrome, Safari and Opera */
#appPan::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
#appPan {
    /* IE and Edge */
    -ms-overflow-style: none;
    /* Firefox */
    scrollbar-width: none;
}

#appPan>div {
    margin-top: 18px;
    margin-left: 24px;
    margin-right: 24px;
}

#appPan img {
    width: 210px;
    height: auto;
}

.snap-start {
    scroll-snap-align: start;
}

.snap-center {
    scroll-snap-align: center;
}

.snap-end {
    scroll-snap-align: end;
}

#appFrame {
    position: absolute;
    width: 496px;
    left: calc(50% + 7px);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 997;
}

.ic-20 img {
    width: 20px;
    height: 20px;
}

.how-topic {
    opacity: 0.4;
}

.how-active {
    border: 1px solid #FFF;
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border-radius: 12px;
    opacity: 1;
}

.footer {
    color: #DDD;
    background-color: #78A565;
}

.footer a:hover {
    color: #FFF;
}

.btn-icon {
    cursor: pointer;
}

/* End Home */

.flex-1 {
    flex: 1;
}

.z-index-1 {
    z-index: 1000;
}

.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
}


.input-file-box {
    text-align: center;
    width: 84px;
}

.input-file-display {
    width: 72px;
    height: 72px;
}

.input-file-name {
    font-size: 12px;
    text-align: center;
    word-wrap: break-word;
}

.map-legend-item {
    margin-bottom: 4px;
}

.policy ul {
    list-style-type: none;
    /* list-style-position: outside; */
}

.policy table {
    border-color: #333;
}

.avatar {
    vertical-align: middle;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

@media (max-width: 768px) {

    html {
        background-color: #F8F8F8;
    }

    body {
        background-color: #F8F8F8;
    }

    .no-bg {
        background-color: unset;
    }

    .carousel-caption h4 {
        font-size: 14px;
        font-weight: normal;
    }

    .carousel-caption {
        bottom: 0;
        left: 0;
        right: 0;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .carousel-indicators {
        margin-bottom: 0;
    }

    .navbar {
        padding-left: 0px;
        padding-right: 0px;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .navbar .navbar-toggler {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .navbar>a {
        margin-left: .75rem !important;
    }

    .navbar>button {
        margin-right: .75rem !important;
    }

    .navbar-collapse {
        background-color: #FFF;
    }

    .nav-item {
        padding-left: 20px;
        border-bottom: 1px solid #E5E5E5;
    }

    #txtHero {
        margin-top: 0px;
        padding-top: 24px;
        padding-right: .75rem;
        padding-left: .75rem;
        padding-bottom: 56px;
    }

    #bgHero {
        background-image: url("../images/landings/hero-mobile.jpg");
        height: 256px;
    }

    .footer {
        font-size: 14px;
    }

    .p-mobile {
        padding-right: .75rem !important;
        padding-left: .75rem !important;
    }

    #footerDot {
        display: none;
    }

    #footerNewLine {
        display: inline !important;
    }
}
