/*----------------------------------------------------------------------
 
	Content: Mobile Theme CSS 
	Author:  ThemeBeans of http://www.themebeans.com
	
 	TABLE OF CONTENTS:
 
 	01. MOBILE GRID SYSTEM
 	02. GENERAL RESPONSIVE (SMALL SCREENS & TABLET MOBILE)
 	03. iPAD/TABLET DEVICES GENERAL
 	04. iPAD/TABLET DEVICES (LANDSCAPE)
 	05. iPAD/TABLET DEVICES (PORTRAIT)
 	06. iPHONE/SMARTPHONE (GENERAL)
 	06. iPHONE/SMARTPHONE (PORTRAIT)
 	07. RESPONSIVE NAVIGATION
 	08. RETINA CSS
 
 ----------------------------------------------------------------------*/
	
/*--------------------------------------------------------------------*/
/*	GENERAL RESPONSIVE (SMALL SCREENS & TABLET MOBILE)
/*--------------------------------------------------------------------*/

@media only screen 
and (max-width: 767px) {
	
/*  BODY */
#main-container {
	padding: 40px 30px 0px;
	background-image: none; 
	width: 100% ;
	overflow: hidden;
	}
	
#main { 
	margin: 0px; 
	padding-top: 0;
	max-width: 100%;
	}
	
/*  HEADER / HERO STYLES */
.logo {
	float: none;
	text-align: center;
	width: 100%;
	margin-bottom: 35px;
	}
	
.logo img {
	float: none;
	}

.responsive-branding h2.branding-tagline {
	margin-bottom: 50px;
	}		

#header-title h1 {
	text-align: center;
	width: 100%;
	}	

#header {
	padding: 80px 30px 20px;
	}

.logged-in .header-nav { 
	top:70px; 
	}
	
.header-nav { 
	top:42px; 
	}

.header-nav.split {
	display: none!important;
	}
	
#header div.six.columns.right {
	float: none;
	}
	
#page-header {
	height: auto;
	}
	
#header .widget_search input[type="text"] {
	background-position-x:102%;
	width: 100%;
	}

/*  404 PAGE STYLES */
.error404 #main {
	text-align: center;
	}	
	
			
/*  BLOG STYLES */
.entry-header .entry-title {
	font-size: 32px;
	line-height: 38px;	
	}

blockquote p {
	line-height: 32px!important;
	}
	
blockquote {
 	margin: 45px 0; 
 	text-align: center;
 	padding: 0 30px;
	}

pre {
	margin: 45px 0px;
	}
	
a.more-link, 
.entry-content a.more-link {
	width: 100%;
	background-image: none!important;
	}


/*  SINGLE POSTS */	
section.type-post {
	max-width: 100%;
	}

.entry-header h2 a, 
.entry-header .entry-title {
	font-size: 32px;
	line-height: 39px;
	}

.format-image .sticky-tab { 
	right: 29px;
	}
	
.single-post .entry-meta,
.single-post .entry-header .entry-title {
	text-align: left;
	}

.comment-count,
span.edit-link {
	display: none;
	}
	
 	
/*  POST FORMATS */
.flex-control-nav { 
	float: none;
	}
	
.flex-control-nav li {
	margin-top: 10px;
	margin-bottom: 0px;
	}
		
div.jp-current-time,
div.jp-time-sep,
div.jp-duration,
.jp-time-frame { 
	display: none; 
	}	



/*  COMMENTS */	
#respond .six {
	width: 100%;
	}

#comments {

	}
	
#reply-title, 
#comments .leave-reply-title h5, 
#comments .comments-title h5 {
	font-size: 34px;
	}	
	
.comment-content p {
	font-size: 17px;
	line-height: 30px;
	}
	
.children {
	list-style-type: none;
	margin: 65px 0 0 0px;
	}	

.children .depth-3,	
.children .depth-4 {
	margin-left: 0px;
	width: 100%;
	}	

