img{
    max-width: 100%;
}

nav .navbar-brand {
    box-shadow: 10px 10px 10px #888888;
}

nav ul.navbar-nav {
    border-top: 1px solid #EEEEEE;
    border-bottom: 1px solid #EEEEEE;
}
nav ul{
    border-right: 1px solid #EEEEEE;
    background-color: rgb(250, 250, 250);
}
nav ul li a.nav-link {
    color: #834E98 !important; /* text color of the menu */
    /*padding: 10.5px 11px; /* 10.5px of padding to the right and left of the link and 11px to the top and bottom */
    /*background-color: #f8f9fa;*/
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-left: 1px solid #EEEEEE;
    max-height: 68px;
}
    nav ul li.nav-item a.nav-link:visited { /* This bit just makes sure the text color doesn't change once you've visited a link */
        color: #834E98;
    }

    nav ul li a.nav-link:hover, nav ul li.active a.nav-link {
        color: #fff !important;
        background-color: #AB4B87;
    }

@media (min-width: 576px) {
    nav ul li.nav-item{
        height: 68px;
    }
    nav ul li.nav-item a.nav-link{
        height: 100%;
    }
    .carousel-caption {
        left: 20%;
    }
        .carousel-caption .card {
            max-width: 80%;
            text-align: center;
        }
}

@media (max-width: 576px) {
    .container {
        padding-left: 3px;
        padding-right: 3px;
    }

    .carousel-caption {
        left: 1%;
        right: 1%;
    }

    .card {
        max-width: 99%;
    }

    .carousel-item .card-body h5 {
        font-size: 14px;
    }

    .carousel-caption {
        padding: 0;
    }

        .carousel-caption .card-body {
            padding: 3px;
            text-align: center;
        }

            .carousel-caption .card-body p {
                margin-bottom: 3px;
            }

        .carousel-caption .card-title {
            margin-bottom: 5px;
        }

    .carousel-indicators {
        margin-bottom: 0;
    }
}

.carousel-caption {
    color: #ffffff;
}

    .carousel-caption .card {
        background-color: #1e1212;
        opacity: 0.7;
        border-radius: 6px;
    }

.ourv-color {
    background-color: #834E98;
    border-color: #834E98;
}


.main-content {
    background-image: url(../images/background.png);
    box-shadow: 0 200px 50px #ebe0e0;
    padding-bottom: 20px;
}

section.contentIndex {
    margin-top: 0;
}

div.boxesOffers {
    text-align: center;
}

div.boxOffer {
    background-image: url('../images/medical_box_icon.png');
    background-repeat: no-repeat;
    background-color: white;
    border: 1px solid #cccbc9;
    box-shadow: 0 0 4px 0 #ccd;
    width: 260px;
    margin: 20px;
    padding: 10px;
    display: inline-block;
}

    div.boxOffer a {
        line-height: 2.3;
        padding: 0px 8px 0px 8px;
        background-color: #834E98;
        color: #fff;
        text-decoration: none;
        text-align: center;
        text-shadow: 0 1px 0 rgba(0,0,0,0.25);
        font-weight: bold;
        font-size: 14px;
        display: inline-block;
        box-shadow: 0 1px 0 0 rgba(0,0,0,0.2),inset 0 -1px 0 0 rgba(0,0,0,0.3),inset 0 12px 24px 2px #A846CF;
        border-radius: 5px;
        opacity: 1;
    }

    div.boxOffer h3 {
        height: 60px;
        margin-bottom: 15px;
    }

div.specialities ul li {
    font-weight: bold;
}

    div.specialities ul li ul li {
        font-weight: normal;
    }

div.imagensacordos {
    margin-left: 20px;
    margin-bottom: 30px;
}

footer {
    width: 98%;
    background-color: #34363e;
    color: rgb(197, 197, 197);
    padding: 15px;
}

    footer div.content {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    footer a:link, footer a:visited, footer a:active {
        color: #E5E5E5;
        text-decoration: underline;
    }

