/**
 * Copyright 2015 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
*,
*:after,
*::before {

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
main {
    flex: 0 1 auto;
    min-height: calc(100vh - 64px);
}
#visible-password {
    position: absolute;
    right: 20px;
    top: 10px;
    color:#cccccc;
}
 .card-panel.green {color:#fff !important;}
.container {padding-top:40px;padding-bottom:40px;max-width:100%;}
.flex-row {
 display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}
.flex-row .card {
    height:100%;
}
.flexcenter {
display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    width:100%;
    height: 100%;
}
.flexleft {
  display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
        -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}
#progress_background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0 10px;
}
.progress {
    display: none;
    min-height: 16px;
    overflow: hidden;
    position: relative;
    background: rgba(0,0,0,0.03);
    margin:10px 20px;
    width:auto;
}
.progress .determinate {
    width: 0;
    transition: width 1s ease-in-out;
    padding: 0;
    font-size: 10px;
    position: relative;
    color: #fff;
    text-align: right;
    white-space: nowrap;
}

.center {
  text-align:center;
}
img {max-width: 100%;}
/* Buttons */
td, th {
    padding: 10px 5px;
}
h1 {
  font-size:3em;
  font-weight:bold;
}
h3 {
  font-size:1.5em;
}
h4 {
  font-size:1em;
  font-weight:bold;
}
a,
.card .card-action a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-large):not(.btn-floating) {
  color:#d0504a;
}
/* ----------- NOUVEAU ---------*/

.background--cmc {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#2f5384+0,92d6be+100 */
 /* Old browsers */
background-image:url(../images/background.jpg);
background-position: center center;
background-size: cover;
min-height:100vh;
 display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
.overlay {
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.5);
}
.overlay:before,.overlay:after {
  background-size: contain;
  width:30%;
  height:30%;
  position:absolute;
  content:"";
  background-repeat: no-repeat;
}
.overlay:before {
  background-image:url(../images/background-top.png);
  background-position: left top;
  left:0;
  top:0;
}
.overlay:after {
  background-image:url(../images/background-bottom.png);
  background-position: right bottom;
  right:0;
  bottom:0;
}




/*
.boutons-bar .bouton-container:focus,
.boutons-bar .bouton-container .button:focus{
  background: rgba(255,255,255, 0.90);
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); }
}
*/
/*CARD*/

#btn-delete {
    background-color: #b0bec5 ;
}
#btn-delete:hover {
  background:#ff3600;
}
.boutons-bar {
  display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin:30px 0 !important;
  }
  .boutons-bar .bouton-container {margin:0 15px 0 0;}
  .boutons-bar .select-wrapper {
    margin:0 15px 0 0;
    background:#fff;
        -webkit-box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 12%), 0 1px 5px 0 rgb(0 0 0 / 20%);
    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 12%), 0 1px 5px 0 rgb(0 0 0 / 20%);
  }
  .boutons-bar .select-wrapper input.select-dropdown {background:transparent;}
  .boutons-bar .input-field input,
  .boutons-bar .select-wrapper input {margin:0;}
  .boutons-bar .btn-floating {
    width: 46px;
    height: 46px;
    line-height: 46px;
  }
  .boutons-bar .btn-floating i {
    line-height: 46px;
  }
  table .btn-flat i {
    color:#dedede;
  }
  table .btn-flat:hover {
    background:#dedede;
    color:#000;
  }
  table .btn-flat:hover i {
    color:#000;
  }
.dropdown-content {
  min-width:200px;
}
.chips.input-field {margin-top:0;}
.input-field .prefix {
    color: #cccccc;
}
.dropdown-content li > a, .dropdown-content li > span {
    color: #757575;
}
/*
  When creating your CSS selector,
  change "brown" to something of your choosing
  */
  .waves-effect .waves-ripple {
   /* The alpha value allows the text and background color
   of the button to still show through. */
    background-color: rgba(208, 80, 74, 0.65);
  }
input:not([type]),
input[type=text]:not(.browser-default),
input[type=password]:not(.browser-default),
input[type=email]:not(.browser-default),
input[type=url]:not(.browser-default),
input[type=time]:not(.browser-default),
input[type=date]:not(.browser-default),
input[type=datetime]:not(.browser-default),
input[type=datetime-local]:not(.browser-default),
input[type=tel]:not(.browser-default),
input[type=number]:not(.browser-default),
input[type=search]:not(.browser-default),
textarea.materialize-textarea,
.select-wrapper input.select-dropdown,
.chips.input-field {
  font-size: 14px;
    border-bottom: 1px solid #dedede;
    padding-left: 10px;
    padding-right: 10p;
    background: rgba(0,0,0,0.02);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.nav-wrapper .input-field input[type=search] {
  background: rgba(0,0,0,0);
}
.select-wrapper + label,
.input-field.col .select-wrapper + label {
    top: -32px;
    left: .75rem;
}
.select-wrapper input.select-dropdown {
  padding-right:20px;
}
.select-year input.select-dropdown,
.select-month input.select-dropdown{
  padding:0 5px;
}
.input-field.col label {
    left: 1.5rem;
}
.input-field.col .prefix ~ label, .input-field.col .prefix ~ .validate ~ label {
    width: calc(100% - 3rem - 3rem);
}
.input-field > label:not(.label-icon).active {
    -webkit-transform: translateY(-18px) translateX(-11px) scale(0.8);
    transform: translateY(-18px) translateX(-11px) scale(0.8);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
}
@media screen and (max-width: 1024px) {

}
@media screen and (max-width: 760px) {

}
.site-header .bouton-right .button {
  float:right;
      height: 48px;
    line-height: 48px;

}
#project-number {
    display: table;
    width: 100%;
}

