/* 0905以下新增 */
/* navBarLogo */
#menu .wrap .cayin_logo {
    width: 146px;
}

.btn--link {
    position: relative;
    display: inline-block;
    background: rgb(0, 160, 233);
    background: var(--gradient-color);
    color: #fff;
    padding: 8px 32px 8px 32px;
    border-radius: 50px;
    margin-top: 12px;
    font-weight: 500;
    z-index: 1;

    border: none !important;
}


.w3-row-padding {
    display: flex;
    flex-wrap: wrap;
}

#MainWrap .container {
    width: 100%;
    padding: 0;
}

.container .w3-row-padding .SMPcompareBox {
    width: 25%;
    float: none;
}

.productImg {
    width: 100%;
}

@media only screen and (max-width: 768px) {
    .container .w3-row-padding .SMPcompareBox {
        width: 50%;
    }
}


.finalButton .box {
    margin-bottom: 0;
    margin: unset;
}


/*-------------finalButton開始-----------------*/
.finalButton {
    margin: 0;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    background-color: #e7e7e7;
    padding-top: 1%;
    padding-bottom: 2%;
}

.finalButton .contents {
    max-width: 1200px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 2% 0 5% 0;
}

.finalButton .contents .box {
    width: 20%;
    height: auto;
    padding: 20px;
    text-decoration: none;
    box-sizing: border-box;
    text-align: center;
}

.finalButton .contents .box h2 {
    width: 100%;
    display: block;
    color: #595959;
    line-height: 1.5em;
    margin: 15px 0 2px 0;
    text-align: center;
}

.finalButton .contents .box .Photo {
    width: 100%;
    height: auto;
    color: #595959;
}

.finalButton .contents .box span {
    width: 100%;
    display: block;
    color: #595959;
    text-align: center;
}

.finalButton .contents .box a {
    margin-top: 5%;
    text-decoration: none;
    color: var(--primary-color);
    width: 100%;
    display: block;
    text-align: center;
}

.finalButton .contents .box a:hover {
    text-decoration: underline;
}

.index-dataSheet,
.index-brochure,
.index-needHelp,
.index-downloadTrial,
.index-orderingInfo,
.index-FAQ,
.index-needHelp,
.index-Technical-support,
.index-InstallionGide,
.index-applyTrial {
    font-size: 7em;
}

.qig_icon {
    width: 140px;
}

.small-icon .index-dataSheet,
.small-icon .index-brochure,
.small-icon .index-needHelp,
.small-icon .index-downloadTrial,
.small-icon .index-orderingInfo,
.small-icon .index-FAQ,
.small-icon .index-needHelp,
.small-icon .index-Technical-support,
.small-icon .index-InstallionGide,
.small-icon .index-applyTrial {
    font-size: 5em;
}

.small-icon .qig_icon {
    width: 100px;
}

@media only screen and (max-width: 1680px) {
    .productName span {
        max-width: 1366px;
        padding: 0 5%;
    }

    .subButtonAll {
        max-width: 1366px;
        padding: 0 5%;
    }
}

@media only screen and (max-width: 1366px) {
    .productName span {
        max-width: 1024px;
        padding: 0 5%;
    }

    .subButtonAll {
        max-width: 1024px;
        padding: 0 5%;
    }
}

/*--1024寬開始--------------------------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
    .finalButton {
        padding-top: 2%;
        padding-bottom: 0;
    }

    .finalButton .contents {
        width: 768px;
    }

    .subButtonAll a {
        font-size: 0.9em;
    }

    .subButtonAll {
        padding: 2px;
    }

    .productName span {
        width: 90%;
        max-width: 768px;
        padding: 0 2%;
    }

    .subButtonAll {
        width: 90%;
        max-width: 768px;
        padding: 0 2%;
    }
}

/*--768寬開始--------------------------------------------------------------------------------*/
@media only screen and (max-width: 768px) {

    .subButtonAll {
        column-gap: 12px;
    }

    .finalButton {
        padding-top: 9%;
        padding-bottom: 3%;
    }

    .finalButton .contents {
        width: 600px;
        margin: 20px auto;
    }

    .finalButton .contents .box {
        width: 31.33%;
        margin: 1%;
        padding: 10px;
        margin-bottom: 10%;
    }

    .productName {
        flex-direction: column;
        width: 70%;
        padding-left: 20px;
    }
}

