/* v3.1 Charging Tide compatible ----------------------*/
/* font face for resposive ----------------------*/
@font-face {
  font-family: "Noto Sans JP";
  font-weight: 100 900; /* Supports font weights from 100 to 900 */
  src: url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
  font-display: swap;
}


@font-face {
  font-family: "Open Sans";
  font-weight: normal;
  /* line-height: 50% !important; */
  src: url('https://fonts.gstatic.com/s/opensans/v18/mem8YaGs126MiZpBA-U1UpcaXcl0Aw.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  font-weight: 800;
  src: url('https://fonts.gstatic.com/s/opensans/v18/mem8YaGs126MiZpBA-U6rgpcaXcl0Aw.ttf') format('truetype');
  font-display: swap;
}

/* デフォルトのフォント設定 */
body {
  font-family: "Open Sans", "Noto Sans JP", sans-serif !important;
  font-weight: 600 !important;  /* 英数字に適用されるフォントの太さ */
  letter-spacing: 0.7px !important;
  font-size: 14px !important;   /* PC向けのデフォルトフォントサイズ */
}

/* モバイル向けのフォントサイズ設定 */
@media (max-width: 768px) {
  body {
    font-size: 16px !important;  /* モバイルでは少し大きめに設定 */
  }
}


/* ALL DISPLAY: NONE before language select */
.jp, .en {
  display: none;
}

.herocardicon img {
  height: 70px;
}
#graydisplay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%!important;
  height: 100%;
  background: rgba(0,0,0,0.45);
  /* z-index: 999; */
}
#graydisplay img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 300px;
  max-height: 80%;
  height: auto;
  /* z-index: 999; */
}

/* faceicon Header ----------------------*/
.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-flow: nowrap;
    flex-wrap: nowrap;
    align-content: stretch;
    background-color: {{current_post.cf_dr_bg_color}};
    border-radius: 4px;
    height: 100%;
    padding: 12px 12px 2px 12px;
    margin-bottom: 9px;
    line-height: 1em;
    gap: 5px;
}

.scale-fire{
  background-color: #942121 !important;
  opacity: 1;
  background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, #942121 16px ), repeating-linear-gradient( #ba2a2a55, #ba2a2a ) !important;
}
.scale-ice{
  background-color: #296399 !important;
  opacity: 1;
  background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, #296399 16px ), repeating-linear-gradient( #347cc055, #347cc0 ) !important;
}
.scale-nature{
  background-color: #307e26 !important;
  opacity: 1;
  background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, #307e26 16px ), repeating-linear-gradient( #3d9e3055, #3d9e30 ) !important;
}
.scale-holy{
  background-color: #947b14 !important;
  opacity: 1;
  background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, #947b14 16px ), repeating-linear-gradient( #b99a1a55, #b99a1a ) !important;
}
.scale-dark{
  background-color: #682c76 !important;
  opacity: 1;
  background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, #682c76 16px ), repeating-linear-gradient( #83379455, #833794 ) !important;
}



/* 
fire #ba2a2a
ics #347cc0
nature #3d9e30
Heoly #b99a1a
dark: #833794
} */


.statsnumber {
  text-align: center;
  size: 1.4em;
  font-weight: bold;
}
.busticon{
  /* max-height: 80px; */
  width: 80px;
  filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.65));
  padding-bottom: 8px;
}
.faceicon{
  max-height: 80px;
}
.headertext{
  text-align: right;

  color: white;
}
.titletextja{
  font-weight: bold;
  font-size: 18px;
}
.titletexten{
  font-size: 12px;
}
.dbtext{
  text-align: right;
  font-size: 12px;
  color: white;
}
.starshape{
  color: #DFC15E;
  font-size: 14px;
  font-weight: 700;
}
.elementalicon{
  max-height: 12px;
  width: auto;
  vertical-align: middle;
}
.basePowerBB{
  color: grey;
}
/* ↑faceicon Header --------------------*/

/* Base Stats --------------------------*/
.flex-basestats{
    display: flex;
    background: #232425;
    border: 0px;
    border-radius: 12px;
    padding: 2px;
    flex-grow: 1;
    justify-content: space-between;
}
.flex-basestats > div{
  width: 36px;
  text-align: center; 
  background: {{current_post.cf_card_color}};
  margin: 2px 2px 0 2px;
  border-radius: 4px;
  padding: 1px 1px 1px 1px;
}
.flex-basestatsnumber{
    display: flex;
    background: #232425;
    border-bottom: 1px dashed #5A5A5A;
    padding: 2px 2px 2px 2px;
    flex-grow:1;
    justify-content: space-between;
  align-items: flex-end;
}

