/*
 Theme Name:   plateforme-must
 Theme URI:    http://www.plateforme-must.fr
 Description:  Thème pour le site plateforme-must.fr
 Author:       IRCF
 Author URI:   https://www.ircf.fr
 Template:     proactiv
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  plateforme-must
*/

/* Fonts */
@font-face {
        font-family:"proxima";
        src: url(fonts/ProximaNova-Regular.eot);
        src: url(fonts/ProximaNova-Regular.eot?#iefix) format('embedded-opentype'),
             url(fonts/ProximaNova-Regular.woff) format('woff'),
             url(fonts/ProximaNova-Regular.ttf)  format('truetype');
        font-weight:normal;
        font-style:normal;
}
@font-face {
        font-family:"proxima";
        src: url(fonts/ProximaNova-Bold.eot);
        src: url(fonts/ProximaNova-Bold.eot?#iefix) format('embedded-opentype'),
             url(fonts/ProximaNova-Bold.woff) format('woff'),
             url(fonts/ProximaNova-Bold.ttf)  format('truetype');
        font-weight:bold;
        font-style:normal;
}

/* Général */
body {
    font-family: "proxima",arial,helvetica,sans-serif;
    font-size: 18px;
    line-height: 1.2em;
}
h1{font-size: 1.5em;text-align:center;margin-bottom:20px;}
h2{font-size: 1.3em;}
h3{font-size: 1.1em;}

p+ol{
    margin-top:-10px;
}
ol{
    margin-bottom:20px;
}

.row-equal-h {
    display: -webkit-flex;
    /*-webkit-flex-wrap: wrap;*/
    display: flex;
    /*flex-wrap: wrap;*/
}
.row-equal-h > [class*='col-'] {
    display: -webkit-flex;
    display: flex;
}
.no-bullets{
    list-style:none;
    padding-left:0;
}
.no-bullets li:before{
    content:"";
    margin:0;
}
.no-bullets li{
    margin-bottom:0;
}


/* Container */
#page {
	min-height:100vh;
	display:flex;
	flex-direction:column;
}
#content {
	flex-grow:1;
}

/* Menu */
.navbar-nav > li > a{
    font-weight:bold;
}
.dropdown-menu > li > a{
    border-bottom:1px solid #e8f1ee;
}
.dropdown-menu{
    padding:0;
    font-size:1em;
    min-width:calc(120%);
    box-shadow:none;
}
.navbar-toggle{
    background-color: #f93;
    border-color:#f93;
}
.navbar-toggle .icon-bar{
    background-color: #fff;
}
/* Header */
#header-img{
    margin-bottom:20px;
}
#header-img:hover{
    text-decoration: none;
    color:inherit;
}
header .logo-complement{
    margin-top:2px;
    font-size:0.9em;
}
.header-user{
    display:inline-block;
    position:relative;
    margin-top:10px;
    margin-right:20px;
}
.header-user.loggedin .login-link{
    display:inline-block;
    padding:8px 14px 12px;
}
.header-user.loggedin:hover .login-link{
    text-decoration:none;
    background-color:#ff9933;
    color:#fff;
}
.header-user .login-buttons a:hover{
    text-decoration:none;
}
.header-user .icon{
    display:inline-block;
    background-color:#ddd;
    text-align:center;
    border-radius:100%;
    width:40px;
    height:40px;
}
.header-user.loggedin:hover .icon{
    background-color:#fff;
    color:#f93;
}
.header-user .icon i{
    font-size:1.2em;
    line-height:38px;
}
.header-user .navbar-nav{
    width:auto;
}
.heaer-user .navbar-nav li{
}
.header-user .dropdown-menu{
    min-width:auto;
    left:auto;
    right:0;
    border:none;
}
.header-user .dropdown-menu li a{
}
@media(max-width:768px){
    .header-user{
        text-align:center;
    }
}
@media (min-width:769px){
    .header-user:hover .dropdown-menu{
        display:block; /* Open navbar on hover instead of click */
    }
    .header-user:hover .dropdown-menu{
        display:block; /* Open navbar on hover instead of click */
    }
    .navbar-right > li:hover > .dropdown-menu{
        display:block; /* Open navbar on hover instead of click */
    }
}
/* Footer */
#footer-informations{
    font-weight:bold;
    margin-top:30px;
    margin-bottom:0;
}
#footer-informations p{
    margin-bottom:0;
}
#footer-ircf a{
    color:inherit!important;
}
footer #top-link{
    display:none;
    position:fixed;
    right:20px;
    bottom:20px;
    background-color:#333;
    padding:0 10px;
    opacity:0.2;
    outline:none;
    color:#fff;
}
footer #top-link:hover{
    opacity:0.4;
}
.menu-menu-bas-de-page-secondaire-container{
    font-size:0.9em;
    text-align:center;
}
.menu-menu-bas-de-page-secondaire-container .navbar-nav{
    display:inline-block;
    width:auto;
}
.menu-menu-bas-de-page-secondaire-container .navbar-nav > li > a{
    color:#fff;
    padding:5px 5px 5px 0;
}
.menu-menu-bas-de-page-secondaire-container .navbar-nav li a:after{
    content:" - ";
}
.menu-menu-bas-de-page-secondaire-container .navbar-nav li:last-child a:after{
    content:none;
}


