/*search form*/
#site_search .border {border:2px solid rgba(0, 0, 0, 0.125) !important; transition: all ease .5s 0s; }
#site_search .dropdown-menu {border:2px solid var(--bs-purple) !important ;  }
#q { border: 0; min-height: 48px  }
#q:focus, #site_search .btn:focus { box-shadow: none !important; outline:none;}
#site_search .btn:not(.btn-sm) {  border:0; height:48px; z-index:9; max-width: 150px; display: -ms-flexbox;display: flex;-ms-flex-pack: justify;justify-content: space-between;-ms-flex-align: center;align-items: center}
#site_search .dropdown-toggle{min-width:160px; text-align:left;  }
@media (max-width: 767px) { #site_search .dropdown-toggle{min-width:100px;} }
#search_gubun { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#search_bbs {max-width: 160px; margin-top:13px !important }
#site_search .dropdown-menu .dropdown-header { letter-spacing: 1px; font-weight: 600; font-size:.75rem; padding-top: 1rem; padding-bottom: 0.25rem;}

.search-result, .autocomplete {  top: 63px;width:100%; transition: all .5s; box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); }

#site_search .dropdown-menu::before, #site_search .dropdown-menu::after { position: absolute;  left: 34px; content: ''; border-top: 0; border-right: 0.3em solid transparent; border-bottom: 0.3em solid; border-left: 0.3em solid transparent; font-size: 2.5rem; }
#site_search .dropdown-menu::before {  top: -14px; color:var(--bs-purple); }
#site_search .dropdown-menu::after { top: -11px;  color: var(--bs-dropdown-bg) }

/*search_ok*/
#search_result { word-wrap: break-word }
.search_wrap h4{ font-size:1.25rem; font-weight:700 }
.search_wrap h4 .badge {font-size:55%}
.search_wrap dl { padding-bottom: .5rem; position:relative }
.search_wrap dt { margin:10px 0 5px; line-height:1.4  }
.search_wrap dt > a:first-child {font-size: 1.15rem;}
.search_wrap dt small { font-weight:300 }
.search_wrap dd { text-align:justify }
.search_wrap dt a, .search_wrap dd a {color:inherit}
.search_wrap dd img.img-thumbnail { min-width:120px !important; object-fit: cover !important; width:180px; height:120px; margin: .25rem 1rem .5rem 0; }
#card-addon.sticky-top { top:7rem; animation: fadeInDown 0.4s ease-in-out;}

/*card-search*/
.search_wrap .card { min-height:335px }

/*order-list and total_word_wrap */
.search_wrap .card-header {font-weight:600; text-align: center;}
.search_wrap .order-list li:first-child a, .search_wrap .order-list li:nth-child(2) a, #total_word_view2 > li:first-child a, #total_word_view2 > li:nth-child(2) a {font-weight: bold }
.search_wrap .order-list > li::before, #total_word_view2 > li::before { background-color: var(--bs-secondary); }
.search_wrap .order-list > li:first-child:before, .search_wrap .order-list > li:nth-child(2):before, #total_word_view2 > li:first-child:before, #total_word_view2 > li:nth-child(2):before{background-color: var(--bs-primary);}

.search_wrap .order-list .badge {border-radius: 3px;width:18px;padding:3px 1px; text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.4);letter-spacing:-1px;}
.search_wrap .order-list small {font-size:.75rem}

.search_wrap .order-list .bi-arrow-up, #total_word_wrap .bi-arrow-up {color:var(--bs-red) }
.search_wrap .order-list .bi-arrow-down, #total_word_wrap .bi-arrow-down {color:var(--bs-blue)}

/*site-map*/
.site-map .card { --bs-card-border-radius:0; border-top:2px solid var(--bs-dark); transition: all 0.2s ease; }
.site-map .card:hover {border-color:rgba(var(--bs-tertiary-color-rgb),1); box-shadow: var(--bs-box-shadow) !important;}
.site-map .card .card-title { --bs-border-width:2px; --bs-border-style:dotted }
.site-map .card:hover .card-title  {--bs-border-color:var(--bs-tertiary-color);}