/**
Theme Name: EricBlin
Author: Kiractive
Author URI: https://www.kiractive.com/
Description: Thème enfant Astra pour Eric Blin
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ericblin
Template: astra
*/

@import url('https://fonts.googleapis.com/css?family=Raleway:300,300i&display=swap');


#content {
	background: #fff;
	padding-bottom: 70px;
}
.main-header-bar-wrap {
	margin-top: 15px;
}
.site-footer {
	margin-bottom: 15px;
}
.page-template-default.ast-separate-container .ast-article-single {
	padding: 0;
}
.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single {
	padding: 5.34em 0;
}

.page-template-default h1.entry-title, .blog-header {
	font-family: 'Raleway', sans-serif;
	font-size: 40px !important;
	font-weight: 300;
	border-bottom: 1px solid #000;
	border-top: 1px solid #000;
	text-align: center;
	padding: 20px 0;
	text-transform: uppercase;
	line-height: 1.2;
}

.blog .ast-row, .page-template-default .entry-content {
	margin-top: 100px;
}
.home.page-template-default .entry-content {
	margin-top: 0;
}
.blog.ast-separate-container .ast-article-post {
	padding: 0;
}
.blog .ast-article-post:first-child {
	border-top: 1px solid #eee;
}
.blog .ast-article-post:last-child {
	border-bottom: 1px solid #eee;
}
.blog .ast-blog-featured-section {
	margin-bottom: 0;
}
.blog .entry-header {
	margin-top: 40px;
}
.blog .entry-content p:first-child {
	display: none;
}
.post-thumb-img-content {
	overflow: hidden;
}
.post-thumb-img-content a img {
	-webkit-transition: all 1s ease-in-out;
	  -moz-transition: all 1s ease-in-out;
	  -ms-transition: all 1s ease-in-out;
	  -o-transition: all 1s ease-in-out;
	  transition: all scale 1s ease-in-out;
}
.post-thumb-img-content a:hover img {
	-webkit-transform: scale(1.05);
	-moz-transform: scale(1.05);
	-o-transform:  scale(1.05);
	-ms-transform: scale(1.05);
	transform: scale(1.05);
	zoom: 1;
	  filter: alpha(opacity=75);
	  opacity: 0.75;

}
.entry-meta, .entry-meta * {
	color: #000;
	font-weight: 300;
}
.read-more {
	text-align: right;
}
.read-more a {
	display: inline-block;
	transition: transform .3s ease-out;
	display: inline-block;
	color: #000;
	padding-right: 10px;
}
.read-more a:hover {
  transform: translate(10px, 0);
}

.ast-single-post .entry-title, .blog .entry-title a {
	font-weight: 900;
}

@media (min-width: 768px) {
	.page-template-default h1.entry-title, .blog-header {
		font-size: 100px !important;
		padding: 30px 0;
	}
}
@media (min-width: 993px) {
	#primary, .ast-separate-container #primary, .ast-separate-container.ast-left-sidebar #primary, .ast-separate-container.ast-right-sidebar #primary {
		    margin: 2em 0;
	}
	.main-header-bar {
		padding-top: 1em;
	}
}
@media (max-width: 767px) {
	.uagb-columns__stack-mobile .uagb-columns__columns-1>.uagb-column__wrap, .uagb-columns__stack-mobile .uagb-columns__columns-2>.uagb-column__wrap, .uagb-columns__stack-mobile .uagb-columns__columns-3>.uagb-column__wrap, .uagb-columns__stack-mobile .uagb-columns__columns-4>.uagb-column__wrap, .uagb-columns__stack-mobile .uagb-columns__columns-5>.uagb-column__wrap, .uagb-columns__stack-mobile .uagb-columns__columns-6>.uagb-column__wrap {
		padding-right: 0 !important;
		padding-left: 0 !important;
	}
}

.light {
	font-weight: 300;
}
.raleway {
	font-family: 'Raleway', sans-serif;
}
.faux-btn {
	line-height: 2.3em;
	font-size: 1.3em;
}
blockquote {
	font: normal 28px 'Raleway', sans-serif;
	border-left: none;
	padding: 0;
	margin: 0;
	font-weight: 300;
	line-height: inherit;
}
.wp-block-pullquote {
	padding: 2em 0;
	border-top: none;
	border-bottom: none;
}
@media (min-width: 768px) {
	blockquote {
		font-size: 35px;
	}
}
wp-block-button {
	text-align: center;
}
.wp-block-button__link, .wp-block-button__link:visited {
	background-color: #fff;
	border: 2px solid #000;
	border-radius: 0;
	color: #000;
}
.wp-block-button__link:active, .wp-block-button__link:focus, .wp-block-button__link:hover {
    background-color: #000;
	color: #fff;
}

