:root {
    --blue: #4263A6;
    --green: #6DD6C5;
}

body, h1, h2, h3, h4, h5, h6, a, p, div {
    font-family: 'Arimo', sans-serif!important;
}

h2 {
    font-size: 1.4rem;
    font-weight: 600;
}

.fa {
    margin-right: 5px;
}

.container-fluid {
    padding: 0px;
}

.hero {
    background-image: url('img/bg-hero.jpg');
    background-position: -200px center;
    background-size: cover;
    position: relative;
    padding: 20px 10px 35px 10px;
    line-height: 1.2;
}

#oasis {
    background-color: var(--blue);
    margin: 10px 0px;
    padding: 10px 5px;
    font-size: 0.9em;
    border-radius: 10px;
}

#oasisLogo {
    height: 8em;
}

#oasis a {
    text-decoration: none;
    color: white;
    font-weight: 600;
}

#oasis a:hover {
    text-decoration: none;
    color: var(--green);
}

@media screen and (min-width: 576px) {
    .hero {
    height: auto;
    background-position: center;
    padding: 40px 10px 40px 10px;
    }
    .hero h2 {
        font-size: 2em;
    }
    .hero li {
        font-size: 1.5em;
    }
}

a.btn:hover {
    color: white;
}

.hero li {
    margin-top: 5px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(66,99,166,.5),rgba(109,214,197,.5));
    z-index: 1;
}

.hero-content {
    color: white;
    z-index: 2;
}

li a {
    font-weight: 700;
    color: var(--blue);
}
.btn {
    color: white;
    font-weight: 600;
    background-color: var(--green);
    box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);
    transition: all .15s ease;
    padding: 10px 25px 10px 25px;
    width: 100%;
}

.btn:hover,
.btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 7px 14px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);
}

/*------------------ Carousel ----------------------*/

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev{
    display:block;
}

#carouselContainer {
    height: 650px;
}

#mobileCarousel {
    margin-top: -40px;
    z-index: 3;
}

#mobileCarousel h2 {
    color: var(--blue);
    margin-top: 25px;
    position: relative;
}

#mobileCarousel ul {
    color: #4A4A4A;
}

#mobileCarousel li {
    line-height: 1.2;
    margin-top: 15px;
}

.carousel-icon {
    background-color: white;
    box-shadow: 0px 3px 6px rgba(0,0,0,.16);
    border-radius: 100%;
    width: 120px;
    height: 120px;
    background-repeat: no-repeat;
    background-position: center;
    margin: auto;
}

#avantages {
    background-image: url('img/avantages-domiciliation.png');
}

#domiciliation {
    background-image: url('img/domiciliation-postale.png');
    background-position: 15px 18px;
}

#centre {
    background-image: url('img/centre-services-domiciliation.png');
    background-position: 15px 10px;
}

@media screen and (min-width: 576px) {
    .carousel-icon {
    background-color: white;
    box-shadow: 0px 3px 6px rgba(0,0,0,.16);
    border-radius: 100%;
    width: 120px;
    height: 120px;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 0 0 auto;
}
}

#desktopContent {
    margin-bottom: 50px;
}

#desktopContent .row {
    margin-top: 50px;
}

#desktopContent h2 {
    color: var(--blue);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    height: 100px;
    width: 100px;
    opacity: 1;
    background-image: none;
    position: absolute;
    top: 35px;
}

.carousel-control-next-icon:after
{
    content: '>';
    font-size: 55px;
    color: var(--blue);
    font-family: 'Wire One';
}

.carousel-control-prev-icon:after {
    content: '<';
    font-family: 'Wire One';
    font-size: 55px;
    color: var(--blue);
}

/*-------------------- Modale ---------------------------------*/
#top-line {
    display: block;
    height: 8px;
    content:'c';
    background: linear-gradient(to right, rgba(66,99,166,1),rgba(109,214,197,1));
}

.modal-dialog {
    margin: 0;
}

.modal-body {
    padding: 0;
}

.modal-header {
    border: 0;
    padding: 5px 20px;
}

.modal-header .close {
    font-size: 4rem;
    font-weight: 400;
    color: var(--blue);
    padding: 5px 10px 5px 0;
    opacity: 1;
}

#modalIntro {
    background-color: #CCD7EE;
    padding: 5px 20px 5px 20px;
    color: var(--blue);    
}

#modalIntro p {
    margin-bottom: 0;
}

.modal-content {
    border: none;
    border-radius: 0;
}

#radio {
    padding-right: 25%!important;
}

#opt-in,
#cgu {
    font-size: 10px;
}

#opt-in p {
   margin-bottom: 8px; 
}

#cgu p {
    margin: 8px 0 0;
    font-style: italic;
}

/*--------------------- Formulaire ------------------------*/

#formHero {
    z-index: 5;
    background-color: white;
    max-width: 420px;
    margin: auto;
    box-shadow: 0px 3px 3px rgba(0,0,0,.40);
}

#formHero.col-xs-12,
#formHero.col-lg-6 {
    padding-left: 0;
    padding-right: 0;
}

#formHero #modalIntro{
    margin-top: 10px;
    font-size: 13px;
    padding-right: 70px;
}

#formHero #modalIntro:after{
    width: 140px;
    height: 140px;
    content: url('img/formulaire.png');
    position: absolute;
    top: -40px;
    right: -40px;
}

form {
    padding: 2.5em;
}
.label {
    width: 100%;
}

.label span {
    font-family: 'Arimo', sans-serif;
    color: var(--blue);
    font-weight: 700;
    background-color: transparent;
    font-size: .8rem;
    display: block;
}

.label input {
    width: 100%;
    margin-bottom: 1em;
    border: 1px solid #CCCCCC;
    border-radius: 3px;
    height: 2em;

}

/*------------------- Footer ------------------------*/
#footer-lp {
    background: linear-gradient(rgba(66,99,166,1),rgba(109,214,197,1));
    color: white;
    padding: 30px 15px 30px 15px;
}

@media screen and (min-width: 576px) {
    #footer-lp .col-md-4 {
        padding: 0px 30px 0px 30px;
}

    #footer-lp p {
        text-align: center;
}
}

/*-------------------- CGU ----------------------*/
#CGU .container {
    padding: 10px;
}

#CGU {
    font-size: 10px;
}