/*
 * Version mobile / tablette (écrans de moins de 960 px)
 * Chargée uniquement via media="screen and (max-width: 959px)" dans templates/header.tpl :
 * la version ordinateur n'est pas concernée.
 */

html, body{
    min-width: 0;
    height: auto;
}

body{
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

img, iframe{
    max-width: 100%;
}

.global img{
    height: auto;
}

.container{
    width: auto;
    min-width: 0;
}

/* ---------- En-tête ---------- */
#header{
    min-width: 0;
    height: auto;
}

#header .container{
    height: auto;
    padding: 10px 15px 12px 105px;
    min-height: 74px;
    background-position: 10px 8px;
    background-size: 80px auto;
}

#transportInternationaux{
    display: block;
    margin: 6px 0 0;
    font-size: 17px;
    line-height: 1.3;
}

#phoneHeader{
    float: none;
    margin-top: 8px;
}

/* ---------- Menu ---------- */
#nav{
    min-width: 0;
    height: auto;
    line-height: normal;
    text-align: left;
}

#menuToggle{
    display: block;
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: none;
    outline: none;
    background: transparent;
    color: #ffffff;
    font-family: "Avenir Black", sans-serif;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
    position: relative;
    -webkit-appearance: none;
    appearance: none;
}

/* Icône « hamburger » */
#menuToggle:before{
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    width: 20px;
    height: 2px;
    margin-top: -1px;
    background: #ffffff;
    box-shadow: 0 -6px 0 #ffffff, 0 6px 0 #ffffff;
}

#nav ul{
    display: none;
    margin: 0;
    padding: 0 0 8px;
}

#nav.nav_ouvert ul{
    display: block;
}

#nav ul li{
    display: block;
    margin: 0;
    padding: 0 !important;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 15px;
}

#nav ul li a{
    display: block;
    padding: 12px 15px;
}

.menu_actif{
    display: none;
}

/* ---------- Bloc principal ---------- */
.container .main{
    width: auto;
    padding: 7px;
}

/* Accueil : diaporama */
.container .main .top{
    height: auto;
}

.container .main .top #slider{
    width: 100%;
    height: auto;
    float: none;
}

.item_slick{
    height: auto;
}

.item_slick img{
    width: 100%;
    height: auto;
    display: block;
}

.item_slick .info_img{
    position: static;
    width: auto;
    height: auto;
    padding: 15px;
    opacity: 1;
}

.slick-dots{
    top: 10px;
    bottom: auto;
    right: 10px;
}

/* Bloc « Transports internationaux… » avec la carte */
.logoBis{
    width: 100%;
    float: none;
    margin-top: 7px;
    overflow: hidden; /* empêche la marge du texte de sortir du bloc (hors flottant) */
}

.container .main .bottom{
    height: auto;
}

.container .main .bottom .bottomLeft,
.container .main .bottom .bottomRight{
    width: auto;
    height: auto;
    float: none;
    padding: 1px 20px 20px;
}

.container .main .bottom .bottomLeft{
    background-size: 100% auto;
    margin-bottom: 7px;
}

/* Pages intérieures */
#mainLeft{
    width: auto;
    float: none;
    margin: 15px 10px 20px;
}

#mainRight{
    width: auto;
    float: none;
}

.coor{
    width: auto;
    height: auto;
    float: none;
    padding: 20px;
}

.global{
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#liste_green{
    padding-left: 25px;
}

/* ---------- Formulaires ---------- */
input[type=text],
input[type=email],
textarea{
    width: 100%;
    box-sizing: border-box;
    font-size: 16px; /* évite le zoom automatique sur iPhone */
    padding: 6px;
}

#form_float, #contact_coor{
    float: none;
    width: auto;
    margin-left: 0;
}

#contact_coor{
    margin-top: 25px;
}

#contact_coor ul{
    margin-left: 0;
    padding-left: 0;
}

#onglet{
    text-align: left;
    margin-bottom: 25px;
}

#onglet li{
    display: block;
    margin: 0 0 12px;
    padding-bottom: 4px;
}

.cotation_underline{
    width: 100%;
    margin-left: 0;
}

#content_cotation .div_form_cotation{
    width: auto !important;
    margin: 0 0 10px;
}

.section_trajet{
    float: none;
}

.section_trajet_left{
    margin-right: 0;
    margin-bottom: 15px;
}

#btn_container{
    margin-left: 0 !important;
}

.btn_cotation{
    font-size: 14px;
    margin-bottom: 8px;
}

/* ---------- Pied de page ---------- */
#footer{
    min-width: 0;
    margin-bottom: 20px;
}

#footer #footerContent{
    height: auto;
    padding-bottom: 12px;
}

#footer #footerContent ul{
    margin: 0;
}

#footer #footerContent ul li{
    display: block;
    border-right: none;
    padding: 3px 15px;
}

#footerNav{
    float: none;
    display: block;
    margin: 12px 0 0;
    padding: 0 15px;
}