#project-number > span{
padding:20px;
display:table-cell;
}
.cell-number {
  background:rgb(208,80,74);
  text-align:center;
  color:rgba(255,255,255,0.48);
}

.txt-button {
    height: 36px;
    margin: 0;
    min-width: 64px;
    padding: 0 16px;
    display: inline-block;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0;
    overflow: hidden;
    outline: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    line-height: 36px;
    vertical-align: middle;
}
.button-fixed-top {
  position:absolute;
  top:0;
  left:50%;
  -webkit-transform: translate(-28px, -28px);
  transform: translate(-28px, -28px);
}



/* ---------- CONNEXION ------------------ */
.connexion-card {
  max-width:350px;
}

/* ---------- TABLE ------------------ */


.header-card, .bottom-card, .card .card-content {
    padding: 30px 40px;
}
.header-card .card-title {margin:0;}
.header-card .bouton-container {
      box-sizing: border-box;
    position: absolute;
    right: 16px;
    top:24px;
}
.header-card {
  border-bottom:1px solid rgba(0,0,0,0.1);
}

.bottom-card {text-align:right;}
.pagination {
  margin-left:30px;
  display:inline;
}
td:first-of-type, th:first-of-type {
    padding-left: 24px;
}
/*
td:last-of-type, th:last-of-type {
    padding-right: 24px;
}
*/
#send_project_form {
  position:fixed;
  right:20px;
  bottom:20px;
}

.boutons-bar {
  margin:0;
  padding:0;
}
.boutons-bar > .col {
      margin-top: 1rem;
    margin-bottom: 1rem;
}
.boutons-bar > .input-field {
  margin-top:0;
  margin-bottom:0;
}

