/***** Ensemble des class Com2see *****/

/* GENERAL */
#content .row_section {
    padding-top: 130px;
    padding-bottom: 130px;
    position: relative;
    overflow: hidden;
}

#content .row_section.small_section {
    padding-top: 15px;
    padding-bottom: 15px;
}

#content .row_sidebar {
    align-items: flex-start;
}

#content .row_section.section_separateur {
    border-bottom: 1px solid var(--main-color);
}

.nopadding {
    padding: 0;
}

.nomargin {
    margin: 0;
}

.center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.blanc {
    color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

img.round-img {
    border-radius: 15px;
}

img.logo {
    max-height: 100px;
}

p {
    text-align: justify;
}

p:last-child {
    margin-bottom: 0;
}
ul li{
    line-height:24px;
}

a {
    color: var(--main-color);
    font-weight: bold;
    text-decoration: none;
    font-size:14px;
}

a:hover {
    text-decoration: none;
    color: var(--main-dark-color);
}
a.link i{
    font-size:10px;
    margin-right:5px;
}

.bckg-grey {
    background: #f6f6f6;
}
.bckg-blue {
    background: var(--main-color);
}
.bckg-light-blue {
    background: var(--main-light-color);
}
.bckg-waves {
    background-image: url('../img/bckg_waves.svg');
}
.bckg-cover {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
.bckg-cover.bckg-bottom {
    background-position: center bottom !important;
}
.bckg-cover .hover-blanc {
    background: rgba(255, 255, 255, 0.75);
}
.bckg-cover .hover-black {
    background: rgba(0, 0, 0, 0.65);
}

ul.list-phare{
    list-style:none;
    margin:0;
    color:var(--main-color);
    font-size:16px;
    font-weight:500;
    margin:0;
    padding:0;
}
ul.list-phare li{
    line-height:40px;
}
ul.list-phare li:before{
    content:'\f101';
    font-family: 'Font Awesome 7 Free';
    font-weight:bold;
    margin-right:15px;
    font-size:10px;
}

.img-card {
    position: relative;
    display: inline-block;
    height: 100%;
    padding-top:20px;
    padding-right:20px;
}
.img-card img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-top-right-radius: 150px;
    position: relative;
    z-index: 2;
}
.img-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 20px;
    left: 20px;
    border: 1px solid var(--main-color);
    border-top-right-radius: 150px;
    z-index: 1;
}

/* SMALL MENU */
.navbar-toggle2 {
    background: none;
    border: none;
    float: right;
    position: relative;
    height: 70px;
    cursor: pointer;
}

.navbar-toggle2:focus {
    outline-color: transparent;
}

