a{
    text-decoration: none;
    color: #366628 !important;
}
body{
    font-family: "Montserrat", sans-serif;
}
.letter-spacing-sm {
    letter-spacing: 0.05em;
}
.main-bg-color {
    background-color: #366628 !important;
}
.text-blue{
    color: #366628;
}
/* header */
.navbar-nav .nav-link,
.navbar-nav .nav-link.active{
    font-weight: 600; 
}
.dropdown-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 100%;
    height: 2px;
    background-color: rgb(255, 210, 0);
    transition: transform 0.2s ease;
}
.dropdown-item:hover::after {
    transform: translateX(-50%) scaleX(1);
}
.dropdown-item:hover{
    color: rgb(255, 210, 0) !important;
}
.navbar-nav .nav-link.show{
    color: #fff !important;
}
.navbar-nav .nav-link.active {
   color: rgb(255, 210, 0) !important;
}
.dropdown-menu {
    z-index: 99999 !important;
}
.dropdown-menu.show{
    background-color: #366628 !important;
    border: none !important;
    padding-bottom: 0;
}
.accordion-flush .accordion-item{
    background-color: rgb(128, 128, 128, 0.3) !important;
    border-radius: 3px !important; 
}
.accordion-button:focus,
.accordion-button:focus-visible {
    outline: none;
    box-shadow: none;
}
.accordion-body a:hover{
    color: rgb(35, 148, 35) !important;
}
.accordion-body::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 1.25rem;
    transform: translateX(0%) scaleX(0);
    transform-origin: left;
    width: calc(100% - 1.25rem);
    height: 1px;
    background-color: rgb(35, 148, 35);
    transition: transform 0.2s ease;
}
.accordion-body:hover::after {
    transform: translateX(0%) scaleX(1);
}
/* footer */
.icon-contact{
    width: 1.5em;
    height: auto;
}
/* content */
.line-left,
.line-right{
    height: 1px;
    width: 20%;
}
.last-news{
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.last-news:hover {
    transform: translateY(-10px); 
    box-shadow: 0 .5em 1.5em rgb(128, 128, 128, 0.25);
}
.card .date-publish {
    top: 20px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease-in-out;
    z-index: 1;
    overflow: hidden;
}
.more-btn{
    border-color: rgb(128, 128, 128, 0.65) !important;
    transition: border-color 0.3s ease-in-out !important;
}
.more-btn:hover{
    border-color:  rgb(255, 210, 0) !important
}
.card .date-publish p {
    overflow: hidden;
    width: 0ch;
    transition: opacity 0s;
}
.card:hover .date-publish{
    transform: scaleX(1);
}

.card:hover .date-publish p {
    opacity: 1;
    animation: typing 0.8s steps(20, end) forwards;
    animation-delay: 0.4s;
}

@keyframes typing {
    from {
        width: 0ch;
    }
    to {
        width: 13ch;
    }
}

/*contacts*/
.circle{
    width:120px; 
    height:120px; 
    border: 3px solid var(--bs-blue);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}
.circle:hover {
    transform: scale(1.05);
}
.info-form{
    border: 2px solid #D4D4D4;
    color: #D4D4D4;
}
.line::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: #09467c; 
    z-index: 1;
}

/*news*/
.zoom-hover {
    overflow: hidden;
    position: relative;
}

.zoom-hover img {
    transition: transform 0.5s ease;
    will-change: transform;
    display: block;
    width: 100%;
    z-index: 1;
    position: relative;
}

.zoom-hover:hover img {
    transform: scale(1.1);
}

.zoom-hover .position-absolute {
    z-index: 2;
    position: absolute !important;
}
.title-new{
    transform: color 0.3s ease;
}
.title-new:hover{
    color: #366628;
}
.news-item{
    transition: all .3s ease;
}
.news-item:hover{
    background-color: #e7e7e7;
    font-weight: bold;
}

/*slider*/
.tns-outer {
    position: relative;
}

.tns-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 0.75rem;
    width: 100%;
    outline: none;
    z-index: 999;
    pointer-events: none;
}

.tns-controls button {
    height: 50px;
    width: 50px;
    border: none;
    outline: none;
    background-color: inherit;
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0;  
}

