@charset "utf-8";
/*-----------------------for both-----------------------*/
.hidden-content{
	display:none;
}
/*-----------------------lightbox-----------------------*/
.lightbox {
	display: none;
	font-family: "Segoe UI", "微軟正黑體", sans-serif;
	border-radius: 15px;
	background:#fff;
	text-align:left;
}
p.address, p.tel, p.time, p.url {
	background-image: url(//www.tibs.org.tw/images/venue.svg);
	background-repeat: no-repeat;
	background-size: 14px 14px;
	background-position: left center;
	padding-left: 22px;
	width: auto;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	margin: 2px 0;
}
p.tel {
	background-image: url(//www.tibs.org.tw/images/tel.svg);
}
p.time {
	background-image: url(//www.tibs.org.tw/images/time.svg);
}
p.url {
	background-image: url(//www.tibs.org.tw/images/link.svg);
}

/*----------------dropdownBtnOutfit------------------*/
.dropdownWrapper {
  position: relative;
  display: inline-block;
  width: auto;
}
.dropdownBtnOutfit {
  width: auto;
  height: 40px;
  line-height: 40px;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  cursor: pointer;
  padding: 0 30px 0 15px;
  background-image: url(../images/openItem.svg);
  background-repeat: no-repeat;
  background-position: right 5px center;
  background-size: 20px 20px;
  /*太長截掉*/
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.dropdownBtnSelect {
  background-color: #eee;
  color: #333;
  background-image: url(../images/closeItem.svg);
}
.dropdownBtnOutfit:hover {
  background-color: #eee;
}
.dropdownOutfit {
  border: 1px solid #eee;
  position: absolute;
  background: #fff;
  z-index: 99;
  padding: 0;
  top: 45px;
  left: 0;
}
.dropdownOutfit li a {
  display: block;
  width: 400px;
  text-decoration: none;
  padding: 6px 10px;
  border-bottom: 1px solid #e0e0e0;
  color: #333;
}
.dropdownOutfit li:last-child a {
  border-bottom: none;
}
.dropdownOutfit li a:hover {
  background-color: #eee;
}
a.BtnOutfit {
  display: block;
  width: auto;
  height: 35px;
  line-height: 35px;
  background-color: #eee;
  cursor: pointer;
  padding: 0 30px;
  color: #000;
}
a.BtnOutfit:hover {
  background-color: #666;
  color: #FFF;
}

/*sorting*/
  #DDwrapper dd {
    display: inline-block;
    margin-right: 10px;
  }
  .modeSwitch {
    background-image: url(../images/picmode.svg);
    color: #333;
  }
  .listHide {
    background-image: url(../images/listmode.svg);
    color: #333;
  }
/*-----------------------for both-----------------------*/
select:disabled {
  background: #E7E7E7;
}
.upload input[type=file], #LogoPic input[type=file] {
  display: none;
}
/*-- create --*/
#create li img {
  width: 50%;
  margin-bottom: 15px;
}
#create li p {
  line-height: 130%;
}


#codecreate {
	font-weight:bold;
	font-size:30px;
}
#codecreate span{
	color:#6B6B6B;
}

.codeinput {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding:10px;
  margin-top:10px;
  font-size:30px;
  width:130px;
  text-align:center;
  color:#B93234;
  text-transform:uppercase;
}
.codeinput:focus {
  border: 1px solid #A6C1CE;
  background: #F6FBFE;
}


/*-----------------------for PC-----------------------*/
@media screen and (min-width:801px) {
  /*-------------banner--------------------*/
  #bannerWrapper {
    width: 100%;
    background: #000;
  }
  #banner {
    position: relative;
  }
  .bannerslide li {
    width: 65%;
  }
  .bannerslide .swiper-slide {
    opacity: 0.5;
  }
  .bannerslide .swiper-slide.swiper-slide-active {
    opacity: 1;
  }
  .contentIndex {
    padding: 30px 0;
  }
  .contentIndex h1 {
    margin-bottom: 10px;
  }
  /*-- create --*/
  #create li {
    float: left;
    width: 20%;
    text-align: center;
    font-size: 23px;
    position: relative;
  }
  #create li span {
    background-image: url("../images/partnership/next.svg");
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    width: 30px;
    height: 50px;
    position: absolute;
    right: -15px;
    top: 50%;
    margin-top: -25px;
  }
  
  /*-- create --*/
  #links li a{
    float: left;
	width: 32%;
    position: relative;
	padding:20px;
    margin: 0 2% 2% 0;
    text-align: center;
    font-size: 23px;
	background-color:#BD0003;
	color:#FFF;
	border-radius:15px;
	font-weight:bold;
 }
 #links li a.disabled{
	background-color:#B5B5B5;
 }
    #links li a.disabled:hover{
	background-color:#B5B5B5;
 }
  #links li:last-child a{
  	margin:0;	
  }
	
