/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */





/********** GENERAL **********/
@font-face { /* Définition d'une nouvelle police nommée LearningCurveProRegular */
    font-family: 'cs';
    src: url('../font/cs_regular.ttf') format('truetype');
         
}

.plop
{
    clear: both;
}

* 
{
  box-sizing: border-box;
}

body 
{
 
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
 
}

.blockSite
{
    width: 100%;
    box-shadow: 0 0.1em 0.8em 0 rgba(0,0,0,0.8);
}

.tel
{
    display: none;
}

ul
{
    margin: 0;
    padding: 0;
}

li 
{
    list-style-type: none;
}

li h3
{
    color: rgb(31, 17, 97);
    margin: 0 1.1em;
    padding: 0.5em 0em;
}


.blockText p
{

    color: #26252A;
    margin: 0;
    margin-bottom: 3em;
}



h2
{
    margin: 0 auto;
    margin-bottom: 2em;
    margin-top: 3em;
    background: linear-gradient( 90deg, 
      rgba(30, 30, 30,0)1%, 
      rgb(0, 0, 0)20%, 
      rgb(0, 0, 0)30%, 
      rgb(0, 0, 0)70%, 
      rgb(125, 125, 125)80%, 
      rgba(0, 0, 0, 0)100% )no-repeat;
    color: #FFFFFF;
    text-align: center;
    width: 66%;
   text-shadow: -0.1em 0.2em 0.1em black;
   font-weight: normal;
   font-size: 1.3em;
       

}

strong
{
  text-transform: uppercase;
}

section 
{
  background-color: white;
  padding: 1em 0;
  -webkit-border-bottom-right-radius: 1em;
-webkit-border-bottom-left-radius: 1em;
-moz-border-radius-bottomright: 1em;
-moz-border-radius-bottomleft: 1em;
border-bottom-right-radius: 1em;
border-bottom-left-radius: 1em;
}
/****************HEADER****************/

header
{
  position: relative;
  background: linear-gradient( 180deg, 
    rgb(255, 255, 255)0%, 
    rgb(73, 112, 149)32%, 
    rgb(255, 255, 255)100% )no-repeat;
}

header h1
{
    margin: 0;
    padding-bottom: 0;
    padding-top: 0.5em;
    color: rgb(27, 41, 68);
    text-align: center;
    font-family: 'cs', Roboto, sans-serif;
    
    font-size: 3em;
    text-shadow: 0.2em 0.1em 0.2em rgba(0,0,0,0.5);
}

header img
{
    position: absolute;
    width: 67px;
    margin: 0 auto;
    bottom: -215%;
    left: 1%;
}






header h3
{
  position: relative;
  margin: 0;
  background-color: black;
  color: white;
  text-align: center;
  font-size: 1em;
  font-weight: bold;
  padding: 0.1em;
}

.blue
{
  color: #00C5FF;
  font-weight: bold;
}

.start {
    color: #4582FF;
    font-weight: bold;
}

.number, .place
{
  display:none;
}


.place
{
  position: absolute;
    text-align: right;
    bottom: 9.5em;
    color: white;
    font-size: 1.5em;
    width: 98%;
    padding-top: 2em;
    padding-left: 3em;
}

.contain
{
      text-align: center;
}
.telmail
 {
background: url(../img/phone.png)no-repeat 0% 69%;
    background-size: 40px;
    padding-top: 2em;
    padding-bottom: 1em;
    font-family: 'cs', monospace, Roboto, sans-serif;
    color: rgb(27, 41, 68);
    margin: 0;
    font-size: 1.5em;
    text-decoration: none;
    display: inline;
    padding-left: 1.8em;
 }
.contact 
{   
    display: block;
    text-align: center;
    font-size: 1.3em;
    width: 100%;
    margin-top: 0.8em;
    margin-bottom: 0.8em;
}


.contact a
{
    background: url(../img/email.gif)no-repeat 0% 67%;
    background-size: 40px;
    color: #1B2944;
    text-decoration: none;
    padding-left: 2.1em;
    padding-top: 2em;
    padding-bottom: 1em;
    font-weight: bold;
    font-size: 1em;
    font-family: monospace, sans-serif;
}



.info
{
  color: #D42D2D;
  font-style: italic;
text-align: center;
}



.activite
{
      padding: 0 1em;
}
.activite img
{
    width: 50%;
    float: left;
    margin: 0em 1em 1em 0em;
    box-shadow: 0 0.1em 0.2em 0 rgba(0,0,0,0.6);
}


