﻿/* Jscrollpane */
.custom-scroll { position: absolute; top: 0; left: 0; bottom: 0; width: 100%; height: 100%; }
.custom-scroll .jspPane { width: 100% !important; }
.custom-scroll .jspVerticalBar { width: 6px; right: 4px; background: transparent; }
.custom-scroll .jspTrack { background: transparent; }  
.jspContainer:hover .jspTrack { opacity: 1; }
.custom-scroll .jspDrag { background: rgba(0, 0, 0, 0.1); }

/* jQuery Confirm */
.jconfirm.jconfirm-type-a .jconfirm-bg,
.jconfirm.jconfirm-type-b .jconfirm-bg { opacity: .6; background-color: #000; }
.jconfirm.jconfirm-type-a .jconfirm-box { display: flex; align-items: center; border-radius: 0px; padding: 60px 50px; }
.jconfirm.jconfirm-type-b .jconfirm-box { border-radius: 0px; padding: 60px 50px; }
.jconfirm.jconfirm-type-a .jconfirm-box div.jconfirm-title-c,
.jconfirm.jconfirm-type-b .jconfirm-box div.jconfirm-title-c { display: none !important; }
.jconfirm.jconfirm-type-a .jconfirm-box div.jconfirm-content-pane,
.jconfirm.jconfirm-type-b .jconfirm-box div.jconfirm-content-pane { font-size: 18px; font-weight: bold; word-break: keep-all; margin-bottom: 0; }
.jconfirm.jconfirm-type-b .jconfirm-box div.jconfirm-content-pane .jconfirm-content > div { overflow: hidden; }
.jconfirm.jconfirm-type-a .jconfirm-box div.jconfirm-content-pane { padding-right: 40px; }
.jconfirm.jconfirm-type-b .jconfirm-box div.jconfirm-content-pane { text-align: center; margin-bottom: 40px; }
.jconfirm.jconfirm-type-a .jconfirm-box div.jconfirm-content-pane.no-scroll .jconfirm-content,
.jconfirm.jconfirm-type-b .jconfirm-box div.jconfirm-content-pane.no-scroll .jconfirm-content { overflow-y: hidden; }
.jconfirm.jconfirm-type-a .jconfirm-box .jconfirm-buttons { padding-bottom: 0; display: flex; }
.jconfirm.jconfirm-type-b .jconfirm-box .jconfirm-buttons { padding-bottom: 0; text-align: center; }
.jconfirm.jconfirm-type-a .jconfirm-box .jconfirm-buttons button,
.jconfirm.jconfirm-type-b .jconfirm-box .jconfirm-buttons button { height: 50px; line-height: 50px; font-size: 18px; font-weight: bold; padding: 0 24px; margin-bottom: 0; }
@media only screen and (max-width: 960px) {
    .jconfirm.jconfirm-type-b .jconfirm-box { width: 90% !important; }
}



/* CK Editor */
.cke_editable p { margin: 0; }
.ck-editor__editable { min-height: 600px; }
.cke_reset { box-sizing: border-box !important; }

/* Dropzone */
.dz-area { width: 100%; border: 1px dashed #c7c7c7; min-height: 100px; padding: 20px; background-color: #fff; cursor: pointer; }
.dz-area.dz-drag-hover { background-color: #d8f3f4; border-color: #6fcbd0; }
.dz-message { text-align: center; }
.dz-started { border: 1px solid #e1e1e1; background-color: #f7f7f7; padding-bottom: 15px; }
.dz-started .dz-message { display: none; }
.dz-preview { display: none; }
.dz-item {
    display: flex; flex-direction: row; align-items: center;
    margin-bottom: 5px;
    position: relative; border: 1px solid #ccc;
    padding: 8px 16px 8px 8px;
    background-color: #fff;
    cursor: initial;
    -webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.05);
    -moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.05);
    box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.05);
}
.dz-item > img { width: 50px; height: 50px; object-fit: cover; }
.dz-file-info { flex-grow: 1; padding-left: 10px; }
.dz-file-info h5 { font-size: 15px; font-weight: 400; margin-bottom: 4px; }
.dz-file-info span { font-size: 12px; color: #666; }
.dz-file-info span.dz-error-message { color: #ff0000; margin-left: 10px; }
.dz-progress { width: 200px; height: 8px; background-color: #e5e5e5; border: 1px solid #d5d5d5; position: relative; margin-right: 10px; }
.dz-progress .dz-upload { background-color: #39c0c7; height: 100%; }
.dz-item .btn i { font-size: 14px; }
.dz-remove { display: none; }
.dz-item button[data-dz-remove] { width: 24px; height: 24px; background-color: #cf0000; border-color: #cf0000; padding: 0; }
.dz-item button[data-dz-remove] i { color: #fff; font-size: 18px; text-align: center; line-height: 24px; margin: 0; vertical-align: top; }
@media only screen and (min-width: 960px) {
    .dz-message { line-height: 60px; }
}
@media only screen and (max-width: 960px) {
}
/* Select2 */
.form .select2-container { width: 100% !important; line-height: initial !important; margin: 3px 0; }
.select2-container--default .select2-selection--multiple { border-color: #ccc; border-radius: 4px; }
.select2-container--default.select2-container--focus .select2-selection--multiple { border-color: #f37268; box-shadow: 0 0 0 0.2rem rgba(243,114,104,.25); }
.select2-container--default .select2-selection--multiple .select2-selection__rendered { display: block; padding-left: 4px; }
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #eaeaea; border-color: #dedede;
    margin-right: 3px; margin-top: 4px; line-height: 26px; border-radius: 2px; 
}
.select2-container .select2-search--inline .select2-search__field { margin-top: 0; }

/* Tag Input Autocomplete */
.tagsinput-input + .tagsinput { border-color: #d8d8d8; }
.tagsinput-input + .tagsinput .tag { background-color: #2c0058; }
.ui-menu { border: 1px solid #ccc; padding: 5px 0; max-width: 400px; background-color: #fff; }
.ui-menu > li.ui-menu-item { border-bottom: 1px solid #e7e7e7; font-size: 14px; padding: 8px 10px; cursor: pointer; }
.ui-menu > li.ui-menu-item:hover { background-color: #fff67c; }
.ui-menu > li.ui-menu-item:last-child { border-bottom: none; }

/* Chosen */
.chosen-custom + .chosen-container { font-size: 14px; min-width: 200px; }
.chosen-custom + .chosen-container-single .chosen-single,
.chosen-custom + .chosen-container-multi .chosen-choices { background-color: #fff; background-image: none; border-radius: 0; border-color: #d8d8d8; height: 36px; line-height: 35px; color: #222; box-shadow: none; }
.chosen-custom + .chosen-container-single .chosen-single { padding-left: 10px; }
.chosen-custom + .chosen-container-multi .chosen-choices { padding-left: 5px; }
.chosen-custom + .chosen-container-single .chosen-single div b,
.chosen-custom + .chosen-container-active.chosen-with-drop .chosen-single div b { background-position-y: 8px; }
.chosen-custom + .chosen-container .chosen-drop { border-color: #d8d8d8; }
.chosen-custom + .chosen-container-single .chosen-drop { margin-top: 0; }
.chosen-custom + .chosen-container-single .chosen-search input[type=text] { border-color: #eee; font-size: 13px; }
.chosen-custom + .chosen-container .chosen-results li { padding: 8px 10px; line-height: normal; }
.chosen-custom + .chosen-container .chosen-results li.highlighted { background-color: #fff67c; color: #222; background-image: none; }
.chosen-custom + .chosen-container-multi .chosen-choices li.search-choice { padding-top: 6px; padding-bottom: 7px; }
.chosen-custom + .chosen-container-multi .chosen-choices li.search-choice .search-choice-close { top: 7px; }
.chosen-custom + .chosen-container-multi .chosen-choices li.search-field input[type=text] { color: #ccc; font-size: 14px; margin-top: -4px; }

/* Tooltipset & TooltipCustom */
.tooltip_templates { display: none; }
.tooltipster-sidetip .tooltipster-box { background-color: #000; border-radius: 0.250rem; border: none; }
.tooltipster-sidetip .tooltipster-content { font-size: 0.750rem; padding: 0.625rem 0.875rem; }
.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-border { display: none; }
.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-background { border-top-color: #000; }
.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-border { display: none; }
.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-background { border-bottom-color: #000; }

/* Swiper common */
.swiper-container { width: 100%; height: auto; }
.swiper-pagination-bullet { vertical-align: middle; }
.swiper-pagination-bullet-active { background-color: #1428a0; }

/* jQuery Confirm _임시 */
/*
.jconfirm.jconfirm-type-a .jconfirm-bg { opacity: .6; background-color: #000; }
.jconfirm.jconfirm-type-a .jconfirm-box { border-radius: 0px; padding: 30px; }
.jconfirm.jconfirm-type-a .jconfirm-box div.jconfirm-title-c { display: none !important; }
.jconfirm.jconfirm-type-a .jconfirm-box div.jconfirm-content-pane { font-size: 14px; font-weight: bold; word-break: keep-all; margin-bottom: 0; }
.jconfirm.jconfirm-type-a .jconfirm-box div.jconfirm-content-pane { text-align: center; margin-bottom: 20px; }
.jconfirm.jconfirm-type-a .jconfirm-box div.jconfirm-content-pane .jconfirm-content { overflow: hidden; }
.jconfirm.jconfirm-type-a .jconfirm-box div.jconfirm-content-pane .jconfirm-content p { font-weight: 400; }
.jconfirm.jconfirm-type-a .jconfirm-box div.jconfirm-content-pane .jconfirm-content img { width: auto; }

.jconfirm.jconfirm-type-a .jconfirm-box div.jconfirm-content-pane ul { margin-bottom: 20px; }
.jconfirm.jconfirm-type-a .jconfirm-box div.jconfirm-content-pane ul > li { position: relative; text-align: left; font-size: 14px; font-weight: 400; padding-left: 14px; margin-bottom: 10px; }
.jconfirm.jconfirm-type-a .jconfirm-box div.jconfirm-content-pane ul > li:last-child { margin-bottom: 0; }
.jconfirm.jconfirm-type-a .jconfirm-box div.jconfirm-content-pane ul > li::before { content: '-'; position: absolute; left: 0; top: 4px; }

.jconfirm.jconfirm-type-a .jconfirm-box .jconfirm-buttons { float: none !important; padding-bottom: 0; text-align: center; }
.jconfirm.jconfirm-type-a .jconfirm-box .jconfirm-buttons button { font-weight: 400; padding: 0.750rem 1.500rem; margin-bottom: 0; border: 1px solid #dfe2e4; }
@media (max-width: 640px) {
	.jconfirm.jconfirm-type-a .jconfirm-box { width: 90% !important; }
}
@media (min-width: 641px) {
}
.jconfirm.jconfirm-type-a .jconfirm-box .jconfirm-buttons button.btn.btn-primary { background-color: #1428a0; border-color: #1428a0; color: #fff; }
.jconfirm.jconfirm-type-a .jconfirm-box .jconfirm-buttons button.btn.btn-secondary { background-color: #d99d78; border-color: #d99d78; color: #fff; }
.jconfirm.jconfirm-type-a .jconfirm-box .jconfirm-buttons button.btn.btn-success { background-color: #8ec660; border-color: #86bc59; color: #fff; }
.jconfirm.jconfirm-type-a .jconfirm-box .jconfirm-buttons button.btn.btn-danger { background-color: #f37268; border-color: #e9695f; color: #fff; }
.jconfirm.jconfirm-type-a .jconfirm-box .jconfirm-buttons button.btn.btn-lightgray { background-color: #efefef; border-color: #e4e4e4; color: #888; }
.jconfirm.jconfirm-type-a .jconfirm-box .jconfirm-buttons button.btn.btn-gray { background-color: #666; border-color: #555; color: #fff; }
.jconfirm.jconfirm-type-a .jconfirm-box .jconfirm-buttons button.btn.btn-cancel { background-color: #c8c8c8; border-color: #c8c8c8; color: #fff; }
.jconfirm.jconfirm-type-a .jconfirm-box .jconfirm-buttons button.btn.btn-transparent { background-color: transparent; border-color: transparent; }

.jconfirm.jconfirm-type-a .jconfirm-box .jconfirm-buttons button.btn.btn-normal:hover { background-color: #f4f4f4; }
.jconfirm.jconfirm-type-a .jconfirm-box .jconfirm-buttons button.btn.btn-primary:hover { background-color: #1428a0; border-color: #1428a0; color: #fff; }
.jconfirm.jconfirm-type-a .jconfirm-box .jconfirm-buttons button.btn.btn-secondary:hover { background-color: #d99d78; border-color: #d99d78; color: #fff; }
.jconfirm.jconfirm-type-a .jconfirm-box .jconfirm-buttons button.btn.btn-success:hover { background-color: #75b83f; border-color: #6eb138; color: #fff; }
.jconfirm.jconfirm-type-a .jconfirm-box .jconfirm-buttons button.btn.btn-danger:hover { background-color: #dd5a50; border-color: #d35248; color: #fff; }
.jconfirm.jconfirm-type-a .jconfirm-box .jconfirm-buttons button.btn.btn-lightgray:hover { background-color: #e2e2e2; border-color: #d6d6d6; color: #888; }
.jconfirm.jconfirm-type-a .jconfirm-box .jconfirm-buttons button.btn.btn-gray:hover { background-color: #555; border-color: #666; color: #fff; }
*/


/* Selectize */
.selectize-pill-list .selectize-control { line-height: 1; }
.selectize-pill-list .selectize-control.loading { position: relative; top: auto; left: auto; margin: 0;  }
.selectize-pill-list .selectize-control.loading::after { position: absolute; top: 50%; left: 50%; margin-top: -8px; z-index: 1; }
.selectize-pill-list .selectize-input { border-radius: 4px; border-color: #d9d9d9; box-shadow: none; -webkit-box-shadow: none; line-height: 1; }
.selectize-pill-list .selectize-input > input { height: 17px; }
.selectize-pill-list .selectize-control.multi .selectize-input>div {
    background-color: #f37268; color: #fff; border: 1px solid #e2584e;
    border-radius: 3px; padding: 11px 10px 10px;
}
.selectize-pill-list .selectize-control .selectize-input:not(.input-active) > .item + input {
   width: 32px !important; height: 32px !important; left: 10px !important;
   background: url('../images/selectize_placeholder_icon.png') no-repeat 100% !important;
}
/*.selectize-pill-list .selectize-control .selectize-input > input { left: 10px !important; }*/
.selectize-pill-list .selectize-control.multi .selectize-input>div.active { background-color: #f37268; color: #fff; border: 1px solid #e2584e; }
.selectize-pill-list .selectize-control.plugin-remove_button [data-value] { padding-right: 30px!important; }
.selectize-pill-list .selectize-control.plugin-remove_button [data-value] .remove { width: 24px; font-size: 20px; border-left: none; line-height: 26px; }
.pill-result { padding: 6px 8px; border-bottom: 1px solid #e7e7e7; }
.pill-result > img { width: 30px; height: 30px; object-fit: contain; margin-right: 10px; }
.pill-result .pill-title { font-size: 14px; color: #333; margin-right: 10px;  }
.pill-result .pill-effect { font-size: 11px; color: #999; }
@media only screen and (min-width: 961px) {
    .selectize-pill-list .selectize-input { padding: 10px 12px; }
    .selectize-pill-list .selectize-control.multi .selectize-input.has-items { padding: 5px 8px 2px; }
}
@media only screen and (max-width: 960px) {
    .selectize-pill-list { margin-bottom: 20px; }
    .selectize-pill-list > h4 { margin-bottom: 10px; }
    .selectize-pill-list .selectize-input { padding: 10px 12px; }
    .selectize-pill-list .selectize-control.multi .selectize-input.has-items { padding: 8px 12px; }
}