.consently-button {
  display: inline-block;
  padding: 8px 24px;
  background-color: #DCEFFD;
  color: #339FF4;
  cursor: pointer;
  border-radius: 999px;
  font-weight: bold;
}

.consently-button:active {
  background-color: #339FF4;
  color: #DCEFFD;
}

@media (max-width: 700px) {
  .consently-button {
    padding: 6px 16px;
    font-size: 0.9em;
  }
}

.consently-button-primary {
  background-color: #DCEFFD;
  color: #339FF4;
}

.consently-button-primary:active {
  background-color: #339FF4;
  color: #DCEFFD;
}

.consently-button-accept {
  background-color: #E5F0D8;
  color: #8BC34A;
}

.consently-button-accept:active {
  background-color: #8BC34A;
  color: #E5F0D8;
}

.consently-button-decline {
  background-color: #FCDEDC;
  color: #F44336;
}

.consently-button-decline:active {
  background-color: #F44336;
  color: #FCDEDC;
}

.consently-bar {
  position: fixed;
  display: flex;
  align-items: center;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  z-index: 100;
  box-sizing: border-box;
  font-size: 14px;
  background-color: white;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.25);
}

@media (max-width: 700px) {
  .consently-bar {
    flex-direction: column;
    font-size: 14px;
  }
}

.consently-bar-text {
  flex: 1;
  color: #676767;
}

@media (max-width: 700px) {
  .consently-bar-text {
    text-align: center;
  }
}

.consently-bar-text .consently-bar-text-intro {
  font-weight: bold;
  display: inline-block;
  margin: 0.5em;
}

@media (max-width: 700px) {
  .consently-bar-text .consently-bar-text-intro {
    font-size: 0.9em;
  }
}

.consently-bar-text .consently-bar-text-purposes {
  display: inline-block;
  margin: 0 0.5em;
}

@media (max-width: 700px) {
  .consently-bar-text .consently-bar-text-purposes {
    font-size: 0.9em;
    margin-bottom: 0.5em;
  }
}

.consently-bar-buttons {
  margin-left: 24px;
}

.consently-bar-buttons > .consently-button:not(:first-child) {
  margin-left: 16px;
}

@media (max-width: 700px) {
  .consently-bar-buttons {
    margin: 10px auto;
  }
}

.consently-modal-overlay {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 999;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease-out;
}

.consently-modal-overlay-open {
  opacity: 1;
}

.consently-modal {
  box-sizing: border-box;
  -webkit-transform: scale(1.25);
          transform: scale(1.25);
  max-height: calc(100% - 128px);
  width: 480px;
  padding: 0 24px;
  overflow-y: auto;
  font-size: 14px;
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.25);
  color: #676767;
  transition: all 0.3s ease-out;
}

.consently-modal-overlay-open .consently-modal {
  -webkit-transform: scale(1);
          transform: scale(1);
}

@media (max-width: 700px) {
  .consently-modal {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }
}

.consently-modal .consently-button {
  padding: 12px 24px;
}

.consently-header {
  font-size: 1.25em;
  font-weight: bold;
  color: #252525;
  margin-top: 24px;
  margin-bottom: 16px;
}

.consently-privacy-policy-link {
  float: right;
  color: #BFBFBF;
  font-size: 1em;
  line-height: 1.8em;
}

.consently-privacy-policy-link:hover, .consently-privacy-policy-link:active, .consently-privacy-policy-link:visited, .consently-privacy-policy-link:focus {
  color: #BFBFBF;
}

.consently-intro {
  margin-top: 0;
  margin-bottom: 24px;
  display: block;
  line-height: 1.5em;
  font-size: 1.2em;
  color: #676767;
}

.consently-section-header {
  display: flex;
  line-height: 32px;
  margin: 0 -12px;
  margin-bottom: 24px;
  padding: 0 12px;
  background-color: #FAFAFA;
  color: #252525;
}

.consently-section-header .consently-section-header-text {
  flex: 1;
  margin: 0;
  font-weight: bold;
  font-size: 1.05em;
}

.consently-section-header .consently-section-header-more-info {
  color: #BFBFBF;
  text-decoration: none;
  cursor: pointer;
}

.consently-row {
  display: flex;
  margin-bottom: 24px;
}

.consently-text {
  flex: 1;
  font-size: 1.1em;
  line-height: 1.5em;
  color: #676767;
}

.consently-switch-container {
  margin-left: 16px;
}

.consently-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.3s ease-out;
}

.consently-switch-off {
  background-color: #A5A5A5;
}

.consently-switch-on {
  background-color: #8BC34A;
}

.consently-switch-handle {
  position: absolute;
  height: calc(24px - 2px);
  width: calc(24px - 2px);
  top: 1px;
  left: 1px;
  border-radius: 999px;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  transition: left 0.3s ease-out;
}

.consently-switch-on .consently-switch-handle {
  left: calc(16px + 1px);
}

.consently-integrations-list {
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease-out;
}

.consently-integrations-list-open {
  opacity: 1;
}

.consently-purpose-description {
  margin-bottom: 24px;
  font-size: 1em;
  font-weight: normal;
}

.consently-integrations-header {
  font-weight: bold;
  font-size: 12px;
  margin-top: 0;
  margin-bottom: 24px;
  color: #A5A5A5;
}

.consently-integration-logo {
  margin-right: 16px;
  min-height: 64px;
}

.consently-integration-logo-image {
  width: 80px;
}

.consent-integration-party {
  font-weight: bold;
  color: #252525;
}

.consently-integration-description {
  display: block;
  margin: 0;
  font-size: 0.95em;
  color: #676767;
  margin-bottom: 4px;
}

.consently-integration-links {
  display: block;
}

.consently-integration-links a {
  color: #676767;
  font-weight: bold;
  font-size: 0.9em;
  opacity: 0.8;
}

.consently-modal-actions {
  display: flex;
  justify-content: space-around;
  margin-bottom: 24px;
}

.consently-modal-footer {
  line-height: 1.25em;
  text-align: right;
  margin-bottom: 24px;
  color: #BFBFBF;
}

.consently-modal-footer-logo {
  height: 1em;
  vertical-align: middle;
  margin-left: 0.3em;
}
