/*
Theme Name: up212 Child
Author: up212
Author URI:  https://up212.com/
Theme URI: https://up212.com/
Template: up212
Description: This is child theme for up212 Theme.
Version: 1.0.0
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: up212-child
*/

/* body .tcg-nav .menu-wrapper ul li ul.sub-menu {
    display: block !important;
} */
   

@media (min-width: 768px) {
  .no-click > a {
  pointer-events: none !important;
  cursor: default !important;
}
}
.navigation li.menu-item-has-children li.menu-item-has-children>a:after {
    right: 6px !important;
    transform : rotate(-90deg) !important;
}
.menu-wrapper ul li ul:not(.tcg-buga,.tcg-buga *) {
    width: 210px !important;
}
.menu-wrapper .navigation li ul li a:not(.tcg-buga,.tcg-buga *) {
    padding : 15px 20px 0 12px !important;
}
body .tcg-nav .menu-wrapper ul li ul li a {
    font-size: 12px !important;
}
.menu-wrapper ul li ul:not(.tcg-buga,.tcg-buga *) li ul {
    left: 100% !important;
}
.tcg-nav .menu-wrapper ul li ul.sub-menu {
    background: #126cb0 !important;
}

body .bloc-pr:hover h2{
color: #ffffff !important;
transition: 0.4s !important;
}

/* CONTAINER GLOBAL */
.wpcf7-form {
  max-width: 1320px;
  margin: auto;
  background-color: #126cb0;
  padding: 25px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
}

/* ÉTIQUETTES */
.wpcf7-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 15px;
  color: #e0e0e0;
}
.wpcf7-spinner {
    display: none !important; 
}
.tcgelements-search-form .tcgelements-search-icon .form-group {
    padding: 16px !important;
    background: rgb(18 108 176 / 37%) !important;
    backdrop-filter: blur(13px) !important;
}
.tcgelements-search-form .tcgelements-search-icon .form-group button {
    top: 4px !important;
    right: 13px !important;
    padding: 10px 15px !important;
    background: #ffffff00 !important;
}
.elementor-1445 .elementor-element.elementor-element-fcacb42 .tcgelements-search-icon .search-icon i {
    color: #e2011a !important;
}
.search .top-logo a img{
   height: 45px !important;
   max-height: 45px !important;
}
.search .sidebar.sidebar-2 {
    display: none !important;
}
/* CHAMPS TEXTE, EMAIL, FICHIER */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="file"],
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="file"], .wpcf7 textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 24px;
    border: 1px solid #333;
    border-radius: 8px;
    background-color: #ffffff;
    color: #000000;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.wpcf7 input[type="text"]::placeholder,
.wpcf7 input[type="email"]::placeholder {
  color: #999;
}

/* SURVOL & FOCUS */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: #126cb0;
  outline: none;
}

/* BOUTON D'ENVOI */
.wpcf7-submit {
  background-color: #0d5184;
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s;
  margin-top: 15px !important;
}

.wpcf7-submit:hover {
  background-color: #E2011A;
  transform: translateY(-1px);
}

/* MESSAGES DE SUCCÈS ET D'ERREUR */
.wpcf7-response-output {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  font-size: 14px;
}

.wpcf7-mail-sent-ok {
  background-color: #d4edda;
  color: #126cb0;
  border: 1px solid #126cb0;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
  background-color: #f8d7da;
  color: #E2011A;
  border: 1px solid #E2011A;
}
#cmplz-document, .editor-styles-wrapper .cmplz-unlinked-mode {
    max-width: 1320px !important;
}
body .grecaptcha-badge {
    display: none !important;
}
body .mncstm {
  display: none !important;
}
body .load-text span {
    font-weight: 800 !important;
}
.gtranslate_wrapper a:hover {
    color: #126cb0 !important;
}
.gtranslate_wrapper a.glink.gt-current-lang {
    color: #e2011a !important;
}
.wpcf7-acceptance br{
   display: none !important;
}
.wpcf7-acceptance input {
    padding: 3px 16px !important;
    padding-left: 30px !important;
    width: 33px !important;
    max-height: 33px !important;
    margin-top: 5px !important;
}
.wpcf7-acceptance a , .recaptcha-text a {
    text-decoration: underline !important;
}
.wpcf7-acceptance a:hover , .recaptcha-text a:hover {
    color: #e2011a !important;
}
.wpcf7-acceptance a , .recaptcha-text a {
    color: #ffffffa6 !important;
}

label.wpcf7-acceptance {
    display: flex !important;
    justify-content: left !important;
    align-items: flex-start !important; 
}
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="file"], .wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="file"], .wpcf7 textarea {
    margin-bottom: unset !important;
}
.loader-wrap-heading {
  margin-bottom: 135px !important;
}
body .wpcf7-form p {
    margin: unset !important;
}
.newsletter-wrapper p {
  display: flex;
  align-items: center;
  max-width: 700px;
  margin: 40px auto;
  overflow: hidden;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
  background: transparent;
}

/* Champ Email */
.newsletter-wrapper input[type="email"] {
  flex: 1;
  padding: 20px 25px;
  border: none;
  font-size: 18px;
  border-radius: 999px 0 0 999px;
  background-color: white;
  color: #444;
  outline: none;
}

/* Placeholder */
.newsletter-wrapper input::placeholder {
  color: #666;
  opacity: 1;
}

/* Bouton rouge */
.newsletter-wrapper input[type="submit"] {
    background-color: #e00016;
    color: #fff;
    padding: 22px 40px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 0px 35px 35px 0px !important;
}
.newsletter-wrapper .wpcf7-not-valid-tip {
    display: none !important;
}
.newsletter-wrapper .wpcf7-submit {
  margin-top: unset !important;
}
.newsletter-wrapper input[type="submit"]:hover {
  background-color: #c50013;
}
ul.post-detail {
    display: none !important;
}
.search .top-logo a img {
    height: 65px !important;
    max-height: 65px !important;
}
@media (max-width: 992px) {
    .tcg-logo .top-logo {
        width: 150px !important;
    }
}
/* Media query pour afficher uniquement sur les petits écrans (≤ 767px) */
@media (max-width: 767px) {
  body .mncstm {
    display: block !important;
}
.newsletter-wrapper input[type="submit"] {
    padding: 22px 20px !important;
}

.ftr-cstm a {
    text-align: center !important;
    display: flex !important;
    align-items: jus !important;
    flex-direction: column !important;
}
.ftr-cstm span {
    text-align: center !important;
}
}

@media (max-width: 1025px) {
.tcg-nav .menu-wrapper ul li ul {
    top: 109px !important;
}
.menu-wrapper ul li ul:not(.tcg-buga,.tcg-buga *) {
    width: 188px !important;
}
}


@media (min-width: 768px) {
body ul.tcg-nav-item.sub-menu.depth_1.sf-js-enabmagico.sf-arrows {
    top: 0px !important; 
}
body .tcg-nav .menu-wrapper ul li ul {
    top: 0px !important;
}
body ul.tcg-nav-item.sub-menu {
    top: 0px !important;
}


ul.tcg-nav-item.sub-menu.depth_0 {
   transform: translate(-1px, 38px) !important;
}
}

@media (max-width: 500px) {
    input.wpcf7-form-control.wpcf7-submit.has-spinner {
    font-size: 12px !important;
    padding: 18px !important;
}

input.wpcf7-form-control.wpcf7-email.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-email {
    font-size: 15px !important;
}
.wpcf7-form {
    padding: 12px !important;
}
input.wpcf7-form-control.wpcf7-email.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-email {
    padding: 15px !important;
}
}




