/* payments popup */
.paymentsPopUp {
    background:rgba(0,0,0,.4);
    height:100%;
    position:fixed;
    text-align:center;
    top:0;
    left: 0;
    width:100%;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
    z-index:10000;
    display: none;
}

.paymentsPopUp .helper{
    display:inline-block;
    height:100%;
    vertical-align:middle;
}
.paymentsPopUp > div {
    background-color: whitesmoke;
    box-shadow: 10px 10px 60px #555;
    display: inline-block;
    max-width: 551px;
    vertical-align: middle;
    width: 55%;
    position: relative;
    border-radius: 5px;
    padding: 0 2.5%;
    margin-left: -1%;
}
.popUpClose{
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    top: 0.5em;
    right: 0.5em;
    position: absolute;
    font-size: 2em;
    border-radius: 100%;
    border-color: black;
    border-width: 5px;
    background-color: whitesmoke;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
    color: black !important;
    height: 40px;
    width: 40px;
}
.popUpClose:hover {
    background-color: rgba(220,220,220, 1)
}

/* trigger popup button */
.triggerPopUp {
    box-sizing: border-box;
    cursor: pointer;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    margin: 4px;
    font-weight: bold;
    padding: 0 1rem;
    background-color: #dd3d53;
    border-radius: 3px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
    text-transform: uppercase;
    width: 75%;
}
.triggerPopUp:hover {
    background-color: #c82333;
    color: #fff !important;
}
.triggerPopUp:hover .triggerPopUpText {
    color: #fff;
}
.triggerPopUp .triggerPopUpText {
    margin-right: 10px;
}
.triggerPopUp .heart-icon {
    height: 1.65em;
    width: 1.65em;
}
.triggerPopUp .heart-icon #svgHeartButton {
    animation-duration: 1.5s;
    animation-name: pulseHeartButton;
    animation-iteration-count: infinite;
    animation-direction: normal;
}

/* widget */
.widgetFrame {
    width: 100%;
    border: 0;
}

/* nagging popup */
.nagPopUp {
    background-color: #dd3d53;
    position: fixed;
    bottom: 2em;
    right: 2em;
    font-size: 1em;
    border-radius: 5px;
    color: white;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
    overflow: -moz-hidden-unscrollable;
    z-index: 10000;
    display: none;
}

.nagText {
    box-sizing: border-box;
    padding: 0.75em 3em;
    margin: 10px 0;
    max-width: 440px;
    font-size: 14px;
    font-weight: 600;
}
.nagSelection {
    cursor: pointer;
    width: 50%;
    color: white;
    text-align: center;
    padding: 0.75em 0;
    display: inline-block;
    border-width: 1px;
    border-style: solid;
    border-color: #cacfd6;
    font-size: 14px;
    position: relative;
}
.nagSelection p {
    margin: 5px 0;
}
.nagSelectionRight {
    background-color: #f5455d;
    transition: background-color 0.4s ease;
    border-bottom-right-radius: 9px;
    border-bottom-width: 0;
    border-right-width: 0;
    font-weight: 600;
}
.nagSelectionLeft {
    transition: background-color 0.4s ease;
    border-bottom-left-radius: 9px;
    border-bottom-width: 0;
    border-right-width: 0;
    border-left-width: 0;
}
.nagSelectionRight:hover {
    background-color: #c82333;
}
.nagSelectionLeft:hover {
    background-color: #c82333;
}
.nagButtonContainer {
    display: flex;
    padding: 0;
}
.nagPopUp #svgHeartPulse {
    animation-duration: 3s;
    animation-name: fadeHeartIcon;
    animation-iteration-count: infinite;
    animation-direction: normal;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
}

/* embed form */
.embed-currency-input {
    position: relative;
    margin: 4px;
    width: 25%;
}
.embed-currency-input span {
    color: #797979;
    position: absolute;
    right: 10px;
    top: 50%;
    font-weight: 600;
    transform: translateY(-50%);
}
.embed-amount-input {
    box-sizing: border-box;
    font-size: 1em;
    height: 3.25em;
    border-radius: 0.3rem;
    border: none;
    padding: 2px 25px 2px 10px;
    width: 100%;
}
.embed-amount-input:focus {
    outline: 0;
    border-radius: 0.3em;
    border: 1px solid #4dc0b5;
}
.embed-input-and-submit-group {
    display: flex;
}
.embed-button-group{
    display: flex;
}
.embed-button {
    box-sizing: border-box;
    appearance: none;
    background-color: transparent;
    border: 1px solid #4dc0b5;
    border-radius: 0.3em;
    cursor: pointer;
    display: flex;
    font-size: 1em;
    margin: 4px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    width: 25%;
    font-weight: normal;
    height: 3.25em;
    padding: 2px 5px;
}
.embed-button:hover,
.embed-button:focus,
.embed-button.selected {
    color: #fff;
    outline: 0;
}
.embed-button-text {
    margin: auto !important;
    pointer-events: none;
}
.animate-button {
    color: #fff;
    background-image: linear-gradient(45deg, #4dc0b5 50%, transparent 50%);
    background-position: 100%;
    background-size: 400%;
    transition: background 300ms ease-in-out;
}
.animate-button:hover,
.animate-button.selected{
    background-position: 0;
}

/* loading ring */
.donationPopUpLoadingRing {
  display: inline-block;
  width: 80px;
  height: 80px;
}
.donationPopUpLoadingRing:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid #fff;
  border-color: #fff transparent #fff transparent;
  animation: loadingRing 1.2s linear infinite;
}

