@charset "UTF-8";
/* CSS Document */

html, 
html * {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	 /*font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif"; */
	/* font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif"; */
	/* font-family: Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", "serif"; */
	 font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, "sans-serif";
	
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;

	background-color: #AAAAAA;
}

header {
	background-color: inherit;


}

header img{
	width: 70%;
	margin: 10px;
	margin-top: 40px;
}


a{
	background-color: inherit;
}

i{
	background-color: inherit;
}

div{
	background-color: inherit;
}

footer {
	padding: 20px 30px;
	background-color: inherit;
}

body {
	margin-left: auto;
	margin-right: auto;
	background-color: #fff;
	
}

main {
	background-color: inherit;
}

main img{
	max-width: 100%;
	
	
}

p{
	background-color: inherit;
	width: 70%;
	text-align: left;
	font-size: 0.8em;
	margin-bottom: 20px;
	margin-top: 20px;
}

p em{
	color: red;
	background-color: inherit;
}

.img-caption{
	font-size: 0.6em;
}

footer p{
	text-align: center;
}



.maincontainer{
	
	padding-bottom: 5px;
	
	color: black;
	
	background-color: white;
}

h1{
	font-size: 1.1em;
	margin-top: 40px;
	width: 70%;
	
	background-color: inherit;
	
}







/* (A) WRAPPER */
.hoverwrap {
  position: relative;
  width: 50%;
	padding-bottom: 20px;
}

/* (B) RESPONSIVE IMAGE */
.hoverwrap img { width: 100%; }

/* (C) CAPTION */
.hovercap {
  /* (C1) DIMENSIONS */
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  /* (C2) BOTTOM */
  position: absolute;
  bottom: 22px;
  /* (C3) COLORS */
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
}

/* (D) SHOW/HIDE */
.hovercap {
  visibility: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.hoverwrap:hover .hovercap {
  visibility: visible;
  opacity: 1;
}




.main-box{
	width: 30%;
    position: relative;
}
.main-box img{
	position: relative;
	width: 100%;
  	z-index: 1;
}
.overlay p{ 
    text-align: center;
    margin-top: 25%;
	background-color: #222;
}
.overlay{
	position: absolute;
    z-index: 2;
    top: 0;
    opacity: 0;
    color: #fff;
    width: 100%;
    height: 98%;
    transition: .5s ease;
    background-color: #222222;
}
.main-box:hover .overlay{
	opacity:0.8;
}




.myGallery {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 380px 380px;
}

.myGallery img {
  width: 70%;
}

.myGallery .item {
  position: relative;
  overflow: hidden;
}

.myGallery .item img {
  vertical-align: middle;
}

.myGallery .caption {
  margin-left: 15%;
  padding: 1em;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  width: 70%;
  max-height: 100%;
  overflow: auto;
  box-sizing: border-box;
  transition: transform .5s;
  transform: translateY(100%);
  background: rgba(0, 0, 0, .7);
  color: rgb(255, 255, 255);
}

.myGallery .item:hover .caption {
  transform: translateY(0%);
}




.column {
	margin: 15px;
	padding: 0 60px;
}
.column:last-child {
	padding-bottom: 60px;
}
.column::after {
	content: '';
	clear: both;
	display: block;
}
.column div {
	
	float: center; 
	padding-bottom: 20px;

}
.column div:first-child {
	margin-left: 0;
}

figure {
	margin: 0;
	padding: 0;
	
	background: #fff;
	overflow: hidden;
}
figure:hover+span {
	bottom: -36px;
	opacity: 1;
}


/* Zoom In #1 */
.hover01 figure img {
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.hover01 figure:hover img {
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

/* Opacity #2 */
.hover12 figure {
	background: inherit;
}
.hover12 figure img {
	opacity: 1;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.hover12 figure:hover img {
	opacity: .5;
}


