/*Big containers*/
.blue-section {
    background-color: #00a7af;
    color: #fff;
}

fieldset {
    min-width: 200px;
    border: 1px solid !important;
    border-color: #e4b900;
    border-radius: 10px;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
}

fieldset legend {
    width: inherit; /* Or auto */
    padding: 0 10px; /* To give a bit of padding on the left and right */
    border-bottom: none;
    color: #00a7af;
    font-weight: lighter;
    text-align: left;
}

/*form errors*/
.form ul {
    list-style: none;
    margin: 0;
}

.form li {
    color: red;
    margin: 0;
    /*display: inline;*/
}

/*Main small elements*/
h2, h5, h3 {
    /*color: #00a7af;*/
    /*TODO chercher si decommenter cette ligne*/
    font-weight: lighter;
}

h2 {
    margin-bottom: 2rem;
}

button {
    border: none;
    border-radius: 5px;
    padding: 15px;
    cursor: pointer;
    /*font-size: 1.2rem;*/
}

/*button:hover {*/
/*    background-color: #00a7af;*/
/*    color: #FFFFFF;*/
/*}*/
.text-align-left {
    text-align: left;
}

.hidden {
    display: none;
}

input[type=radio], input[type=checkbox] {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.btn-confirmer-suppression {
    background-color: #B0413E;
    color: white;
}

.btn-confirmer-suppression:hover {
    background-color: red;
}

.btn-cercle {
    border: 3px solid;
    border-radius: 50%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    float: right;
    max-width: 3rem;
    max-height: 3rem;
}

.btn-copy {
    color: #999999;
}

.btn-copy:hover {
    cursor: pointer;
    color: #00a7af;
}

.btn-supprimer {
    color: #B0413E;
}

.btn-supprimer:hover {
    color: red;
    cursor: pointer;
}

.btn-calendar {
    color: #91405e;

}

.btn-calendar:hover {
    color: #18978F;

}

.modal-title {
    color: #B0413E;
    font-weight: bold;
}

.btn-plus {
    text-align: center;
    margin-top: 2rem;
}

.btn-plus a:hover {
    color: gray;
}

.btn-retour:hover {
    background-color: #e4b900;
    color: white;
}

#btn-to-top {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: white 1px solid; /* Remove borders */
    /*outline: none; !* Remove outline *!*/
    background-color: #00a7af; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
}

#btn-to-top:hover {
    background-color: #91405e; /* Add a dark-grey background on hover */
}

img {
    max-width: 100%;
}

input[type='radio'], input[type=checkbox] {
    transform: scale(1.5);
}


.btn-submit {
    background-color: #00a7af;
    color: white;
    /*color: #e9e9f0;*/
}

.btn-submit:hover {
    box-shadow: 2px 2px 10px #999999;
    background-color: #91405e;
}

/* Flash messages */
.flash-succes {
    background-color: #a3ffc8;
    color: darkgreen;
}

.flash-succes button:hover {
    background-color: #a3ffc8;
}

.flash-echec {
    background-color: #edafb7;
    color: darkred;
}

.flash-echec button:hover {
    background-color: #edafb7;
}

.flash {
    /*padding: 1%;*/
    /*border-radius: 5px;*/
    text-align: center;
    position: relative;
    /*margin: 1rem auto;*/
}

.flash button:hover {
    color: dimgray;
}

.alert {
    margin-bottom: 0;
}

/*Scroll bar*/
/* width */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #AAAAAA;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #00a7af;
}

/* Navigation Bar */
.navbar {
    padding: 0 0 2rem;
}

.navbar-brand {
    font-family: "Ubuntu", sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
}

.nav-item {
    padding: 0 18px;
}

.nav-link {
    font-size: 1.2rem;
    color: white !important;
}

.nav-link:hover {
    color: #e9e9f0 !important;
}

.nav-icon{
    width: 25px;
    margin: 0 4px 4px 0;
}

/*@media only screen and (min-width: 992px) {*/
/*    .navbar .navbar-nav .nav-item .nav-link {*/
/*        padding: 0 0.5rem;*/
/*        margin: 0.5rem;*/
/*    }*/
/*    .navbar .navbar-nav .nav-item:not(:last-child) .nav-link {*/
/*        border-right: 2px solid white;*/
/*    }*/
/*}*/


/*BreadCrumb*/
.breadcrumb {
    background-color: #e4b900;
    border-radius: 0;
    color: black;
}


/*Footer*/
footer {
    padding: 5%;
    text-align: center;
    margin-top: 6rem;
}

/***FORMULAIRE DE RECHERCHE***/

.search-bar {
    border-radius: 10px;
    width: 19.5rem;
}

.filtres_recherche {
    display: flex;
    padding: 3rem;
    flex-wrap: wrap;
    justify-content: left;
    /*align-items: stretch;*/
    background-color: #e4b900;
}

