/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 2018/9/19, 下午 03:30:16
    Author     : Print
*/

@import url(//fonts.googleapis.com/earlyaccess/notosanstc.css);
body{
    font-family: 'Noto Sans TC', sans-serif;
}

.top_level_hr {
    height: 2px;
    background-color:#86CAB5;
    margin-top: 20px;
    margin-bottom: 20px;
}
/* add for small device table show */
#ajax_content th, #ajax_content td {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .swiper-slider {
        height: 50vh;
        margin-bottom: 250px;
        overflow: visible;
    }
    .main-ad-content {
        position: fixed;
        text-align: center;
        top: 50vh;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-top: 20px;
    }
    .news-slider {
            height: 450px;
    }
}

@media (min-width: 769px) {
    .swiper-slider {
        height: 75vh;
    }
    .main-ad-content {
        text-align: center;
        font-size: 24px;
    }
    .news-slider {
        height: 450px;
    }
}

/* The ribbons */

.corner-ribbon{
  width: 50px;
  background: #e43;
  position: absolute;
  top: 0px;
  left: 0px;
  text-align: center;
  line-height: 50px;
  letter-spacing: 1px;
  color: #000;
  border-radius: 25px;
}

/* Custom styles */

.corner-ribbon.sticky{
  position: fixed;
}

.corner-ribbon.shadow{
  box-shadow: 0 0 3px rgba(0,0,0,.3);
}

/* Different positions */

.corner-ribbon.top-left{
  top: 0px;
  left: 0px;
}

.corner-ribbon.top-right{
  top: 25px;
  right: -50px;
  left: auto;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.corner-ribbon.bottom-left{
  top: auto;
  bottom: 25px;
  left: -50px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.corner-ribbon.bottom-right{
  top: auto;
  right: -50px;
  bottom: 25px;
  left: auto;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

/* Colors */

.corner-ribbon.white{background: #f0f0f0; color: #555;}
.corner-ribbon.black{background: #333;}
.corner-ribbon.grey{background: #999;}
.corner-ribbon.blue{background: #CBE2B4;}
.corner-ribbon.green{background: #2c7;}
.corner-ribbon.turquoise{background: #1b9;}
.corner-ribbon.purple{background: #95b;}
.corner-ribbon.red{background: #F7BFA8;}
.corner-ribbon.orange{background: #e82;}
.corner-ribbon.yellow{background: #ec0;}

/* custom btn */
.btn-brown {
	color: #fff;
	background-color: #D0C3AA;
	border-color: #D0C3AA;
	box-shadow: 0;
}

.btn-brown:hover {
	color: #fff;
	background-color: #C6CBD4;
	border-color: #C6CBD4;
}

.btn-brown:focus, .btn-brown.focus {
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.btn-brown.disabled, .btn-brown:disabled {
	background-color: #C6CBD4;
	border-color: #C6CBD4;
}

.btn-brown:not([disabled]):not(.disabled):active, .btn-brown:not([disabled]):not(.disabled).active,
.show > .btn-brown.dropdown-toggle {
	color: #fff;
	background-color: #D0C3AA;
	border-color: #D0C3AA;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.btn-gray {
	color: #fff;
	background-color: #8CCAB9;
	border-color: #8CCAB9;
	box-shadow: 0;
}

.btn-gray:hover {
	color: #fff;
	background-color: #C6CBD4;
	border-color: #C6CBD4;
}

.btn-gray:focus, .btn-gray.focus {
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.btn-gray.disabled, .btn-gray:disabled {
	background-color: #C6CBD4;
	border-color: #C6CBD4;
}

.btn-gray:not([disabled]):not(.disabled):active, .btn-gray:not([disabled]):not(.disabled).active,
.show > .btn-gray.dropdown-toggle {
	color: #fff;
	background-color: #D0C3AA;
	border-color: #D0C3AA;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

/* coupon style */
.sale_price {
    color: red;
    font-size: 26px;
}

.coupon_head {
    background: #3FCC99;
    padding: 15px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.coupon_head h4 {
    font-weight: 600;
    color: white;
    text-align: center;

}

.coupon_body {
    background: #e7e8ea;
    padding: 15px;
    text-align: left;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.coupon_foot {
    background: #fff;
    padding: 15px;
    text-align: center;
}

.coupon {
    border: 3px dashed #3FCC99;
    background: white;
    padding: 10px 0;
    width: 100%;
    margin: 10px auto;
    color: #000;
    text-align: center;
    display: block;
    font-weight: 600;
}

.copy_coupon {
    width: 100%;
    text-align: center;
}

/* main page display coupon */
.link_item {
    padding: 10px;
    text-align: center;
}

.link_item:hover{
    transition: all .3s;
    -webkit-transition: all .3s;
    transform: translate3d(0, -2px, 0);
    -webkit-transform: translate3d(0, -2px, 0);
    box-shadow:0 4px 8px rgba(0,0,0,0.2);
    -webkit-box-shadow:0 4px 8px rgba(0,2,0,0.2);
}

.ori_list {
    list-style: decimal;
    padding: inherit;
    margin: inherit;
}

.ori_list li {
    display: list-item;
}

.calculation_table {
	margin-bottom: 18px;
	width: 100%;
}

.calculation_table td {
	line-height: 18px;
	padding: 5px;
	text-align: right;
}