html, body {
    height: calc(100% - 20px);
}

/* keep footer at the bottom */
.wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -40px;
}

.address-img {
    display: inline-block;
}

.container-nav {
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .container-nav {
        margin-bottom: 0;
    }
}

footer, .push {
    height: 20px;
}

footer {
    min-height: 40px;
}

body {
    font-family: Verdana, sans-serif;
    font-size: 12px;
    color: #6c6b6b;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Times New Roman", serif;
    color: #000000;
}

a {
    color: inherit;
}

a:hover {
    color: #85c2ba;
    text-decoration: none;
}

.breadcrumb .active {
    color: #85c2ba;
}

/* homepage header */

.title h1 {
    font-family: 'Arial Black', 'Arial Bold', Gadget, sans-serif;
    font-size: 30px;
    color: #85c2ba;
    padding-top: 20px;
}

.title p {
    font-family: 'Verdana', Gadget, sans-serif;
    font-size: 14px;
    font-weight: 100;
    color: #85c2ba;
    padding-bottom: 5px;
}

@media (min-width: 768px) {
    .title h1 {
        font-size: 42px;
    }
}

.title .tel,
.title ul {
    font-family: "Times New Roman", serif;
    font-size: 16px;
    color: #85c2ba;
}

.title ul li a {
    font-size: 18px;
    color: #85c2ba;
}

.title ul li a:hover {
    text-decoration: none;
}

.title ul.top-nav {
    list-style: none;
    padding-left: 0;
}

.title .top-nav li {
    float: left;
    padding-right: 10px;
}

@media (min-width: 768px) {

    .title ul.top-nav {
        list-style: none;
        height: 40px;
        padding-top: 20px;
    }

    .title .top-nav li {
        float: right;
        padding-left: 10px;
        padding-right: 0;
    }

    .title .tel {
        float: right;
        font-size: 25px;
    }

    .title .tel-p {
        float: right;
    }

}

.jumbotron {
    padding: 0;
    background-color: #a7d7d1;
}

.jumbotron h1 {
    color: #ffffff;

}

.jumbotron p {
    color: #ffffff;
    font-family: "Times New Roman", serif;
}

@media (min-width: 768px) {
    .jumbotron h1 {
        color: #ffffff;
        padding: 10px 20px 40px 0;
    }

    .jumbotron .container {
        background-image: url("../img/header.7b5bceed2b23.jpg");
        background-repeat: no-repeat;
        background-position: bottom left;
        background-size: cover;
    }

    .jumbotron h1 {
        padding-right: 80px;
    }
}

@media (min-width: 768px)  and (max-width: 991px) {
    .jumbotron h1 {
        font-size: 36px;
    }

    .jumbotron .container {
        padding-left: 180px;
        padding-top: 30px;
    }
}

@media (min-width: 992px) {
    .jumbotron h1 {
        font-size: 54px;
    }

    .jumbotron .container {
        padding-left: 300px;
        padding-top: 30px;
    }
}

/* navbar overrides */
.navbar-default .navbar-nav > li > a {
    color: #85c2ba;
    font-family: "Times New Roman", serif;
    font-size: 18px;
}

.navbar-default {
    border: none;
    border-top: 1px solid #8d8f8d;
    background-color: white;
}

.navbar {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    margin-bottom: 0;
}

.navbar-collapse {
    padding-left: 0;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
    background-color: inherit;
    color: inherit;
}

@media (max-width: 767px) {
    .navbar.navbar-default {
        margin-top: 50px;
        border: none;
    }

    .title {
        position: absolute;
        z-index: 500;
    }

    .title h1 {
        padding-top: 0;
    }

}

.navbar-toggle {
    z-index: 1000; /* above .title */
}

/* menu needs to be slightly narrower on md */
@media (min-width: 992px) and (max-width: 1199px) {
    .nav > li > a {
        padding: 15px 10px;
    }
}

.dropdown-menu {
    border: 1px solid #8d8f8d;
    border-radius: 0;
    box-shadow: none;
    font-family: "Times New Roman", serif;
    font-size: 18px;
    color: #6c6b6b;
}

.dropdown-submenu > .dropdown-menu {
    border-radius: 0;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
    background-color: #85c2ba;
}

@media (min-width: 979px) {
    ul.nav.navbar-nav > li:first-child > a {
        padding-left: 0;
    }

    ul.nav li:hover > ul.dropdown-menu {
        display: block;
    }
}

