body
,html {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    background-color: #fff;
    font-family: 'montserratregular';
    font-size: 13px;
    color: #646f76;
}
/*****************************************
* MAIN CONTENT
*****************************************/
.wrapper-content-pages {
    background-color: #0863a8;   
    height: 100%;
}
.wrapper-content-info {
    padding-top: 15px;
    padding-bottom: 15px;
}
.wrapper-content-map {
    padding-left: 0;
    padding-right: 0;
    height: 100%;
}
.wrapper-content-map #map {
    width: 100%;
    height: 100%;
}
/*****************************************
* FLEX LAYOUT
*****************************************/
@media (min-width: 768px) {
    #wrapper-page {
        display: table;
        height:100%;
        width: 100%;
        position: relative;
    }
    #header{
        display: table-row;
        height:0px;
    }
    #content {
        position: relative;
        height:100%;  
    }
    @-moz-document url-prefix() {
         #content {
            display: table-row;
        }
    }
    .wrapper-content {
        position: absolute;
        height: 100%;
        width: 100%;
        left: 0;
        top: 0;
        right:0;
        bottom: 0;
        margin: auto;
        overflow: hidden;
    }
    .wrapper-content > .container-fluid, .wrapper-content > .container-fluid > .row {
        height: 100%;
    }
    .wrapper-content-pages {
        height: 100%;
        overflow-y: auto;
        background-position: center center;
        background-size: cover; 
        background-repeat: no-repeat;
        background-image: url(../img/bg-home.jpg);
        border-top: 1px solid #fff;
    }
    .wrapper-content-pages .row.content-homepage {
        max-width: 1000px;
        margin: 0 auto;
    }
    
    .wrapper-content-info {
        height: 100%;
        overflow-y: auto;
    }
    .wrapper-content-map {
        height: 100%;
        border-bottom: none;
        display: block;
        border-left: 1px solid #e2e2e2;
    }
}
/*****************************************
* GENERAL
*****************************************/
a {
    text-decoration: underline;
    color: #646f76;
}
a:hover, a:focus {
    text-decoration: underline;
    color: #434a50;
}
b,
strong {
    font-weight: normal;
    font-family: "montserratbold";
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 { 
    color: #0a71b3;
    font-weight: normal;
    text-transform: uppercase;
}
h1, .h1 {
    font-size: 26px;
}
h2, .h2 {
    font-size: 18px;
}
h3, .h3 {
    font-size: 15px;
}
h4, .h4 {
    font-size: 13px;
}
h5, .h5 {
    font-size: 12px;
}
h1 a, h2 a, h3 a, h4 a, h5 a { 
    text-decoration: none;
    color: #0a71b3;
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover { 
    text-decoration: none;
    color: #0a71b3;
}
/*****************************************
* UTILE
*****************************************/
.no-margin {
    margin: 0 !important;
}
.no-padding {
    padding: 0 !important;
}
.margin-top-15 {
    margin-top: 15px;
}
.margin-bottom-15 {
    margin-bottom: 15px;
}
.margin-top-30 {
    margin-top: 30px;
}
.margin-bottom-30 {
    margin-bottom: 30px;
}
/*****************************************
* STYLES
*****************************************/
.bg-blanc { 
    background-color: #fff;
}
.bg-gris { 
    background-color: #f6f6f6; 
}
.bg-bleu { 
    background-color: #0863a9; 
}
.underline-title {
    position: relative;
    display: block;
}
.underline-title:after {
    content: '';
    display: block;
    background-color: #0a71b3;
    height: 3px;
    width: auto;
    margin: 2px 0 0 0;
}
.color-text-emploi {
    color: #df6e63;
}
.color-text-education {
    color: #dfb763;
}
.color-text-logement {
    color: #bbd13f;
}
.color-text-mobilite {
    color: #93d17b;
}
.color-text-sante {
    color: #8cd4be;
}
.color-text-social {
    color: #8bbeea;
}
.color-text-institutionnels {
    color: #979df2;
}
.bg-emploi {
    background-color: #df6e63;
}
.bg-education {
    background-color: #dfb763;
}
.bg-logement {
    background-color: #bbd13f;
}
.bg-mobilite {
    background-color: #93d17b;
}
.bg-sante {
    background-color: #8cd4be;
}
.bg-social {
    background-color: #8bbeea;
}
.bg-institutionnels {
    background-color: #979df2;
}
/*****************************************
* FORM
*****************************************/
input[type=checkbox] { 
    display: none;
} 
input[type=checkbox] + label {
    cursor: pointer;
    font-weight: normal;
}
input[type=checkbox] + label:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    background-color: #fff;
    background-position: center center;
    background-size:  80% 80%;
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    margin-right: 4px;
    border: 1px solid #9a9a9a;
    border-radius: 3px;
}
input[type=checkbox]:checked + label:before { 
    background-image: url(../img/icons/check.svg);
    background-color: #f9faf9;
}
.search-bar-input {
    position:relative;
    margin-top:15px;
    padding-right: 41px;
}
.search-bar-input button {
    position:absolute;
    right:0;
    top:0;
    font-family: 'montserratregular';
    font-size: 16px;
    padding-left: 6px;
    padding-right: 6px;
}
.search-bar-input button.btn-fleche {
    padding-right: 3px;
    padding-left: 3px;
}
/*****************************************
* HOME
*****************************************/
.home-logo {
    padding-top: 60px;
    text-align: center;
}
.home-title {
    color: #fff;
    text-align: center;
    font-size: 26px;
    margin: 35px 0;
}
.home-mentions {
    color: #fff;
    text-align: center; 
    font-size: 10px;
}
.home-search .form-control{
    border: 1px solid #fff;
    text-align: center;
    font-size: 16px;
}
.home-mentions {
    margin-top: 60px;
}
.home-mentions a, .home-mentions a:hover {
    color: #fff;
}
.home-list-activite {
    margin-top: 20px;
}
.home-list-activite > li {
    margin-bottom: 15px;
}
.home-list-activite > li > div {
    display: block;
    overflow: hidden;
    border: 7px solid #fff;
    border-radius: 30px;
        max-width: 190px;
    min-width: 120px;
    height: 140px;
    margin: 0 auto;
    transition: all 0.15s;
}
.home-list-activite > li > div.selected {
    background-color: #fff;
}
.home-list-activite > li > div:hover {
    margin-top: -5px;
    margin-bottom: 5px;
    -webkit-box-shadow: 7px 11px 18px 0 rgba(0,0,0,.50);
            box-shadow: 7px 11px 18px 0 rgba(0,0,0,.50);
}
.home-list-activite > li > div > a {
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase; 
    text-align: center;
    font-family: "montserratbold";
    transition: all 0.3s;

}
.home-list-activite > li > div.selected > a {
    margin-top: -100%;
}
.home-list-activite > li > div > a > i { 
    display: block;
    padding-top: 5px;
}
.home-list-activite > li > div > a > [class^="icon-app-"]:before, .home-list-activite > li > div > a > [class*=" icon-app-"]:before {
    width: 60px;
    height: 60px;
}    
.home-list-activite > li > div > a > span { 
    display: table;
    height:  55px;
    width:   100%;
    line-height: 14px;
}
.home-list-activite > li > div > a > span > span { 
    display: table-cell; 
    vertical-align: middle; 
    text-align: center;
}
.home-list-activite > li > div > ul {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border: 7px solid #fff;
    padding-top: 10px;
    padding-bottom: 10px;
}
.home-list-activite > li > div > ul > li > a {
    display: block;
    font-size: 12px;
}
@media (min-width: 768px) {
    .home-list-activite > li > a {
        
    }
    .col-sm-offset-activite {
        margin-left: 12.5%;
    }
}

/*****************************************
* MAIN NAVBAR
*****************************************/
.navbar-default .title-mobile {
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-family: 'montserratregular';
    font-size: 12px;
}
/*****************************************
* SELECT / SEARCH BAR NAVBAR
*****************************************/
.navbar-search {
    background-color: #f6f6f6;
    border: none;
    min-height: 0px;
    margin-bottom: 0;
}
.navbar-search .navbar-collapse {
    padding-left: 0;
    padding-right: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #0863a8;
}
.select-bar-list-activite ul {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}
.select-bar-list-activite > ul > li {
    position: relative;
    margin-left: 30px;
}
.select-bar-list-activite > ul i {
    position: absolute;
    left: -30px;
    top: 0;
}
.select-bar-list-activite ul ul {
    padding-left: 15px;
    list-style: none;
}
.select-bar-list-activite > ul > li > input[type=checkbox] + label {
    color: #424a4f;
    text-transform: uppercase;
}
.select-bar-list-activite input[type=checkbox] + label {
    padding-left: 22px;
}
.select-bar-list-activite input[type=checkbox] + label:before {
    margin-left: -22px;
}
.select-bar-list-activite .search-bar-input  {
        max-width:250px;
}