@charset "utf-8";

/* main */
.search-fund {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #1866E2;
    border-radius: 40px;
}
.search-fund .search-input {
    padding: .7rem 60px .7rem 1.5rem !important;
    font-size: 1rem;
    color: #fff;
}
.search-fund .search-input::placeholder {
    color: rgba(255, 255, 255, .7);
}
.search-fund .btn-search {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    border: 0;
    background-color: #fff;
    border-radius: 50% !important;
    z-index: 5;
}
.search-fund .tag-item {
    margin-right: 10px;
    padding: 0.4rem 0.8rem;
    color: #fff;
    background-color: rgba(0,0,0,.08);
    border-radius: 20px;
}
.search-fund .fund-category {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.switch-label {    
    padding: .5em .25rem;
    width: 100%;
    font-size: 14px;
    text-align: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 20px;
    cursor: pointer;
}
.hidden-checkbox {
  display: none; 
}
/* 체크되었을 때 (ON 상태) */
.hidden-checkbox:checked + .switch-label {
	color: #1866E2 !important;
	background-color: #fff;
}

.search-fund .form-check input[type="checkbox"] {
    appearance: none; /* 기본 체크박스 스타일 제거 */
    background-color: white; /* 버튼처럼 보이게 배경색 지정 */
    margin-right: 5px;
}
.search-fund .form-check .form-check-label {
	color: #fff;
	white-space: nowrap;
	cursor: pointer;
}
.search-fund .form-check .form-check-input:checked {
    background-color: #FF7A00;
    border-color: #FF7A00;
}
.search-fund button {
	color: #fff;
	background-color: rgba(255, 255, 255, .2);
	transition: all .3s ease;
}
.search-fund button:hover {
	color: #1866E2;
	background-color: #fff;
}


.section-fund {
    background-color: #FDFCFA;
}
.section-fund .head .opt {
    display: inline-block;
    padding: .25rem .5rem;
    margin-right: .2rem;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid;
    border-radius: .4rem;
}


.fund .page-header:before {
	background-color: rgba(0, 0, 0, 0);
}
.fund .page-header.emblem:after {
	content: '';
	position: absolute;
	right: 5%;
	top: -15%;
	width: 414px;
	height: 304px;
	background-image: url(../img/emblem02.png);
	background-position: 70% -10%;
	background-repeat: no-repeat;
}

.fund-card {
    padding: 35px 0;
    min-height: 350px;
    border: 2px solid #eaeaea;
    transition: all .3s ease;
}
.fund-card:hover {
    border-color: #EA002C !important;
    transform: translateY(-10px);
	box-shadow: 0 0 30px rgba(234, 0, 44, .1);
}
.fund-card.no-fund:hover {
	transform: translateY(0);;
	box-shadow: none;
}
.fund-card h4 {
	height: 108px;
}

.fund .nav-pills .nav-link {
	color: #444;
	background-color: #f6f6f6;
	letter-spacing: -1px;
}
.fund .nav-pills .nav-link.active {
	color: #fff;
	background-color: rgb(var(--main-rgb));
}

.fund .circle {
	display: inline-block;
	margin-right: .2rem;
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.fund .block {
	padding: 2rem 0;
	height: 100%;
	border-bottom: 1px solid #dedede;
}
.fund .block.top {
	border-top: 2px solid #444;
}

.fund .table {
	border-top: 2px solid #444;
}
.fund th,
.fund td {
	border-left: 1px solid #efefef;
	padding: 1.1rem 0.5rem;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
}
.fund th {
	font-weight: 500;
}
.fund th:first-child,
.fund td:first-child {
	border-left: 0;
}
.fund .table-active {
	font-weight: 500;
	--bs-table-bg-state: rgba(0,0,0,0.025);
}


.fund .board .flex-column {
	position: relative;
}
.fund .board .col-lg-3:first-child .flex-column::before {
	display: none;
}
.fund .board .flex-column:before {
	content: '';
	position: absolute;
	left: 0;
	top: 20%;
	width: 1px;
	height: 60%;
	border-left: 1px solid #eee;
}


.fund .btn-search {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 1px;
	right: 1px;
	width: 64px;
	height: 64px;
	border-radius: 50% !important;
	border: 0;
	background: rgb(236, 18, 35);
    background: linear-gradient(90deg, rgba(237, 22, 35, 1) 0%, rgba(250, 94, 24, 1) 100%);	
    transform: translate(0);	
    overflow: hidden;
    z-index: 6;
}
.fund .btn-search img {
	transition: all .3s ease;
	opacity: .7;
}
.fund .btn-search:hover {
    background: rgb(235, 10, 37);
    background: no-repeat linear-gradient(90deg, rgba(235, 10, 37, 1) 0%, rgba(248, 82, 26, 1) 100%);
}
.fund .btn-search:hover img {
	opacity: 1;
}
.fund .btn-fund {
	display: inline-block;
	margin-bottom: 5px;
	padding: .5rem 1.5rem;
	font-size: 15px;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 6px;
}
.fund .btn-fund.active {
	color: #fff;
	background-color: rgb(var(--main-rgb));
	border-color: rgb(var(--main-rgb));
}
.fund .fund-search .nav-pills button.nav-link {
	min-width: 120px;
	font-size: 1rem;
	background-color: #fff;
	border: 1px solid #DDDEE1;
}
.fund .fund-search .nav-pills button.nav-link.active {
	color: #fff;
	background-color: rgb(var(--main-rgb));
}



.popover-header {
	padding-top: 1rem;
	padding-bottom: 0;
	background-color: #fff;
	border-bottom: 0;
	font-size: 14px;
}
.popover-body {
	font-size: 12px;
	color: #888;
}

/*rangeSlider*/
.rs-container .rs-bg,
.rs-container .rs-selected {
	height: 2px !important;
	border: 0 !important;
}
.rs-container .rs-selected {
    background-color: rgb(var(--main-rgb)) !important;
}
.rs-container .rs-pointer {
	top: -3px !important;
	width: 18px !important;
	height: 18px !important;
	background-color: rgb(var(--main-rgb)) !important;
    border: 0 !important;
	border-radius: 50% !important;
	box-shadow: none !important;
}
.rs-container .rs-pointer::after, 
.rs-container .rs-pointer::before {
	display: none;
}
.rs-container .rs-scale span ins {
	font-size: 15px !important;
}

.rs-container .rs-scale span ins {
	position: relative;
}
.rs-container .rs-scale span ins:before {
	content: '%';
	position: absolute;
	right: -12px;
	bottom: 3px;
	font-size: 12px;
}
.rs-container .rs-scale span:last-child ins::before {
    content: "%~";
	position: absolute;
	right: -18px;
}


/*--------------------------------------------------
* 
* fund-list
*
--------------------------------------------------*/
.fund-list li {
	margin: 1rem 0;
}
.fund-list li a {
	display: block;
	padding: 1.5rem 1rem;
	border: 2px solid #eaeaea;
	border-radius: 20px;
}
.fund-list li a:hover {
	border-color: rgb(var(--main-rgb));
	box-shadow: 0 3px 10px rgba(0, 0, 0, .1);
}
.fund-list .lhead,
.fund-list li:hover {
	background-color: #fafcfd;
}
.fund-list .item {
	position: relative;
}
.fund-list .head h5 {
	font-weight: 500;
	line-height: 1.4;
}
.fund .head .opt {
	display: inline-block;
	padding: .25rem .5rem;
	margin-right: .2rem;
	font-size: 12px;
	font-weight: 500;
	border: 1px solid;
	border-radius: .4rem;
}
.fund-list .info {
	position: relative;
	font-size: 14px;
	color: #767676	
}
.fund-list .info .select-value {
	position: absolute;
	right: 1rem;
	top: 5px;
	font-size: 1rem;
	text-align: center;
	color: #444;
}


.carendar .date {
	padding: 7px 15px;
	border: 1px solid #ddd;
	border-radius: .5rem;
}


/*chart*/
.fund-num{font-size:1.2em;color:#6c757d;}
.chart-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
}
.chart-title {
    margin-bottom: 20px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    color: #666;
}
.chart-title span {
    margin-right: 15px;
}
.legend-item {
    display: inline-block;
    margin-right: 15px;
    font-size: 13px;
}
.legend-color {
    display: inline-block;
    width: 12px;
    height: 2px;
    margin-right: 5px;
    vertical-align: middle;
}
.red-line {
    background-color: rgb(var(--main-rgb));
}
.green-line {
    background-color: rgb(var(--green-rgb));
}


.fund-container .swiper-button-next, 
.fund-container .swiper-button-prev {
	width: 18px;
	height: 30px;
	background-size: 18px 30px;
}
.fund-container .swiper-button-prev, 
.fund-container .swiper-container-rtl .swiper-button-next {
    left: 10px;
}
.fund-container .swiper-button-next, 
.fund-container .swiper-container-rtl .swiper-button-prev {
    right: 10px;
}    


@media (min-width: 992px) {
	.fund .btn-search {
		width: 80px;
		height: 80px;
	}
	.fund-list .rate {
		border-bottom: 1px solid #efefef;
	}
	.fund .nav-scroll:before {
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		width: 100%;
		height: 100%;
		background: #ffffff;
		background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 90%, rgba(255, 255, 255, 1) 98%);	
	}

	.line-v:before {
		content: '';
		position: absolute;
		left: 0;
		top: 15%;
		width: 1px;
		height: 70%;
		background-color: #eee;
	}
	.fund th,
	.fund td {
		font-size: 18px;	
	}
}
@media (min-width: 1200px) {
	.fund .fund-card {
		min-height: 500px;
	}
    .fund-container .swiper-button-prev, 
    .fund-container .swiper-container-rtl .swiper-button-next {
        left: -3rem;
        z-index: 10;
    }
    .fund-container .swiper-button-next, 
    .fund-container .swiper-container-rtl .swiper-button-prev {
        right: -3rem;
        z-index: 10;
    }   

}	
@media (min-width: 1400px) {
	.search-fund .category > div.category-item:nth-child(4),
	.search-fund .category > div.category-item:nth-child(8) {
		margin-right: 0;
	}    
	.search-fund .fund-category {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

@media (max-width: 1199px) {

}
@media (max-width: 991px) {
	.fund .tag {
		font-size: 12px;
	}

	.fund-search .form-check {
		padding: 0;
	}
	.fund-search h6 {
		font-size: 14px;
	}
	.fund-search .form-check-label::before {
		font-size: 15px;
	}

	/*.nav-flex>.nav-link {
		flex: 0 1 32.3%;
	}*/
	.nav-flex>.nav-link.active {
		color: #fff !important;
		background-color: rgb(var(--main-rgb));
	}
	.border-bottom-xs {
		border-bottom: 1px solid #eee;
	}
}
@media (max-width: 575px) {
	.fs-m {
		font-size: 1rem;
	}
	.fs-m14 {
		font-size: 14px;
	}
	.search-fund .category {
		justify-content: center;
	}
	.search-fund .category > div.category-item:nth-child(3),
	.search-fund .category > div.category-item:nth-child(6),
	.search-fund .category > div.category-item:nth-child(9) {
		margin-right: 0;
	}   	
	.fund .page-header {
		padding: 2rem 1rem;
	}
	.sellFund .nav-link {
		padding: .7rem;
	}
}
@media (max-width: 400px) {
	
	.search-fund .category > div.category-item {
		margin-left: 3px;
		margin-right: 3px !important;
	}   	
	
}