/* Styles for the submenu container */
.submenu {
    background-color: #FFFFFF; /* Light gray background */
    padding: 20px 0; /* Padding at the top and bottom */
    border-radius: 0px; /* Rounded corners */
}

/* Styles for the rows inside the submenu */
.submenu .row {
    margin: 0; /* Adjust the margin if needed */
}

/* Styles for the columns inside the submenu */
.submenu .col {
    padding: 5px; /* Padding for each column */
}

/* Styles for the list group inside the submenu */
.submenu .list-group {
    border: 1px solid #e0e0e0; /* Border around the list group */
    border-radius: 0; /* Rounded corners for the list group */
}

/* Styles for the list group items (links) inside the submenu */
.submenu .list-group-item {
    color: #333; /* Text color */
    font-weight: bold; /* Bold text */
    background-color: #fff; /* White background */
    border: none; /* Remove default borders */
    transition: background-color 0.3s; /* Smooth transition for hover effect */
}

/* Hover effect for the list group items (links) */
.submenu .list-group-item:hover {
    background-color: #e0e0e0; /* Light gray background on hover */
    text-decoration: none; /* Remove underline from links on hover */
}

.modal-backdrop {
    z-index: 1000 !important;
}

.modal-dialog {
    z-index: 1050 !important;
}
.nav-item {
    position: relative; /* Lai hover svītra pareizi pozicionējas */
}
.nav-item.active > .nav-link {
    position: relative;
    font-weight: bold;
    color: #ff6600;
}

.nav-item.active > .nav-link::after {
    content: ''; /* Pseudo elements */
    position: absolute;
    left: 0;
    bottom: -5px; /* Neliela vieta zem teksta */
    width: 100%; /* Taisnstūris aizņem visu teksta platumu */
    height: 4px; /* Taisnstūra augstums */
    background-color: rgba(0, 0, 0, 1); /* Taisnstūra krāsa (sakrīt ar teksta krāsu) */
    transition: width 0.3s ease, background-color 0.3s ease; /* Pārejas efekts */
}

.nav-item > .nav-link::after {
    content: ''; /* Pseudo elements */
    position: absolute;
    left: 0;
    bottom: -5px; /* Neliela vieta zem teksta */
    width: 0; /* Taisnstūris sākumā ir neredzams */
    height: 4px; /* Taisnstūra augstums */
    background-color: rgba(0, 0, 0, 0); /* Sākumā taisnstūris ir caurspīdīgs */
    transition: width 0.3s ease, background-color 0.3s ease; /* Pārejas efekts */
}

/* Hover stāvoklis neaktīvajiem elementiem */
.nav-item > .nav-link:hover::after {
    width: 100%; /* Taisnstūris izplešas visā teksta platumā */
    background-color: rgba(0, 0, 0, 1); /* Hover laikā taisnstūris kļūst redzams */
}


.social-share {
    display: flex;
    gap: 10px;
}

.social-share a {
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    color: #fff;
}

.social-share a:hover {
    opacity: 0.8;
}

.social-share a:first-child {
    background: #3b5998; /* Facebook krāsa */
}

.social-share a:nth-child(2) {
    background: #1da1f2; /* Twitter krāsa */
}
.social-share a:nth-child(3) {
    background: #0077b5; /* LinkedIn krāsa */
}
.social-share a:nth-child(4) {
    background: #c60000; /* LinkedIn krāsa */
}
.social-share a:nth-child(5) {
    background: #25D366; /* WhatsApp krāsa */
}
.social-share a:nth-child(6) {
    background: #0088cc; /* Telegram krāsa */
}

.social-share a:last-child {
    background: #0077b5; /* LinkedIn krāsa */
}