body {
    /* font-size: 14px; */
    /* color: #666666; */
    /* line-height: 1.8em; */
    /* font-weight: 400; */
    background: #191919;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    -webkit-font-smoothing: antialiased;
    font-family: 'Roboto', sans-serif;
    color: white;
}

.material-symbols-outlined {
    /* Google Icon settings */
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
}

.page-wrapper {
    position: relative;
    margin: 0 auto;
    width: 100%;
    min-width: 300px;
}

.hide {
    display: none !important;
}

.overflow-hidden {
    overflow: hidden;
}

/* #region Navbar  */
.navbar {
    color: #fff;
    background-color: #222222;
    padding: 15px 25px;
    box-shadow: 0 0px 8px 4px rgba(0, 0, 0, .2);

}

.navbar .filter-toggle {
    display: none;
    cursor: pointer;
}

.navbar .navbar-title {
    font-size: 18px;
    user-select: none;
}

#navbar-search {
    display: flex;
}

#navbar-search-mobile {
    display: none;
}

#navbar-search-mobile .searchText {
    display: none;
}

.navbar .searchCategory {
    width: auto;
    background-color: #191919;
    color: #fff;
    border-color: #505050;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    font-size: 14px;
    padding: 10px 60px 10px 16px;
}

.navbar .searchText {
    width: auto;
    background-color: #191919;
    color: #fff;
    border-color: #505050;
    border-radius: 0;
    font-size: 14px;
    padding: 10px 160px 10px 16px;
}

.navbar input::placeholder {
    color: white;
}

.navbar input:focus {
    background-color: #191919;
    color: white;
}

.navbar .searchBtn {
    background-color: #191919;
    font-size: 14px;
    color: white;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border: solid 1px #505050;
}



/* #endregion Navbar */

/* #region Sidebar */

#filter-sidebar {
    width: 17%;
    left: 3%;
    z-index: 1030;
}

.sidebar-container {
    background-color: #222222;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    height: auto;
    overflow: auto;
    box-shadow: 0px 0px 8px 4px rgba(0, 0, 0, .2);
    font-size: 14px;
    padding: 14px 0 20px 0;
}

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 0 0 20px;
    user-select: none;
    font-size: 16px;
}

.close-filter {
    display: none;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 15px 0 20px;
}

.sidebar-content .form-check {
    display: flex;
}

.sidebar-content label {
    display: flex;
    width: 100%;
}

.sidebar-content .sidebar-number {
    margin-left: auto;
    margin-right: 2%;
}

#filter-sidebar input[type='checkbox'] {
    background-color: #191919;
    border-color: #505050;
    transform: scale(1.2);
    margin-right: 15px;
}

.sidebar-divider {
    opacity: .5;
    border-top: 2px solid #505050;
    margin: 1em 0;
}

/* #endregion Sidebar */

/* #region Top bar */
.topbar-container {
    width: 100%;
    font-size: 14px;
    display: flex;
    text-wrap: nowrap;
}

.topbar-left {
    display: flex;
    align-items: center;
}

.topbar-item {
    padding: 5px 20px;
    margin-left: 15px;
    border: 1px solid #505050;
    border-radius: 30px;
    cursor: pointer;
}

.topbar-item:hover {
    background-color: #fff;
    color: #222222;
}

.topbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.topbar-right .dropdown-btn::after {
    display: inline-block;
    content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    width: 1em;
    height: 1em;
    margin-left: 0.5em;
}

.topbar-right .dropdown-menu {
    background-color: #191919;
    border-color: #505050;
    border-radius: 0%;
    font-size: 14px;
    min-width: 10em;
    margin-top: 0.5em !important;
}

.topbar-right .dropdown-menu .dropdown-item {
    color: white;
}

.topbar-right .dropdown-menu .dropdown-item:hover {
    background-color: #1967d2;
}

/* #endregion Top bar */

/* #region Project list content */
#portfolio-content {
    margin-left: 23%;
    margin-right: 2%;
    display: flex;
    flex-direction: column;
}

.projectlist-container {
    display: flex;
    flex-wrap: wrap;
    background-color: #222222;
    padding: 5px;
    border-radius: 6px;
    box-shadow: 0px 0px 8px 4px rgba(0, 0, 0, .2);
    align-items: flex-end;
}

.projectlist-container .carousel {
    order: 99;
    margin: 15px;
    max-width: calc(33% - 30px);
    min-width: calc(33% - 30px);
    overflow: hidden;
    height: 100%;
}