.action > button {
    display: inline-block;
    margin: 0;
    padding: 0;
    width: 30px;
    text-align: center;
}
.datepicker::placeholder {
    opacity: 0;
}
.datepicker::-webkit-datetime-edit{ color: transparent; }
.datepicker::-webkit-datetime-edit,
.datepicker::-webkit-datetime-edit{ color: #000; }

input[type="file"] {
    display: none;
}
.switch label input[type=checkbox]:checked + .lever {
    background-color: #f98080;
}
.upload-file {
  color:#757575;
  border:2px dashed #dedede;
  padding:100px;
  display:inline-block;

}
.upload-file:hover,
.upload-file:focus,
.upload-file.dropping {
  background: rgba(0,0,0,0.1);
}
.upload-file i {font-size: 34px;}

/*NAVBAR*/
nav .brand-logo {font-size:1.5rem;}
nav.navbar {
    z-index: 10;
    transition: box-shadow .3s, background-color .3s;
    padding: 0 20px;
    background-color: #fff;
    color: rgba(0,0,0,0.87);
}
nav .input-field label i,
nav .input-field label.active i  {
    color: rgba(0, 0, 0, 0.7);
}
ul.sidenav.sidenav-fixed li.logo {
    text-align: center;
    margin-top: 32px;
}
#logo-container {
    height: auto;
    margin-bottom: 32px;
}
ul.sidenav.sidenav-fixed li.menu {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
ul.sidenav.sidenav-fixed li.menu a {
    font-size: 13px;
    line-height: 54px;
    height: 54px;
    padding: 0 30px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all .3s ease;
}
ul.sidenav.sidenav-fixed li.menu a i {line-height: 54px;}
ul.sidenav.sidenav-fixed li.menu a:hover,
ul.sidenav.sidenav-fixed li.menu a.active{
  color:#d0504a;
  border-left:5px solid #d0504a;
}

ul.sidenav.sidenav-fixed li.menu a:hover i,
ul.sidenav.sidenav-fixed li.menu a.active i {
  color:#d0504a;
}

/* ARTISANS */
.header-project {
  min-height:40vh;
  background-size: cover;
  background-position: center center;
  padding:15% 10%;
  width:100%;
  color:#fff;
}
.content-header-project {
  padding:40px;
  position: relative;
}
.content-header-project:before {
    content: "";
    background: #d0504a;
    width: 200px;
    height: 200px;
    transform: rotate(-20deg);
    position: absolute;
    left: 0;
    top: -20px;
    z-index: 0;
}
.header-project h3,.header-project h1 {position: relative;}
.header-project h3 {
  margin:0;
}
.header-project h1 {
  margin:0;
}
.infos-project {
  padding:80px 10% 40px;
  background:#fff;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.14);
  position: relative;
}
.infos-project i, .infos-project p {color:#d0504a;}
.infos-project i{
  font-size:40px;
}
.box-container {
    margin: 1em 0 1em;
    padding: 0;
    list-style: none outside;
    clear: both;
    display: grid;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    grid-template-columns: repeat(4,1fr);

}
.box-pdf {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin:0;
    transition: all .3s ease;
}

.box-pdf:hover {
  box-shadow: 0 2px 15px 0 rgb(0 0 0 / 15%);
}
.box-pdf .card-action,
.box-pdf .card-content{
  padding:1em 2em;
}
.box-pdf .card-action a{
      display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-content: space-between;
    -ms-flex-line-pack: justify;
    align-content: space-between;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin:0 !important;
}

.icon-project {
  width:70px;
  height:70px;
  position:absolute;
  left:50%;
  margin-left:-35px;
  margin-top:-115px;
}
.icon-project:before {
    content: "";
    background: #d0504a;
    transform: rotate(45deg);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.project-type {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center center;
    position: relative;
}
.project-type.parcs-dactivites {background-image:url('../images/icon-parcs-activites.png');}
.project-type.immeubles-de-bureaux {background-image:url('../images/icon-bureaux.png');}
.project-type.batiments-cles-en-main {background-image:url('../images/icon-terrain.png');}


.card-project {
  color:#757575;
      display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin:0;
}
.card-project .card-location,
.card-title {color:#000000;font-weight: 500;}
.card-project .card-title {color:#000000;font-weight: 500;}
.card-project .card-image {
  height:160px;
  background-size: cover;
  background-position: center center;
}

.card-project .card-image .icon-project {
  width:50px;
  height:50px;
  left:inherit;
  right:24px;
  bottom:-25px;
  margin: 0
}
.card-project .card-content {
    padding: 24px;
}
/*GOOGLE MAP */
.google-map {
  min-height:400px;
}
.marker-content {
  width:200px;
  text-align: center;
  padding:5px;
}
.marker-image {
    width: 100%;
    height: 100px;
    background-size: cover;
    background-position: center center;
    margin-bottom:10px;
}
.marker-content h4,
.marker-content p {
  margin:5px 0;
}


#project_background_edit_btn {
      position: absolute;
    top: 20px;
    right: 20px;
    background: #343434;
}


/*FILTER*/
.filter {
    padding: 40px 5%;
    background: #fff;
}
#loader {
    display: none;
    position: absolute;
    left: 0px;
    right: 0px;
    height: 100vh;
    align-items: center;
    z-index: 99;
    text-align: center;
    background: rgba(255,255,255,0.8);
    text-align: center;
    padding: 10%;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ripple div {
  position: absolute;
  border: 4px solid #d0504a;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}
@media only screen and (min-width: 601px) {
  .navbar-fixed {
      height: 64px;
  }
}


@media only screen and (min-width: 993px) {

  .has-fixed-sidenav .navbar-fixed nav.navbar {
      width: calc(100% - 300px);
      left: 300px;
  }
  body.has-fixed-sidenav {
      padding-left: 300px;
  }
  .container {
      width: 95%;
  }

}
@media only screen and (max-width: 1200px) {
  .box-pdf-container {
      grid-template-columns: repeat(3,1fr);
  }
}


@media only screen and (max-width: 992px) {
    html {
    font-size: 11px;
}
  nav.navbar {
    padding:0;
  }
    nav form.right {
    width:30%;
  }
  .boutons-bar .input-field {
    margin: 0 0;
    width: 100%;
}
td:first-of-type, th:first-of-type {
    padding-left: initial;
}
  .container {
      width: 100%;
      padding: 20px 10px;
  }
  nav .brand-logo {
      left: 60px;
      -webkit-transform: translateX(0);
      transform: translateX(0);
  }
  .box-container {
      grid-template-columns: repeat(2,1fr);
  }
  .header-project {
    padding:0;
  }
  .content-header-project {
    padding: 0;
    position: relative;
    text-align: center;
    width:100%;
    height:100%;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    transform: rotate(0);
  }
  .content-header-project:before {
    content:"";
    position: absolute;
    opacity:.2;
    background:#000;
    width:100%;
    height:100%;
    left:0;
    top:0;
  }
}

@media only screen and (max-width:420px) {
  .box-container {
      grid-template-columns: repeat(1,1fr);
  }
  .card .card-title {
    font-size: 16px;
    font-weight: 300;
}
}