/* Dragon Stats --------------------------*/
.grid-spiritstats-dragon {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(4, 1fr); /* 4列の均等分割 */
  gap: 2px; /* 要素間に適度な余白を追加 */
  justify-content: center; /* 全体を中央揃え */
  align-items: center; /* 縦方向の中央揃え */
  padding: 2px; /* コンテナ内の余白を調整 */
  margin: 0 auto; /* コンテナを中央寄せ */
}
.spiritsnumber {
  text-align: center;
  font-size: 1.3em; /* フォントサイズを少し大きく */
  font-weight: bold; /* 強調表示 */
  color: #ffffff; /* テキストの色を白に設定 */
  margin: 0 auto; /* 上下のマージンを追加 */
}
.statsitem{
  text-align: center;
  border: 0px;
}
/* Spirit Stats --------------------------*/
.grid-spiritstats {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4列を均等に配置 */
  gap: 0; /* アイテム間のスペースを追加 */
  justify-content: center; /* 中央揃え */
  align-items: center; /* 縦方向の中央揃え */
  padding: 0; /* 内側の余白を調整 */
  margin: 0 auto; /* コンテナ全体を中央揃え */
}


.dragon-element-icon{
  display: inline;
  vertical-align: middle;
  max-height: 28px;
}

.ths{
  siize: 19px;
}

#fawhite{
  color: white;
  background: {{current_post.cf_dr_bg_color}};
  border-radius: 4px;
  padding: 4px;
}

#fawhite-mini{
  color: white;
  width: 24px;
  font-size: 14px;
  border-radius: 4px;
  padding: 4px;
}

.spiritsilvericon{
  margin-left: 35px;
  max-height: 24px;
}
.spiritsminiicon img{
  margin-left: 35px;
  max-height: 24px;
}

#statsnumber{
  color: white;
  text-align: right;
  font-weight: bold;
  font-size: 14px;
}
.statsnumber{
  color: white;
  text-align: right
  font-weight: bold;
  font-size: 14px;
  width: 100px;
}

.spiritdigits{
  color: white;
  font-weight: 800;
  font-size: 1.4em;
}
#statspower{
  color: grey;
  text-align: right;
  font-weight: bold;
  margin-right:auto;
  font-size: 1em;
}
.cosboxiconwidth{
  width: 30px;
  text-align:center;
}

.linktoNocos{
  padding-left: 2px;
  font-size: 13px;
  text-align: left;

}

/* ↑Base Stats ---------------------------*/

/* Dragon-Only Stats*/
.flex-skill-dragon{
  display: flex;
    background: #232425;
    border-bottom: 1px dashed #5A5A5A;
    padding: 5px 0 5px 4px;
    flex-wrap: wrap;
    justify-content: start;
}
.skillicon-dragon{
  width: 100%;
  text-align: center;
  margin: 2px 4px 1px 0px;
  border-radius: 4px;
  padding: 1px 1px 1px 1px;
  font-size: 13px;
  color: white;
}
/* Base List --------------------*/
.flex-baseinfo{
  display: flex;
    background: #232425;
    border-bottom: 1px dashed #5A5A5A;
    padding: 5px 0 5px 4px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: start;
}
.flex-baseinfo > div{
  color: white;
}
.infoicon{
  width: 32px;
  height: 30px;
  text-align: center; 
  background: {{current_post.cf_dr_bg_color}};
  margin: 2px 2px 1px 0px;
  border-radius: 4px;
  padding: 1px 1px 1px 1px;
  font-size: 9px;

  .fa-hourglass-half {
    font-size: 18px; /* 必要に応じてサイズを調整 */
}
.fa-location-dot{
  font-size: 18px; /* 必要に応じてサイズを調整 */
}
.skilltitletext{
  font-size: 14px;
  font-weight: 900;
}
}
.infoiconblank{
  width: 32px;
  text-align: center; 
  margin: 2px 2px 1px 0px;
  border-radius: 4px;
  padding: 1px 1px 1px 1px;
  font-size: 9px;
}
.info1{
  /* font-size: 13px; */
  flex-grow: 1;
  min-width: 60px;
  white-space: no-wrap;
  overflow: hidden;
  width: auto;
  text-align: center;
  align-self: center;
  margin-top: 4px;
  padding-left: 8px;
  color: white;
}
.passiveicon{
  max-height: 24px;
  width: auto;
}
.passivetitle{
  display: inline;
  vertical-align: bottom;
  font-size: 13px;
}
.info2{
  /* font-size: 13px; */
  flex-grow: 1;
  min-width: 100px;
  white-space: no-wrap;
  overflow: hidden;
  align-self: center;
  margin-top: 2px;
  color: white;
  padding: 0 5% 0 2%;
  width: auto;
}
.infopasive{
  padding: 0 10px 5px 42px;
  font-size: 12px;
}