.main-header-bar {
	line-height: 3;
}
.header-main-layout-1 .ast-main-header-bar-alignment {
    align-self: flex-end;
}
.main-header-menu > .menu-item > a::before {
	transition: width 0.5s ease-out;
	-webkit-transition: width 0.5s ease-out;
	content: '';
	width: 0;
	height: 4px;
	background: #d3d3d4;
	position: absolute;
	top: 0;
	left: calc(50% - 25px);
}
.main-header-menu > .menu-item.home > a::before {
	display: none;
}
.main-header-menu .home.current-menu-item > a, .main-header-menu .home.current_page_item > a {
	color: #d3d3d4;
}
.main-header-menu a:last-of-type {
/*	padding-right: 0;*/
}
.main-header-menu .sub-menu {
	width: 275px;
}
.main-header-menu li:hover > a::before, .main-header-menu li:hover > .ast-menu-toggle::before, .main-header-menu .ast-masthead-custom-menu-items a:hover::before, .main-header-menu li.focus > a::before, .main-header-menu li.focus > .ast-menu-toggle::before, .main-header-menu .current-menu-item > a::before, .main-header-menu .current-menu-ancestor > a::before, .main-header-menu .current_page_item > a::before, .main-header-menu .current-menu-item > .ast-menu-toggle, .main-header-menu .current-menu-ancestor > .ast-menu-toggle::before, .main-header-menu .current_page_item > .ast-menu-toggle::before {
	width: 50px;
}
.ast-desktop .astra-megamenu .ast-mm-widget-content .ast-mm-widget-item {
	padding: 0;
}
 @media (min-width: 993px) {
 	.main-header-bar {
 		padding-top: 3em;
 	}
 	#primary, .ast-separate-container #primary, .ast-separate-container.ast-left-sidebar #primary, .ast-separate-container.ast-right-sidebar #primary {
 		margin: 4em 0;
 	}
 }
.ast-site-identity {
	padding-bottom: 1em;
}
.site-logo-img img {
	width: 150px;
	height: auto;
}
.site-header a .sub-arrow {
	display: none;
}
.main-header-menu .menu-item.points3 a .menu-text {
	padding: 0;
	color: #d3d3d4;
}
.main-header-menu .menu-item.points3 .sub-menu .mega-block-title {
	display: none;
}
.main-header-menu .menu-item.points3 .sub-menu .uagb-post-grid .uagb-post__inner-wrap {
	display: flex;
}
.main-header-menu .menu-item.points3 .sub-menu a {
	padding: 0;
}
.main-header-menu .menu-item.points3 .sub-menu .uagb-post__image {
	padding-right: 1em;
}
.main-header-menu .menu-item.points3 .sub-menu .uagb-post-grid .uagb-post__image img {
    width: 100px;
    height: auto;
}
.ast-above-header-section {
	justify-content: flex-end;
}
.ast-container {
	position: relative;
}
.ast-above-header-section-wrap {
	position: absolute;
	right: 0;
	background: #000;
}
.ast-above-header-section a {
	color: #fff;
}
#ast-fixed-header .main-header-bar {
	padding-top: .5em;
}
#ast-fixed-header .main-header-bar-wrap {
    margin-top: 0;
}
.ast-sticky-main-shrink .ast-sticky-shrunk .main-header-bar .ast-site-identity, .ast-sticky-main-shrink .ast-sticky-shrunk.main-header-bar .ast-site-identity {
	padding-bottom: 1em;
}
/* @group Footer */
footer {
	background: #fff;
}
@media (min-width: 769px) {
	.footer-adv {
	    max-width: 1240px;
		margin: 0 auto;
		padding-left: 20px;
		padding-right: 20px;
	}
}
.blog footer .ast-row {
	margin-top: 0;
}
.footer-adv-overlay {
	padding-top: 40px;
	padding-bottom: 0;
}
.blackbt {
	background: #000;
	color: #fff;
	padding: 3px 7px;
	margin-right: 10px;
}
.ast-footer-overlay {
	padding-top: 0;
}
.ast-small-footer-section {
	display: inline-block;
	font-size: 0.85em;
	font-weight: 300;
}
.ast-small-footer-section-2 {
	margin-left: 1em;
}
footer p {
	margin-bottom: .75em;
}

/* @end */

/* @group Gallery */
#slb_viewer_wrap .slb_viewer.slb_theme_slb_default .slb_container {
	box-shadow: none;
	background: none;
}
#slb_viewer_wrap .slb_theme_slb_default .slb_details .slb_data_content {
	text-align: center;
}
#slb_viewer_wrap .slb_theme_slb_default .slb_details .slb_data_title {
	font-family: inherit;
	padding-top: 20px;
	text-transform: uppercase;
	color: #a8a8ab;
}
/* @end */

/* @group Portfolio */
#astra-portfolio.astra-portfolio-wrap .view-demo-wrap {
	background: rgba(255, 231, 234, 0.9);
}
#astra-portfolio .view-demo {
	background: transparent;
	color: #727276;
	font-weight: 300;
	font-size: 24px;
	text-transform: uppercase;
	text-shadow: none;
	font-weight: 500;
}
#astra-portfolio .site-single.image .site-preview {
   aspect-ratio: 1 / 1;
   overflow: hidden;
   display: flex;
}
.mfp-content img.mfp-img {
	padding: 40px 0 80px;
	opacity: 1;
	animation: fadeIn 2s ease;
}
.mfp-content .mfp-counter {
	display: none;
}
.mfp-content .mfp-title {
	text-align: center;
	color: #a8a8ab;
	font-size: 30px;
	text-transform: uppercase;
}
.mfp-content .mfp-figure:after {
	background: transparent;
}
.mfp-content .mfp-close {
	font-size: 50px;
}
/* @end */

/* @group Formulaire */
.site-content .caldera-grid .form-control {
    font-size: 18px;
    padding: 16px;
    height: auto;
    box-shadow: none;
    border-radius: 0!important;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid #000;
}
 
/*** THIS CHANGES THE BOTTOM BORDER COLOR WHILE USER IS TYPING ***/
.site-content .caldera-grid .form-control:focus {
    border-color: #8e9199;
    box-shadow: none;
}
.site-content .caldera-grid .btn-default {
	color: #fff;
	background-color: #000;
	border: 2px solid #000;
	padding: 10px 20px;
	font-size: 18px;
	border-radius: 0;
}
.site-content .caldera-grid .btn-default:hover {
	color: #000;
	background-color: #fff;
	border: 2px solid #000;
}
/* @end */