/* Get Quote */



/******** Style for Lightbox Module ********/

/* To override file/template/1/style.css: html:not(.lt-ie9) *:hover */
html:not(.lt-ie9) .modal.get-quote *:hover {
    transition-property: none;
}

.modal.get-quote {
    overflow: hidden;
}

#header.transparent-header + #content .modal.get-quote .modal-content {
    top: 18vh;
    top: 2vh;
}

.modal.get-quote .modal-header {
    padding: 11px 15px 11px 17px !important;
}

.modal.get-quote .modal-title,
.modal.get-quote .modal-footer {
    text-align: center;
}

.modal.get-quote .modal-title {
    color: #134576;
    font-size: 2.7em !important;
    letter-spacing: -0.01em;
}

.modal.get-quote .modal-title > small {
    display: block;
    margin: 1% 0 3% !important;
    margin: 0.6% 0 3% !important;
    font-size: 0.35em;
    letter-spacing: -0.001em;
}

.modal.get-quote .modal-body {
    max-height: 50vh;
    border-top: 1px solid #e5e5e5;
    overflow: auto;
}

.modal.get-quote .modal-footer .btn {
    font-size: 1.2em;
    font-weight: 500;
    min-width: auto;
    background-color: #85c12f !important;
    border: 0;
    border-radius: 5px;
    margin: 2% 0 1%;
    padding: 0.8em 2em;
}

.modal.get-quote .modal-footer .btn:hover {
    background-color: #a0e228 !important;
}

/* Accordion */

.modal.get-quote .panel-group {
    margin: 10px 5px;
}

.modal.get-quote .panel {
    border: 2px solid #d7d9db;
    border-radius: 6px;
    margin-bottom: 0;
}

.modal.get-quote .panel:not(:last-child) {
    margin-bottom: 10px;
}

.modal.get-quote .panel-title {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 1.3em !important;
    line-height: 2em !important;
}

.modal.get-quote .panel-title > a {
    flex-grow: 1;
}

.modal.get-quote .panel-title > a:hover {
    color: inherit;
}

.modal.get-quote .panel-title > a:not([href]) {
    cursor: text;
}

.modal.get-quote .panel-title > a > span.fa-minus,
.modal.get-quote .panel-title > a > span.fa-plus {
    margin-right: 10px;
}

.modal.get-quote .panel-title > a > span.fa-caret-down {
    margin-left: 10px;
}

.modal.get-quote .panel-title > span {
    display: none;
}

.modal.get-quote .panel.in .panel-title > span {
    display: inline;
    position: relative;
    top: -2px;
}

.modal.get-quote .panel-title > span > .btn {
    font-size: 0.65em !important;
    min-width: auto;
    color: #fff;
    background-color: transparent;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 5px;
    /*opacity: 0.85;*/
    transition: all 0.2s linear 0s;

    border: 2px solid rgba(255,255,255,.4);
}

.modal.get-quote .panel-title > span > .btn:hover {
    opacity: 1;
    background-color: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,1);
    transition: all 0.2s linear 0s;

    border: 2px solid rgba(255,255,255,.8);
    background-color: rgba(199,234,253,.3);
}

.modal.get-quote .panel-title > span > .btn:last-child {
    margin-left: 15px;
}

.panel-default > .panel-heading {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
    transition: all 0.2s linear 0s;
  }

.modal.get-quote .panel-heading:hover {
    background-color: #e9e9ea;
    transition: all 0.2s linear 0s;
    background-color: #dceff9;
    background-color: #dbe6f4;
    background-color: #e2eaf4;
}


.modal.get-quote .panel-title > span > .btn > span.fa::before {
    font-size: 1.3em;
    top: 1px;
    padding-left: 20%;
    opacity: 0.85;
    transition: all 0.2s linear 0s;
    display: inline-block;
    margin-left: 3px;
}

.modal.get-quote .panel-heading .fa::before,
.modal.get-quote .panel-heading .icon-line-minus,
.modal.get-quote .panel-heading .icon-line-plus {
    font-size: 1.3em;
    font-size: 1em;
    position: relative;
    top: 1px;
    opacity: 0.8;
    transition: all 0.2s linear 0s;
}

