/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* Font Family */
@font-face {
    font-family: "Gotham-Thin";
    src: url("./fonts/Gotham-Thin/Gotham-Thin.eot");
    src: url("./fonts/Gotham-Thin/Gotham-Thin.eot?#iefix") format("embedded-opentype"),
    url("./fonts/Gotham-Thin/Gotham-Thin.woff2") format("woff2"),
    url("./fonts/Gotham-Thin/Gotham-Thin.woff") format("woff"),
    url("./fonts/Gotham-Thin/Gotham-Thin.ttf") format("truetype"),
    url("./fonts/Gotham-Thin/Gotham-Thin.svg#Gotham-Thin") format("svg");
}

@font-face {
    font-family: "Gotham-Book";
    src: url("./fonts/Gotham-Book/Gotham-Book.eot");
    src: url("./fonts/Gotham-Book/Gotham-Book.eot?#iefix") format("embedded-opentype"),
    url("./fonts/Gotham-Book/Gotham-Book.woff2") format("woff2"),
    url("./fonts/Gotham-Book/Gotham-Book.woff") format("woff"),
    url("./fonts/Gotham-Book/Gotham-Book.ttf") format("truetype"),
    url("./fonts/Gotham-Book/Gotham-Book.svg#Gotham-Book") format("svg");
}

/*** Top barre ****/
body .top-bar .left-area {
    transform: translateY(40%);
}

body .top-bar ul.inline-items li {
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
    padding: 0;
}

body .top-bar ul.inline-items li img {
    float: left;
    margin-right: 8px;
}

body .top-bar ul.inline-items li span {
    vertical-align: middle;
}

/***** Top barre social media ******/
body .top-bar .top-social svg {
    padding: 5px;
}

@media (max-width: 768px) {
    body .top-bar{
        display: none;
    }

}

body .top-bar .wplogout-social-footer-fb,
body .top-bar .wplogout-social-footer-tw,
body .top-bar .wplogout-social-footer-ld,
body .top-bar .wplogout-social-footer-ig {
    fill: rgb(255, 255, 255)
}

body .top-bar .wplogout-social-footer-fb svg:hover,
body .top-bar .wplogout-social-footer-tw svg:hover,
body .top-bar .wplogout-social-footer-ld svg:hover,
body .top-bar .wplogout-social-footer-ig svg:hover {
    fill: rgb(41, 41, 41);
}


/* Social media */
.before-footer-social svg {
    position: relative;
    top: 3px;
    padding: 5px;
}

.wplogout-social-footer-fb {
    fill: rgba(59, 89, 152, .8);
}

.wplogout-social-footer-fb:hover {
    fill: rgba(59, 89, 152, 1);
}

.wplogout-social-footer-tw {
    fill: rgba(29, 161, 242, .8);
}

.wplogout-social-footer-tw:hover {
    fill: rgba(29, 161, 242, 1);
}

.wplogout-social-footer-pin {
    fill: rgba(189, 8, 28, .8);
}

.wplogout-social-footer-pin svg:hover {
    fill: rgba(189, 8, 28, 1);
}

.wplogout-social-footer-ig {
    fill: rgba(228, 64, 95, .8);
}

.wplogout-social-footer-ig svg:hover {
    fill: rgba(228, 64, 95, 1);
}

.wplogout-social-footer-yt {
    fill: rgba(205, 32, 31, .8);
}

.wplogout-social-footer-yt svg:hover {
    fill: rgba(205, 32, 31, 1);
}

.wplogout-social-footer-ld {
    fill: rgba(0, 119, 181, .8);
}

.wplogout-social-footer-ld svg:hover {
    fill: rgba(0, 119, 181, 1);
}

.wplogout-social-footer-wa {
    fill: rgba(37, 211, 102, .8);
}

.wplogout-social-footer-wa svg:hover {
    fill: rgba(37, 211, 102, 1);
}

.wplogout-social-footer-em {
    fill: rgba(51, 51, 51, .8);
}

.wplogout-social-footer-em svg:hover {
    fill: rgba(51, 51, 51, 1);
}

.wplogout-social-footer-rss {
    fill: rgba(238, 128, 47, .8);
}

.wplogout-social-footer-rss svg:hover {
    fill: rgba(238, 128, 47, 1);
}

/* Header */
@media (min-width: 861px){
	body header #site-navigation{
		transform: translateY(40%);
	}
}

@media (max-width: 860px) and (min-width: 769px){
	body header .site-logo{
		display: block;
		text-align: center;
		margin-bottom: 15px;
	}
	body header #site-navigation{
		float: none;
		clear: none;
	}
}

/* Custom style */
body p:last-of-type {
    margin-bottom: 0;
}

.justify {
    text-align: justify;
}

@media (max-width: 768px) {
    body .inside-header > :not(:last-child):not(.main-navigation) {
        margin-bottom: 0px;
    }
}

/* Form contact */
body .wpcf7-form input[type="text"],
body .wpcf7-form input[type="email"],
body .wpcf7-form input[type="url"],
body .wpcf7-form input[type="password"],
body .wpcf7-form input[type="search"],
body .wpcf7-form input[type="tel"],
body .wpcf7-form input[type="number"],
body .wpcf7-form textarea,
select {
    width: 100%
}

body .site-footer h2.widget-title {
    margin-bottom: 15px;
    font-weight: 700;

}

body footer.site-info .copyright-bar {
    float: unset;
}

@media (min-width: 769px) {
    body .mc4wp-form-fields input[type="email"]{
        max-width: 565px
    }
    
}
/*********** slide home ***************/
@media (max-width: 768px) {
    body #main div.bg-mobile {
        background-color: #ffffffd6;
    }
}

/*********** Recaptcha sigle post ***********/
body form.wpcf7-form .wpcf7-form-control-wrap.recaptcha {
    margin-bottom: 1.5em;
    display: block;
}
body.single-post .comments-area form#commentform .anr_captcha_field{
    margin-top: 20px;
    margin-bottom: 15px;

}

.cookie-gmaps #map-placeholder p , .youtube-consent-message p{
    text-align: center;
    color: red;
    font-weight: bold;
    font-size: 20px;
}

.youtube-consent-message {
  display: none;
}
body.cookies-not-accepted .youtube-consent-message {
  display: block;
}
