/* muli-regular - latin */
@font-face {
  font-family: 'Muli';
  font-style: normal;
  font-weight: 400;
  src: url('/static/fonts/muli-v7-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Muli'),
       url('/static/fonts/muli-v7-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/static/fonts/muli-v7-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/static/fonts/muli-v7-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('/static/fonts/muli-v7-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/static/fonts/muli-v7-latin-regular.svg#Muli') format('svg'); /* Legacy iOS */
}
body, html{
    margin: 0;
}
img{
    /* border-radius: 15px; */
}
body, textarea{
    /*font-family: 'Raleway', sans-serif;*/
    font-family: 'Muli', sans-serif;
    font-size: 1em;
    background-color: #dce3e2;
}
pre, textarea{
    /*font-family: 'Raleway', sans-serif;*/
    font-family: 'Muli', sans-serif;
    font-size: 1em;
    /* background-color: #dce3e2; */
}
textarea{
    background-color: whitesmoke;
    width: 110%;
    box-sizing: border-box;
}

input[type="submit"] {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    color: #ffffff;
    background-color: #007bff;
    transition: background-color 0.3s ease, transform 0.1s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
input[type="submit"]:hover, 
input[type="submit"]:focus {
    background-color: #0056b3;
    outline: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
input[type="submit"]:active {
    transform: scale(0.98);
}

textarea {
    width: 100%;
    max-width: 500px;
    height: 150px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    resize: vertical;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
textarea::placeholder {
    color: #999;
    opacity: 1;
}
textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

a{
    color: #727272;
	text-decoration: none;
}
a.link1{
    color: #FFFFFF;
    /*background-color: #512DA8;*/
    /*border-bottom: 2px solid #512DA8;*/
    padding: 10px;
}
textarea{
	width: 98%;
	height: 150px;
}
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}
pre {
    white-space: pre-wrap;       /* CSS-3 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    overflow-wrap: break-word;   /* Modern replacement for word-wrap */
    min-width: 0;                /* Ensure pre respects parent width */
}

/* Kelas tambahan untuk konten yang sangat panjang */
pre.long-content {
    overflow-wrap: break-all !important;    /* Break all characters if content is too long */
}

.container{
    display: flex;
    flex-wrap: wrap;
}
.sub-container{
    display: hidden;
    flex-wrap: wrap;
}
.container1{
    /* margin-left: auto; */
    width: 100%;
}
.menu-container{
    width: 100%;
    border:0px solid yellow;
    /* padding-left: 15px; */
    display: flex;
    flex-wrap: wrap;
}
.main-container{
    width: 100%;
    border:0px solid yellow;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
}
.card-container{
    margin: auto;
    margin-top: 0;
    width: 390px;
    border: 0px solid gray;
}
.form-container{
    width: 380px;
    border: 0px solid red;
}
.footer-container{
    margin-top: 15px;
    border:0px solid red;
    padding: 25px;
}
.container2{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    /* border: 1px solid blue; */
}
.header{
    width: 100%;
    background-color: #FFFFFF;
}
.menu, .navpage, .pagenumber, .pageinfo, .pageinfosmall, .taginfo{
    margin-top: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
    color: #727272;
}
.menu{
    /*width: 100%;*/
    width: 90px;
    /* background-color: #009688; hijau awal*/ 
    background-color: #0074e1;
    /*background-color: #673AB7;*/
    /*color: #FFFFFF;*/
    /*border-top: 3px solid #512DA8;*/
    /* margin-top: 0px; */
    margin-right: 5px;
    margin-bottom: 9px;
    /* box-shadow:0px 0px 0px 1px #fff; */
    /* border-bottom-left-radius:5px; */
    /* border-bottom-right-radius:5px; */
    border-radius: 15px;
}
.menus{
    border: 1px solid #0074e1;
    background-color: white;
    margin-top: 20px !important;
    font-weight: bold;
    padding-top: 5px;
    padding-left: 4px;
    padding-bottom: 7px;
    height: 12px;
    width: 20px !important;
    border-radius: 18px !important;
    margin-right: 5px;
    margin-left: 15px;
}
.menu:hover, .menus:hover{
    box-shadow:0px 10px 10px 0px rgb(169, 245, 244);
    font-weight: 900;
}
.main{
    /* width: 100%; */
    /* padding: 0; */
    margin: auto;
    flex-direction: column;
}
.footer{
    /* padding-left: 12px; */
    /* padding-top: 12px; */
    /* padding-bottom: 12px; */
    width: 100%;
    /*background-color: #512DA8;*/
    /*color: #FFFFFF;*/
    color: #727272;
    font-size: 0.8em;
    font-weight: bold;
}
.number{
    text-align: right;
}

/* CARD */
.cards{
    width: 100%;
    /* margin: auto; */
    display: flex;
    flex-wrap: wrap;
    /* flex-direction: row-reverse; */
    border: 0px solid orange;
}
.card {
    border: 0px solid purple;
    display: block;
    /* width: 150px; */
    /* width: 100%; */
    padding:1.5rem;
    box-shadow:0px 0px 0px #e4f8f7;
    background:white;
    margin:0.5rem;
    /* border-bottom-left-radius:15px; */
    /* border-bottom-right-radius:15px; */
   /* user-select:none;*/
    animation:fly-in-from-left .5s 1s ease both;
    transform-origin:top left;
    word-break: normal;
    overflow: auto;
    border-radius: 5px;
    /* position: relative; */
}
.card:hover{
    box-shadow:0px 5px 20px #e4f8f7;
}
.readmore { 
    max-height: 25em;
    /* background-color: red;  */
}
.readmore + [data-readmore-toggle]{
    margin-top:10px;
    margin-bottom:10px;
    color: #000000;
    font-size: .8em;
}

div.card-custom-head{
    display: block;
    margin-bottom: 41px;
    font-size: 1em;
}
div.card-custom-foot{
    display: block;
    font-size: 0.8em;
    font-weight: normal;
    color: gray;
}
.card-custom-foot-item1{
    /* color: red; */
}
div.card-custom-body{
    /* border: 1px solid blue; */
    display: block;
}
div.card-custom-title{
    padding-top: 7px;
    float: left;
    /* border: 1px solid green; */
    width: 75%;
}
div.main-custom-menu{
    z-index: 99;
    /* opacity: 30%; */
    animation:fly-in-from-left .5s 1s ease both;
    transform-origin:top left;
    display: none;
    clear: both;
    position:absolute;
    width: 160px; 
    top: 55px;
    left: 10px;
    /* border-bottom-left-radius: 12px; */
    /* border-bottom-right-radius: 12px; */
    /* border-top-left-radius: 12px; */
    /* border-top-right-radius: 12px; */
    border-radius:5px;
    
    box-shadow: 0 0 38px 42px rgba(24, 211, 236, 0.544);    
    background-color: #fff;  
    
}
div.card-custom-menu{
    z-index: 0;
    /* opacity: 30%; */
    animation:fly-in-from-left .5s 1s ease both;
    transform-origin:top left;
    display: none;
    /* clear: both; */
    position: absolute;
    width: 100px; 
    height: 100px;
    /* right:15px; */
    margin-left: 247px;
    margin-top: 35px;
    /* border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px; */
    border-radius:10px;
    box-shadow: 0 0 15px rgba(101,119,134,0.2), 0 0 3px 1px rgba(101,119,134,0.15);    
    /* background-size: cover; */
    /* background-position: center; */
    /* background: rgb(2,0,36); */
    /* background: radial-gradient(circle, rgba(2,0,36,1) 0%, rgba(255,255,255,1) 29%, rgba(255,255,255,1) 100%); */
    background-color: rgba(255,255,255,1.00);    
    /* top: 15px; */
    /* margin: auto; */
    /* float: right; */
    /* background-color: black; */
    
}
div.main-custom-menu-trigger{
    position: relative;
    color: red;
    width: 90px;
    cursor: pointer;
}
div.card-custom-menu-trigger{
    /* background-color: rgba(29, 155, 240, 0.10); */
    border-radius: 35px;
    cursor: pointer;
    float: right;
    /* border: 1px solid red; */
    width: 35px;
    height: 25px;
    padding-top: 9px;
    text-align: center;
    color: rgb(83, 100, 113);

}
div.card-custom-menu-trigger:hover{
    background-color: rgba(29, 155, 240, 0.10);
}
/* div.card-custom-menu-background{
    top: 0px;
    left: 0px;
    position: absolute;
    z-index: 1;
    opacity: 1;
    height: 100%;
    width: 100%;
} */
div.card-custom-menu-body{
    position: relative;
    /* width:100px; */
    /* height: 100px; */
    z-index: 2;
    /* left: 10px; */
    /* top: 10px; */
    /* right: 0; */
    /* top: 0; */
    /* bottom: 0; */
    /* margin: 12px; */
    /* background-color: yellow; */
    /* border: 1px solid red; */
}
div.card-custom-menu-body-label{
    /* border: 1px solid purple; */
    float: right;
    margin-left: 10px;
    font-size: 0.9rem;
    font-weight: bold;
}
div.card-custom-menu-body-item{
    display: flex;
    flex-direction: row;
    font-size: 1em;
    width: 60%;
    margin: 15px;
    /* border: 1px solid green; */
}
div.card-custom-menu-body-label:hover{
    /* background-color: red; */
    color: rgba(29, 155, 240, 0.80);
}
/* end of CARD */



.sub-link{
    font-size: 0.85em;
    color: green;
}
.sub-link-choosen{
    text-decoration: underline;
}
.navpage{
    width: 30%;
}
.pageinfo{
    width: 70%;
}
.pageinfosmall{
    width: 40%;
}
.taginfo{
    width: 100%;
    font-size: 1.3em;
    font-weight: bold;
    color: #727272;
}
.pagenumber{
    width: 40%;
    font-weight: bold;
}
.captcha{
    display: none;
}
input.submit{
    padding: 15px;
    margin-top: -20px;
    margin-right: 5px;
    position: relative;
    float: right;
}

span.pagenumber{
    padding: 7px;
}
@media screen and (min-width: 380px){
    .container-small-big{
        width: 380px;
        margin-left: auto;
        margin-right: auto;
        border: 0px solid red;
    }
}

@media screen and (min-width: 1200px){
    .container-small-big{
        width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

.container-small{
    /* border: 1px solid red; */
    width: 380px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

#suggest{
    position: absolute;
    /*background-color: red;*/
    /* color: green; */
    margin-left: 5px;
}
table{
    /*border: 1px solid red;*/
    /*float: left;*/
    margin-right: 2px;
}
table.sell{
    /*border: 1px solid red;*/
    color: red;
    width: 49%;
    float: left;
}
table.buy{
    /*border: 1px solid green;*/
    color: green;
    width: 49%;
    float: right;
}
td.amount{
    /*width: 75px;*/
    text-align: right;
}
td.date{
    font-size: .75em;

}
td.mother{
    width: 100%;
    /*border-bottom:  1px dotted silver;*/
}
#table_summary {
    /*background-color: silver;*/
    width: 100%;
    /*margin: 5px;*/
    padding: 7px;
    /*border-bottom: 2px dotted gray;*/
}
#table_new{
    width: 100%;
}
#table_sell > thead > tr > th{
    color: red;
}
#table_buy > thead > tr > th{
    color: green;
}
div.head{
    font-weight: bold;
    padding: 5px;
    font-size: .75em;
    clear: both;
    text-align: center;
    /*background-color: #fff2ae;*/
}

#suggest {
    margin-top: 7px;
    width: 300px;
    position: absolute;
    color: #007bff;
    /* background: red */
}
.suggest{
    padding: 5px;
    cursor: pointer;
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
    color: #007bff;
    background-color: white;
    border-radius: 5px;
}
.suggest:hover{
    border-radius: 5px;
    font-weight: bold;
}
.gallery{
    /* padding-top: 0px !important; */
    /* background-color: green; */
    /* display:flex; */
    /* gap: 4px; */
}

img.card-content{
    width: 95%;
    height:95%;
    /* margin-right: 5px; */
    object-fit: cover;
    border-radius: 10px;    
}

/* PRE STUFF */
pre {
    white-space: pre-wrap;       /* Preserve whitespace, allow wrapping */
    white-space: -moz-pre-wrap;  /* Mozilla */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    overflow-wrap: break-word;   /* Default: break long words */
    min-width: 0;                /* Respect parent width */
    max-width: 100%;             /* Ensure pre doesn't exceed parent */
    box-sizing: border-box;      /* Include padding/border in width */
    /* text-align: justify;         Justify text */
    text-justify: inter-word;    /* Hanya tambahkan spasi antar kata */
}

pre.long-content {
    overflow-wrap: break-all;    /* Break all characters, including URLs */
}

pre a {
    word-break: break-all;       /* Alternative for older browsers */
    overflow-wrap: break-all;    /* Ensure URLs break */
    display: inline;             /* Prevent block behavior */
    white-space: normal;         /* Allow wrapping in links */
}

.card-custom-body, .card, .card-container {
    max-width: 100%;             /* Prevent overflow */
    overflow-x: hidden;          /* Hide horizontal overflow if any */
    box-sizing: border-box;
}