/*Theme Name: Storefront Child Phoenix Motor's
Description: Thème enfant de storefront
Author: Meyrel Brandon
Template: storefront
Version: 0.1.0
*/

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&display=swap");

/* === Colores === */
:root{
    --first-color: #c70e0e; 
    --second-color: #323232;
    --third-color: black;
    --fourth-color: #c8c8c8;
    --fifth-color: #f5f5f5;
  }

/* === Body === */

body{
    background-color: var(--fifth-color);
}

.col-full{
    max-width: 90%;
}

/* === Header === */

.front-img{
    height: 400px;
    width: 100vw;
    background-image: url('assets/images/entreprise.jpg');
    background-position: 50% 58%;
    margin-left: -5vw;
}

.site-header{
    margin-bottom: 0px !important;
    background-color: var(--first-color);
}

.site-branding{
    margin-bottom: 0px;
}

.main-navigation ul.menu > li.menu-item-has-children > a::after{
    transform: rotate(-180deg);
    transition: all ease 0.3s;
}

.main-navigation ul.menu > li.menu-item-has-children:hover > a::after{
    transform: rotate(0deg);
}

.main-navigation ul li a{
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    transition: all ease 0.3s;
}
.main-navigation ul li a, .site-title a, ul.menu li a, .site-branding h1 a, .handheld-navigation .dropdown-toggle{
    color: white;
    font-size: 1.4em; /*1.4em*/
    transition: all ease 0.3s;
}
.button.menu-toggle, button.menu-toggle:hover{
    color: white;
    transition: all ease 0.3s;
}

.main-navigation ul.nav-menu ul li a {
    font-weight: bold;
}

.main-navigation ul ul li{
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    font-size: 1.4em;
}

.main-navigation ul li a:hover{
    background-color: #ac0d0d;
}

.main-navigation ul li a:hover, .main-navigation ul li:hover > a, .site-title a:hover, .site-header ul.menu li.current-menu-item > a {
    color: #e1e1e1;
}

p.site-description, .site-header, .storefront-handheld-footer-bar{
    color: var(--third-color);
}

.widget_price_filter .ui-slider .ui-slider-range, .widget_price_filter .ui-slider .ui-slider-handle {
    background-color: var(--first-color);
}

a:focus,input:focus,textarea:focus,button:focus{
    outline: none;
}

/* === Footer === */
.site-footer .widget .widget-title, .site-footer .widget .widgettitle {
    color: white !important;
}
.site-footer a:not(.button):not(.components-button) {
    color: white !important;
}
.widget_recent_entries ul li, .widget_nav_menu ul li, .site-footer a{
    font-size: 1.2em !important;
}
.site-footer {
    background-color: var(--second-color);
    color: white !important;
}

.widget {
    margin: 0 0 2em;
}

.widget .widget-title{
    margin-bottom: 0px;
}

/* === Global === */

.site-header .custom-logo-link img {
    max-width: 50vw;
}

.big_title{
    color: var(--first-color);
    font-weight: bold;
    /*text-transform: uppercase;*/
}

.entry-title{
    color: var(--first-color);
    font-weight: bold;
}

/* === Accueil Articles === */

.marge-top{
    margin-top: 20px;
}

.page-numbers li{
    background-color: var(--first-color);
}
.woocommerce-pagination .page-numbers li .page-numbers:not(.current) {
    color: white;
}
.woocommerce-pagination .page-numbers li .page-numbers.current {
    background-color: #ee1616;
    color: white;
}

.redacteur-container {
    margin: 0 0 40px;
    width: 100%;
    clear: both;
    display: inline-block;
    font-family: "Montserrat", sans-serif;
}

.redacteur-container .redacteur-item {
    display: block;
    width: 100%;
    float: left;
    min-height: 445px;
    border: 1px solid var(--fourth-color);
    margin-top: 10px;
    margin-bottom: 10px;
}

@media screen and (min-width: 1120px){
    .redacteur-container .redacteur-item {
        display: inline-block;
        width: 29%;
        margin: 20px 2%;
        margin-top: 0px;
        margin-bottom: 0px;
    }
}