/* Breadcrumb */
.breadcrumbs{
    border-bottom:1px solid #ddd;
    padding-top:5px;
    padding-bottom:20px;
}
.breadcrumbs i{
    padding: 0 10px;
}
.breadcrumbs a:hover{
    text-decoration: none;
    color:#333;
}

/* Google Maps */
/*.gmp_map_opts{
    margin-left:calc(-50vw + 50%) !important;
    width:100vw !important;
    margin-bottom:-40px !important;
}*/

/* Table */
table thead{
    color:#f93;
    font-weight:bold;
}
table tbody{
    font-size:0.9em;
}

/* Form */
form{
    margin:40px 0 20px;
}
.form-horizontal .control-label{
    font-size:0.9em;
    text-align: left;
    line-height:1.1em;
}
.btn.wpcf7-submit{
    display:block;
}
.wpcf7-radio{
    display:inline-block;
    margin-top:5px;
}
span.wpcf7-list-item{
    display:block;
    margin-left:0;
    font-size:0.9em;
}
.wpcf7-radio span.wpcf7-list-item{
    display:inline-block;
    margin-right:20px;
    margin-top:5px;
}
.radio-block .wpcf7-radio span.wpcf7-list-item{
    display:table-row;
}
.wpcf7-acceptance label{
    font-weight:normal;
}
fieldset legend{
    font-family: "proxima",arial,helvetica,sans-serif;
    font-size:1em;
    font-weight: bold;
    background-color: #f2f2f2;
    border:none;
    margin-bottom:10px;
    padding:10px;
    color:#f93;
}
@media(min-width:768px){
    .radio-group{
        margin-bottom:15px;
    }
    .radio-group .form-group{
        margin-bottom:0;
    }
}

/* Gallery */
.gallery-size-medium .gallery-icon img{
    max-height:100px;
    width:auto;
    margin-left:auto;
    margin-right:auto;
    display:block;
}
.gallery .gallery-item{
    margin-bottom:30px;
}

/* Accordion */
.panel-group .panel{
    border:none;
}
.panel-default .panel-heading{
    background-color: #999;
    border:0;
    font-weight: bold;
    padding:0;
}
.panel-default .panel-heading.active,
.panel-default .panel-heading:hover{
    background-color: #f93;
}
.panel-default .panel-heading a{
    display:block;
    padding:10px 15px;
    color:#fff;
}
.panel-default .panel-heading a:focus,
.panel-default .panel-heading a:hover{
    text-decoration:none;
}
.panel-default .panel-heading a:before{
    content:"\f0d7";
    font-family:"FontAwesome";
    font-size:1.3em;
    margin-right:10px;
    vertical-align:middle; 
}

/* Well */
.well{
    background-color:#f2f2f2;
    border:0;
    box-shadow: none;
    border-radius:0;
}
.well > h2, .well > h3{
    margin-top:0;
}

/* Tabs */
.nav.nav-tabs{
    margin-bottom:20px;
}
.nav-tabs li{
    margin-right:10px;
}
.nav-tabs li a{
    background-color: #f2f2f2;
    border-color: #eee #eee #ddd;
    color: #333;
}
.nav-tabs li a:hover,
.nav-tabs li.active a,
.nav-tabs li.active a:hover,
.nav-tabs li.active a:focus{
    background-color: #f93;
    border-color: #f93;
    color: #fff;
}
.nav-tabs li.active{
}
@media(max-width:768px){
    .nav-tabs li{
        width:100%;
    }
}

