/* All Responsive
================================================== */	
@media only screen and (max-width: 959px) {
		
	/*hide things*/
	#navigation ul {
		display: none;
	}

	#toplink {
		display: none !important;
	}
		
	/*logo*/
	#logo {
		text-align: center;
	}

	#logo img {
		display: inline-block;
	}

	#logo h1 a, #logo h2 a {
		display: block;
		float: none;
	}
		
	/*navigation top menu*/
	#navigation {
		height: 70px;
		width: 100%;
		position: inherit;
		top: auto;
		left: auto;
		right: auto;
		margin-top: 0;
		background: url("../images/responsive-nav.png") right center no-repeat;
	}

	#navigation .selector {
		width: 100%;
		color: #111;
		font-weight: bold;
		line-height: 70px;
		text-indent: 40px;
	}

	#navigation .selector {
		height: 50px;
		width: 100%;
		display: -moz-inline-box;
		display: inline-block;
		vertical-align: middle;
		zoom: 1;
		*display: inline;
		cursor: pointer !important;
	}

	#navigation .selector:hover {
		opacity: 1;
		-moz-opacity: 1;
		-webkit-opacity: 1;
	}

	#navigation .selector select:focus {
		outline: 0;
	}

	#navigation .selector span {
		display: block;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	#navigation .selector select {
		position: absolute;
		top: 0px;
		left: 0;
		height: 70px;
		background: none;
		width: 100%;
		font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
		font-size: 13px;
		font-weight: 500;
		color: #666 !important;
		cursor: pointer;
	}

	#navigation .selector {
		margin: 0;
		padding: 0;
		border: none;
	}

	#navigation .selector option {
		background: #000;
		-webkit-appearance: none;
		padding: 10px 40px;
		border: none;
		border-bottom: 1px solid #222;
	}
		
	/*display dropdown nav*/
	#navigation .selector {
		display: inline-block;
	}
		
	/*slider*/
	#home-slider .slider-loading {
		min-height: none;
	}
	
}


/* Tablet (Portrait) = Design for a width of 730px
================================================== */

@media only screen and (min-width: 768px) and (max-width: 959px) {

	/*main*/
	#wrap {
		width: 690px;
	}
	#post {
		width: 380px;
	}
	#sidebar {
		width: 190px;
	}
	.sidebar-bg{
		background-image: url("../images/single-post-bg-tablet.png") !important;
	}
	
	/* Home*/
	#home-social{
		position: inherit;
		top: auto;
		right: auto;
		margin-left: -5px;
		margin-bottom: -5px;
		overflow: hidden;
		margin-top: 20px;
	}
	#home-social li{
		margin-bottom: 5px;
	}
	.home-testimonial{
		width: 170px;
	}
	#home-testimonials .flex-direction-nav li a.flex-next {
		right: -25px;
	}
	
	#home-testimonials .flex-direction-nav li a.flex-prev {
		left: -35px;
	}
	
		
	/*portfolio*/
	.portfolio-entry {
		width: 230px;
	}
	#single-portfolio-related .portfolio-entry {
		width: 25%;
	}

	/*blog*/
	.blog-isotope .blog-entry {
		width: 210px;
	}
	#author-bio {
		width: 300px;
	}
	
	
	/*commnets*/
	.children li.depth-2,
		.children li.depth-3,
		.children li.depth-4,
		.children li.depth-5,
		.children li.depth-6,
		.children li.depth-7,
		.children li.depth-8,
		.children li.depth-9,
		.children li.depth-10 {
		margin: 0;
	}
		
	/*search*/
	.search-entry-text {
		width: 240px;
	}
		
	/*footer*/
	.footer-box {
		float: left;
		width: 190px;
		margin-right: 20px;
	}
	
	
}



/* Mobile (Portrait) = Design for a width of 280px
================================================== */

