html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
    font-family: Arial, '微軟正黑體';
}


.row {
    margin-right: 0px;
    margin-left: 0px;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*------------Reset CSS---------------*/


:root {
   --color: #00558b;
    --main: #66a6ff;

    --nav_bg: #66a6ff;
    --nav_bg_s: #66a6ff;
    --nav_co: #ffffff;
    --nav_bars: #ffffff;
    --nav_hover: #8abbff;
    --nav_hover_co: #ffffff;

    --section_1: linear-gradient(to bottom, #66a6ff 0%, #7ce0e6 50%, #ffffff 80%, #ffffff 100%);
    --carousel_box: #d1d1d1;


    --img_btn_co: #ffecc7;

    
/*    news*/
    --section_4: linear-gradient(241deg, rgba(0, 190, 203, 0.66) 40%, rgba(132, 183, 255, 0.63) 100%);

    --news_border: #ffffff;
    --news_hover: rgba(255, 255, 255, 0.27);

    --footer_bg: linear-gradient(241deg, #00a1ac 40%, #66a6ff 100%);
    --footer_co: #ffffff;
    --footer_hover_co: #ffffff;
    --copyright: linear-gradient(241deg, #00909a 40%, #599eff 100%);

    --btn:  linear-gradient(241deg, #00a6e3 40%, #00909a 100%);
    --btn_co: #ffffff;
    --btn_hover:   linear-gradient(241deg, #00909a 40%, #00a6e3 100%);
    --btn_hover_co: #ffffff;

    --btn_page_border: #66a6ff;
    --btn_page_co: #66a6ff;
    --btn_page_bg: #ffffff;

    --btn_page_h_co: #305fa0;
    --btn_page_h_bg: linear-gradient(241deg, #00909a 40%, #599eff 100%);

    --inquire_bg: #ffffff;

    --page_bg: rgba(255, 255, 255, 0.9);
    --page_banner: linear-gradient(to bottom, #66a6ff 0%, #66a6ff 50%, #66a6ff 50%, #ffffff 100%);
    --ad_box: linear-gradient(241deg, rgba(0, 144, 154, 0.84) 40%, rgba(89, 158, 255, 0.8) 100%);
    --ad_box_next: #ffffff;


}


.ad_box {
    background: var(--ad_box);
}


/*圖片按鈕顏色*/
.service:after {
    background: linear-gradient(241deg, rgba(0, 144, 154, 0.8) 40%, rgba(89, 158, 255, 0.8) 100%);
    color: #ffffff;
}


/*------------main CSS---------------*/
body {
    color: var(--color);
    line-height: 20px;
    letter-spacing: 1px;
}

h1 {
    font-size: 25px;
    line-height: 30px;
}

h2 {
    font-size: 25px;
    line-height: 30px;
}

p {
    font-size: 17px;
    line-height: 25px;
}



* {
    font-family: 微軟正黑體;
}

a {
    color: var(--color);
    cursor: pointer;
}

a:hover {
    color: var(--color);
    text-decoration: none;
}




@media only screen and (max-width: 992px) {
    h1 {
        font-size: 20px;
        line-height: 20px;
    }

    p {
        font-size: 15px;
        line-height: 22px;
    }
}


/*-----------@button-----------*/
.button-main {
    width: 120px;
    background-color: var(--btn);
    /*color: var(--btn_co);*/
	color: #009cff;
    -webkit-transition: 0.3s;
    border-radius: 50px;
    transition: 0.5s;
    padding: 7px;
    margin: 5px;
    cursor: pointer;
    border: solid 2px var(--btn);
    letter-spacing: 2px;
    font-family: Microsoft JhengHei;
    font-size: 20px;
    font-weight: bolder;

}

.button-main:hover {
    background-color: var(--btn_hover);
    /*color: var(--btn_hover_co);*/
}

/*-----------@button_2-----------*/
.button_2 {
    /*width: 120px;*/
    background-color: var(--btn_page_bg);
    color: var(--btn_page_co);
    -webkit-transition: 0.3s;
    border-radius: 50px;
    transition: 0.5s;
    padding: 7px;
    margin: 5px 15px;
    cursor: pointer;
    border: solid 2px var(--btn_page_border);
    letter-spacing: 2px;
    font-weight: 900;

}

.button_2:hover {
    background-color: var(--btn_page_h_bg);
    border: solid 2px var(--btn_page_h_bg);
    color: var(--btn_page_h_co);
}


/*------------------
-------@navbar------
-----------------*/

/*---------@navbar-color---------*/
.navbar {
    background: var(--nav_bg);
    background: #66a6ff;
}



.navbar .navbar-nav {
    background: var(--nav_bg_s);
}

.navbar .navbar-nav .nav-item a {
    color: var(--green_dark);
    color: #00558b;
    font-weight: 900;
}

.navbar .fa-bars {
    color: var(--nav_bars);
}

.navbar .nav-item:hover {
    background-color: var(--nav_hover);
    color: var(--nav_hover_co);
}

.navbar .nav-item:hover a {
    font-weight: 900;
}



/*---------@navbar-position--------*/
.navbar {
    padding: 10px 0px;
}

.navbar .nav-item {
    transition: .5s;
    padding: 10px 20px;
}

.navbar-brand img {
    width: 110px;
    padding: 0px;
    margin-left: 50px;
}


@media only screen and (min-width: 992px) {
    .navbar-brand {
        margin-right: -20px;
        z-index: 999;
        border-radius: 10px;
    }



    .navbar-brand_top img {
        width: 90px;
        transition: .5s;
    }

    .navbar-brand_top {
        position: absolute;
        top: 0px;
        border-radius: 0px;
        transition: .5s;
        padding: 0px;
    }

    .collapse_top {
        transition: .5s;
        margin-top: -10px;
    }
}



@media only screen and (max-width: 992px) {
    .navbar {
        padding: 0px;
        text-align: center;
    }

    .navbar-brand img {
        width: 60px;
        margin-left: 10px;
    }


    .navbar .container {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }

    .navbar .nav-item {
        transition: .5s;
        padding: 5px;
    }
}






/*------------------
-------@section_1------
-----------------*/

/*----------@section_1-color-------------*/
.section_1 {
    background: var(--section_1);
    background: linear-gradient(to bottom, #66a6ff 0%, #7ce0e6 50%, #ffffff 80%, #ffffff 100%);
}

.carousel {
    box-shadow: 3px 3px 3px var(--carousel_box);
}


.fa-chevron-left,
.fa-chevron-right {
    color: var(--main);
}

.hr_color {
    border: 0;
    height: 5px;
    background: var(--main);
}


/*----------@section_1_position----------*/

.section_1 {
    padding: 0px;

}


.fa-chevron-left,
.fa-chevron-right {
    font-size: 30px;
}

@media only screen and (max-width: 992px) {
    .container-fluid .container {
        width: 100%;
        padding-right: 0px;
        padding-left: 0px;
    }

    .fa-chevron-left,
    .fa-chevron-right {
        font-size: 20px;
    }

    .hr_color {
        display: none;
    }
}








/*------------------
-------@section_2------
-----------------*/


/*----------@section_2-color-------------*/
.section_2 {
    box-shadow: 3px 3px 3px var(--carousel_box);

}





/*----------@section_2_position----------*/
.section_2 .title {
    padding: 30px 0px 10px 0px;
}

@media only screen and (max-width: 992px) {
    .section_2 .title {
        padding: 10px 0px;
    }
}




/*------------------
-------@section_3------
-----------------*/


/*----------@section_3-color-------------*/


.section_2 {
    box-shadow: 3px 3px 3px var(--carousel_box);

}


/*----------@section_3_position----------*/
.product {
    transition: .5s;
}

.product:hover {
    transform: scale(1.1)
}



/*------------------
-------@section_5------
-----------------*/

/*----------@section_5-color-------------*/
.service:after {
    background-color: rgba(108, 168, 147, 0.6);
    color: white;
}

/*----------@section_5_position----------*/

.section_5,
.section_5 .row,
.section_5 .row .col-lg-4 {
    padding: 10px;
}

.section_5 img {
    width: 100%;
}

.service {
    overflow: hidden;
    text-align: center;
    cursor: pointer;
}

.service img {
    transition: 1s;
}

.service:hover img {
    transform: scale(1.2);
    opacity: .6;
}

.service_1:after {
    content: '服務項目_1';
}

.service_2:after {
    content: '服務項目_2';
}

.service_3:after {
    content: '服務項目_3';
}


.service:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80%;
    height: 80%;
    font-size: 25px;
    line-height: 250px;
    z-index: 1;
    transition: 0.5s;
    margin-left: 10%;
    margin-bottom: 10%;
    transition-timing-function: cubic-bezier(.99, .81, .12, 1);
    opacity: 0
}

.service:hover::after {
    opacity: 1
}




/*------------------
-------@section_4------
-----------------*/


/*----------@section_4-color-------------*/
.section_4 {
    background: var(--section_4);
    background: linear-gradient(241deg, rgba(0, 190, 203, 0.66) 40%, rgba(132, 183, 255, 0.63) 100%);
}

.news {
    border: solid 2px var(--news_border);
    border: solid 2px #fff;
}

.news_list {
    border-bottom: dashed 1px var(--news_border);
}

.news_list:hover {
    background-color: var(--news_hover);
}


/*----------@section_4_position----------*/
.section_4 .title {
    padding: 10px 0px 20px 10px;
}

.news {
    padding: 15px 20px;
    border-radius: 10px;
}

.news_list {

    padding: 8px;
    cursor: pointer;
    transition: 1s;
}

.news_date {
    font-weight: 900;
}

.news_date,
.news_con {
    padding: 5px 0px;
}

@media only screen and (max-width: 992px) {
    .section_4 .text-right {
        text-align: center !important;
    }

    .section_4 .part,
    .section_4 .part2 {
        padding: 0px;
    }

    .section_4 .title {
        text-align: center;
    }
}


.contact {
    padding: 44px 20px;
    border-radius: 10px;
}



.section_4 .fa-phone,
.section_4 .fa-envelope {
    width: 250px;
    font-size: 20px;
    padding: 10px;
    border-radius: 7px;
}

.open_time {
    font-size: 19px;
}

.section_4 iframe {
    width: 100%;
    height: 100%;
}

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

    .section_4 .part {
        padding: 15px;
    }
}



/*------------------
-------@footer------
-----------------*/


/*----------@footer-color-------------*/

.footer {
    background: var(--footer_bg);
    background: linear-gradient(241deg, #00a1ac 40%, #66a6ff 100%);
}


.footer a {
    color: var(--footer_co);
    color: #fff;
}

.footer a:hover {
    color: var(--footer_hover_co);
    transform: scale(1.2)
}

.footer_hr {
    background: var(--footer_co);
    background: #fff;
}

.address {
    color: var(--footer_co);
    color: #fff;
}



.fa-facebook:hover {
    color: white;
    transform: scale(1.2)
}

.fa-instagram:hover {
    color: white;
    transform: scale(1.2)
}

.fa-youtube:hover {
    color: white;
    transform: scale(1.2)
}

.fa-line:hover {
    color: white;
    transform: scale(1.2)
}

.copyright {
    background: var(--copyright);
    color: var(--footer_co);
    background:linear-gradient(241deg, #00909a 40%, #599eff 100%);
    color:#ffffff;
}





/*----------@footer_position----------*/
.footer {
    padding: 20px 0px;
}

.footer .logo {
    width: 18%;
    min-width: 120px;
    max-width: 180px;
}

.footer a {
    line-height: 30px;
    transition: .5s;
}



.footer_hr {
    border: 0;
    height: 1px;
}

.address {
    padding: 18px 0px;
    font-size: 18px;
    line-height: 30px;
}

.fa-facebook,
.fa-instagram,
.fa-line,
.fa-youtube {
    font-size: 40px;
    padding: 10px;
    transition: .5s;

}

.copyright {
    padding: 8px 0px;
    font-size: 15px;
    font-weight: 100;
}



/*------------------
-------@about_us------
-----------------*/

.page_about {
    padding: 0px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    overflow: hidden;
    padding: 100px 50px;
}

.cont_box {
    width: 80%;
    margin: auto;
    background: var(--page_bg);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    padding: 50px 30px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.9);
}

@media only screen and (max-width: 992px) {
    .page_about {
        padding: 50px 10px;
    }

    .cont_box {
        width: 90%;
        padding: 30px;
    }
}


/*------------------
-------@product------
-----------------*/


.page_banner {

    background: var(--page_banner);
    background: linear-gradient(to bottom, #66a6ff 0%, #66a6ff 50%, #66a6ff 50%, #ffffff 100%);
    text-align: center;
    padding: 0px;
}

.page_banner .banner_img {
    height: 300px;
    overflow: hidden;
}

.page_banner .banner_img img {
    width: 100%;
}

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

    .page_banner .banner_img {
        height: auto;
        overflow: hidden;
    }
}

.product_box {
    padding: 10px;
    border: solid 1px var(--main);
    border: solid 1px #66a6ff;
    margin: 20px 10px;
    transition: .5s;

}

.product_box:hover {
    box-shadow: 0px 0px 10px var(--carousel_box);
}

.product_box img {
    width: 100%;
}

.product_name span {
    font-weight: 900;

}

@media only screen and (max-width: 992px) {
    .product_box {
        margin: 5px;
    }

    .product_container .col-lg-3,
    .product_container .col-6 {
        padding: 5px;
    }
}

/*------------------
-------@product_page------
-----------------*/
.product_photo img {
    width: 100%;
}

.product_photo {
    border: solid 1px var(--main);
    border: solid 1px #66a6ff;
}


.tab-pane {
    padding: 10px;
}


/*詢價車*/
.modal-content {
    border-radius: 10px;
    overflow: hidden;
    border: solid 2px var(--main);
}

.modal-content .close {
    color: white;
    opacity: 1;
    font-size: 25px;
}

.modal-content .close:hover {
    opacity: .8;
}

.modal-header {
    background-color: var(--main);
    padding: 10px;
}

.modal-title {
    font-weight: 400;
    font-size: 22px;
    color: white;

}

.product_title {
    border-bottom: solid 1px;
    font-weight: 500;
    font-size: 18px;

}

.modal-body table td {
    padding: 10px 5px;
}

.modal-body table th {
    padding: 5px;
}


.product_name {
    width: 70%;
}

.modal-body table {
    width: 100%;
}

.remove_icon i:hover {
    cursor: pointer;
    transform: scale(1.2)
}

.remove_icon i {
    transition: .5s
}

.remove_icon {
    width: 30%;
    text-align: center;
}



/*------------------
-------@news------
-----------------*/


.news_box {
    border: solid 2px var(--main);
    padding: 15px 20px;
    border-radius: 10px;
    margin: auto;
}

/*------------------
-------@course------
-----------------*/


.course_box {
    overflow: hidden;
    padding: 20px;
}

.course_box img {
    width: 100%;

}

.course_box span {
    font-weight: 900;
    font-size: 20px;
    line-height: 40px;
}

/*------------------
-------@contect------
-----------------*/

.contect_form {
    width: 80%;
    margin: auto;
}

.cont_address {
    padding: 20px 0px;
    margin: auto;
    width: 50%;
    border-top: dashed 1px var(--main);
    line-height: 28px;
}

@media only screen and (max-width: 992px) {
    .cont_address {
        width: 100%;
    }

    .contect_form {
        width: 100%;
        margin: auto;
    }
}


.page_contact {
    padding: 0px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    overflow: hidden;
    padding: 50px 50px 80px 50px;
}


@media only screen and (max-width: 992px) {
    .page_contact {
        padding: 20px 10px;
    }
}


/*------------------
-------@inquirement------
-----------------*/

.inquire_item {
    width: 50%;
    padding: 10px;
    background: var(--inquire_bg);
    margin: 10px;
    margin: auto;
    border-radius: 10px;
    border: solid 1px var(--main);
    border-top: solid 4px var(--main);
    border-bottom: solid 4px var(--main);

}


.inquire_item th,
.inquire_item td {
    padding: 10px;
}

.inquire_form {
    width: 90%;
}

@media only screen and (max-width: 992px) {
    .inquire_item {
        width: 100%;
    }
}
