/* LIGHTBOX */
.pcm-overlay {
  background: url(/sites/www.sierraclub.org/themes/dotOrg/images/pcm-overlay/mask.png);
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000030;
}
.pcm-overlay  .box {
  position: absolute;
  background: white;
  background-position: center center;
  left: 50%;
  margin-left: -125px;
  top: 20px;
  width: 250px;
  height: 250px;
}
.pcm-overlay  .pcm-buttons {
  text-align: center;
  padding-top: 12px;
} 
 
.pcm-overlay  h2 {
  display: none;
}
  
.pcm-overlay  .text {
  color: #231f20;
  text-align: center;
  font-size: 17px;
  line-height: 1.4;
  padding: 20px 18px;
}
.pcm-overlay  .disclaimer {
  line-height: 1.2;
  padding: 10px 35px 20px;
}
.pcm-overlay  .fields-wrapper {
  text-align: center;
  padding-bottom: 20px;
}
.pcm-overlay  input.email {
  color: #707070;
  background: #fff;
  border: 2px solid #7a7a7a !important;
  padding: 0 8px;
  font-family: inherit;
  line-height: 26px;
  height: 26px;
  position: relative;
  top: -1px;
  width: 300px;
  margin-right: 20px;
  display: inline-block;
}
.pcm-overlay  input.button {
  font-family: inherit;
  font-size: 1.4em;
  padding: 2px 12px;
  color: #fff;
  background: #4f904d;
  border: none;
  text-transform: uppercase;
  display: inline-block;
  width: auto;

}    
.pcm-overlay  input.button:hover, .pcm-overlay  input.button:focus {
  display: inline-block;
  background: #3f733e;
}
.pcm-overlay a.pcm-close {
  position: absolute;
  top: -12px;
  right: -13px;
  width: 26px;
  height: 24px;
  background: url(/sites/www.sierraclub.org/themes/dotOrg/images/pcm-overlay/close.png) no-repeat;
  overflow: hidden;
  text-indent: -1000em;
}
.pcm-overlay .error-container {
  color: red;
  text-align: center;
}
.pcm-overlay  .scstandard-button.lightbox-link.rsvp {
  width: 65%; font-size: 24px; margin-bottom: 0px; padding-left: 10px; padding-right: 10px;
}
.pcm-overlay  .scstandard-button.lightbox-link.donate {
  font-size: 16px;
  display:inline-block;
}

// lightbox on mobile
@media (max-width: 640px), (max-height: 599px) {
  .pcm-overlay .box {
    background: #fff url(/sites/www.sierraclub.org/themes/dotOrg/images/pcm-overlay/background-mobile.jpg) no-repeat;
    width: 300px;
    height: 240px;
    left: 50%;
    margin: 0 0 0 -150px;
  }
  

  .pcm-overlay .success {
    background: #fff;
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 40px 40px;
    z-index: 2;
    text-align: center;
  }  
  .pcm-overlay  #pcm-signup {
    position: absolute;
    left: 16px;
    top: 115px;
    width: 263px;    
    background: none;
  }
  
  .pcm-overlay    h2 {
    display: none;
  }
  .pcm-overlay    #pcm-signup {
    background: #fff;
    bottom: 20px;
    left: 20px;
    right: 20px;
    top: 60px;
    opacity: .95;
  }
  .pcm-overlay    .pcm-buttons {
    text-align: center;
    padding-top: 6px;
    line-height: 1.2;
  }
  .pcm-overlay .scstandard-button.lightbox-link.rsvp {
    width: 60%;
    font-size: 18px;
    margin-bottom: 6px;
    padding-left: 10px;
    padding-right: 10px;    
  }
  .pcm-overlay    .text {
    padding: 15px 15px 18px;
    font-size: 12px;
  }
  .pcm-overlay    .text     .second-sentence {
      display: inline; 
  }
  .pcm-overlay    .text    .buttons {
      marging-top: 6px;
  }
  .pcm-overlay    input.email {
    padding: 0 8px;
    width: 220px;
    margin: 10px auto;
    display: block;
  }
  .pcm-overlay       input.button {
    font-size: 1.2em;
  }
  .pcm-overlay        .fields-wrapper {
    padding-bottom: 10px;
  }    
}