.modal.get-quote .panel-heading .fa.fa-plus::before {
    opacity: 0.5;
    transition: all 0.2s linear 0s;
}

.modal.get-quote .panel-heading .icon-line-minus,
.modal.get-quote .panel-heading .icon-line-plus {
    position: relative;
    margin-right: 1%;
    font-size: 1.1em;
    top: 2px;
    font-size: 1em;
    top: 1px;
}

.modal.get-quote .panel-heading .fa.fa-caret-down::before {
    opacity: 0.5;
    margin-left: 3px;
  }

.modal.get-quote .panel-heading .fa:hover::before,
.modal.get-quote .panel-heading .fa.fa-plus:hover::before,
.modal.get-quote .panel-heading .icon-line-minus:hover,
.modal.get-quote .panel-heading .icon-line-plus:hover,
.modal.get-quote .panel-title > span > .btn:hover > span.fa::before {
    opacity: 1;
    transition: all 0.2s linear 0s;
}

.modal.get-quote .panel.in,
.modal.get-quote .panel.in > .panel-heading + .panel-collapse > .panel-body {
    border-color: #134576;
}

.modal.get-quote .panel.in > .panel-heading {
    color: #fff;
    background-color: #134576;
}

/* Carousel */

.modal.get-quote .carousel {
    padding: 0 25px;
}

.modal.get-quote .carousel-inner > .item.active {
    display: flex;
    flex-wrap: wrap;
}

.modal.get-quote .carousel-inner label {
    box-sizing: border-box;
    width: calc(33.33333333% - 0.4% - 2px);     /* 3-column */
    padding: 2%;
    margin: 0.2%;
    flex-direction: column;
    display: flex;
    align-items: center;
    float: left;
    transition: all 0.2s linear 0s;
    color: #555;
    border: 1px solid transparent;
    border-radius: 5px;
}

.modal.get-quote .carousel-inner label:hover {
    color: #0080b1;
    border: 1px solid #0080b1;
    border-radius: 5px;
    transition: all 0.2s linear 0s;
}

.modal.get-quote .carousel-inner label::before {
    display: inline-block;
    content: '';
    height: 0;
    vertical-align: bottom;
}

.modal.get-quote .carousel-inner label > img {
    display: block;
    filter: brightness(100%) contrast(100%);
    padding: 1% 5% 1% 5%;
    transition: all 0.2s linear 0s;
}

.modal.get-quote .carousel-inner label:hover > img {
    filter: brightness(130%) contrast(120%);
    transition: all 0.2s linear 0s;
}

.modal.get-quote .carousel-inner label > .get-quote-checkbox {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 10px 0 0 0;
    margin: 8px 0 0 0;
    margin: 6px 0 0 0;
}

.modal.get-quote .carousel-inner label > .get-quote-checkbox > span {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: -0.01em;
    transition: all 0.2s linear 0s;
}

.modal.get-quote input[type=radio],
.modal.get-quote input[type=checkbox] {
    margin: 0px 2px 0 0 !important;
    margin-top: 1px \9;
    line-height: normal;
    position: relative;
    top: -1px;
}

.modal.get-quote .carousel-control {
    width: 15px;
    height: auto;
    color: #83868b;
    background: transparent;
    opacity: .75;
    opacity:1;
    text-shadow: none;
    transition: all 0.2s linear 0s;
    top: 50%;
    height: 28px;
    height: 28px;
}

.modal.get-quote .carousel-control.disabled {
    display: none;
}

.modal.get-quote .carousel-control > .fa {
    position: absolute;
    bottom: 50%;
    font-size: 1.54em;
    color: #006399;
    transition: all 0.2s linear 0s;
    bottom: 85%;
    top: -14%;
    bottom: unset !important;
    top: -59%;
}

.modal.get-quote a.carousel-control:hover span.fa::before {
    color: #0080b1;
    color: #00b4f1;
    transition: all 0.2s linear 0s;
  }

.modal.get-quote .carousel-control.left > .fa {
    left: 0;
}

.modal.get-quote .carousel-control.right > .fa {
    right: 0;
}

a.carousel-control.left {
    left: 1%;
  }

  a.carousel-control.right {
    right: 1%;
  }


  


