/* PORTAL_JAEJAL_INLINE_03 */

.portal-map-live-result{
  position:relative;
}

.portal-map-live-result
.result-inline-tools{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  gap:18px!important;
  width:100%!important;
  overflow:visible!important;
}

.portal-jaejal-card{
  position:relative;
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 1 auto;
  min-width:0;
  max-width:520px;
  margin:0 0 0 auto;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.portal-jaejal-head{
  display:flex;
  flex:0 0 auto;
  align-items:center;
  gap:6px;
  margin:0;
  padding:0;
}

.portal-jaejal-head b{
  color:#ed1c24;
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
}

.portal-jaejal-head b::after{
  content:" |";
  margin-left:6px;
  color:#d9cbc5;
  font-weight:400;
}

.portal-jaejal-head span{
  display:none;
}

.portal-jaejal-question{
  display:block;
  width:auto;
  max-width:400px;
  min-width:0;
  margin:0;
  padding:3px 0;
  overflow:hidden;
  border:0;
  background:transparent;
  color:#333;
  font-family:inherit;
  font-size:13px;
  font-weight:500;
  line-height:1.4;
  text-align:left;
  text-overflow:ellipsis;
  white-space:nowrap;
  cursor:pointer;
}

.portal-jaejal-question:hover{
  color:#c91720;
  text-decoration:underline;
  text-underline-offset:3px;
}

.portal-jaejal-question::after{
  content:" ＋";
  color:#ed1c24;
  font-size:12px;
}

.portal-jaejal-question[
  aria-expanded="true"
]::after{
  content:" −";
}

.portal-jaejal-content{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  z-index:300;
  width:min(420px,calc(100vw - 32px));
  padding:15px 17px;
  border:1px solid #eadfda;
  border-radius:13px;
  background:#fffaf8;
  box-shadow:0 12px 35px rgba(0,0,0,.14);
}

.portal-jaejal-content[hidden]{
  display:none!important;
}

.portal-jaejal-content::before{
  content:"";
  position:absolute;
  right:24px;
  top:-7px;
  width:12px;
  height:12px;
  border-top:1px solid #eadfda;
  border-left:1px solid #eadfda;
  background:#fffaf8;
  transform:rotate(45deg);
}

.portal-jaejal-content p{
  margin:0 0 9px!important;
  color:#555!important;
  font-size:13px!important;
  line-height:1.65!important;
  white-space:normal!important;
}

.portal-jaejal-content p:last-child{
  margin-bottom:0!important;
}

.portal-jaejal-followup{
  color:#222!important;
  font-weight:700!important;
}

@media(max-width:900px){
  .portal-map-live-result
  .result-inline-tools{
    gap:12px!important;
    flex-wrap:wrap!important;
  }

  .portal-jaejal-card{
    max-width:100%;
  }

  .portal-jaejal-question{
    max-width:44vw;
  }
}

@media(max-width:560px){
  .portal-map-live-result
  .result-inline-tools{
    gap:10px 14px!important;
  }

  .portal-jaejal-card{
    flex:1 1 100%;
    width:100%;
    margin:3px 0 0;
  }

  .portal-jaejal-question{
    flex:1 1 auto;
    max-width:calc(100vw - 125px);
    min-height:32px;
    line-height:32px;
  }

  .portal-jaejal-content{
    left:0;
    right:auto;
    top:calc(100% + 8px);
  }

  .portal-jaejal-content::before{
    left:24px;
    right:auto;
  }
}
