/*----------------------------------------------------------------------
 
	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: 50px 30px;
	}

.page-template-page-sidebar-right-php .page-box {
	padding-right: 0px;
	}
	
/*  HEADER / HERO STYLES */
#page-header {
	padding-top: 26%!important;
	padding-left: 10px!important;
	padding-right: 10px!important;
	padding-bottom: 11%;
	text-align: center;
	}

#logo {
	float: none;
	margin-bottom: 40px;
	}

#logo_text {
	font-size: 80px;
	}

#header-title {
	margin-top: -10px;
	}

#header-title h1 {
	font-size: 30px;
	}

.social-header {
	margin-top: 35px;
	}

a.social-icon {
	margin: 0px;
	}

.social-header li:nth-of-type(5),
.social-header li:nth-of-type(6),
.social-header li:nth-of-type(7), 	 	
.social-header li:nth-of-type(8),
.social-header li:nth-of-type(9),
.social-header li:nth-of-type(10),
.social-header li:nth-of-type(11), 	 	
.social-header li:nth-of-type(12),
.social-header li:nth-of-type(13), 	 	
.social-header li:nth-of-type(14) {
	display: none;
	}

.pagination { 
	margin-top: 50px;
	margin-bottom: -10px;
	text-align: center; 
	}


/*  BLOG STYLES */
.entry-meta,
h2.entry-title,
.entry-meta-date,
.blog .entry-content p,
.search	.entry-content p, 
.author	.entry-content p, 
div.author-avatar.two.columns {
	text-align: center;
	}

.author-avatar {
	margin-top: 0px;
	}
	
.author-count {
	display: none;
	}

.entry-meta {
	margin-top: 28px;
	}

.entry-meta-date {
	margin-top: 10px;
	padding-bottom: 2px;
	}

.entry-header .entry-title {
	font-size: 30px;
	line-height: 32px;	
	}

blockquote p {
	line-height: 32px!important;
	}
	
blockquote {
 	margin: 45px 0; 
	}

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


/*  SINGLE POSTS */	
.single-post .entry-meta,
.single-post .entry-header .entry-title {
	text-align: left;
	}


/*  POST FORMATS */	
div.jp-current-time,
div.jp-time-sep,
div.jp-duration,
.jp-time-frame { 
	display: none; 
	}	

.format-link p,
.format-aside article.entry-content p { text-align: center; }

.post-slider .flex-direction-nav .prev ,
.post-slider .flex-direction-nav .next {
	top: 44%; 
	}


/*  COMMENTS */	
#comments div.ten.columns.push-two {
	width: 100%!important;
	} 

#comments div.comments-title.ten.right {
	width: 100%;
	}

#comments div.two.columns {
	width: 16.66667%!important;
	float: left;
	}
	
#comments div.ten.columns {
	width: 83.33333%!important;
	float: left;
	}

#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: 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%;
	}	

#commentform #submit { 
	background-image: none!important;
	padding-right: 22px;
	}


/*  FOOTER STYLES */
#footer {
	padding-top: 40px;
	padding-bottom: 43px;
	}
	
.colophon {
	margin-bottom: 38px;
	text-align: center;
	}

input.email-newsletter,	
.widget_search input[type="text"] {
	background-position-x: 97%;
	}

 
#toTop { 
	display: none!important; 
	}
 	
#main-container {
	background-image: none; 
	width: 100% ;
	overflow: hidden;
	}

#main { 
	margin: 0 0; 
	padding-top: 0;
	max-width: 100%;
	}

section.type-post {
	max-width: 100%;
	}

#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: 5% !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; 
		}	
} 


/*--------------------------------------------------------------------*/
/*	SMALLER SCREENS
/*--------------------------------------------------------------------*/
@media only screen 
and (max-width: 460px) {
	#comments div.ten.right {
		width: 100%;
	}
	
	span.meta-tag {
		display: none;
	}	
	
	input.email-newsletter,
	.widget_search input[type="text"] {
		background-position-x: 95%;
	}

	.format-quote p,
	.entry-meta {
		font-size: 14px;
		}

	#footer {
		padding-top: 35px;
		padding-bottom: 35px;
		}

	.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;
		}	

}



