/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10042;
  overflow: hidden;
  position: fixed;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(2px);
}

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-preloader { display:none; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 10045;
}

.mfp-hide {
  display: none !important; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; }
 }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }

  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }

  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }

  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; }
 }

.mfp-ie7 .mfp-img {
  padding: 0; }
.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px; }
.mfp-ie7 .mfp-container {
  padding: 0; }
.mfp-ie7 .mfp-content {
  padding-top: 44px; }
.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0; }
  
body .mfp-iframe-holder .mfp-content {
    max-width: 920px;
    background: #fff;
    height: auto;
    padding: 20px;
    width: calc(100% - 46px);
    min-height: 300px;
    border: 3px solid #57ab27;
    position: relative;
    height: calc(100% - 6px);
}

body .mfp-iframe-holder .mfp-content .mfp-iframe-scaler iframe {
    overflow: hidden;
    padding: 0 20px 0 0;
    font-size: 0.8em;
    height: calc(100% - 76px);
    border: none;
    width: calc(100% - 40px);
    position: absolute;
    box-shadow: none;
    background: none;
    left: initial;
    top: 56px;
    padding: 0px;
}









.alert-popup-bootstrap {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.2);
  outline: 0;
  padding: 1rem;
  border: 1px solid #008132;
  border-radius: 0;
  margin:auto;

  max-width: 500px;
  margin: 1.75rem auto;
}

.alert-popup-bootstrap .mfp-close {
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  float: right;
  text-decoration: none;
  color: #008132;
  font-size: 2rem;
  position: absolute;
  right: 23px;
  top: 13px;
  font-weight: 300;
  background-color:white;
}

.alert-popup-bootstrap .modal-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
  border-bottom: 0;
}

.alert-popup-bootstrap .modal-header .close { display:none; }

.alert-popup-bootstrap .modal-title {
  font-size: 1rem;
  clear: both;
  padding-top: 20px;
  margin-bottom: 0;
  margin-top:0;
  line-height: 1.5;
  width:100%;
  text-align: center;
  font-weight: 500;
}

.alert-popup-bootstrap .modal-body {
  clear:both;
  position: relative;
  flex: 1 1 auto;
  padding: 1rem;
}

.alert-popup-bootstrap .modal-body p {
  font-size:16px;
  font-weight:300;
  margin:0;
}

.alert-popup-bootstrap .modal-body .actions {
  text-align: center;
}

.alert-popup-bootstrap .modal-body .actions .btn {
  padding: 10px 40px;
  margin: 0 5px 15px 0;
  font-size: 1rem;

  opacity: 1 !important;
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.alert-popup-bootstrap .modal-body .actions .btn.btn-secondary,
.alert-popup-bootstrap .modal-body .actions .btn.btn-secondary:active,
.alert-popup-bootstrap .modal-body .actions .btn.btn-secondary:focus {
  color: #008132;
  background-color: #FFFFFF;
  border-color: #008132;
  border-bottom: 4px solid #008132;
}

.alert-popup-bootstrap .modal-body .actions .btn.btn-secondary:hover,
.alert-popup-bootstrap .modal-body .actions .btn.btn-secondary:active:hover,
.alert-popup-bootstrap .modal-body .actions .btn.btn-secondary:focus:hover {
  color: #FFFFFF;
  border-color: #006025;
  background-color: #006025;
}

.alert-popup-bootstrap .modal-body .actions .btn.btn-primary,
.alert-popup-bootstrap .modal-body .actions .btn.btn-primary:active,
.alert-popup-bootstrap .modal-body .actions .btn.btn-primary:focus {
  color: #fff;
  background-color: #008132;
  border-color: #008132;
  border-bottom: 4px solid #006025;
  box-shadow: none;
}

.alert-popup-bootstrap .modal-body .actions .btn.btn-primary:hover,
.alert-popup-bootstrap .modal-body .actions .btn.btn-primary:active:hover,
.alert-popup-bootstrap .modal-body .actions .btn.btn-primary:focus:hover {
  background-color: #006025;
  border-color: #006025;
}



#popin-password {
  width:500px;
  text-align: center;
  font-weight: 300;
}

.overrideBootstrapModal { width:100% !important; }

@media only screen and (max-width: 980px) {

  .mfp-wrap {
    position:fixed !important;
    top:0 !important;
  }

  #popin-password {
    width: 100%;
  }
}



#popin-password .actions {
  margin-top: 2rem;
  margin-bottom: 0;
}

#popin-password form {
  max-width: 300px;
  margin: auto auto 20px auto;
}
#popin-password form p {
  text-align: center;
  line-height: 24px;
  margin-top: 0;
  margin-bottom: 1rem;
}

#popin-password form .form-group {
  margin-bottom: 1rem!important;
}

#popin-password form .form-group input {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  appearance: none;
  outline: none;
  border-radius: 0.25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;

  border: 1px solid #008132;
  font-size: 0.9rem;
}

#popin-password p.mute {
  text-align: center;
  max-width: 400px;
  margin: auto;
  font-size: 0.8rem;
  color: #6f6f6f;
}

#popin-password p.mute a {
  color: #6f6f6f;
  display: block;
  text-decoration: underline;
}

#popin-password .invalid-feedback {
  width: 100%;
  margin-top: 0.25rem;
  color: #dc3545;
  display: block;
  font-size: 0.8rem;
  line-height: 19.2px;
}

#popin-password .d-none {
  display: none!important;
}


#alert-rdv-cancel .actions {
  margin-top:2rem;
}

#tunnel-close .actions { display:flex;flex-direction:row;gap:10px;justify-content:center; }