body{
	background-color: #fff;
	font-family: serif;
}

.my-item-container {
	/*background-color: #392;*/
	background-color: #170;
	color: #fff;
	padding: 0px;
	-webkit-transition: background-color 1s;
	-moz-transition: background-color 1s;
	box-shadow: 1px 1px 0px #ccc;
	border-radius: 5px;
	overflow: hidden;
}
.my-item-container-grey {
	background-color: #ddd;
	color: #777;
}
.my-item-container:hover {
	background-color: #140;
}
.my-item-container-grey:hover {
	background-color: #dfdfdf;
}
.my-item-container p {
	font-family: sans-serif;
	font-size: 1.1em;
	line-height: 1.1em;
	margin: 4px 2px 4px 2px;
	padding: 0px 8px 4px 8px;
}
.my-item-container h1 {
	font-family: sans-serif;
	font-size: 1.5em;
	font-weight: bold;
	text-shadow: 1px 1px 0px #000;
	margin-bottom: 0px;
	margin-top: 2px;
	padding-right: 7px;
	text-align: right;
	-webkit-transition: all 3s;
	-moz-transition: all 3s;
}
.my-item-container h2 {
	font-family: sans-serif;
	font-size: 1.2em;
	font-weight: bold;
	text-shadow: 1px 1px 0px #000;
	margin-bottom: 0px;
	margin-top: 2px;
	padding-right: 7px;
	text-align: right;
}
.my-item-container a{
	font-family: sans-serif;
	font-weight: bold;
	color: #aaa;
	-webkit-transition: all 3s;
	-moz-transition: all 3s;
}
.my-item-container:hover a {
	color: #fff;
}
.my-item-container-grey:hover a {
	color: #444;
}
.my-item-container a:hover {
	color: #fff;
	text-decoration: none;
	text-shadow: 1px 1px 1px #000;
}
.my-item-container-grey a:hover {
	color: #444;
	text-decoration: none;
	text-shadow: 1px 1px 1px #888;
}
.my-item-container img {
	-webkit-transition: all 3s;
	-moz-transition: all 3s;
}
.my-item-container img:hover {
	/*opacity: 0.9;*/
}
.my-item-container ul {
	font-family: sans-serif;
	font-size: 1.2em;
	margin-left: -9px;
	list-style: square;
}
.my-item {
	margin-top: 4px;
	margin-bottom: 4px;
	display: inline-block;
}
.my-row {
	margin-top: 5px;
	margin-left: 10px;
}
.my-item-container .inside {
	position: absolute;
	bottom: 0px;
	background-color: rgba(0,0,0,0.7);
}

/* dividing the layout */

@media screen and (max-width: 320px) {
	.my-item {
		width: 98%;
	}
	.my-2-size {
		width: 98%;
	}
}
@media screen and (min-width: 320px) {
	.my-item {
		width: 48%;
	}
	.my-2-size {
		width: 98.5%;
	}
}
@media screen and (min-width: 480px) {
	.my-item {
		width: 32%;
	}
	.my-2-size {
		width: 64.5%;
	}

}
@media screen and (min-width: 640px) {
	.my-item {
		width: 24%;
	}		
	.my-2-size {
		width: 48.5%;
	}
}
@media screen and (min-width: 800px) {
	.my-item {
		width: 19%;
	}	
	.my-2-size {
		width: 38.5%;
	}

}
@media screen and (min-width: 1024px) {
	.my-item {
		width: 16%;
	}	
	.my-2-size {
		width: 32.5%;
	}

}
@media screen and (min-width: 1300px) {
	.my-row {
		width: 1300px;
		margin: 0px auto;
	}		
}
