#ng-cc {
  position: fixed;
  z-index: 100000;
  left: 0;
  bottom: 0;
  top: 0;
  font-size: 1rem;
  /* The switch - the box around the slider */
}

#ng-cc .ng-cc-toggle {
  position: absolute;
  z-index: 2;
  left: 15px;
  bottom: 10px;
  font-size: 1.5em;
  display: block;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

#ng-cc .ng-cc-toggle img,
#ng-cc .ng-cc-toggle svg {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: .5;
  transition: 0.5s;
}

#ng-cc .ng-cc-toggle img.hover,
#ng-cc .ng-cc-toggle svg.hover {
  position: absolute;
  max-width: 30px;
  max-height: 30px;
  left: 10px;
  top: 15px;
  display: block;
  opacity: 1;
  z-index: 1;
}

#ng-cc .ng-cc-toggle:hover img,
#ng-cc .ng-cc-toggle:hover svg {
  opacity: 1;
}

#ng-cc .ng-cc-modal {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  overflow-y: auto;
  background: #262626;
  color: #fff;
  padding: 2em 2em 3em;
  width: 28em;
  -webkit-transform: translate3d(-100%, 0, 0);
          transform: translate3d(-100%, 0, 0);
  transition: -webkit-transform 0.4s;
  transition: transform 0.4s;
  transition: transform 0.4s, -webkit-transform 0.4s;
}

#ng-cc .ng-cc-modal p {
  color: inherit;
}

#ng-cc .ng-cc-modal .ng-cc-close-btn {
  position: absolute;
  top: 1em;
  right: 1em;
  width: 2em;
  text-align: center;
  line-height: 2;
  color: #fff;
}

#ng-cc .ng-cc-modal .ng-cc-close-btn i {
  font-size: 1.25em;
}

#ng-cc .ng-cc-modal .ng-cc-close-btn:hover {
  text-decoration: underline;
}

#ng-cc .ng-cc-overlay {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.349);
  -webkit-transform: translate3d(0, -100%, 0);
          transform: translate3d(0, -100%, 0);
  opacity: 0;
  transition: opacity 0.4s;
}

#ng-cc .ng-cc-optional-list {
  list-style-type: none;
  margin: 2em 0 0.5em;
  padding: 0;
}

#ng-cc .ng-cc-optional-list > li {
  padding: 1.5em 0;
  border-top: 1px solid rgba(255, 255, 255, 0.251);
}

#ng-cc .ng-cc-optional-list > li .ng-cc-label {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  margin-bottom: 4px;
}

#ng-cc .ng-cc-optional-list > li p {
  margin: 0;
}

#ng-cc .ng-cc-optional-list .ng-cc-optional-checkbox {
  position: absolute;
  pointer-events: all;
}

#ng-cc .ng-cc-optional-list .ng-cc-optional-checkbox + label {
  display: block;
  position: relative;
  font-size: 1.25em;
  font-weight: 700;
  margin: 0 0 0.25em;
  padding: 0 0 0 1.25em;
  cursor: pointer;
}

#ng-cc .ng-cc-actions {
  margin: 2em 0 0;
  text-align: right;
}

#ng-cc .ng-cc-actions .btn-accept,
#ng-cc .ng-cc-actions .btn-accept-all {
  -webkit-appearance: none;
  border-radius: 5px;
  color: #fff;
  text-transform: uppercase;
  padding: 5px 16px;
  background: #2196F3;
  font-size: 13px;
  font-weight: 500;
  transition: all 150ms ease-in-out;
  outline: 0 !important;
  line-height: 1.2rem;
  cursor: pointer;
}

#ng-cc .ng-cc-actions .btn-accept:hover,
#ng-cc .ng-cc-actions .btn-accept-all:hover {
  background: #2196F3AA;
}

#ng-cc .ng-cc-actions .btn-accept-all {
  background: #7cbb48;
}

#ng-cc .ng-cc-actions .btn-accept-all:hover {
  background: #7cbb48AA;
}

#ng-cc[open] .ng-cc-modal {
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}

#ng-cc[open] .ng-cc-overlay {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}

@media screen and (max-width: 600px) {
  #ng-cc .ng-cc-modal {
    width: 100vw;
  }
}

#ng-cc .switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 22px;
  font-size: 14px;
  line-height: 24px;
  margin-right: 8px;
  /* The slider */
  /* Hide default HTML checkbox */
}

#ng-cc .switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #aaa;
  transition: .4s;
  /* Rounded sliders */
}

#ng-cc .switch .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
}

#ng-cc .switch .slider.round {
  border-radius: 22px;
}

#ng-cc .switch .slider.round:before {
  border-radius: 50%;
}

#ng-cc .switch .slider .switch-pane {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  height: 100%;
  min-height: 100%;
  -ms-flex-pack: start;
      justify-content: flex-start;
  -ms-flex-align: center;
      align-items: center;
  top: -100%;
  position: relative;
  pointer-events: none;
}

#ng-cc .switch .slider .switch-pane .switch-label-checked {
  padding-right: 30px;
  padding-left: 15px;
  height: 100%;
  opacity: 0;
}

#ng-cc .switch .slider .switch-pane .switch-label-unchecked {
  padding-left: 30px;
  padding-right: 15px;
  height: 100%;
  opacity: 1;
}

#ng-cc .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

#ng-cc .switch input:checked + .slider {
  background-color: #2196F3;
}

#ng-cc .switch input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

#ng-cc .switch input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  transform: translateX(26px);
}

#ng-cc .switch input:checked + .slider .switch-pane {
  top: 0;
}

#ng-cc .switch input:checked + .slider .switch-pane .switch-label-unchecked {
  opacity: 0;
}

#ng-cc .switch input:checked + .slider .switch-pane .switch-label-checked {
  opacity: 1;
}

#ng-cc .switch input:disabled + .slider:before,
#ng-cc .switch input:disabled + .slider .switch-pane {
  opacity: .5;
  cursor: not-allowed;
}

