.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    align-items: start;
    flex-grow: 1;
    overflow-y: auto;
    /*overflow-x: clip;*/
}
.sidebar-body {
  width: 100%
}
.body {
    display: flex;
}
.padding-right-0 {
    padding-right: 0 !important;
}

.content {
    margin-left: 220px;
    margin-top: 20px;
}
.nav-link {
    padding: 3px;
    margin: 0;
    background-color: transparent !important;
    transition: none !important;
    font-size: 0.875rem;
}
.contact-us-modal .modal-lg{
    padding: 10px;
    margin: 10px;
}
.contact-us-iframe {
    border: 0;
    transform: translateZ(0px);
    overflow: auto;
    width: 98vw;
    height: 95vh
}
.mobile-nav {
    display: none;
}

.offcanvas {
    width: 25% !important;
    min-width: 255px !important;
}

.nav-link.dropdown-toggle::after {
    content: none
}

.nav-link.dropdown-toggle.collapsed::after {
    transform: rotate(0deg); /* Default state */
}

.nav-link.dropdown-toggle:not(.collapsed)::after {
    transform: rotate(+90deg); /* Rotated state when expanded */
}
a.nav-link {
    transition: background-color 0.05s !important;
    background-color: transparent;
}
a.nav-link:hover {
    background-color: rgb(20, 110, 62, 0.1) !important;
}
.active {
    font-weight: 500;
}
.nav-link.dropdown-toggle:after {
    transition: transform 0.2s;
    border-top: none;
    content: url("/static/angle-down-solid.svg");
    /*content: url("{{ url_for('static', path='angle-down-solid.svg') }}") !important;*/
    margin-right: 3px
}
.nav-link.site {
    /*margin-left: 21px;*/
}

.card.portfolio {
    max-width: 240px;
}

.card-hover {
    transition: transform 0.3s, box-shadow 0.3s;
}

.card-hover:hover {
    transform: translateY(-5px); /* Moves the card upwards */
    box-shadow: 0 16px 16px rgba(0, 0, 0, 0.2) !important; /* Adds a shadow */
}

@media(max-width: 767px) {
    .sidebar {
        display: none;
    }
    .content {
        margin-left: 10px;
        margin-right: 10px;
    }
    .mobile-nav {
        display: flex;
    }
    .container-fluid {
        max-width: 100%
    }
}

@media (min-width: 768px) {
    .container-fluid {
        max-width: 650px;
    }
    .container-fluid.portfolio {
        max-width: 1200px;
    }
}
.thumbnail-img-container {
    position: relative;
    height: 12em;
}
.thumbnail-img-container .pdf-thumbnail {
    transition: transform 0.5s;
}
.thumbnail-img-container:hover img {
    transform: scale(1.05)
}

.thumbnail-container {
    width: 20em;
    margin: 10px 15px 10px 0;
}

@media (max-width: 768px) {
    .thumbnail-container {
        min-width: 18em;
        margin: 5px 10px 5px 0;
    }
}
.pdf-thumbnail {
    object-fit: cover;
    object-position: top;
    width: 20em;
}

.pdf-thumbnail-caption {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  margin: 10px 1em 10px 1em
}

.dropdown-menu.fade {
  display: block !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-menu.fade.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-short {
    transition: 0.3s ease;
    /* For some reason without original transparent color
       on load element has black fading-out background */
    background-color: transparent !important;
}

.profile-short:hover {
    background-color: rgba(211, 211, 211, 0.16) !important;
    cursor: pointer;
}

.login-form {
    min-width: 320px;
    max-width: 550px;
    /*margin-bottom: auto;*/
    margin-top: 15%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
}
@media (min-width: 576px) {
    .login-form {
        margin-top: 5em;
    }
}

.p-image-big {
    width: 38px;
    height: 38px;
}

.width-200 {
    width: 200px;
}

.profile-name {
    font-size: 0.875rem;
}

.profile-email {
    font-size: 0.7rem;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.small-nav-link {
    font-size: 13px
}

.kin-iframe {
    width: 800px;
    height: 1800px
}


.role-badge {
    display: inline-block;
    padding: .25em .6em;
    font-size: 75%;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 10rem;
    color: #292929;
    background-color: #007bff;
}

.role-badge.attendee {
    background-color: #dbcdf0;
}

.role-badge.speaker {
    background-color: #c6def1;
}

.role-badge.organizer {
    background-color: #c9e4de;
}