#links li a:hover{
	background-color:#D90003;
  }  
  /*-- cooperation --*/
  #cooperation {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 100%;
  }
  .cooperation {
    background-image: url("../images/partnership/cooperation.jpg");
  }
  #cooperation li {
    float: left;
    width: 30%;
  }
  #cooperation li:last-of-type {
    float: right;
  }
  #cooperation li h3 {
    margin-bottom: 10px;
    color: #333;
    font-weight: bold;
  }
  #cooperation li p {
    font-size: 17px;
  }
  .aim {
    background-image: url("../images/partnership/aim.jpg");
  }
  /*-- expoList --*/
  #expoList li {
    float: left;
    width: 48%;
    margin: 0 2% 2% 0;
  }
  #expoList li:nth-child(even) {
    margin-right: 0;
  }
  #expoList li div.expoListLeft {
    width: 120px;
    float: left;
  }
  #expoList li div.expoListRight {
    width: auto;
    margin-left: 150px;
  }
  #expoList li h3 {
    margin-bottom: 10px;
  }
  /*-- form --*/
  .formLeft {
    width: 49.5%;
    float: left;
  }
  .formRight {
	width: 48%;
    float: right;
  }
  
  /*-- partnership form --*/
  .inquiryFloat {
    overflow: auto
  }
  .inquiryFloat li {
    width: 49%;
    margin: 0 2% 20px 0;
    float: left;
  }
  .inquiryFloat li:nth-child(even) {
    margin-right: 0;
  }
  
/*----------info------------*/
.partnerLeft {
	float: left;
}
.partnerRight {
	float: right;
}
/*-----------------------shopList-----------------------*/
#shopList li {
	float: left;
	width: 18.4%;
	margin: 0 2% 2% 0;
	font-size: 14px;
}
#shopList li:nth-child(5n) {
	margin: 0;
}
#shopList li a {
	display: block;
	color: #333;
	padding: 10px;
	border-radius: 5px;
	box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
	text-decoration: none;
}
#shopList li .left {
	position: relative;
}
#shopList li .left .hoverDesc {
	color: rgba(255,255,255,0);
	background-color: rgba(0, 0, 0, 0);
	background-image: url(../images/zoom.svg);
	background-repeat: no-repeat;
	background-size: 40% auto;
	background-position: center center;
	opacity: 0;
	position: absolute;
	left: 0;
	top: 0;
	transition: all 0.3s ease-out;
	width: 100%;
	height: 0;
	padding-bottom: 100%;
}
#shopList li:hover .left .hoverDesc {
	transition: all 0.3s ease-out;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 1;
}
#shopList li h4 {
	font-size: 15px;
	margin: 10px 0 5px 0;
	height: 38px;
	overflow: hidden;
	line-height: 130%;
}
#shopList li:hover {
	box-shadow: 0 1px 6px rgba(32, 33, 36, 0.35);
	transition: all 0.3s ease-out;
}
.shopSearch {
	width: 50%;
	margin: 0 auto;
}
/*-----------------lightbox---------------*/
.lightbox {
	padding: 30px;
}
.lightbox div.lightboxL {
	float: left;
	width: 240px;
}
.lightbox div.lightboxR {
	width: auto;
	margin-left: 270px;
}
  
}
/*------------------for mobile------------------------*/
@media screen and (max-width:800px) {
  /*-------------banner--------------------*/
  #bannerWrapper {
    width: 100%;
    margin-top: 100px;
  }
  .contentIndex {
    padding: 25px 15px;
  }
  /*-- create --*/
  #create li {
    float: left;
    width: 50%;
    text-align: center;
    font-size: 19px;
    margin-bottom: 20px;
  }
  /*-- cooperation --*/
  #cooperation li:last-of-type {
    margin-top: 20px;
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
  }
  /*-- expoList --*/
  #expoList li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
  }
  #expoList li:last-of-type {
    margin-bottom: 0;
  }
  #expoList li div.expoListLeft {
    width: 80px;
    float: left;
  }
  #expoList li div.expoListRight {
    width: auto;
    margin-left: 100px;
  }
  #expoList li h3, #cooperation li h3 {
    margin-bottom: 5px;
  }
  /*----------form----------*/
  .formLeft {
    margin-bottom: 20px;
  }
  #Position_Oth, #CompanyIndustry_Oth, #Ext {
    margin-top: 5px;
  }
  .inquiryFloat li {
    margin-bottom: 15px;
  }
  .inquiryFloat li:last-child {
    margin-bottom: 20px;
  }
  .partnerLeft {
	margin-bottom: 10px;
}
/*-----------------------shopList-----------------------*/
#shopList li {
	margin-bottom: 10px;
	padding: 10px;
	border-radius: 5px;
	box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
	overflow: auto;
}
#shopList li:last-child {
	margin: 0;
}
#shopList li a {
	display: block;
	color: #333;
	text-decoration: none;
}
#shopList li div.left {
	width: 100px;
	float: left;
}
#shopList li div.right {
	width: auto;
	height: 100px;
	margin-left: 110px;
	display: flex;
	justify-content: center;
	flex-direction: column;
}
#shopList li h4 {
	margin-bottom: 8px;
}

#links li a{
    float: left;
	width: 32%;
    position: relative;
	padding:13px;
    margin: 0 2% 2% 0;
    text-align: center;
    font-size: 19px;
	background-color:#BD0003;
	color:#FFF;
	border-radius:13px;
 }
 #links li a.disabled{
	background-color:#B5B5B5;
 }
   
#links li:last-child a{
  	margin:0;	
  }
	
#links li a:hover{
	background-color:#D90003;
  } 
  
  
/*-----------------------lightbox-----------------------*/
.lightbox {
	padding:20px 15px;
	width: 100%;
}
.lightbox div.lightboxL {
	width: 60%;
	margin: 0 auto 15px auto;
}
}