@media (max-width: 767px) {
  .visible-phone {
    display: inherit !important;
  }
  .hidden-phone {
    display: none !important;
  }
  .hidden-desktop {
    display: inherit !important;
  }
  .visible-desktop {
    display: none !important;
  }
}
@media (min-width: 768px) and (max-width: 979px) {
  .visible-tablet {
    display: inherit !important;
  }
  .hidden-tablet {
    display: none !important;
  }
  .hidden-desktop {
    display: inherit !important;
  }
  .visible-desktop {
    display: none !important ;
  }


}
/* All Mobile Sizes */
@media (max-width: 767px) {
  /* General */
  body {
    margin-right: 10px;
    margin-left: 10px;
  }
  .container {
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
  }
  .row {
    margin-left: 0;
  }
  .wrap {
    width: auto;
  }
  [class*="span"] {
    display: block;
    float: none;
    width: auto;
    margin-left: 0;
  }
  h1 {
    font-size: 36px;
    line-height: 36px;
  }
  h2 {
    line-height: 28px;
    font-size: 22px;
  }
  h3 {
    line-height: 24px;
    font-size: 18px;
  }
  /* Sidebar */
  .sidebar {
    margin-top: 50px;
  }
  /* Home */
  .home_slogan {
    font-size: 30px;
    line-height: 40px;
    padding: 25px 8%;
  }
  /* Blog Detail */
  #commentform .textarea_input,
  #commentform .text_input {
    width: 90%;
  }
  /* About us */
  .about_us .Heading h1 {
    line-height: 50px;
    margin-bottom: 40px;
  }
  /* Page background */
  .page-background img {
    width: auto;
    max-width: none;
  }
  /* Contact */
  .contact_page {
    width: auto;
  }
  /* Portfolio */
  .portfolio .intro h1 {
    font-size: 45px;
    line-height: 45px;
  }
  /* Footer */
  #footer_content [class*="span"] {
    margin-bottom: 30px;
  }
  #footer_bottom .social_icons {
    float: none;
  }
  #footer_bottom .copyright {
    line-height: 21px;
    margin-bottom: 15px;
  }
}
/* Tablet & Mobile */
@media (max-width: 979px) {

  /* Blog */
  .blog_comments {
    width: auto!important;
  }
  .blog .blog_post {
    width: auto;
  }
  .blog .post_meta .post_icon,
  .blog .post_meta .post_date {
    float: left;
  }
  .blog .post_meta .post_icon {
    margin-right: 15px;
  }
  .blog .post_meta .post_date {
    margin-bottom: 0;
  }
  .blog .post_meta .label,
  .blog .post_meta .info {
    display: inline;
  }
  .blog .post_meta .info {
    margin-right: 15px;
  }
  .blog .post_image {
    margin-bottom: 15px;
  }
  .blog .separator {
    margin-bottom: 10px;
  }
  .blog .post_meta {
    margin-bottom: 15px;
  }
}
/* Tablet Portrait size to standard 960 (devices and browsers) */
@media (min-width: 768px) and (max-width: 979px) {
  .wrap {
    width: 764px;
  }
  .row {
    margin-left: -20px;
  }
  [class*="span"] {

  }
  .container {
    width: 724px;
  }
  .span12 {
    width: 724px;
  }
  .span11 {
    width: 662px;
  }
  .span10 {
    width: 600px;
  }
  .span9 {
    width: 538px;
  }
  .span8 {
    width: 476px;
  }
  .span7 {
    width: 414px;
  }
  .span6 {
  width:95%
  }
  .span5 {
    width: 290px;
  }
  .span4 {
    width: 228px;
  }
  .span3 {
    width: 166px;
  }
  .span2 {
    width: 104px;
  }
  .span1 {
    width: 42px;
  }
  .offset12 {
    margin-left: 764px;
  }
  .offset11 {
    margin-left: 702px;
  }
  .offset10 {
    margin-left: 640px;
  }
  .offset9 {
    margin-left: 578px;
  }
  .offset8 {
    margin-left: 516px;
  }
  .offset7 {
    margin-left: 454px;
  }
  .offset6 {
    margin-left: 392px;
  }
  .offset5 {
    margin-left: 330px;
  }
  .offset4 {
    margin-left: 268px;
  }
  .offset3 {
    margin-left: 206px;
  }
  .offset2 {
    margin-left: 144px;
  }
  .offset1 {
    margin-left: 82px;
  }
  /* Home */
  .slogan {
    font-size: 40px;
    line-height: 45px;
    padding: 30px 10%;
  }
  /* About Us*/
  .about_us .Heading h1 {
    font-size: 40px;
    line-height: 50px;
    margin-bottom: 40px;
  }
  .capabilities .titles li .circle {
    right: 0px;
  }
  /* Widgets */
  /* Flickr Widget */
  .flickr_container .flickr_badge_image {
    padding: 2px;
  }
  .flickr_badge_image .hover_image {
    left: 2px;
    top: 2px;
  }
}

