/* hw-icons */
.btn.icon-grey,
.card-header.icon-grey .card-icon {
    background-color: #838383 !important;
}

.btn.search-btn,
#newssearch-btn ,
.btn.search-btn-sm{
    background-color: #df6110 !important;
}

.btn-hw {
    background-color: #df6110 !important;
}


/* navebar */
.navbar {
    position: fixed;
    background-color: #eeeeee !important;
    border-bottom: 1px solid #e1e1e1;
    box-shadow: none;
    transition-property: width;
    transition-duration: 0.35s;
    width: calc(100% - 260px);
    z-index:1020;
}

body:not(.sidebar-mini) #vocAnalysis,
body.sidebar-mini .sidebar:hover #vocAnalysis{
    transform: scale(.97);
    padding-left: 7px;
    width: 101%;
}

[class*="-tree"]:not(.nav-tree):not(.voc-tree) {
    transform: scale(.95);
}

body:not(.sidebar-mini) [class*="-tree"]:not(.nav-tree):not(.voc-tree),
body.sidebar-mini .sidebar:hover [class*="-tree"]:not(.nav-tree):not(.voc-tree){
    padding-left: 5px;
    width: 102%;
}

.navbar-brand .subtitle {
    color: #df6110;
}

.sidebar {
    background-color: #544f49 !important;
}

.sidebar .logo .logo-mini {
    margin-right: 0 !important;
    width: 47px !important;
    height: 58px !important;
}

body.sidebar-mini .sidebar .logo .logo-mini {
    margin-left: 16px !important;
}

body:not(.sidebar-mini) .sidebar .logo .logo-mini,
body.sidebar-mini .sidebar:hover .logo .logo-mini {
    margin-left: 12px !important;
}

.sidebar .nav-item:not(.active) .nav-link{
    border: 1px solid #716d69;
}




/* password modal */
#pw_modal.modal {
    margin-top: 100px;
}

#pw_modal.modal .pw-change {
    margin: 0 auto;
    width: 70%;
}

#pw_modal.modal .card-title {
    margin-left: 20px;
}

/* footer */
footer {
    height: 85px;
}
.top-btn {
    float: right;
    position: fixed;
    right: 1rem;
    opacity: 0.4;
}

.top-btn:hover {
    opacity: 1;
}

/* login page*/
.login-con{
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #111111;
}

.login-con>div{
    width:100%;
    transform: translateY(-30%);
}

.login-con>div>div{
    max-width: 500px;
}

/* card */
.card {
    min-height: 52px;
}

.card-header .btn {
    margin-top: 12px;
}

.card .choose-item {
    margin-left: 10px;
    margin-top: 15px;
}

.card .choose-item span {
    color: #8e8e8e;
    font-size: .75rem;
}

.card .choose-item b {
    color: #6c757d;
}

.card ul[class*='-ul'] {
    list-style: none;
    padding: 0 5px;
    margin: 0;
    width: 100%;
    position: relative;
    float: left;
    border:1px solid transparent;
}

.card li[class*='-li'] {
    float: left;
    padding: 0 5px;
    font-size: 12px;
    font-weight: 500;
}

.card .tit-ul .tit-li {
    width: 100%;
    font-size: .875rem;
}

.card .kwd-list {
    margin: 18px 30px 25px 0;
    max-width: 220px;
    width:100%;
}

.card .kwd-list ul {
    text-align: center;
    border-bottom: 1px solid #e1e1e1;
    padding: 2px 4px
}

.card .kwd-list ul:first-child {
    border-top: 2px solid rgb(251, 181, 132);
}

.card .kwd-list ul:last-child {
    border-bottom: 2px solid #d1d1d1;
}

.card .kwd-list ul.con-ul:hover {
    cursor: pointer;
    background-color: #f9f9f9;
}

.card .kwd-list ul.con-ul li.con-li {
    margin-left: 15px;
}

.card [class*='result-con'] {
    max-width: 240px;
    padding: 0 15px;
    margin-bottom: 20px;
}

.card .result-con .tit-ul {
    border-bottom: 1px solid rgb(243, 115, 33);
    text-align: center;
    margin-bottom: 5px;
}

