/* ==========================================================================
   Remodal's default mobile first theme
   ========================================================================== */
   
/* Default theme styles for the background */

.remodal-bg.remodal-is-opening,
.remodal-bg.remodal-is-opened {
  filter: blur(3px);
}

/* Default theme styles of the overlay */

.remodal-overlay {
  background: rgba(43, 46, 56, 0.8);
}

.remodal-overlay.remodal-is-opening,
.remodal-overlay.remodal-is-closing {
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
}

.remodal-overlay.remodal-is-opening {
  animation-name: remodal-overlay-opening-keyframes;
}

.remodal-overlay.remodal-is-closing {
  animation-name: remodal-overlay-closing-keyframes;
}
.remodal-wrapper {
  /*padding: 10px 10px 0;*/
}
.remodal {
  box-sizing: border-box;
  width: 80%;

  /*margin-bottom: 10px;
  padding: 35px;*/
  transform: translate3d(0, 0, 0);
  color: #2b2e38;
  background: #fff;
}

.remodal.remodal-is-opening,
.remodal.remodal-is-closing {
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
}

.remodal.remodal-is-opening {
  animation-name: remodal-opening-keyframes;
}

.remodal.remodal-is-closing {
  animation-name: remodal-closing-keyframes;
}

/* Vertical align of the modal dialog */

.remodal,
.remodal-wrapper:after {
  vertical-align: middle;
}

/* Close button */

.remodal-close {
  position: absolute;
  top: 0px;
  right: 0px;

  display: block;
  overflow: visible;

  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;

  color: #95979c;
  border: 0;
  outline: 0;
  background: transparent;
}

.remodal-close:hover,
.remodal-close:focus {
  color: #2b2e38;
}



/* Dialog buttons */

.remodal-confirm,
.remodal-cancel {
  font: inherit;

  display: inline-block;
  overflow: visible;

  min-width: 110px;
  margin: 0;
  padding: 12px 0;

  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;

  border: 0;
  outline: 0;
}

.remodal-confirm {
  color: #fff;
  background: #81c784;
}

.remodal-confirm:hover,
.remodal-confirm:focus {
  background: #66bb6a;
}

.remodal-cancel {
  color: #333f48;
  background: #e57373;
}

.remodal-cancel:hover,
.remodal-cancel:focus {
  background: #ef5350;
}

/* Remove inner padding and border in Firefox 4+ for the button tag. */

.remodal-confirm::-moz-focus-inner,
.remodal-cancel::-moz-focus-inner,
.remodal-close::-moz-focus-inner {
  padding: 0;

  border: 0;
}

/* Keyframes
   ========================================================================== */

@keyframes remodal-opening-keyframes {
  from {
    transform: scale(1.05);

    opacity: 0;
  }
  to {
    transform: none;

    opacity: 1;
  }
}

@keyframes remodal-closing-keyframes {
  from {
    transform: scale(1);

    opacity: 1;
  }
  to {
    transform: scale(0.95);

    opacity: 0;
  }
}

@keyframes remodal-overlay-opening-keyframes {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes remodal-overlay-closing-keyframes {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Media queries
   ========================================================================== */

/*@media only screen and (min-width: 768px) {
  .remodal {
    max-width: 82%;
  }
}*/

/* IE8
   ========================================================================== */

.lt-ie9 .remodal-overlay {
  background: #2b2e38;
}

.lt-ie9 .remodal {
  width: 700px;
}

/******************************* modalカスタム *******************************/

/* 181003_代理店网络 */
body#top{
	padding-right: 0 !important;
}
.remodal{
	width:80%;
	min-width:787px;
	box-sizing:border-box;
	border-radius: 8px;
	padding:0;
}
.remodal #shengshiList{
	margin: 0;
	box-sizing: border-box;
	width: 100%;
	border-radius: 8px;
}
.remodal #shengshiList button span{
	position: absolute;
  top: 13px;
  right: 15px;
  width: 34px;
  height: 40px;
  opacity: 1;
  transition: opacity .2s;
}
.remodal #shengshiList button span:hover{
opacity: .6;
}
.remodal #shengshiList button span:before,
.remodal #shengshiList button span:after{
  position: absolute;
  left: 16px;
  content: ' ';
  height: 40px;
  width: 1px;
  background-color: #00a7ac;
}
.remodal #shengshiList button span:before {
  transform: rotate(45deg);
}
.remodal #shengshiList button span:after {
  transform: rotate(-45deg);
}
.remodal #shengshiList h3{
	color: #222222;
	letter-spacing: 1px;
	margin: 0;
	padding: 20px 0;
	background-color: #eee;
	border-radius: 8px 8px 0 0;
}
.remodal #shengshiList ul{
	width: 100%;
	padding: 28px 5% 30px 5%;
	margin: 0;
	box-sizing: border-box;
	list-style-type: none;
}
.remodal #shengshiList ul li{
	/*display: inline;*/
	display: block;
	width: calc(20% - 3px);
	float: left;
	padding: 0;
	margin: 0 3px 3px 0;
}
.remodal #shengshiList ul li.longshi{
	width: calc(40% - 3px);
}

.remodal #shengshiList ul li a{
	position: relative;
	display: block;
	color: #00a7ac;
	border: 1px solid #00a7ac;
	width: 100%;
	/*min-width: 200px;*/
	background-color:#fff;
	padding: 15px 10px;
	box-sizing: border-box;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s linear;
}
.remodal #shengshiList ul li a:hover{
	background-color:#e8f9f9;
}
.remodal #shengshiList ul li a::after{
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 4px 0 4px;
	border-color: #00a7ac transparent transparent transparent;
	right: 15px;
	top: 45%;
}















/****************************** SP調整 ******************************/
@media screen and (max-width: 767px){


.remodal{
	width:94%;
	margin: 40px auto;
	min-width:inherit;
	/*box-sizing:border-box;
	border-radius: 8px;
	padding:0;*/
}
.remodal #shengshiList{
	/*margin: 0;
	box-sizing: border-box;
	width: 100%;
	border-radius: 8px;*/
}
/*.remodal #shengshiList button span{
	position: absolute;
  top: 12px;
  right: 15px;
  width: 34px;
  height: 40px;
  opacity: 1;
  transition: opacity .2s;
}
.remodal #shengshiList button span:hover{
opacity: .6;
}
.remodal #shengshiList button span:before,
.remodal #shengshiList button span:after{
  position: absolute;
  left: 16px;
  content: ' ';
  height: 40px;
  width: 1px;
  background-color: #00a7ac;
}
.remodal #shengshiList button span:before {
  transform: rotate(45deg);
}
.remodal #shengshiList button span:after {
  transform: rotate(-45deg);
}*/
.remodal #shengshiList h3{
	/*color: #222222;
	letter-spacing: 1px;
	margin: 0;
	padding: 20px 0;
	background-color: #eee;
	border-radius: 8px 8px 0 0;*/
}
.remodal #shengshiList ul{
	padding: 20px;
	/*width: 100%;
	margin: 0;
	box-sizing: border-box;
	list-style-type: none;*/
}
.remodal #shengshiList ul li{
	width: calc(50% - 2px);
	margin: 0 3px 3px 0;
	/*display: block;
	float: left;
	padding: 0;*/
}
.remodal #shengshiList ul li.longshi{
	width: 100%;
	margin: 0 0 3px 0;
}
.remodal #shengshiList ul li:nth-child(even){
    margin: 0 0 3px 0;
}

.remodal #shengshiList ul li a{
	padding: 12px 10px;
	font-size: 80%;
}








	

}



