/*iPad Landscape*/
@media screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
	/*
	#card-lists .card {
		width: 300px !important;
		margin-left: 15px !important;
		margin-right: 15px !important;
	}
*/
	
}

/*iPad Portrait*/
@media screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    /*
	#card-lists .card {
		width: 350px !important;
		margin-left: 15px !important;
		margin-right: 15px !important;
	}
	#card-lists .card:last-child {
		margin-left: 15px !important;
		margin-right: 15px !important;
		width: 730px !important;
	}
	*/
}


/*iPhone Landscape*/
@media only screen and (min-device-width : 375px) and (max-device-width : 667px) and (orientation : landscape) {
	#card-lists .card {
		width: 298px !important;
		border: 1px solid #ccc;
		display: flex;
		overflow: hidden;
		margin-bottom: 20px;
		margin-left: 15px !important;
		margin-right: 15px !important;
	}
	#card-lists .card:first-child {
		width: 298px !important;
		border: 1px solid #ccc;
		display: flex;
		overflow: hidden;
		margin-bottom: 20px;
		margin-left: 15px !important;
		margin-right: 15px !important;
	}
	
	
}



/*Desktop*/
.card-wrap{
  max-width: 1170px;
  margin: 0px auto;
}
#card-lists {
  font-family: arial;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-top: -50px;
}
#card-lists .card {
  
  border: 1px solid #ccc;
  display: flex;
  overflow: hidden;
  margin: 0 auto 20px auto;
  width: 90%;
  max-width: 365px;
  /* 
  margin-bottom: 20px;
  margin-right: 23px;
  */
}


#card-lists .card figure {
  width: 100%;
  padding: 0;
  margin: 0;
  display: block;
}
#card-lists .card figure img {
  width: 100%;
  height: auto;
}
#card-lists .card figure figcaption {
  padding: 10px;
  margin: 0;
  display: block;
  font-size: 1em !important;
  -webkit-text-size-adjust: none;
}