.redacteur-container .redacteur-item .redacteur-item-img {
    max-height: 240px;
    overflow: hidden;
    margin: auto;
}
.redacteur-container .redacteur-item .redacteur-item-img img {
    margin: auto;
}

.redacteur-container .redacteur-item .redacteur-item-details {
    padding: 0 10px;
}

.redacteur-container .redacteur-item .redacteur-item-details h2 {
    font-size: 2.2em;
    font-weight: bold;
    padding: 10px 0;
}

.button-articles{
    margin-right: auto;
    margin-left: auto;
    max-width: 50%;
    margin-bottom: 20px;
}
.button-articles a{
    color: white;
    transition: color .2s,opacity .2s,border-color .2s;
    font-size: 3em;
}
@media screen and (min-width: 1120px){
    .button-articles a{
        font-size: 1em;
    }
}

/* === Accueil Contacte */

.contact{
    text-align: center;
    padding-top: 20px;
}
.contact_content{
    margin: auto;
    font-family: "Montserrat", sans-serif;
}
.contact_content p{
    margin-bottom: 0.5em;
    font-size: 1.2em;
}
.contact_size{
    width: 100%;
}
.contact_content .map_img{
    margin: auto;
    margin-top: 20px;
    margin-bottom: 50px;
    width: 80%;
    height: 300px;
    border-radius: 25px;
}
.separator_content{
    display: none;
}
.form-example{
    margin-bottom: 20px;
    vertical-align: bottom;
}
.form-example .label{
    margin: auto;
    border-radius: 10px;
    padding: 10px;
    width: 60px;
}
.form-example #nom{
    border: 1px solid grey;
    border-radius: 10px;
    padding: 5px;
    transition: all 0.5s ease;
    width:300px;
  }
  .form-example #prenom{
    border: 1px solid grey;
    border-radius: 10px;
    padding: 5px;
    transition: all 0.5s ease;
    width:300px;
  }
  .form-example #mail{
    border: 1px solid grey;
    border-radius: 10px;
    padding: 5px;
    transition: all 0.5s ease;
    width:420px;
  }
  .form-example #message{
    border: 1px solid grey;
    border-radius: 10px;
    padding: 5px;
    transition: all 0.5s ease;
    width:420px;
    height: 100px;
    margin-bottom: 20px;
  }
  .form-example input:focus, .reserv_btn:focus {
    background-color: lightgrey;
    color: black;
  }
  .margin_btn{
    margin: auto;
  }



.ref_site{
    margin: 5%;
    display: table-cell; /* comportement visuel de cellule */
    vertical-align: middle;
    border:10px solid #073B5E;
    width: 10%;
    height:18vw;
    text-align: center;
    background-color: rgba(255, 255, 255,0.7);
    border-radius: 25px;
}

.ref_site img{
    margin: auto;
    text-align: center;
    max-width: 90%;
    height: auto;
    border-radius: 10px;
}

.background3{
    background-color:  var(--first-color);
    color: white;
    margin-left: -10%;
    margin-right: -10%;
}

@media screen and (min-width: 1120px){
    .contact{
        padding-top: 0px;
    }
    .contact_size{
        width: none;
    }
    .contact_content{
        display: inline-block;
        text-align: left;
        vertical-align: middle;
    }
    .contact_content .map_img{
        margin: 0px;
        margin-top: 20px;
        height: 250px;
    }
    .separator_content{
        display: inline-block;
        height: 500px;
        border-bottom: none;
        width: 0vw;
        border-left: 1px solid white;
        margin: 20px 20px 50px 20px;
    }
    .separator_reserv{
        display: none;
    }
    .contact_size{
        width: 40%;
    }
    .form-example{  
        display: inline-block;
        text-align: left;
    }
    .form-example .inline_form{
        display: inline-block;
    }
    .form-example #nom{
        width: 200px;
    }
    .form-example #prenom{
        width: 200px;
    }
    .form-example #mail{
        width: 500px;
    }
    .form-example #message{
        width: 500px;
        height: 80px;
    }
    .bloc{
        vertical-align: top;
    }
    .form-example input[type=submit]{
        float: right;
    }
}
@media screen and (min-width: 1570px){
    .form_global{
        width:600px;
    }
}
@media screen and (max-width: 1569px){
    .form-example #mail{
        width: 415px;
    }
}

