﻿.divprojmain
{
    position: relative;
    width: 1500px;
    height: auto;
    font-size: 14px;
}
.divprojcontent
{
    position: relative;
    float: left;
    width: 296px;
    height: 296px;
    margin: 2px;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    cursor: pointer;
}
.divprojtext
{
    position: absolute;
    background-color: rgba(0,0,0,0.5);
    width: auto;
    height: auto;
    left: 0px;
    right: 0px;
    bottom: 0px;
    padding: 10px 0 10px 0;
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    font-size: 1em;
    text-align: center;
    color: white;
    direction: rtl;
    z-index: 100;
    -moz-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
	-ms-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
	-o-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
	-webkit-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
	transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
}
.divprojcontent:hover .divprojtext
{
    background-color: rgba(0,0,0,0.9);
    padding: 20px 0 20px 0;
}




@media screen and (min-width:0px) and (max-width:1650px)
{
    .divprojmain
    {
        width: 1200px;
    }
}
@media screen and (min-width:0px) and (max-width:1350px)
{
    .divprojmain
    {
        width: 900px;
    }
}
@media screen and (min-width:0px) and (max-width:1050px)
{
    .divprojmain
    {
        width: 600px;
    }
}
@media screen and (min-width:0px) and (max-width:750px)
{
    .divprojmain
    {
        width: 300px;
        font-size: 13px;
    }
}
@media screen and (min-width:0px) and (max-width:550px)
{
    .divprojmain
    {
        width: 100%;
    }
    .divprojcontent
    {
        float: none;
        clear: both;
    }
}
@media screen and (min-width:0px) and (max-width:450px)
{
    .divprojcontent
    {
        width: 100%;
        height: 298px;
        margin: 2px 0px 2px 0px;
    }
}
@media screen and (min-width:0px) and (max-width:400px)
{
    .divprojcontent
    {
        height: 200px;
    }
}