/* Card (Bootstrap4 like) */
/*.card-columns .card{
    display:inline-block;
    margin-bottom:30px;
    width:100%;
}
@media(min-width:768px){
    .card-columns{
        -webkit-column-count: 4;
           -moz-column-count: 4;
                column-count: 4;
        -webkit-column-gap: 30px;
           -moz-column-gap: 30px;
                column-gap: 30px;        
    }
    .card{
        display:flex;
        flex-direction: column;
        position:relative;
    }
}*/
.card-columns{
    float:left;
    width:100%;
}
.card-columns .card{
    margin-bottom:30px;
    float:left;
    width:260px;
}
.card-title{
    font-size:1em;
    margin-top:0;
}
.card-title a{
    color:#333;
}
    

/* Alert */
.alert{
    border-radius:0;
}
.alert-warning{
    font-size:0.9em;
    background-color:rgba(254, 154, 30, 0.2);
    margin-bottom:10px;
    color:#333;
}
.alert-warning h3{
    margin-bottom:0;
}
.alert-warning p{
    margin-bottom:15px;
}

/* Espace prescripteur */
#wpmem_reg fieldset, #wpmem_login fieldset{
    margin-top:0!important;
}
.login-wrapper p{
    margin:0;
}
#wpmem_login .div_text, #wpmem_login .button_div{
    width:100%!important;
}
#wpmem_login .link-text{
    width:100%!important;
    padding-right:10px!important;
}

/* Row */
.post-content > .row-bg{
    background-color:#f7f7f6;
    padding-top:30px;
    padding-bottom:30px;
}
.post-content > .row-bg + .row-bg{
    padding-top:0;
}

/* Articles */
.article-wrapper aside{
    font-size:0.85em;
    color:#aaa;
    margin-bottom:20px;
}
.article-wrapper aside a{
    color:#aaa;
}

/* Category */
.category .article-wrapper aside{
    margin-top:20px;
}

/* Calendrier disponibilités */
.nav-tabs li a:before{
    font-family: FontAwesome;
    margin-right:8px;
}
.nav-tabs .voiture a:before, .nav-tabs .voiturette a:before{content:"\f1b9";}
.nav-tabs .scooter a:before{content:"\f21c";}
.nav-tabs .velo a:before{content:"\f206";}
.fullcalendar{
    margin-bottom:30px;
}
.fc-day-number{
    color:#666;
}
td.fc-today{
    background-color: white!important;
}
.fc-day.selected{
    background-color:rgba(255, 236, 133, 0.3)!important; /*#fcf8e3!important;*/
}
.fc-day.not-available{
    background-color: rgba(255, 109, 109, 0.3); /*#ffe8e8;*/
}
.fc-day.available{
    background-color: rgba(181, 255, 181, 0.3); /*#f2fff2;*/
}
.fc-content{
    cursor:auto;
}
/*Allow pointer-events through*/
.fc-slats, /*horizontals*/
.fc-content-skeleton, /*day numbers*/
.fc-bgevent-skeleton /*events container*/{
    pointer-events:none
}
/*Turn pointer events back on*/
.fc-bgevent,
.fc-event-container{
    pointer-events:auto; /*events*/
}
.fc-row .fc-highlight-skeleton{
    display:none;
}
#disponibilites{
    margin-top:10px;
}
.dates-form input[type="submit"]{
    margin-top:0;
}

/* Solutions */
.post-content > .row.solution-list{
    padding-top:0;
}
.solution-list{
    margin-top:30px;
}
.solution-list li a{
    color:#333;
}
.solution-list .well{
    padding:15px;
    margin-bottom:0;
    /*transition:background 0.2s ease-in 0s;*/
}
/*.solution-list .well *{
    color:#fff;
}*/
.solution-list .solution-img-wrapper{
    border:1px solid #f2f2f2;
    border-radius:8px 8px 0 0;
    /*padding:20px 30px;*/
}
.solution-list .solution-objectifs{
    font-size:0.9em;
}
.solution-list .view-more{
    font-size:0.8em;
    text-decoration: underline;
}
.solution-list li a:hover{
    text-decoration: none;
}
.solution-list a:hover .well{
    background-color:#f93;
}
.solution-list a:hover .well *{
    color:#fff;
}