/*--736(iphone橫)寬開始--------------------------------------------------------------------*/
@media only screen and (max-width: 736px) {
    .subButtonAll a {
        font-size: 0.85em;
        margin-left: 15px;
        padding-top: 1.5px;
    }

    .productName span {
        font-size: 1em;
        padding-top: 1.5px;
    }
}

/*--700寬開始--------------------------------------------------------------------*/
@media only screen and (max-width: 700px) {
    .subButtonAll a {
        font-size: 0.8em;
        margin-left: 10px;

    }

    .productName span {
        font-size: 0.95em;
        padding-top: 5px;
    }
}

/*--600寬開始--------------------------------------------------------------------------------*/
@media only screen and (max-width: 600px) {
    .whiteSelector {
        opacity: 1;
        height: 505px;
    }

    .subButtonAll {
        display: none;
        flex-direction: column;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
        right: 0%;
        top: 110px;
        background-color: white;
        z-index: 19;
    }

    .show {
        display: flex;
    }

    .subButtonAll a {
        margin: 0 3%;
        padding: 0;
        text-decoration: none;
        height: 34px;
        width: 94%;
        padding-top: 20px;
        text-align: center;
        border-top: 1px solid #dbdbdb;
        color: #707070;
        font-size: 0.85em;
    }

    .subButtonAll a:hover {
        text-decoration: none;
    }

    .productName span {
        /* top:70px; */
        top: 195px;
        left: 5%;
    }

    .submenuArrow {
        top: 189px;
    }

    .finalButton {
        padding-bottom: 0;
    }

    .finalButton .contents {
        width: 100%;
        margin: 20px auto;
        justify-content: center;
    }

    .finalButton .contents .box {
        /* width: 90%; */
        margin: 5% 5%;
        padding: 10px;
        margin-bottom: 10%;
    }

    .index-dataSheet,
    .index-brochure,
    .index-needHelp,
    .index-downloadTrial,
    .index-orderingInfo,
    .index-FAQ,
    .index-needHelp {
        font-size: 5em;
    }

    .finalButton2 .qig_icon {
        width: 100px;
    }
}

/* 0905以上新增 */
/*----------解決overflow-x:hidden後,平板手機滾動不順的問題---------------*/
* {
    -webkit-overflow-scrolling: touch;
}

.index-needHelp {
    font-size: 7em;
    color: #595959;
}

/*----------finalButton2-START---------------*/
.finalButton2 {
    margin: 0;
    width: 100%;
    height: auto;
    float: left;
    background-color: #e7e7e7;
    padding-top: 1%;
    padding-bottom: 3%;
}

.finalButton2 .contents {
    height: auto;
    padding: 0 5px;
    margin: 5% auto;
    box-sizing: border-box;
}

.finalButton2 .contents .box {
    width: 96%;
    height: auto;
    float: left;
    margin: 1% 2%;
    padding: 20px;
    text-decoration: none;
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 10%;
}

.finalButton2 .contents .box h2 {
    width: 100%;
    float: left;
    display: block;
    color: #595959;
    line-height: 1.5em;
    margin: 15px 0 10px 0;
    text-align: center;
}

.finalButton2 .contents .box .Photo {
    width: 100%;
    height: auto;
    float: left;
    color: #595959;
}

.finalButton2 .contents .box span {
    width: 100%;
    float: left;
    display: block;
    color: #595959;
    text-align: center;
}

.finalButton2 .contents .box .mylinks {
    float: left;
    margin-top: 5%;
    text-decoration: none;
    color: #007ed4;
    width: 100%;
    display: block;
    text-align: center;
    cursor: pointer;
}

.finalButton2 .contents .box .mylinks:hover {
    text-decoration: underline;
}

.finalButton2 .contents .box a {
    text-decoration: none;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: auto;
    text-decoration: none;
}




