/*
 * Theme Responsive Style
 */
 
/*====================================================================
@media only screen and (max-width : 2000px)
=====================================================================*/
@media only screen and (max-width : 2000px) {
	img{
		max-width:100% !important;
	}
	
	.fimg-wrap{
		display: block;
		float: left;
		width: 36%;
	}
	
	.person-info{
		float: right;
		width: 60%;
	}
	
	img.featured-image {
		display: block;
		margin: 5px 10px 0 0 !important;
		max-width: 100%;
	}
	
	.featured-wrapper{
		max-width: 100%;
	}
	
	.social-icon-wrapper,
	.individual-wrapper{
		width:100%;
	}
	
	.single-contain{
		width:auto;
	}
	
	.single-contain img{
		max-width:100%;
	}
	
	.single-contain iframe{
		max-width:100%;
	}
	
	.single-contain figure{
		box-sizing: border-box;
		max-width: 100%;
	}
	
	.single-contain .half-page {
		margin: 0 10px 0 0;
		width: 230px;
	}
}

/*====================================================================
@media only screen and (min-width : 800px) and (max-width : 1000px)
=====================================================================*/
@media only screen and (min-width : 800px) and (max-width : 1000px) {

	html, 
	body{
		width:auto;
		overflow-x:hidden;
	}

	html, 
	body,
	.header,
	#container{
		max-width: 100%;
		min-width: 100%;
		width: auto;
	}
	
	#content {
		width: auto;
	}

	.wrap{
		width:780px !important;
	}
	
	#main{
		width:325px;
	}
	
	#sidebar1,
	#sidebar1 .right-inbar{
		width:180px;
	}	
	
	#sidebar1 .right-inbar img {
		width: 99%;
	}
	
	h2.person-featured{
		display: table-cell;
		font-size: 13px;
		vertical-align: middle;
	}
	
	.featured-detail {
		display: block;
		line-height: 1.1;
		margin-right: 5px;
		padding: 0;
		position: relative;
		text-align: left;
		vertical-align: middle;
		width: 100%;
	}
}

/*====================================================================
@media only screen and (min-width : 600px) and (max-width : 799px)
=====================================================================*/
@media only screen and (min-width : 600px) and (max-width : 799px) {

	html, 
	body{
		width:auto;
		overflow-x:hidden;
	}

	html, 
	body,
	.header,
	#container{
		max-width: 100%;
		min-width: 100%;
		width: auto;
	}
	
	#content {
		width: auto;
	}

	.wrap{
		width:580px !important;
	}
	
	#inner-content{
		background:none !important;
	}
	
	#sidebar2 {
		box-sizing: border-box;
		padding-left: 10px;
		padding-right: 10px;
		width: 200px;
	}
	
	#sidebar2 #menu-main-sidebar-nav li{
		padding-left:0;
	}
	
	#sidebar2 div,
	#sidebar2 li,
	#sidebar2 ul,
	#sidebar2 img{
		width:auto;
		max-width:100%!important;
	}
	
	#sidebar2 .sidebar-pan-gallery.clearfix img {
		width: 50px !important;
	}
	
	h2.repeater-post-title a, h2.repeater-post-title a:hover{
		font-size:13px;
	}
	
	#main {
		width: 250px;
		margin-left: 15px;
		margin-top: 15px;
	}

	#sidebar1, #sidebar1 .right-inbar {
		padding-top: 3px;
		width: 100px;
	}
	
	#sidebar1 .right-inbar img {
		width: 99%;
	}
	
	h2.person-featured{
		display: table-cell;
		font-size: 13px;
		vertical-align: middle;
	}
	
	.featured-detail {
		display: block;
		line-height: 1.1;
		margin-right: 5px;
		padding: 0;
		position: relative;
		text-align: left;
		vertical-align: middle;
		width: 100%;
	}
}

/*====================================================================
@media only screen and (min-width : 0px) and (max-width : 599px)
=====================================================================*/
@media only screen and (min-width : 0px) and (max-width : 599px) {

	html, 
	body{
		width:auto;
		overflow-x:hidden;
	}

	html, 
	body,
	.header,
	#container{
		max-width: 100%;
		min-width: 100%;
		width: auto;
	}
	
	.header,#inner-header{
		height:190px;
	}
	
	.date-time {
		bottom: 0;
		position: relative;
		right: 0;
		text-align: center;
	}
	
	#content {
		width: auto;
	}

	.wrap{
		width:290px !important;
		overflow-x:hidden;
	}
	
	#logo{
		margin-top:15px;
	}
	
	#logo img{
		width: 85px;
	}
	
	#logo  span#city-name {
		font-size: 28px;
	}
	
	#inner-content{
		background:none !important;
	}
	
	#sidebar2 {
		box-sizing: border-box;
		padding-left: 10px;
		padding-right: 10px;
		float: none;
		width: 100%;
	}
	
	#sidebar2 #menu-main-sidebar-nav li{
		padding-left:0;
	}
	
	#sidebar2 div,
	#sidebar2 li,
	#sidebar2 ul,
	#sidebar2 img{
		width:auto;
		max-width:100%!important;
	}
	
	#sidebar2 .sidebar-pan-gallery.clearfix img {
		width: 80px !important;
	}
	
	h2.repeater-post-title a, h2.repeater-post-title a:hover{
		font-size:13px;
	}
	
	#main {
		display: block;
		float: none;
		margin: 20px auto 0;
		width: 100%;
	}
	
	#sidebar1{
		display: block;
		float: none;
		margin: 20px auto 0;
		max-width: inherit;
	}

	#sidebar1, #sidebar1 .right-inbar {
		padding-top: 0;
		width: 100%;
	}
	
	#sidebar1 .right-inbar img {
		width: 99%;
		max-width: 100% !important;
	}
	
	#sidebar2  ul.sub-menu{
		opacity:0;
		height: 0;
		overflow: hidden;
		transition: all 0.3s linear 0s; 
		-webkit-transition: all 0.3s linear 0s;
		-moz-transition: all 0.3s linear 0s;
		-o-transition: all 0.3s linear 0s;
	}
	
	#sidebar2 li.current-page-ancestor > ul{
		opacity:1 !important;
		height:auto!important;
	}
	
	#menu-main-sidebar-nav li{
		background-repeat:repeat-x;
	}
	
	#sidebar2 li:hover > ul{
		opacity:1;
        height: auto;
	}
	
	.home-image,
	.book-container,
	.featured-home-row,
	.left-inbar{
		display:none;
	}
	
	h2.person-featured{
		display: table-cell;
		font-size: 13px;
		vertical-align: middle;
	}
	
	.featured-detail {
		display: block;
		line-height: 1.1;
		margin-right: 5px;
		padding: 0;
		position: relative;
		text-align: left;
		vertical-align: middle;
		width: 100%;
	}
}

/* add july 9 -2015 */
@media only screen and (min-width : 100px) and (max-width : 799px) {
    #main .social-icon-wrapper,
    #main .individual-wrapper{
        width:95%;
    }
}