.w-lg-50 {
  width: 50% !important;
}

.display-reverse-direction {
  flex-direction: row !important;
}

@media screen and (min-width: 200px) and (max-width: 600px) and (orientation:portrait) {
  .bg-image-index {   
    /* background-image: url('./../img/S3_900x1200.webp');     */
  }  
  .bg-image-contact {   
    background-image: url('./../img/extragarantie-online-site-contact-800x600.jpg');    
    background-position: center top;
  }  
  div.mask{
      background-color: rgb(0 0 0 / 40%) !important;
  }
  .w-sm-100{
    width: 100% !important;
  }
  .w-lg-50 {
    width: 100% !important;
  }
  
  .display-reverse-direction {
    flex-direction: column-reverse !important;
  }
}

@media screen and (min-width: 200px) and (max-width: 1023px) and (orientation:landscape) {
  .bg-image-index {   
    /* background-image: url('./../img/S3_900x1200.webp');     */
  }  
  .bg-image-contact {   
    background-image: url('./../img/extragarantie-online-site-contact-800x600.jpg');   
    background-position: center top;
  }  
  div.mask{
      background-color: rgb(0 0 0 / 40%) !important;
  }
  .w-md-75{
    width: 75% !important;
  }
  .w-lg-50 {
    width: 75% !important;
  }
}

@media screen and (min-width: 601px) and (max-width: 1023px) and (orientation:portrait) {
  .bg-image-index {   
    /* background-image: url('./../img/S3_900x1200.webp');     */
    background-position: center top;
  }  
  .w-md-75{
    width: 75% !important;
  }
  .w-lg-50 {
    width: 75% !important;
  }
  
}



.select-wrapper{
  margin-bottom: 1.5rem !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.file-upload-default-message{
  color: #2b1a1a;
}

.file-upload-cloud-icon{
  color: #C20E1A;
}

.lightbox-gallery {
    /*background-image: linear-gradient(#4A148C, #E53935);*/
    background-repeat: no-repeat;
    color: #000;
    overflow-x: hidden
}

.lightbox-gallery p {
    color: #fff
}

.lightbox-gallery h2 {
    font-weight: bold;
    margin-bottom: 40px;
    padding-top: 40px;
    color: #fff
}

@media (max-width:767px) {
    .lightbox-gallery h2 {
        margin-bottom: 25px;
        padding-top: 25px;
        font-size: 24px
    }
}


.lightbox-gallery .gallery {
    padding-bottom: 20px
}

.lightbox-gallery .gallery-item {
    padding-bottom: 30px;
    /*background-color: white;*/
    background-color: transparent;
    padding: 10px;
    width: 100%;
    /*box-shadow: 0 0 10px rgb(0 0 0 / 10%);*/
    cursor: pointer;
   
}


.form-check {
  position: relative;
  display: block;
  padding-left: 0;
}

[type="checkbox"]:not(:checked), [type="checkbox"]:checked {
  position: absolute;
  pointer-events: none;
  opacity: 0;
}

input[type="checkbox"] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
}

.form-check-input {
  position: absolute;
  margin-top: .3rem;
  margin-left: -1.25rem;
}

.form-check-input[type="checkbox"] + label:before, .form-check-input[type="checkbox"]:not(.filled-in) + label:after, label.btn input[type="checkbox"] + label:before, label.btn input[type="checkbox"]:not(.filled-in) + label:after {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  content: "";
  border: 2px solid #C20E1A;
  border-radius: 1px;
  -webkit-transition: .2s;
  transition: .2s;
}

.form-check-input[type="checkbox"]:not(.filled-in) + label:after, label.btn input[type="checkbox"]:not(.filled-in) + label:after {
  border: 0;
  -webkit-transform: scale(0);
  transform: scale(0);
}

.form-check-input[type="checkbox"] + label:before, .form-check-input[type="checkbox"]:not(.filled-in) + label:after, label.btn input[type="checkbox"] + label:before, label.btn input[type="checkbox"]:not(.filled-in) + label:after {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  content: "";
  border: 2px solid #C20E1A;
  border-radius: 1px;
  -webkit-transition: .2s;
  transition: .2s;
}

.form-check-input[type="checkbox"] + label, label.btn input[type="checkbox"] + label {
  position: relative;
  display: inline-block;
  height: 1.5625rem;
  padding-left: 35px;
  line-height: 1.5625rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.form-check-input[type="checkbox"]:checked + label:before, label.btn input[type="checkbox"]:checked + label:before {
  top: -4px;
  left: -5px;
  width: 12px;
  height: 1.375rem;
  border-top: 2px solid transparent;
  border-right: 2px solid #C20E1A;
  border-bottom: 2px solid #C20E1A;
  border-left: 2px solid transparent;
  -webkit-transform: rotate(40deg);
  transform: rotate(40deg);
  -webkit-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.form-check-input[type="checkbox"]:not(.filled-in) + label:after, label.btn input[type="checkbox"]:not(.filled-in) + label:after {
  border: 0;
  -webkit-transform: scale(0);
  transform: scale(0);
}

.dataTables_length, .dataTables_filter{
    width: 30% !important;
}

.dt-buttons{
    width: 40% !important;
    text-align: center!important;
    margin-top: 1rem!important;
        
}

.text-ariston{
  color: #ad0021 !important;
}
.text-ariston-success{
  color: #2e9a13 !important;
}


.btn-custom-ariston-modal {
  font-family: "proxima-nova-bold", sans-serif;
  color: #cfdadc;
  background-color: #ad0021;
  font-size: 0.8rem;
  letter-spacing: 0.1rem;
}

.btn-custom-ariston-modal:hover {
  color: white;
}

.btn-custom-ariston-success-modal {
  font-family: "proxima-nova-bold", sans-serif;
  color: #cfdadc;
  background-color: #2e9a13;
  font-size: 0.8rem;
  letter-spacing: 0.1rem;
}

.btn-custom-ariston-success-modal:hover {
  color: white;
}


.dt-button{
    font-family: "proxima-nova-bold", sans-serif !important;
    color: #cfdadc !important;
    background-color: #ad0021 !important;
    font-size: 1.2rem !important;
    letter-spacing: 0.1rem !important;
    box-shadow: 0 4px 10px 0 rgb(0 0 0 / 20%), 0 4px 20px 0 rgb(0 0 0 / 10%);
}

.dt-button:hover {
  background-color: #de002a !important;
  color: white !important;
}

.page-item.active .page-link{
     background-color: #ad0021 !important;
}

.page-link:hover {
    background-color: #de002a !important;
    color: white;
}

.dataTables_paginate .pagination .paginate_button:hover{
    border: 1px solid transparent !important;
    background: transparent !important;
    box-shadow: none !important;
}

.btn-outline-light:hover{
    background-color: #ad0021 !important;
    border-color: #ad0021 !important;
}

.form-select{
    border-color: #ad0021 !important;
}



.form-outline-select2{
  position: relative;
}

.form-outline-select2 .form-control {
    min-height: auto;
    padding: .33em .75em;
    border: 0;
    background: transparent;
    transition: all .2s linear;
}

.form-outline-select2 .form-control~.form-label {
    position: absolute;
    top: 0;
    left: .75rem;
    padding-top: .37rem;
    pointer-events: none;
    transform-origin: 0 0;
    transition: all .2s ease-out;
    color: rgba(0,0,0,.6);
    margin-bottom: 0;
}