/**
Theme Name: Cogiweb-Astra Child
Author: Samuel Demers
Author URI: http://wpastra.com/about/
Description: Cogiweb-Astra Child est un thème enfant du thème Astra créé par la Cogiweb. Voici la documentation du thème Astra: https://wpastra.com/docs/.
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: cogiweb-astra-child
Template: astra
*/

/* --- GLOBAL --- */
h3 {
    position: relative; 
}

h3::after {
    content: ''; 
    position: absolute;
    bottom: -3px; 
    left: 0; 
    width: 120px; 
    border-bottom: 3px solid #C1C600; 
}

@media (max-width: 921px) {
    h3 {
        font-size: 28px !important;
    }
}

.liste-bordure-dot-100 {
    list-style-position: inside; 
}

.liste-bordure-dot-100 li {
    position: relative; 
    border-bottom: 1px solid #c1c600; 
    font-weight: bold;
}

.liste-bordure-dot-100 li::before {
    content: '';
}

.liste-bordure-100 {
    list-style-type: none;
    padding-left: 0px !important;
}
.liste-bordure-100 li {
    border-bottom: 1px solid #c1c600;
    font-weight: bold;
}
/* --- GLOBAL - (FIN) --- */

/* --- MENU SECONDAIRE --- */
@media (max-width: 921px) {
    .menu-secondaire-item1, .menu-secondaire-item2 {
        margin-bottom: 10px;
    }
}
/* --- MENU SECONDAIRE (FIN) --- */

/* --- MENU PRINCIPAL --- */
/* Ne pas afficher le logo du menu principal et mobile sur la page d'accueil */
body.home .logo-menuP, body.home .logo-menuMobile {
    display: none;
}
 
/* Afficher le logo du menu principal et mobile sur les pages secondaires */
body:not(.home) .logo-menuP,  body:not(.home) .logo-menuMobile {
    display: block;
}

@media screen and (min-width: 1360px) {
    .logo-menuP {
        margin-left: 60px;
    }
}

.logo-menuMobile {
    height: 65px;
    margin-top: 10px;
    margin-bottom: 10px;
}
/* --- MENU PRINCIPAL - (FIN) --- */

/* --- Section Pastilles ACCUEIL --- */
.container-pastilles {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.item-pastille {
    flex-basis: calc(20% - 0px);
    text-align: center;
}

.item-pastille-1 {
    background-color: #C1C600;
}

.item-pastille-2 {
    background-color: #DBDB7B;
}

.item-pastille-3 {
    background-color: #F4F4BD;
}

.item-pastille-4 {
    background-color: #DBDB7B;
}

.item-pastille-5 {
    background-color: #C1C600;
}

.item-pastille-1:hover, .item-pastille-2:hover, .item-pastille-3:hover, .item-pastille-4:hover, .item-pastille-5:hover {
    background-color: #5692ce;
}

.image-pastille {
    max-width: 100%;
    height: 120px;
    width: auto;
    margin-top: 40px;
}

.lien-pastille {
    display: block;
    text-decoration: none !important;
    color: #162B4E;
    font-weight: bold;
}

.lien-pastille:hover {
    color: #162B4E;
}

.bloc-texte-pastille { 
    max-width: 260px;
    margin: 20px auto;
}

.texte-pastille { 
    max-width: 260px;
    margin-left: 15px;
    margin-right: 15px;
}

/* Media Query pour les écrans de tablettes */
@media screen and (max-width: 1000px) {
    .container-pastilles {
        justify-content: center;
    }
    .item-pastille {
        flex-basis: calc(50% - 0px);
        margin-bottom: 0px;
        height: 280px;
    }
    .item-pastille-4 {
        background-color: #C1C600;
    }
    .item-pastille-5 {
        background-color: #DBDB7B;
    }
    .texte-pastille { 
        font-size: 18px;
    }
}

/* Media Query pour les écrans mobiles */
@media screen and (max-width: 520px) {
    .item-pastille {
        flex-basis: calc(100% - 0px);
    }
}
/* --- Section Pastilles ACCUEIL - (FIN) --- */

/* --- Section Dernières nouvelles ACCUEIL --- */
.dernieres-news-items li {
    margin: auto;
}

.dernieres-news-date {
    line-height: 1.2;
}

.dernieres-news-titre a {
    text-decoration: none !important;
}

.dernieres-news-date a {
    text-decoration: none !important;
}
/* --- Section Dernières nouvelles ACCUEIL - (FIN) --- */

/* --- Pastilles locataires Accueil --- */
.titre-locataire-actuel {
    border-bottom: 3px solid #C1C600;
    max-width: 270px;
}

.accueil-locataires-container {
    display: flex;
    /*justify-content: space-between;*/
}

.accueil-locataires-col {
    display: flex;
    text-align: center;
    flex: 40%;
}

.accueil-locataires-col_centre {
    display: flex;
    justify-content: center;
    flex: 40%;
}

.accueil-locataires-col_bloc {
    display: flex;
    flex-direction: column;
    flex: 60%;
}

.accueil-locataires-img {
    width: 80px;
    height: auto;
}

.accueil-locataires-titre {
    font-size: 22px !important;
    font-weight: bold !important;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 10px !important;
    color: #162B4E !important;
    text-align: left;
}

.accueil-locataires-texte {
    font-size: 16px !important;
    margin-top: 5px;
    margin-left: 20px;
    margin-right: 20px;
    color: #162B4E !important;
    text-align: left;
}

.accueil-locataires-lien {
    text-decoration: none !important;
}

.accueil-locataires-titre_reglement {
    margin-left: 10px;
}

@media screen and (max-width: 960px) {
    .accueil-locataires-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .accueil-locataires-col {
        margin-bottom: 40px;
    }
    .accueil-locataires-img {
        width: 90px;
    }
}

@media screen and (max-width: 480px) {
    .accueil-locataires-img {
        width: 60px;
    }
}

/* --- Pastilles locataires Accueil - (FIN) --- */

.ast-menu-toggle:focus {
	outline: none;
}


.ul_generalRules {
	color: #5692CE;
}
.ul_generalRules li {
	border-bottom: 1px solid #c1c600;
    font-weight: bold;
}

.wp-block-table thead {
	background-color: #162B4E;
	color: #fff;
	border-bottom:1px solid;
}

.wp-block-table tr:nth-child(odd){
	background-color: rgba(86,146,206,0.1);
}

.block_serviceFooter {
	font-size:18px;
}
.block_serviceFooter p {
	margin-bottom: 1rem;
}
.block_serviceFooter {
	position: relative;
}
.block_serviceFooter::before{
	position: absolute;
	content:"";
	width: 50%;
	top: -10px;
	left: 0;
	height: 2px;
	background-color: #BDDEF9;
}

#menu-menu-logement-footer li a, #menu-menu-locataire-footer li a {
	color: #fff;
}

