/*** Cookie ***/
.cookie-alert {
  position: fixed;
  top: auto;
  bottom: 0;
  /* right: calc((100% - 1200px) / 2); */
  right: 20px;
  left: auto;
  padding: 0 !important;
  z-index: 999;
  opacity: 0;
  transform: translateY(100%);
  transition: all 500ms ease-out;
  max-width: 400px;
  width: 100%;
  border: 2px solid #333;
}
.cookie-alert.show {
  opacity: 1;
  transform: translateY(0%);
  transition-delay: 1000ms;
}
.cookie-alert .card-body {
  border-radius: 10px;
}
.cookie-alert .card-title {
  font-size: 45px;
}
.cookie-alert .card-text {
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  color: #545e6c !important;
}
.cookie-alert .card-title {
  letter-spacing: -1px;
}
#cookiessettingsmodal .modal-header{padding: 15px 25px;}
#cookiessettingsmodal .modal-header .modal-title{color: #333;font-size: 20px;font-weight: 600;}
#cookiessettingsmodal .modal-header .btn-close{
  color: #333;
  opacity: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  width: 25px;
  height: 25px;
}
#cookiessettingsmodal .modal-body .form-check.form-switch{
  display: flex;
  align-items: center;
  justify-content: end;
  width: auto;
  margin: 0;
  margin-bottom: -30px;
}
@media (max-width: 480px) {
    .cookie-alert {
      right: 0;
      left: 0;
      margin: auto;
      width: 95%;
    }
    .cookie-alert .card-title {
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 10px;
    }
    .cookie-alert .card-text {
      font-size: 12px;
    }
}  

/*** Linkedin Modal ***/
.SocialMediaModal .ModalAll__content {    
    inset: 0;
    width: 100%;
    height: auto;
    max-width: 400px !important;
    max-height: 400px !important;
    border-radius: 16px !important;
} 
@media (max-width: 480px) {
    .SocialMediaModal .ModalAll__content {
        max-width: 90% !important;
        max-height: 400px !important;
    }
}


/* TABLE STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.table-wrapper {
  background: var(--color-white);
  overflow-x: auto;
}

table {
  position: relative;
  text-align: center;
  width: 100%;
}

table thead {
  background: var(--color-white);
  transition: box-shadow 0.2s;
}

table tr {
  display: flex;
}

table th,
table td {
  width: 25%;
  min-width: 150px;
  border-bottom: 1px solid var(--color-gray-1);
}

table thead th,
table thead td {
  border: 1px solid var(--color-gray-1);
  border-radius: 12px;
  margin: 2px;
}

table th:nth-child(1) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1.3;
  padding: 0 10px;
}

table th:nth-child(1) .svg-wrapper {
  margin-top: 10px;
}

table th:nth-child(1) svg {
  width: 22px;
  height: 22px;
}

table th .heading {
  padding: 1rem;
  color: var(--color-white);
  border-radius: 8px;
}

table th:nth-child(2) .heading {
  background: var(--color-dark-5);
}

table th:nth-child(3) .heading {
  background: var(--color-dark-4);
}

table th:nth-child(4) .heading {
  background: var(--color-orange-1);
}

table th .info {
  position: relative;
  padding: 1.5rem 0;
  border-left: 1px solid var(--lightgray);
}

table th .popular {
  position: absolute;
  top: 10px;
  right: 0;
  font-size: 12px;
  background: var(--color-orange-1);
  padding: 6px 10px;
  border-radius: 6px;
}

table th .amount {
  font-size: 2rem;
}

table th .amount span {
  display: block;
  transform: translateY(-8px);
}

table th:nth-child(2) .amount {
  color: var(--color-dark-5);
}

table th:nth-child(3) .amount {
  color: var(--color-dark-4);
}

table th:nth-child(4) .amount {
  color: var(--color-orange-1);
}

table th .billing-msg,
table th .amount span {
  font-weight: normal;
  font-size: 0.8rem;
}
 
table td {
  padding: 10px;
}

table td:not(:first-child) {
  border-left: 1px solid var(--lightgray); 
}

table td:first-child {
  font-size: 1rem;
  text-align: left;
}

table svg {
  width: 18px;
  height: 18px;
}

table svg.not-included {
  fill: var(--color-red-2);
}

table svg.starter {
  fill: var(--color-green-2);
}

table svg.essential {
  fill: var(--color-green-2);
}

table svg.professional {
  fill: var(--color-green-1);
}

.sticky-table thead tr,
.sticky2-table thead tr {
  z-index: 1;
}

@media screen and (min-width: 780px) {  
  table th:nth-child(1) {
    padding: 0 20px;
  }
  
  table td {
    padding: 20px;
  }
  
  .sticky-table table thead {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 70px;
  }

  .sticky-table table thead tr th {
    box-shadow: 0px 2px 5px rgb(0 0 0 / 5%);
  }

  .sticky2-table table thead {
    position: absolute;
    left: 0;
  }
}

