/* CSS Document */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i&display=swap');

/*---masquage admin menu---*/
#toolbar-administration {
    display: none;
}
body.toolbar-tray-open.toolbar-vertical.toolbar-fixed {
    margin-left: 0;
}
body,
.adminimal-admin-toolbar.toolbar-fixed.toolbar-vertical {
    padding: 0 !important;
}
/*---fin masquage admin menu---*/

/*///////////////////////////////////////*/
/* ///// Mise en page paragraphes ///// */
/*/////////////////////////////////////*/
.para-photo-img {
    display: flex;
    align-items: center;
    justify-content: center;
}
.para-photo-legende {
    margin: 5px 0 15px 0;
    text-align: center;
    font-size: 12px;
}
/*photo à droite*/
.pos-photo-3 .para-photos {
    float: right;
    max-width: 40%;
    margin: 20px 0 20px 2%;
}
/*photo à gauche*/
.pos-photo-4 .para-photos {
    float: left;
    max-width: 40%;
    margin: 20px 2% 20px 0;
}
/*photo en haut et en bas*/
.pos-photo-1 .para-photos,
.pos-photo-2 .para-photos{
    clear: both;
    width: 100%;
    margin: 20px 0;
}
.pos-photo-1 .para-photos:after,
.pos-photo-2 .para-photos:after{
    content: '';
    clear: both;
}
.pos-photo-1.nb-photos-1 .para-photos .para-photo,
.pos-photo-2.nb-photos-1 .para-photos .para-photo {
    max-width: 50%;
    margin: 0 auto;
}
.pos-photo-1.nb-photos-2 .para-photos .para-photo,
.pos-photo-2.nb-photos-2 .para-photos .para-photo {
    float: left;
    width: 47%;
    margin: 0 1.5%;
}
.pos-photo-1.nb-photos-3 .para-photos .para-photo,
.pos-photo-2.nb-photos-3 .para-photos .para-photo {
    float: left;
    width: 30%;
    margin: 0 1.5%;
}
.pos-photo-1.nb-photos-4 .para-photos .para-photo,
.pos-photo-2.nb-photos-4 .para-photos .para-photo,
.pos-photo-1.nb-photos-more .para-photos .para-photo,
.pos-photo-2.nb-photos-more .para-photos .para-photo{
    float: left;
    width: 22%;
    margin: 0 1.5%;
}
.pos-photo-1.nb-photos-more .para-photos .para-photo:nth-child(4n+1),
.pos-photo-2.nb-photos-more .para-photos .para-photo:nth-child(4n+1) {
    clear: both;
}

