/*
    Theme Name: Alpha 3
    Version: 1.0
    Author: Bastien (Rose & Piment)
*/

@font-face {
    font-family: Bebas;
    src: url(fonts/BebasNeue-Regular.ttf) format('truetype');
}

@font-face {
    font-family: Avenir;
    src: url(fonts/Avenir-Next.ttc) format('truetype');
}


/*--------------------------------------------------------------
    Generale
--------------------------------------------------------------*/


body,
html {
    width: 100%;
    height: 100%;
    background: #fff;
}

body { font-family: 'Bebas', Arial, sans-serif; }

hr {
    max-width: 100%;
    border-width: 1px;
    border-color: #c7deed;
    margin-top: 0;
    margin-bottom: 0;
}

a {
    color: #005ca5;;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}
a:hover { color: #005ca5; }
button:focus,
a:focus { outline:0 !important; }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Bebas', Arial, sans-serif;
}

.container { max-width: 1240px !important; }


/*--------------------------------------------------------------
    Brand
--------------------------------------------------------------*/

.brand .baseline { max-height: 4.5em; }

@media (max-width: 768px) {
    .brand .logo {
        max-width: 450px;
        margin: 0 auto;
        display: block;
    }
    .brand .baseline { 
        padding: 0 2em; 
        display: block;
        margin: 0 auto;
    }
}

@media (max-width: 541px) {
    .brand .logo {
        max-width: 100%;
    }
    .brand .baseline { padding: 0; }
}


/*--------------------------------------------------------------
    Navigation
--------------------------------------------------------------*/

#mainNav {
    font-family: 'Bebas', Arial, sans-serif;
    background-color: #fff;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
    text-transform: uppercase;
    text-align: left;
    padding-left: 0;
}
#mainNav .important {
    margin-top: 0.8em;
    font-weight: 900;
}
#mainNav .nav { margin-left: 0 !important; }
#mainNav .nav > li.nav-item.important > a { 
    color: #203359 !important; 
    font-size: 1.3em;
}
#mainNav .nav > li.nav-item > a { 
    font-size: 1.2em;
    padding: 0.2rem 1rem;
    display: block;
}
#mainNav .nav > li.nav-item > a,
#mainNav .nav > li.nav-item > a:focus {
    font-weight: 100;
    text-transform: uppercase;
    color: #009dda;
    letter-spacing: 0.1em;
}
#mainNav .nav > li.nav-item > a:hover,
#mainNav .nav > li.nav-item > a:focus:hover { color: #005ca5; }

#mainNav .navbar-nav > li.nav-item > a.active,
#mainNav .navbar-nav > li.nav-item > a:focus.active {
    color: #F05F40 !important;
    background-color: transparent;
}
#mainNav .navbar-nav > li.nav-item > a.active:hover,
#mainNav .navbar-nav > li.nav-item > a:focus.active:hover { background-color: transparent; }

@media (min-width: 992px) {
    #mainNav {
        border-color: transparent;
        background-color: transparent;
    }
    #mainNav .navbar-nav > li.nav-item > a { padding: 0.2rem 1rem; }
    #mainNav .navbar-nav > li.nav-item > a,
    #mainNav .navbar-nav > li.nav-item > a:focus { color: rgba(255, 255, 255, 0.7); }
    #mainNav .navbar-nav > li.nav-item > a:hover,
    #mainNav .navbar-nav > li.nav-item > a:focus:hover { color: #fff; }
    #mainNav.navbar-shrink .navbar-brand { color: #F05F40; }
    #mainNav.navbar-shrink .navbar-brand:focus, #mainNav.navbar-shrink .navbar-brand:hover { color: #f05f40; }
    #mainNav.navbar-shrink .navbar-nav > li.nav-item > a,
    #mainNav.navbar-shrink .navbar-nav > li.nav-item > a:focus { color: #212529; }
    #mainNav.navbar-shrink .navbar-nav > li.nav-item > a:hover,
    #mainNav.navbar-shrink .navbar-nav > li.nav-item > a:focus:hover { color: #F05F40; }
}

@media (max-width: 992px) {
    #mainNav {
        text-align: center;
        margin: 0 auto;
        display: block;
        padding-left: 15px;
    }
}


/*--------------------------------------------------------------
    Header Card
--------------------------------------------------------------*/

