@media only screen and ( min-width: 981px ) {
	.site {
		position: absolute;
		top: 0;
		bottom: 0;
	}

	.admin-bar .site {
		margin-top: 28px;
		margin-bottom: -28px;
	}
}

@media only screen and ( max-width: 1025px ) {
	.mobile-search {
		display: block;
		position: absolute;
		width: 100%;
		top: 50px;
	}

	.mobile-search-trigger {
		position: absolute;
		z-index: 999;
		top: -49px;
		right: 0;
		width: 49px;
		height: 49px;
		line-height: 50px;
		background: red;
		text-align: center;
		color: #000000;
		border-left: 1px solid #e3e3e3;
		background: #f5f5f5;
		cursor: pointer;
	}

	.mobile-search-trigger .search-icon {
		display: block;
		margin: auto;
		position: relative;
		top: 50%;
		margin-top: -8px;
	}

	.mobile-search #searchform {
		position: absolute;
		width: 100%;
		top: -50px;
	}

	.mobile-search .field {
		color: #808080;
		height: 50px;
		padding: 20px 70px 20px 15px;
		border: none;
		border-bottom: 1px solid #e3e3e3;
	}

	.mobile-search .field:focus {
		color: #404040;
	}

	.mobile-search #searchform .submit {
		cursor: pointer;
		top: 0;
		right: 0;
		margin: 0;
		padding: 0;
		height: 50px;
		width: 50px;
		line-height: 50px;
		font-weight: bold;
		border: none;
		background: none;
	}



	/* Mobile Nav */
	ul.nav-menu {
		display: none;
	}

	.site-navigation {
		float: none;
		top: 0;
		width: 100%;
		margin: 0;
	}

	.mobile-nav-toggle {
		font-size: 15px;
		color: #333333;
		position: relative;
		left: 0;
		right: 0;
		height: 51px;
		line-height: 51px;
		cursor: pointer;
		border-top: 1px solid #e3e3e3;
		border-bottom: 1px solid #e3e3e3;
		background: #ffffff;
		padding-left: 65px;
		margin: 0;
		display: block;
		cursor: pointer;
	}

	.mobile-nav-toggle:before {
		content: " ";
		position: absolute;
		top: 0;
		left: 0;
		width: 49px;
		height: 49px;
		background: #f5f5f5;
		border-right: 1px solid #e3e3e3;
	}

	.mobile-nav-toggle:after {
		position: absolute;
		top: 50%;
		left: 24px;
		height: 0;
		width: 0;
		margin: -4px 0 0 -8px;
		border: solid transparent;
		border-color: rgba(255, 0, 0, 0);
		border-top-color: #333333;
		border-width: 8px;
		content: " ";
		pointer-events: none;
	}

	.toggled-on .mobile-nav-toggle:before,
	.toggled-on .mobile-nav-toggle:before:hover {
		background-color: #e3e3e3;
	}

	.toggled-on .mobile-nav-toggle:after {
		border-top-color: transparent;
		border-bottom-color: #000000;
		margin-top: -12px;
	}

	.toggled-on .menu {
		background: #ffffff;
		border-bottom: 1px solid #e3e3e3;
	}

	.toggled-on .menu,
	.toggled-on .menu > ul {
		float: none;
		display: block;
		padding: 0;
		margin-left: 0;
		width: 100%;
	}

	.toggled-on .menu li,
	.toggled-on .children {
		float: none;
		display: block;
	}

	.toggled-on .menu li {
		border: none;
		border-bottom: 1px solid #e3e3e3;
	}

	.toggled-on .menu li:last-child {
		border-bottom: none;
	}

	.toggled-on .menu li li {
		border: none;
	}

	.toggled-on .menu li > ul,
	.toggled-on .menu .sub-menu,
	.toggled-on .menu .children,
	.toggled-on .menu .sub-menu ul,
	.toggled-on .menu .children ul {
		background-color: transparent;
		display: block;
		float: none;
		position: relative;
		left: auto;
		top: auto;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}

	.toggled-on .menu li > ul {
	    border-top: none;
		margin-left: 1.333em;
		border: none;
	}

	.toggled-on .menu .sub-menu,
	.toggled-on .menu .children {
		display: block;
	}

	.toggled-on .menu li > ul a {
		background: none;
	}

	.toggled-on .menu li:hover > a,
	.toggled-on .menu .children a {
		background-color: transparent;
	}
	
	.toggled-on .menu li a {
		color: #333333;
		background: none;
		border: none;
		margin: 0;
		padding: 1.1em 1.4285em;
	}

	.toggled-on .menu li li a {
		color: #707070;
		font-weight: normal;
		padding-top: 0.5em;
		padding-bottom: 0.5em;
	}

	.toggled-on .menu li ul {
		margin-bottom: 0.6em;
	}

	.toggled-on .menu li ul ul {
		margin-bottom: 0;
	}

	.nav-menu .current_page_item a,
	.nav-menu .current_page_ancestor a,
	.nav-menu .current-menu-item a,
	.nav-menu .current-menu-ancestor a,
	.nav-menu .sub-menu .current_page_item  a,
	.nav-menu .sub-menu .current_page_ancestor a,
	.nav-menu .sub-menu .current-menu-item a,
	.nav-menu .sub-menu .current-menu-ancestor a {
		background: none;
		text-shadow: none;
	}

	.nav-menu .current_page_item a:hover,
	.nav-menu .current_page_ancestor a:hover,
	.nav-menu .current-menu-item a:hover,
	.nav-menu .current-menu-ancestor a:hover {
		color: #333333;
		background: none;
	}

	/* Mobile Paging Navigation */
	#paginate {
		top: 0;
		position: relative;
		margin-left: 50px;
	}

	#paginate li {
		margin-top: 20px;
		float: left;
	}

	#paginate .page-numbers,
	#paginate .nav-previous a,
	#paginate .nav-next a {
		border-radius: 3px;
		border-left-width: 1px;
	}

	#paginate a.page-numbers:hover {
		padding-left: 0.8333em;
	}
}

