*{
margin: 0;
padding: 0;
list-style: none;
color: inherit;
text-decoration: none;
}
#wrap{
width: 1000px;
height: 650px;
background-color: #fff;
color: #222328;
position: relative;
}
#wrap:after{
content: '';
display: block;
clear: both;
}
.pop{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 300px;
padding: 30px;
background-color: rgba(255,255,255,0.8);
border: 2px solid #222328;
display: none;
}
header{
float: left;
width: 100px;
height: 100%;
}
header h1{font-size: 0; padding: 50px 0; text-align: center;}
header .gnb{font-size: 14px; text-align: center;}
header .gnb .main_menu{position: relative;}
header .gnb .main_menu a{
display: block; padding: 15px 0;
}
header .gnb .main_menu:hover > a{color: #fff; background-color: #000;}
header .gnb .main_menu a:hover{color: #fff; background-color: #000;}
header .gnb .sub{
position: absolute;
top: 50%; left: 100%;
transform: translateY(-50%);
width: 100px;
background-color: #fff;
display: none;
}
main{
float: left;
width: 900px;
height: 100%;
}
.slider{height: 350px; overflow: hidden;}
.slider .track{width: 2700px; position: relative;}
.slider .track:after{
content: '';
display: block;
clear: both;
}
.slider .track li{
width: 900px;
font-size: 0;
overflow: hidden;
float: left;
}
.content{
height: 200px;
}
.content:after{
content: '';
display: block;
clear: both;
}
.content > div{
float: left;
}
.content .board{
width: 300px;
}
.content .board li{
font-size: 11px;
margin: 5px 0;
}
.content .board li:after{content: '';display: block;clear: both;}
.content .board li .tit{float: left;}
.content .board li .date{float: right;}
.content .gallery{
background-color: aliceblue;
}
.content .gallery ul:after{
content: '';
display :block;
clear: both;
}
.content .gallery ul li{
float: left;
}
.content .gallery ul li img{
height: 70px;
}
.banner{
width: 289px;
position: relative;
}
.banner p{
position: absolute;
top: 35%;
left: 30px;
transform: translateY(-50%);
color: #fff;
font-weight: bold;
font-size: 18px;
}
.banner img{
width: 100%;
}
footer {height: 100px;}
footer h2{
float: left; width: 100px;
font-size: 0;
padding-top: 43px;
text-align: center;
}
footer .f_wrap{float: left; width: 800px;}
footer .f_wrap .f_menu{line-height: 50px; text-align: center;}
footer .f_wrap .f_menu li{display: inline-block;}
footer .f_wrap .copyright{line-height: 50px; text-align: center;}
body{
padding-bottom: 3000px;
}