/*警告視窗, 已選超過超出3個產品*/
.warningModal {
    margin-top: 10%;
}

.productImg {
    max-width: 240px;
}

@media only screen and (max-width: 1024px) {
    .productImg {
        max-width: 200px;
    }
}

@media only screen and (max-width: 768px) {
    .productImg {
        max-width: 240px;
    }
}

.comparePanle {
    top: 144px;
    height: 40px;
    opacity: 1;
}

h1 {
    color: #595959;
}

h2 {
    color: #595959;
}


h4 {
    color: #595959;
}

/*這是產品說明span*/
h5 {
    display: block;
    text-align: center;
    color: #595959;
}


a {
    text-decoration: none;
}

.imgFill1 {
    width: 100%;
}

.panwidth {
    width: 80%;
}

.relPos {
    position: relative;
}

.addButtonCircular {
    width: 30px;
    height: 30px;
    line-height: 30px;
    /*position: absolute;*/
    margin: 0 auto;
    /*right: 20px;*/
    cursor: pointer;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.selected {
    /*border-style:solid !important;*/
    border-style: none !important;
    border-color: #d9d9d9 !important;
    border-width: thin !important;
    background: #edf5fd;
}

.rotateBtn {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.comparePanle {
    position: fixed;
    bottom: 10px;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    z-index: 3;
}

.product {
    list-style-type: none;
    /*border: 1px solid blue;*/
    margin: 0;
    padding: 0;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.product:hover {
    box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.2)
}

.product .header {
    background-color: #111;
    color: white;

}

.product li {
    border-bottom: 1px solid #B5B4B7;
    padding: 10px;
    text-align: center;
}

.product .grey {
    background-color: #eee;
}

/*這是跳出來的框*/
.contentPop {
    width: 98%;
    margin-left: 1%;
    height: auto;
}

.compHeader {
    min-height: 170px;
}

.compHeader img {
    max-width: 270px;
    height: auto;
}

.titleMargin {
    padding: 4px 0px 4px 4px;
}

.titleMargin1 {
    padding: 0px 0px 0px 4px;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.contents {
    width: 1200px;
    margin: 0 auto;
}

.box {

    margin-bottom: 20%;
    border-radius: 5px;
}

/*20210809*/
.marg_bottom {
    margin: 4% 0 5% 0;

}

.modal {
    z-index: 3;
    display: none;
    margin-top: 60px;
    padding-top: 100px;
    padding-bottom: 10%;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4)
}

.modPos {
    padding-top: 40px;
}

li.Inquiry a {
    color: #007ed4;
    text-decoration: none;
}

li.Inquiry a:hover {
    color: #007ed4;
    text-decoration: underline;
}

.addcoloryellow {
    color: #007ed4 !important;
}

.fas.fa-check {
    transform: scale(0.6);
}

.comparewbtn {
    background-color: #007ed4;
    color: #fff;
    border-radius: 30px;
    padding: 5px 30px;
}

.back_to_compare_btn {
    background-color: #f2f2f2;
    color: #007ed4;
    border-radius: 30px;
    padding: 5px 30px;
}

.container {
    padding: 0.01em 11px;
}

.container:after {
    content: "";
    display: table;
    clear: both;
}

a.inquiry_link {
    display: block;
    text-align: center;
    color: #007ed4;
    margin-bottom: 20px;
    text-decoration: none;
}


a.inquiry_link:hover {
    text-decoration: underline;
}

.w3-col ul {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto repeat(2, 50px) 80px repeat(5, 50px) 80px 50px 120px repeat(16, auto);
}

.w3-col ul li {
    display: flex;
    justify-content: center;
    align-items: center;
}

.list-content {
    width: 100%;
}


/*--contents1680寬開始--------------------------------------------------------------------------------*/
@media only screen and (max-width: 1680px) {
    .compHeader {
        min-height: 170px;
    }

    .compHeader img {
        max-width: 270px;
        height: auto;
    }

    .modPos {
        padding-top: 80px;
        /*20210809*/
    }
}

/*--contents1366寬開始--------------------------------------------------------------------------------*/
@media only screen and (max-width: 1366px) {
    .contents {
        width: 1024px;
    }

    .compHeader {
        min-height: 190px;
    }

    .modPos {
        padding-top: 70px;
        /*20210809*/
    }
}

/*--contents1024寬開始--------------------------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
    .contents {
        width: 768px;
    }

    .backToSelect {
        margin-top: 6%;
    }

    .compHeader {
        min-height: 145px;
    }

    .compHeader img {
        max-width: 200px;
        height: auto;
    }

    .modPos {
        padding-top: 80px;
        /*20210809*/
    }

}