.masthead {
    margin-top: 3rem;
    margin-bottom: 4rem;
}
.masthead .card {
    background-color: #b1def2;
    border-radius: 0;
    border: 0;
    margin: 0 5px;
}
.masthead .card a { height: 50%; }
.masthead .card:hover { 
    transform: scale(1.1);
    z-index: 999;
}
.masthead .card a:hover .card-body { background-color: #008ecc !important; }
.masthead .card a:hover img { opacity: 0.7; }
.masthead .card .card-body {
    padding: 0.35rem 0 0.20em 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
}
.masthead .card .card-title {
    margin-bottom: 0;
    color: #fff;
    font-size: 1.2em;
    font-weight: 100;
    letter-spacing: 0.1em;
}
.masthead .carousel .carousel-inner { border-radius: 7em; }
.masthead .carousel .carousel-item {
    height: 100%;
    min-height: 160px;
    background: no-repeat center center scroll;
    background-size: cover;
}
.masthead .carousel .carousel-caption {
    position: absolute;
    right: 0;
    bottom: auto;
    left: 0;
    z-index: 10;
    padding-top: 0.9em;
    padding-bottom: 0;
    color: #1e325a;
    text-align: center;
    top: 0;
    background-color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.1em;
}
.masthead .carousel .carousel-caption p { 
    margin-bottom: 0.6em;
    color: #005ca5;
    padding: 0 2em;
}

@media (min-width: 992px) {
    .masthead {
        height: calc(100vh - 350px);
        min-height: 650px;
    }
}

@media (max-width: 992px) {
    .masthead { margin-top: 1rem; }
}


/*--------------------------------------------------------------
    Actualités
--------------------------------------------------------------*/

.btn-actus {
    letter-spacing: 0.1em;
    color: #009cdc;
    margin-top: 1.5em;
    display: block;
    text-decoration: underline;
}


/*--------------------------------------------------------------
    Contact
--------------------------------------------------------------*/

.btn-contact {
    text-align: left;
    display: block;
    margin-top: 1.6em;
    width: 130px;
    padding-left: 10px;
}
.btn-contact:hover { opacity: 0.8; }

.grecaptcha-badge {
display: none;
}

@media (max-width: 992px) {
    .btn-contact {
        text-align: center;
        padding-left: 0;
        width: 120px;
        margin: 1.6em auto 0 auto;
    }
}


/*--------------------------------------------------------------
    Assistance
--------------------------------------------------------------*/

.btn-assistance-center {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.btn-assistance-button {
    border: 0;
    transition: all 300ms ease-in 200ms;
    font-family: 'Bebas', Arial, sans-serif;
    background-color: #008bcb;
    background-image: linear-gradient(to right, #008bc9, #3faafc, #008bc9);
    padding: 0.8em 1.9em 0.6em 1.9em;
    border-radius: 1.3em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.3em;
}
.btn-assistance-center a { color: #fff; }
.btn-assistance-button:hover {
    cursor: pointer;
    background-color: #3498db;
    color: white;
    transition: all 200ms ease-out 0s;
}
.btn-assistance-animate-pulse:after {
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #9ed5ef;
    border-radius: 5px;
    -webkit-animation-name: pulse;
    animation-name: pulse;
    -webkit-animation-duration: 1.8s;
    animation-duration: 1.8s;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    border-radius: 1.3em;
}
.btn-assistance-animate-pulse:hover:after {
    background-color: #3498db;
    transition: all 200ms ease-out 0s;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    20% {
        opacity: 1;
    }
    100% {
        -webkit-transform: scale(1.3);
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    20% {
        opacity: 1;
    }
    100% {
        -webkit-transform: scale(1.3);
        transform: scale(1.3);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .btn-assistance { height: 8em; }
    .btn-assistance-center { margin: 1em auto 0 auto; }
}


/*--------------------------------------------------------------
    Cookie
--------------------------------------------------------------*/

#cn-notice-text { font-family: Arial, sans-serif !important; }


/*--------------------------------------------------------------
    Logo Slider
--------------------------------------------------------------*/

.slick-slide { margin: 1em 2em; }
.slick-slide img { width: 100%; }
.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}
.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.slick-list:focus { outline: none; }
.slick-list.dragging {
    cursor: pointer;
    cursor: hand;
}
.slick-slider .slick-track,
.slick-slider .slick-list {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    text-align: center !important;
    margin: 0 auto !important;
}
.slick-track:before,
.slick-track:after {
    display: table;
    content: '';
}
.slick-track:after { clear: both; }
.slick-loading .slick-track { visibility: hidden; }
.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide { float: right; }
.slick-slide img { display: block; }
.slick-slide.slick-loading img { display: none; }
.slick-slide.dragging img { pointer-events: none; }
.slick-initialized .slick-slide { display: block; }
.slick-loading .slick-slide { visibility: hidden; }
.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent;
}
.slick-arrow.slick-hidden { display: none; }


/*--------------------------------------------------------------
    Footer
--------------------------------------------------------------*/

footer {
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 2em;
}
footer p { 
    margin-bottom: 0;
    font-size: 0.8em;
    color: #008bca !important;
}
footer a { color: #008bca; }
footer a:hover {
    color: #008bca;
    text-decoration: none;
}


/*--------------------------------------------------------------
    Sticky
--------------------------------------------------------------*/

.navbar.fixed {
    transition-property: margin-top,margin-right;
    transition-duration: .5s,.1s;
    transition-delay: 0;
    transition-timing-function: cubic-bezier(0.22,0.99,0.62,1);
    -moz-transition-property: margin-top,margin-right;
    -moz-transition-duration: .5s,.1s;
    -moz-transition-delay: 0;
    -moz-transition-timing-function: cubic-bezier(0.22,0.99,0.62,1);
    -o-transition-property: margin-top,margin-right;
    -o-transition-duration: .5s,.1s;
    -o-transition-delay: 0;
    -o-transition-timing-function: cubic-bezier(0.22,0.99,0.62,1);
    -ms-transition-property: margin-top,margin-right;
    -ms-transition-duration: .5s,.1s;
    -ms-transition-delay: 0;
    -ms-transition-timing-function: cubic-bezier(0.22,0.99,0.62,1);
    -webkit-transition-property: margin-top,margin-right;
    -webkit-transition-duration: .5s,.1s;
    -webkit-transition-delay: 0;
    -webkit-transition-timing-function: cubic-bezier(0.22,0.99,0.62,1);
    position: fixed;
    top:0;
    z-index:1000;
}

@media (max-width: 992px) {
    .navbar.fixed { width: 100%; }
}