.woocommerce_ups_please_select_access_point, #bloc_adress_missing_ups {
  border: 1px red solid;
  color: red;
  padding: .1rem;
  width: 100%;
  text-align: center;
  margin: 1rem 0;
}

#bloc_open_modal_options_uap {
  text-indent: initial;
}

#cp_search_pts{
  color: black!important;
}

.modal-backdrop{
  z-index: inherit!important;
}
.vertical-alignment-helper {
    display:table;
    height: 100%;
    width: 100%;
}
.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
}
/******MODAL CARRIERS FRONT*****/
#ups_access_point_modal .modal-content{
  position: relative;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 6px;
  outline: 0;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
  /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
   width:inherit;
   height:inherit;
   /* To center horizontally */
   margin: 0 auto;
}
#ups_access_point_modal .modal-header{
  display: block;
}
.modal-open {
  overflow: hidden;
}
.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100!important;
  display: none;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}
#ups_access_point_modal .modal .modal-body .infosWindows .row{
  margin: 0;
}
#ups_access_point_modal .modal.fade .modal-dialog {
  -webkit-transition: -webkit-transform .3s ease-out;
  -o-transition:      -o-transform .3s ease-out;
  transition:         transform .3s ease-out;
  -webkit-transform: translate(0, -25%);
  -ms-transform: translate(0, -25%);
  -o-transform: translate(0, -25%);
  transform: translate(0, -25%);
}
#ups_access_point_modal .modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
}
#ups_access_point_modal .modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
#ups_access_point_modal .modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
}
#ups_access_point_modal .modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* z-index: 1040; */
  background-color: #000;
}
#ups_access_point_modal .modal-backdrop.fade {
  filter: alpha(opacity=0);
  opacity: 0;
}
#ups_access_point_modal .modal-backdrop.in {
  filter: alpha(opacity=50);
  opacity: .5;
}
#ups_access_point_modal .modal-header {
  min-height: 16.42857143px;
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
}
#ups_access_point_modal .modal-header .close {
  margin-top: -2px;
  color:black!important;
}
#ups_access_point_modal .modal-title {
  margin: 0;
  line-height: 1.42857143;
}
#ups_access_point_modal .modal-body {
  position: relative;
  padding: 15px;
}
#ups_access_point_modal .modal-footer {
  padding: 15px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}
#ups_access_point_modal .modal-footer .btn + .btn {
  margin-bottom: 0;
  margin-left: 5px;
}
#ups_access_point_modal .modal-footer .btn-group .btn + .btn {
  ;
}
#ups_access_point_modal .modal-footer .btn-block + .btn-block {
  margin-left: 0;
}
#ups_access_point_modal .modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}
@media (min-width: 768px) {
  #ups_access_point_modal .modal-dialog {
    width: 600px;
    margin: 30px auto;
  }
  #ups_access_point_modal .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
  }
  #ups_access_point_modal .modal-sm {
    width: 300px;
  }
}
@media (min-width: 992px) {
  #ups_access_point_modal .modal-lg {
    width: 900px;
  }
}

#ups_access_point_modal .col-md-4 {
  width: 33.33333%;
}

#ups_access_point_modal .col-md-8 {
  width: 66.66667%;
}

#ups_access_point_modal .col-md-4, #ups_access_point_modal .col-md-8{
  float: left;
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}


#ups_access_point_modal .modal-body .row{
  margin: 0;
}

#bottom_modal_info{
  background: #F6F5F3;
  border: 1px solid #00000024;
  margin: 5px;
  padding: 5px;
}

.ups_home_options{
  border: 1px solid #4e270045;
  margin: 0;
  margin-bottom: 0px;
  margin-bottom: 10px;
  padding: 5px;
}

.ups_ap_map_infowindow_heading{
  color: #864402;
  padding-bottom: 5px;
  border-bottom: 1px solid brown;
  margin-bottom: 5px!important;
}

.ups_ap_map_infowindow_address{
  color: #864402;
  font-weight: bold;
}


/******BTN OPEN MODAL******/
#btn_bloc_open_modal_options_uap{
  width: 100%;
  background: #351c15 url('../img/ups_btn_logo.jpg') no-repeat center left!important;
  background-size: contain!important;
  border-radius: 5px!important;
  border-top: 5px solid #feb500!important;
  color: white!important;
  margin: 5px 0 5px 0;
}

#bloc_open_modal_options_uap {
  text-indent: initial;
}

#ups_ap_mode{
  width: 100%;
  height: 40vh;
  overflow: auto;
  border: 1px solid #835b1730;
}

#ups_ap_mode .infosWindows .row{
  margin: 0;
}

#ups_ap_mode img.upsAccessPointImg {
  border: 1px solid #0000004d;
  position: relative;
  width: 100% !important;
  height: 50% !important;
  min-height: 175px !important;
  top: 0;
  bottom: 0;
}

