/* 與因材網相同 */
/* ModalBox */

.ModalBox,
.ModalBoxBig {
    display: none;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

.modalBoxRecommend {
    /*display: none;*/
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

.ModalBox {
    z-index: 11;
}

.ModalBoxBig {
    z-index: 10;
}

.ModalBoxContent {
    background: rgb(255, 255, 255);
    border-radius: 5px;
    transition: all .8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: absolute;
    max-height: 80vh;
    max-width: 80vw;
    padding: 40px 20px 20px 20px;
    opacity: 1;
    overflow: auto;
    display: flex;
}

.ModalBoxButton {
    margin: 10px;
}

.trigger {
    background: transparent;
    border: none;
    color: #808080;
    font-size: 30px;
    right: 10px;
    top: 10px;
    position: absolute;
    cursor: pointer;
    transition: all .3s;
}

.trigger:hover {
    color: #c60d1f;
}

.ModalBoxDetailTitle {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
}

.ModalBoxDetailButton,
.ModalBoxDetailBigButton {
    display: flex;
    justify-content: center;
}


/* 下拉多選樣式 */

.multiselectArea * {
    vertical-align: top;
}

.multiselectArea .optionSelected {
    box-sizing: border-box;
    border: 1px solid #999;
    width: 400px;
    background-image: url("../images/product-select.png");
    margin: 0px;
    min-width: 80px;
    background-repeat: no-repeat;
    background-position: 98% 55%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 3px 27px 3px 5px;
    color: #636363;
    min-height: 34px;
    height: auto;
    margin-bottom: 5px;
    background-color: #fff;
    border-radius: 5px;
}

.multiselectArea .options {
    border: 1px solid #999;
    list-style-type: none;
    padding: 0px;
    margin-top: 2px;
    max-height: 200px;
    overflow-y: scroll;
}

.multiselectArea .options li {
    line-height: 34px;
    padding-left: 5px;
    padding-right: 5px;
}

.condition .multiselectArea .options li {
    line-height: 34px;
    padding-left: 5px;
    padding-right: 15px;
}

.multiselectArea .options input[type=checkbox] {
    zoom: 1.5;
    vertical-align: middle;
    margin-right: 5px;
}

.multiselectArea .tag {
    font-size: 17px;
    border: 1px solid #666;
    display: inline-block;
    margin: 3px 5px 5px 5px;
    padding: 3px 5px;
    border-radius: 3px;
    cursor: pointer;
    height: 28px;
    display: inline-flex;
    align-items: center;
}

.multiselectArea .tag i {
    margin-left: 5px;
    cursor: pointer;
}

.multiselectArea .deleteAll {
    display: block;
    width: 100%;
    text-align: right;
}

.multiselectArea .deleteAll i {
    margin: 3px;
    cursor: pointer;
    font-size: 1.2rem;
}

.search {
    position: relative;
}

.search_data {
    margin: 5px auto;
    padding-left: 5px;
    width: 100%;
    min-height: 34px;
    font-size: 19px;
}

.clear-btn {
    width: 45px;
    height: 34px;
    position: absolute;
    top: 15px;
    right: 5px;
    font-size: 15px;
}

.condition .search {
    position: relative;
    width: 100%;
}

.condition .search_data {
    margin-top: 15px;
    margin-bottom: 5px;
    padding-left: 5px;
    width: 100%;
    min-height: 34px;
    font-size: 19px;
}

.condition .clear-btn {
    width: 45px;
    height: 34px;
    position: absolute;
    top: 15px;
    right: 10px;
    font-size: 15px;
}


/* 下拉多選樣式結束 */


/* spanNote取代tip的detal-title套件 */

.spanNote {
    position: relative;
}

.spanNote span {
    display: none;
    padding: 3px 6px;
    font-size: 16px;
    line-height: 20px;
    position: absolute;
    top: 30px;
    left: 30px;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    border-radius: 5px;
}

.spanNote:hover span {
    display: block;
}


/* 註解文字中重點文字 */

.noteWord {
    color: #6d6b6b;
    line-height: normal;
}

.noteWordYellow {
    color: #5e5e5e;
    background-image: linear-gradient(to top, #ffdc3f 50%, rgba(0, 0, 0, 0) 50.1%);
    font-weight: bold;
}