#commentform #submit,	
#commentform input[type="text"], 
#commentform input[type="password"], 
#commentform input[type="date"], 
#commentform input[type="datetime"], 
#commentform input[type="email"], 
#commentform input[type="number"], 
#commentform input[type="search"], 
#commentform input[type="tel"], 
#commentform input[type="time"], 
#commentform input[type="url"]  {
	width: 100%;
	}	
 
#toTop { 
	display: none!important; 
	}

#sidebar { display: none; }	 
		
.tag-index {
	width: 105.5%%;
	margin-top: 20px;
	}
	

/* INPUT & SUBMIT BUTTONS */
.contact-submit .button[type="submit"] {
 	width: 100%;
 	}	  	 
	
	
/* SHORTCODE STYLES */	
.modal { 
	position: fixed; 
	top: 25% !important; 
	right: 5%; 
	left: 5%; 
	bottom: 5%; 
	width: auto; 
	height: auto;
	margin: 0; 
	}
	
.modal-body { height: 60%; }

.modal-body { 
	max-height: 500px; 
	overflow-y: auto; 
	-webkit-overflow-scrolling: touch; 
	}	
	
/* WIDGETS STYLES */	
.bean-stats .stat-title {
	font-size: 15px!important;
	}

.bean-stats span.stat-number {
	font-size: 60px!important;
	}	
} 


/*--------------------------------------------------------------------*/
/*	SMALLER SCREENS
/*--------------------------------------------------------------------*/
@media only screen 
and (max-width: 460px) {

	section.portfolio-grid .six.columns.mobile-two {
		width: 100% !important; float: left; padding: 0 10px;	
		}
	.post-slider .flex-direction-nav .prev,
	.post-slider .flex-direction-nav .next {
		top: 40%; 
		}

	.post-slider .flex-direction-nav .prev {
		left: 10px;
		}
		
	.post-slider .flex-direction-nav .next {
		right: 10px;
		}	
	
	a.jp-mute span,
	div.jp-volume-bar,
	.jp-time-frame { 
		display: none!important; 
		}
	
	.meta-label,
	span.meta-category, 
	.about-author .avatar,
	span.meta-author {
		display: none;
		}	
		
	.header-nav { 
		display: none!important;
		}
	
	.bean-stats li.stat {
		margin-right: 0px;
		}	
	
	.bean-stats li.stat.four.columns {
		width: 100%;
		}	
	
	.bean-quote {
		width: 45%;
		} 
}


/*--------------------------------------------------------------------*/
/*	MID SIZED ADJUSTMENTS SCREENS
/*--------------------------------------------------------------------*/
@media only screen 
and (max-width: 990px) {
	section.portfolio-grid .six.columns.mobile-two {
		width: 100% !important; float: left; padding: 0px; margin-bottom: 40px
		}
	
	.single-portfolio section.portfolio-grid article:first-child {
		margin-left: 0px;
		}		
		
	.bean-newsletter form {
		margin-bottom: 0px;
		}
	
	input.email-newsletter,
	.widget_search input[type="text"] {
		width: 100%;
	 	}
	 	 
	.bean-newsletter .button,
	.widget_search .searchform .button[type="submit"]  { 
		display: none;
		}
		
	.comments-info {
		display: none;
		}	
	
	.bean-stats .stat-title {
		font-size: 13px;
		}
	
	.bean-stats span.stat-number {
		font-size: 33px;
		}					
}

@media only screen 
and (max-width: 1100px) { 
	.widget_bean_125_images ul {
		margin: 0px;
		}
		
	.widget_bean_125_images {
		padding-left: 0px;
		}
		
	.widget_bean_125_images li img { 
		float: none;
		margin-right: 0px;
		margin-bottom: 10px;
		}
		
	.widget_bean_125_images li { 
		text-align: center;
		width: 100%;
		margin: 0 auto;
		}	
}


