/* ----------------------------------------------------------------------------------
	RESPONSIVE LAYOUTS
---------------------------------------------------------------------------------- */

/* Desktop / Laptop */

/* Fenetre présentation sur home/php */

@media only screen and (max-width: 700px) {
	.home section.presentation {height: auto;}
	.home section.presentation .coverPicture {
		float: inherit;
		width: 100%;
		max-height: 200px;
		background-size: 100% auto;
		background-position: top center;
	}
	.home section.presentation div.content {
		float: inherit;
		width: 100%;
		height: auto;
	}
	.home section.presentation div.content a {
		display: inline-block;
		float: right;
	}
}



#header-responsive { display: none;}

/* iPad & Tablet */
@media only screen and (max-width: 940px) {


	.menu-item.current-menu-item, .menu-item:hover {
		border: 0 !important;
	}

	/* Header */
	#header {
		padding: 10px 10px 20px;
	}
	#logo {
		float: left;
		position: static;
		text-align: center;
		margin: 0 0 14px;
		max-width: 40%;
	}

	a.btn-navbar {
		position: fixed;
		top: 15px;
		right: 20px;
		width: 60px;
		height: 60px;
		float: right;
		-webkit-border-radius: 50%;
				border-radius: 50%;
		display: block;
		padding: 22px 20px;
		background-color: #333;
	}
	.admin-bar a.btn-navbar {
		top:45px;
	}

	.arrowLeft {
		transform: rotate(50deg);
		position: absolute;
		top: 30px;
		left: 14px;
	}

	.arrowRight {
		transform: rotate(-50deg);
		position: absolute;
		top: 27px;
		right:14px;
	}

	#header-links,
	#pre-header-search {
		display: none;
	}
	#header-responsive {
		display: block;
	}
	#header-responsive ul {
		margin: 0;
	}
	#header-responsive li {
		list-style: none;
	}
	#header-responsive .sub-menu {
		display: none;
	}

	#header-responsive .sub-menu li,
	#header-responsive .sub-menu li:hover {
		padding: 0;
	}
	#header-responsive li a {
		display: block;
		padding: 10px 25px;
		color: #333;
		border-bottom: 1px solid rgba(255,255,255,0.4);
	}
	#header-responsive li a:hover,
	#header-responsive li.current_page_item > a {
		color: #F33F3F;
	}
	#header-responsive-inner {
		float: right;
		width: 50%;
		background-color: white;
		position: absolute;
		top: 75px;
		right: 10px;
		-webkit-box-shadow: 0 4px 8px 0 rgba(0,0,0,0.1);
		box-shadow: 0 4px 8px 0 rgba(0,0,0,0.1);

	}
	.nav-collapse {
		overflow: hidden;
		height: 0;
	}
	.btn-navbar .icon-bar {

		display: block;
		width: 20px;
		height: 3px;
		margin: 0 0 0 auto;
		background-color: #FFF;

		-webkit-transition: all 0.2s ease;
		-moz-transition: all 0.2s ease;
		-ms-transition: all 0.2s ease;
		-o-transition: all 0.2s ease;
		transition: all 0.2s ease;

	}
	.btn-navbar .icon-bar + .icon-bar {
		margin-top: 3px;
	}
	.nav-collapse.collapse {
		-webkit-transition: height 0.35s ease;
		-moz-transition: height 0.35s ease;
		-ms-transition: height 0.35s ease;
		-o-transition: height 0.35s ease;
		transition: height 0.35s ease;
		position: relative;
		overflow: hidden;
		height: 0;
	}

}

@media only screen and (max-width: 782px) {
	.admin-bar #site-header {
		top:46px;
	}
	.admin-bar a.btn-navbar {
		top:61px;
	}
}


