/**
Theme Name: astra-child-listemetiers
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
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: astra-child-listemetiers
Template: astra
.
*/

:root {
    
    /* Theme */    
    --primary: #31408f;
    --secondary: #b2dded;
    --landing: url('../../uploads/2023/09/flag-of-spain-2022-11-14-02-09-04-utc.jpg');

    --gray-100: #f8f7f6;
    --gray-200: #ddd;
    --gray-300: #ccc;
    --gray-400: #bbb;
    --gray-500: #aaa;
    --gray-600: #888;
    --gray-700: #666;
    --gray-800: #444;
    --gray-900: #222;

}

header .custom-logo-link img,
.site-branding img, .site-header .site-logo-img .custom-logo-link img {
    max-width: none;
    max-height: 40px;
    width: auto;
    height: auto;
}

.ast-theme-transparent-header .main-header-bar,
.ast-theme-transparent-header.ast-header-break-point .main-header-bar-wrap .main-header-menu,
.ast-theme-transparent-header.ast-header-break-point .main-header-bar-wrap .main-header-bar,
.ast-theme-transparent-header.ast-header-break-point .ast-mobile-header-wrap .main-header-bar,
.ast-small-footer > .ast-footer-overlay,
.ast-header-break-point .ast-mobile-menu-buttons-fill.menu-toggle {
    background-color: var(--primary);
}

.ast-header-break-point .main-header-bar .main-header-bar-navigation .main-header-menu,
.ast-header-break-point .main-navigation ul .menu-item .menu-link { border: 0 none; }

#page ~ .code-block {
    margin: 0;
}

.companies_listing .company {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--gray-200);
}
.companies_listing .company h2 {
    margin: 0;
}
.companies_listing .company ul {
    list-style: none;
    margin: 0;
}
.companies_listing .company .company-category,
.companies_listing .company li {
    line-height: 1.3rem;
    color: var(--gray-500);
    padding-bottom: 0.5rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.companies_listing .company .company-category strong,
.companies_listing .company li strong {
    color: var(--gray-900);
    font-weight: bold;
}
.companies_listing .company ul {
    list-style: none;
}
.companies_listing .company .comments {
    border-radius: 0.5rem;
    background: var(--gray-100);
    padding: 1.5rem 2rem;
    margin-top: 2rem;
}
#primary .tb-button__link {
    border-radius: 5rem;
    margin: 0;
    background-color: var(--primary);
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: bold;
    color: white;
    padding: 0.75rem 1.75rem;
    transition: 0.25s ease 0s;
}
#primary .tb-button__link:hover,
#primary .tb-button__link:active {
    background-color: var(--primary);
}
#primary .see-u-better-cta a {
    border-radius: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.companies_listing .company .comments .tb-button__link .tb-button__icon {
    display: none;
}
.companies_listing .company .comments .tb-button__link .tb-button__content {
    display: block;
}

.companies_listing .company .comments ul li {
    margin-bottom: 20px;
}

.departement-template-default #primary,
.ville-template-default #primary {
    padding-top: 2rem;
    border: 0;
}
.departement-template-default #secondary,
.ville-template-default #secondary {
    border: 0 none;
    padding: 0;
}
.departement-template-default #secondary ul,
.departement-template-default #secondary ul li,
.ville-template-default #secondary ul,
.ville-template-default #secondary ul li {
    margin: 0;
}
.departement-template-default #secondary ul li a,
.ville-template-default #secondary ul li a {
    display: inline-block;
    line-height: 1.3rem;
}

/** Breadcrumb */
.departement-template-default .entry-content > .tb-fields-and-text:first-child,
.ville-template-default .entry-content > .tb-fields-and-text:first-child {
    margin-bottom: 2rem;
    color: var(--gray-600);
    font-size: .85rem;
}

/** Grille des départements */
.departement-template-default #content .entry-content .tb-grid .wp-block-toolset-views-view-template-block .wp-block-toolset-blocks-container {
    background: var(--gray-100);
    border: 0 none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.departement-template-default #content .entry-content .tb-grid .wp-block-toolset-views-view-template-block .wp-block-toolset-blocks-container p {
    margin: 0;
}
.departement-template-default #content .entry-content .tb-grid .wp-block-toolset-views-view-template-block .wp-block-toolset-blocks-container p a {
    font-size: 1.2rem;
    line-height: 1em;
    display: block;
}

/* Carte */
@media (max-width: 420px) {
  .companies_listing #map,
  .companies_listing #map * {
      pointer-events: none;
  }
  .companies_listing #map .leaflet-control-zoom {
      display: none;
  }
}
.companies_listing #map { border-radius: 1rem; overflow: hidden; margin-top: 1rem; }

/** Landing */
body.home #primary { padding-top: 0; }
body.home #primary .entry-content > .wp-block-toolset-blocks-container.tb-container:first-child > .tb-fields-and-text:first-child  {
    position: relative;
    margin-left: -50px;
    margin-right: -50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 2rem 25px;
    margin-bottom: 2rem;
}
body.home #primary .entry-content > .wp-block-toolset-blocks-container.tb-container:first-child > .tb-fields-and-text:first-child h1,
body.home #primary .entry-content > .wp-block-toolset-blocks-container.tb-container:first-child > .tb-fields-and-text:first-child p {
    flex: 0 1 38%;
    padding: 1rem;
    margin: 0;
}
body.home #primary .entry-content > .wp-block-toolset-blocks-container.tb-container:first-child > .tb-fields-and-text:first-child h1 {
    text-align: left !important;
}
body.home #primary .entry-content > .wp-block-toolset-blocks-container.tb-container:first-child > .tb-fields-and-text:first-child p {
    text-align: right !important;
}

body.home #primary .entry-content > .wp-block-toolset-blocks-container.tb-container:first-child > .tb-fields-and-text:first-child:after {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    width: 100vw;
    height: 100%;
    z-index: -1;
    background: var(--secondary) var(--landing) no-repeat;
    background-size: contain;
    background-position: center center;
    transform: translate3d(-50%, 0, 0);
    opacity: .6;
}

@media (max-width: 768px) {
    body.home #primary .entry-content > .wp-block-toolset-blocks-container.tb-container:first-child > .tb-fields-and-text:first-child {
        justify-content: center;
        padding: 2rem 50px;
    }
    body.home #primary .entry-content > .wp-block-toolset-blocks-container.tb-container:first-child > .tb-fields-and-text:first-child h1,
    body.home #primary .entry-content > .wp-block-toolset-blocks-container.tb-container:first-child > .tb-fields-and-text:first-child p {
        flex: 1 1 100%;
        text-align: center !important;
    }

    body.home #page:after {
        height: 16rem;
    }

    #content .entry-content .wp-block-toolset-blocks-container.tb-container {
        padding: 0;
    }
}

@media (max-width: 600px) {
    body.home #page:after {
        height: 20rem;
    }
}


/** Bloc téléphone fixe en bas de page */
.fixedTel [class^="col-"] {
    width: 100% !important;
    padding: 0;
}
.fixedTel .container {
    width: 100%;
}
.fixedTel .container .contact {
    font-size: 1.6rem;
    line-height: 1.1;
    padding: 0;
}
.fixedTel .contact a {
    font-size: 1.6rem;
    line-height: 1.1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.fixedTel .contact a > * {
    padding: 0 1rem;
}