.navbar-toggle2 .icon-bar {
    display: block;
    background: #555;
    width: 22px;
    height: 3px;
    margin: 4px 0;
    opacity: 1;
    transform-origin: 5% 50%;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.navbar-toggle2 .icon-bar.first-bar {
    margin-top: 0;
}

.navbar-toggle2 .icon-bar.last-bar {
    margin-bottom: 0;
}

.navbar-toggle2:hover .icon-bar,
.navbar-toggle2 .icon-bar.open {
    background: var(--second-color);
}

.navbar-toggle2 .icon-bar.open.middle-bar {
    opacity: 0;
}

.navbar-toggle2 .icon-bar.open.first-bar {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.navbar-toggle2 .icon-bar.open.last-bar {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.overlay-menu {
    visibility: hidden;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    opacity: 0;
    -ms-transition: all 1s;
    transition: all 1s;
    -webkit-transition: all 1s;
    z-index: 1000;
}

.overlay-menu.overlay-menu-active {
    opacity: 1;
    visibility: visible;
    overflow-y: scroll;
}

/* BOUTONS */
.btn {
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 40px;
    padding: 0 20px 2px 20px;
    position: relative;
    border-radius: 0;
    margin-top: 60px;
    font-size:14px;
    letter-spacing: 1.1px;
}
.btn.main-btn {
    background: var(--main-color);
    border: 1px solid var(--main-color);
    color: #fff;
}
.btn.main-btn:hover {
    background: var(--main-dark-color);
    border-color: var(--main-dark-color);
}
.btn.btn-ctr {
    background: transparent;
    border: 1px solid var(--black);
    color: var(--black);
}
.btn.btn-ctr:hover {
    background: var(--black);
    color: #fff;
}
.btn.btn-blanc {
    background: #fff;
    color: var(--main-color);
    border: 1px solid #fff;
}
.btn.btn-blanc:hover {
    background: var(--black);
    border-color: var(--black);
    color: #fff;
}
.btn:hover {
    transition: all 0.3s;
}
.btn:focus {
    box-shadow: none;
}
.btn.small {
    font-size: 14px;
    line-height: 30px;
    text-transform: none;
    font-weight: normal;
    border-width: 1px;
}

.btn.tiny {
    font-size: 10px;
}

.btn.big {
    font-size: 20px;
    line-height: 60px;
    padding: 0 100px;
    text-transform: uppercase;
}

/* TITRES */
h1,
h2 {
    padding: 0 0 60px 0;
    margin: 0;
    font-size: 40px;
    text-align: left;
    text-transform: uppercase;
    font-weight:800;
}
h1 span, h2 span{
    font-weight:200;
}

h3 {
    font-size: 20px;
    margin: 0;
    padding: 0 0 15px 0;
    color: var(--main-color);
    text-align: left;
    text-transform: uppercase;
    font-weight: 200;
}

h4 {
    padding: 60px 0 30px 0;
    font-size: 26px;
    font-weight: 700;
    color: var(--main-color);
    text-transform: uppercase;
}

@media(max-width:575px) {

    h1,
    h2,
    h3,
    h4,
    p,
    a {
        word-break: break-word;
    }

    h1,
    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.25rem !important;
    }

    h4 {
        font-size: 1rem !important;
    }
}

/* MAP */
.marker-cluster-small {
    background-color: rgba(255, 255, 255, 0.4);
}

.marker-cluster-small div {
    background-color: rgba(255, 255, 255, 0.7);
}

.leaflet-top,
.leaflet-bottom {
    z-index: 750;
}

/* FORM */
/* Général */
.bloc-formulaire{
    border: 1px solid var(--main-color);
    border-top-right-radius : 100px;
    padding:60px;
}
.container-form,
.container-file-form {
    position: relative;
    margin-bottom: 30px;
}

input:not([type="checkbox"], [type="submit"], [type="file"], [type="radio"]),
select,
textarea {
    line-height: 40px;
    background: none;
    border: none;
    border-radius: 0;
    color: var(--main-color);
    padding: 0 15px;
    vertical-align: bottom;
    width: 100%;
    border: 1px solid rgba(var(--main-rgba-color), 0.10);
    border-top-right-radius : 20px;
}

input[type="radio"] {
    margin-right: 15px;
}

input[type="file"] {
    max-width: 100%;
}

textarea {
    padding-top: 5px;
    line-height: 25px;
}

input:focus,
select:focus,
textarea:focus {
    border: 1px solid var(--main-color);
    box-shadow: 0 0 10px rgba(var(--main-rgba-color),0.15);
    outline: 0;
}

form .btn {
    width: auto;
    margin-top: 0;
}

.container-form label {
    position: absolute;
    line-height: 40px;
    margin-left: 15px;
}
.wpcf7-list-item label{
    position: relative;
    margin-left: 0;
}

.container-form.active label span {
    display: none;
}
.container-form.active label span.wpcf7-list-item-label{
    display:inline;
}
/* Contact Form */
.wpcf7-checkbox,
.wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

span.wpcf7-list-item {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin: 0 0 15px 0;
    align-items: flex-start;
}
span.wpcf7-list-item input{
    margin-top:5px;
}

.noflex span.wpcf7-list-item {}

.wpcf7-list-item-label {
    margin: 0 10px 0 5px;
}

.wpcf7-form .row {
    padding: 0 !important;
}

.wpcf7-not-valid {
    border-color: var(--bs-red) !important;
}

.wpcf7-not-valid-tip {
    color: var(--bs-red) !important;
    line-height: 20px;
}

.wpcf7-form .wpcf7-response-output {
    border: 0 none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wpcf7-form.invalid .wpcf7-response-output {
    color: var(--bs-red) !important;
}

.wpcf7-form.sent .wpcf7-response-output {
    color: var(--bs-green) !important;
}

.wpcf7-spinner {
    background: none;
    color: #555;
    position: absolute;
    top: 45px;
    right: 0;
    opacity: 1;
    font-size: 22px;
}

.wpcf7-spinner:before {
    content: '\f110';
    font-family: "Font Awesome 6 Free Solid";
    -webkit-animation: fa-spin 2s linear infinite;
    animation: fa-spin 2s linear infinite;
}

/* COOKIES */
#cookies {
    display: block;
    float: left;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #555;
    text-align: center;
    z-index: 1500;
    padding: 15px 0;
    font-size: 12px;
}

#cookies .cookie-bloc {
    width: 900px;
    height: 400px;
    position: fixed;
    left: calc(50% - 450px);
    top: calc(50% - 200px);
    background: #fff;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.5);
    border-radius: 15px;
}

@media(max-width:900px) {
    #cookies .cookie-bloc {
        width: 100%;
        height: auto;
        background: rgba(255, 255, 255, 0.75);
        left: 0;
        top: 15px;
    }
}

#cookies .title-cookie {
    line-height: 60px;
    font-size: 40px;
    color: #000;
    text-transform: uppercase;
    padding: 15px 30px;
}

#cookies .content-cookie,
#cookies .bottom-cookie {
    display: block;
    float: left;
    width: 100%;
    padding: 30px;
    border-top: 1px solid #ccc;
}

#cookies p {
    text-align: center;
    font-size: 14px;
    margin-bottom: 10px;
}

#cookies .btn {
    margin: 0;
    line-height: 30px;
    padding: 0 10px;
    font-size: 12px;
}

table.cookies thead tr {
    background: var(--light-color);
}