.custom-select {
    display: inline-block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem 1.75rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    vertical-align: middle;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right .75rem center/8px 10px no-repeat !important;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.btn-check:checked + .btn-type {
    background-color: #f47341;
    border-color: #fdd26c;
}

.btn-check:not(:checked) + .btn-type {
    background-color: #acacac;
    border-color: #888;
}

#form-estimation .form-group {
    margin-top: .7rem !important;
}

#form-estimation button, #form-estimation-infos button {
    background-color: #f47341;
    border-color: #fdd26c;
    max-width: 800px !important;
    color: white;
    font-weight: 400;
    letter-spacing: -.2px;
    text-transform: uppercase;
    font-size: 1.3rem;
    margin-top: 2rem;
}

#form-estimation button:hover, #form-estimation-infos button:hover {
    background-color: #f75d21;
    border-color: #fcc443;
}

/*************************
*  Formulaire de contact
*************************/
* { box-sizing:border-box; }
/* form starting stylings ------------------------------- */
.contact-group 			  { 
  position:relative; 
  margin-bottom:45px; 
}
.contact-group input 				{
  font-size:15px;
  padding:10px 10px 5px 5px;
  display:block;
  width:100%;
  border:none;
  border-bottom:1px solid #aaaaaa;
  background-color: var(--bg-light)
}

.contact-group textarea {
  border-bottom:1px solid #aaaaaa;
}

.contact-group input:focus 		{ outline:none; }

/* LABEL ======================================= */
.contact-group label 				 {
  color:#999; 
  font-size:14px;
  font-weight:normal;
  position:absolute;
  pointer-events:none;
  left:5px;
  top:10px;
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}

/* active state */
.contact-group :focus ~ label, .contact-group input:valid ~ label 		{
  top:-20px;
  font-size:14px;
  color:#fda015;
}

/* BOTTOM BARS ================================= */
.contact-group .bar 	{ position:relative; display:block; }
.contact-group .bar:before, .contact-group .bar:after 	{
  content:'';
  height:2px; 
  width:0;
  bottom:1px; 
  position:absolute;
  background:rgb(245, 156, 22); 
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}
.contact-group .bar:before {
  left:50%;
}
.contact-group .bar:after {
  right:50%; 
}

/* active state */
.contact-group input:focus ~ .bar:before, input:focus ~ .bar:after {
  width:50%;
}

/* HIGHLIGHTER ================================== */
.highlight {
  position:absolute;
  height:60%; 
  width:100px; 
  top:25%; 
  left:0;
  pointer-events:none;
  opacity:0.5;
}

/* active state */
input:focus ~ .highlight {
  -webkit-animation:inputHighlighter 0.3s ease;
  -moz-animation:inputHighlighter 0.3s ease;
  animation:inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
	from { background:#f8c6697a; }
  to 	{ width:0; background:transparent; }
}
@-moz-keyframes inputHighlighter {
	from { background:#f8c6697a; }
  to 	{ width:0; background:transparent; }
}
@keyframes inputHighlighter {
	from { background:#f8c6697a; }
  to 	{ width:0; background:transparent; }
}
.contact-group textarea {
    display: block;
    background: none;
    padding: 0.125rem 0.125rem 0.0625rem;
    border-width: 0;
    border-color: transparent;
    line-height: 1.9;
    width: 100%;
    -webkit-transition: all 0.28s ease;
    transition: all 0.28s ease;
    box-shadow: none;
}
.contact-group textarea:focus ~ label,
.contact-group textarea:valid ~ label,
.contact-group textarea.form-file ~ label,
.contact-group textarea.has-value ~ label {
    font-size: 14px;
    ;
    color: gray;
    top: -1rem;
    left: 5px;
}
.contact-group textarea:focus {
    outline: none;
}
.contact-group textarea:focus ~ label {
    color: #fda015;
}
.contact-group textarea:focus ~ .bar::before {
    width: 100%;
    left: 0;
}

#form-estimation-infos .btn {
    background-color: #e2673a;
    color: white;
    width: 100%;
    text-align: center;
    transition: all 0.01s ease;
}

#form-estimation-infos .btn:hover {
    background-color: #f05720;
    box-shadow:
    0px 0px 80px rgba(0, 0, 0, 0.13)
    ;
}

#form-estimation-infos {
    border-radius: .7rem !important;
}

