/*
 * jQuery FlexSlider v1.7
 * http://flex.madebymufffin.com
 *
 * Copyright 2011, Tyler Smith
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */
 
/* Browser Resets */
.flex-container a:active, .flexslider a:active {
	outline: none;
}
.slides, .flex-control-nav, .flex-direction-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}
/* FlexSlider Necessary Styles
*********************************/ 


.flexslider .slides > li, .subflexslider .slides > li {
	display: none;
} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img, .subflexslider .slides img {
	max-width: 100%;
	display: block;
	position: relative;
	margin: auto;

}
.flexslider{
	width:290px;
}
.flexslider .slides img{
		/*min-width: 290px;*/
}
.flex-pauseplay span {
	text-transform: capitalize;
}
/* Clearfix for the .slides element */
.slides:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
html[xmlns] .slides {
	display: block;
}
* html .slides {
	height: 1%;
}
/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {
	display: block;
}
/* FlexSlider Default Theme
*********************************/
.flexslider, .subflexslider {
	position: relative;
	zoom: 1;
	width: 100%;
	z-index: 0;
}
.flexslider .slides, .subflexslider .slides {
	zoom: 1;
	margin: auto;
	width: 100%;
}
.flexslider .slides > li, .subflexslider .slides > li {
	position: relative;
	margin: auto;
	width: 320px;
}
.flexslider {
	width: 100%;
	margin: 0;
	padding: 0;
	margin: auto;
}
.subflexslider {
	width: 100%;
	height: 30px;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: auto;
	margin-left: 0px;
}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {
	zoom: 1;
	position: relative;
	margin-top: -5px;
}
/* Caption style */
/* IE rgba() hack */
.flex-caption {
	background: none;
-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000, endColorstr=#4C000000);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000, endColorstr=#4C000000);
	zoom: 1;
}
.flex-caption {
	width: 96%;
	padding: 2%;
	position: absolute;
	left: 0;
	bottom: 0;
	background: rgba(0,0,0,.3);
	color: #fff;
	text-shadow: 0 -1px 0 rgba(0,0,0,.3);
	font-size: 14px;
	line-height: 18px;
}
/* Direction Nav */
.flex-direction-nav li a{
	width: 57px;
	height: 57px;
	position: absolute;
	cursor: pointer;
	text-indent: -9999px;
	margin-top: -12px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
	z-index: 100;
	top: -19px;
	display: block;
}
#slider .slides li a {
	margin: auto;
	width: 100%;
}
.flex-direction-nav li a.flex-next {

	background-position: left 0;
	right: 0px;
	background-image: url(../image/migi.png);
	opacity: 1;
}
.flex-direction-nav li a.flex-prev {
	
	background-position: right 0;
	background-image: url(../image/hidari.png);
	background-repeat: no-repeat;
	left: 0px;
	opacity: 1;
}
.flex-direction-nav li a.disabled {
	opacity: 0.7;
	filter: alpha(opacity=100);
	cursor: default;
}
/* Control Nav */
.flex-control-nav {
	width: 100%;
	position:relative;
	text-align: center;
}
.flex-control-nav li {
	display: inline-block;
	zoom: 1;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 5px;
}
.flex-control-nav li:first-child {
	margin: 0;
}
.flex-control-nav li a {
	width: 7px;
	height: 5px;
	display: block;
	cursor: pointer;
	text-indent: -9999px;
	background-image: url(../image/indicater_bg.png);
	background-repeat: no-repeat;
	background-position: 0 0;
}
/*.flex-control-nav li a:hover {background-position: 0 -13px;}*/
.flex-control-nav li a.flex-active {
	background-position: 0 0px;
	cursor: default;
	background-image: url(../image/indicater.png);
	background-repeat: no-repeat;
}
.mapPart {
	display: -webkit-box;
	-webkit-box-pack: center;
	/*height:218px;*/
	max-width: 320px;	
	max-height: 240px;

	margin: auto;
}
.mapPart a {
	/*display: -webkit-box;
	width: 100%;
	height:100%;*/

}
.mapPart img{
	width:100%;
	height:auto;
	max-width: 320px;	
	max-height: 240px;

}
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
.flex-direction-nav li a.flex-next {
	background-size: 57px 57px;
	background-position: left 0;
	background-image: url(../image/migix2.png);
}
.flex-direction-nav li a.flex-prev {
	background-size: 57px 57px;
	background-position: right 0;
	background-image: url(../image/hidarix2.png);
}
}