.line-height-2rem {
    line-height: 2rem;

}

.filtres_recherche label {
    margin-right: 0.5rem;
}

.filtres_recherche a {
    margin: auto 0;
}

.filtres_recherche button {
    margin-right: 1rem;
}

.filtres_recherche button:hover {
    background-color: #91405e;
    color: #FFFFFF;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    /*transition: 0.2s;*/
}

.filtres_recherche input[type=date] {
    border-radius: 10px;
    text-align: center;
}

#filtre_dates {
    display: flex;
    flex-wrap: wrap;
}

#filtre_dates input {
    width: 10rem;
    margin-right: 1rem;
}

/***LISTE PROJETS***/
#liste_projets .row {
    justify-content: center;
}

th, td {
    line-height: 2rem;
    border: 1px solid #ddd;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

.table-row:hover {
    background-color: #ddd;
    cursor: pointer;
}

table {
    border-collapse: collapse;
    width: 100%;
    /*max-width: 60rem;*/
}

.table-scroll {
    /*overflow-y: auto;*/
    /*max-height: 30rem;*/
    margin: 0 2rem;
}

th {
    background-color: #00a7af;
    color: #FFFFFF;
}
th:hover{
    cursor: pointer;
}

#liste_projets {
    text-align: center;
}

#liste_projets h3 {
    margin-top: 3rem;
}

#liste_projets button {
    margin-top: 3rem;
    align-content: start;
    font-size: 1.2rem;
}

.cercle-risque {
    border-radius: 50%;
    height: 35px;
    width: 35px;
    margin: auto;
    /*color: {{ projet.risque }}*/
}

.cercle-nb-equipements {
    background-color: #91405e;
    /*float: top;*/
    border-radius: 50%;
    height: 25px;
    width: 25px;
    line-height: 25px;
    font-size: 0.9rem;
    display: inline-block;
    color: white;
    position: absolute;
    z-index: 2;
    transform: translate(50%, 10%);
    margin: 0 -20px;
}

.cercle-status-equipements {
    border-radius: 50%;
    border: 1px solid;
    padding: 0 4px;
    display: inline-block;
    line-height: 1.2rem;
    width: 1.3rem;
    font-weight: bold;
}

.date-livraison {
    margin: 0;
    line-height: 1rem
}


.date-livraison-subtitle {
    font-size: 0.8rem;
    line-height: 1rem;
    margin: 0
}

/*icons description*/
.digi {
    color: #e4b900;
    margin-right: 10px
}

.gray-box {
    background-color: #4b4b4b;
    border-radius: 10%;
    line-height: 25px;
    height: 25px;
    padding: 0 0.2rem;
    display: inline-block;
    color: white;
    font-weight: bold;
    font-size: 0.8rem
}

.purple-border {
    border: #91405e 1px solid;
    border-radius: 10%;
    padding: 5px 5px 5px 20px;
    margin-right: 15px
}

/*Projet Form*/
#creation-projet, #creation-application {
    margin: auto;
}

.projet_form button, .application_form button {
    margin: 2rem 0 3rem;
    padding: 3%;
}

.form {
    border-radius: 5px;
    border: #999999 solid 1px;
    padding: 20px;
    margin: 1rem;
}

.projet_form, .application_form {
    max-width: 50rem;
    text-align: center;
}

.projet_form h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.projet_form select {
    height: 2.5rem;
}

/*DETAILS PROJET*/
.supprimer-projet {
    margin-top: 9rem;
    text-align: left;
    text-decoration: underline;
    color: #B0413E
}

.supprimer-projet:hover {
    color: red;
    cursor: pointer;
}

.buttons-ajout i{
    margin: 2rem 0.2rem 4rem 2rem;

}
.buttons-ajout a:hover {
    color: #999999;
}

#details-projet .row {
    justify-content: center;
}

/*Cards*/
.numberCircle {
    background: #91405e;
    border-radius: 20%;
    width: 2.5rem;
    height: 2rem;
    color: #f1f2f3;
    /*    width: 2.5rem;*/
    /*    height: 2.5rem;*/
    /*    border-radius: 50%;*/
    /*    text-align: center;*/
    /*    font-size: 1.2rem;*/
    position: absolute;
    /*    !*border: 2px solid #3498db;*!*/
    /*    color: white;*/
    /*    font-weight: bold;*/
    /*    background: #B0413E;*/
    /*    padding-top: 8px;*/
    /*    margin: 0 -20px;*/
    z-index: 2;
    transform: translateY(-50%);
    /*    !*line-height: 25px;*!*/
}

.card {
    width: 15rem;
}

/* On mouse-over, add a deeper shadow */
.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

