/*

Theme Name: AMD Starter Theme
Author: AMD Creation
Author URI:  https://www.amd-creation.com
Description: Starter theme sur mesure de l'agence AMD Creation
Version: 2.3.1
Template: salient
Version: 1.0

*/

/**
 * CUSTOM STYLES
 *
 */

/* Fancy box page impression, cartes de visite et panneau */
.page-id-5985 .nectar-fancy-box[data-style="image_above_text_underline"] .text,
.page-id-7000 .nectar-fancy-box[data-style="image_above_text_underline"] .text,
.page-id-6646 .nectar-fancy-box[data-style="image_above_text_underline"] .text {
    padding: 32px 32px 0!important;
}

.page-id-5985 .nectar-fancy-box[data-border-radius="10px"] .image-wrap,
.page-id-7000 .nectar-fancy-box[data-border-radius="10px"] .image-wrap,
.page-id-6646 .nectar-fancy-box[data-border-radius="10px"] .image-wrap {
    border-bottom-right-radius: 0!important;
    border-bottom-left-radius: 0!important;
}

@media only screen and (max-width: 690px) {
    .page-id-5985 .nectar-fancy-box,
    .page-id-6646 .nectar-fancy-box {
        min-height: 430px!important;
    }
}

/* Hashtag au dessus des titres */
.amd-hashtag-above-title {
    margin-bottom: 10px!important;
}

/* Breadcumb page header */
.amd-hashtag-above-title p,
.amd-breadcumb p {
    color: #e03c39 !important;
}
.amd-breadcumb--active {
    color: rgba(255,255,255,0.7);
}

/* Style des toggle des FAQ */
.toggle > h3.toggle-title a {
    color: #161f73!important;
    font-weight : 700;
}

/* Remove separator Pricing Table */
/* 1st column */
.pricing-table[data-style="flat-alternative"] .pricing-column:nth-child(1) .interval {
    display: none !important;
}
/*2nd column */
.pricing-table[data-style="flat-alternative"] .pricing-column:nth-child(2) .interval {
    display: none !important;
}
/* 3rd column */
.pricing-table[data-style="flat-alternative"] .pricing-column:nth-child(3) .interval {
    display: none !important;
}
/* Remove dollar sign */
.pricing-column .pricing-column-content .dollar-sign {
    display:none;
}
/* Typographie titre pricing */
.pricing-table[data-style="flat-alternative"] .pricing-column h3 {
  font-size: 22px;
}

/* AMD Responsive Table */
.amdst-responsive-table th, tr, td, .amdst-subheading {
    text-align: center!important;
}
.amdst-responsive-table th {
    background-color: #161f73;
}
.amdst-col-1 {
  width: 15%;
  font-size: 17px;
  color: #ffffff;
}
.amdst-col-2,
.amdst-col-3,
.amdst-col-4,
.amdst-col-5,
.amdst-col-6 {
  width: 17%;
  color: #ffffff;
}
.amdst-subheading {
  background-color: #161f73;
  color: #ffffff;
  font-weight: bold;
  font-size: 17px!important;
}
@media only screen and (max-width: 983px) {
  .amdst-responsive-table table,
  .amdst-responsive-table thead,
  .amdst-responsive-table tbody,
  .amdst-responsive-table th,
  .amdst-responsive-table td,
  .amdst-responsive-table tr {
    display: block;
  }
  .amdst-responsive-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  .amdst-responsive-table td:not(.amdst-subheading) {
    /*border: none;*/
    position: relative;
    padding-left: 50%!important;
    padding-bottom: 10px!important;
    padding-right: 40px!important;
    white-space: normal;
    text-align: right!important;
    border-width: medium 1px 1px 1px!important;
    border-style: none solid solid solid!important;
    border-color: #ececec!important;
  }
  .amdst-responsive-table td:before {
    position: absolute;
    content: attr(data-title);
    top: 10px;
    left: 40px;
    width: 40%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
    color: #161f73;
  }
  .amdst-responsive-table .amdst-main-group {
    margin-bottom: 16px;
  }
  .amdst-responsive-table .amdst-subheading {
    padding: 16px;
    text-align: center;
    font-size: 17px;
    font-weight: bold;
    background: #161f73;
    color: #ffffff;
  }
}

/* Remove margin bot 2col de ul sur mobile */
@media only screen and (max-width: 690px) {
    .amdst-2col-ul-remove-margin.wpb_column:not([class*="vc_col-xs"]) {
      margin-bottom: 0!important;
    }
}

/* Homepage changer couleur Post Grid Product */
.full-width-section > .col.span_12.dark .nectar-post-grid[data-text-color="dark"] .nectar-post-grid-item .content *,
.nectar-post-grid[data-text-color="dark"] .nectar-post-grid-item .content * {
    color: #161f73;
}
.full-width-section > .col.span_12.dark .nectar-post-grid[data-text-hover-color="dark"] .nectar-post-grid-item:hover .content *,
.nectar-post-grid[data-text-hover-color="dark"] .nectar-post-grid-item:hover .content * {
    color: #161f73;
}

/* Virer les morceaux du megamenu pas nécessaires sur mobile */
.amd-mobile-hidden {
    display:none;
}

#header-outer nav > ul > .megamenu > ul ul li a:hover,
#top .sf-menu li ul li a:hover,
body:not([data-header-format="left-header"]) #header-outer nav > ul > .megamenu > ul ul .current-menu-item > a{
    background-color: transparent!important;
}

/* Changer la couleur du guillemet des testimonials sur la page contact */
.page-id-214 .testimonial_slider[data-style="multiple_visible"][data-color*="-color"] blockquote.is-selected p::before {
    color: rgba(255,255,255,.4);
}

body [class^="icon-"].icon-default-style {
    height: 25px;
    width: 25px;
    font-size: 25px;
}

/**
 * GENERAL STYLES
 *
 */

/* Hide reCAPTCHA v3 badge the right way */
.grecaptcha-badge {
	visibility: hidden;
}

/* Style des keywords dans le footer sous le logo */
.amd-footer-keywords {
    font-size: 14px;
    margin-right: 15%;
  }
  
  @media only screen and (max-width: 690px) {
    .amd-footer-keywords {
      margin-right: 0;
    }
  }

  /* Centrer les éléments du Footer sur mobile */
@media only screen and (max-width: 690px) {
    #footer-outer>#footer-widgets>.container {
        text-align: center;
    }

    #footer-outer>#copyright>.container {
        text-align: center;
    }

    #footer-outer>#copyright .social {
        float: none !important;
        display: flex;
        justify-content: center;
    }
}