html {
    height: 100%;
  }
  
body {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #FFFFFF;
  }

header {
    flex: 0 0 auto;
  }
  
main {
    flex: 1 0 auto;
  }
  
footer {
    flex: 0 0 auto;
  }



.size_img {
    width: 100%;
    height: 300px;
    text-align: left;
    overflow: hidden;
    
  }

.size_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }



.dark_bg{
      width:100%;
      height:100%;
      left:0;
      right:0;
      bottom:0;
      background-color:rgba(0,0,0,0.5);
  }



.miniature{
    width:150px;
  }



.myA{
    color: white;
  }

.card-img-top {
      width: 100%;
      height: 15vw;
      object-fit: cover;
  }
        
.my-card-img-top {
    /* width: 100%;
    height: 15vw; */
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

.my-pad-bot{
    padding-bottom: 24px;
  }

.about-card-img{
    width: 200px;
    height: 200px;

    display: block;
    margin-left: auto;
    margin-right: auto;
  }

@media screen and (min-width: 567px) and (max-width: 2048px) {
    .about-scale{
      object-fit: cover;

      max-height: 100%;
      max-width: 100%;

      width: 300px;
      height: 200px;

      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      margin: auto;
    }
  }




.color-link {
    color: #161663;

}

.btn-black{background-color:#000;color: #FFF;}
.btn-black:hover{color: #FFF;}


.custom-btn {
  background-color: #8b0000 !important;
  color: #fff !important;
}

.hidden {
  display: none;
}


@media (max-width: 576px) {
  .order-1 {
      order: 1;
  }
  .order-2 {
      order: 2;
  }
  .mt-2 {
        margin-top: 0.5rem !important;
    }
    .mt-md-0 {
        margin-top: 0 !important;
    }


}


#landscape-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 24px;
  text-align: center;
  padding-top: 50%;
  z-index: 1000;
}

@media screen and (orientation: portrait) {
  #landscape-overlay {
    display: block;
  }
}



#notification-icon {
  position: relative !important;
  cursor: pointer !important;
  margin-top: 8px; 
  margin-bottom: 8px; 
  margin-left: 8px;
}

#notification-count {
  font-size: 0.75rem; 
  padding: 0.25em 0.4em; 
  top: -5px; 
  right: -5px; 
}


#notifications {
    display: none;
    position: absolute;
    top: 30px;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    width: 500px;
    max-height: 400px;
    overflow-y: auto;
}

#notifications ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
#notifications li {
  padding: 10px !important;
  border-bottom: 1px solid #ccc !important;
}


.dropdown-menu-cust {
  max-height: 200px; 
  overflow-y: auto;  
  width: 100%;       
}


@media (max-width: 988px) { 
  #notification-icon {
      margin-top: 0; 
      margin-left: 0; 
      display: flex;
      align-items: center; 
  }
  #notification-bell {
      margin-right: 10px; 
  }
  #notifications {
    width: 100%; 
    left: 0; 
    right: 0; 
  }
  #notification-list {
      width: 100%; 
      word-wrap: break-word; 
      white-space: normal; 
  }

  .ctm_mobile_text {
      font-size: 1.3rem; 
  }

  .card-img-overlay h5 {
    font-size: 0.9rem;
    font-weight: normal; 
    margin: 0; 
  }

  .mobile_block .d-flex {
    flex-direction: row !important; 
  }
  .mobile_block .miniature {
      width: 30%;
  }
  .mobile_block .col-lg-8 {
      width: 70%; 
  }
}






.card-tags-list {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
}

.card-tags-list:not(.expanded) a:nth-of-type(n+4) {
    display: none;
}

.tags-toggle-btn {
    background: none;
    border: none;
    color: #161663;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;

    padding: 0;
    
}





.site-footer {
    background-color: #F0F0F8;
    color: #555555;
    padding-top: 30px;
}

.footer-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr; 
    gap: 30px;
}


.footer-column h4 {
    font-size: 15px;
    color: #333333;
    
    margin-bottom: 12px;
    font-weight: 700;
}

.footer-column.about .footer-logo {
    font-size: 22px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 10px 0;
}

.footer-column.about p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.footer-column nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-column nav a {
    color: #555555;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-column nav a:hover {
    color: #3A3F78;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #3A3F78;
    transition: transform 0.2s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.footer-bottom {
  background-color: #3A3F78;
  color: white;
  margin-top: 25px;
  padding: 15px 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;

  width: 100%;
  box-sizing: border-box;

  overflow-x: hidden;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
}

.footer-bottom a {
    color: inherit; 
    text-decoration: none; 
}

.footer-bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
    }
}