.contact-conseiller-checkbox input[type=checkbox] {
    transform: scale(1.5);
    width: auto;
}


/***
loading 
**/
:root {
    --light-color: rgba(255, 203, 107, 0.2);
    --dark-color: rgb(240, 130, 28);
    --radius: 64px;
    --ring-width: 4px;
  }
  /* reset */
  * {
    margin: 0;
    padding: 0;
  }
  /* loading element style */
  .loading {
    width: var(--radius);
    height: var(--radius);
    border-radius: 50%;
    border: var(--ring-width) solid var(--light-color);
  }
  
  .loading:before {
    display: block;
    position: relative;
    left: calc(var(--ring-width) * -1);
    top: calc(var(--ring-width) * -1);
    content: ' ';
    width: var(--radius);
    height: var(--radius);
    border-radius: 50%;
    border: var(--ring-width) solid;
    border-color: var(--dark-color) transparent transparent transparent;
    animation: loading-rotate .8s ease-out infinite;
  }
  
  @keyframes loading-rotate {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }


/**
range
**/
.custom-range {
    width: 100%;
    padding: 0;
    background-color: #f09e47a6;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 10px;
}


.container 		{ 
  font-family:'Roboto';
}
h2 		 { 
  text-align:center; 
  margin-bottom:50px; 
}
h2 small { 
  font-weight:normal; 
  color:#888; 
  display:block; 
}
.footer 	{ text-align:center; }
.footer a  { color:#53B2C8; }

/* form starting stylings ------------------------------- */
.group 			  { 
  position:relative; 
  margin-bottom:45px; 
}
input 				{
  font-size:18px;
  padding:10px 10px 10px 5px;
  display:block;
  width:300px;
  border:none;
  border-bottom:1px solid #757575;
}
input:focus 		{ outline:none; }

/* LABEL ======================================= */
.label 				 {
  color:#999; 
  font-size:18px;
  font-weight:normal;
  position:absolute;
  pointer-events:none;
  left:5px;
  top:10px;
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}

/* active state */
input:focus ~ .label, input:valid ~ .label 		{
  top:-20px;
  font-size:14px;
  color:#5264AE;
}

/* BOTTOM BARS ================================= */
.bar 	{ position:relative; display:block; width:300px; }
.bar:before, .bar:after 	{
  content:'';
  height:2px; 
  width:0;
  bottom:1px; 
  position:absolute;
  background:#5264AE; 
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}
.bar:before {
  left:50%;
}
.bar:after {
  right:50%; 
}

/* active state */
input:focus ~ .bar:before, input:focus ~ .bar:after {
  width:50%;
}

/* HIGHLIGHTER ================================== */
.highlight {
  position:absolute;
  height:60%; 
  width:100px; 
  top:25%; 
  left:0;
  pointer-events:none;
  opacity:0.5;
}

/* active state */
input:focus ~ .highlight {
  -webkit-animation:inputHighlighter 0.3s ease;
  -moz-animation:inputHighlighter 0.3s ease;
  animation:inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
	from { background:#5264AE; }
  to 	{ width:0; background:transparent; }
}
@-moz-keyframes inputHighlighter {
	from { background:#5264AE; }
  to 	{ width:0; background:transparent; }
}
@keyframes inputHighlighter {
	from { background:#5264AE; }
  to 	{ width:0; background:transparent; }
}

.dd-option-text, .dd-selected-text {
  display: inline !important;
  line-height: 15px !important;
  font-size: 13px !important;
}