/*--contents768寬開始--------------------------------------------------------------------------------*/
@media only screen and (max-width: 768px) {
    .contents {
        width: 600px;
    }

    .backToSelect {
        margin-top: 20px;
    }

    .compHeader {
        min-height: 120px;
    }

    .compHeader img {
        max-width: 170px;
        height: auto;
    }

    /*20210809*/
    .contentPop {
        margin-bottom: 1%;
    }

    .modPos {
        padding-top: 120px;
    }

    .w3-col ul {
        grid-template-rows: auto repeat(2, 50px) repeat(2, 80px) repeat(2, 50px) repeat(3, 80px) 50px 120px repeat(16, auto);
    }
}

/*--contents600寬開始--------------------------------------------------------------------------------*/
@media only screen and (max-width: 600px) {
    .contents {
        width: 100%;
    }

    .backToSelect {
        margin-top: 20px;
    }

    .warningModal {
        margin-top: 50%;
    }

    .productImg {
        max-width: 240px;
        float: left;
        box-sizing: border-box;
        width: 100%;
        height: auto;
        padding-bottom: 10px;
    }

    /*20210809*/
    .modPos {
        padding-top: 144px;
    }

    .w3-col ul {
        grid-template-rows: auto repeat(2, 50px) repeat(2, 80px) 50px repeat(3, 80px) 120px 80px 120px repeat(8, 50px) 80px repeat(5, 50px) 80px 50px;
    }
}

/*20210809*/
/*--contents 425寬開始--------------------------------------------------------------------------------*/
@media only screen and (max-width: 425px) {
    .w3-col ul {
        grid-template-rows: auto repeat(2, 50px) 120px 100px 50px repeat(3, 100px) 120px 80px 260px repeat(8, 50px) 80px repeat(3, 50px) repeat(3, 80px) 50px;
    }
}

/*--contents 320寬開始--------------------------------------------------------------------------------*/
@media only screen and (max-width: 320px) {
    .w3-col ul {
        grid-template-rows: auto repeat(2, 80px) 160px 120px 50px 100px repeat(2, 120px) 140px 100px 280px 100px repeat(7, 50px) 100px 50px 80px 50px repeat(2, 80px) 100px 80px;
    }

    .small-icon .index-dataSheet,
    .small-icon .index-brochure,
    .small-icon .index-needHelp,
    .small-icon .index-downloadTrial,
    .small-icon .index-orderingInfo,
    .small-icon .index-FAQ,
    .small-icon .index-needHelp,
    .small-icon .index-Technical-support,
    .small-icon .index-InstallionGide,
    .small-icon .index-applyTrial {
        font-size: 3em;
    }
}

@media only screen and (max-width: 992px) {
    .box {
        margin: auto;
        margin-bottom: 20%;
    }
}


@media only screen and (max-width:992px) {
    .titleMargin {
        padding: 4px 0px 0px 4px;
    }

    .titleMargin1 {
        padding: 0px 0px 0px 4px;
        margin-top: 0px !important;
        margin-bottom: 0px !important;
    }
}


@media only screen and (max-width:600px) {
    .compareThumb {
        height: 100px;
    }

    .compHeader {
        min-height: 65px;
    }

    .compHeader img {
        max-width: 75px;
        height: auto;
    }
}

@media only screen and (min-width:993px) {
    .comparePanle {
        position: fixed;
        bottom: 10px;
        width: 50%;
        left: 50%;
        transform: translateX(-50%);
        display: none;
        z-index: 3;
    }
}