/* MOBILE & BASIC SET UP */
.pcm-overlay a:link, .pcm-overlay a, .pcm-overlay a:visited { color: black; }
.pcm-overlay .close { opacity: 1; }

/* orange #e95e11, blue #0d3661 */
.pcm-overlay h2 { font-family: ProximaNova-Regular, arial, helvetica, sans-serif; display: block; color: #0d3661; }
.pcm-overlay h2 span {font-family: ProximaNova-Bold, arial, helvetica, sans-serif; }
.lb-signup { background: white; opacity: .8; margin: 10px; height: 135px}
.lb-signup-text { text-align: center;  padding: 0 8px; font-size: medium }
.lb-signup-text h2 { text-transform: uppercase !important; font-size: large; line-height: 115%;}
.lb-buttons { width: 200px; margin: 0 auto;}
div#zone-footer .lb-signup-text P { margin-bottom: 8px; line-height: 110%; margin-bottom: 15px; font-size: 13px; padding: 0 20px; color: #000 }

/* #blue 72cdd0,62a8aa  #orange d36b17, ad4d09 */
.lb-signup-text .lb-buttons a.scstandard-button.lightbox-link, .lb-signup-text .lb-buttons a.scstandard-button.lightbox-link:link { background-color: #d36b17; border-color: #ad4d09; background-image: none; box-shadow: none; font-size: 1.2em; border-width: 2px; padding: 0.1em 10%; color: white; }
#lb-box-link { display:block;position: absolute;width: 90%;height: 90%;;margin: 5% ;z-index: 100; }

/* DESKTOP SETUP */
@media (min-width: 641px) and (min-height: 600px) {
  .pcm-overlay .box { 
    width: 600px;
    height: 500px;  
    background-color: white;
    background-position: center center;
    background-size: auto;
    top: 20%;
    left: 50%;
    margin: 0 0 0 -300px;    
  }

  /*adjust margin-top & height of signup and top of signup-text*/
  .lb-signup { margin-top: 233px; margin-bottom: 0; height: 145px; background: white; opacity: .8; }
  
  .lb-signup-text { position: absolute; top: 250px; text-align: center; padding: 0 28px }
  .lb-signup-text h2 { display: block; text-transform: uppercase !important; font-family: ProximaNova-Regular ; font-size: 22px; line-height: 22px; margin-bottom: 8px; padding-bottom: 0px }
  .lb-signup-text H2 { margin-top: 0; }
  .lb-signup-text P { line-height: 125%; font-size: 17px; }
  .lb-buttons { width: 250px; margin: 0 auto;}
  .lb-signup-text .lb-buttons a.scstandard-button:link, .lb-signup-text a.scstandard-button { padding: 0.1em 10%; border-width: 2px; font-size: 1.4em }
}


/* BOOSTRAP MODAL*/

// Modal / Lightbox
.modal .close {
  right: 20px;
}

.modal-backdrop {
  background-color: #000000;
  border-radius: 1px;
}
.modal-backdrop.in {
  opacity: .8;
}

.modal-dialog {
  margin: 50px auto;
}
@media (min-width: 1200px) {
.modal-dialog {
    margin: 149px auto;
    max-width: 1000px;
    width: 100%;
}
}

.modal-content {
  border: none;
  border-radius: 1px;
  box-shadow: none;
  margin: 20px;
  padding: 30px;
}
.modal-content  p {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  color: #69813a;
}
  @media (min-width: 1200px) {
.modal-content  p {
    font-size: 22px;
}
  }

.modal-title {
  color: #808f96;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 20px;
}
  @media (min-width: 1200px) {
.modal-title {
    font-size: 40px;
}
  }

svg#icon-close {
  color: white;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 1px solid white;
  margin: 10px;
  border-radius: 2px;
}
.modal.fade.in button.close { opacity: 1;}

