/*
 * jQuery Nivo Slider v3.2
 * http://nivo.dev7studios.com
 *
 * Copyright 2012, Dev7studios
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */
 
/* The Nivo Slider styles */
.nivoSlider_layer{  position: absolute; bottom: 0px;z-index: 11; }
.nivoSlider { position:relative; overflow: hidden; z-index: 10; }
.nivoSlider img { position:absolute; top:0px; left:0px; max-width: none; }
.nivo-main-image { display: block !important; position: relative !important; width: 100% !important; }
/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink { position:absolute; top:0px; left:0px; width:100%; height:100%; border:0; padding:0; margin:0; z-index:6; display:none; background:white; filter:alpha(opacity=0); opacity:0; }

/* The slices and boxes in the Slider */
.nivo-slice { display:block; position:absolute; z-index:5; height:100%; top:0; }
.nivo-box { display:block; position:absolute; z-index:5; overflow:hidden; }
.nivo-box img { display:block; }

/* Caption styles */
.nivo-caption { position:absolute; left:0px; bottom:0px; width:100%; z-index:8; padding: 5px 10px; opacity: 0.8; display: none; -moz-opacity: 0.8; filter:alpha(opacity=8); -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */ -moz-box-sizing: border-box; /* Firefox, other Gecko */ box-sizing: border-box; /* Opera/IE 8+ */ }
/*.nivo-caption p { padding:5px; margin:0; }*/
.nivo-caption a { }
.nivo-html-caption { display:none; }

/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a { position:absolute; top:50%; z-index:9; cursor:pointer; }
.nivo-prevNav { left:0px; }
.nivo-nextNav { right:0px; }

/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav { text-align:center; padding: 15px 0; }
.nivo-controlNav a { cursor:pointer; }
.nivo-controlNav a.active { font-weight:bold; }

/*首頁大圖*/
.advertising_main_page { z-index: 1; display: block; position: relative; margin: 0px; padding: 0px; clear: both; float: left; height: auto; width: 100%; }
.advertising_main_box { display: block; position: relative; margin: 0px; padding: 0px; clear: both; float: left; height: auto; width: 100%; }
.advertising_main_box img { display: block; line-height: 0px; position: relative; padding: 0px; margin: 0px; height: auto; width: 100%; z-index: 0; }

.advertising_txt_page{ margin-bottom: 10%; }
.advertising_txt_box{ width: 80%; margin-right: auto; margin-left: auto; }
.advertising_txt_box h2.title{ color: #FFF; font-size: 48px; margin: 0px; line-height: normal; clear: both; float: left; width: 80%; text-align: center; padding-top: 0px; padding-right: 10%; padding-bottom: 0px; padding-left: 10%; }
.advertising_txt_box p.txt{ color: #FFF; font-size: 16px; width: 80%; margin: 0px; padding-top: 8px; padding-right: 10%; padding-bottom: 8px; padding-left: 10%; text-align: center; }
.advertising_txt_box .advertising_more_box{ clear: both; text-align: center; margin-right: auto; margin-left: auto; }
.advertising_txt_box .advertising_more{ clear: both; width: 220px; margin-right: auto; margin-left: auto; white-space: nowrap; }

/*內頁大圖*/
.sub_advertising_page { clear: both; float: left; width: 100%; position: relative; z-index: 1; height: auto; }
.sub_advertising_box {  width: 100%; height: auto; }
.sub_advertising_box img { display: block; line-height: 0px; position: relative; padding: 0px; margin: 0px;height: auto; width: 100%; }
.sub_advertising_page .nivo-controlNav { display: none; }
.sub_advertising_box .nivo-controlNav{ display: none!important; }
.sub_advertising_box .nivo-directionNav{ display: none!important; }

/* The Nivo Slider styles */
.nivoSlider { position:relative; background:#fff url(../images/loading.gif) no-repeat 50% 50%; /*margin-bottom:10px; -webkit-box-shadow: 0px 1px 5px 0px #4a4a4a; -moz-box-shadow: 0px 1px 5px 0px #4a4a4a; box-shadow: 0px 1px 5px 0px #4a4a4a;*/ }
.nivoSlider img { position:absolute; top:0px; left:0px; display:none; }
.nivoSlider a { border:0; display:block; }

/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav { text-align: center; clear: both; float: left; width: 100%; position: absolute; z-index: 12; margin-top: -80px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding: 0px; }
.nivo-controlNav a { display:inline-block; width:15px; height:15px; border:0; background: #666; background: rgba(100, 100, 100, 0.5); cursor: pointer; text-indent: -9999px; -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); -webkit-border-radius: 20px; -moz-border-radius: 20px; border-radius: 20px; margin-top: 0; margin-right: 4px; margin-bottom: 0; margin-left: 4px; }
.nivo-controlNav a.active { background: #333; background: rgba(0, 0, 0, 0.7); }

/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a { display:block; width:30px; height:30px; background:url(../images/arrows.png) no-repeat; text-indent:-9999px; border:0; opacity: 0; -webkit-transition: all 200ms ease-in-out; -moz-transition: all 200ms ease-in-out; -o-transition: all 200ms ease-in-out; transition: all 200ms ease-in-out; }
.nivoSlider:hover .nivo-directionNav a { opacity: 1; }
.nivoSlider a.nivo-nextNav { background-position:-30px 0; right:15px; }
.nivoSlider a.nivo-prevNav { left:15px; }

.nivo-caption {  }
.nivo-caption a {  }
.nivo-caption a:hover {  }
.nivo-controlNav.nivo-thumbs-enabled { width: 100%; }
.nivo-controlNav.nivo-thumbs-enabled a { width: auto; height: auto; background: none; margin-bottom: 5px; }
.nivo-controlNav.nivo-thumbs-enabled img { display: block; width: 120px; height: auto; }