/************* PRINCIPAUX HOPITAUX ********/
.principauxHopitaux li 
{
    background: url(../img/ambulance0.png) no-repeat 2% 8%,
    linear-gradient(
    90deg,
    rgb(255, 255, 255)1%,
    rgb(144, 199, 255)100% 
    )no-repeat;
    text-align: center;
    margin: 0 0 2em 0;
    font-weight: bold;
    box-shadow: 0 0.1em 0.8em 0 rgba(0,0,0,0.6);
    border : solid rgb(224,224,224) 1px;
    padding-bottom: 0.4em;
}

.principauxHopitaux li:last-child a
{
  text-decoration: none;
  color: #5FFF60;
  font-size: 1.3em;
  background: none;
}

.principauxHopitaux li:last-child
{
    
    background:     linear-gradient(
    90deg,
    rgb(255, 255, 255)1%,
    rgb(144, 199, 255)100% 
    )no-repeat;
    padding: 1.2em 0em;
    text-decoration: none;
}

.principauxHopitaux li a
{
    background: url(../img/tel.gif)no-repeat 96% -4%;
    display: block;
    margin: 0;
    padding-top: 0.5em;
    text-decoration: none;
    font-size: 1.4em;
    padding-bottom: 0.5em;
    color: #5FFF60;
    text-shadow: 0.1em 0.1em 0.1em black;

}

.principauxHopitaux li p 
{
  margin-bottom: 0em;
}

/************ GARE - AEROPORT -  ZONE PORTUAIRE ********/


.transport li a
{
  font-weight: bold;
  padding-left: 1em;
  color: white;
  text-shadow: 0.2em 0.1em 0.1em black;
  margin-top: 0.6em;
  font-size: 1.2em;
}

.zone li 
{
  font-weight: bold;
  padding-left: 1em;
  color: white;
  text-shadow: 0.2em 0.1em 0.1em black;
  margin-top: 0.6em;
  font-size: 1.2em;
}

.transport li
{
  margin-bottom: 0.5em;
}

.transport article
{
    margin-bottom: 1em;
    box-shadow: 0px 0.1em 0.8em 0px rgba(0, 0, 0, 0.6);
    border: 2px solid rgb(0, 0, 0);
      height: 12em;
}

.transport ul 
{
    background: linear-gradient( 90deg, rgba(0, 0, 0, 0.43)1%, rgba(255, 255, 255, 0)40% )no-repeat;
    padding: 0.4em 0;
}

.train
{
  position: relative;
    background: url(../img/train.jpg) no-repeat 50%;
        margin:0;
    padding:0;
  -webkit-background-size: cover; /* pour anciens Chrome et Safari */
  background-size: cover; /* version standardisée */
} 

.aeroport
{
  position: relative;
    background: url(../img/avion2.jpg) no-repeat center ;
        margin:0;
    padding:0;
  -webkit-background-size: cover; /* pour anciens Chrome et Safari */
  background-size: cover; /* version standardisée */
}

.zone 
{
  position: relative;
        background: url(../img/port11.jpg) no-repeat center;
        margin:0;
    padding:0;
  -webkit-background-size: cover; /* pour anciens Chrome et Safari */
  background-size: cover; /* version standardisée */
}

    .transport h3
    {
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: rgb(27, 27, 27);
    color: rgb(255, 255, 255);
}

.lienTel
{
    background: url(../img/tel.gif)no-repeat 103% -4%;
    background-size: 55px;
    position: absolute;
    margin: 0;
    padding-top: 0.5em;
    text-decoration: none;
    padding-bottom: 0.6em;
    color: #5FFF60;
    right: 0%;
    bottom: 6%;
    padding-right: 3em;
    background-color: rgba(0,0,0,0.7);
    border-radius: 1.5em;
    padding-left: 0.5em;
    font-size: 1.3em;
    border: 3px #FFFFFF solid;
}


    }






/*********SECTION PAGE 2 HOPITAUX********/


    .hopitaux article
    {
        margin: 0;
        border: none;
        padding: 1em 0 1em 0;
        
    }

    .hopitaux ul
    {
        margin: 0;
        padding: 0;
        text-align: center;
    }




/********SECTION PAGE 3 CONDITIONS********/
/*
.hopitaux h2,.conditions h2
{
  color: rgb(27, 50, 90);
  background-color: rgba(79, 78, 107,0.3);
  border: 1px solid rgb(140, 153, 140);
  text-align: center;
  margin-top: 3em;
  box-shadow: 1px 3px 5px black;
  font-size: 1.2em;
  width: 60%;
  margin: 0 auto;
  margin-top: 1em;
  margin-bottom: 2em;
    border-radius: 0.2em;
}*/

.conditions ul 
{
    padding: 0;
    margin-top: 1em;
}

.conditions li 
{
    margin-bottom: 1em;
      background: url(../img/arrow.png)no-repeat 0 -0.3em;
  padding-left: 3em;
  padding-bottom: 1em;
}

