body {
    max-width: 650px;
    margin: 0 auto;
    font-family: 'Microsoft YaHei', 'SimSun', Arial, Helvetica, sans-serif;
}

main {
    max-width: 100%;
    overflow-y: scroll;
    /* height: 95vh; */
    /* margin: 15px 0px; */
    height: 100vh;
    padding-bottom: 70px;
}

h1, h2, h3, h4, h5, p {
    margin: 0;
}

header {
    background: #00923F;
}

header .mid {
    margin: 1px 0px; 
    /* border: 1px solid #eee; */
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.wrapper-content-header {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.content-text h1 {
    color: #fff000;
    font-size: 22px;
    margin-bottom: 0.3em;
}

.content-text p {
    color: #fff;
    font-size: 19px;
}

.wrapper-content-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px;
}

.content-img img {
    width: 100%;
}

.content-text {
    width: 90%;
}

.tlpn-img {
    width: 10%;
}

.fitur-chat {
    width: 90%;
    margin: 1em auto;
    border: 1px solid #f2f2f2;
}

.wrapper-profil-chat {
    width: 90%;
    /* height: 8em; */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0px;
    margin: 0 auto;
    border-bottom: 1px solid #dedee0;
}

.wrapper-profil-chat .img-profil {
    width: 22%;
} 

.wrapper-profil-chat .text-profil {
    width: 70%;
    text-align: center;
    line-height: 3.7em;
}

.wrapper-profil-chat .text-profil h3 {
    font-size: 18px;
    color: blue;
}

.wrapper-profil-chat .text-profil span {
    background-color: red; 
    color: white; 
    border-radius: 5px; 
    padding: 5px;
}
/* .wrapper-profil-chat img {
    width: 60px;
    height: 60px;
} */
  
/* .wrapper-profil-chat p {
    margin-left: 10px;
    font-size: 24px;
    font-family: "poppins", sans-serif;
    font-weight: 600;
} */
  
.chat {
    /* background-image: url("../img/bg.jpg"); */
    width: 90%;
    margin: 0 auto;
    padding: 20px 0px;
    height: 100%;
}
  
.chat .jam {
    color: #333;
    text-align: center;
    font-size: 24px;
}

.wrapper-text-chat {
    display: flex;
}

.wrapper-text-chat .profil {
    width: 11%;
}

.wrapper-text-chat p {
    font-size: 24px;
}
  
.content-text-chat {
    width: 77%;
    margin: 10px 10px 30px 30px;
    border: 1px solid #6fb44d;
    background-color: #a0e75a;
    padding: 15px;
    border-radius: 5px 5px 5px 0px;
    position: relative;
}
  
.content-text-chat span {
    position: absolute;
    border-width: 0.5rem 0.5rem 0.5rem 0;
    border-style: solid;
    border-color: transparent #a0e75a transparent transparent;
    /* bottom: -17px;
    left: -2px; */
    top: 20%;
    left: -8px;
    transform: rotateZ(0deg);
}
  
.content-text-chat a {
    text-decoration: none;
    color: #000;
}
  
.content-text-chat a:hover {
    text-decoration: underline;
}

.hidden {
    visibility: hidden;
}

.tombol-chat {
    position: fixed;
    z-index: 9999;
    bottom: 0;
    border-top: 1px solid #dedee0;
    width: 100%;
    max-width: 41rem;
}

.wrapper-tombol-chat {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0.83em 0% 0.7em;
    background-color: #fff;
}

.form {
    width: 80%;
}

.form input {
    width: 100%;
    border-top: none;
    border-right: none;
    border-left: none;
    height: 2.3em;
    line-height: 2.3em;
}

.form a {
    text-decoration: none;
}

.button a {
    color: #fff;
    text-decoration: none;
}

.button a:hover {
    border-bottom: 1px solid #fff;
}

.wrapper-tombol-chat .icon, .button {
    padding: 8px;
}

::placeholder {
    font-size: 24px;
}


@media screen and (max-width: 576px) {
    .wrapper-text-chat p {
        font-size: 16px;
    }
}

.hide {
    display: none;
    visibility: hidden;
}

.popbox {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1000000;
}

.pop-content {
    /* width: 850px;
    height: 450px; */
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -225px 0 0 -125px;
    z-index: 2;
    box-shadow: 0 3px 20px 0 rgba(0, 0, 0, .5);
}

.popcontent {
    /* width: 100%;
    height: 100%; */
    display: block;
    background: #fff;
    border-radius: 5px;
    overflow: hidden
}

.pop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1;
    background: rgba(0, 0, 0, .7)
}

.popbox-close-button {
    position: absolute;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    top: -14px;
    right: -14px;
    background-color: #fff;
    box-shadow: 0 -1px 1px 0 rgba(0, 0, 0, .2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 34px;
    font-weight: lighter;
    padding: 0
}

.popcontent img {
    width: 100%;
    height: 100%;
    display: block
}

.flowbox {
    position: relative;
    overflow: hidden
}

@media screen and (max-width:840px) {
    .pop-content {
        width: 50%;
        height: auto;
        top: 20%;
        margin: 0 0 0 -25%
    }

    .popcontent img {
        height: auto
    }
}

@media screen and (max-width: 576px) {
    .content-text h1 {
        font-size: 14px;
    }

    .content-text p {
        font-size: 12px;
    }

    .content-kiri-konsultasi p {
        font-size: 12px;
    }

    .content-text-chat, .content-text-chat2 {
        width: 90%;
    }

    .chat {
        height: 45vh;
        padding: 20px 0px;
    }

    ::placeholder {
        font-size: 13px;
    }

    .menu1 span, .menu2 span, .menu3 span, .menu4 span, 
    .menu5 span, .menu6 span, .menu7 span, .menu7 span, .menu8 span {
        font-size: 14px;
    }
}
