/* Reset */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote,
a, img, dl, dt, dd, ol, ul, li, table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0; padding: 0; border: 0; vertical-align: baseline;
}

/* Global */
body {
    font-family: Arial, Helvetica, Tahoma, sans-serif;
    font-size: 12px;
    line-height: 1.7;
    color: #4d4d4d;
    background: #fff;
}
a { color: #545454; text-decoration: none; }
a:hover { color: #00aeff; }
h1, h2, h3, h4, h5, h6 { font-weight: bold; color: #284b80; }
h1 { font-size: 24px; }
h2 { font-size: 22px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
p { margin-bottom: 18px; }
strong { font-weight: bold; }
hr { background-color: #dbdbdb; border: 0; height: 1px; margin-bottom: 18px; }
img { border: 0; }

/* Header bar */
#header-bg {
    width: 100%;
    background-color: #fafafa;
    border-bottom: 1px solid #dfdede;
}
#header {
    max-width: 960px;
    height: 100px;
    margin: 0 auto;
    position: relative;
    padding: 0 15px;
}
#logo {
    position: absolute;
    left: 15px;
    bottom: 19px;
}
#menu {
    position: absolute;
    right: 15px;
    bottom: 0;
}
#menu ul {
    list-style: none;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}
#menu ul li {
    float: left;
}
#menu ul li a {
    display: inline-block;
    color: #555;
    padding: 24px 10px;
    text-decoration: none;
}
#menu ul li a:hover,
#menu ul li a.active {
    color: #00aeff;
}

/* Subhead (blue banner) */
#subhead {
    background-color: #284b80;
    width: 100%;
    overflow: hidden;
}
#subhead-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 35px 15px;
}

/* CSS-only slider */
.slider {
    position: relative;
    max-width: 960px;
    overflow: hidden;
}
.slider img {
    max-width: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: fade 10s infinite;
}
.slider img:first-child {
    position: relative;
    animation: fade 10s infinite;
}
.slider img:nth-child(2) {
    animation: fade 10s infinite 5s;
}
@keyframes fade {
    0%   { opacity: 0; }
    10%  { opacity: 1; }
    45%  { opacity: 1; }
    55%  { opacity: 0; }
    100% { opacity: 0; }
}

/* Page title in subhead */
.page-title {
    font-size: 32px;
    font-weight: bold;
    color: #fcfcfc;
    line-height: 72px;
}
.breadcrumbs {
    color: #d9eaff;
    font-size: 10px;
    margin-top: -5px;
}
.breadcrumbs a { color: #d9eaff; }
.breadcrumbs a:hover { color: #fcfcfc; }

/* Content area */
#wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 15px;
}

/* Quote block */
.quote {
    font-family: 'Times New Roman', Times, serif;
    font-size: large;
    font-style: italic;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-left: 3px solid #284b80;
    background: #f9f9f9;
}

/* Two columns */
.columns { overflow: hidden; }
.col-half {
    float: left;
    width: 48%;
    margin-right: 4%;
}
.col-half:last-child { margin-right: 0; }
.col-half img {
    padding: 6px;
    border: 1px solid #d3d3d3;
    background: #f5f5f5;
    border-radius: 3px;
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
}
.col-title {
    color: #284b80;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 3px;
}
.col-subtitle {
    font-size: 12px;
    font-style: italic;
    margin-bottom: 8px;
    color: #666;
}
.col-text {
    font-size: 12px;
    line-height: 1.7;
}

/* Tarifs boxes */
.tarif-box {
    margin-bottom: 20px;
}
.tarif-box-title {
    background: #333;
    color: #fff;
    padding: 8px 15px;
    font-weight: bold;
    font-size: 14px;
}
.tarif-box-content {
    background: #d6d6d6;
    padding: 10px 15px;
    font-size: 13px;
}
.tarif-box-content a { color: #284b80; text-decoration: underline; }

/* Footer */
#footer-bg {
    width: 100%;
    background: #eee;
    border-top: 1px solid #e1e1e1;
}
#footer {
    max-width: 960px;
    margin: 0 auto;
    color: #999;
    font-size: 11px;
    padding: 10px 15px;
}

/* Clearfix */
.clear { clear: both; }

/* Responsive */
@media (max-width: 768px) {
    #header {
        height: auto;
        padding: 15px;
        text-align: center;
    }
    #logo {
        position: static;
        margin-bottom: 10px;
    }
    #menu {
        position: static;
    }
    #menu ul li a {
        padding: 10px 8px;
    }
    .page-title {
        font-size: 24px;
        line-height: 1.4;
    }
    .col-half {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 25px;
    }
    .col-half img {
        float: none;
        display: block;
        margin: 0 auto 10px;
    }
}