/* Small Tablets & Larger Phones */
@media only screen and (max-width: 685px) {

	/* Main */
	#pre-header-links-inner,
	#breadcrumbs,
	#sidebar,
	#intro.option3 .page-teaser,
	#footer-menu,
	.meta-author	{
		display: none;
	}
	#main-core,
	#intro.option1,
	#intro.option2 {
		margin-left: 0px;
	}
	#main {
		width: 100%;
	}
	#main-core,
	#intro,
	.commentlist .children .children {
		margin: 0px;
	}
	#intro.option1 #intro-core {
		display: block;
	}
	.notification-text {
		display: block;
		margin-bottom: 5px;
	}


	/* Portfolio */

	/* Single Post Share */
	#author-image,
	#author-text {
		width: 100%;
		float: none;
	}
	#author-text {
		margin: 20px 0px 0 0px;
	}
	#author-text h3,
	#author-text p {
		margin-left: 30px;
		padding-right: 40px;
	}
	.commentlist .children .children {
		margin: 0px;
	}

}


/* iPhone (Landscape) */
@media only screen and (max-width: 568px) {

	/* Main */
	#notification-core .notification-text {
		display: block;
		margin-bottom: 5px;
	}

	/* Blog */
	.blog-style1 .entry-content {
		margin-top: 20px;
	}
	#news .post {
		padding: 25px 0px 30px;
	}

	/* Single Post Share */
	#author-image {
		display: none;
	}
	#author-text {
		margin: 0px;
	}
	#author-bio .author-description {
		padding-right: 50px;
	}
	span.post-title {
		display:none;
	}
	p.form-submit {
		margin-bottom: 0px;
	}
	.form-allowed-tags {
		display: none;
	}

	/* Intro / Outro */
	.action-text h3, .action-text p {
		margin-left: 0px;
		margin-right: 0px;
	}
	.action-button p {
		margin-left: 0px;
		margin-right: 0px;
	}

	/* Shortcode Content */
	.one_half,
	.one_third,
	.two_third,
	.one_fourth,
	.three_fourth,
	.one_fifth,
	.two_fifth,
	.three_fifth,
	.four_fifth,
	.one_sixth,
	.five_sixth {
		width:100%;
		float:none;
		margin-right:0px;
	}
	#footer .widget-area.one_half,
	#footer .widget-area.one_third,
	#footer .widget-area.two_third,
	#footer .widget-area.one_fourth,
	#footer .widget-area.three_fourth,
	#footer .widget-area.one_fifth,
	#footer .widget-area.two_fifth,
	#footer .widget-area.three_fifth,
	#footer .widget-area.four_fifth,
	#footer .widget-area.one_sixth,
	#footer .widget-area.five_sixth {
		width:100%;
		float:none;
		margin-right:0px;
	}
	.border {
		margin-left:10px;
		margin-right:10px;
	}

	.pricing-table.style1 span {
		text-align: center;
		padding-left: 0;
		padding-right: 0;
		background: none !important
	}
	.pricing-table.style2 .pricing-package {
		float: none;
		display: block;
		margin: 0 auto 20px;
		max-width: 100% !important;
		width: 100% !important;
	}
	.pricing-table.style2 .pricing-package.big {
		-webkit-transform: scale(1);
		-moz-transform: scale(1);
		-ms-transform: scale(1);
		-o-transform: scale(1);
		transform: scale(1);
	}
	/* Bootstrap Menu */
	#logo {
		float: none;
		text-align: center;
	}
	.btn-navbar {
		float: none;
	}
	#header-responsive-inner {
		width: 80%;
	}

	/* Widgets */
	.thinkup_widget_categories li span {
		float: none;
		padding-left: 5px;
	}
	.thinkup_widget_flickr .flickr-photo {
		width: auto !important;
		margin-right: 5px !important;
	}
}


@media only screen and (max-width: 400px) {

	#main h2 {
		font-size: 20px;
	}
	#intro-core > h1 > span {
		font-size: 0.8em;
	}
}

/* iPhone (Portrait) */
@media only screen and (max-width: 320px) {

	#main h2 {
		font-size: 18px;
	}

}


/* Retina Display */
@media only screen and
        (-webkit-min-device-pixel-ratio: 1.5), only screen and
        (-o-min-device-pixel-ratio: 3/2), only screen and
        (min-device-pixel-ratio: 1.5) {
}