:root {
    --primary: #009fb4;
}

html {
    font-family: "";
    height: 100%;
}

body {
    min-height: 100%;
    position: relative;
    padding-bottom: 20rem;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #fff;
}

@media (max-width: 992px) {
    body {
        padding-bottom: 3rem;
    }
    footer {
        position: relative;
    }
}

img {
    max-width: 100%;
}

#bg-logo {
    opacity: 0.07;
    z-index: -1;
    position: fixed;
    bottom: 10%;
    left: 5%;
    width: 500px;
    height: 500px;
    background: url(./img/logo-only.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.navbar-expand .navbar-nav .nav-link {
    padding-right: .8rem;
    padding-left: .8rem;
}



figure.figure-blockquote {
    margin-bottom: 5rem;
    position: relative;
}

figure.figure-blockquote > figcaption {
    text-align: center;
    position: absolute;
    bottom: -3rem;
    background: var(--primary);
    color: var(--white) !important;
    padding: .5rem;
    width: calc(100% - 2rem);
    left: -3rem;
    font-family: "Raleway", "Open Sans";
    font-size: 1rem !important;
    font-weight: 500;
    z-index: 10;
    border: .4rem solid rgba(255, 255, 255, 0.7);
    font-style: italic;
    padding: 1rem;
}

figure.figure-blockquote-right > figcaption {
    left: auto;
    right: -3rem;
}

figure.figure-blockquote-bottom > figcaption {
    bottom: -6rem;
}

figure.figure-caption-bottom {
    position: relative;
}
figure.figure-caption-bottom > figcaption {
    text-align: center;
    position: absolute;
    bottom: -2rem;
    background: var(--primary);
    color: var(--white) !important;
    padding: .5rem;
    width: calc(100% + 2rem);
    left: -1rem;
    font-family: "Raleway", "Open Sans";
    font-size: 1rem !important;
    font-weight: 500;
}

figure.figure-main-logo figcaption {
    color: var(--primary);
    line-height: 1.2rem;
    font-size: 1.2rem;
    margin-top: 1rem;
}
@media (min-width: 1400px) {
    figure.figure-main-logo figcaption {
        line-height: 1.3rem;
        font-size: 1.3rem;
    }
}
@media (min-width: 1600px) {
    figure.figure-main-logo figcaption {
        line-height: 1.5rem;
        font-size: 1.5rem;
    }
}



ul.ul-with-background {
    border-left: 5px solid rgb(0,159,180);
    padding: 1rem 2rem;
    background: rgba(0,159,180,0.05);
}



.carousel-caption {
    /*background: rgba(0,159,180,0.2);*/
}
.carousel-caption.carousel-caption-top {
    top: 20px;
}

.carousel-caption h5 {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.5rem;
}
.carousel-caption p {
    font-size: 1.2rem;
}



@media (min-width: 1400px) {
    .container {
        max-width: 1300px;
    }
}
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
}



.jumbotron.frame {
    border: .2rem solid var(--primary);
    background: none;
    color: var(--primary);
    position: relative;
}

.jumbotron.frame::before {
    display: block;
    content: '';
    background: #009fb420 !important;
    width: calc(100% + 2rem);
    height: calc(100% + 2rem);
    position: absolute;
    z-index: -1;
    left: -1rem;
    top: -1rem;
    border-radius: .5rem;
}

.jumbotron.frame2 {
    border-left: 5px solid rgb(0,159,180);
    padding: 1rem 2rem;
    background: rgba(0,159,180,0.05);
    border-radius: 0;
}



h2 {
    color: var(--primary);
    font-size: 2rem;
    font-family: "Raleway", "Open Sans";
    font-weight: 300;
    margin-bottom: 2rem;
}

h3 {
    color: var(--primary);
    font-size: 1.6rem;
    font-family: "Raleway", "Open Sans";
    font-weight: 500;
}

h3 small {
    font-size: 1rem;
    font-style: italic;
}

.profils h3 {
    margin-bottom: 2rem;
    margin-top: 4rem;
}



blockquote.more {
    text-align: center;
    background: var(--primary);
    color: var(--white) !important;
    padding: .5rem;
    font-family: "Raleway", "Open Sans";
    font-size: 1.4rem !important;
    font-weight: 500;
    border: .4rem solid rgba(255, 255, 255, 0.7);
    font-style: italic;
    padding: 1rem;
}

blockquote.testimonial .content {
    position: relative;
    text-align: left;
    padding: 2rem 1rem 1rem 4rem;
    font-family: "Raleway", "Open Sans";
    font-size: 1.1rem !important;
    font-weight: 500;
    font-style: italic;
    background: rgba(0,159,180,0.1);
}

blockquote.testimonial .content::after {
    content: "";
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background: rgba(0,159,180,0.3);
    position: absolute;
    bottom: -2rem;
    left: 1rem;
    transform: rotate(45deg);
}

blockquote.testimonial i {
    position: absolute;
    left: -1rem;
    top: 3rem;
    display: block;
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: #fff;
    text-align: center;
    font-size: 3rem;
}

blockquote.testimonial i::before {
    content: "";
    border-bottom: 1rem solid rgba(0,159,180,0.7);
    border-left: 1rem solid transparent;
    position: absolute;
    top: -1rem;
    left: 0;
}

blockquote.testimonial cite {
    color: var(--primary);
    margin-left: 5rem;
    font-size: 1.4rem;
}


.and {
    position: absolute;
    right: -1rem;
    top: -3rem;
    font-size: 7rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: "Raleway", "Open Sans";
    font-weight: 700;
}
@media (max-width: 768px) {
    .and {
        display: none !important;
    }
}


/* Color */
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
a { color: var(--primary); }

/* Override */
.page-content aside { margin-bottom: 5rem; }

@media (max-width: 768px) {
    footer .nav a { width: 100%; text-align: center; }
}