


@media only screen and (min-width: 1900px){

	#header-middle {
		padding: 0px 0 0px 0;
		width: 50%;
	}
	
}
@media only screen and (min-width: 1441px){
	.wrapper {
		max-width: 100%;
		width: 100%;
	}
}

@media only screen and (min-width: 1321px){
	
	#site-header.top-header #site-navigation-wrap .dropdown-menu>li a {
	   font-size: 14px !important;
	}

	.container {
		width: 100%;
	}
}


@media only screen and (max-width: 1320px){
	.container {
		width: 95%;
		max-width: 95%;
	}
	#site-header.top-header #site-navigation-wrap .dropdown-menu>li a {
	   font-size: 13px !important;
	}
	
	
	#footer-widgets .col-1{
		padding-top: 40px;
	}
	#footer-widgets .col-1 {
    	width: 20%;
	}
	#footer-widgets .col-2 {
    	width: 30%;
	}
	#footer-widgets .footer-box.col-1 img {
    	width: 80%;
	}
	#footer-widgets .col-3 {
		width: 50%;
		padding-top: 40px;
	}
	#footer-widgets .col-3 .textwidget{
		text-align: center;
	}
	#footer-widgets .footer-box.col-3 .footer-widget ul{
		width: auto;
		margin: 0 auto;
		display: inline-block;
	}
}
@media only screen and (max-width: 1220px){
	#site-header.top-header #site-navigation-wrap .dropdown-menu>li a {
	   font-size: 12px !important;
	}
	#footer-widgets .footer-box {
		padding: 0;
		margin: 0;
	}
	#footer-widgets .col-1,
	#footer-widgets .col-3 {
		padding-top: 40px;
	}
	#footer-widgets .footer-box.col-2 .widget_text:last-child {
		padding-top: 30px;
	}
	
	
	#footer-widgets .col-3 ul li a img {
		width: 40px;
	}
	#footer-widgets .col-3 ul li:nth-child(4) a img {
   		width: 70px;
	}
	#footer-widgets .col-3 ul li:nth-child(5) a img {
		width: 140px;
		padding-left: 10px;
	}
	.single .entry-content {
		margin-bottom: 20px;
		width: auto;
		margin: 4rem auto;
		padding-left: 240px;
		padding-right: 40px;
	}
	.single .block-related {
    	display: none;
	}
	.single-post.content-max-width #related-posts {
		padding-left: 40px;
		padding-right: 40px;
	}
	
}
@media only screen and (max-width: 1144px){
	#site-header.top-header #site-navigation-wrap .dropdown-menu>li a {
	   font-size: 11px !important;
	}
	
	
}

@media only screen and (max-width: 1060px){
	#footer-widgets .col-1 {
    	width: 20%;
	}
	#footer-widgets .col-2 {
    	width: 30%;
	}
	#footer-widgets .footer-box.col-1 img {
    	width: 80%;
	}
	#footer-widgets .col-3 {
		width: 50%;
		padding-top: 40px;
	}
	
}
@media only screen and (min-width: 1024px) and (max-width: 1144px){
	#site-navigation-wrap .dropdown-menu>li {
		padding: 0 5px;
	}
	
	.page-template-authors #authors .frame {
    	width: 90%;
	}
}
@media only screen and (max-width: 1023px){
	.page-template-home #site-header-inner{
		display: none;
	}
}