.icon16{
  height: 18px;
}

/* ↑Base List --------------------*/


/* Special Skills --------------------*/
.flex-skill{
  display: flex;
    background: #232425;
    border-bottom: 1px dashed #5A5A5A;
    padding: 0;
    flex-wrap: wrap;
    justify-content: start;
}
.flex-baseinfo > div{
  color: white;
}
.skillicon{
  width: 100%;
  text-align: center;
  background: {{current_post.cf_dr_bg_color}};
  margin: 2px 4px 1px 0px;
  border-radius: 4px;
  padding: 1px 1px 1px 1px;
  font-size: 13px;
  color: white;
}

.skillname {
  font-size: 14px;
  font-weight: 800 !important;
  width: 100%;
  color: white;
  padding: 5px 9px 4px 1em;
}
.assistskillname {
  /* font-size: 14px; */
  font-weight: bold;
  width: 100%;
  color: white;
  padding: 5px 9px 4px 1em;
}
.flex-elemlink{
display: flex;
    background: #232425;
    border-bottom: 1px dashed #5A5A5A;
    padding: 5px 0 5px 4px;
    flex-wrap: wrap;
    justify-content: start;
    align-items: flex-start;
}
.elinkicon{
  height: 12px;
  vertical-align: top;
  align-self: flex-start;
}
.elink1{
  width: 32px;
  text-align: center;
  align-self: center;
  margin-top: 4px;
  padding-left: 8px;
  color: white;
}
.elink2{
  font-size: 13px;
  align-self: center;
  margin-top: 2px;
  color: white;
  padding: 0 0 0 2%;
  width: 80%;
  padding-left:1em;
	text-indent:-1em;
}

/* Elemental Link Icon --------------------*/
#faelemcolor{
  background: transparent;
  color: {{current_post.cf_dr_bg_color}};
}

.iconrotate{
  transform: rotate(45deg);
    font-size: 14px;
  background: transparent;
  border-radius: 4px;
  padding: 4px;
}

.dbfooter{
    background: #232425;
    padding: 5px 0 5px 4px;
}

/* --- JS Tooltip --- */
.help_area {
  position:relative;
}
.help_icon {
  width:20px;
  height:20px;
  line-height:20px;
  vertical-align:middle;
  font-size:16px;
  text-align:center;
  cursor:pointer;
}
/* .tooltiptitle{
  font-size: 13px;
}
.tooltip {
  z-index: 999;
  width: 300px;
  position:absolute;
  background-color:rgba(0,0,0,0.8);
  color:white;
  font-size: 12px;
  font-weight: normal;
  text-align: left;
  border: solid 2px #DFC15E;
  border-radius:0.3em;
  padding:1em;
  margin:0.2em 0.5em;
  display:none;
} */



/* Tippy Tooltop----------*/
.tippy-box[data-theme~='addinfoBlue'] {
  z-index: 9999 !important;
  /* background: rgb(26,55,88);
  background: linear-gradient(90deg, rgba(26,55,88,1) 0%, rgba(46,91,127,1) 50%, rgba(26,55,88,1) 100%); */
  background-color: #444444;
  color: whitesmoke;
  font-size: 13px;
  padding: 10px;
}
.tippy-box[data-theme~='addinfoBlue'] ul {
  margin-left: 0; /* 調整したい値に変更 */
  padding-left: 20px; /* インデントを追加したい場合に設定 */
}

.dragondb-footer-text{
  color:#a2a3a4
}

ul.skillindent {
  list-style-type: none !important; /* Force bullet points */
  padding-left: 1.5em !important;   /* Adjust padding for bullets */
}

ul.skillindent li {
  text-indent: -1em !important;        /* Align text with the bullet */
  padding-left: 0 !important;       /* No extra padding needed */
  line-height: 1.6 !important;      /* Adjust line height */
  margin-bottom: 0.5em !important;  /* Space between list items */
}

.tippy-box {
  text-indent: 0 !important; /* Reset any text-indent */
  padding: 10px; /* Add some padding for better spacing inside the popup */
}

/* Adjust the background color of the popup to make it stand out */
.tippy-box[data-theme~="light"] {
  background-color: rgba(88, 88, 88, 0.9); /* Slightly lighter background color */
  color: #fff; /* Ensure text is readable */
  border-radius: 5px; /* Optional: Adding some border-radius for a smoother look */
}

.container {
  overflow: visible !important;
}

.flex-forumurl{
  padding-top: 10px;
  display: flex;
  background: #232425;
  align-items: center;
  padding: 5px 5 5px 5px;
  flex-wrap: nowrap;
  justify-content: start;
  align-items: flex-start;
}
