body{
	background-color: #f1f1f1;
  float: none;
  font-family: Arial, "sans-serif", "微軟正黑體" !important;
  -webkit-box-sizing:border-box;
	box-sizing:border-box;
}
header {
  width: 100%;
  height: 30px;
  line-height: 30px;
  position: fixed;
  top: 0;
  background-color: #5f5f5f;
  color: #fff;
  z-index: 999
 /* text-shadow: 1px 1px 1px rgba(0,0,0,0.7);*/
  /*box-shadow: 0px -10px 20px rgba(115,205,247,0.5) inset;*/
}
.toolbar{
	margin-top: 50px;
}
.main_box {
	width: 100%;
	max-width: 950px;
	margin: 0 auto;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
}
.name {
	color: #fff;
  padding: 0 18px;
  font-size: 16px;
}
#portfolio {  
    margin: 1rem 0;
    -webkit-column-count: 3; 
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 1rem;
    -moz-column-gap: 1rem;
    column-gap: 1rem;
    -webkit-column-width: 33.33333333333333%;
    -moz-column-width: 33.33333333333333%;
    column-width: 33.33333333333333%;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
}
.tile { 
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 350ms ease;
    transition: all 350ms ease;

}
.tile:hover { 

}

.scale-anm {
  transform: scale(1);
}


p{ 
  padding:10px; 
  border-bottom: 1px #ccc dotted; 
  text-decoration: none; 
  font-family: lato; 
  text-transform:uppercase; 
  font-size: 12px; 
  color: #333; 
  display:block; 
  float:left;
}

p:hover { 
  cursor:pointer; 
  background: #333; 
  color:#eee; }

.tile img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
  
}

.btn {
    font-size: 1rem;
    font-weight: normal;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    line-height: normal;
    padding: .5rem 1rem;
    margin: 0;
    height: auto;
    border: 1px solid;
    vertical-align: middle;
    -webkit-appearance: none;
    color: #555;
    background-color: #fff;
}

.btn:hover {
  text-decoration: none;
}

.btn:focus {
  outline: none;
  border-color: var(--darken-2);
  box-shadow: 0 0 0 3px var(--darken-3);
}

::-moz-focus-inner {
  border: 0;
  padding: 0;
}






.lightbox-opened {
  background-color: #333;
  background-color: rgba(51, 51, 51, 0.9);
  cursor: pointer;
  height: 100%;
  left: 0;
  padding: 50px 24px 24px 24px;
  -webkit-box-sizing:border-box;
  box-sizing:border-box;
  position: fixed;
  text-align: center;
  top: 0;
  width: 100%;
}
.lightbox-opened:before {
  background-color: #333;
  background-color: rgba(51, 51, 51, 0.9);
  color: #eee;
  content: "x";
  font-family: sans-serif;
  padding: 6px 12px;
  position: fixed;
  text-transform: uppercase;
}
.lightbox-opened img {
  box-shadow: 0 0 6px 3px #333;
  max-height:500px;
}


@media screen and (max-width: 721px) {
	img {
  width: 100%;
}
.toolbar{
	margin-top: 30px;
}
	#portfolio {  
    margin: 1rem 0;
    -webkit-column-count: 3; 
    -moz-column-count: 3;
    column-count: 2;
    -webkit-column-gap: 1rem;
    -moz-column-gap: 1rem;
    column-gap: 1rem;
    -webkit-column-width: 33.33333333333333%;
    -moz-column-width: 33.33333333333333%;
    column-width: 33.33333333333333%;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
}
.btn {
    font-size: 16px;
    font-weight: normal;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    line-height: normal;
    padding:5px 8px;
    margin-right: 10px;
    height: auto;
    border: 1px solid;
    vertical-align: middle;
    -webkit-appearance: none;
    color: #555;
    background-color: #fff;
}
	.main_box {
		padding: 20px;
	}
}