@media only screen and (max-width: 1180px){
	
	#header-middle.fixed img {
		width: 50%;
	}
}
@media only screen and (max-width: 993px){
	#site-header.top-header #site-logo #site-logo-inner {
		width: 170px;
	}
	#site-header.top-header #site-logo {
		padding: 10px 0;
	}
	#site-header.top-header .header-bottom {
    	width: 70%;
	}
	#header-right {
    	width: 30%;
    	padding: 25px 0px 0 0;
	}
	.header-wrapper {
		height: 62px;
	}
	#header-middle {
   	 	margin-top: 100px;
    	padding: 0px 0 0px 0;
	}
	#header-middle img {
    	width: 100%;
	}
	#site-header.top-header .header-top {
		margin-top: 220px;
	}
	.content-area {
    	margin-bottom: 0px;
	}
	#footer-widgets .col-1{
    	width: 40%;
	}
	#footer-widgets .col-1:after{
		display: none;
	}
	#footer-widgets .col-2 {
    	width: 60%;
	}
	#footer-widgets .footer-box.col-1 img {
    	width: 80%;
	}
	#footer-widgets .footer-box.col-2 .widget_text {
		padding-left: 30px;
	}
	.bg-authors {
    	background-size: 80% auto;
	}
	.author-bio{
		width: 80%;
		margin: 0 auto;
	}
	
	.single-post.content-max-width .thumbnail, .single-post.content-max-width .wp-block-cover-text.alignwide, .single-post.content-max-width .wp-block-image.alignwide, .single-post.content-max-width .wp-block-gallery.alignwide, .single-post.content-max-width .wp-block-text-columns.alignwide, .single-post.content-max-width .entry-share, .single-post.content-max-width nav.post-navigation, .single-post.content-max-width #author-bio, .single-post.content-max-width #related-posts {
		max-width: 100%;
	}
}

@media only screen and (max-width: 875px){
	#footer-widgets .col-3 {
		width: 100%;
		padding-top: 10px;
	}
	
}
@media only screen and (max-width: 768px){
	.block-badge,
	.block-title{
		margin-left: 1rem;
	}
	.block-title {
    	font-size: 1.4rem;
	}
	.horizontal .post-text-holder {
		float: none;
		width: 100%;
		padding-bottom: 2.4rem;
	}
	.horizontal .post-img-holder {
    	float: none;
    	width: 100%;
	}
	#authors .frame,
	.cloud{
    	width: 100%;
	}
	.page-template-authors #authors .frame{
    	width: 100%;
	}
	#block-meta {
   		background-size: 80% auto;
	}
	.col-5{
		width: 25%;
	}
	
	.col-5:nth-child(5n+6){
		clear: none;
	}
	.col-5:nth-child(4n+5){
		clear: left;
	}
	#authors .vcard {
		padding: 0;
	}
	.single .entry-content {
		width: auto;
		padding-left: 40px;
		padding-right: 40px;
	}
	.single .block-related {
    	display: none;
	}
	.single-post.content-max-width #related-posts {
		padding-left: 40px;
		padding-right: 40px;
	}
	.sidebar-single {
		position: relative;
		left: 0;
		right: auto;
		width: 100%;
		transform: none;
	}
	.category .page-header{
		
    	padding-top: 6rem;
	}
}

@media only screen and (max-width: 767px){
	#authors .vcard {
    	padding: 0 0.6rem;
	}
	.single ul.meta li.meta-tags a.backhome{
		display: block;
	}
	
	
}