.tns-controls button[data-controls="prev"]::before {
  content: '';
  border: solid #000000;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 6px;
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.tns-controls button[data-controls="next"]::before {
  content: '';
  border: solid #333;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 6px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}


/* about-us*/
.btn-read:focus{
    box-shadow: none;
}
.btn-read{
    color: rgb(255, 210, 0) !important; 
    border: 2px solid rgb(255, 210, 0);
    transition: all 0.3s ease;
}
.btn-read:hover{
    color: #366628 !important;
    background-color: rgb(255, 210, 0);
}
.main-btn {
  color: #fff;
  box-shadow: 0 0 40px 40px #366628 inset, 0 0 0 0 #366628;
  transition: all 150ms ease-in-out;
  
  &:hover {
    box-shadow: 0 0 10px 0 #366628 inset, 0 0 10px 4px #366628;
  }
}

/*gallery*/
.gallery {
    aspect-ratio: 4 / 3;
}
.img-cover {
    transition: transform 0.3s ease;
}

.gallery:hover .img-cover {
    transform: scale(1.05);
}
.lg-toolbar .lg-download {
    color: #999 !important;
}
.lg-toolbar .lg-download:hover {
    color: #fff !important;
}

.lg-toolbar {
  .lg-icon {
    font-size: 30px !important;
    margin-top: 10px;
    &.lg-close {
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
}

.lg-outer .lg-thumb-outer {
    background-color: #0d0a0a;
    width: 100%;
    max-height: 350px;
    overflow: hidden;
    float: left;
}
.lg-outer .lg-thumb {
    display: flex;
    max-height: 250px;
    padding: .5rem 0;
} 
.lg-outer .lg-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lg-outer .lg-thumb-item {
    border-radius: 5px;
    border: 3px solid #fff;
}
.lg-outer .lg-thumb-item.active, .lg-outer .lg-thumb-item:hover
{
    border-color:  rgb(255, 210, 0);
}

.custom-link.active,
.custom-link.show,
.custom-link:hover{
   border-color: #366628 !important;
   border-bottom-color: #fff !important;
}

.books-klas {
    border-color: rgb(128, 128, 128, .35) !important;
}

.custom-zoom-modal .modal-dialog {
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.custom-zoom-modal.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}
.studentbook{
    border-color: #366628 !important; 
    border-radius: 25px;
}

.dropdown-item {
    padding-right: 1.5rem;
}

.pagination .page-item .page-link {
    color: #09467c;
    border: 1px solid #09467c;
    width: 40px;
    height: 40px;
    line-height: 38px;
    text-align: center;
    padding: 0;
    margin: 0 2px;
    font-weight: 500;
    border-radius: 0 !important;
}

.pagination .page-item.active .page-link {
    background-color: #09467c;
    color: white;
    border-color: #09467c;
}

.pagination .page-item.disabled .page-link {
    color: #ccc;
    border-color: #ccc;
    pointer-events: none;
}

.p-title{
    font-size: 1.75rem;
    text-decoration: underline;
}

.gallery-all .card-img-top.zoom-hover, .all-events .card-img-top.zoom-hover {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.gallery-images, .events-images, .news-images {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    justify-content: flex-start;
    padding: 20px 0;
    width: 100%;
}

.gallery-images figure.gallery, .events-images figure, .news-images figure {
    margin: 0;
    padding: 0;
    width: calc(16.66% - 2px);
    height: auto;
    /* aspect-ratio: 1/1; */
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.events-images figure, .news-images figure {
    width: calc(33.33% - 2px);
}

.gallery-images figure.gallery a, .events-images figure a, .news-images figure a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-images figure.gallery img, .events-images figure img, .news-images figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tiny-slider-teacher .tns-item .card .card-img-top img.card-img-top,
.acms-section .row .col .card .card-img-top img.card-img-top {
    aspect-ratio: 4/5 !important;
    object-fit: cover;
}

.w-sm-100-w-lg-75 {
    width: 75%;
}

.tiny-slider-teacher .item-team .card {
    margin-bottom: 50%;
}

.custom-margin {
    margin-top: 0rem;
}

@media (min-width: 999px) {
    .dropdown-item:hover, .dropdown-item:focus {
        background-color: inherit;
    }

    .nav-item.dropdown:hover > .dropdown-menu, .dropdown-submenu:hover > .dropdown-menu {
        display: block;
        background-color: #366628 !important;
        padding: 0.5rem 0 0 0 !important;
        top: 100%;
        border: none;
    }

    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: 0;
    }

    .dropdown-toggle {
        pointer-events: none;
    }
}



@media (max-width: 1440px) {
    .w-sm-100-w-lg-75 {
        width: 100%;
    }
}

@media (max-width: 1000px) {
    .dropdown-toggle {
        width: 32px;
        height: 32px;
    }

    .nav-item.dropdown {
        flex-wrap: wrap;
    }

    .dropdown-menu.show {
        width: 100%;
        margin-bottom: .5rem;
        padding-top: 0;
    }

    .dropdown-toggle::before {
        top: 20px;
        font-size: 16px;
    }
}