/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    #header.transparent-header + #content .modal.get-quote .modal-content {
    top: 20vh;
    top: 3vh;
    }

    .modal.get-quote .close {
    font-size: 30px;
    position: absolute;
    right: 10px;
    top: -35px;
    opacity: .5;
    top: -40px;
    }

    .modal.get-quote .close > span {
    background-color: #fff;
    width: 1em;
    height: 1em;
    display: inline-block;
    border-radius: .5em;
    }

    .modal.get-quote .modal-content {
    padding: 1.5% 15px 3.5% !important;
    padding: 1.5% 15px 3% !important;
    }

    .modal.get-quote .panel-title {
    align-items: center;
    flex-direction: row;
    }

    .modal.get-quote .panel-group {
    margin: 20px 15px;
    }

    .modal.get-quote .panel:not(:last-child) {
    margin-bottom: 20px;
    margin-bottom: 15px;
    }

    .modal.get-quote .panel.panel-default.in:not(:last-child) {
    margin-bottom: 23px;
    box-shadow: 1px 3px 3px rgba(0,0,0,.15);
    box-shadow: 1px 3px 2px rgba(0,0,0,.11);
    }

    .modal.get-quote .carousel-inner label {
    width: calc(16.66666667% - 0.4% - 2px);     /* 6-column */
    }
}


/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .modal.get-quote .carousel-inner label {
    width: calc(14.28571428% - 0.4% - 2px);     /* 7-column */
    }
}

/* iPhone 8 (portrait) or above */
@media (min-height: 667px)  {
    .modal.get-quote .modal-body {
    max-height: 51vh;
    }
}

/* iPhone 8 Plus (portrait) or above */
@media (min-height: 736px)  {
    .modal.get-quote .modal-body {
    max-height: 59vh;
    }
}

/* iPad 8 (landscape) or above */
@media (min-height: 834px)  {

    .modal.get-quote .carousel-inner {
    left: 8px;
    left: 1%;
    }

    #header.transparent-header + #content .modal.get-quote .modal-content {
    top: 0;
    /*top: 2vh;*/
    }

    .modal.get-quote .modal-body {
    max-height: 61vh;
    max-height: 55vh;
    max-height: 53.5vh;
    }
    
}



/* 1920 以上 */
@Media (min-width: 1920px) {

    #header.transparent-header + #content .modal.get-quote .modal-content {
    top: 2vh;
    }

    .modal.get-quote .modal-body {
    max-height: 61vh;
    max-height: 53vh;
    }

}


/* 2000 以上 */
@Media (min-width: 2000px) {

    #header.transparent-header + #content .modal.get-quote .modal-content {
    top: 3vh;
    top: 2vh;
    }

}




/* Bowei 筆電寬螢幕 */
@Media (min-width: 1281px) and (max-width: 1366px) { 

    #header.transparent-header + #content .modal.get-quote .modal-content {
    top: 3.5vh;
    top: 2vh;
    }

    .modal.get-quote .modal-header {
    padding: 5px 15px 10px 17px !important;
    }

    .modal.get-quote .modal-content {
    padding: 1.5% 15px 1% !important;
    }

    .modal.get-quote .modal-body {
    max-height: 50vh;
    max-height: 52vh;
    }

    .modal.get-quote .modal-title > small {
    margin: 0.1% 0 3% !important;
    }

    .modal.get-quote .panel-heading {
    padding: 8px 15px !important;
    padding: 6px 15px !important;
    }

    .modal.get-quote .panel.panel-default.in:not(:last-child) {
    margin-bottom: 20px;
    }

}


/* 若裝置本身解析度放大 = 125% */
@media (-webkit-min-device-pixel-ratio: 1.25) { 

    #header.transparent-header + #content .modal.get-quote .modal-content {
    top: 4vh;
    }

    .modal.get-quote .modal-body {
    max-height: 53vh;
    }

    .modal.get-quote .panel-heading {
    padding: 5px 15px;
    }

    .modal.get-quote .panel.panel-default.in:not(:last-child) {
    margin-bottom: 20px;
    }

}


/* 480 以下 */
@Media (max-width: 480px) {

    #header.transparent-header + #content .modal.get-quote .modal-content {
    top: 2vh;
    }

    .modal.get-quote .modal-body {
    max-height: 56vh;
    }

}
