*{
    font-family: Microsoft JhengHei;
    box-sizing: border-box;
}
.fcc{
    display: flex;
    justify-content: center;
    align-items: center;
}
/* 開啟modal按鈕 */
.dropdown-toggle:after{
    transition: all .2s ease-in-out; 
}
.dropdown-toggle:hover::after{
    transform: rotate(180deg) !important; 
}
/* modal */
.modal-header{
    border-top: solid 8px #80c8d1;
    border-bottom: none;
    /* border-bottom: solid 2px #80c8d1; */
    background: #fff;
}
.modal-footer{
    /* background: #f4f4f4; */
    border-bottom: solid 8px #80c8d1;
    border-top: none;
    /* border-bottom: solid 2px #80c8d1; */
    background: #fff;
}
.modal-title{
    font-weight: 700;
}
.modal-body{
    padding: 0 12px;
}
.select2-container{
    margin: 1em 0;
}
/* 選項 */
li{
    list-style-type: none;
}
.options{
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    max-height: 500px;
    padding: 1em;
}
.option{
    margin: .3em 0;
    padding: 0.5em;
    cursor: pointer;
    font-weight: bold;
    text-shadow: rgba(0,0,0,.1) 0 1px 2px;
    transition: all .2s ease-in-out;
    border-radius: 3px;
}
li.option{
    font-size: 16px;
    color: #000;
}

.option:hover{
    box-shadow: rgba(0,0,0,.1) 0 2px 20px inset;
}
.optionStep2{
    display: block;
    overflow-y: scroll;
    font-weight: 500;
}
.optionClicked{
    color: white !important;
    background: #81bed0;
}
.select2-dropdown{
    box-shadow: rgba(0,0,0,0.2) 0 4px 12px;
}
.select2-container{
    cursor: pointer;
    transition: all .3s ease-in-out;
}
/* 篩選結果 */
.ResultContent{
    display: none;
    background: #f4f4f4;
    max-height: 500px;
    overflow-y: scroll;
    padding: 1em;
}
.ResultContentStep2{
    display: block;
}
.ResultTitle label {
    position: relative;
    font-weight: bold;
    margin: .5rem;
    text-align: center;
    line-height: 1.8;
    -webkit-box-reflect: below -10px -webkit-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,0) 10%,rgba(0, 0, 0, 0.6));
}

.ResultTitle {
    border-bottom: dashed 3px skyblue;
    margin: 1em 0;
    padding-bottom: 1em;
}

.ResultTitle label {
    font-size: 15px;
    letter-spacing: 2px;
    color: #000;
}

.ResultContent hr{
    margin: .5em 0;
}
.checkboxContent{
    background: #fff;
    box-shadow: rgba(0,0,0,.1) 0 4px 12px;
    border-radius: 10px;
    padding: 0.5em !important;
}

.checkboxContent {
    padding-bottom: 1rem !important;
}

/* .typeName{
  padding: 0.25em 0;
  font-weight: bold;
  margin-left: .5rem;
  margin-top: 1em;
}
.typeName:after {
  content: "";
  display: block;
  height: 4px;
  margin-top: .5em;
  border-radius: 10px;
  background: linear-gradient(to right, rgba(172, 172, 172, 0.683), transparent);
} */

.typeName input[type="checkbox"],
.ResultTitle input[type="checkbox"]{
    appearance: none;
    border: 2px solid #074281 !important;
    width: 1em;
    height: 1em;
    border-radius: 3px;
    user-select: none;
    display: inline-block;
    position: relative;
    transition: all .3s;
}

.typeName input[type="checkbox"]::after,
.ResultTitle input[type="checkbox"]::after{
    content: '✓';
    position: absolute;
    color: #fff;
    opacity: 0;
    transition: all .4s ease;
    top: -0.5em;
    left: 0em;
    font-weight: bold;
    font-size: 13px;
}

.typeName input[type=checkbox]:checked,
.ResultTitle input[type=checkbox]:checked{
    background: #074281 !important;
}

