/**************************
 Responsive
**************************/
@media all and (min-width: 768px) {
	.navbar-nav>li>.dropdown-menu {
		-webkit-transition: all .5s ease-in-out;
		-moz-transition: all .5s ease-in-out;
		-o-transition: all .5s ease-in-out;
		transition: all .5s ease-in-out;
	}
	.navbar-nav>li:hover>.dropdown-menu {
		display: block;
	}
}

@media all and (min-width: 1367px) {
	.featured-post-pic {
		height: 195px;
	}
}

@media all and (min-width: 992px) {
	/**************************
   MISCs
  **************************/
	/*
	.noPadding {padding: 0;}
	.noPaddingL {padding-left: 0;}
	.noPaddingR {padding-right: 0;}
	.noPaddingT {padding-top: 0;}
	.noPaddingB {padding-bottom: 0;}
	.noPaddingLR {padding-left: 0; padding-right: 0;}
	.noPaddingTB {padding-top: 0; padding-bottom: 0;}
*/
	.middle-sec {
		float: right;
	}
}
@media all and (max-width: 1199px) and (min-width: 991px) {
	.nav>li>a {
		padding: 15px 5px;
	}
	
	.navbar-nav>li>a {
		font-size: 14px;
	}
	
	.btn {
		padding: 6px;
	}
	
	button, html input[type=button], input[type=reset], input[type=submit] {
		text-transform: initial;
		font-weight: normal;
	}
	
	#carousel-1 .carousel-indicators {
		margin-top: -14px;
	}
	
	.newest-members .member .name {
		width: 250px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	
	.right-sec div.title {
		text-transform: capitalize;
	}
	
	.right-sec div.title a {
		text-transform: lowercase;
	}
	
	.box .counter .inn-box,
	.box .counter span {
		display: block;
		text-align: center;
	}
	
	.carousel-inner .block .img {
		min-height: 210px;
	}
	
	.carousel-inner .block .img .featured {
		height: auto;
	}
	
	#adv-search input.form-control {
		width: 150px;
	}
}


@media all and (max-width: 991px) and (min-width: 768px) {
	.featured-pages {
		float: right;
	}
	.carousel-3 .block {
		margin-bottom: 5px;
	}
	footer .likes {
		width: 100%;
		text-align: center;
	}
	footer .copyright {
		padding-top: 20px;
	}
}
@media all and (max-width: 1340px) and (min-width: 768px) {
	.cci-author a {
		font-size: 12px;
	}
	.newest-members .member .pic {
		width: 100%;
		height: 100%;
	}
	.newest-members .member .pic img {
		width: 100%;
		height: 100%;
	}
	.newest-members .member .name {
		width: 100%;
	}
	.comment-box {
		height: 90px;
	}
	.comment-box .comment-subject {
		font-size: 15px;
	}

	.comment-box .comment-by {
		font-size: 12px;
	}

	.comment-box .comment-to {
		font-size: 12px;
	}	
	
	.gallery-item .gallery-item-details {
		height:160px;
	}

	.gallery-item .gallery-item-details .item-title {
		height: 32px;
		text-align: center;
		display: block;
		margin-bottom: 5px;
	}
	
	.gallery-item .item-details .id-description {
		height: 32px;
	}
	
	.gallery-item .gi-author,
	.gallery-item .gi-img {
		float: none;
		display: block;
		width: 100%;
		text-align: center;
	}
	
	.gallery-item .gi-date {
		display: block;
		text-align: center; 
		float: none;
		margin-top: 5px;
	}
	
}

/* iPad */
@media all and (max-width: 991px) {
	.cci-author a {
		width: 80px;
		font-size: 12px;
	}
	.news-links.default-section .title h2 {
		display: block;
		padding-top: 15px;
	}
	#main-content .news-links .more-news {
		float: none;
		display: inline-block;
		font-size: 11px;
	}
	
	.gallery-item .gi-author,
	.gallery-item .gi-img {
		float: none;
		display: block;
		width: 100%;
		text-align: left;
		margin-bottom: 5px;
	}
	
	.gallery-item .gi-author:before,
	.gallery-item .gi-img:before {
		width: 15px;
	}	
	
  #main-content .gallery-item .gi-thumb {
    display: block;
    float: none;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }

	#main-content .images-gallery .gallery-item {
		min-height: 270px;
	}
	
	#main-content .news-gallery .gallery-item .gi-thumb {
		height: 110px;
	}
	
  #main-content .gallery-item .gi-thumb img {
    display: block;
    width: 100%;
  }
  #main-content .gallery-item .gallery-item-details {
    height: auto;
  }

  /* Images - Pagination */
  #main-content .gallery-pagination .pager {
    float: none;
    display: block;
    margin: 15px auto;
  }
  .search-note {
    font-size: 13px;
  }

  /* Adv Search Field */

  #adv-search {
    padding-left: 195px;
  }

  #adv-search .search-category {
    width: 200px;
  }
  #adv-search .search-category select {
    width: 145px;
  }

  #adv-search .btn-default .textBtn {
    display: none;
  }
}

