.card {
  word-wrap: break-word;
} 

.card-title {
  margin-bottom: .75rem;
}

.card-header {
    display: flex !important;
    align-items: center;
    background-color: #f2f2f2 !important;
    padding: 10px;
  /*padding: .75rem 1.25rem;
  padding: 2.30rem 2.30rem;
  margin-bottom: 0;
  background-color: rgba(0,0,0,.03); */
  border-bottom: 1px solid rgba(0,0,0,.125);
}

.card-deck .card {
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 1 0 0%;
    flex: 1 0 0%;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-top: 12px;
    margin-right: 15px;
    margin-bottom: 54px;
    margin-left: 15px;
    font-size: 15px;
 }

.card-header:first-child {
  border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
}
.card-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1.25rem;
}
.card-footer {
  padding: .75rem 1.25rem;
  background-color: rgba(0,0,0,.03);
  border-top: 1px solid rgba(0,0,0,.125);
    display: none !important;
}
.card-footer:last-child {
  border-radius: 0 0 calc(.25rem - 1px) calc(.25rem - 1px);
    display: none !important;
}

.card-header.d-flex.fixed-height {
    position: relative;
    /* height: 69px; */
    display: flex;
    align-items: center;
}

.card-header .card-title {
    width: 100%;
    text-align: center;
    font-weight: 700;
    padding-top: 9px;
}

.card-header .card-title .pharma-cross {
    position: absolute;
    left: 10px;
    top: -30%;
    transform: translateY(-50%);
}



.fixed-height {
  height: 85px;
}
.text-light {
  color: #343a40 !important;
}
.text-dark {
  color: #343a40 !important;
}
.d-flex {
  display: -ms-flexbox !important;
  display: flex !important;
}

.bg-dark {
  background-color: #f2f2f2 !important;
}

 .align-content-lg-center {
    -ms-flex-line-pack: center !important;
    align-content: center !important;
}
.justify-content-around {
  -ms-flex-pack: distribute !important;
  justify-content: space-around !important;
}

.pharma-cross-open {
  background-color: #78d9c6;
  box-shadow: 0px 0px 50px 1px rgba(50,205,50,0.75);
  -webkit-box-shadow: 0px 0px 50px 1px rgba(50,205,50,0.75);
  -moz-box-shadow: 0px 0px 50px 1px rgba(50,205,50,0.75);
}
.pharma-cross {
  position: relative;
  width: 4rem;
  height: 1.6rem;
  /* margin: 1rem 2rem 1rem 0; */
  margin: 2rem 3.3rem 1rem 0;
  border: 2px solid grey;
}
.pharma-cross-open::before {
  z-index: 1;
  position: absolute;
  content: '';
  left: 1.1rem;
  top: -0.1rem;
  height: 1.6rem;
  width: 1.6rem;
  border: 3px solid #78d9c6;
  border-radius: 2px;
}
.pharma-cross-open::after {
  background-color: #78d9c6;
  box-shadow: 0px 0px 50px 1px rgba(50,205,50,0.75);
  -webkit-box-shadow: 0px 0px 50px 1px rgba(50,205,50,0.75);
  -moz-box-shadow: 0px 0px 50px 1px rgba(50,205,50,0.75);
}
.pharma-cross::after {
  z-index: 0;
  position: absolute;
  content: '';
  left: 1.1rem;
  top: -1.3rem;
  height: 4rem;
  width: 1.6rem;
  border: 2px solid grey;
}
*, ::after, ::before {
  box-sizing: border-box;
}

.pharma-cross-closed {
background-color: #bcbcbc;
}
.pharma-cross-closed::before {
  z-index: 1;
  position: absolute;
  content: '';
  left: 1.1rem;
  top: -0.1rem;
  height: 1.6rem;
  width: 1.6rem;
  border: 3px solid #bcbcbc;
  border-radius: 2px;
}

.pharma-cross-closed::after {
  background-color: #bcbcbc;
}
.pharma-cross::after {
  z-index: 0;
  position: absolute;
  content: '';
  left: 1.1rem;
  top: -1.3rem;
  height: 4rem;
  width: 1.6rem;
  border: 2px solid grey;
}

.bg-success {
  background-color: #28a745 !important;
}


.flex-shrink-0 {
  -ms-flex-negative: 0 !important;
  flex-shrink: 0 !important;
}


.ml-1, .mx-1 {
  margin-left: .25rem !important;
}

.pb-1, .py-1 {
  padding-bottom: .25rem !important;
    padding-left: 1.25rem !important;
}

.fa, .far, .fas {
display: none !important;
}

@media (max-width: 576px) {
    .card-header {
        flex-direction: column;  /* Κάθετη στοίχιση στοιχείων */
        text-align: center;
        gap: 8px;                /* Απόσταση μεταξύ των στοιχείων */
    }

    .card-title {
        width: 100%;
        justify-content: center;
    }
    
.card-header .card-title .pharma-cross {
top: -30px;
}
}
