/* #Media Queries
================================================== */

/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 980px) {
	#container, .toggle-container, .top-drawer-content {
		width: 780px;
	}
	.side-column {
		width: 218px;
	}
	.main-column {
		width: 540px;
	}
	#home-slider {
		width: 518px;
	}
	.photo-wall li {
		width: 130px;
	}
	.copyright-text {
		width: 85%;
	}
	ul.social-icons li {
		margin: 0 12px 0 0;
	}
	section.footer-widget ul.blog-items li.left-item {
		margin-right: 20px;
	}
	section.footer-widget ul.blog-items li .blog-item-content {
		width: 153px;
	}
	section.widget #searchform input {
		width: 168px;
	}
	figcaption h3, .heading h3 {
		width: 87%;
	}
	.contactform #commentsText {
		width: 378px;
		max-width: 378px;
		min-width: 378px;
	}
	#commentform textarea {
		width: 368px;
		max-width: 368px;
		min-width: 368px;
	}
	.contact-page .entry p iframe {
		width: 478px;
	}
	.video-player iframe {
		width: 518px;
		height: 340px;
	}
	.content-items.dual-column li.item {
    	margin: 0 2px 20px 10px;
    	width: 253px;
	}
	.content-items.dual-column li.item .view-circle img {
		width: 100%;
		height: auto;
	}
	.content-items.dual-column figcaption {
		width: 233px;
	}
	.content-items.dual-column figcaption h3 {
    	width: 185px;
	}
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
	#container, .toggle-container, .top-drawer-content {
		width: 700px;
	}
	.side-column {
		width: 218px;
	}
	.main-column {
		width: 460px;
	}
	#home-slider {
		width: 438px;
	}
	.photo-wall li {
		width: 146px;
	}
	section.footer-widget ul.blog-items li .blog-item-content {
		width: 320px;
	}
	section.widget #searchform input {
		width: 168px;
	}
	.contactform #commentsText {
		width: 298px;
		max-width: 298px;
		min-width: 298px;
	}
	#commentform textarea {
		width: 288px;
		max-width: 288px;
		min-width: 288px;
	}
	.contact-page .entry p iframe {
		width: 398px;
	}
	.video-player iframe {
		width: 438px;
		height: 300px;
	}
	.content-items.dual-column li.item {
		margin: 0 2px 20px 10px;
		width: 213px;
	}
	.content-items.dual-column figcaption {
		width: 193px;
	}
	.content-items.dual-column figcaption h3 {
    	width: 148px;
	}
	#portfolio-filter {
		margin-top: 20px;
	}
	#portfolio-filter li {
		display: block;
	}
	#portfolio-filter li a {
		border-left: 0;
		padding: 3px 0;
		margin: 0;
	}
	.post-item .detail-info, .article-wrap .detail-info, .portfolio-detail .detail-info, .portfolio-item .detail-info {
		max-height: 100%;
	}
	.post-item .detail-info li, .article-wrap .detail-info li, .portfolio-detail .detail-info li, .portfolio-item .detail-info li {
		float: none;
		margin-bottom: 15px;
		border: 0;
		padding-left: 35px;
		background-position: 0 0;
	}
	.detail-info:after {
		margin-top: 15px;
	}
	section.flickr_widget img.flickr {
		width: 40px;
		height: 40px;
	}
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
	#container, .toggle-container, .top-drawer-content {
		width: 640px;
	}
	.content-items.dual-column li.item {
		float: none;
	}
	.main-column {
		width: 320px;
	}
	.photo-wall li {
		width: 110px;
	}
	.contactform label {
		margin-bottom: 10px;
	}
	.contactform #commentsText, #commentform textarea {
		width: 248px;
		max-width: 248px;
		min-width: 248px;
	}
	section.footer-widget ul.blog-items li .blog-item-content {
		width: 180px;
	}
	.contact-page .entry p iframe {
		width: 258px;
	}
	.video-player iframe {
		width: 298px;
		height: 180px;
	}
	.content-items.dual-column li.item {
    	float: none;
    	margin: 0 10px 20px;
    	width: 300px;
	}
	.content-items.dual-column figure figcaption {
		width: 278px;
	}
	.content-items.dual-column figcaption h3 {
    	width: 225px;
	}
	.content-items.dual-column figure img.wp-post-image {
		width: 298px;
	}
	.content-items.dual-column li.item .view-circle img {
    	height: auto;
    	width: 298px;
	}
	section.flickr_widget img.flickr {
		width: 40px;
		height: 40px;
	}
	.post-item .detail-info, .article-wrap .detail-info, .portfolio-detail .detail-info, .portfolio-item .detail-info {
		max-height: 100%;
	}
	.post-item .detail-info li, .article-wrap .detail-info li, .portfolio-detail .detail-info li, .portfolio-item .detail-info li {
		float: none;
		margin-bottom: 15px;
		border: 0;
		padding-left: 35px;
		background-position: 0 0;
	}
	.detail-info:after {
		margin-top: 15px;
	}
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	#container, .toggle-container, .top-drawer-content {
		width: 320px;
	}
	#container {
		padding: 60px 10px;
	}
	.top-drawer-content .col {
		margin-bottom: 20px;
	}
	.side-column, #home-slider {
		width: 298px;
	}
	.main-column {
		width: 320px;
	}
	.copyright-text {
		width: 215px;
	}
	.photo-wall li {
		width: 150px;
	}
	figcaption h3, .heading h3 {
		width: 230px;
	}
	section.widget #searchform input {
		width: 248px;
	}
	p.comment-form-author, p.comment-form-email, p.comment-form-url {
		height: auto;
	}
	#commentform label {
		float: none;
	}
	.flex-caption {
		width: 258px;
	}
	.flex-control-nav {
		display: none;
	}
	.single-post .navigation:after {
		 margin-top: 10px;
	}
	.single-navigation .nav-previous {
		float: none;
		margin-bottom: 10px;
		text-align: center;
	}
	.single-navigation .nav-next {
		float: none;
		text-align: center;
	}
	.post-item .detail-info li.categories {
		height: auto;
		margin: 0;
	}
	#portfolio-filter {
		margin-top: 20px;
	}
	#portfolio-filter li {
		display: block;
	}
	#portfolio-filter li a {
		border-left: 0;
		padding: 3px 0;
		margin: 0;
	}
	.back-to-top {
		position: fixed;
		bottom: 0;
		left: 0;
		padding: 10px;
		background-color: rgba(255, 255, 255, 0.6);
		background-position: center center;
		border-right: 1px solid #ccc;
		border-top: 1px solid #ccc;
		-webkit-border-radius: 0 10px 0 0;
		-moz-border-radius: 0 10px 0 0;
		-o-border-radius: 0 10px 0 0;
		border-radius: 0 10px 0 0;
	}
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
	#container, .toggle-container, .top-drawer-content {
		width: 320px;
	}
	#container {
		padding: 60px 0;
	}
	.top-drawer-content .col {
		margin-bottom: 20px;
	}
	.side-column, #home-slider {
		width: 298px;
	}
	.main-column {
		width: 320px;
	}
	.copyright-text {
		width: 215px;
	}
	.photo-wall li {
		width: 150px;
	}
	#portfolio-filter {
		margin-top: 20px;
	}
	#portfolio-filter li {
		display: block;
	}
	#portfolio-filter li a {
		border-left: 0;
		padding: 3px 0;
		margin: 0;
	}
	figcaption h3, .heading h3 {
		width: 230px;
	}
	section.widget #searchform input {
		width: 248px;
	}
	.back-to-top {
		position: fixed;
		bottom: 0;
		left: 0;
		padding: 10px;
		background-color: rgba(255, 255, 255, 0.6);
		background-position: center center;
		border-right: 1px solid #ccc;
		border-top: 1px solid #ccc;
		-webkit-border-radius: 0 10px 0 0;
		-moz-border-radius: 0 10px 0 0;
		-o-border-radius: 0 10px 0 0;
		border-radius: 0 10px 0 0;
		display: none;
	}
}