#filters{
    font-size:0.9em;
    margin-top:30px;
}
#filters + #filters{
    margin-top:0;
}
#filters .button{
    background-color:#f2f2f2;
    color:#333;
    border:none;
    margin-right:10px;
    margin-bottom:10px;
    padding:8px 10px;
    cursor:pointer;
}
/*#filters .button.all{
    background-color:#f93;
    color:#fff;
}*/
#filters .button.all,
#filters .button:hover,
#filters .button.is-checked{
    background-color:#f93;
    color:#fff;
}
/*#filters.mode-transport button, #filters.mode-transport button.all{
    background:transparent;
    color:#333;
}*/
/*.solution-list .interimaires a .well, #filters .interimaires{background-color:#ef5350;}
.solution-list .jeunes a .well, #filters .jeunes{background-color:#f93;}
.solution-list .salaries a .well, #filters .salaries{background-color:#ff8a65;}
.solution-list .demandeurs-demploi a .well, #filters .demandeurs-demploi{background-color:#ba68c8;}
.solution-list .personnes-handicapees a .well, #filters .personnes-handicapees{background-color:#a1887f;}
.solution-list .seniors a .well, #filters .seniors{background-color:#7986cb;}
.solution-list .personnes-en-difficultes-financieres a .well, #filters .personnes-en-difficultes-financieres{background-color:#00bcd4;}
.solution-list .tous-publics a .well, #filters .tous-publics{background-color:#ffbf80;}*/

#filters .button:before, .card .card-title:before{
    font-family: "FontAwesome";
    font-weight:normal;
    margin-right:5px;
}
.card .solution-title:before{
    margin-right:10px;
}
#filters .button.velo:before, .card.velo .card-title:before{content:"\f206";}
#filters .button.voiture:before, .card.voiture .card-title:before{content:"\f1b9";}
#filters .button.voiturette:before, .card.voiturette .card-title:before{content:"\f1b9";}
#filters .button.bus:before, .card.bus .card-title:before{content:"\f207";}
#filters .button.scooter:before, .card.scooter .card-title:before{content:"\f21c";}
#filters .button.train:before, .card.train .card-title:before{content:"\f238";}
#filters .button.avion:before, .card.avion .card-title:before{content:"\f072";}

@media (min-width: 768px) {
    .solution-list > li.col-sm-3:nth-child(4n+1) {
        clear: left;
    }
}
@media(max-width:768px){
    .solution-img-wrapper img{
        margin-left:0;
        margin-right:0;
    }
}
/* Fiche solution / fiche atelier */
.item-block{
    margin-top:30px;
    margin-bottom:30px;
}
.item-block ul, .item-block ol{
    list-style-position:inside;
    padding-left:0;
}
.item-block li ul, .item-block li ol{
    padding-left:15px;
}
.card-title{
    /*display:inline-block;*/
}
.solution-img{
    /*margin-left:10px;
    margin-bottom:20px;*/
    /*max-height:120px;
    width:auto;*/
    margin:20px 30px 20px 0;
}
@media(max-width:768px){
    .solution-img{
        float:none!important;
        margin-left:0;
    }
}

/* Ateliers */
.theme-item .theme-title{
    text-align: center;
}
.atelier-item{
    
}
.atelier-list .atelier-title{
    font-size:1em;
}
.atelier-list .atelier-title a{
    color:#333;
}
.atelier-list .atelier-link-more{
    display:inline-block;
    font-size:0.9em;
    margin-top:10px;
}

/* Cookie notice */
#cookie-notice{
    float:left;
    font-size:16px;
    line-height:1.5em;
}
.cookie-notice-container{
    float:left;
    padding:35px 8%;
}
#cn-notice-text{
    float:left;
    font-weight:500;
    width:80%;
}
#cn-notice-text a{
    text-decoration:underline;
    color:#fff;
}
#cookie-notice #cn-accept-cookie,
#cookie-notice #cn-refuse-cookie{
    background-image: none;
    font-weight:normal;
    border:none;
    box-shadow:none;
    text-shadow:none;
}
#cookie-notice #cn-accept-cookie{
    float:right;
    background-color: #fff;
    font-size:16px;
    color:#333;
    padding:15px 50px;
}
#cookie-notice #cn-refuse-cookie{
    background-color: #ddd;
    color:#333;
}
#cookie-notice #cn-more-info{
    background-color:transparent;
    background-image: none;
    text-decoration:underline;
    border:none;
    box-shadow:none;
    text-shadow:none;
    color:#333;
}
@media(max-width:768px){
    #cookie-notice{
        float:none;
        font-size:16px;
    }
    .cookie-notice-container{
        text-align:left;
    }
    #cn-notice-text{
        float:none;
        display:block;
        width:auto;
    }
    #cookie-notice #cn-accept-cookie{
        float:none;
        display:inline-block;
        margin-left:0;
        margin-top:15px;
    }
}
@media(min-width:769px) and (max-width:1280px){
    #cn-notice-text{
        width:70%;
    }
    #cookie-notice #cn-accept-cookie{
        padding-left:30px;
        padding-right:30px;
    }
}

