.wpscholar-container {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

#wpscholar-search {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 4px;
}

#wpscholar-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

#wpscholar-list li {
    font-size: 18px;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#wpscholar-list li:last-child {
    border-bottom: none;
}

#wpscholar-list li:hover {
    background-color: #f5f5f5;
}

.wpscholar-user-profile:hover {
    background-color: #f5f5f5;
}

.wpscholar-title, .wpscholar-citations {
    margin: 0;
}

.wpscholar-citations {
    font-size: 0.8em;
}

.wpscholar-title a, .wpscholar-citations a {
    color: #1a0dab;
    text-decoration: none;
}

.wpscholar-title a:visited, .wpscholar-citations a:visited {
    color: #660099;
    text-decoration: none;
}

.wpscholar-authors, .wpscholar-publications {
    margin: 0;
    color: #777777;
    font-size: 0.8em;
}

.wpscholar-search-container {
    position: relative;
}

#wpscholar-clear-search {
    display: none;
    position: absolute;
    top: 34%;
    transform: translateY(-50%);
    right: 0.5%;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

#wpscholar-clear-search i {
    color: gray;
}

.wpscholar-index-section {
    width: 2%;
    text-align: left;
    min-width: fit-content;
    margin-right: 20px;
}

.wpscholar-title-section {
    width: 78%;
}

.wpscholar-citations-section, .wpscholar-year-section {
    width: 10%;
    text-align: center;
}

#wpscholar-list li:first-child .wpscholar-title-section,
#wpscholar-list li:first-child .wpscholar-citations-section,
#wpscholar-list li:first-child .wpscholar-year-section {
    text-decoration: underline;
}

.wpscholar-results-number-container {
    margin-bottom: 10px;
    font-size: 20px;
    text-transform: uppercase;
}

.wpscholar-author-preview-body {
    background: #fff;
    border: 1px solid #ccd0d4;
    color: #444;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 2em auto;
    padding: 1em 2em;
    max-width: 700px;
}

.wpscholar-user-profile {
    display: flex;
    width: 100%;
    margin-bottom: 30px;
    align-items: center;
}

.wpscholar-user-details {
    flex: 1;
    text-align: left;
}

.wpscholar-user-name {
    font-weight: bold;
    font-size: large;
}

.wpscholar-user-interests {
    margin-top: 5px;
}

.wpscholar-after-gradiant {
    position: relative;
}
.wpscholar-after-gradiant img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}
.wpscholar-after-gradiant::after {
    content: "";
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: linear-gradient(
            90deg,
            rgba(255, 87, 34, 1) 0%,
            rgba(205, 220, 57, 1) 100%,
            rgba(0, 212, 255, 1) 100%
    );
    display: block;
    position: absolute;
    top: -5px;
    left: -5px;
    z-index: -1;
}

ul.wpscholar-interests-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.wpscholar-interests-list li {
    display: inline;
}

ul.wpscholar-interests-list li:not(:last-child)::after {
    content: ", ";
}

.wpscholar-container-authors {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
}

.wpscholar-container-authors > .wpscholar-user-profile {
    width: 320px;
}

.wpscholar-container-authors .wpscholar-affiliations {
    font-size: smaller;
}

.wpscholar-author-preview-html {
    background: #e8e8ed;
}

.wpscholar-sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}
.wpscholar-sidenav table {
    width: inherit;
}

.wpscholar-sidenav td {
    color: white;
    font-size: large;

}

.wpscholar-sidenav input[type="button"],
.wpscholar-sidenav input[type="submit"]
{
    color: black;
    background-color: white;
    transition-duration: 0.4s;
    border-radius: 10px;
    width: 95%;
    height: 30px;
    display: block;
    font-size: large;
    align-content: baseline;
    font-weight: bold;
    margin-top: 30px;
}

.wpscholar-sidenav input[type="button"]:hover,
.wpscholar-sidenav input[type="submit"]:hover {
    background-color: gray;
}

.wpscholar-sidenav input[type="button"]:active,
.wpscholar-sidenav input[type="submit"]:active {
    background-color: darkblue;
}

.wpscholar-sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.wpscholar-sidenav a:hover {
    color: #f1f1f1;
}

.wpscholar-sidenav .closebtn {
    position: absolute;
    top: -15px;
    right: 21px;
    font-size: 46px;
    margin-left: 50px;
    font-weight: 800;
}

.wpscholar-sidenav .go-home {
    position: absolute;
    top: 10px;
    left: -20px;
}

.wpscholar-sidenav table {
    width: 100%;
    margin-right: 5px;
    margin-left: 5px;
}


#topButton {
    position: fixed;
    top: 10px;
    left: 10px;
    background-color: #000000;
    color: #fff;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

@media screen and (max-height: 450px) {
    .wpscholar-sidenav {padding-top: 15px;}
    .wpscholar-sidenav a {font-size: 18px;}
}

@media screen and (min-width: 1200px) {
    .wpscholar-index-section {
        width: 2%;
        min-width: fit-content;
        text-align: left;
    }
    .wpscholar-title-section {
        width: 83%;
    }
    .wpscholar-citations-section, .wpscholar-year-section {
        width: 7.5%;
    }

}