#ups_ap_mode img.upsAccessPointImg_Empty {
  border: 1px solid #0000004d;
  margin-left: 5px;
  position: relative;
  width: 100% !important;
  height: 9vw !important;
  min-height: 110px;
  top: 0;
  bottom: 0;
  margin: auto auto auto 5px;
  background: #fff url(../img/ups_logo.png) no-repeat fixed center;
  background-size: auto;
}

#ups_ap_mode h1.firstHeading {
  font-size: 1.3em;
}

#ups_ap_mode .subtitle {
  font-weight: bold;
}

#ups_ap_mode .infosWindows {
  clear: both;
  min-height: 150px!important;
}

#ups_ap_mode .maplistwindow{
  width: 100%!important;
  margin: auto!important;
  border-bottom: 1px dashed #00000026;
  padding-bottom: 5px;
}

#ups_ap_mode .shop_infos{
  width:100%!important;
  display:
}

#ups_ap_mode p.hours_AP{
  margin:0!important;
}

/*------Loader UPS-------*/
.modal-body .container {
  height: 100%;
  width: 100%;
  display: table;
  overflow: hidden;
  position: absolute;
}
.modal-body .container .car-wrapper {
  display: table-cell;
  vertical-align: middle;
  width: 100%;
}

.car {
  width: 20em;
  height: 12.5em;
  position: relative;
  opacity: 1;
  margin-left: auto;
  margin-right: auto;
  z-index: 4;
  -webkit-animation: carMove 0.3s infinite;
  -moz-animation: carMove 0.3s infinite;
  -ms-animation: carMove 0.3s infinite;
  -o-animation: carMove 0.3s infinite;
  animation: carMove 0.3s infinite;
}
.car .body {
  position: absolute;
  top: 0;
  left: 0.875em;
  width: 14.375em;
  height: 10em;
  background: #341b14;
}
.car .body:before {
  content: "";
  position: absolute;
  left: -0.875em;
  border-radius: 10px 10px 0 0;
  width: 15.875em;
  z-index: 2;
  height: 0.75em;
  background: #cc8606;
}
.car .body div {
  position: absolute;
  background: #341b14;
  width: 18.125em;
  height: 3.75em;
  bottom: -0.625em;
  border-radius: 0 0 10px 10px;
}
.car .body div:before {
  content: "";
  background: #341b14;
  position: absolute;
  top: -1.8125em;
  right: 0px;
  width: 5em;
  height: 2.5em;
  z-index: 1;
  border-radius: 0 14px 0 0;
  -webkit-transform: rotate(17deg);
  -moz-transform: rotate(17deg);
  -ms-transform: rotate(17deg);
  -o-transform: rotate(17deg);
  transform: rotate(17deg);
}
.car .body div:after {
  content: "";
  background: #341b14;
  position: absolute;
  top: -5.125em;
  right: 1.0625em;
  width: 5.625em;
  height: 2.5em;
  z-index: 1;
  border-radius: 10px 0 0 0;
  -webkit-transform: rotate(75deg);
  -moz-transform: rotate(75deg);
  -ms-transform: rotate(75deg);
  -o-transform: rotate(75deg);
  transform: rotate(75deg);
}
.car .wheel {
  position: absolute;
  width: 3.75em;
  height: 3.75em;
  background: #3c464c;
  border-radius: 50%;
  bottom: 0;
  left: 3em;
  z-index: 14;
  -webkit-animation: carMove 0.3s 0.2s;
  -moz-animation: carMove 0.3s 0.2s;
  -ms-animation: carMove 0.3s 0.2s;
  -o-animation: carMove 0.3s 0.2s;
  animation: carMove 0.3s 0.2s;
}
.car .wheel:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #ccc;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.car .wheel:nth-of-type(2) {
  left: 13.125em;
}
.car .decos {
  width: 18.125em;
  height: 10.5em;
  position: absolute;
  z-index: 12;
  top: 0;
  left: 0.875em;
}
.car .line-bot {
  position: absolute;
  bottom: 0.5625em;
  height: 3px;
  width: 100%;
  background: #cc8606;
}
.car .door {
  position: absolute;
  left: 7.5em;
  bottom: 0;
  width: 3.75em;
  height: 8.8125em;
  border-radius: 10px 10px 0 0;
  border: 3px solid #634307;
  border-bottom: 0;
  background: #47241b;
}
.car .door:after {
  content: "";
  position: absolute;
  top: 0.375em;
  left: 0.4375em;
  width: 2.875em;
  height: 2.5em;
  border-radius: 4px;
  background: #5bc2ef;
}
.car .door .handle {
  position: absolute;
  right: 0.625em;
  top: 4.375em;
  width: 0.625em;
  height: 0.625em;
  background: #cc8606;
  border-radius: 50%;
}
.car .door .handle:after {
  content: "";
  width: 1.25em;
  height: 0.25em;
  border-radius: 10px;
  background: #cc8606;
  position: absolute;
  top: 50%;
  left: -0.3125em;
  margin-top: -0.125em;
}
.car .door .bottom {
  position: absolute;
  bottom: 0.375em;
  left: 0.6875em;
  width: 2.375em;
  height: 0.75em;
}
.car .door .bottom:before, .car .door .bottom:after {
  content: "";
  display: block;
  width: 100%;
  height: 0.1875em;
  background: #cc8606;
  height: 0.25em;
  border-radius: 10px;
  margin-bottom: 0.25em;
}
.car .window {
  position: absolute;
  top: 1.125em;
  left: 12.5em;
  width: 2em;
  background: #5bc2ef;
  height: 4.5em;
  border-radius: 10px 10px 0 10px;
}
.car .window:before {
  content: "";
  width: 100%;
  height: 1.25em;
  background: #5bc2ef;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.9375em;
  border-radius: 0 10px 10px 10px;
}
.car .window:after {
  content: "";
  height: 1.25em;
  background: #5bc2ef;
  position: absolute;
  top: 1.0625em;
  left: -0.8125em;
  width: 4.1875em;
  transform-origin: bottom;
  -webkit-transform: rotate(74deg);
  -moz-transform: rotate(74deg);
  -ms-transform: rotate(74deg);
  -o-transform: rotate(74deg);
  transform: rotate(74deg);
  border-radius: 10px 10px 10px 10px;
}
.car .light {
  position: absolute;
  width: 0.625em;
  height: 0.625em;
  background: #cc8606;
  right: 3.75em;
  bottom: 3.125em;
  border-radius: 3px;
}
.car .light-front {
  position: absolute;
  width: 0.5em;
  height: 0.5em;
  background: #ff8c40;
  right: -0.1875em;
  bottom: 3.5625em;
  border-radius: 3px;
}
.car .light-front:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #ff8c40;
  top: 100%;
  height: 0.9375em;
  border-radius: 3px;
  margin-top: 2px;
}
.car .antenna {
  position: absolute;
  width: 1.625em;
  height: 0.625em;
  background: #341b14;
  bottom: 100%;
  left: 1.0625em;
  border-radius: 4px 4px 0 0;
}
.car .antenna:before {
  content: "";
  position: absolute;
  width: 2.375em;
  height: 0.25em;
  background: #341b14;
  bottom: 0;
  left: -1.375em;
  -webkit-transform: rotate(55deg);
  -moz-transform: rotate(55deg);
  -ms-transform: rotate(55deg);
  -o-transform: rotate(55deg);
  transform: rotate(55deg);
  -webkit-transform-origin: right;
  -moz-transform-origin: right;
  -ms-transform-origin: right;
  -o-transform-origin: right;
  transform-origin: right;
  border-radius: 4px;
}
.car .ups_logo_car {
  position: absolute;
  left: 1.875em;
  top: 1.875em;
  width: 4.375em;
  height: 4.975em;
  background: url(../img/ups_logo_svg.svg);
  background-size: cover;
}