.card [class*='result-con'] .con-ul .no-li span {
    background-color: #a1a1a1;
    color: white;
    padding: 2px 5px;
    font-weight: 900;
    border-radius: 2px;
}

.card [class*='result-con'] .con-ul .no-li.rank span {
    background-color: rgb(248, 155, 108);
}

.card [class*='result-con'] .con-ul .no-li.ten span {
    padding: 2px 1.55px;
}

.card [class*='result-con'] .con-ul .kwd-li {
    margin-left: 3px;
}

.card .result-con .con-ul .count-li,
.card .result-con .con-ul .rise-li {
    float: right;
}

.card .result-con .con-ul .rise-li {
    width: 34px;
    font-size: 11px;
}

.card .result-con .con-ul .rise-li.new {
    color: #f07809;
}

.card .result-con .con-ul .rise-li.plus{
    color: #ff4d78;
}

.card .result-con .con-ul .rise-li.minus{
    color: #47bea8;
}

.card .ra-result-con {
    padding: 10px;
    border: 1px solid #ff9800;
    border-radius: 5px;
}

.card .ra-result-con .tit-ul {
    margin-bottom: 5px;
}

.card .ra-result-con .tit-ul .tit-li {
    font-size: .875rem;
    color: rgb(243, 115, 33);
}

.card .kwd-result ul:not(.active),
.card .kwd-result ul:not(.highlight){
    cursor: pointer;
}

.card .kwd-result .con-ul.interested {
    background-color: lavenderblush;
    border-radius: 5px;
}
.card .kwd-result .con-ul.highlight {
    background-color: ivory;
    border: 1px solid rgb(243, 115, 33);
    border-radius: 5px;
}

.card .kwd-result .con-ul:hover {
    border: 1px solid rgb(248, 155, 108);
    border-radius: 5px;
}

.card .kwd-result .con-ul.highlight .kwd-li, 
.card .kwd-result .con-ul.interested .kwd-li,
.card .kwd-result .con-ul:hover .kwd-li{
    font-weight: 800;
    font-size: .8rem;
}

.card .kwd-result .tit-ul:hover .tit-li:not(.trend),
.card .kwd-result .tit-ul.active .tit-li{
    font-size: .9rem;
    text-decoration: underline;
}

/* scroll */
.h-overflow {
    overflow-x: scroll;
}

.card .kwd-result::-webkit-scrollbar,
.card .main-type-con>.row::-webkit-scrollbar {
    height: 7px;
    width: 7px;
    border-radius: 2px;
}

.card .kwd-result::-webkit-scrollbar-thumb,
.card .main-type-con>.row::-webkit-scrollbar-thumb {
    height: 7px;
    width: 7px;
    border-radius: 2px;
    background: rgba(50, 50, 50, 0.3) !important;
}

/* voc table */
table.oriTable th {
    text-align: center;
}
table.oriTable th:first-child,
table.oriTable td:first-child {
    border-right: 1px solid #dddddd;
}

/* tag */
.tag-con {
    display: flex;
    flex-wrap: wrap;
}

.tag {
    background-color: #d1d1d1;
    border-radius: 10px;
    padding:2px 8px;
    vertical-align: middle;
    margin-top: 8px;
    margin-left: 3px;
    height: 28px;
}

.tag-word {
    font-weight: 900;
}

.tag-del {
    cursor: pointer;
    margin-left: 5px;
    color:white;
}

.tag-del:hover {
    transform: scale(1.3);
}

.tag-ex {
    padding-top:10px;
}



/* chart */
.chart-box {
    width: 100%;
    min-height: 350px;
    height: 100%
}

.chart-box1 {
    width: 100%;
    min-height: 500px;
    height: 100%
}

/* loading */
.loading {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .5);
    z-index: 1059;
}

.loading img {
    max-width: 50%;
}

/* table */
table td .remove {
    float: inherit;
}


/* action */
.rotate {
    transform: rotate(180deg);
}

.hidden {
    display: none;
}

.list-active {
    background-color: #f9f9f9;
}

.list-active li {
    font-size: 13px !important;
    width: 100%;
    margin: 0 !important;
}