@media only screen and (max-width: 980px) {
	.site-header {
		padding-top: 0;
		width: 100%;
		max-width: 762px;
		text-align: left;
	}

	.site-header-image img {
		float: none;
	}

	#main-header-image {
		display: none;
	}

	#mobile-header-image {
		display: block;
	}

	.site-info {
		padding-left: 1.384em;
		min-height: auto;
	}

	.line.vertical.left {
		width: 50%;
	}

	.line.vertical.right {
		display: none;
	}
}


/* MOBILE
/*-------------------------------------------------*/

@media only screen and (max-width: 767px) {
	.site-header,
	.site-main {
		width: 100%;
		max-width: 542px;
	}

	.nav-search-form {
		display: none;
	}

	/* Post Media */

	.grid-overlay {
		display: none;
	}

	.entry-image,
	.entry-media,
	.format-video .entry-media {
		margin: 0 0 1px;
	}

	.entry-media.entry-thumbnail {
		height: auto;
	}

	/* Post Header */
	#content .entry-header,
	#content .entry-meta,
	#it-exchange-product .sidebar-base-price,
	#it-exchange-product .sidebar-super-widget {
		clear: none;
		margin: 0 0 20px;
		width: 50%;
		margin-top: 0;
	}
	
	#it-exchange-product .sidebar-super-widget {
		min-height: 220px;
	}

	#content .entry-header {
		float: left;
		margin-left: -1px;
	}

	#content .entry-header:before {
		display: none;
	}

	.entry-meta {
		float: right;
	}

	/* Post Widgets */
	.widget-area {
		display: none;
	}

	/* Post Content */
	.entry-content {
		clear: both;
		float: left;
	}

	#jp-post-flair,
	.entry-content h1,
	.entry-content h2,
	.entry-content h3,
	.entry-content h4,
	.entry-content h5,
	.entry-content h6 {
		width: 100%;
	}

	#content .gallery .gallery-item {
		width: 100%;
	}
	
	/* Comments */
	.commentlist .children li {
		margin-left: 0;
	}
	
	.bypostauthor {
		padding: 10px 0 0;
	}
	
	.bypostauthor img.avatar {
		left: 10px;
	}
	
	#respond {
		max-width: 100%;
	}
	
	.entry-comment #respond {
		margin-left: 20px;
	}
	
	.entry-comment .comment-form-comment textarea {
		width: 94%;
	}
}


/* MOBILE (Small) (landscape)
/*-------------------------------------------------*/

@media only screen and (max-width: 480px) {
	/* Post Media */
	.entry-media.entry-thumbnail {
		height: auto;
		margin: 0 0 1px;
	}

	#content .entry-header,
	#content .entry-meta,
	#it-exchange-product .sidebar-super-widget {
		clear: both;
		width: 100%;
		margin: 0 0 1px;
	}

	#content .entry-content,
	#it-exchange-product .it-exchange-product-info-inner {
		clear: both;
		margin-top: 20px;
	}

	#content .title-block,
	#content .entry-meta .block-item {
		width: 100%;
	}

	.grid-overlay {
		display: none;
	}
	
	.entry-thumbnail.entry-media img {
		max-width: 100%;
	}	

	.block-item.two-blocks {
		width: 100%;
	}
}

/* MOBILE (Small) (portrait)
/*-------------------------------------------------*/

@media only screen and (max-width: 320px) {
	.entry-media {
		max-width: 100%;
		height: auto;
		margin-bottom: 1px;
	}

	.entry-header .block-item {
		width: 100%;
	}
}


/* MOBILE (Super Small)
/*-------------------------------------------------*/

@media only screen and (max-width: 240px) {
	.site-content,
	.site-footer {
		padding: 0;
	}

	.site-content {
		padding-top: 50px;
	}

	.entry-header .title-block {
		margin-top: 50px;
	}
}