#nav_menu-6 .widget-title, #nav_menu-4 .widget-title {
	color: #fff;
	font-size: 26px;
	font-weight: 400;
	margin-top: 35.5px;
}

.menu-menu-logement-footer-container, .menu-menu-locataire-footer-container {
	position: relative;
}

.menu-menu-logement-footer-container::before, .menu-menu-locataire-footer-container::before {
	position: absolute;
	content:"";
	width: 50%;
	top: -10px;
	left: 0;
	height: 2px;
	background-color: #BDDEF9;	
}
.site-below-footer-wrap {
	position: relative;
}
.site-below-footer-wrap::before {
	position: absolute;
	content:"";
	width:80%;
	height:2px;
	left: 10%;
	top: 15px;
	background-color: #BDDEF9;
}



@media (max-width: 921px) {
   .ast-header-break-point .site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
	   padding: 0 50px;
	   max-width: 100%;
	}
}


@media (max-width: 544px) {
	.site-footer-section {
		justify-content: start;
	}
}

/* Demande en ligne */
.DL-titre-soumettre {
    margin-bottom: 20px;
}

.DL-titre-soumettre::after {
    display: none;
}

/* --- SARL --- */
.tableauSarl {
    border-collapse: collapse;
    width: 100%;
    margin: 0 auto;
}

.sarl-td-siteweb {
    text-align: left !important;
    padding-left: 10px;
}

.logo-sarl-siteweb {
    max-width: 180px;
}

.sarl-lienMaison {
    text-decoration: none;
}

.tableauSarl th {
    border-collapse: collapse;
    border: 1px solid #e5e5e5;
    text-align: center;
}

.tableauSarl td {
    padding: 10px;
    border-collapse: collapse;
    border: 1px solid #e5e5e5;
    text-align: center;
}

@media only screen and (max-width: 785px) {
    .sarl-lienMaisonImage {
        width: 50px;
        height: 49px;
    }

    .tableauSarl {
        border: 0;
    }

    .tableauSarl caption {
        font-size: 1.3em;
    }

    .tableauSarl thead {
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .tableauSarl tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: 40px;
    }

    .tableauSarl td {
        padding: 10px 20px;
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
    }

    .tableauSarl td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    .tableauSarl td:last-child {
        border-bottom: 0;
    }

    .tableauSarl td::before {
        font-size: 20px; 
    }
}