.wind {
  position: absolute;
  z-index: -1;
  right: 100%;
  height: 100%;
  margin-right: -1.25em;
}
.wind .p {
  position: absolute;
  background: #ccc;
  border-radius: 0.625em;
  height: 0.625em;
}
.wind .p1 {
  width: 4.375em;
  position: absolute;
  right: 0;
  top: 1.5625em;
  animation: wind 1s -1s linear infinite;
}
.wind .p2 {
  width: 6.25em;
  right: 2.5em;
  top: 3.75em;
  animation: wind 1s -2s linear infinite;
}
.wind .p3 {
  width: 3.125em;
  right: 0;
  top: 6.5625em;
  animation: wind 1s -1s linear infinite;
}
.wind .p4 {
  width: 3.75em;
  right: 6.25em;
  top: 8.4375em;
  animation: wind 1s 1s linear infinite;
}
.wind .p5 {
  width: 4.375em;
  right: 1.875em;
  top: 9.0625em;
  animation: wind 1s -1.5s linear infinite;
}

.car-wrapper_inner {
  position: relative;
  z-index: 4;
}

@keyframes carMove {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-1px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes wind {
  0% {
    transform: translateX(100%);
    opacity: 1;
  }
  100% {
    transform: translateX(-400%);
    opacity: 0;
  }
}
.car_outter {
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
  transform: translateX(-100%);
  position: relative;
  animation: carDrive 5s 1s cubic-bezier(0.88, 0.08, 0.16, 1.1) infinite;
}

@keyframes carDrive {
  0% {
    transform: translateX(-100%);
  }
  25% {
    transform: translateX(0%);
  }
  70% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(100%);
  }
}
@keyframes bgIn {
  0% {
    left: 100%;
  }
  100% {
    left: -100%;
  }
}
@keyframes wrapperIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


/*****RESPONSIVE*****/
@media only screen and (max-width: 991px) {
  #ups_ap_mode, #upslocatormap, #upslocatorlst{
    height: 30vh;
  }
}