@media only screen and (max-width: 600px){
	body {
   		font-size: 1.2rem;
	}
	#top-bar,
	#site-description,
	.header-top,
	.container-block-subscribe{
		display: none;
	}
	.container-block-mobile-subscribe{
		display: block;
	}
	.container {
		width: calc(100% - 3.2rem);
		max-width: calc(100% - 3.2rem);
	}
	#main {
		padding-top: 160px;
	}
	
	#footer-widgets .col-3 ul li:last-child a:before{
		display: none;
	}
	ul.language-selector-mobile{
		display: inline-block;
		padding: 0;
		margin: 1px 10px 0 12px;
    	float: left;
	}
	
	.language-selector-mobile li.current-lang{
		
		display: none;
	}
	.language-selector-mobile li a {
		white-space: nowrap;
		width: 28px;
		overflow: hidden;
		display: block;
		font-size: 1.5rem;
		text-transform: uppercase;
		color: #000;
		padding-bottom: 2px;
		font-weight: 700;
   		padding-top: 0;
    	line-height: 1.5rem;
	}
	.language-selector-mobile li.lang-item-fr a{
		width: 26px;
	}
	
	.sidenav-trigger{
		float: left;
   		margin: 0 0px 0 16px;
	}
	.home article.large {
		margin-left: 0;
		width: 100%;
	}
	#search-toggle{
		flaot: left;
	}
	.only-padding-left {
		padding: 0 !important;
	}
	#site-header.top-header .header-bottom {
		width: 40%;
	}
	
	.header-wrapper{
    	position: fixed;
    	z-index: 1010;
	}
	#header-middle {
    	padding: 0;
		margin-top: 70px;
    	width: 80%;
    }
	#header-middle img {
		width: 100%;
	}
	.author #header-middle img, .single-post #header-middle img {
		width: 60%;
	}
	#header-right {
		width: auto;
		padding: 20px 0px 0 0;
    	margin-right: 10px;
	}
	#site-header.top-header #search-toggle{
		float: left;
    	padding: 0;
	}
	#header-right #search-toggle {
		margin: 0 8px;
	}
	#header-right .sidenav-trigger {
		margin: 0 0 0 8px;
	}
	.sidenav {
		width: 300px;
	}
	#slide-out .menu li a {
   	 	padding: 16px 30px 14px 68px;
	}
	#slide-out .menu li#menu-item-256 a,
	#slide-out .menu li#menu-item-289 a {
   	 	padding-top: 6px;
	}
	#header-right i {
    	font-size: 30px;
    	line-height: 25px;
	}
	#site-header.top-header #site-logo #site-logo-inner {
		width: 150px;
	}
	.col {
   	 margin-bottom:10px;
	}
	.grid-posts {
    	padding: 0rem 0;
	}
	.post-title a {
  	  	font-size: 2.0rem;
    	line-height: 1.2;
	}
	.post-img-holder img{
		width: 100%;
	}
	.post-category {
    	margin: 1rem 0 1rem;
	}
	.post-category.small span {
		font-size: 0.8rem;
		padding: 0.3rem 1rem;
	}
	#in-other-lang .grid-posts .article {
		margin-top: 1rem;
		margin-bottom: 1rem;
	}
	.block-badge, .block-title {
   		margin-left: 0;
	}
	.block-badge {
    	left: 50%;
    	transform: translate(-50%,-50%);
	}
	.block-title {	
    	text-align: center;
    	margin-bottom: 1.5rem;
	}
	.block-title:after {
		left: 50%;
		width: 16%;
		transform: translateX(-50%);
	}
	.cloud-tag-holder {
    	padding: 0.2rem 0.2rem;
	}
	.cloud-tag-holder a {
    	padding: 0.2rem 0.4rem;
	}
	.cloud-tag-holder.size-1,
	.cloud-tag-holder.size-2,
	.cloud-tag-holder.size-3,
	.cloud-tag-holder.size-4 {
   		min-width: auto;
	}
	#authors {
    	margin: 0rem 0;
	}
	.author #authors.block-author {
		margin: 0rem 0 0rem;
	}
	#authors .author-avatar {
    	float: left;
   		margin-bottom: 1rem;
	}
	#authors .author-avatar a img {
   		width: 80px;
		height: auto;
	}
	#authors .col{
		margin-bottom: 10px;
	}
	#authors .frame{
		width: 100%;
	}
	#authors .btn-light {
    	width: 80%;
	}
	#authors .btn-light span {
    	font-size: 1rem;
    	padding: 0.6rem 1rem;
	}
	.col-5{
		width: 50%;
	}
	
	.col-5:nth-child(5n+0),
	.col-5:nth-child(6n+0){
		clear: none;
	}
	.col-5:nth-child(odd){
		clear: left;
	}
	
	.author-info {
		padding:0.5rem 0 1rem 20px;
		text-align: left;
		float: left;
		margin-bottom: 0;
    	width: calc(100% - 80px);
	}
	.page-template-authors #authors .author-avatar,
	.page-template-authors #authors .author-info{
    	float: none;
	}
	
	.page-template-authors #authors .author-info,
	.author #authors .author-info{
		padding: 0rem 0 1rem 0rem;
    	text-align: center;
		width: 100%;
	}
	.bg-authors {
		height: 200px;
		margin-top: -50px;
	}
	.block-author .bg-authors {
    	margin-top: -60px;
	}
	.custom-img .bg-authors {
		width: 100%;
		left: 0;
		transform: none;
		height: 120px;
		margin-top: -60px;
	}
	.custom-img .vcard {
    	margin-top: 0.5rem;
	}
	.archive.author #authors .author-avatar {
		width: 120px;
		height: 120px;
	}
	.author #authors .author-avatar img {
		width: 120px;
		height: auto;
	}
	#authors .author-avatar{

		
	}
	.author #authors .author-avatar {
		float: none;
	}
	.author .author-info {
		text-align: center;
		float: none;
	}
	
	.author-bio{
		width: 100%;
		margin: 0 auto;
	}
	#blog-entries{
		height: auto !important;
	}
	#blog-entries .span_1_of_4 {
		width: 100%;
		position: relative !important;
		left: 0 !important;
		top: auto !important;
	}
	#footer-widgets .footer-box.col-2 .widget_text {
		padding-left: 0;
		text-align: center;
	}
	#footer-widgets a.btn-skema {
   		margin: 0px auto 0;
	}
	#footer-widgets .footer-box {
		padding: 0;
		margin: 0;
	}
	#footer-widgets .col-1{
    	width: 100%;
	}
	#footer-widgets .col-2 {
    	width: 100%;
	}
	#footer-widgets .col-3 {
    	width: 100%;
	}
	#footer-widgets .footer-box.col-1 img {
    	width: 60%;
	}
	#footer-widgets a.btn-skema {
		margin: 30px auto 0;
	}
	#footer-widgets .col-2 {
    	padding: 2rem 0;
	}
	#footer-widgets .col-3 ul li a img {
		width: 40px;
	}
	#footer-widgets .col-3 ul li {
		float: left;
		margin: 0 8px;
		width: calc(25% - 16px);
	}
	#footer-widgets .col-3 ul li:nth-child(3) a img {
		width: 35px;
	}
	#footer-widgets .col-3 ul li:nth-child(4) a img {
		width: 70px;
		padding-top: 12px;
	}
	#footer-widgets .col-3 ul li:nth-child(5) a img {
		width: 100px;
		padding-left: 0px;
		padding-top: 10px;
	}
	#footer-widgets .col-3 ul li:last-child {
		clear: left;
		width: 100%;
		text-align: center;
   		margin: 0;
	}
	#footer-widgets .col-3 ul li:last-child a{
		display: inline-block;
	}
	#custom_html-5{
		/*display: none;*/
	}
	#in-other-lang .col,
	#in-other-lang .row{
		margin-bottom: 0;
	}
	
	#wrap{
		overflow: hidden;
	}
	#in-other-lang, #categories {
    	margin: 3rem 0;
	}
	#categories{
		overflow: hidden;
		height:auto;
		width: 100%;
		position: relative;
    	margin: 0rem 0 3rem;
		
	}
	#categories .container{
		/*width: calc(100% - 1rem);
		max-width: calc(100% - 1rem);
		padding-left: 1rem;*/
		width: 100%;
		max-width: 100%;
	}
	
	#categories .bg-grey{
		margin-top: 40px;
	}
	#categories .block-badge {
		top: 50px;
	}
	#categories .container .row{
		margin: 0;	
		padding: 1rem;
		padding: 1rem 0;
	}
	.swipe {
		overflow: hidden;
		visibility: hidden;
		position: relative;
  	}
  	.swipe-wrap {
		overflow: hidden;
		position: relative;
  	}
  	.swipe-wrap > div {
		float: left;
		width: 100%;
		position: relative;
  	}
	.swipe-btn {
		position: absolute;
		left: 0;
    	left: 25%;
    	top: 26px;
		display: block;
	}
	.swipe-next {
		left: auto;
		right: 25%;
	}
	.swipe-btn i{
		font-size: 4rem;
		color: #E7433C
	}
	.search #content {
		width: 100%;
	}
	.post-template-default #main {
		padding-top: 120px;
	}
	.single .entry-title {
		font-size: 2.2rem;
	}
	.single .entry-content {
		width: 100%;
		margin: 4rem auto;
		padding-left: 2rem;
		padding-right: 2rem;
	}
	.single-post.content-max-width .wp-block-image.block-large, .single-post.content-max-width .block-large {
		margin: 0 -2rem 0 -2rem;
		max-width: 120%;
	}
	.single-post.content-max-width #related-posts {
    	padding-left: 2rem;
    	padding-right: 2rem;
	}
	.block-related {
		position: relative;
		top: 0;
		right: auto;
		width: 100%;
		padding-bottom: 20px;
		transform: none;
		margin-top: 2rem;
	}
	#author-bio{
		padding: 0;
	}
	#author-bio .author-frame {
		position: relative;
		top: 0;
		width: 100%;
		margin-left: 0;
		margin-top: 4rem;
	}
	#author-bio .author-bio-avatar {
		min-width: 100px;
		margin-right: 0px;
		text-align: center;
		float: left;
		display: block;
	}
	#author-bio .author-bio-avatar img {
    	width: 80px;
	}
	#author-bio .author-bio-content {
		text-align: left;
		padding-left: 16px;
		float: left;
		width: calc(100% - 100px);
	}
	#author-bio .author-bio-content p {
		text-align: left;
	}
	#author-bio .author-bio-content p a {
    	margin: 0.4rem 0 0rem;
	}
	.page-header .page-header-title {
		font-size: 20px;
	}
	#searchform-overlay form input, #searchform-overlay form label {
    	font-size: 16px;
	}
	.page-subheading {
		margin: 1rem 0;
	}
	.page-template-authors .author-avatar {
    	margin-bottom: 1rem;
	}
	#authors {
		padding: 2rem 0 0;
	}
	.chapo,
	.single-post.content-max-width .entry-content .chapo{
		font-size: 1.4rem;
	}

	.single-page-article .entry p,
	.single-page-article .entry ul li,
	.single-post .entry-content p,
	.single-post .entry-content  ol,
	.single-post .entry-content  ul li{
		font-size: 1.2rem;
	}
	.footer-menu-mobile{
		display:none;
		width: 100%;
		text-align:center;
		padding: 0.4rem 0 2rem;
	}
	.footer-menu-mobile a,
	.footer-menu-mobile span{
		display:block;
		text-align:center;
    	color: #000000;
    	font-size: 13px;
		padding: 0.2rem 0;
	}
	#site-logo #site-logo-inner a img {
		max-width: 130px;
	}
	#featured .block-author{
		
	}
	.home .author-text{
		margin-right: 0px;
		padding-top: 0;
		width: auto;
   		 padding-bottom: 0;
	}
	.home .author-avatar{
		clear: left;
    	margin-bottom: 16px;
	}
	.home article.large .post-date {
		bottom: 10px;
	}
	#featured .readtime {
		right: 10px;
		left: auto;
		bottom: 10px;
		margin-left: 0;
	}
	.home .author-text {
   		padding-right: 1rem;
   		padding-left: 6px;
	}
	.author-text p, .author-text a {
		font-size: 0.8rem;
    line-height: 1.1;
	}
}

@media only screen and (max-width: 360px){
	.container {
		width: calc(100% - 2rem);
		max-width: calc(100% - 2rem);
	}
	.post-title a {
		font-size: 1.6rem;
	}
	#site-logo #site-logo-inner a img{
		max-width: 120px;
	}
}