img {
    height: auto;
    max-width: 100%;
}
@media screen and (max-width: 1400px) {
.background-img img{
width:30%;
}
}
@media screen and (max-width: 1200px) {
.background-img img{
width:28%;
}
}

@media screen and (max-width: 1140px) {
.background-img img{
width:25%;
}
}

@media screen and (max-width: 1100px) {
.background-img img{
width:24%;
}
}
/************************************************************************************
smaller than 1024
*************************************************************************************/
@media screen and (max-width: 1024px) {
.background-img img{
width:21%;
}
}
/************************************************************************************
smaller than 900
*************************************************************************************/
@media screen and (max-width: 900px) {
.background-img img{
width:15%;
}
header h2{
width:38%;
margin-left:2.6%;	
padding-left:8.5%;
}
.body-container{
padding-left:5%;
}
}
/************************************************************************************
smaller than 800px
*************************************************************************************/
@media screen and (max-width: 800px) {
.background-img img{
width:15%;
left:-6%;
}
nav{
width:100%;
}
}
/************************************************************************************
smaller than 768px
*************************************************************************************/
@media screen and (max-width: 767px) {
.background-img img{
left:-4%;
}
header{
background:none #F8FAFB;
text-align:center;
}
header h2{
font-size:28px;
background:none;
margin:0 auto 20px auto;
padding:0;
width:100%
}
.logo{
background-position:top center;
width:100%;
float:none;
margin:0 0 20px 0;
}
.tinynav {
display:block;
}
#nav{
display:none;
margin:0px;
}
nav{
margin:0px;
}

.body-container{
padding-left:0;
}
.bottom-section ul li{
margin:0 12%;
}
.bottom-section ul li h3{
text-align:center;
font-size:14px;
}
.content-side{
width:100%;
}
aside{
width:100%;
float:left;
}
footer {
  text-align: center;
}
footer ul{
text-align:center;
width:100%;
}
.designedby{
float:none;
margin:0 auto 0 auto;
}
.copyrights{
margin:10px 0 0 0;
}
.contact-left,.contact-right{
width:95%;
}

.content-detail ul,.content ul li ul{
width:50%;
}
.content-section ul.gallery li{
width:50%;
float:left;
}
}
/************************************************************************************
smaller than 600px
*************************************************************************************/
@media screen and (max-width: 600px) {
.background-img img{
display:none;
}
.content-detail{
margin-bottom:20px;
}
.content-detail img{
float:none;
margin:0 auto 20px auto;
display:block;
}
.content-section ul li{
width:100%;
margin-bottom:0px;
min-height:110px;
}
}
/************************************************************************************
smaller than 480px
*************************************************************************************/
@media screen and (max-width: 480px) {
h1 {
font-size:20px;
}
/*h1,h2,h3,h4,h5 {
text-align:center;
}*/
p {
	font-size:14px;
    line-height: 18px;
    margin-bottom:5px;
}
.bottom-section ul li{
margin:0%;
width:100%;
}
.bottom-section ul li h3{
text-align:center;
font-size:14px;
}
footer h3{
font-size:16px;
}
footer p{
font-size:8px;
}
.container{
padding:0px
}
.content p.content-link{
font-size: 14px;
    line-height: 18px;
	margin:0px;
}
.content ul li img{
  display: block;
    float: none;
    margin: 0 auto 20px auto;
    text-align: center;
}
.content ul li{
margin-bottom:20px;	
font-size:14px;
}
.content-detail ul li{
margin-bottom:5px;
}
.content-detail ul,.content ul li ul{
width:100%;
}
.content ul li ul li{
background-position: 3px 9px;
}
.content-section ul.gallery li{
width:100%;
float:none;
}

.content-detail h2{
font-size:18px;
}
h4{
font-size:16px;
}
.content ul li p a{
font-size:14px;
}
table tr td{
font-size:14px;
}
}
/************************************************************************************
smaller than 320px
*************************************************************************************/
@media screen and (max-width: 320px) {
	
}
/************************************************************************************
smaller than 240px
*************************************************************************************/
@media screen and (max-width: 240px) {
	
}