/*--------------------------------------------------------------------*/
/*	iPAD/TABLET DEVICES GENERAL 
/*--------------------------------------------------------------------*/	
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
	
	body { -webkit-text-size-adjust: none; }
	
	/*Header*/
	#toTop { display: none!important; }
	
	/*Content*/	
	.image-frame img, 
	.attachment .post-box img, 
	.entry-content-media img, 
	.post-thumb img { width: 100%; }
	
	.logo_text {
		font-weight: bold;
		font-size: 50px;
		}
		
	.bean-dribbble-shots img {
		height: 113px; 
		width: 150px;
		}
	
	section.portfolio-grid .six.columns.mobile-two {
		width: 100% !important; float: left; padding: 0px;
		}	
	
	.flickr_badge_image img {
		width: 97px;
		height: 97px;   
		}							
}
 	



		
/*--------------------------------------------------------------------*/
/*	iPAD/TABLET DEVICES (PORTRAIT)
/*--------------------------------------------------------------------*/		
@media only screen 
and (min-device-width : 768px) 
and (orientation : portrait){
.new-tag {
	padding: 2px 5px 1px 6px;
	}

.bean-dribbble-shots img {
	height: 73px; 
	width: 97px;
	}	

.bean-dribbble-shots {
	margin-bottom: 325px;
	}	

.flickr_badge_image img {
	width: 62px;
	height: 62px;   
	}	
}
    
    
    
/*--------------------------------------------------------------------*/
/*	iPHONE/SMARTPHONE GENERAL
/*--------------------------------------------------------------------*/
@media only screen 
and (max-device-width: 320px)
and (max-device-width : 480px) {

body { -webkit-text-size-adjust: none; }

.new-tag {
	padding: 2px 5px 1px 6px;
	}
.logo_text {
	font-weight: bold;
	font-size: 50px;
	}
#main-container {
	padding-left: 50px;
	padding-right: 50px;
	}			

}



/*--------------------------------------------------------------------*/
/*	iPHONE/SMARTPHONE PORTRAIT
/*--------------------------------------------------------------------*/
@media only screen 
and (max-width : 320px)
and (orientation : portrait) {
	
	body { -webkit-text-size-adjust: none; }
	
	h2.branding-tagline {
		font-weight: 700;
	}
	
	#main-container {
		padding-left: 30px;
		padding-right: 30px;
		}
}


/*--------------------------------------------------------------------*/
/*	RESPONSIVE NAVIGATION
/*--------------------------------------------------------------------*/
#responsive-nav select {
	height: 40px;
	width: 100%;
	position: relative;
	display: block;
	margin-bottom: 0;
	}	

#responsive-nav { 
	padding:0px; 
	z-index: 99999; 
	position: fixed; 
	width: 100%; 
	}

#responsive-nav form.custom div.custom.dropdown {
	height: 30px;
 	width: 100% !important;
 	margin-bottom: 40px;
 	}

#responsive-nav form.custom div.custom.dropdown a.current {
	line-height: 45px;
	min-height: 45px;
	padding: 0 38px 0 25px;
	border-left: none;
	border-right: none;
	color: #1d2023;
	font-weight: bold;
	font-size: 15px;
	background-color: #21282E;
	}

#responsive-nav form.custom div.custom.dropdown a.selector {
	height: 45px;
 	background: url(../images/mobile-nav-drop.png) no-repeat;
 	background-position-y: 50%;
 	background-position-x: 89%;
 	right: 30px;
 	border: none;
 	}

#responsive-nav form.custom div.custom.dropdown a.selector:after { 
	content: ""; 
	border: solid 5px; 
	border-color: transparent; 
	left: 50%; 
	top: 50%; 
	margin-top: -2px; 
	margin-left: -5px; 
	}
	
#responsive-nav form.custom div.custom.dropdown:hover a.selector:after, 	
#responsive-nav form.custom div.custom.dropdown ul li.selected:after { content: ""; }

