.warp {
  width: 100% !important;  
  position: relative;
}

.H2title h2 {
  font-family: 微軟正黑体;
  font-weight: bold !important;
  font-size: 1.8vw !important;
  color: #e3274f !important;
  border-left: solid #e3274f 15px;
  font-weight: bold !important;
  line-height: 35px;
  padding-left: 10px;  
}

.clearfix {
  clear: both;
}

@media screen and (max-width: 767px){ /*766以下手機*/
        .H2title {
          padding: 2% !important;
        }
}

/*=========================================*/

/*HEADER*/
.header {
  background: -webkit-linear-gradient(top, rgba(254,255,255,1) 0%,rgba(210,235,249,1) 100%);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.header a {
  font-family: Arial;
  font-weight: bolder;
  color: #e3274f !important;
}
.header a:hover {
  color: #6e7277 !important;
  transition-duration: 0.7s;
}

.header {
  width: 100%;
  height: 65px;
  position: fixed !important;
  top: 0;
  left: 0;
  z-index: 99 !important;
}


@media screen and (min-width: 992px){ /*992以上桌機*/
        .collapse {
          position: absolute;
          right: 7%;
        }
        .header a{
          padding: 5px 40px 5px 40px;
          font-size: 22px;
          letter-spacing: 3px;
          line-height: 38px;
          border-radius: 5px;
        }
        .header .navbar-brand {
          font-size: 32px; 
          /*line-height: 25px !important;*/
        }
        .header .nav-item a{
          padding: 5px 20px 5px 20px !important; 
        }
        .header .dropdown-item {
          font-size: 18px; 
        }
        .header .dropdown-menu {
          font-family: 微軟正黑体; 
          font-color: #35342c;
          line-height: 30px;
          color: #e3274f;
          padding: 0 !important;
        }
        .nav-link {
          font-size: 1vw!important;          
        }
    }

@media screen and (max-width: 991px){ /*991以下平板*/   
        .ARD {
          padding-left: 20px;
          margin: 0 !important;
        }
        .header {
          width: 100% !important;
          height: 75px;
        }
        .header .navbar-brand {
          font-size: 35px;
          display: inline;
        }
        .header .navbar-toggler {
          background-color: #e3274f;
          padding: 5px;
          display: inline;
        }
        .header .navbar-toggler-icon {
          
        }
        .header .nav-link {
          font-size: 22px;
          padding: 15px 0 15px 20px !important;
        }
        .header .dropdown-item {
           font-size: 20px;
           color: #35342c !important;
        }
        .header .dropdown-item:hover {
          background-color: #999 !important;
        }
        .dropdown-menu {
          font-family: 微軟正黑体; 
          color: #e3274f;
          padding: 0 !important;
          box-shadow: none !important;
          border: none !important;
        }
        .collapse {
          box-shadow: 0px 25px 20px rgba(0, 0, 0, 0.2);
          border-radius: 0 0 10px 10px;
          transition: 0.3s;
        }

        .jumbotron {
          padding-top: 10px !important;
          padding-left: 0 !important;
        }
        .jumbotron .btn{
          margin-top: 10px !important;
        }
        .navbar-collapse {
          background-color: #fff;
        }

    }

@media screen and (max-width: 767px){ /*766以下手機*/
        
        .header {
          height: 55px !important;
        }
        .header button {
          height: 35px !important;
          width: 35px !important;
          font-size: 14px;
        }
        .header .navbar-brand {
          margin: 0; 
          padding: 0;
          font-size: 26px;
        }
        .header .nav-link {
          font-size: 20px;
        }
        .header .dropdown-item {
          font-size: 18px; 
          line-height: 30px;
        }
 }


/*BANNER*/
#carouselExampleSlidesOnly {
  width: 100%;
}

.lead a {
  font-size: 22px;
  margin-top: 30px;
  padding: 12px 35px 12px 35px;
  background-color: rgba(255, 255, 255, 0.3) !important;
  border-color: #fff;
  border-style: solid;
  border-width: 3px; 
  border-radius: 0;
  color: #e3274f;
  font-family: 微軟正黑体;
  font-weight: bold;
}
/*
.lead .btn:hover {
  background-color: rgba(227, 39, 79, 0.5) !important;
  color: #35342c;
  border-color: #e3274f ;
  transition-duration: 0.5s;
  color: #fff;
}
  */

@media screen and (min-width: 992px){ /*992以上桌機*/
         .carousel-item {
          height: 400px;
         } 
         
}


@media screen and (max-width: 991px){ /*991以下平板*/
         #arouselExampleSlidesOnly {
          position: absolute;
          height: 300px;
          background: #666;
          top: -55px;
         }
 }        

@media screen and (max-width: 767px){  /*766以下手機*/
       #arouselExampleSlidesOnly {
          height: 150px;
          position: absolute;
          top: -30px !important;
         }  
}



/*置頂按鈕*/
#myUPBtn {
  z-index: 10;
  display: none; 
  position: fixed;
  border: none;
  background-color: hsla(347, 93%, 58%, 0.6);
  cursor: pointer;
}
#myUPBtn:hover {
  background-color: #fff ;
  transition:  0.5s;
}
.UUPP i {
  color: #fff;
  font-size: 50px;
}
.UUPP i:hover {
  color: #e4274f;
  transition:  0.5s;
}
#myUPBtn {
  height: 60px;
  bottom: 30px;
  right: 30px; 
  border: none;
  border-radius: 50%; 
}

