/**

Theme Name: Didier Auffray

Author: Marie Guérinel

Author URI: http://marie-guerinel.fr/

Description: Thème enfant conçu pour Didier Auffray, charpentier à Pacé

Version: 1.0.0

License: GNU General Public License v2 or later

License URI: http://www.gnu.org/licenses/gpl-2.0.html

Text Domain: didier-auffray

Template: astra

*/

@font-face {
    font-family: 'Apercu Pro';
    src: local('Apercu Pro Italic'), local('ApercuPro-Italic'),
        url('fonts/ApercuPro-Italic.woff2') format('woff2'),
        url('fonts/ApercuPro-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Apercu Pro';
    src: local('Apercu Pro Bold Italic'), local('ApercuPro-BoldItalic'),
        url('fonts/ApercuPro-BoldItalic.woff2') format('woff2'),
        url('fonts/ApercuPro-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Apercu Pro';
    src: local('Apercu Pro Bold'), local('ApercuPro-Bold'),
        url('fonts/ApercuPro-Bold.woff2') format('woff2'),
        url('fonts/ApercuPro-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Apercu Pro';
    src: local('Apercu Pro Medium Italic'), local('ApercuPro-MediumItalic'),
        url('fonts/ApercuPro-MediumItalic.woff2') format('woff2'),
        url('fonts/ApercuPro-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Apercu Pro';
    src: local('Apercu Pro Medium'), local('ApercuPro-Medium'),
        url('fonts/ApercuPro-Medium.woff2') format('woff2'),
        url('fonts/ApercuPro-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Apercu Pro';
    src: local('Apercu Pro Regular'), local('ApercuPro-Regular'),
        url('fonts/ApercuPro-Regular.woff2') format('woff2'),
        url('fonts/ApercuPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sackers Gothic Medium AT';
    src: local('Sackers Gothic Medium AT'), local('SackersGothicMediumAT'),
        url('fonts/SackersGothicMediumAT.woff2') format('woff2'),
        url('fonts/SackersGothicMediumAT.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

body {
	font-family: 'Apercu Pro';
    font-size: 1.2rem;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, nav.site-navigation {
	font-family: 'Sackers Gothic Medium AT' !important;
}

.site-title a, #ast-fixed-header .site-title a, .site-title a, .site-title a:focus, .site-title a:hover, .site-title a:visited, #ast-fixed-header .site-title a, #ast-fixed-header .site-title a:focus, #ast-fixed-header .site-title a:visited {
	color: #544e1e;
	font-family: 'Sackers Gothic Medium AT' !important;
}

.site-title a:hover, #ast-fixed-header .site-title a:hover {
	color: #c6bea9;
}


p.site-description, #ast-fixed-header.site-header .site-description {
    font-family: 'Sackers Gothic Medium AT';
    color: #544e1e;
}

.site-header .site-description {
	font-size: 1.3rem;
}

ul.ast-builder-language-switcher-menu, aside.header-widget-area {
	font-size: 0.9rem;
}

aside.header-widget-area, aside.header-widget-area a {
	color: #ffffff;
}

.entry-content > .wp-block-group, .entry-content > .wp-block-media-text, .entry-content > .wp-block-cover, .entry-content > .wp-block-columns {
    margin-left: 0px !important;
}

.uagb-forms-main-form .uagb-forms-input-label {
  font-size: 1.2rem !important;  
}

.uagb-forms-main-form .uagb-forms-main-submit-button {
    background-color: #224558 !important;
}

.uagb-forms-main-form .uagb-forms-main-submit-button:hover{
    background-color: #544e1e !important;
    color:#ffffff !important;
}

.site-footer-section {
    color: #ffffff;
    line-height: 1.5;
    font-family: 'Apercu Pro';
}

.site-footer-section h4 {
    color: #ffffff;
    margin-bottom: 0.4em;
}

.site-footer-section p {
    font-size: 80%;
}

.site-primary-footer-wrap {
	padding-bottom: 0 !important;
}

.ast-footer-copyright {
    color: #ffffff;
}

.ast-footer-copyright a {
    color: #ffffff;
    text-decoration: underline;
}
.fbx-light .fbx-caption {
background-color: rgba(84,78,30,.8) !important;
}

.fbx-caption-title, .fbx-light .fbx-caption-desc, .fbx-light .fbx-caption-desc a {
    font-family: 'Apercu Pro';
}

@media (min-width: 992px) {
  .ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
  padding: 2.34em 5.34em;
}
}
@media (max-width: 544px) {
    .ast-site-title-wrap {
    display: none;
    }
    .page h1.entry-title {
        text-align: center;
    }
    .fg-masonry.fg-col2 .fg-item {
        width: 100%
    }
    .footer-widget-area img {
        width: 80%;
    }
    .foogallery.fg-dark.fg-shadow-small .fg-item-inner, .foogallery.fg-light.fg-shadow-small .fg-item-inner {
    box-shadow: none;
    }
    .foogallery .fg-item-inner {
        margin-bottom: 1rem;
    }
    .entry-content > .wp-block-group, .entry-content > .wp-block-media-text, .entry-content > .wp-block-cover, .entry-content > .wp-block-columns {
    margin-left: auto !important;
    }
    .ast-footer-copyright {
        padding: 0 2em;
    }
}

/* Mobile */
.content-align-flex-start .main-header-menu {
    text-align: center;
}

.ast-header-break-point .main-header-menu {
    background-color: #224558;
}

.ast-header-break-point .main-navigation ul .menu-item a.menu-link {
    color: #ffffff;
}

.ast-header-break-point .main-navigation ul .menu-item a.menu-link:hover {
    background-color:#544e1e;
}

/*Galerie d'imges - montrer les loégendes au hover */
.foogallery-album-gallery-list .foogallery-pile:before,
.foogallery-album-gallery-list .foogallery-pile:after {
	border: none !important;
}
/* 1st element in stack (behind image) */
.foogallery-album-gallery-list .foogallery-pile:before {
	top: 0 !important;
	-webkit-transform: unset !important;
	-moz-transform: unset !important;
	transform: unset !important;
}

/* 2nd element in stack (behind image) */
.foogallery-album-gallery-list .foogallery-pile:after {
	top: 0 !important;
	-webkit-transform: unset !important;
	-moz-transform: unset !important;
	transform: unset !important;
}

.foogallery-album-gallery-list .foogallery-pile .foogallery-pile-inner {
	border: none !important;
}