.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100%;
  text-align: center;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.lightbox-active {
  display: flex;
}

.lightbox-modal {
  width: 30%;
  min-width: 450px;
  background-color: white;
  padding: 10px;
  border-radius: 5px;
}

.lightbox-title {
  font-size: 23px;
  font-weight: 500;
  padding-bottom: 5px;
}

.lightbox-terms-container {
  padding: 5px;
  text-align: left;
  border-top: solid 1px #999;
  border-bottom: solid 1px #999;
}

.lightbox-terms-container p {
  font-size: 16px;
  margin-top: 0px;
  margin-bottom: 1px;
  font-weight: 900;
}

.lightbox-button-container {
  display: flex;
  justify-content: flex-end;
  padding-top: 5px;
}

.lightbox-button-container .lightbox-modal-button {
  color: white;
  margin-left: 10px;
}

.lightbox-button-container .toggle-container {
  margin: 5px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#agree-to-terms-button {
  display: flex;
  align-items: center;
}

.gmb-login-container {
  padding:10px;
}

.gmb-login-container p {
  font-size: 1.2em;
}

#agree-to-terms-button {
  border: solid 1px cornflowerblue;
  background-color: cornflowerblue;
}

#agree-to-terms-button:hover {
  background-color: white;
  color: cornflowerblue;
}

#cancel-terms-button {
  border: solid 1px tomato;
  background-color: tomato;
}

#cancel-terms-button:hover {
  background-color: white;
  color: tomato;
}

/*Checkbox Style*/
#terms-lightbox input[type=checkbox]{
  height: 0;
  width: 0;
  visibility: hidden;
}

#terms-lightbox label {
  cursor: pointer;
  text-indent: -9999px;
  width: 50px;
  height: 25px;
  background: grey;
  border-radius: 100px;
  position: relative;
}

#terms-lightbox label:after {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  width: 23px;
  height: 23px;
  background: #fff;
  border-radius: 90px;
  transition: 0.3s;
}

#terms-lightbox input:checked + label {
  background: #bada55;
}

#terms-lightbox input:checked + label:after {
  left: calc(100% - 2px);
  transform: translateX(-100%);
}

#terms-lightbox label:active:after {
  width: 35px;
}

.wpl-gmp-settings-checkbox {
  min-width: 0px;
  margin: 0px;
  border: none;
}

.checkbox-label-slider {
  display: inline-block;
}

.disabled {
  pointer-events: none;
}

/*tooltip Styles*/
.tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip text */
.tooltip .dashicons-editor-help {
  margin-top: -3px;
}

.wpl-gmb-defaults-container .tooltip .dashicons-editor-help {
  margin-top: -1px;
}

.wpl-gmb-defaults-container > div {
  margin-bottom: 0.8rem;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 250px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
}

.lefttooltip {
  top: -5px;
  right: 105%;
}

.tooltip .tooltiptext a {
  color: white;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}

.wpl-gmb-login-button-container {
  display: flex;
  justify-content: center;
  padding-bottom: 10px;
}

.wpl-dashicon {
  animation: dashicons-spin 1s infinite;
  animation-timing-function: linear;
}

@keyframes dashicons-spin {
  0% {
     transform: rotate( 0deg );
  }
  100% {
     transform: rotate( 360deg );
  }
}