#contactProfil {
    height: 300px;
    /* The height is 400 pixels */
    width: 100%;
    /* The width is the width of the web page */
    margin-top: 20px;
    background-image: url("assets/images/entreprise.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* === Services Grid */
#grid {
    display: grid;
    height: auto;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(5, 40vw);
    margin-bottom: 50px;
    grid-gap: 15px 15px;
    gap: 15px 15px;
  }

.present-serv {
    background-color: var(--second-color);
    position: relative;
    display: block;
}
#serv-type-1{
    grid-column: 1 / 7;
    background-image: url(assets/images/img1.jpg);
}

#serv-type-2{
    grid-column: 1 / 7;
    background-image: url(assets/images/img1.jpg);
}

#serv-type-3{
    grid-column: 1 / 7;
    background-image: url(assets/images/img1.jpg);
}

#serv-type-4{
    grid-column: 1 / 7;
    background-image: url(assets/images/img1.jpg);
}

#serv-type-5{
    grid-column: 1 / 7;
    background-image: url(assets/images/img1.jpg);
}

.zone-content-wrapper {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    color: white;
}

/*.zone-content {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0;
    color:white;
}*/

.zone-content-title{
    text-align: center;
    font-size: 6vw;
    text-shadow:3px 3px 15px black ;
}
.zone-content-desc{
    text-align: center;
    font-size: 3vw;
    text-shadow:3px 3px 15px black ;
    margin-bottom: 10px;
}

.button-serv {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    padding: 0 10px;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: .75px;
    text-decoration: none;
    background: none;
    background-color: rgba(0, 0, 0, 0.3);
    border: 0;
    outline: none;
    cursor: pointer;
    transition: background-color .25s,opacity .25s,border-color .25s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: white;
    text-shadow:3px 3px 15px black ;
}

@media screen and (min-width: 1330px){
    #grid {
        grid-template-rows: repeat(2, 20vw);
      }
    #serv-type-1{
        grid-column: 1 / 4;
    }

    #serv-type-2{
        grid-column: 4 / 7;
    }

    #serv-type-3{
        grid-column: 1 / 3;
    }

    #serv-type-4{
        grid-column: 3 / 5;
    }

    #serv-type-5{
        grid-column: 5 / 7;
    }
    .zone-content-wrapper {
        left: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        max-width: 60%;
        max-height: 100%;
        padding: 0 45px 70px 0;
        position: absolute;
        right: 0;
        bottom: 0;
        overflow: hidden;
        text-align: left;
    }
    
    .zone-content {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        padding: 0;
        color:white;
    }
    .zone-content-title{
        text-align: right;
        font-size: 1.8vw;
        text-shadow:3px 3px 15px black ;
    }
    .zone-content-desc{
        text-align: right;
        font-size: 1vw;
        text-shadow:3px 3px 15px black ;
        margin-bottom: 0px;
    }
    .button-serv {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 52px;
        padding: 0 20px;
        font-size: 1vw;
        font-weight: bold;
        text-transform: uppercase;
        line-height: 1.2;
        letter-spacing: .75px;
        text-decoration: none;
        background: none;
        background-color: var(--first-color);
        color: white;
        border: 0;
        outline: none;
        cursor: pointer;
        transition: background-color .25s,opacity .25s,border-color .25s;
        transition: color .2s,opacity .2s,border-color .2s;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        box-shadow: 2px 2px 15px white;
        margin-top: 20px;
        transition: all ease 0.3s;
    }
}

/* === Boutique === */

.woocommerce-products-header__title{
    color: var(--first-color);
    font-weight: bold;
}

/*.site-main ul.products.columns-4 li.product-category {
    width: 44.1%;
    margin-right: 3.8%;
}*/

/* === Tarifs === */

/*                 */
/* price-table.css */
/*                 */

