/*************************************************
* Cookieman
*************************************************/
.modal-header {
  margin-bottom: 4px;
  padding: 20px 15px;
  border-bottom: 1px solid #dcdcdc;
}

.modal-content {
  border-radius: 0;
}
.modal-content .modal-body > p a {
  display: block;
  margin-top: 10px;
}
.modal-content .modal-body > p a:last-child {
  margin-top: 0;
}
.modal-content .modal-body > p br {
  display: none;
}

.modal-dialog-centered {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
}

.cookieman__settings {
  margin-top: 30px;
}

.card {
  position: relative;
}
.card .card__header {
  background: #f4f4f4;
  padding: 20px 15px;
  border: 1px solid #dcdcdc;
  border-bottom: none;
  position: relative;
}
.card .card__header a {
  color: #000;
  pointer-events: none;
}
.card .card__header .plus {
  left: auto;
  right: 25px;
  top: 34px;
}
.card .card__checkbox input {
  z-index: 99;
  position: absolute;
  right: 50px;
  top: 28px;
  height: 15px;
  width: 15px;
}
.card:last-child .card__header,
.card:last-child .card__content {
  border: 1px solid #dcdcdc;
}
.card:last-child .card__content {
  border-top: none;
}
.card .card__content {
  display: none;
  border: 1px solid #dcdcdc;
  border-bottom: none;
  padding: 20px;
}
.card .card__content .card__explanation {
  font-size: 16px;
  letter-spacing: 0.7px;
  line-height: 26px;
}
.card .card__content .card__explanation a.link {
  display: block;
  margin-top: 10px;
}
.card .card__content .card__explanation a.link + .link {
  margin-top: 0;
}
.card .card__table__inner {
  word-break: break-word;
  border-top: 1px solid #dcdcdc;
  margin-top: 30px;
}
.card .card__table__inner thead {
  border-bottom: 1px solid #dcdcdc;
}
.card .card__table__inner th, .card .card__table__inner td {
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.5px;
  padding: 6px 0px;
  padding-right: 1%;
}
.card .card__table__inner th:last-child, .card .card__table__inner td:last-child {
  padding-right: 0;
}
.card .card__table__inner th {
  font-weight: 400;
}
.card .card__table__inner tbody tr {
  border-bottom: 1px solid #dcdcdc;
}
.card .card__table__inner tbody tr:last-child {
  border-bottom: none;
}
.card .card__table__inner tbody tr:last-child th {
  border-bottom: 0;
}
.card .card__table__inner .name {
  width: 10%;
}
.card .card__table__inner .provider {
  width: 10%;
}
.card .card__table__inner .duration {
  width: 8%;
}
.card .card__table__inner .function {
  width: 25%;
}
.card .card__table__inner .country {
  width: 17%;
}
.card .card__table__inner .source {
  width: 25%;
}

.modal-footer {
  border: none;
}

.button__save,
.button__all {
  transition: all ease-in 0.2s;
  -webkit-transition: all ease-in 0.2s;
  background: #de323c;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 17px 44px;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  border: 1px solid #de323c;
  cursor: pointer;
}
.button__save:focus,
.button__all:focus {
  outline: none;
}
.button__save:hover,
.button__all:hover {
  background-color: #C20936;
  color: #fff;
}

.button__save {
  background: #f4f4f4;
  color: #000;
  border: 1px solid #9b9b9b;
}
.button__save:hover {
  background: #dcdcdc;
  color: #000;
  border: 1px solid #000;
}

.plus {
  left: -26px;
  top: 11px;
  position: absolute;
}
.plus > div {
  position: absolute;
  background-color: #000;
  left: 50%;
  transition: all 0.5s ease-in-out;
  transform: rotate(-90deg) translate3d(0, 0, 0);
  top: 50%;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000;
  -moz-perspective: 1000;
  perspective: 1000;
}
.plus .horizontal {
  width: 13px;
  height: 1px;
  opacity: 1;
  transform: translate(-6px, 0);
}
.plus .vertical {
  width: 1px;
  height: 13px;
  transform: translate(0, -6px);
}

.open .plus {
  opacity: 1;
}
.open .plus .vertical {
  transition: all 0.5s ease-in-out;
  transform: translate(0, -5px) rotate(90deg) translate3d(0, 0, 0);
  background-color: #de323c;
}
.open .plus .horizontal {
  transition: all 0.5s ease-in-out;
  transform: translate(-5px, 0) rotate(90deg) translate3d(0, 0, 0);
  opacity: 0;
  background-color: #de323c;
}
.open .indexText p {
  color: #de323c;
}

/*************************************************
* Reponsive
*************************************************/
@media screen and (max-width: 700px) {
  #cookieman-modal {
    font-size: 16px;
    line-height: 26px;
  }

  .modal-header {
    padding: 8px 15px;
    margin-bottom: 0;
  }

  .card .card__table {
    overflow-x: scroll;
  }
  .card .card__table__inner {
    width: 800px;
  }
  .card .card__header {
    padding: 8px 15px;
  }
  .card .card__header .plus {
    top: 19px;
  }
  .card .card__checkbox input {
    top: 13px;
  }

  .cookieman__settings {
    margin-top: 16px;
  }

  .modal-content {
    max-width: 100%;
  }

  .modal-footer {
    padding: 0 15px 15px 15px;
  }

  .button__save {
    margin-bottom: 8px;
  }

  .button__save, .button__all {
    width: 100%;
  }
}
@media screen and (max-width: 500px) {
  #cookieman-modal,
.card__explanation {
    font-size: 14px !important;
    line-height: 22px !important;
    letter-spacing: 0.4px !important;
  }

  .modal-header {
    font-size: 18px !important;
  }
}