/**********************************/
/********** General CSS ***********/
/**********************************/
:root{
    --primary-color: #0678be;
    --secondary-color: #04598d;
    --dark-color: rgb(0, 0, 0);
    --bg-color:#F5F5F5;
    --gray-color: rgb(117, 117, 117); 
    --link-color:#b80101;
  }
  
body {
    background: #ffffff;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

p{
    margin: 0;
}

a {
    color: var(--primary-color);
    transition: all .3s;
}

a:hover,
a:active,
a:focus {
    color: var(--link-color);
    outline: none;
    text-decoration: none;
}

.btn:focus {
    box-shadow: none;
}

.sub-color{
    color: rgb(129, 129, 129);
}

.underline {
    text-decoration: underline;
}

h1 {
    margin-bottom: 10px;
}

h2, h3, h4 {
    width: fit-content;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.blue{
    color: var(--secondary-color); 
}

.gray{
    color: var(--gray-color)
}

.project-img {
    width: 100%;
    border: 1px solid #ececec;
    margin-bottom: 30px;
    cursor: pointer;
}

.news-img {
    width: 100%;
    border: 1px solid #ebebeb;
}

/**********************************/
/****** Layout with Sidebar *******/
/**********************************/
.wrapper {
    position: relative;
    margin: 0 auto;
    width: 100%;
}

.wrapper .sidebar {
    position: relative;
    width: 100%;
    float: left;
    background: #ebebeb;
}

.wrapper .content {
    position: relative;
    width: 100%;
    float: left;
    display: flex;
    justify-content: center;
}

.wrapper .content .inner-content {
    max-width: 890px;
    background-color: #ffffff;
    padding: 50px 20px 100px 20px;
    width: 100%;
}

.wrapper .content .inner-content > div{
    margin-bottom: 70px;
}

.bold {
    font-weight: 500;
}

.bold-2 {
    font-weight: 650;
}

.navbar {
    padding: 15px;
    background: #ebebeb !important;
}

.navbar .navbar-brand{
    color: var(--dark-color) !important;
    font-weight: bold;
}

.navbar-expand-md .navbar-nav .nav-item {
    width: 100%;
    border-top: 1px solid rgb(255, 255, 255);
    margin-bottom: 0;
}

.navbar-expand-md .navbar-nav .nav-item:first-child{
    border-top: none;
}

.navbar-expand-md .navbar-nav .nav-link {
    color: var(--dark-color);
    padding: 5px 15px 7px 15px;
    width: 100%;
    height: 100%;
    transition: all .3s;
    font-weight: 700;
}

.navbar-expand-md .navbar-nav .nav-link i {
    float: right;
    padding-top: 5px;
    transition: all .3s;
}

.navbar-expand-md .navbar-nav .nav-link:hover{
    color: var(--primary-color);
}

.active-link{
    color: #ffffff !important;
    background-color: var(--dark-color);
}

.active-link:hover{
    color: #ffffff;
    background-color: var(--dark-color);
}


.wrapper .sidebar,
.wrapper .content {
    -webkit-transition: margin 200ms ease-out;
    -moz-transition: margin 200ms ease-out;
    -o-transition: margin 200ms ease-out;
    transition: margin 200ms ease-out;
}

.icon {
    display: none;
}

.navbar-toggler-icon{
    filter: grayscale(1) invert(1);
}

@media (min-width: 768px) {        
    .wrapper .sidebar {
        position: fixed;
        width: 250px;
        height: 100%;
        margin-left: -200px;
        float: left;
        overflow: auto;
        scrollbar-width: thin;
        scrollbar-color: gray;
        z-index: 2;
    }

    .icon {
        display: block;
    }

    .wrapper .sidebar:hover {
        margin-left: 0px;
    }
    
    .wrapper .content { 
        position: relative;
        width: calc(100% - 50px);
        margin-left: 50px;
        float: right;
    }
    
    .navbar-brand {
        display: none;
    }
    
    .navbar {
        padding: 15px 0;
        flex-direction: column;
    }
    
    .wrapper .sidebar:hover .navbar-expand-md .navbar-nav .nav-link {
        padding: 5px 30px 7px 30px;
    }
    
    .wrapper .sidebar::-webkit-scrollbar {
        width: 7px;
    }

    .wrapper .sidebar::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
    }

    .wrapper .sidebar::-webkit-scrollbar-thumb {
        background-color: darkgrey;
        outline: 1px solid slategrey;
        border-radius: 7px
    }
    
    .navbar-brand {
        display: none;
    }
    
}

@media (min-width: 992px) {
    .wrapper .sidebar {
        margin: 0;
    }

    .wrapper .content {
        width: calc(100% - 250px);
        margin-left: 250px;
    }
    
    .navbar-expand-md .navbar-nav .nav-link {
        padding: 5px 30px 7px 30px;
    }

    .icon {
        display: none;
    }
    
}

/* Table */
.clr-table table {
    border-collapse: collapse;
    width: 100%;
  }

.clr-table table, th, td {
    border: 1px solid #ddd;
    padding: 5px;
}

/* model */
.modal-lg{
    width: fit-content;
    max-width: 80%;
}

.zoom-container {
    overflow: hidden;
    display: inline-block;
}

.zoom-container img.zoom-in {
    transition: transform 0.3s ease; /* Smooth zoom effect */
}

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

.news ul li {
    margin-bottom: 15px;
}

.publication ul {
    list-style-type: none;
    padding-left: 0;
}
  
.publication ul li {
    position: relative;
    padding-left: 50px;
}

.publication  ul li[data-type="J"]::before {
    content: "[ J" counter(list-item) " ]";
    position: absolute;
    left: 0;
    top: 0;
}

.publication ul li[data-type="C"]::before {
    content: "[ C" counter(list-item) " ]";
    position: absolute;
    left: 0;
    top: 0;
}

.publication ul li[data-type="D"]::before {
    content: "[ D" counter(list-item) " ]";
    position: absolute;
    left: 0;
    top: 0;
}