.conditions article
{
    padding: 1em;
    border: none;
}

.conditions h3
{
  margin-bottom: 2em;
  color: rgb(57, 67, 169);
  border-left: 2px solid rgb(57, 184, 63);
  padding-left: 1%;
  margin-left: 5%;
}


/************* NAV BOTTOM TEL **********/
.fonctionTel
{
    position: fixed;
    bottom: 0;
    width: 100%;
    border: 1px black solid;
    z-index: 1;

}
.fonctionTel li:first-child
{
    background: url(../img/home.png) no-repeat 50% 0.5em ;
    background-size: 3.5em auto;  
      background-color: black;
      display: inline-block;
      width: 50%;
      padding-top: 4em;
      text-align: center;
}


.fonctionTel li:last-child
{
    background: url(../img/boutontel.png) no-repeat 50% 0.5em ;
    background-size: 3.5em auto;
    background-color: black;
    display: inline-block;
     width: 50%;
     padding-top: 4em;
     text-align: center;
}

.fonctionTel a
{
   color: white;
   text-decoration: none;
     padding-top: 4em;
}
/******************NAV********************/



nav
{
    margin: 0;

    width: 100%;
}

nav li
{
    list-style-type: none;
    display: inline-block;
    margin: 0;
    padding: 0;
    font-size: 0.8em;
    width: 33.33%;
    font-size: 0.8em;
}



nav a 
{


  background : linear-gradient(180deg, 
             rgb(30, 30, 30)1%, 
             rgb(92, 169, 247)10%, 
             rgb(255, 255, 255)50%, 
             rgb(92, 169, 247)90%, 
             rgb(30, 30, 30)100%
             )no-repeat;
    text-align: center;
    margin: 0;
    padding: 0.7em 0;
    color: black;
    display: inline-block;
    text-decoration: none;
    width: 100%;
    height: 100%;
}



nav ul
{
    margin: 0;
    padding: 0;
    height: 100%;
}

nav li:nth-child(4), nav li:nth-child(5)
{
    width: 32%;
}

nav li:last-child
{
    width: 36%;
}

nav li:nth-child(2) a
{
    padding-right: 1.2em
}

nav a:hover
{

  background: linear-gradient( 
    180deg, 
             rgb(30, 30, 30)1%, 
             rgb(255, 174, 0)10%, 
             rgb(255, 255, 255)50%, 
             rgb(255, 174, 0)90%, 
             rgb(30, 30, 30)100%
             )no-repeat;
  color: rgb(60, 56, 56);

}

    .current
    {
        background: linear-gradient( 
        180deg, 
             rgb(30, 30, 30)1%, 
             rgb(255, 174, 0)10%, 
             rgb(255, 255, 255)50%, 
             rgb(255, 174, 0)90%, 
             rgb(30, 30, 30)100%
             )no-repeat;
        color: rgb(60, 56, 56);
    }

/****************FOOTER *****************/


footer
{
    background-color: black;
    text-align: center;
    padding: 1em 0;
      margin-bottom: 5em;
}


.social
{
  margin-bottom: 1em;
}

.social li 
{
    display: inline-block;
    margin-left: 0px;
    list-style-type: none;
    text-indent: -5000px;

}

.fac, .tw, .go
{
    background: url(../img/sprite.png) no-repeat;
    display : block;
    height: 47px;
    width: 48px;
}


.fac 
{
  background-position: 1px -47px;
}

.tw
{
    background-position: -51px -47px;
}

.go
{
    background-position: -102px -46px;
}



footer p
{
    margin: 0 auto;
    color: rgb(169, 169, 224);
    width: 47%;
    margin-bottom: 1.2em
}


footer p:last-child
{
margin-top: 1.3em;
font-size: 0.7em;
color: white;
}

.footerPhone
{
    color: #D8FF00;
    font-size: 1.2em;
}




/**************MEDIA QUERRYS******************/
@media only screen and (min-width: 338px){

    nav li
    {
        font-size: 1em;
    }

    nav li:nth-child(4), nav li:nth-child(5)
{
    width: 31%;
}

nav li:last-child
{
    width: 38%;
}

header img {
    position: absolute;
    width: 67px;
    margin: 0 auto;
    bottom: -350%;
    left: 1%;
}

}