form.custom div.custom.dropdown { margin-top: 0px; }

#responsive-nav form.custom div.custom.dropdown ul {
 	border-bottom: 1px solid rgba(0, 0, 0, 0.50);
 	width: 100% !important;
 	margin: 0;
 	top: 45px;
 	background-color: #21282E;
 	border: none;
 	z-index: 99999;
 	padding-bottom: 4px;
 	padding-top: 15px;
 	-webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
 	   -moz-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);	
 	        box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
 	}
	
#responsive-nav  form.custom div.custom.dropdown ul li {
	background-color: rgba(0, 0, 0, 0.25);
	cursor: pointer;
	margin: 6px 33px;	
	padding: 9px 10px;
	color: #86888A;
	text-align: left;
	font: 15px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	        border-radius: 3px;
	}
		
#responsive-nav form.custom div.custom.dropdown ul li:hover { 
	color: #FFF; 
	background-color: rgba(0, 0, 0, 0.35); 
	}
	
#responsive-nav form.custom div.custom.dropdown ul li:hover:after { 
	content: ""; 
	color: #8ed3e7; 
	}
	
#responsive-nav form.custom div.custom.dropdown ul li.selected:hover { 
	background: #1a1b1f; 
	color: #fff; 
	}
	
#responsive-nav form.custom div.custom.dropdown ul li.selected:hover:after { 
	color: #000; 
	background: #161616; 
	}

#responsive-nav  form.custom div.custom.dropdown ul li:first-child { display: none;}	

#responsive-nav  form.custom div.custom.dropdown ul li:last-child { 
	border-bottom: none;
	margin-bottom: 18px;
	-webkit-box-shadow: none;
	   -moz-box-shadow: none;
		    box-shadow: none;
	}	



/*--------------------------------------------------------------------*/
/*	RETINA CSS
/*--------------------------------------------------------------------*/
@media all and (-webkit-min-device-pixel-ratio: 1.5),
(min-resolution: 192dpi) {	
	
	#toTop,
	.post-icon,
	.sticky-tab,
	.widget_bean_tweets li,
	.post-like .like,
	.entry-content a.more-link,
	.format-link span.link-icon,
	.post-slider .flex-direction-nav .prev,
	.post-slider .flex-direction-nav .next,
	.pagination-arrows span.page-previous, 
	.pagination-arrows span.page-next,
	.index-pager span.page-previous, 
	.index-pager span.page-next {
		background-image: url(../images/retina/sprite@2x.png);
		background-size: 171px 166px;
		}

	a.jp-play span,
	a.jp-pause span,
	a.jp-stop span,
	a.jp-mute span,
	a.jp-unmute span,
	a.jp-full-screen span,
	a.jp-restore-screen span { 
		background-image:url(../images/retina/jp_sprite@2x.png);
		background-size: 32px 259px; 
		}
	
	.post-thumb {
		background-image: url(../images/retina/thumb@2x.png);
		background-size: 10px 10px;
		}
		
	 blockquote{
		background-image: url(../images/retina/blockquote@2x.png) ;
		background-size: 20px 16px;
		}	

	.bean-social-profiles ul li a {
		background-image:url(../images/retina/social-bar@2x.png);
		background-size: 805px 70px;
		background-repeat: no-repeat;
		}
		
	#responsive-nav form.custom div.custom.dropdown a.selector {
		background-image: url(../images/retina/mobile-nav-drop@2x.png);
		background-size: 28px 16px;
		}
		
	pre {
		background:url(../images/retina/pre@2x.png) repeat;
		background-size: 1px 43px;
		}
		
	.sidebar input.email-newsletter,
	.sidebar input.email-newsletter:hover,
	.sidebar input.email-newsletter:focus {
		background-image:url(../images/retina/newsletter-bg@2x.png);
		background-size: 270px 128px;
		}	
}