
@import url(http://fonts.googleapis.com/css?family=Arapey|Cabin);

* {
    margin: 0;
    padding: 0;
    font-size: 100%;
    font-weight: normal;
    cursor: default;
}

.clearfix:after { 
    visibility: hidden;
    display: block;
    content: " ";
    clear: both;
    height: 0;
}

a {
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #DFDFDF;
    cursor: default;
}

a:hover{ 
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #ffffff;
    cursor: default;
}



p {
    margin-bottom: 18px;
}


body {
    background: #FFF;
    line-height: 180%;
    letter-spacing: 0.5px;
    word-break: break-all;
    padding: 15px;
    cursor: default;
}

article {
    width: 800px;
    margin: 30 auto;
    padding: 30;
}

h2 {
    font-size: 30px;
    letter-spacing: 2px;
}


@-webkit-keyframes tremble {
	15% { -webkit-transform: translateX(3px) rotate(1deg); }
	30% { -webkit-transform: translateX(-3px) rotate(-1deg); }
	45% { -webkit-transform: translateX(2px) rotate(1deg); }
	60% { -webkit-transform: translateX(-2px) rotate(-1deg); }
	75% { -webkit-transform: translateX(1px) rotate(1deg); }
	90% { -webkit-transform: translateX(-1px) rotate(-1deg); }
}
@keyframes tremble {
	15% { transform: translateX(3px) rotate(1deg); }
	30% { transform: translateX(-3px) rotate(-1deg); }
	45% { transform: translateX(2px) rotate(1deg); }
	60% { transform: translateX(-2px) rotate(-1deg); }
	75% { transform: translateX(1px) rotate(1deg); }
	90% { transform: translateX(-1px) rotate(-1deg); }
}

.main a.box img {
    width: 150px;
    height: 150px;
    border: 8px solid #F2F2F2;
    margin-bottom: 8px;
    
}

ul {
	margin: 0;
	list-style: none;
}

ul li {
	display: inline-block;
	margin: 0 0 .3em 1em;
	padding: 0;
}

ul li a {
	position: relative;
	display: inline-block;
	height: 23px;
	line-height: 22px;
	padding: 0 10px 0 15px;
	background-color: #bfbfbf;
	border-radius: 0 3px 3px 0;
	color: #fff;
	font-size: 13px;
	text-decoration: none;
	-webkit-transition: .2s;
	transition: .2s;
    margin-right: 10px;
    border: none;
}

ul li a::before {
	position: absolute;
	top: 0;
	left: -12px;
	content: '';
	width: 0;
	height: 0;
	border-color: transparent #bfbfbf transparent transparent;
	border-style: solid;
	border-width: 12px 12px 11px 0;
	-webkit-transition: .2s;
	transition: .2s;
}

ul li a::after {
	position: absolute;
	top: 50%;
	left: 0;
	z-index: 2;
	display: block;
	content: '';
	width: 6px;
	height: 6px;
	margin-top: -3px;
	background-color: #fff;
	border-radius: 100%;
}

ul li span {
	display: block;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

ul li a:hover {
	background-color: #555;
	color: #fff;
}

ul li a:hover::before {
	border-right-color: #555;
}

@media screen and (max-width:780px){ 
    article {
        width: 540px;
    }
}

@media screen and (max-width:600px){ 
    article {
        width: 360px;
    }
}

@media screen and (max-width:410px){ 
    article {
        width: 230px;
    }
    
    .main a.box {
        width: 115px;
    }
    
    .main a.box img {
        width: 90px;
        height: 90px;
        border: 4px solid #F2F2F2;
    }
}