/*--------------------------------------------------------------------*/
/*	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; }
	
	/*Navigation*/
	#navigation > .row > .twelve { padding: 0 10px; }
		
	.main_menu ul li strong { font-size: 11px; }
	.main_menu .submenu-indicator { right: 2px; }	
	
	/*Content*/	
	.image-frame img, 
	.attachment .post-box img, 
	.entry-content-media img, 
	.post-thumb img { width: 100%; }

								
}
 	



		
/*--------------------------------------------------------------------*/
/*	iPAD/TABLET DEVICES (PORTRAIT)
/*--------------------------------------------------------------------*/		
@media only screen 
and (min-device-width : 768px) 
and (orientation : portrait){
	
	#top > .row {
		max-width: 100%;
		overflow: hidden;
		}	
}
    
    
    
/*--------------------------------------------------------------------*/
/*	iPHONE/SMARTPHONE GENERAL
/*--------------------------------------------------------------------*/
@media only screen 
and (max-device-width: 320px)
and (max-device-width : 480px) {

}



/*--------------------------------------------------------------------*/
/*	iPHONE/SMARTPHONE PORTRAIT
/*--------------------------------------------------------------------*/
@media only screen 
and (max-width : 320px)
and (orientation : portrait) {
	
	#main-container {
		padding-left: 15px;
		padding-right: 15px;
		}
	
	#logo_text {
		font-weight: bold;
		font-size: 70px;
		}
	
	.format-link span.link-icon	 { 
		display: block; 
		margin: 0 auto; 
		margin-top: 10px;
		}
	
	
	.format-link p, 
	.post-slider .flex-direction-nav .prev ,
	.post-slider .flex-direction-nav .next { 
		display: none; 
		}
		
	#footer { 
		font-size: 16px;
		line-height: 28px;
		}	
		
}


/*--------------------------------------------------------------------*/
/*	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: #121416;
	}

#responsive-nav form.custom div.custom.dropdown a.selector {
 	width: 100%;
	height: 45px;
 	background: url(../images/mobile-nav-drop.png) no-repeat;
 	background-position-y: 50%;
 	left: 34px;
 	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 {
 	width: 100% !important;
 	margin: 0;
 	top: 45px;
 	background-color: #1B1C1F;
 	border: none;
 	z-index: 99999;
 	padding-bottom: 4px;
 	border-bottom: 1px solid #000;
 	padding-top: 15px;
 	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
 	   -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
 		    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	}
	
#responsive-nav  form.custom div.custom.dropdown ul li {
	background-color: #121416;
	cursor: pointer;
	margin: 6px 33px;	
	padding: 9px 10px;
	color: #B6B6B6;
	text-align: left;
	font: 15px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	        border-radius: 3px;
			text-transform: uppercase;
		}
		
#responsive-nav form.custom div.custom.dropdown ul li:hover { 
	color: #FFF; 
	background-color: #111; 
	}
	
#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,
	span.words,
	span.views,
	span.location,
	a.more-link,
	a.social-icon,
	span.editor-icon,
	#commentform #submit,
	.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: 624px 228px;
		}
	
	a.jp-play span,
	div.jp-interface,
	a.jp-pause span,
	a.jp-stop span,
	a.jp-previous span,
	a.jp-next 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: 59px 278px; 
		}
		
	#responsive-nav form.custom div.custom.dropdown a.selector {
		background-image: url(../images/retina/mobile-nav-drop@2x.png);
		background-size: 35px 21px;
		}
		
	.bean-shot {
		background-image: url(../images/retina/dribbble-hover@2x.png);
		background-size: 30px 30px;	
		}
	
	#twitter_div li {
		background-image: url(../images/retina/twitter-li@2x.png) ;
		background-size: 16px 16px;
		}
		
	.flickr_badge_image { 	
		background-image: url(../images/retina/flickr-hover@2x.png);
		background-size: 24px 11px;	
		}	
		
	input.email-newsletter {
		background-image: url(../images/retina/newsletter@2x.png);
		background-size: 20px 62px;
		}
	
	.widget_search input[type="text"] {
		background-image: url(../images/retina/search@2x.png);
		background-size: 20px 62px;
		}
	
	#twitter_div li {
		background-image:  url(../images/retina/twitter-li@2x.png) ;
		background-size: 16px 14px;
		}

	.bean-social-profiles ul li a {
		background-image:url(../images/retina/social-bar@2x.png);
		background-size: 805px 70px;
		background-repeat: no-repeat;
		}
}