@import url("//cdn.web-fonts.ge/fonts/bpg-arial-caps/css/bpg-arial-caps.min.css");
@import url("//cdn.web-fonts.ge/fonts/bpg-nino-mtavruli-bold/css/bpg-nino-mtavruli-bold.min.css");

#main{
	max-width: 1200px;
	margin: 20px auto;
	text-align: left;
}
.main{
	width: 284px;
	height: 330px;
	display: inline-block;
	margin: 4.9px;
	border-radius: 3px;
	background-color: #f1f8fe;
	border: 1px solid rgba(0,0,0,0.2);
	overflow: hidden;
	position: relative;
	-webkit-transition: all 0.3s;
	 -moz-transition: all 0.3s;
	 -o-transition: all 0.3s;
	transition: all 0.3s;
}
.main:hover{
	opacity: 0.7;
}
 .main pre{
 	width: 275px;
 	text-align: center;
 	position: relative;
 	padding: 5px;
 	font-size: 17px;
 	color: #313131;
    font-family: 'bpg_nino_medium_capsregular';
    font-weight: bold;
    margin-top: 10px;
 	
 }
 .main p{
 	 font-family: 'dejavu_sansbold';
 	color: #f98941;
 	font-size: 13px;

 	width: 275px;
 	text-align: center;
 	margin-top: 10px;
 }
  .main p:hover{
  	text-decoration: underline;
  }
.background{
	width: 100%;
	height: 240px;
	background-size: 100% 100%;
	position: relative;
	border-bottom: 1px solid rgba(0,0,0, 0.1);
	background-size: cover;
	background-position: center center;
}

.main .main-sale{
	width: 96%;
	height: 40px;
	background-color: #fff;
	color: #c1533a;
	position: relative;
	line-height: 38px;
	margin-top: 6px;
	padding: 5px;
	font-size: 15px;
	text-align: left;
	font-family: "BPG Arial Caps", sans-serif;
	text-decoration: line-through;
	-webkit-transition: all 0.3s;
	 -moz-transition: all 0.3s;
	 -o-transition: all 0.3s;
	transition: all 0.3s;
	overflow: hidden;
}


.background-hover{
	position: absolute;
	width: 100%;
	height: 100%;
    background-color: rgba(0,0,0, 0.1);
	opacity: 0;
	-webkit-transition: all 0.3s;
	 -moz-transition: all 0.3s;
	 -o-transition: all 0.3s;
	transition: all 0.3s;
}
.main:hover .background-hover{
	opacity: 1;
}

h2{
    width: 300px;
    margin: auto;
    font-size: 17px;
    text-align: center;
    font-family: 'dejavu_sansbold';
    height: 70px;
    position: relative;
}
.shape-top {
    width: 200px;
    border-bottom: 1px solid #e0aa54;
    position: absolute;
    bottom: 10px;
    left: 20px;
}
.shape-bottom {
    width: 200px;
    border-bottom: 1px solid #e0aa54;
    position: absolute;
    right: 20px;
    bottom: 20px;
}

@media only screen and (max-width: 1213px) {
	#main{
	text-align: center;
}
}