img[data-align="center"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
img[data-align="right"] {
    float: right;
}
img[data-align="left"] {
    float: left;
}

.paragraphes table tr td {
    padding: 10px;
    border: 1px solid #eee;
}
.paragraphes table {
    margin-bottom: 30px;
}
.paragraphes ul li {
    padding-left: 15px;
}
.paragraphes ul li:before {
    content: '• ';
    color: #333;
}
/* Fin paragraphes */

body {
    font-family: 'FONT GLOBALE', sans-serif;
    font-size: 14px;
}
strong {
    font-weight: 700;
}
em {
    font-style: italic;
}

/*--- HEADER ---*/

header{
    background-color: #333;
    padding: 1rem 0 0;
}
header .region-header{
    margin: 0 2.5em;
}
header .region-header h1{
    display: inline-block;
    font-weight: 300;
    margin-bottom: 1rem;
    font-size: 2.35em;
    line-height: 1.2em;
    font-family: "Open Sans", sans-serif;
    color: #fff;
}

header .block-superfish {
    width: 100%;
}
header .block-superfish ul.sf-menu li {
    display: inline-block;
    float: none;
}

header .block-superfish ul li a {
    padding: 15px;
    text-align: center;
    text-decoration: none;
}


/*--- HOMEPAGE ---*/
.extranet-bati-confort-connexion-form{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #333;
}
.extranet-bati-confort-connexion-form form{
    background-color: #fff;
    padding: 20px 25px;
    border-radius: 10px;
    border: 5px solid #a3bf2b;
    width: 300px;
    max-width: 100%;
    position: relative;
}
.extranet-bati-confort-connexion-form form::before{
    content: '';
    position: absolute;
    top: -130px;
    left: 0;
    width: 100%;
    height: 110px;
    background-image: url(../images/interface/logo-baticonfort.png);
    background-repeat: no-repeat;
    background-position: 50% 0;
}
.extranet-bati-confort-connexion-form form .form-item{
    display: flex;
    flex-direction: column;
}
.extranet-bati-confort-connexion-form form .form-item input{
    padding: 6px 10px;
    margin: 4px 0 0 0;
}
.extranet-bati-confort-connexion-form form .form-actions input{
    border: 0;
    width: 100%;
    height: 32px;
    background-color: #a3bf2b;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}
.path-frontpage .messages{
    position: relative;
    z-index: 1;
}


/*--- MENU GAUCHE ---*/
.layout-container{
    display: flex;
}
.menu-g-container{
/*    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;*/
    flex: 0 0 250px;
    z-index: 555;
    background-color: #333;
}
.menu-g-container::before {
    content: '';
    background-color: #333;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    box-shadow: -2px 2px 12px rgba(0,0,0,0.85);
    z-index: -1;
}
.menu-g-container .region-menu-left{
    background-color: #333;
}
.page-extranet-content-container{
    width: 100%;
}

.bati-confort-recherche-projets-form-container{
    padding-top: 130px;
    background-image: url(../images/interface/logo-baticonfort.png);
    background-repeat: no-repeat;
    background-position: 50% 15px;
}

.bati-confort-recherche-projets-form-container form fieldset legend{
    position: relative;
    background-color: #808080;
    padding: 0 10px 0 25px;
    width: 100%;
}
.bati-confort-recherche-projets-form-container form fieldset legend span{
    display: flex;
    width: 100%;
    align-items: center;
    height: 32px;
    font-family: "Open Sans", sans-serif;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
}
.bati-confort-recherche-projets-form-container form fieldset legend::before{
    position: absolute;
    top: 14px;
    left: 7px;
    content: '';
    width: 0; 
    height: 0; 
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #fff;
}
.bati-confort-recherche-projets-form-container form fieldset .form-item.form-type-checkbox{
    border-bottom: 1px solid #808080;
    padding: 10px 10px 10px;
    margin: 0;
    display: flex;
    align-items: center;
}
.bati-confort-recherche-projets-form-container form fieldset .form-item.form-type-checkbox input.form-checkbox{
    display: none;
}
.bati-confort-recherche-projets-form-container form fieldset .form-item.form-type-checkbox label{
    position: relative;
    color: #fff;
    flex: 1 0 100%;
    padding: 0 0 0 30px;
    cursor: pointer;
}
.bati-confort-recherche-projets-form-container form fieldset .form-item.form-type-checkbox label::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -8px;
    width: 19px;
    height: 17px;
    background-image: url(../images/interface/check.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    transition: 250ms ease all;
}
.bati-confort-recherche-projets-form-container form fieldset .form-item.form-type-checkbox input.form-checkbox:checked ~ label::before{
    background-position: 0 -30px;
}
.bati-confort-recherche-projets-form-container form .form-actions input{
    display: none;
}
.bati-confort-recherche-projets-form-container .bloc-recherche-motcle .form-item{
    padding: 10px 16px;
    position: relative;
}
.bati-confort-recherche-projets-form-container .bloc-recherche-motcle .form-item .loupe-search{
    position: absolute;
    top: 50%;
    right: 25px;
    margin-top: -10px;
    display: block;
    width: 20px;
    height: 20px;
    background-image: url(../images/interface/loupe.png);
    background-repeat: no-repeat;
    background-position: 100% 50%;
}
.bati-confort-recherche-projets-form-container .bloc-recherche-motcle input.form-text{
    width: 100%;
    padding: 8px 35px 8px 10px;
    border-radius: 5px;
    border: 0;
}

.ajax-progress{
    position: fixed;
    top: 0;
    left: 250px;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 554;
}
.ajax-progress.ajax-progress-throbber .throbber{
    background: transparent url(../images/interface/ajax-loader.gif) no-repeat 0px center;
    padding: 16px;
}


/* RANGES */
.noUi-target.noUi-horizontal{
    border: 0;
    height: 24px;
    margin: 20px 25px 30px;
    box-shadow: none;
    border-radius: 10px;
}
.noUi-target.noUi-horizontal .noUi-base .noUi-connects {
    background: #808080;
}
.noUi-target.noUi-horizontal .noUi-base .noUi-connects .noUi-connect {
    background: #ffffff;
}
.noUi-target.noUi-horizontal .noUi-handle {
    border-radius: 18px;
    border: 0 !important;
    background: #a3bf2b !important;
    width: 34px !important;
    height: 34px !important;
    cursor: pointer !important;
    box-shadow: none;
}
.noUi-target.noUi-horizontal .noUi-handle::before,
.noUi-target.noUi-horizontal .noUi-handle::after {
    display: none;
}
.noUi-target.noUi-horizontal .noUi-handle .noUi-tooltip{
    bottom: -30px;
    color: #fff;
    background-color: transparent;
    border: 0;
}


/*--- CONTENT ---*/

main {
    clear: both;
}
main{
    padding: 20px 20px;
}


/* Les projets */

.block-local-actions-block{
    float: right;
    margin-top: -20px;
    margin-bottom: 20px;
}
.block-local-actions-block .action-links{
    margin: 0;
}
.block-local-actions-block .action-links li a{
    display: block;
    background-color: #a3bf2b;
    color: #fff;
    padding: 3px 20px;
}
.block-local-actions-block .action-links li a.users-list::before{
    content: '\f007';
    font-family: 'FontAwesome';
}
.block-local-actions-block .action-links li a.user-logout{
    background-color: #df3a2b;
}
.block-local-actions-block .action-links li a.user-logout::before{
    content: '\f08b';
    font-family: 'FontAwesome';
}

.bati-confort-extranet-projets table{
    margin: 20px 10px 2px 0;
    width:100%;
    border: 1px solid #c8c8c8;
}
.bati-confort-extranet-projets table.sticky-header{
    margin-top: 0px;
}
.bati-confort-extranet-projets table thead th{
    background-color: #f0f0f0;
    border: 0px;
    font-family: 'Montserrat', sans-serif;
    font-size:14px;
    color: #282828;
    font-weight: 600;
    padding: 10px 8px;
    text-align: left;
}
.bati-confort-extranet-projets table tbody td{
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #282828;
    font-weight: 400;
    line-height: 20px;
    padding: 4px 8px;
    vertical-align: middle;
}
.bati-confort-extranet-projets table tbody{
    border-top: 1px solid #c8c8c8;
}
.bati-confort-extranet-projets table tbody tr{
    border: 0px;
    cursor: pointer;
    transition: 100ms linear 0s;
}
.bati-confort-extranet-projets table tbody tr.odd{
    background-color: #ffffff;
}
.bati-confort-extranet-projets table tbody tr.even{
    background-color: #f0f0f0;
}
.bati-confort-extranet-projets table tbody tr:hover{
    background-color: #e0e0e0;
}

.projets-detail{
    display: flex;
    font-family: "Open Sans", sans-serif;
    color: #282828;
    font-size: 16px;
    font-weight: 400;
    padding: 40px 0;
    width: 100%;
}
.projets-detail .projet-photos{
    flex: 0 1 auto;
    margin: 0 20px 30px 0;
    max-width: 680px;
}
.projets-detail .projet-photos img{
    border: 1px solid #848484;
}
.projets-detail .projet-photos .photos-petites{
    display: flex;
    flex-wrap: wrap;
}
.projets-detail .projet-photos .photos-petites a{
    display: block;
    max-width: 200px;
    margin: 20px 20px 0 0;
}
.projets-detail .projet-caracs{
    flex: 1 0 auto;
    padding: 0 20px 0 0;
}
.projets-detail .projet-caracs .titre-caracs{
    text-transform: uppercase;
    margin: 0px 0 10px 0;
    font-size: 18px;
    font-weight: 600;
}
.projets-detail .projet-caracs .list-caracs .carac{
    margin: 0 0 8px 0;
}
.projets-detail .projet-caracs .list-caracs .carac .label{
    font-weight: 600;
}

.projets-detail .lien-document a,
.projets-detail .lien-retour a{
    display: inline-block;
    background-color: #333333;
    color: #fff;
    padding: 10px 20px 10px 40px;
    text-decoration: none;
    margin: 20px 20px 16px 0;
    background-image: url(../images/interface/ico-doc.png);
    background-repeat: no-repeat;
    background-position: 10px 50%;
}
.projets-detail .lien-retour a{
    padding: 10px 20px 10px 20px;
    background-image: none;
}
.projets-detail .lien-edit a{
    display: inline-block;
    background-color: #a3bf2b;
    color: #fff;
    padding: 10px 20px 10px 40px;
    text-decoration: none;
    background-image: url(../images/interface/ico-edit.png);
    background-repeat: no-repeat;
    background-position: 10px 50%;
}


/* Pager */
.pager__items {
  margin: 0.25em 0 0.25em 1.5em; /* LTR */
  padding: 0;
}
[dir="rtl"] .pager__items {
  margin: 0.25em 1.5em 0.25em 0;
}
.pager__item {
  display: inline-block;
  color: #757575;
  font-size: 1.08em;
  margin: 0;
  padding: 0 0.4em;
}
.pager__item a {
  border-bottom: 2px solid transparent;
  line-height: 1.55em;
  padding: 0 5px 2px;
  font-weight: 600;
  text-decoration: none;
  transition: border-bottom-color 0.2s;
  -webkit-font-smoothing: antialiased;
}
.pager__item.is-active a {
  border-bottom-width: 3px;
  border-bottom-color: #2a678c;
  color: #2a678c;
  font-weight: 700;
}
.pager__item a:hover,
.pager__item a:focus {
  border-bottom-color: #3395d2;
  color: #3395d2;
}
.pager__item--next a,
.pager__item--last a,
.pager__item--first a,
.pager__item--previous a {
  border-bottom-width: 0;
  color: #2a678c;
}


/*--- FOOTER ---*/

footer {
    clear: both;
    color: #fff;
    background-color: #242727;
}
footer .gl-copy {
    padding: 15px 0 25px 0;
    text-align: center;
    font-size: 13px;
    line-height: 22px;
    border-top: 1px solid #565656;
}
footer .gl-copy img {
    margin-bottom: -5px;
}
footer .gl-copy a {
    color: #fff;
}