.date-hover {
    background-color: #eee;
}

/* datatable */
#datatables td:first-child{
    /* padding-left: 20px !important; */
    font-weight: 400;
}
#datatables td:last-child{
    text-align: center !important;
}

/* selectpicker */
.btn.select-with-transition {
    padding-right: 10px;
}

.btn .filter-option {
    font-size: .875rem;
    padding-top: 5px !important;
    padding-right: 5px !important;
}

.btn .filter-option-inner {
    padding: 0 0 0 10px !important;
}

.result-count-con {
    width:80px; 
    margin: auto 10px;
}

input.form-control[type='text'],
input.form-control[type='password'] {
    padding-left: 10px !important;
}

/* type con*/
.type-con {
    border:1px solid #d1d1d1;
    border-radius: 5px;
}

.type-con span.check {
    background-color: white;
}

.type-con > div.form-check {
    padding: 5px 15px;
    max-height: 27px;
    background-color: #eee;
    margin: 0;
    border-radius: 5px 5px 0 0 ;
}

.type-con > div p {
    color: #6c757d;
    margin-bottom: 0;
}

.type-con .sub-type {
    padding: 0 15px;
}

.type-con .main-type-con>.row {
    margin: 0 !important;
    height: 235px;
}

.type-con .main-type {
    min-width:150px;
}

.type-con .main-type > .form-check {
    padding: 5px 0 2px 5px;
    height: 30px;
    background: #f9f9f9;
    border: 1px solid #e1e1e1;
    border-radius: 1px;
    margin-bottom: 1px;
}

.type-con .main-type .type-list{
    height: 140px;
    overflow: hidden;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.type-con .main-type [class*="type-list-"] {
    text-align: center;
    background-color: #f9f9f9;
    height:20px;
}

.type-con .main-type [class*="type-list-"].active {
    background-color: #e1e1e1;
    cursor: pointer;
}
.type-con .main-type [class*="type-list-"].active:active {
    background-color: #d1d1d1;
}

.type-con .main-type [class*="type-list-"] .material-icons {
    font-size: 20px;
}

.type-con .type-list .type-item .form-check{
    padding-left: 3px;
}

.type-con .type-list .type-item .form-check *{
    transform: scale(.95);
}

.type-con .type-list .type-item .form-check .form-check-sign:before {
    left: 3px;
    top: 3px;
    border-radius: 2px;
    width: 12px;
    height: 12px;

}

.type-con .type-list .type-item .form-check p {
    font-size: .75rem;
}



/* etc */
.nav-link,
.navbar a,
.btn,
.card-title,
.choose-item {
    font-weight: 450 !important;
}

.btn.btn-sm.btn-just-icon .material-icons {
    width: 30px;
    height: 30px;
}

input.datepicker,
label.cursor {
    cursor: pointer;
}

.badge.badge-sm {
    width: 30px;
    height: 30px;
    padding: 3px;
    margin-top: 5px;
}

.search-btn {
    font-size: .875rem !important;
}

table.dataTable {
	font-size: 0.8rem;
    font-weight: 500;
}

.table thead tr th {
	font-size: 1rem;
    font-weight: 500;
}

/* responsive */

@media only screen and (max-width: 768px) {
    .idCheckBtn {
        float:right !important;
    }
}

@media (min-width: 991px) {
    .sidebar-mini .navbar {
       transition-property: width;
       transition-duration: 0.35s;
       width: calc(100% - 80px);
    }
}

@media (max-width: 991px) {
    .navbar {
        width: 100%;
    }
} 

.voc-list {
	display: inline-block;
}

table#datatables tbody tr:nth-child(even):hover td{
    background-color: #ffa !important; /* #ff711596; */
}

table#datatables tbody tr:nth-child(odd):hover td {
    background-color: #ffa !important; /* #ff711596; */
}

div[name="voc_menu"] .btn {
	width: 98px;
}

.dropdown button[data-id^="voc_"] {
	width: 280px;
}

div[name="voc_menu"] .dropdown-menu {
	width: 280px;
}

thead input[type='text'] {
	width: 100%;
	font-size: small;
}
