body, div, h1, h1, h3, h4, span, li, a, span.menu, .ui.icon, .ui.dropdown, .ui.header{
    font-family:'Prompt', sans-serif;
}


/* ***************************************************************************for householdpage ****************************************************************************/
.responsive-img {
    border-radius: 8px;
    width: 100%;
    height: auto;
  }
.icon_color_navbar{
    color: white;
}
.border-radius-household{
    border-radius: 10px;
}
.padding-left-household-txt{
    padding-left: 2vh;
}



.grid_d {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; 
  }
  
  .grid-item_d {
    flex: 1;
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
  }
  

/**************************************************************************** for consumer page ****************************************************************************/
.header-consumer{
    display: flex;
    text-align: center;
    text-justify: center;
    padding-left: 2vw; 
    padding-right: 2vw;  
    font-size: 4.5vw;
    font-weight: bold;
    text-decoration: underline;
}

.text-consumer{
    width: 100%; 
    height: 100%; 
    padding-left: 5vw !important; 
    padding-right: 5vw; 
    box-sizing: border-box; 
    font-size: 4vw !important;
}

.title-consumer{
    padding-left: 2vh; 
    font-weight: bold !important; 
    font-size: 4vw !important;
}

.input-clear-button-consumer{
    position: absolute; 
    padding-right: 1vw; 
    transform: translateY(+50%);
}

.item-row-consumer{
    display: flex; 
    align-items: center;  
    padding: 1vw 0;
}

.item-consumer{
    display: flex; 
    align-items: center;
}

.item-flex-grow-consumer{
    display: flex; 
    align-items: center; 
    flex-grow: 1;
}

.item-input-wrap-consumer{
    width: 100%; 
    height: 5vh; 
    justify-content: space-between; 
    box-sizing: border-box;
}



/*  SORAVIS */
.sp-required{
    color:red;
    font-weight:bold;
}
.inp-radius{
    border-radius: 2em;
}
.c-icon{
    display: block;
    height: 1.5em;
}
.bg-page-content{
    background-image: url(../img/menu/grass.jpg);
    background-position:left bottom;
    background-repeat:no-repeat;
    background-attachment: fixed;
}

.login-bg-page-content {
    position: relative;
    z-index: 0;
}

.login-bg-page-content::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    
    background-image: url(../img/background/water-flowerstofox.jpg);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;

    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0) 90%);
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0) 90%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

/* .new-bg-page-content::after {
    content: ''; /* สร้างเลเยอร์ซ้อน */
    /* position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%); /* โปร่งใส */
    /* opacity: 1;  */
    /* pointer-events: none;  */
/* }  */

:root {
    --f7-label-font-size: 16px;
    --f7-input-item-border-radius: 10px;
}


/*

AGRI PAGE

*/
.card-backdrop, .card-backdrop-in{
    display:none;
}
#static-place-map{
    /*height: calc(100% - (var(--f7-card-expandable-tablet-height) + (10px) ) )*/
    /* height: 280px; */
    width: 100%;
  height: 100%;
  position: relative;
}
#static-water-res-map{
    height: calc(100% - (var(--f7-card-expandable-tablet-height) + (10px) ) )
}