@media screen and (max-width: 767px){ /*766以下手機*/
       #myUPBtn {
            height: 60px;
            bottom: 10px;
            right: 5px; 
            background-color: hsla(50, 33%, 25%, 0); 
       }
       .UUPP i {
            font-size: 40px;
            color: hsla(50, 33%, 25%, 0.75);
       }

    }

/*most灰底footer*/
.most {
  padding-top: 120px !important;
  padding-bottom: 30px;
  width: 100%;
  margin: 200px 0 0 0 !important;
  display: block;
  background: -webkit-linear-gradient(top, rgba(254,255,255,1) 0%,rgba(210,235,249,1) 100%);
}

.most img {
  border: groove 1px rgba(97,153,199,1);
  width: 100%;
  height: 120% !important;
}

.most .card {
  padding: 0;
}

.contactinfo h3 {
  font-family: 微軟正黑体;
  color: #e4274f;
  font-weight: bold;
  font-size: 28px;
  padding-bottom: 10px;
}

.contactinfo h5 {
  font-family: 微軟正黑体;
  color: #444;
  font-size: 19px;
  line-height: 34px;
}

.contactinfo i {
  color: #e4274f;
  padding-right: 5px;
}


@media screen and (min-width: 992px){ /*992以上桌機*/
       .card-deck01 {
        margin-right: 5%;
       }
        .card-deck01 .card{
        float: left;
        margin-right: 5%; 
       }
       .contactinfo {
        float: left;
        margin-left: 2%;
       }
     
    }
@media screen and (max-width: 992px){ /*991以下平板*/
       .pic {
         height: 300px;
        }
        .card-deck01 {
          float: left;
        }
        .card-deck01 .card{
          margin-bottom:20px; 
        }
        .contactinfo {
          float: left;
        }
        .contactinfo h5 {
          font-size: 22px;
          line-height: 40px;
        }

    }
@media screen and (max-width: 767px){ /*766以下手機*/
       .pic {
         height: 300px;
        }
        .most .container {
          float: left;
          padding-left: 20px;
        }
        .contactinfo {
          padding: 0 30px 0 40px !important;
        }
        .contactinfo h5 {
          font-size: 18px;
          line-height: 30px;
        }
        .most .container {
          display: none;
        }
    }


/*footer*/
.footer { 
  padding: 0 !important;
  margin: 0!important;
  background-color: #fff;
  height: 60px; 
  text-align: center;
  margin-bottom: 0; 
  bottom: 0;
}
.footer p {
  padding-top: 18px;
  color: #444;
}

/*=========================================*/




/*船班資訊TAB*/

.ship_ship {
  /*margin: auto; */
  margin-top:100px;
}

.icon {
  padding-right: 7px;
}

.ship_tab {
  border-bottom-style: 5px solid #555; 
}

.ship_ship_a {
  font-family: 微軟正黑体;
  font-size: 18px !important;
  font-weight: bold;
  color: #555;
  letter-spacing: 3px;
  margin-right: 10px;
  border-top: solid 1px #555 !important;
  border-right: solid 1px #555 !important;
  border-left: solid 1px #555 !important;
  border-bottom: solid 5px #555 !important; 
  border-radius: 10px 10px 0 0 !important; 
}

.ship_tab .active {
  background: linear-gradient(#3a679f, #2c88d9 50%, #227ecc 50%, #6bade2);
  color: #fff !important;
}

.ship_tab_word {
  padding: 50px;
  background: linear-gradient(to top, #D2EBF9, #fff); 
  border-radius: 0 0 30px 30px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
}

.ship_tab_word h3 {
  font-family: 微軟正黑体;
  font-size: 35px;
  font-weight: bold;
}

.times {
  margin: 30px;
  width: 95%;
  border-width: 1px; 
  border-style: solid;
  border-color: #ccc;
}

.times tr {
  font-family: Arial;
  font-size: 18px;
  line-height: 30px;
  color: #fff;
  height: 35px;
  border-width: 1px; 
  border-style: solid;
  border-color: #ccc;
}

.times td {
  border-width: 1px; 
  border-style: solid;
  border-color: #ccc;
}

.ship_tab_word p {
  line-height: 27px;
  font-family: 微軟正黑体;
  font-size: 18px;
}

@media screen and (max-width: 992px){ /*991以下平板*/
       .ship_ship {
        padding-top: 10px;
       }
       .times tr {
        font-size: 15px;
       }
       .ship_tab_word h3 {
        font-size: 25px;
       }
       .ship_tab_word p {
        font-size: 16px;
       }
    }

@media screen and (max-width: 767px){ /*766以下手機*/
  .ship_ship {
    /*margin-top:500px !important;*/
    margin-top: 180px !important;
  }
        .ship_ship_a {
        font-family: 微軟正黑体;
        font-size: 14px !important;
        font-weight: bold;
        color: #555;
        margin-right: 2px;
        padding: 8px 3px 8px 5px !important;
       }
       .icon {
        padding-right: 0;
       }
       .ship_tab_word {
        padding: 30px;
       }
       .times {
        margin: 0 0 30px 0;
       }
       .times tr {
        line-height: 30px;
        color: #000;
        height: 35px;
       }

    }