/* animations */
@keyframes pulseHeartButton {
  0% {
    transform: scale(.9);
  }
  20% {
    transform: scale(1);
  }
  40% {
    transform: scale(.9);
  }
  60% {
    transform: scale(1);
  }
  80% {
    transform: scale(.9);
  }
  100% {
    transform: scale(.9);
  }
}
@keyframes fadeHeartIcon {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  100% {
    transform: translate(-50%, -50%) scale(10);
    opacity: 0;
  }
}
@keyframes loadingRing {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* responsive styles */
@media (max-width : 590px) {
    .nagPopUp {
        bottom: 0.5em;
        right: 0.5em;
    }
    .paymentsPopUp > div {
        width: 90%;
    }
    #svgHeartPulse {
        top: 72%;
    }
}
@media (max-width : 400px) {
    .nagPopUp {
        width: 90%;
        right: 5%;
        left: 5%;
    }
    .nagText {
      padding: 1rem;
    }
}
@media (max-width : 350px) {
    #svgHeartPulse {
        top: 77%;
    }
}

/**
* V2 / pop up with image / full screen
**/

.fox-background {
    background-image: url('/shared/assets/fox.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.fox-background::after {
    content: "";
    background: #0c3632;
    position: absolute;
    opacity: .85;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transition: all .25s ease;
    z-index: -1;
}

.paymentsPopUpFullScreen {
    height:100%;
    position:fixed;
    text-align:center;
    top:0;
    left: 0;
    width:100%;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
    z-index:10000;
    display: none;
}

.paymentsPopUpFullScreen .helper{
    display:inline-block;
    height:100%;
    vertical-align:middle;
}

.paymentsPopUpFullScreen > div {
    background-color: white;
    box-shadow: 10px 10px 60px #555;
    display: inline-block;
    max-width: 730px;
    vertical-align: middle;
    width: 100%;
    height: 482px;
    position: absolute;
    border-radius: 15px;
    padding: 1% 1.5%;
    min-height: 302px;
    top: 5%;
    left: 50%;
}

.paymentsPopUpFullScreen > div > iframe {
    height: 100%;
    overflow-y: scroll;
}

.popup-org-logo {
    position: absolute;
    top: 5%;
    left: 4%;
    width: 100px;
}

.popUpCloseFullScreen {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    bottom: 3%;
    left: 4%;
    position: absolute;
    font-size: 1em;
    color: white !important;
}

.popUpCloseFullScreen:hover {
    filter: brightness(90%);
}

.paymentsPopUpFullScreen > div > iframe::-webkit-scrollbar {
    -webkit-appearance: none;
}

.paymentsPopUpFullScreen > div > iframe::-webkit-scrollbar:vertical {
    width: 11px;
}

.paymentsPopUpFullScreen > div > iframe::-webkit-scrollbar:horizontal {
    height: 11px;
}

.paymentsPopUpFullScreen > div > iframe::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid white; /* should match background, can't be transparent */
    background-color: rgba(0, 0, 0, .4);
}

.paymentsPopUpFullScreen > div > iframe::-webkit-scrollbar-track { 
    background-color: #fff; 
    border-radius: 8px; 
} 

@media (max-width : 1470px) {
    .paymentsPopUpFullScreen > div {
        left: 24%;
    }
}

@media (max-width : 1250px) {
    .paymentsPopUpFullScreen > div {
        left: 21%;
    }
}

@media (max-width : 1150px) {
    .paymentsPopUpFullScreen > div {
        left: 18%;
    }
}

@media (max-width : 1050px) {
    .paymentsPopUpFullScreen > div {
        left: 15%;
        top: 15%;
    }
}

@media (max-width : 1000px) {
    .paymentsPopUpFullScreen > div {
        height: 90%;
        top: 5%;
    }

    .popup-org-logo {
        display: none;
    }

    .popUpCloseFullScreen {
        left: 1%;
        bottom: 96%;
    }

}

@media (max-width : 950px) {
    .paymentsPopUpFullScreen > div {
        left: 10%;
    }
}

@media (max-width : 850px) {
    .paymentsPopUpFullScreen > div {
        left: 6%;
    }
}

@media (max-width : 800px) {
    .paymentsPopUpFullScreen > div {
        left: 4%;
    }
}

@media (max-width : 770px) {
    .paymentsPopUpFullScreen > div {
        left: 1%;
    }
}

@media (max-width : 750px) {
    .paymentsPopUpFullScreen > div {
        left: 2px;
    }
}

@media (max-width : 733px) {
    .paymentsPopUpFullScreen > div {
        left: 0;
    }
}

@media (max-width : 640px) {
    .paymentsPopUpFullScreen > div {
        top: 0%;
        border-radius: 0;
        height: 100%;
    }

    .popUpCloseFullScreen {
        display: none;
    }
}

@media screen and (max-height: 910px) and (min-width: 1000px){
    .popup-org-logo {
        top: 2%;
        left: 1%;
    }

    .popUpCloseFullScreen {
        left: 1%;
    }

    .paymentsPopUpFullScreen > div {
        top: 0;
        height: 100%;
    }

}

@media (max-height : 950px) {
    .paymentsPopUpFullScreen > div {
        max-height: 850px;
    }
}