@import url(https://fonts.googleapis.com/css?family=Oswald:300,400,700);

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.body {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  line-height: 1.5;
  color: #333;
}

.a {
  color: #fff;
}


.header {
  background-color: #50514f;
  color: #fff;
  text-align: center;
  padding: 30px 0 120px;
}
.header h1 {
  text-align: center;
  text-transform: uppercase;
  font-size: 65px;
  font-weight: 400;
  letter-spacing: 3px;
  line-height: 0.8;
  padding-top: 50px;
  font-family: "Montserrat", sans-serif;
}
.header h1 span {
  text-transform: uppercase;
  letter-spacing: 7px;
  font-size: 25px;
  line-height: 1;
}
.header p {
  padding-top: 30px;
}


.title {
	background: white; 
	padding: 20px; 
	margin:0 auto; 
	text-align:center;
}


.title h1 {
	font-size:35px; 
	letter-spacing:8px;
}
h1 {font-family:'Oswald', sans-serif; font-size:24px; font-weight:400; text-transform: uppercase; color:black; padding:0; margin:0;}
h4 {font-family:'Oswald', sans-serif; font-size:14px; line-height:0; font-weight:400; letter-spacing:8px; text-transform: uppercase; color:black;}


.boxalbumlist, .boxgambarlist{
	width: 930px;; overflow-x:hidden; height:auto; padding-top:0px;
}

.boxalbum {
	display:table-cell;padding: 27px;
}

.imgalbum {
	width:200px;height:200px; border-radius:25px; border: solid 2px #05344e; box-shadow: 2px 2px #06F;
}



.titlealbum{
	text-align:center; padding-top:15px;  font-family:'Oswald'; 
}

.boxgambar{
	display:block;
	float: left;
	padding: 10px 10px 10px 0px;
}
.boxgambar:nth-child(4n+4){
	padding-right: 0px;
}

.boxgambar a{
	width: 215px;
	height: 215px;
	display: table-cell;
	background: #05344e;
	border: 1px solid #05344e;
	vertical-align: middle;
}

.boxgambar img{
	width:100%;
	border: none;
}

/*
.main {
    width: 1100px;
    margin: auto;
    margin-top: 134px;
    min-height: 820px;
}*/

.boxgambarlist {
width: 900px;
overflow-x:hidden; 
height:auto; 
padding-top:10px;
background-color:#DCDCDC;
border-radius: 20px;
 margin: auto;

 }

.div.gallery {
  border: 1px solid #ccc;
  margin-bottom: 15px;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.desc {
  padding: 15px;
  text-align: center;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 0 6px;
  float: left;
  padding: 2em 4%;
  width: 33.3%;
}

.wraps{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}


.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 80px auto;
  padding: 20px;
  background: rgba(255,255,255,0.4);
  border-radius: 5px;
  width: 800px;
  height:auto;
  position: relative;
  transition: all 5s ease-in-out;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #06D85F;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}

div.popup img {
  width: 100%;
  height: auto;
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 70%;
    margin: 6px 0;
  }
  .boxgambarlist{
	width: 100%;
    margin: 6px 0;
  }
  .overlay{
	  display:none;
  }
  .title {background: white; padding: 20px; padding-top: 70px; margin:0 auto; text-align:center;}
  .title h1 {font-size:35px; letter-spacing:8px;}
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 95%;
    margin: 6px 0;
  }
  .overlay{
	  display:none;
  }
  .title {background: white; padding: 20px; padding-top: 70px; margin:0 auto; text-align:center;}
  .title h1 {font-size:35px; letter-spacing:8px;}
}

/*.clearfix:after {
  content: "";
  display: table;
  clear: both;
}*/