@media screen and (min-width:769px) and (max-width:993px) {
	
  /* Awesome Slider */
  .awesome-slider {
    height: 290px;
  }
  .awesome-slider.slider-container .slide-item{
	  width: 50%;
	  float:right;
    position: relative;
    height: 250px;
	
	  }
	   .awesome-slider.slider-container .slide-item img{width:100%; height:auto;}
  .awesome-slider.slider-container .slide-meta {
    width: 50%;
	float:left;
    position: relative;
    height: 250px;
  }
  /* Awesome Slider */
  .awesome-slider .slide-meta .title {
    font-size: 36px;
    line-height: 36px;
  }
  .awesome-slider .meta {
    width: 80%;
    padding: 0 10%;
  }

}

@media screen and (min-width:481px) and (max-width:768px){
	  /* Awesome Slider */
  .awesome-slider {
    height: 280px;
  }
  .awesome-slider.slider-container .slide-item{
	  width: 40%;
	  float:right;
    position: relative;
    height: 250px;
	
	  }
	   .awesome-slider.slider-container .slide-item img{width:100%; height:auto;}
  .awesome-slider.slider-container .slide-meta {
    width: 60%;
	float:left;
    position: relative;
    height: 250px;
  }
  /* Awesome Slider */
  .awesome-slider .slide-meta .title {
	font-weight:bold;  
    font-size: 18px;
    line-height: 18px;
  }
  .awesome-slider .meta h4{
   font-size: 14px;
   line-height: 20px;
  }
  .awesome-slider .meta {
    width: 80%;
    padding: 0 10%;
  }
}

/* Landscape Phone */
@media (max-width: 480px) {
  /* Subnavigation */
  .subnavigation li {
    float: none;
    margin-top: 0;
  }
  /* About us */
  .about_us .Heading h1 {
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 30px;
  }
  /* jCarousel */
  .jcarousel-next-horizontal {
    right: 0;
    background: url("../img/slider_arrow_next_hover_mobile.png") no-repeat scroll 0 0 transparent;
    width: 13px;
    height: 25px;
  }
  .jcarousel-next-horizontal:hover {
    background: url("../img/slider_arrow_next_mobile.png") no-repeat scroll 0 0 transparent;
  }
  .jcarousel-prev-horizontal {
    right: 30px;
    background: url("../img/slider_arrow_prev_hover_mobile.png") no-repeat scroll 0 0 transparent;
    width: 13px;
    height: 25px;
  }
  .jcarousel-prev-horizontal:hover {
    background: url("../img/slider_arrow_prev_mobile.png") no-repeat scroll 0 0 transparent;
  }
  /* Tabs */
  .tab_head li {
    float: none;
  }
  .tab1 .tab_head a.selected span {
    color: #FFF;
    background: none;
  }
  .tab1 .tab_head a.selected {
    background-image: none;
    background-color: #ff9c00;
  }
  
  .awesome-slider {
    height: 330px;
  }
  .awesome-slider.slider-container .slide-item{
	  width: 100%;
	  height:180px;
	  overflow:hidden;
	  margin:0 auto;
	  display:block;
	  float:none;
    position: relative;
	
	  }
	   .awesome-slider.slider-container .slide-item img{width:100%; height:auto; margin:0; padding:0;}
  .awesome-slider.slider-container .slide-meta {
    width: 80%;
	  display:block;
	float:none;
    position: relative;
		padding-right:0 20%;
	height:150px;
  }
  /* Awesome Slider */
  .awesome-slider .slide-meta .title {
	font-weight:bold;  
    font-size: 16px;
    line-height: 15px;
  }
  .awesome-slider .meta h4{
   font-size: 14px;
   line-height: 14px;
  }
  .awesome-slider .meta {
    width: 100%;
	height:140px;
	overflow:hidden;
  }
  .latest_blog_post h2
{
	margin-bottom:5px;
	height: 60px;
	overflow: hidden;
}
}