@media (max-width: 979px) {
    .dropdown-submenu > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > .dropdown-menu {
        padding-left: 10px;
    }
}

@media (min-width: 980px) {

    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #cccccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #ffffff;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

    .dropdown-submenu.pull-left > .dropdown-menu {
        left: -100%;
        margin-left: 10px;
    }
}

/* footer */

footer {
    margin-top: 40px;
    color: #ffffff;
    background-color: #404241;
    text-align: center;
}

footer .credit {
    padding-top: 10px;
    color: #838383;
}

/* homepage content */

a.news-link:before, .block-1 p > a:before, .block-2 p > a:before, .block-4 p > a:before {
    content: "> ";
}

p > a.filer_image_link:before {
    content: "";
}

.address {
    background-color: #a7d7d1;
    padding: 20px;
    text-align: center;
}

.address h3 {
    margin-top: 0;
}

@media (min-width: 1200px) {
    .address {
        height: 209px;
    }

    .address h3 {
        margin-bottom: 20px;
    }

}

.address-img {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 8px;
    padding-right: 10px;
    height: 50px;
}

.seperator-line {
    /*padding-top: 20px;*/
    /*padding-bottom: 20px;*/
    border-right: 1px solid #ffffff;
}

.contact-panel {
    display: table-row;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto;
}

.address div.contact-wrapper{
    display: inline-block;
}

ul.contact-panel li {

    display: table-cell;
    /*height: 80px;*/
    list-style-type: none;
    margin: 10px;
    vertical-align: middle;
    padding-left: 10px;
    padding-right: 10px;
}
ul.contact-panel li a img {
    max-width: 100%;
    height: auto;
    width: auto\9; /* ie8 */

}
ul.contact-panel li a img.urgences {
    margin-top: 30px;
}

ul.contact-panel li a {
    display: table-cell;
    vertical-align: middle;
    /*height: 80px;*/
    /*border: solid 1px black;*/
}

ul.contact-panel {
    overflow: hidden;
    /*border: 1px solid black;*/
}



/*@media (max-width: 1199px) {*/
    /*.address img {*/
        /*max-width: 90px;*/
    /*}*/

    /*.address img.phone,*/
    /*.address img.email,*/
    /*.address img.urgences {*/
        /*max-height: 65px;*/
    /*}*/
/*}*/

/*@media (min-width: 768px) and (max-width: 991px) {*/
    /*.address {*/
        /*margin-top: 20px;*/
    /*}*/
/*}*/

/*@media (min-width: 992px) and (max-width: 1199px) {*/
    /*.home .address img {*/
        /*margin-top: 30px;*/

    /*}*/
/*}*/

/*.address .email .urgences {*/
    /*padding-left: 3px;*/
/*}*/

.block-4 h3 {
    margin-top: 0;
}

.border {
    border: 1px solid #000000;
    padding: 20px;
}

.border h3 {
    margin-top: 0;
}

.border p:last-child {
    margin-bottom: 0;
}

.max-lines p {
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
    max-height: 200px;
    line-height: 20px;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .max-lines {
        min-height: 250px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .home .address {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .max-lines {
        margin-bottom: 20px;
    }
}

.news-item {
    padding-bottom: 20px;
}

@media (max-width: 340px) {
    .top-nav-tel {
        display: none;
    }

    .title ul li a {
        font-size: 16px;
    }
}

.content h2:first-child {
    margin-top: 0;
}

.content img {
    max-width: 100%;
}

.mejs-video {
    max-width: 100%;
}

@media (max-width: 991px) {
    .navbar-form {
        border: none;
    }

    .navbar-form .form-control {
        width: 100%;
    }

    .navbar-form .form-group {
        display: block;
    }
}

@media (min-width: 992px) {
    .navbar-right.search {
        margin-right: -30px;
    }

    .search input {
        margin-top: 2px;
        height: 30px;
    }
}

.side-nav {
    margin-top: 20px;
    padding: 20px;
    background-color: #F5F5F5;
}

.side-nav li.active {
    color: #85C2BA;
}

.side-nav h4 {
    margin-top: 0;
}

.side-nav ul {
    padding-left: 0;
    list-style: none;
}

.nav.navbar-nav > li > a {
    text-transform: lowercase;
}

.search-page-form {
    margin-bottom: 20px;
}

.separator {
    color: #E7E7E7;
}