@media all and (max-width: 1330px) and (min-width: 1180px) {

  header.boxed .header-margin{
    width:1000px;
  }

  .content .text-intro{
    width:1000px;
  }

  .footer-margin{
    width:1000px;
  }

  .content .text-intro h1, .content .text-intro h2, .content .text-intro h3, .content .text-intro p{
    width:60%;
  }

  #full{
    width:1000px;
  }

  .prev-next{
    max-width:1000px;
  }


  /*
  **************************
  Portfolio Grid
  **************************
  */

  #portfolio-sidebar{

    width: 710px !important;
    padding-right: 320px;
  }

  .portfolio-grid{

    width:1030px;
	  
  }
	
  .two .grid-hover, .two li.grid-item, .two li.grid-item img{
    width:490px;
  }

  .three .grid-hover, .three li.grid-item, .three li.grid-item img{
    width:320px;
  }

}


@media all and (max-width: 1179px) and (min-width: 1024px) {


  header.boxed .header-margin{
    width:800px;
  }

  .content .text-intro{
    width:800px;
  }

  .footer-margin{
    width:800px;
  }

  .content .text-intro h1, .content .text-intro h2, .content .text-intro h3, .content .text-intro p{
    width:60%;
  }

  .prev-next{
    max-width:800px;
  }


  /*
  **************************
  Portfolio Grid
  **************************
  */

  #portfolio-sidebar{

    width: 580px !important;
    padding-right: 250px;
  }

  .portfolio-grid{

    width:830px;
  }

  .two .grid-hover, .two li.grid-item, .two li.grid-item img{
    width:385px;
  }
	
  .three .grid-hover, .three li.grid-item, .three li.grid-item img{
    width:250px;
  }
	
}


@media all and (max-width: 1023px) and (min-width: 769px) {


  header.boxed .header-margin{
    width:600px;
  }

  .content .text-intro{
    width:600px;
  }

  .footer-margin{
    width:600px;
  }

  .content .text-intro h1, .content .text-intro h2, .content .text-intro h3, .content .text-intro p{
    width:100%;
  }

  .prev-next{
    max-width:600px;
  }
  	
.three-column ol li {
	width:100%;
}

.three-column ul li {
	width:100%;
}

.three-column li img {
	width:100%;
}

.extra_height {
	height: 40px;
	clear: both;
}

 


  /*
  **************************
  Portfolio Grid
  **************************
  */

  #portfolio-sidebar{
    width:630px !important;
    padding-right: 0;
  }

  .portfolio-grid{
    width:630px;

  }

  .two .grid-hover, .two li.grid-item, .two li.grid-item img{
    width:600px;
  }
	
  .three .grid-hover, .three li.grid-item, .three li.grid-item img{
    width:285px;
  }

}



@media all and (max-width: 768px) and (min-width: 481px) {

  header.boxed .header-margin{
    width:400px;
  }

  .content .text-intro{
    width:400px;
  }

  .footer-margin{
    width:400px;
  }

  .content .text-intro h1, .content .text-intro h2,.content .text-intro h3, .content .text-intro p{
    width:100% !important;
  }

  .prev-next{
    max-width:400px;
  }
  
 
  .one-column, .two-column, .three-column{
    width:100%;
  }
    
  .logo, .menu-index{
    display:block;
  }
  
#footer-left{text-align:center;}

.three-column ol li {
	width:100%;
}

.three-column ul li {
	width:100%;
}

.three-column li img {
	width:100%;
}
	
.extra_height {
	height: 40px;
	clear: both;
}
	
  /*
  **************************
  Portfolio Grid
  **************************
  */

  #portfolio-sidebar{

    width:430px !important;
    padding-right: 0;
  }

  .portfolio-grid{
    width:430px;
  }

  .two .grid-hover, .two li.grid-item, .two li.grid-item img{
    width:400px;
  }
	
  .three .grid-hover, .three li.grid-item, .three li.grid-item img{
    width:400px;
  }

}


@media all and (max-width: 480px) and (min-width: 320px) {
	
.opacity-nav{
	width:100%;
}

  header.boxed .header-margin{
    width:280px;
  }

  .content .text-intro{
    width:280px;
  }

  .footer-margin{
    width:280px;
  }
  
  .footer-margin .copyright{line-height:20px;}

  .content .text-intro h1, .content .text-intro h2, .content .text-intro h3, .content .text-intro p{
    width:100% !important;
  }

  .prev-next{
    max-width:280px;
  }
  
  .home-sidebar{
    display:none;
  }
 
  .one-column, .two-column, .three-column{
    width:100%;
  }
        
#footer-left{text-align:left;}
  
  .content .text-intro h1{
    font-size:32px; 
    line-height:40px;
  }
  .content .text-intro h2{
    font-size:20px; 
    line-height:30px;
  }

.three-column ol li {
	width:100%;
}

.three-column ul li {
	width:100%;
}

.three-column li img {
	width:100%;
}
	
.extra_height {
	height: 40px;
	clear: both;
}

  /*
  **************************
  Portfolio Grid
  **************************
  */

  #portfolio-sidebar{

    width:310px !important;
    padding-right: 0;
  }

  .portfolio-grid{
    width:310px;
	  
  }
	
  .two .grid-hover, .two li.grid-item, .two li.grid-item img{
    width:290px;
  }

  .three .grid-hover, .three li.grid-item, .three li.grid-item img{
    width:290px;
  }

}