/* ----------------------------- iPad (landscape) ----------------------------- */
@media screen and (min-width:768px) and (max-width:1024px) {
	
	.tabs li a {
		width:32px;
	}
	
	.masonr{
		width: 48%;
		padding-bottom: 20px;
		margin: 0 1% 0 1%;
	}
}

/* ----------------------------- iPad (portrait) ----------------------------- */
@media screen and (min-width:650px) and (max-width:768px) {
	.logo {
	margin: 0 0 10px 40px;
	}
	.menu-wrap {
		display: inline-block;
	}
	
	.top-bar {
		margin-top: 0px;
        text-align: center;
	}

	.menu-wrap .main-select-menu {
		display: inline;
	}

	.main-nav {
	    display: none;  
	}
	
	.select-menu, .main-select-menu, span. {
		width: 100%;
        text-align: center;
		margin: 0 auto;
	}
	
	.menu-header-container {
		position: relative;
	}
	
	.menu-wrap form div{
		position: relative;
	} 
	
	.menu-wrap select.main-select-menu{
	    position: relative;
	    z-index: 10;
	    width: 300px !important;
	    height: 41px !important;
	    line-height: 26px;
	}
	
	.menu-wrap span.select {
		display: block;
	}
	
	.menu-wrap span.select{
	    position: absolute;
	    bottom: 0;
        margin: 0 auto;
	    width: 300px;
	    height: 41px;
	    line-height: 43px;
	    font-size: 14px;
	    font-weight: bold;
	    color: #fff;
	    text-indent: 15px;
	    background: url(images/select.png) no-repeat center;
	    cursor: default;
	    z-index: 1;
	}
	
	#content {
		width: 65.5%;
	}

	#sidebar {
		width: 22.75%;
		margin-left: 2.75%;
		margin-top: 50px;
		clear: none;
	}
	
	.tabs li, .tabs li a {
		width: 100%;
		margin-bottom: 2px;
	}
	.tabs > li:first-child a {
		margin-left: 6px;
	}
	.count-box {
		padding-left: 48px;
	}
	
	.masonr{
		width: 100%;
		padding-bottom: 15px;
		margin: 0 0 0 0;
	}
	
	#footer .widget{
		width: 50%;
	}
	#footer .widget:nth-child(3){
		float: right;
	}
	
}

/* ----------------------------- iPhone ----------------------------- */
@media only screen and (max-width:767px) {
	
	body {
	   
	    font: 13px/22px 'Open Sans', Arial, sans-serif;
	}
	
	.logo {
	margin: 0 0 10px 40px;
	}
    .menu-wrap {
		display: inline-block;
	}
	
	.top-bar {
		margin-top: 0px;
        text-align: center;
	}
	
	#wrapper {
		padding: 0 10px;
	}
	
	#content {
		margin-top: 50px;
		width:100%;
	}
	
	#content p {
		font-size: 13px;
	}
	
	.scroll {
		margin: 30px 0 30px 0;
	}
	
	.scroll-excerpt {
		font-size: 26px;
		line-height: 36px;
	}
	
	.entry-title {
		font-size: 24px;
		line-height: 34px;
	}
	
	.title-meta {
		font-size: 11px;
	}
	
	.post {
		margin-bottom: 35px;
	}
	
	.post .bar {
		padding-top:10px;
	}
	
	.bar .tags .title {
		margin-right: 8px;
	}
	
	.bar .share {
		margin: 0 0 0 20px;
	}
	.bar .post-info {
		padding-top: 7px;
	}
	
	.bar .share a {
		float: left;
	}
	
	.post-wrap .post:last-child {
		margin-bottom: 0px;
	}
	
	.post-nav {
		margin: 25px 0;
	}
	
	.next-prev {
		margin-top:0px;
		font-size: 12px;
	}
	
	#sidebar {
		clear: both;
		float: left;
		width: 100%;
		margin: 0 0 15px 0;
	}
	
	#sidebar .widget{
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	
	.tabs > li a {
		width: 55px;
	}
	
	#respond input[type="text"], #respond textarea {
    	width: 100%;
    }
    
    #cancel-comment-reply {
		float: left;
	}
	
	.wpcf7 input[type="text"] {
    	width: 100%;
    }
    
    #footer .copyright {
	    margin-top: 15px;
    }
    
    .social-icons {
		float: left;
		margin-top: 15px;
	}
	.masonr, .twocol .masonr{
		width: 100%;
		padding-bottom: 10px;
		margin: 0 0 0 0;
	}
	.footer-inner{
		width: 98%;
		margin: 0 1%;
	}
	#footer  .widget{
		width: 50%;
		margin-bottom: 10px;
	}
}

/* ----------------------------- iPhone menu ----------------------------- */
@media only screen and (max-width:650px) {
    
    .header-wrapper-inner {
    padding: 0px 0px;
    }
	
	.logo-img, .logo-text {
		margin-bottom: 10px;
        padding-left: 0px;
	}
	
	.logo-default{
		width:100%;
	}
	
	.top-bar {
		width:100%;
		margin-top: 0px;
	}
	
	.menu-wrap .main-select-menu {
		display: block;
	}

	.main-nav {
	    display: none;  
	}
	
	.menu-header-container {
		position: relative;
	}
	
	.menu-wrap .main-select-menu {
		width: 100%;
		margin: 20px 0 0 0;
	}
	
	.menu-wrap form div{
		position: relative;
	} 
	
	.menu-wrap select.main-select-menu {
	    position: relative;
	    z-index: 10;
	    width: 300px !important;
	    height: 41px !important;
	    line-height: 26px;
	}
	
	.menu-wrap span.select {
		display: block;
	}
	
	.menu-wrap span.select{
	    position: absolute;
	    bottom: 0;
        margin: 0 auto;
	    width: 300px;
	    height: 41px;
	    line-height: 43px;
	    font-size: 14px;
	    font-weight: bold;
	    color: #fff;
	    text-indent: 15px;
	    background: url(images/select.png) no-repeat center;
	    cursor: default;
	    z-index: 1;
	}


	#sidebar{
		max-width: 96%;
		margin: 0 2%;
		margin-bottom: 15px;
	}
	
	#sidebar .widget{
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	
	#footer .widget{
		width: 100%;
		float: left;
	}
	

	#content{
        margin-top: 30px;
		max-width: 96%;
		margin-left: 2%;
        margin-right: 2%;
	}


}


@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2) {
    .menu-wrap span.select {
        background: url(images/select@2x.png);
        background-size: 300px 41px;
        color: #fff;
    }
    
}
