.sl-switches {
    padding-top: 50px;
}

.sl-switches li {
    list-style: none;
    margin-bottom: 1rem;
}

.sl-switch {
    height: 100%;
    display: block;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    cursor: pointer;
}

.sl-switch-header {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.sl-switch-header .title {
    margin-left: 10px;
    font-size: 22px;
    font-weight: 600;
}

.sl-switch.active {
    box-shadow: 0 0 8px #4200ff40;
}

.sl-switch.active,
.sl-switch:hover,
.sl-switch.active .sl-switch-header {
    border-color: #4200ff;
}

.sl-ranks-ttl {
    font-size: 18px;
    margin: 15px 0;
    text-align: center;
}

.sl-ranks-ttl strong {
    font-weight: 600;
}

.sl-ranks-list > li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.sl-ranks-list-ttl {
    color: #7b7b7b;
    overflow: hidden;
    width: calc(100% - 30px);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sl-ranks-list > li:hover .sl-ranks-list-ttl {
    font-weight: 500;
    color: #333;
    text-decoration: underline;
}

.sl-ranks-fluctuation {
    position: relative;
    color: #ddd;
    font-weight: 500;
}

.sl-ranks-fluctuation.up {
    color: #FF446A;
}

.sl-ranks-fluctuation.down {
    color: #4200ff;
}

.sl-ranks-fluctuation::before {
    content: '';
    position: absolute;
    top: 9px;
    left: -16px;
    border: 6px solid transparent;
}

.sl-ranks-fluctuation.up::before {
    border-top: 0px;
    border-bottom: 8px solid #FF446A;
}

.sl-ranks-fluctuation.down::before {
    border-bottom: 0px;
    border-top: 8px solid #5781F1;
}

/*검색바*/
.sl-inputArea-form {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.sl-inputArea-form.ai-search {
    padding-top: 50px;
}

.sl-inputArea-form .search-input {
    width: calc(100% - 70px)
}

.sl-inputArea-form .search-keyword {
    width: 100%;
    line-height: 48px;
    background: #F4F5F7;
    border-radius: 0;
    border: none;
    border-bottom: 2px solid #ddd;
}

.sl-inputArea-form .search-button {
    width: 60px;
    margin-left: 10px;
}

.sl-inputArea-form .search-btn {
    width: 100%;
    height: 100%;
    background: #4200ff;
    color: #fff;
    font-size: 1.5rem;
}

/*검색결과*/
.sl-resultArea {
    margin-top: 20px;
}

.sl-result-count {
    margin-bottom: 10px;
}

.sl-result-count span {
    color: #4200ff;
    font-weight: 600;
}

.sl-result-list {
    width: calc(100% + 24px);
    margin-left: -12px;
}

.sl-result-elem {
    list-style: none;
    margin-bottom: 20px;
}

.sl-result-elem > a {
    display: block;
    height: 100%;
    color: #333;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 5px;
}

.sl-result-elem > a:hover {
    border-color: #4200ff;
}

.sl-result-elem .companyName {
    display: inline-block;
    font-size: 14px;
    background: #f5f5f5;
    border-radius: 4px;
    padding: 2px 6px;
}

.sl-result-elem .adTitle {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 3em;
    font-size: 20px;
    font-weight: 600;
    margin: 5px 0;
}

.sl-result-elem .adSub {
    margin-top: 10px;
    padding-top: 5px;
    border-top: 1px solid #eee;
}

.sl-result-elem .adSub > div {
    color: #7b7b7b;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sl-result-elem .adSub span {
    color: #333;
}

.sl-result-elem .adEndDate {
    color: #7b7b7b;
    font-size: 14px;
    margin-top: 5px;
}

.sl-result-empty {
    display: none;
    text-align: center;
    line-height: 300px;
    border: 1px solid #eee;
    color: #7b7b7b;
}

@media (max-width: 800px) {
    .sl-switch {
        padding: 10px;
        margin-bottom: 0;
    }

    .sl-switch-header {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .sl-switch-header .title {
        font-size: 18px;
    }

    .sl-ranks {
        display: none;
    }
}

.plcyList-header {
    margin: 20px 0 10px;
}

.plcyList-myTag {
    border: 1px solid #ddd;
    display: flex;
    border-radius: 5px;
    overflow: hidden;
}

.plcyList-myTag-th {
    padding: 10px 20px;
    background: #f0f2f7;
}

.plcyList-myTag .plcyList-keyword {
    padding: 10px;
    margin: 0;
}

.plcyList-header strong {
    color: #4200ff;
}

.plcyList-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.plcyList-elem {
    list-style: none;
}

.plcyList-cont {
    display: block;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
}

.plcyList-cont:hover {
    border-color: #4200ff;
}

.plcyList-path {
    color: #7b7b7b;
    font-size: 14px;
}

.plcyList-title {
    margin: 5px 0;
    font-size: 20px;
    color: #333;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.4em;
    height: 2.8em;
}

.plcyList-content {
    font-size: 16px;
    color: #7b7b7b;
}

.plcyList-keyword {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.plcyList-keyword-elem {
    display: block;
    font-size: 14px;
    background: #f0f1f5;
    color: #48526e;
    border-radius: 8px;
    padding: 2px 6px;
}

@media (max-width: 1100px) {
    .plcyList-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .plcyList-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 490px) {
    .plcyList-list {
        grid-template-columns: repeat(1, 1fr);
    }
}


/** pagination **/
.subPage-content nav .pagination {
    margin-top: 10px;
}

.subPage-content nav .pagination li {
    margin-right: 5px;
}

.subPage-content nav .pagination li.active a {
    color: rgba(255, 255, 255, 0.95);
    background: var(--point);
    border-color: var(--point);
}

.subPage-content nav .pagination li a {
    color: #606160;
    white-space: nowrap;
    padding: 6px 0;
    width: 36px;
    text-align: center;
}

@media (max-width: 768px) {
    .subPage-content nav .pagination li {
        margin-right: 0;
    }

    .subPage-content nav .pagination li a {
        font-size: 12px;
        padding: 4px 0;
        width: 24px;
    }
}

.sl-inputArea h4 {
    font-size: 18px;
}

/* AI 일자리 검색 리뉴얼 style */
/* 일자리 옵션 */
.optionsWrapper {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
}

.optionsWrapper .content-section::-webkit-scrollbar{
    width: 8px;
}

.optionsWrapper .content-section::-webkit-scrollbar-thumb {
    background-color: #ced4da;
    border-radius: 8px;
}

.optionsWrapper .content-section::-webkit-scrollbar-track{
    background-color: #F8F9FB;
    border-radius: 8px;
}

.optionsWrapper .tab-section {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
}

.optionsWrapper .tab-section li {
    width: calc(100% / 3);
}

.optionsWrapper .tab-section li .tab-btn {
    position: relative;
    display: block;
    width: 100%;
    border: none;
    text-align: start;
    padding: 8px 20px;
    background: #F4F5F7;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
}
.optionsWrapper .tab-section li .tab-btn::before{
    position: absolute;
    content: '';
    width: 8px;
    height: 8px;
    border-style: solid;
    border-color: #666666;
    border-width: 0 2px 2px 0;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    transition: .2s;
}
.optionsWrapper .tab-section li .tab-btn.active::before{
    transform: translateY(-50%) rotate(225deg);
}
.optionsWrapper .tab-section li:last-child .tab-btn {
    border-right: 0;
}

.optionsWrapper .tab-section li .tab-btn.active {
    background: white;
}

.optionsWrapper .content-section {
    display: none;
    padding: 8px 20px;
    max-height: 220px;
    overflow-y: scroll;
}
.optionsWrapper .content-section .depth{
    font-size: 14px;
    color: #7B7B7B;
    border-bottom: 1px solid #eee;
    padding: 10px 0 5px 10px;
    margin-bottom: 10px;
}
.optionsWrapper .content-section button {
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    transition: .2s;
    margin: 5px 2.5px;
}

.optionsWrapper .content-section button.active {
    border: 1px solid #5781F1;
    background: #4200ff;
    color: white;
}

.optionsWrapper .content-section .list-col {
    list-style: none;
}
.optionsWrapper .content-section .list-col li{
    width: calc((100% / 4) - 7px);
    margin-right: 5px;
    display: inline-block;
}
.optionsWrapper .content-section .list-col li:nth-child(4n) {
    margin-right: 0;
}
.optionsWrapper .content-section .list-col button {
    border: none;
    width: 100%;
    text-align: left;
    padding: 5px 10px;
}
.optionsWrapper .content-section .list-col button:hover {
    background: #F4F5F7;
    border-radius: 5px;
}

/*검색 결과*/
.search-rslt {
    display: flex;
    justify-content: space-between;
}

.search-rslt > section {
    width: calc(50% - 10px);
}

.search-rslt-list li {
    list-style-type: none;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    padding: 10px 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: .2s;
}

.search-rslt-list li .title {
    display: flex;
    justify-content: space-between;
}

.search-rslt-list li .sub {
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 10px;
    color: #7b7b7b;
    font-size: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-rslt-list li .sub span {
    position: relative;
    font-size: 0.875rem;
    color: #48526e;
    background-color: #f5f5f7;
    border: 1px solid #e5e9ef;
    border-radius: 8px;
    padding: 2px 6px;
    margin: 0 5px 5px 0;
    display: inline-block;
}

.search-rslt-list li:hover {
    border-color: #4200ff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.search-rslt-list li.active {
    color: #4200ff;
    border-color: #4200ff;
    box-shadow: 0 0 5px rgba(93, 153, 254, 0.5);
}


.search-src {
    color: #7B7B7B;
}

.search-src-kwrd {
    border: 1px solid #dddddd;
    border-radius: 5px;
    padding: 15px;
    margin-top: 5px;
}

.search-noticeGraph {
    margin-top: 15px;
}

.search-rslt-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
}

.search-rslt-btn button {
    width: calc(100% / 3);
}

.jqcloud-word {
    font-weight: 500;
    cursor: pointer;
}

@media (max-width: 900px) {
    .search-rslt {
        flex-direction: column;
    }

    .search-rslt > section {
        width: 100%;
    }

    .search-rslt-list > .list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .search-rslt-list li {
        flex-direction: column;
    }

    .search-search-keyword-form .search-srcAst {
        flex-direction: column;
    }

    .search-search-profile-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 460px) {
    .search-search-profile-list {
        grid-template-columns: repeat(1, 1fr);
    }
}

#subcontent > section > section > div.search-rslt > section.search-rslt-list > div > div.button-group {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    margin-top: 20px;
}

#subcontent > section > section > div.search-rslt > section.search-rslt-list > div > div.button-group:before {
    content: '용어분류 :';
    margin-right: 20px;
    white-space: nowrap;
}

#subcontent > section > section > div.search-rslt > section.search-rslt-list > div > div.button-group button {
    position: relative;
    color: #777;
    background: none;
    border: none;
    padding: 4px 12px;
    margin-right: 20px;
    cursor: pointer;
}

#subcontent > section > section > div.search-rslt > section.search-rslt-list > div > div.button-group button:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 8px;
    right: -10px;
    height: calc(100% - 16px);
    border-right: 2px solid #eee;
}

#subcontent > section > section > div.search-rslt > section.search-rslt-list > div > div.button-group button.active {
    color: #4200ff;
    border-bottom: 2px solid #5781F1;
}