@media all and (max-width: 767px) {
	
	.admin-panel {
		height: 50px;
		top: -50px;
	}
	
	.trigger-admin-panel.active {
		top: 50px;
	}
	
	.full-content {
		padding-left: 15px;
		padding-right: 15px;
	}
	
	.full-content .in-title {
		margin-left: -15px;
		margin-right: -15px;
	}
	.brand-right .hover-dropdown {
		float: right;
		margin-right: 15px;
		margin-top: 10px;
	}
	
	#carousel-2 .carousel-inner {
		height: 280px;
	}
	
	#carousel-2 .photo {
		width: 100%;
		max-width: 100%;
		height: auto;
	}
	
	#carousel-2 .carousel-inner > .item {
		top: initial;
		bottom: 0;
	}
	
	#carousel-2 .carousel-inner > .item:first-of-type {
	position: absolute;
}
	
	.brand-right .hover-dropdown .btn-default {
		background: #fff;
	}
	
	.brand-right .hover-dropdown:hover .btn-default,
.brand-right .hover-dropdown:focus .btn-default	{
		background: #3a7fc3;
	}
	
	.navbar-collapse {
		padding-right: 15px;
		padding-left: 15px;
	}
	.carousel-3 .block {
		margin-bottom: 5px;
	}
	.newest-members .member {
		float: left;
		width: 50%;
	}
	footer .links {
		width: 100%;
		margin: 30px auto;
	}
	footer .links li {
		width: 48%;
		display: inline-block;
	}
	/*#carousel-2 .block .img .photo {
		min-height: 380px;
	}*/
	.logo {
		float: none;
		display: inline-block;
		width: 100%;
		text-align: center;
		margin: 20px 0px;
	}
	.navbar-nav {
		position: fixed;
		left: 0;
		top: 0;
		width: 200px;
		height: 100%;
		margin: 0 0 0 -200px;
		overflow-y: auto;
		-webkit-transition: all .2s ease-in-out;
		-moz-transition: all .2s ease-in-out;
		-o-transition: all .2s ease-in-out;
		transition: all .2s ease-in-out;
	}
	/*.collapse {
		display: block;
	}*/
	.sidebar-show .navbar-nav {
		margin-left: 0px;
		background: #eee;
	}
	.brand-right {
		position: absolute;
		padding: 0px;
		top: 0px;
		width: 100%;
	}
	.navbar-form {
		padding: 10px 0px 0 7px;
		border: 0px !important;
		box-shadow: none;
		top: -10px;
	}
	.brand-right .login-btn {
		float: right;
		margin: 10px 7px 0 0px;
	}
	.social-nav .home-btn {
		display: none;
	}
	.social-nav .social-btn {
		display: none;
	}
	.social-nav {
		min-height: 50px;
	}
	.btn-default {
		background: none;
	}
	.brand-right .navbar-form .form-control {
		background-position: 0px 9px;
		padding-left: 40px;
		width: 130px;
		font-size: 12px;
		background-size: 38px;
		height: 31px;
	}
	.brand-right .navbar-form .btn-default {
		padding: 4px 8px 7px;
		border: 0px;
		border-left-color: #efefef;
	}
	.brand-right .login-btn .btn {
		padding: 6px 8px;
		font-size: 12px;
	}
	.navbar .navbar-form .form-control {
		left: 16px;
	}

  /* Images - Search Advanced */
  #adv-search .btn-default .textBtn {display: none}
  .search-note {font-size: 12px;}
  #search_concept {display: none}
  #adv-search .dropdown.dropdown-lg .dropdown-menu {
    width: 100%;
    margin-top: 33px;
  }

  /* adv Search */
  #adv-search .btn-group .btn {
    margin-left: 0;
  }

  #adv-search .input-group-btn:last-child > .btn,
  #adv-search  .input-group-btn:last-child > .btn-group {
    margin-left: 0;
  }

  #adv-search {padding-left: 0; text-align: center; margin-bottom: 30px;}
  #adv-search .search-category {
    width: 100%;
    position: relative;
  }

  #adv-search .search-category label {
    display: block;
    text-align: center;
  }

  #adv-search .search-category select {
    width: 100%;
  }

  #adv-search input.form-control {
    display: block;
    width: 100%;
    margin: 5px 0;
  }

  #adv-search .input-group-btn {
    display: block;
    float: none;
    width: 100%;
  }

  #adv-search .btn-group .btn-default {
    float: left;
    width: 80%;
    position: relative;
  }

  #adv-search .btn-default .textBtn {
    display: inline-block;
  }

  #adv-search .input-group-btn {
    clear: both;
  }

  #adv-search .input-group-btn .btn-group {
    display: block !important;
    width: 100%;
    position: relative;
    text-align: center;
  }
  #adv-search .btn-group .btn.btn-primary {
    width: 20%;
    float: left;
    position: relative;
  }

  #adv-search .input-group-btn .btn-group:after {
    content:'';
    display: block;
    clear: both;
  }
}
