@import url(https://fonts.googleapis.com/css?family=Montserrat|Source+Sans+Pro:400,700,300,600,600italic,400italic);
@import url(https://fonts.googleapis.com/css?family=Roboto+Mono:400,300,500|Lato:400,700,900);
@import url(https://fonts.googleapis.com/css?family=Playfair+Display:400,700italic,700,400italic|Noto+Sans:400,700);


body {
    background-color: #333333;
}

.theme-font-serif {
    font-family: serif;
}

.theme-font-sans-serif {
    font-family: sans-serif;
}

.theme-font-mono {
    font-family: monospace;
}

.theme-font-arial {
    font-family: arial;
}

.theme-font-verdana {
    font-family: verdana;
}

.theme-font-montserrat {
    font-family: Montserrat, sans-serif;
}

.theme-font-roboto {
    font-family: Roboto, sans-serif;
}

.theme-font-playfair {
    font-family: Playfair, sans-serif;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

.nopadding {
    padding: 0 !important;
}

.btn-outline-dark {
    color: #ff6f6f;
    background-color: transparent;
    background-image: none;
    border-color: #ff6f6f;
}

    .btn-outline-dark:hover {
        color: #fff;
        background-color: #ff6f6f;
        border-color: #ff6f6f;
    }

.loader {
    border: 10px solid #f3f3f3; /* Light grey */
    border-top: 10px solid #333333; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.pl-0 {
    padding-left: 0;
}

.pt-25 {
    padding-top: 25px;
}

.mb-20 {
    margin-bottom: 20px;
}
/*
    Navbar
*/

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-default {
    box-shadow: none;
    -webkit-box-shadow: none;
    background-color: #333333;
    border: 0px;
}

.top-navbar-text {
    font-size: 1.5em;
    margin-left: 25px;
}

.navbar-nav > li > a {
    font-size: 1.5em;
    line-height: 30px;
}

ul.dropdown-menu-bg {
    padding: 0;
}

.dropdown-menu-bg > li {
    padding: 5px 0;
}

.logo-height {
    height: 60px;
}


.navbar-login > div > a {
    color: #777;
    font-size: 1.5em;
    text-decoration: none;
}

.navbar-login .dropdown-menu {
    margin-top: 0;
    right: -15px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.navbar-login > div > a:hover {
    color: #333;
}

.navbar-top {
    background-color: #ffffff;
    height: 100%
}

.navbar-top-left {
    float: left;
}

    .navbar-top-left a {
        text-decoration: none;
    }

    .navbar-top-right {
        float: right;
    }

.navbar-top-brand {
    display: inline;
}

.navbar-inline-block {
    display: inline-block;
}
/*
 * Main part
 */
.main-part {
    margin-top: 60px;
    margin-bottom: 60px;
    min-height: calc(100vh - 60px - 60px);
}

main > .row {
    margin-left: 15px;
    margin-right: 15px;
}

main > section > .row {
    margin-left: 15px;
    margin-right: 15px;
}
/*
 * Sidebar
 */
.sidebar {
    z-index: 100; /* Behind the navbar */
    padding: 0;
    margin-top: 60px;
    height: calc(100vh - 60px);
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    max-width: 195px;
}

.sidebar-sticky:before,
.sidebar-sticky:after {
    content: '';
    display: table;
}

.list-group-item {
    word-wrap: break-word;
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

    .sidebar .nav-link .feather {
        margin-right: 4px;
        color: #999;
    }

    .sidebar .nav-link.active {
        color: #007bff;
    }

        .sidebar .nav-link:hover .feather,
        .sidebar .nav-link.active .feather {
            color: inherit;
        }

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

.sidebar-separation {
    border-bottom: #f3f3f3 1px solid !important;
}

/*
 * Navbar
 */

.sticky-top {
    position: fixed;
    width: 100%;
    top: 0;
}


/*
 * HOME CAROUSEL
 */
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
    margin-bottom: 0;
    /* Compense le padding du col-10 */
    margin-left: -15px;
    margin-right: -15px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
    left: 0;
    right: 0;
    color: #333333;
    background-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.8);
    text-shadow: none;
}

/* Declare heights because of positioning of img element */
.carousel-item {
    height: calc(100vh - 120px);
    background-color: #777;
}

    .carousel-inner > .item > img, .carousel-item > img {
        position: absolute;
        top: 0;
        min-width: 100%;
        height: calc(100vh - 120px);
        object-fit: cover;
    }


/* ==========================================================================
   Installation
   ========================================================================== */

.main-installation {
    margin-top: 15px;
}

.install-header {
    text-align: center;
}

.install-desktop img {
    max-width: 100%
}

.install-desktop .col-xs-10 {
    margin-bottom: 40px;
    padding-right: 25px;
}

.install-header {
    color: black;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.install-title {
    margin-top: 20px;
}

.install-smartphone img {
    max-width: 100%
}

.install-smartphone .col-xs-10 {
    margin-bottom: 40px;
    padding-right: 25px;
}

.block-installation .col-xs-10 {
    margin-bottom: 40px;
    padding-right: 25px;
}

    .block-installation .col-xs-10 img {
        margin-top: 20px;
    }
/*
 * Card Menu
 */
.card-menu {
    margin-left: 15px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.card-menu-item {
    display: inline-block;
    padding-left: 50px;
}

    .card-menu-item a {
        text-decoration: none;
        color: #777;
    }

        .card-menu-item a:hover {
            color: #333;
        }

/**
   Map
*/

#mapContainer {
    margin-bottom: 0;
    margin-right: -15px;
}

#mapPharmacies {
    height: calc(100vh - 300px);
    width: 100%;
}

.pharmacies-list-group {
    margin-left: -15px;
    height: calc(100vh - 300px);
    word-wrap: break-word;
    overflow-y: scroll;
    overflow-x: hidden;
}

    .pharmacies-list-group .list-group-item {
        cursor: pointer;
    }

    .pharmacies-list-group i {
        /*margin-right: 5px;
        display: inline;*/
    }

/**
*   Section :s
*/

.form-inline label {
    justify-content: normal;
}

form input.col-sm-6 {
    margin-left: 15px;
    margin-right: 15px;
}

form select.col-sm-6 {
    margin-left: 15px;
    margin-right: 15px;
}

form .switch {
    padding-top: 10px;
}

/*
 *	FAQ
 */

#accordion .panel-body {
    white-space: pre-line;
}

/*
 * Footer
 */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
}

.footer .social-links a:hover {
    text-decoration: none;
}

.footer a img.hover {
    display: none;
}

.footer a img.default {
    display: inherit;
}

.footer a:hover img.hover {
    display: inherit;
}

.footer a:hover img.default {
    display: none;
}

/*
 * Utilities
 */

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

/*
    Container title
*/
.container-title {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 60px;
}

/*
    Fix bootstrap accordion with only one item
*/


.accordion .card:first-of-type:last-of-type {
    border-bottom: 1px solid rgba(0,0,0,.125)
}

.left-navigation-element {
    min-height: 52px;
    display: table !important;
    width: 100%;
}




.left-navigation-icon {
    float: left;
    margin-right: 5px;
    margin-left: -5px;
    vertical-align: middle;
    height: 30px;
}

.left-navigation-text {
    overflow: hidden;
    margin: 0px;
    font-size: 12px;
    display: table-cell !important;
    vertical-align: middle;
    width: 100%;
}

/*
    Responsive
*/

@media (max-width: 992px) {
    .navbar-left {
        margin-top: 60px;
        z-index: 100;
    }

    .main-part {
        margin-top: 109px;
    }

    #mapContainer {
        margin-right: 0px;
    }

    .pharmacies-list-group {
        margin-left: 0px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .sidebar {
        max-width: 161.656px;
    }
}

@media (max-width: 991px) {

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-nav {
        float: none !important;
    }

        .navbar-nav > li {
            float: none;
        }

        .navbar-nav.mobile > li {
            float: right;
        }

        .navbar-nav > li > a {
            padding-top: 15px;
            padding-bottom: 15px;
        }

    .collapse.in {
        display: block !important;
    }

    .navbar-left .collapse.in {
        overflow-y: auto !important;
    }

    .navbar-login {
        line-height: 60px !important;
    }

    .logo-height {
        max-height: 60px !important;
    }

    .navbar-left {
        margin-top: 60px !important;
    }

    /*Top Navigation Bar*/

    .navbar .navbar-login .login {
        display: none;
    }

    .navbar .navbar-login .username {
        display: none;
    }

    .navbar .top-navbar-text {
        display: none !important;
    }
}

@media (max-width: 1200px) {
    .top-navbar-text {
        font-size: 1.25em;
    }
}

@media (max-width: 490px) {

    .carousel-caption {
        padding-top: 0;
        padding-bottom: 0;
    }

        .carousel-caption h1 {
            font-size: 20px;
            margin-top: 10px;
            margin-top: 5px;
        }

    .carousel-item {
        height: calc(100vh - 170px);
    }

        .carousel-inner > .item > img, .carousel-item > img {
            height: calc(100vh - 170px) !important;
        }

    .card-menu-item {
        padding-left: 0;
    }
}

.slider-element-display-mobile {
    display: none !important;
}

.slider-element-display {
    display: block !important;
}

@media (max-width: 500px) {
    .slider-element-display {
        display: none !important;
    }

    .slider-element-display-mobile {
        display: block !important;
    }
}
