﻿@font-face {
  font-family: 'Mitra';
  src: url('../Fonts/BMitra.eot?#') format('eot'),
       url('../Fonts/BMitra.woff') format('woff'),
       url('../Fonts/BMitra.ttf') format('truetype');
}

.divprojmain
{
    width: 100%;
}
.divprojcontent
{
    float: right;
    width: 33%;
    margin-bottom: 50px;
    font-family: 'Mitra';
    font-size: 22px;
    text-align: center;
    -moz-transition: all 0.2s ease-out;
	-ms-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	-webkit-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}
.divprojimage
{
    display: table;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: White;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    width: 360px;
    height: 360px;
    border: solid 2px #E3E3E3;
    clear: both;
    box-shadow: 0px 0px 0px -1px #C81E00;
    cursor: pointer;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    -moz-transition: all 0.2s ease-out;
	-ms-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	-webkit-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}
.divprojimage:hover
{
    display: table;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: White;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    width: 360px;
    height: 360px;
    border: solid 2px #C81E00;
    clear: both;
    box-shadow: 0px 0px 20px -1px #C81E00;
    cursor: pointer;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}
.divprojtitle
{
    display: table;
    width: 360px;
    padding-top: 15px;
    padding-bottom: 15px;
    clear: both;
    cursor: pointer;
    font-family: 'Tahoma';
    direction: rtl;
    -moz-transition: all 0.2s ease-out;
	-ms-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	-webkit-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}

.SDetailPicTD
{
    width: 470px;
}
.SDetailPic
{
    width: 450px;
    height: 345px;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: White;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    border: solid 1px #808080;
    cursor: pointer;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}
.SDetailPic:hover
{
    width: 450px;
    height: 345px;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: White;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    border: solid 1px #C81E00;
    cursor: pointer;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}
.SDetailTitleT
{
    width: 100%;
    padding-bottom: 2px;
    font-family: 'Mitra';
    font-size: 16px;
    text-align: right;
    color: #808080;
    overflow: auto;
    direction: rtl;
}
.SDetailTitle
{
    width: 98%;
    padding-right: 2%;
    padding-bottom: 12px;
    font-family: 'Mitra';
    font-size: 22px;
    text-align: right;
    line-height: 25px;
    color: Black;
    overflow: auto;
    direction: rtl;
}

@media screen and (min-width:0px) and (max-width:1300px)
{
    .divprojimage
    {
        width: 280px;
        height: 280px;
    }
    .divprojimage:hover
    {
        width: 280px;
        height: 280px;
    }
    .divprojtitle
    {
        width: 280px;
    }
}

@media screen and (min-width:0px) and (max-width:1000px)
{
    .divprojcontent
    {
        width: 50%;
    }
    .divprojimage
    {
        width: 280px;
        height: 280px;
    }
    .divprojimage:hover
    {
        width: 280px;
        height: 280px;
    }
    .divprojtitle
    {
        width: 280px;
    }
    .SDetailPicTD
    {
        width: 370px;
    }
    .SDetailPic
    {
        width: 350px;
        height: 268px;
    }
    .SDetailPic:hover
    {
        width: 350px;
        height: 268px;
    }
}