.projectlist-container .carousel-inner {
    display: flex;
    aspect-ratio: 1 / 0.9;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.projectlist-container .carousel .carousel-item {
    margin-top: auto;
    overflow: hidden;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.carousel .carousel-item img {
    width: 100%;
    cursor: pointer;
}

.slide-control {
    display: none;
}

.slide-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px 35px 15px;
    background-color: #f2f2f2;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    overflow: hidden;

    color: black;
    font-size: 14px;
    font-weight: 550;
    text-transform: uppercase;
}

.slide-footer .project-name {
    flex: 1 1 0;
}

.slide-footer .footer-btn {
    margin: 0 10px 0 0;
    padding: 2px 6px;
    text-decoration: none;
    text-transform: none;
    border: 1px solid;
    border-radius: 10px;
    align-self: flex-end;
}

.slide-footer .custom-indicator {
    position: absolute;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.slide-footer .custom-indicator button[data-bs-target] {
    box-sizing: border-box;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #505050;
}

.slide-footer .custom-indicator .active[data-bs-target] {
    opacity: 1;
    background-color: #000;
    border: none;
}

.demo-link-menu {
    text-transform: capitalize;
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.demo-link-menu .demo-link-btn {
    color: #0d6efd;
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid #0d6efd;
    text-align: center;
    text-decoration: none;
    text-wrap: nowrap;
    margin-left: 6px;
    flex: 1 1 0px;
}

@media screen and (min-width: 800px) {
    .demo-link-menu .demo-link-btn:hover {
        background-color: #0d6efd;
        color: white;
    }
}

.demo-link-menu .demo-link-btn:active {
    background-color: #0d6efd;
    color: white;
}

/* #endregion */

/* #region footer */
.page-footer {
    display: flex;
    background-color: #222222;
    padding: 15px 8%;
    margin-top: 20px;
}
.page-footer .footer-content{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    width: 100%;
    color: rgba(222, 226, 230, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* #endregion */

/* #region modal */
.modal-container {
    z-index: 1030;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;

}

#modal-fullImage {
    display: flex;
    flex-direction: row;

}

.modal-image-content {
    position: relative;
    margin: auto;
    background-color: #fff;
    overflow: hidden;
    display: flex;
    justify-content: center;


}

.modal-image-content .carousel-inner {
    background-color: white;
    padding: 30px 10px 20px 10px;
}

.modal-image-content img {
    display: block;
    margin: 0 auto;
    max-width: 90vw;
    max-height: 85vh;
    min-width: 35vw;
}

.modal-closeBtn {
    z-index: 200;
    position: absolute;
    right: 0%;
    border: none;
    padding: 0 14px;
    color: black;
    cursor: pointer;
    font-size: x-large;
}

.modal-closeBtn:hover {
    background-color: #505050;
    color: #fff;
}

.overlay {
    position: fixed;
    top: 0;
    z-index: -1;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;

}


#modal-fullImage .custom-control-prev {
    order: 1;
}

#modal-fullImage .carousel-inner {
    order: 2;
}

#modal-fullImage .custom-control-next {
    order: 3;
}

#modal-fullImage .carousel-item {
    transition: none;
}

#modal-fullImage .custom-control-prev,
#modal-fullImage .custom-control-next {
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10%;
    padding: 0;
    text-align: center;
    background: 0 0;
    border: 0;
    opacity: .5;
}

#modal-fullImage .custom-prev-icon,
#modal-fullImage .custom-next-icon {
    scale: 3;
    font-weight: 600;
    color: black;
}

#modal-fullImage .carousel-item:not(.active) {
    position: absolute;
    display: block;
    visibility: hidden;
}

#modal-fullImage .zoomist-image {
    min-height: 60vh;
    background-color: white;

    display: flex;
    justify-content: center;

}

#modal-fullImage .zoomist-image img {
    object-fit: contain;
}

/*#endregion*/

/* #region versioning */
.version{
    position: fixed;
    z-index: 1030;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.version-container{
    position: relative;
    background-color: #191919; 
    height: 95%;
    max-width: 95%; 
    aspect-ratio: 4/5;
}

.closeVersion-btn{
    position: absolute;
    right: 0;
    top: 0;
    font-size: 30px;
    cursor: pointer;
    padding:0 15px;
}

.closeVersion-btn:hover{
     color: #E81123;
     background-color: #212121;
}
.version-title
{
    font-size: 20px;
    padding-top:20px;
    display: flex;
    justify-content: center;
}
.version-list{
    overflow: auto;height: 90%;
}
.version-detail{
    margin:10px 5%;
    padding: 15px;
    background-color: #222222;
    border-radius: 6px;
    box-shadow: 0px 0px 3px  rgba(0, 0, 0, .2);
}
/*#endregion*/