.space-card{
    height: 50px;
}

.pack-card{
    text-align: center;
}

.c-price-card {
    width: 300px;
    height: auto;
    min-width: 300px;
    min-height: var(--component-height);
    box-shadow: 0px 6px 8px rgba(19, 19, 19, 0.233);
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
  
    display: inline-block;
    vertical-align: top;
    margin: 0.5vw;
  
    --primary-color: var(--first-color);
    --secondary-color: #fff;
    --component-height: 525px;
    --header-height: 150px;
    --body-height: calc(var(--component-height) - var(--header-height));
  }

  .c-price-card-large{
    --component-height: 550px;
    width: 650px;
    min-width: 650px;
  }

  .c-body-large{
    padding-right: 10px;
    padding-left: 10px;
  }

  .c-price-supp {
    --component-height: 400px;
    --header-height: 150px;
}
  
  .c-primary-col-grey {
    --primary-color: var(--second-color);
  }
  .c-primary-col-red {
    --primary-color: var(--first-color);
  }
  .c-primary-col-purple {
    --primary-color: var(--first-color);
  }
  
  /* 
   * component Header
  */
  .c-price-card .c-header {
    position: relative;
    width: 100%;
    height: var(--header-height);
    color: white;
    background-color: var(--primary-color);
    margin: 0;
    text-align: center;
  }
  
  .c-price-card .c-header h1 {
    margin: 0;
    font-weight: normal;
    font-size: 2.2em;
    margin-top: 0.5em;
    display: inline-block;
    color: white;
  }
  
  .c-price-card .c-header .priceTag {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 50%;
    width: 6em;
    height: 2.1em;
    transform: translate(-50%, 40%);
  
    font-size: 18px;
    font-weight: 500;
    background-color: white;
    color: var(--primary-color);;
    border: 0.5px solid var(--primary-color);;
    border-radius: 100px;
  
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .c-price-card .c-header .priceTag-large{
    width: 10em;
  }
  
  /* 
   * component BODY
  */

.c-price-card .c-body {
    position: relative;
    overflow: auto;
    height: var(--body-height);
    background-color: var(--secondary-color);
  }
  
  .c-price-card .c-body .c-list {
    margin: 0;
    margin-top: 1.9em;
    padding-left: 0;
    text-align: center;
    list-style: none;
  }
  .c-list li {
    margin-bottom: 0.8em;
  }
  
  .c-price-card .c-primary-btn {
    position: absolute;
    bottom: 1em;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 300px;
  }
  
  .c-price-card .c-primary-large-btn {
    position: absolute;
    bottom: 1em;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 600px;
  }

  .img-equilibrage{
      width: 150px;
      height: 150px;
      background-image: url('assets/images/roue.png');
      background-size: cover;
      margin: auto;
      margin-top: 50px;
  }
  .img-remorque{
    width: 150px;
    height: 150px;
    background-image: url('assets/images/remorquage.jpg');
    background-size: cover;
    margin: auto;
}

/* === Account === */

.woocommerce-MyAccount-navigation a, .woocommerce-MyAccount-content a, .lost_password a, .woocommerce-privacy-policy-text a {
    color: var(--first-color);
}

/* === Widget === */
.widget-title{
    color: var(--first-color);
}

.widget-area{
    padding: 2em;
    border: solid 1px var(--fourth-color);
    margin-bottom: 50px;
}
.widget_layered_nav_filters, .woocommerce-widget-layered-nav, .widget_shopping_cart{
    margin-bottom: 1em;
    padding-bottom: 2em;
    border-bottom: solid 1px var(--fourth-color);
}

.widget_layered_nav ul li::before{
    color: var(--first-color);
}

.add_to_cart_button{
    background-color: var(--first-color);
    color: white;
    transition: all ease 0.3s;
}

/*
.orderby {
    width: auto;
    margin: 10px 50px;
    padding: 12px 12px 12px 0;
    font-weight: 300;
    font-size: 1.2em;
    line-height: 14px;
    background-color: #fff;
    border: white;
    border-bottom: 1px solid #d2cfcf;
    cursor: pointer;
}*/