@media only screen and (min-width: 600px){



    nav li
    {
        width: 16%;
    }

    nav li:nth-child(4), nav li:nth-child(5) 
    {
         width: 15%;
    }

    nav li:last-child 
    {
         width: 22%;
    }

    header img 
    {
      position: absolute;
      width: 73px;
      margin: 0 auto;
      bottom: -508%;
      left: 1%;
    }

    


@media only screen and (min-width: 532px){

header img {
    position: absolute;
    width: 73px;
    margin: 0 auto;
    bottom: -666%;
    left: 1%;
}

}


@media only screen and (min-width: 750px){

    header
    {
        position: relative;
        position: relative;
        border-top-left-radius: 1em;
        border-top-right-radius: 1em;
    }

    .telmail
    {
      display: none;
    }

    section
    {
          padding: 2em 2em;
    }
    body
    {
        background: none;
          background-color: #123444;
    }

    .fonctionTel
    {
        display: none;
    }

    .blockSite
    {
        margin-top: 5em;
        margin-bottom: 1em;
        border-radius: 1em;
        position: relative;
    }


    .activite
    {
      padding: 0;
    }

    header h1
    {
      background: url(../img/2.jpg)no-repeat 36% 42%;
      -webkit-border-top-left-radius: 0.4em;
      -webkit-border-top-right-radius: 0.4em;
      -moz-border-radius-topleft: 0.4em;
      -moz-border-radius-topright: 0.4em;
      border-top-left-radius: 0.4em;
      border-top-right-radius: 0.4em;
      text-indent: -9000em;
      margin: 0;
      padding: 1.26em 0;
    }

    .number
{
    background: url(../img/phone.png)no-repeat 1% 53%;
    background-size: 49px;
    display: block;
    position: absolute;
    text-align: left;
    bottom: 9.5em;
    color: white;
    font-size: 1.3em;
    width: 98%;
    padding-top: 2em;
    padding-left: 3em;
    padding-bottom: 1em;
}

.place
{
    position: absolute;
    display: block;
    text-align: right;
    bottom: 10.5em;
    color: white;
    font-size: 1.3em;
    width: 98%;
    padding-top: 2em;
    padding-left: 3em;
}

.contact 
{   
  display: block;
    position: absolute;
    text-align: center;
    bottom: 9.6em;
    width: 100%;

}


.contact a 
{
    background: url(../img/email.gif)no-repeat 0% 53%;
    background-size: 49px;
    color: white;
    text-decoration: none;
    padding-left: 3em;
    padding-top: 2em;
    padding-bottom: 1em;
    font-family: roboto;
    font-weight: normal;
    font-size: 1.1em;
}
    header h2
{
    text-align: center;
    font-size: 1.4em;
    padding-left: 0;
}


    header h3
    {
    position: relative;
    margin: 0;
    background-color: rgb(0,0,0);
    color: white;
    text-align: center;
    font-size: 1em;
        }

header img
{
  position: absolute;
  width: 9%;
  left: 87%;
  top: -184%;
}


.principauxHopitaux
{
    position: relative;
}
    .principauxHopitaux ul 
    {
        margin: 0;
        padding: 0;
    
    }

    .principauxHopitaux li
    {
 
  width: 28%;
  text-align: center;
  height: 12em;
  float: left;

    }

    .principauxHopitaux li a, .lienTel 
    {
      display: none;
    }

    .principauxHopitaux li:last-child a 
    {
      display: inline;
    }

    .principauxHopitaux li p
    {
            padding: 1em 0.5em;
    }

    .principauxHopitaux li:last-child
    {
        padding-top: 3em;

    }
.principauxHopitaux li:nth-child(3), .principauxHopitaux li:nth-child(6)
{
    float: right;
}

.principauxHopitaux li:nth-child(2), .principauxHopitaux li:nth-child(5)
{
    margin-left: 8%;
}
.principauxHopitaux a
{
    padding-top: 2em;
}

    .mail 
    {
      font-style: italic;
      color: red;
      display: inline;
    }

    footer
    {
        margin: 0;
    }

    li h3
    {
    background: none;
    }




}



@media only screen and (min-width: 970px){

    body
    {
    background: url(../img/ecriture.jpg)no-repeat 8% 27%;
    background-color: #113344;
    background-size: 8%;
    }

    .blockSite
    {
      max-width: 976px;
      margin: 0 auto;
      margin-bottom: 1em;
      margin-top: 5em;
        
    }

    header h2
    {
      text-align: center;
    }

    header img
    {
      position: absolute;
      width: 9%;
      left: 83%;
      top: -224%;
    }

        /** footer reseaux sociaux**/ 
    .social
{
  margin-bottom: 1em;
}

.social li 
{
    display: inline-block;
    margin-left: 0px;
    list-style-type: none;
    text-indent: -5000px;

}

.fac, .tw, .go
{
    background: url(../img/sprite.png) no-repeat;
    display : block;
    height: 47px;
    width: 48px;
}




.fac:hover
{
    background-position: 0px -47px;
}

.tw
{
    background-position: -51px 0;
}
.tw:hover
{
    background-position: -51px -47px;
}

.go
{
    background-position: -102px 0;
}

.go:hover
{
    background-position: -102px -47px;
}
}  


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