#cards-section {
    border-radius: 5px;
    border: #999999 solid 1px;
    padding: 20px;
    text-align: center;
    max-width: 50rem;
    margin: 1rem;
}

#cards-section button {
    margin-bottom: 2rem;
}

.application {
    background-color: #e4b900;
}

.equipement {
    background-color: #91405e;
    color: #f1f2f3;
}

.equipement:hover {
    color: white;
}

.cadre-remarque {
    border: solid 1px #e9e9f0;
    padding: 5px;
}

.remarques {
    margin: 1rem;
    padding: 1rem;
    text-align: left;
    border: 1px solid #ced4da;
    width: 100%;
    border-radius: 0.25rem;
}
#new-remarque-projet{
    display:none;
}

#add-remarque-projet{
   cursor:pointer;
}


.termine {
    border-radius: 10px;
    border: 1px solid #0e7519;
    /*line-height: 3rem;*/
    /*margin: auto;*/
    color: #0e7519;
    background-color: #b0e8b6;
    font-weight: bold;
    padding: 1rem;
    margin: 0 0 1rem 3rem;
}

/** Application Form **/
.formation-radio-buttons {
    text-align: center;
    max-width: 140px;
    line-height: 1.5rem;
    display: flex;
}

.project-title {
    /*padding: 0.5rem;*/
    background-color: #e4b900;
    border-radius: 5px;
    padding: 1rem;
    margin: 1rem;
    /*color: #fcdb7e;*/
}

.project-title:hover {
    box-shadow: 2px 2px 10px gray;
}

/*Progress BAR*/
.range-labels {
    display: flex;
    justify-content: space-between;
}

.diagonal {
    transform: rotate(-50deg);
    /*-webkit-transform: rotate(-50deg);*/
    width: 70px;
    /*height: 200px;*/
    /*float:left;*/
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: left;
    /*margin-left: -22px;*/

}

.application_form input[type=range] {
    /*-webkit-appearance: none;  !* Override default CSS styles *!*/
    appearance: none;
    width: 92%; /* Full-width */
    height: 3px; /* Specified height */
    background: #d3d3d3; /* Grey background */
    /*outline: none; !* Remove outline *!*/
    opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
    /*-webkit-transition: .2s; !* 0.2 seconds transition on hover *!*/
    /*transition: opacity .2s;*/
    /*width: 10rem;*/
    margin: 1rem auto;
}

/*Equipement form**/
.avancement-equipement {
    /*max-width: 40rem;*/
    margin: auto;
}

.equipement_form {
    text-align: center;
    max-width: 90rem;
    margin: auto;
}

.equipement_form .row {
    justify-content: center;
}

.connexion-inputs label {
    margin: 0 20px 10px 5px;
}

.avancement-equipement label {
    min-width: 100px;
}

.attente-client {
    margin-top: 2rem;
}

.equipement_form input[type=checkbox] {
    margin-left: 15px;
}

.equipement_form h5 {
    margin-top: 2rem;
}

.visite legend {

    font-size: 1.2rem !important;
    color: #91405e;
}

.visite .form-control {
    margin-bottom: 0.2rem;
}

#add_visite {
    margin: 3rem auto 2rem;
}

#add_visite:hover {
    cursor: pointer;
    color: #999999;
}

#btn-cancel-visite {
    padding: 0.5rem;
    margin-top: 1rem;
}

#btn-cancel-visite:hover {
    box-shadow: 2px 2px 10px #999999;
    color: #B0413E;
}

/*Type Range (nb commandés, prêts, installés)*/

.equipement_form input[type=range] {
    /*-webkit-appearance: none;  !* Override default CSS styles *!*/
    appearance: none;
    /*width: 100%; !* Full-width *!*/
    height: 5px; /* Specified height */
    background: #d3d3d3; /* Grey background */
    outline: none; /* Remove outline */
    opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
    -webkit-transition: .2s; /* 0.2 seconds transition on hover */
    transition: opacity .2s;
    width: 10rem;
    margin: 1.5rem;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #00a7af;
    border: 1px solid #00a7af;
    cursor: pointer;
}

input[type=range]::-moz-range-progress {
    background: #00a7af;
/ / this progress background is only shown on Firefox
}

/*Circular progress bar**/
.dashboard {
    display: flex;
}

svg {
    width: 114px;
    height: 114px;
    margin: 1em;
}

.bg {
    fill: none;
    stroke-width: 10px;
    stroke: #bcb8b8;
}

[class^="meter-"] {
    fill: none;
    stroke-width: 10px;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;

}

.meter-1 {
    stroke-dasharray: 360;
    stroke-dashoffset: 100;
    stroke: #00a7af;
    animation: progress-1 1s ease-out;
}

@keyframes progress-1 {
    from {
        stroke-dashoffset: 360;
    }
    to {
        stroke-dashoffset: 100;
    }
}

