@charset "utf-8";
/*
=======================================
  Reset CSS
=======================================
*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, main, menu, nav, section, summary,
time, mark, audio, video{
  margin:0;
  padding:0;
}

article,aside,details,figcaption,figure,
footer,header,main,menu,nav,section{
  display:block;
}

html{
  -webkit-text-size-adjust: 100%;
}

body{
  color: #211a18;
  line-height: 1.8;
  font-size: 14px;
  font-family: sans-serif;
}

img{
  border: 0;
  max-width: 100%;
  height: auto;
}

ul,ol{
  list-style-type: none;
}

table {
  border-collapse: collapse; 
  border-spacing: 0;
}

img, input, select, textarea { 
  vertical-align: middle;
}

a {
  color: #211a18;
  transition: 0.5s;
  text-decoration: none;
}
a:hover {
  color: #ddd;
}
a:hover img {
  opacity: 0.7;
}
*{
  box-sizing: border-box;
}
/*
=======================================
  popup
=======================================
*/
/* popup_list */
.container{
  margin: 50px auto;
}
.popup_list{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.popup_list li{
  width: 30.7%;
  margin-bottom: 40px;
}
.popup_list li a{
  width: 100%;
  height: 100%;
}
.popup_list li img{
  width: 100%;
  border-radius: 3px;
}

/* popup_content */
.popup_bg{
  position:fixed;
  top:0;
  bottom:0;
  left:0;
  right:0;
  width: 100%;
  height: 100vh;
  background: rgba(64,73,82,0.8);
  transition: 0.4s;
  z-index:101;
}
.popup_content{
  position: relative;	
}
.popup_box{		
  display: none;	
  position: fixed;
  top:60%;
  left:50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 1000;
  width: 590px;
  height: 630px;
  background: #fff;				
  padding: 70px 20px;	
}
.popup_box img{
  width: 100%;
  border-radius: 3px;
  margin-bottom: 20px;
float: left;
}
.popup_box p{
  padding-left: 10px;
  font-size: 14px;
  line-height: 1.8;
  overflow-y: auto;
  height: 300px;
}
/* popup_nav */
.popup_nav .prev{
  position:absolute;
  top:50%;
  left:-40px;
  transform: translateY(-50%);
  width: 30px;
  height: auto;
  z-index:130;
}
.popup_nav .next{
  position:absolute;
  top:50%;
  right:-40px;
  transform: translateY(-50%);
  width: 30px;
  height: auto;
}
.popup_nav .prev.disabled,
.popup_nav .next.disabled{
  display: none;
}
/*--close btn--*/
.popup_close{
  width: 30px;
  height: 30px;
  cursor: pointer;
  position:absolute;
  top:20px;
  right:20px;
  z-index:120;
}  
.popup_close span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 100%;
  width: 30px;
  height: 2px;
  background: #434c55;
  position: absolute;
  left: 50%;
  top: 50%;
}	
.popup_close span:nth-child(1) {
  transform: translate(-50%, 50%) rotate(45deg);
}	
.popup_close span:nth-child(2) {
  transform: translate(-50%, 50%) rotate(-45deg);
}	
@media screen and (max-width : 768px) {		
  .popup_close{
    top:-10px;
    right:-10px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
  }
  .popup_close span {
    width: 20px;
    height: 2px;
    left: 50%;
    top: 45%;
  }	
  .popup_close span:nth-child(1) {
    transform: translate(-50%, 50%) rotate(45deg);
  }	
  .popup_close span:nth-child(2) {
    transform: translate(-50%, 50%) rotate(-45deg);
  }	
}
@media screen and (max-width : 600px) {
  .popup_box{
    width: 94%;
    height: auto;
    margin: 0 auto;
    background: #fff;
    flex-direction: column;
    align-items: center;
  }
  .popup_nav .prev{
    left:25px;
    width:20px;
  }
  .popup_nav .next{
    right:25px;
    width: 20px;
  }
}