.ResultTitle{
    justify-content: flex-start;
}

/*.typeName label {
    padding-left: .5em;
}

.typeName{
    padding: 1em 0 0 0;
    font-weight: bold ;
    margin: .5em;
    border-top: dashed 3px skyblue ;
    position: relative;
    padding-left: .3em;
    color: #092c54;
    width: 97%;
}*/

/* .typeName:after {
  position: absolute;
  content: " ";
  display: block;
  border-top: dashed 3px #ffc778;
  top: -2.5px;
  width: 20%;
  margin-bottom: 1.5em;
  margin-left: -2.5px;
} */

/* .region{
    font-weight: bold;    
    color: #005f9f;
    padding-left: 1.5rem;
} */

/* checkBox */
input,label{
    cursor: pointer;
}

.checkbox-wrapper{
    margin: .4em 0;
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
    visibility: hidden;
}

.checkbox-wrapper label, .checkbox-wrapper label::before {
    transition: 0.25s all ease;
}

.checkbox-wrapper label{
    position: relative;
    padding-left: 1.5em;
    line-height: 2;
    cursor: pointer;
    display: inline-flex;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.checkbox-wrapper label:before {
    box-sizing: border-box;
    content: " ";
    position: absolute;
    top: 0.6em;
    left: 0;
    display: block;
    width: 1em;
    height: 1em;
    border: 2px solid skyblue;
    border-radius: 4px;
    /* z-index: -1; */
}

.checkbox-wrapper input[type=checkbox]:checked + label {
    padding-left: 1em;
    padding-right: 1em;
    color: #074281;
}

.checkbox-wrapper input[type=checkbox]:checked + label:before {
    top: 0;
    width: 100%;
    height: 2em;
    background: -webkit-repeating-linear-gradient(-45deg, #f0f8ff1f, #f0f8ff2a 3px,#c2e0ff36 3px, #c2e0ff36 7px);
    border-color: skyblue;
}

/* .checkbox-wrapper.col-auto label:before{
    border-color: #747474;

}
.checkbox-wrapper.col-auto input[type=checkbox]:checked + label {
    padding-left: 1em;
    padding-right: 1em;
    color: #000;
}

.checkbox-wrapper.col-auto input[type=checkbox]:checked + label:before {
    top: 0;
    width: 100%;
    height: 2em;
    background: -webkit-repeating-linear-gradient(-45deg, #f0f8ff1f, #f0f8ff2a 3px,#b2b3b436 3px, #b2b3b436 7px);
    border-color: #747474;
} */


/* 回上頁 */
.back1,.back2{
    display: none;
    margin-right: auto;
}
.back1 i,.back2 i{
    margin-right: 0.5em;
}

/*已選擇結果*/
.form-select{
    cursor: pointer;
    font-weight: bold !important;
}

.select2-selection{
    transition: all .4s ease-in-out;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    margin: 0 5px;
    font-weight: bold;
    border: 1px solid #f4f4f4;
    box-shadow: rgba(0,0,0,.1) 0 4px 12px;
}

/*確認後打勾*/
.typeName input[type="checkbox"]::after,
.ResultTitle input[type="checkbox"]::after {
    opacity: 0;
    transition: all .4s ease;
    top: -.65em;
    left: .1em;
    font-weight: bold;
    font-size: 12px;
}

.typeName input[type="checkbox"]:checked::after,
.ResultTitle input[type="checkbox"]:checked::after {
    opacity: 1;
}


/*取消、確認按鈕*/
.save-btn:before {
    background: #18c959;
}

.cancel-btn:before {
    background: #c24b39;
}


/*頁碼*/
.paginationjs .paginationjs-pages li {
    outline: none;
}
.paginationjs .paginationjs-size-changer > select{
    outline: none;
    cursor: pointer;
    box-shadow: rgba(0,0,0,.1) 0 4px 12px;
    letter-spacing: 1px;
}

/*Nav粗體*/
.header .nav li a{
    font-weight: 600;
}

.header .top-link li a{
    font-weight: 400;
}