/*ADD utilisateur form*/
.add-utilisateur-form {
    max-width: 35rem;
    text-align: center;
    margin: auto;
}

.test {
    background-color: white;
    border-radius: 0;
}

.list-utilisateurs {
    max-width: 40rem;
    margin: auto;
    padding: 2rem;
    text-align: center;
}

.list-utilisateurs table {
    text-align: left;
}

/*Login*/
.login-form {
    max-width: 20rem;
    text-align: center;
    margin: 5rem auto;
}

.login-form button {
    margin-top: 2rem;
}

.logo-accueil {
    margin-bottom: 2rem;
}

/*Tooltips*/
.tooltip-inner {
    max-width: 60rem !important;
    height: auto;
    /*font-size: 15px;*/
    padding: 10px 15px 10px 20px;
    background: #FFFFFF;
    color: rgba(0, 0, 0, .7);
    border: 1px solid #00a7af;
}

.tooltip.show {
    opacity: 1;
}

.bs-tooltip-auto[x-placement^=bottom] .arrow::before, .bs-tooltip-bottom .arrow::before {
    border-bottom-color: #00a7af !important;
}

.bs-tooltip-auto[x-placement^=top] .arrow::before, .bs-tooltip-top .arrow::before {
    border-top-color: #00a7af !important;
}

.bs-tooltip-auto[x-placement^=left] .arrow::before, .bs-tooltip-left .arrow::before {
    border-left-color: #00a7af !important;
}

.bs-tooltip-auto[x-placement^=right] .arrow::before, .bs-tooltip-right .arrow::before {
    border-right-color: #00a7af !important;
}

/*Upload DEVIS*/
input[type=file] button {
    color: #B0413E !important;
}

.devis {
    border: #00a7af 1px solid;
    padding: 5px;
    border-radius: 5px;
    margin: 0.2rem;
    width: 14rem;
}

.devis a:hover {
    color: #999999;
}

.supprimer-devis {
    margin: 0 5px 0 10px;
}

input[type=file] {

}

/*TextAreas*/
.edit-link {
    position: absolute;
    text-decoration: underline;
    color: #00a7af;
    right: 0;
    width: 200px;
}

.edit-link:hover {
    color: #91405e;
}

.editable-remarque {
    display: none;
}

.remarques-btn {
    display: none;
    padding: 4px 10px !important;
    margin: 0 !important;
}

.btn-supprimer-remarque:hover {
    background-color: red;
    color: #f1f2f3;
}

/*Projets elimines*/
#projets_elimines {
    text-align: center;
    max-width: 80rem;
    margin: 2rem auto;
}

#sav section {
    text-align: center;
    max-width: 120rem;
    margin: 2rem auto;
}

/*SAV:Equipements en garantie ou contrat de maintenance*/
#sav .search-bar {
    width: 25rem;
    margin: 0.5rem 1rem;
}

#btn-recherche-equipement {
    padding-left: 2rem;
}

#calendrier-sav {
    margin-top: 10rem;
}

/* ======= DASHBOARD ======= */
.dashboard-menu {
    padding: 0;
}

.dashboard-menu a {
    padding: 2rem;
    font-weight: bold;
    color: #00a7af;
}

.dashboard-menu a:hover {
    background-color: #91405e;
    color: white;
}

a.active {
    background-color: #91405e;
    color: white;
}

/***Logs***/
#logs {
    margin: 2rem auto;
    text-align: center;
}

#logs .filtres_recherche {
    padding: 1rem;
    margin-bottom: 1rem !important;
}

/***à commander***/
#a-commander {
    padding: 2rem;
    width: 90%;
    text-align: center;
    margin: auto;
}

.cards-commandes {
    border-radius: 5px;
    border: #999999 solid 1px;
    padding: 30px;
    text-align: center;
    max-width: 50rem;
    margin: auto;
    align-content: center;
}

#a-commander .row {
    justify-content: center;
}

#a-commander h5 {
    /*margin-bottom: 2rem;*/
    display: inline-block;
}

#a-commander table {
    margin-bottom: 2rem;
}

#a-commander a:hover {
    color: #999999;
}

#a-commander h4 {
    margin-top: 4rem;
}

.btns-en-ligne {
    padding: 2rem;
}

.selected {
    background-color: #91405e !important;
    color: white !important;
    /*text-decoration: none !important;*/
}
.bold {
    font-weight: bold;
}
#a-commander .card {
    width: 100%;
    margin-top: 1rem;
}

.textarea-link, .link {
    text-decoration: underline;
    color: #00a7af;
    /*flex-wrap: wrap;*/
}
.textarea-link:hover{
    color: #91405e;
}

.map-section  {
    text-align: center;
        margin: auto;
}

.map-section iframe {
    margin: 2rem;
}