/*
* Smartphones - start
*/

  /* Smartphones (portrait and landscape) */
  @media only screen 
  and (min-device-width : 320px) 
  and (max-device-width : 480px) {
    
    body {
      padding: 0;
    }
    
    #wrapper > .container {
      padding-top: 60px;
    }
    
    #topBar.navbar {
      height: 51px;
    }
    
    #topBar .navbar-brand {
      left: 15px;
      top: 10px;
    }
    
    #topBar .navbar-collapse {
      border: 0 none;
      box-shadow: 0 0 0;
    }
    
    form#search {
      display: none;
    }
    
    .topBarSmall form#search {
      top: -30px;
    }
    
    .topBarSmall form#search button[type="submit"] {
      top: -1px;
    }
    
    #topBar.topBarSmall {
      height: 36px;
    }
    
    .treasure {
      display: none;
    }
    
    ul#topMenu {
      margin: 0;
      background-color: #FFFFFF;
      border-top: 2px solid #FFFFFF;
      border-left: 1px solid #EEEEEE;
      border-bottom: 1px solid #EEEEEE;
      right: 0px;
      position: absolute;
    }
    
    #topBar.topBarSmall ul#topMenu {
      
    }
    
    #topMenu .current-page-ancestor, 
    #topMenu .current_page_parent, 
    #topMenu .current_page_item {
      background-image: none !important;
    }
    
    body.home .featured {
      margin-top: 60px;
    }
    
    body.home .featured img {
      max-width: 200px !important;
      max-height: 200px !important;
    }
    
    body.home #row_intro {
      display: none;
    }
    
    ul#sideMenu {
      display: none;
    }
    
    .knowListItemContent .featured img {
      width: 80px;
      height: 80px;
      margin-bottom: 16px;
    }

    .knowListItemContent .excerpt p {
      line-height: 28px;
    }
    
    .pagination > li > a, 
    .pagination > li > span {
      padding: 6px 8px;
    }
    
    #go_blog_link a, #go_top_link a {
      display: none;
    }
    
    .footer .col-md-6.text-right {
      display: none;
    }
    
    .portfolio_carousel {
      margin-bottom: 0;
    }
    
    .portfolio_carousel .carousel_item_description h2 {
      /*font-size: 32px;
      letter-spacing: -1px;
      line-height: 36px;
      margin-left: 40px;
      margin-right: 20px;
      margin-top: 20px;*/
      display: none !important;
    }
    
    .portfolio_carousel .carousel_item_description .carousel_item_text {
      display: none !important;
    }
    
    .portfolio_carousel a.slide_thumb {
      display: none !important;
    }
    
    body.page h1 {
      font-size: 30px;
      letter-spacing: -2px;
      line-height: 36px;
      margin-bottom: 20px;
    }
    
  }

  /* Smartphones (landscape) */
  @media only screen 
  and (min-width : 321px) {
    
  }

  /* Smartphones (portrait) */
  @media only screen 
  and (max-width : 320px) {
    
    body.home .featured {
      margin-top: 100px;
    }
    
  }

/*
* Smartphones - stop
*/


/*
* iPads - start
*/

/* iPads (portrait and landscape) */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
  
  
  
}

/* iPads (landscape) */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
}

/* iPads (portrait) */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
  
  
  
}

/*
* iPads - stop
*/

/*
* Desktops and laptops - start
*/

@media only screen 
and (min-width : 1224px) {
}

/*
* Desktops and laptops - stop
*/

/*
* Large screens - start
*/

@media only screen 
and (min-width : 1824px) {
}

/*
* Large screens - stop
*/

/*
* iPads - start
*/

@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
}

/*
* iPhone 4 - stop
*/

/*  -------------- */

/* Large desktop */
@media (min-width: 1200px) {
	
}
 
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
	
/*	.carousel { min-height: 300px; }
	.carousel .item { min-height: 300px; }
	.secretary { width: 700px; }
	ul#blog { width: 700px; }
	#blog .blogListItem { width: 340px; }
	#blog .blogListItem:nth-child(2n) { margin-right: 0; }
	#blog .blogListItem:nth-child(3n+1) { clear: none; }
	#blog .blogListItem:nth-child(2n+1) { clear: left; margin-right: 20px; }
	#blog .blogListItemFullWidth { width: 100%; }
  .treasure_kb_left_col,
  .treasure_kb_article_main,
  #showSearchBarContainer {
    display: none;
  }*/
}
 
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
	
/*	#goTopLink, #returnToBlog { display: none; }
	.featured img { max-height: 150px !important; max-width: 150px !important; }
	#topMenu { background-color: #ffffff; float: none; }
	#topBar #topMenu a:hover,
	#topBar #topMenu a:active,
	#topBar #topMenu a:focus,
	#topBar #topMenu a:focus:hover { background-color: #ff0040; color: #ffffff; }
	a { transition: none !important; }
	#topMenu .current-page-ancestor, 
	#topMenu .current_page_parent, 
	#topMenu .current_page_item {
	  background-image: none; background-color: #ff0040;;
	}
	#topMenu .current-page-ancestor a, 
	#topMenu .current_page_parent a, 
	#topMenu .current_page_item a {
	  color: #ffffff !important;
	}
	#blogCategoriesContainer { display: none; }
	ul#blog { margin: 10px auto; width: 460px; }
	#blog .blogListItem {
	  margin-left: 0;
	  margin-right: 0;
	  width: 460px;
	}
	.secretary { display: none; }
	body.single h1 {
	  font-size: 28px;
	  letter-spacing: -1px;
	  margin: 10px 10px 0;
	}
	body.single .featured img {
	  margin-bottom: 20px;
	  margin-top: 20px;
	  max-height: 100px !important;
	  max-width: 100px !important;
	}
	body.single .blogEntryCredits {
	  font-size: 12px;
	  margin: 0 10px;
	}
	.fb-like, .fb-comments, h3#comments { display: none !important; }
	body.single .description {
	  font-size: 14px;
	  line-height: 22px;
	  margin: 10px;
	}
	.ngg-gallery-thumbnail img {
	  max-height: 150px !important;
	  max-width: 300px !important;
	}
	.ngg-gallery-thumbnail-box div.ngg-gallery-thumbnail a {
	  pointer-events: none;
   	cursor: default;
	}
	#topBar .navbar-brand {
	  margin-left: 20px;
	}
	#topBar.topBarSmall .navbar-brand {
	  background-size: 200px auto;
	  height: 20px;
	  margin-left: 20px;
	  padding: 0;
	  width: 48px;
	}
  .treasure_kb_left_col,
  .treasure_kb_article_main,
  #showSearchBarContainer {
    display: none;
  }*/
}
 
/* Landscape phones and down */
@media (max-width: 480px) {
/*	.treasure_kb_left_col,
  .treasure_kb_article_main,
  #showSearchBarContainer {
    display: none;
  }*/
}