@media only screen and (max-width: 767px) {

	/*main*/
	#wrap {
		width: 280px;
	}
	#post {
		width: 100%;
	}

	#sidebar {
		width: 100%;
	}
	.sidebar-bg {
		background-image: none !important;
	}
	.footer-box {
		width: 100%;
	}
	.entry blockquote{
		margin-left: 0;
		margin-right: 0;
	}
	
	#sidebar{
		width: 100%;
		margin: 30px -40px -40px;
		padding: 40px;
		background: #000;
		background-image: none;
	}
	
	#error-page-text{
		font-size: 14px;
	}

		
	/*home*/
	#home-slider .flex-control-nav {
		display: none;
	}
	#home-tagline{
		text-align: center;
	}
	#home-social{
		position: inherit;
		top: auto;
		right: auto;
		margin-left: -5px;
		margin-bottom: -5px;
		overflow: hidden;
		margin-top: 20px;
		text-align: center;
	}
	#home-social li{
		float: none;
		display: inline-block;
		margin-bottom: 5px;
	}
	
	#home-slider .flex-direction-nav li a.flex-next,
	#home-slider .flex-direction-nav li a.flex-prev {
		display: block;
	}
	
	#home-testimonials{
		margin-right: 0;
		margin-bottom: -20px;
		overflow: hidden;
	}
	.home-testimonial{
		float: none;
		width: 240px;
		margin-right: 0;
		margin-bottom: 20px;
	}
	#home-testimonials .flex-direction-nav li a.flex-next {
		background: #000;
		color: #fff;
		font-size: 12px;
		top: -10px;
		right: 0px;
	}

	#home-testimonials .flex-direction-nav li a.flex-prev {
		background: #000;
		color: #fff;
		font-size: 12px;
		top: -10px;
		left: auto;
		right: 20px;
	}
		
	/*portfolio*/
	#portfolio-cats{
		overflow: hidden;
	}
	#portfolio-cats li {
		display: block;
		width: 100%;
		margin-right: 0;
	}
	#portfolio-cats li a {
		width: 100%;
		display: block;
		margin-bottom:7px;
		padding-left: 0;
		padding-right: 0;
		text-align: center;
	}
	
	.portfolio-entry {
		width: 140px;
	}
	
	#single-portfolio-media .flex-direction-nav li a.flex-next,
	#single-portfolio-media .flex-direction-nav li a.flex-prev{
		width: 30px;
		height: 30px;
		line-height: 30px;
		margin-top: -15px;
	}
	#single-portfolio-media .single-portfolio-image-description {
		display: none !important;
	}
	#single-portfolio-meta{
		width: 100%;
		max-width: 100%;
	}
		
	/*search*/
	.search-entry-image {
		float: none;
		margin-bottom: 25px;
	}

	.search-entry-text {
		float: none;
		width: 100%;
	}
		
	/*blog*/
	.blog-isotope {
		margin-right: 0;
	}
	
	.blog-isotope .blog-entry {
		width: 280px;
		margin-right: 0;
	}
	.single-post .meta li {
		display: block;
		background: none;
		padding: 0;
		text-align: center;
	}
	
	#author-image {
		margin-bottom: 20px;
	}

	#author-bio {
		width: 100%;
	}
		
	/*comments*/
	.comment-details {
		margin-left: 0;
	}

	.comment-details:after {
		display: none;
	}

	.comment-avatar {
		display: inline-block;
		margin-bottom: 10px;
		position: inherit;
		top: auto;
		left: auto;
	}

	.comment-date {
		display: block;
	}

	.comment-reply-link {
		display: block;
		padding-bottom: 10px;
		margin-bottom: 10px;
		border-bottom: 1px solid #ddd;
	}
	
	#commentform{
		font-size: 12px;
	}

	.children {
		margin: 30px 0 0;
	}

	.children li.depth-2,
		.children li.depth-3,
		.children li.depth-4,
		.children li.depth-5,
		.children li.depth-6,
		.children li.depth-7,
		.children li.depth-8,
		.children li.depth-9,
		.children li.depth-10 {
		margin: 0;
	}
	
}


/* Mobile (Landscape)
================================================== */

    /* Note: Design for a width of 480px */

@media only screen and (min-width: 480px) and (max-width: 767px) {

	#wrap{
		width: 370px;
	}
	.home-testimonial{
		float: none;
		width: 330px;
		margin: 0 0 20px;
	}
	.portfolio-entry {
		width: 185px;
	}
	.blog-isotope .blog-entry {
		width: 370px;
	}

}