/* Accueil */
.home #content{
    padding-top:0;
}
.home .post-content > .row{
    padding-top:30px;
    padding-bottom:30px;
}
.home .post-content > .row-full,
.home .post-content > .slideshow .row{
    padding-top:0;
    padding-bottom:0;
}
/* Accueil : présentation */
.home .row.presentation{
    background: url(images/background2.jpg) no-repeat center bottom;
    background-size:cover;
    min-height:70vh;
    padding-top:60px;
}
.home .row.presentation h1{
    margin: 0 0 20px;
}
.home .row.headline{
    font-size:1.3em;
    line-height: 1.1em;
    margin-bottom:80px;
}
.home .row.headline *{
    color:#fff;
}
/* Accueil : prestations */
.home .row.prestations{
    display:flex;
    padding-bottom:100px;
}
.home .row.prestations .block{
    background-color:rgba(68,68,68,0.8);
    border-color:#fff;
    font-size:1.1em;
    height:100%;
}
.home .row.prestations .block *{
    color:#fff;
}
.home .row.prestations .block a{
    display:block;
    margin-top:40px;
    color:#f93;
}
.home .row.prestations .block h2{
    font-size:1.6em;
    margin-bottom:40px;
}
.home .row.prestations .block:hover{
    background-color:#f93;
}
.home .row.prestations .block:hover a{
    color:#fff;
}
/* Accueil : permanences */
.home .row.permanences h3{
    color:#f93;
}
@media(max-width:768px){
    .home .row.headline{
        margin-bottom:0;
    }
    .home .row.prestations{
        display:block;
    }
    .home .row.prestations .block{
        height:auto;
        margin-bottom:30px;
    }
    .home .row.prestations .block a{
        margin-top:20px;
    }
    .home .row.prestations .block h2{
        margin-bottom:20px;
    }
    .home .row.prestations .block p{
        margin-bottom:10px;
    }
}
@media(min-width:1366px){
    .home .row.prestations .col-sm-4{
        padding-left:30px;
        padding-right:30px;
    }
}
/* Accueil : actualites */
.home section .row .w4pl-inner .post-title::after{
    content:none;
}
.home .row.actualites .post-thumbnail a{
    display:flex;
    align-items:center;
    height:190px;
}
.home .row.actualites .post-thumbnail img{
    width:auto;
    max-height:calc(100%);
}
.home .row.actualites .post-title{
    font-size:1.1em;
    margin-bottom:0;
}
.home .row.actualites .post-title a{
    color:inherit;
}
.home .row.actualites .post-title a:hover{
}
.home .row.actualites .post-date{
    font-size:0.9em;
    font-weight:bold;
    color:#fe9a1e;
    margin-top:5px;
    margin-bottom:15px;
}
.home .row.actualites .post-content p{
    margin-bottom:5px;
}
.home .row.actualites .read_more{
    font-weight:bold;
    font-size:0.9em;
    text-transform:uppercase;
}
.home .row.actualites .btn-primary{
    margin-top:20px;
}
/* Accueil : partenaires */
.home .row.partenaires .carousel{
    margin-top:50px;
}
@media(max-width:768px){
    .home .row.partenaires .carousel .carousel-inner .item .col-xs-6{
        margin-bottom:20px;
    }
}
.home .row.partenaires .carousel img{
    margin-left:auto;
    margin-right:auto;
    max-height:70px;
    text-align:center;
}

/* Contact */
#contact #content{
    padding-bottom:0;
}
.row.contact{
    margin-top:-20px;
}
.row.contact .col-sm-12 > p{
    margin:0;
}
.post-content > .row{
    padding-top:20px;
    padding-bottom:0;
}
.post-content .gmp_map_opts{
    margin-left:-15px;
    margin-right:-15px;
    width:auto!important;
}

/* Formulaire de prescription */
#formulaire-de-prescription p{
    margin:0;
}