@import url("https://fonts.googleapis.com/css?family=Baloo+Bhaina");
@font-face {
    font-family: 'glyphicons-halflings-regular'; 
    src: url('/fonts/glyphicons-halflings-regular.woff2') format('woff2');}


/************      Robust Universal Border-box Fix and Clearfix Suggested by Grant - start     ************/
:root {
    box-sizing: border-box;
    --theme-color: #cc6b5a;
    --author-color:#66f5ff;
    --reviewer-color:#99ff99;
}
*,::before,::after {
    box-sizing: inherit;
}

.clearfix::before,
.clearfix::after {
    display: table;
    content: " ";
}
.clearfix::after {
      clear: both;
}
/************       Robust Universal Border-box Fix and Clearfix Suggested by Grant - end      ************/


/************       Link - start      ************/
a:link {
    color:blue;
    text-decoration: none;
}
a.link-dark {
   color: black; 
}
a.link-cyanBlue {
    color: #104683;
 }
a:visited {
    color:purple;
}
a:hover {
    text-decoration: underline;
    cursor: pointer;
}
a:active {
    color:red;
}
/************       Link - end      ************/


/************       Grid Layout - start     ************/
body {
    background-color:powderblue;
    font-family: Tahoma, sans-serif, serif, "Times New Roman", Garamond, Arial;
}

.container-main {
    display: grid;
    grid-template-columns: 1fr 7fr;
    grid-template-rows: 6vh 5vh 32vh 32vh 17vh 5vh;
    grid-gap: 0.4vh 0.6vh;
    max-width: 100vw;
    height: 100vh;
    margin: 0.3vh;
}

.logo {
    width: auto;
    height: auto;
    -moz-background-size: 100% 100%;
    -o-background-size: 100% 100%;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
    background-position: center;
    background-image: url('/images/logo.png');
    display: block;
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

header {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.sidebar-top {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    background-color:var(--author-color);
}

.sidebar-middle {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
    background-color:var(--reviewer-color);
}

.sidebar-bottom {
    grid-column: 1 / 2;
    grid-row: 5 / 6;
}

.sidebar-bottom>h4 {
    margin: 1.0em;
}

main {
    grid-column: 2 / 3;
    grid-row: 3 / 6;
    background-color: white;
}

main-PaperDisplay {
    grid-column: 2 / 3;
    grid-row: 1 / 6;
    background-color: white;
}
/************       Grid Layout - end     ************/



/************       Horizontal Navigation -start     ************/
.site-nav {
    display: flex;
    margin: 0;
    padding: .5vh;
    list-style-type: none;
    border-radius:.2vh;
}

.site-nav > li {
    margin-top: 0;
}

.site-nav > li > a {
    display: block;
    padding: .5em 1em;
    background-color: var(--theme-color);
    color: white;
    text-decoration: none;
}

.site-nav > li + li {
    margin-left: 2em
}

.site-nav > .nav-right {
    margin-left: auto;
}
/************       Horizontal Navigation -end     ************/


/************       Button - start      ************/

button {
    border-width: 0.1vh;
    border-radius: 0.2vh;
    height: 3vh;
}

.sidebar-title {

    font-size: 2.7vh;
    font-weight: bold;
    padding-top: 0.85vh;
    padding-bottom: 0.85vh;
}

.sidebar-text {
    font-size: 2vh;
    font-weight: bold;
}

.button-link {
    display: block;
    font-size: 2vh;
    font-weight: bold;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    margin: 2vh;
    padding: 1vh;
    text-decoration: none;
    background-color: #dff05d;
    border: 0.3vmin solid #111111;
    border-radius: 1vmin;
    transition-property: all;
    transition-duration: 1.0s;
}

a.button-link:hover {
    text-decoration: none;
    background-color: #8b8beb;
}

.button-category {
    font-size: 1.5em;
    font-weight: bold;
}

.goback {
    display: inline-block;
    margin-top: 1vh;
    font-size: 1.5vh;
}

.btn {
    font-size: 1.5vh;
    height: 3vh;
    padding: 0.3vh 0.6vh;
    border-radius: 0.2vh;
    border-width: 0.1vh;
    border: 0.1vh;
    margin-top: 0.1vh;
    margin-bottom: 0.1vh;
}

.btn-author {
    background-color:var(--author-color);
    color: black;
    font-weight: bold;
}

.btn-reviewer {
    background-color:var(--reviewer-color);
    color: black;
    font-weight: bold;
}

.hoverdisabled {
    pointer-events: none;
}

/*
form > button.btn.btn-default.button-cancel {
    margin-top: 0.8vh;
}
*/

form > button.btn.btn-primary.btn-block {
    margin-top: 1vh;
    margin-bottom: 0.5vh;
}

form > button.btn.btn-default.button-cancel {
    margin-top: 0.5vh;
    margin-bottom: 0.5vh;
}


.BrowseFileToUpload {
    font-size: 1.5vh;
    margin-top: 1.5vh;
}

.form-upload {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/************       Button - end      ************/


/************       Footer - start     ************/
.footer {
    grid-column: 2 / 3;
    grid-row: 6 / 7;
}

.footer li {
    display: inline;
    padding: 0.5vh;
}

.footer li + li {
    margin-left: 4vw
}

.footer a {
    font-size: 1.5vh;
    padding: 1vh 1.5vw;
    text-decoration: none;
    color:black;
}

.footer a:hover {
    text-decoration: underline;
}

/* classes for dynamically adding and removing fields.*/
.add{
    text-decoration: none;
    display: inline-block;
    width: max(4vw,4vh);
    height: max(2vw,3vh);
    padding: 0 0.5vh;
    color: #fff;
    margin-left: 0%;
    margin-bottom: 1vh;
    display: block;
    justify-content: center;
    align-items: center;
}
.flex{
    display: flex;
    gap: 0.2em;
    margin-bottom: 10px;
}
.delete{
    text-decoration: none;
    display: inline-block;
    background: #f44336;
    color: #fff;
    font-size: 1vh;
    font-weight: bold;
    width: 4vw;
    height: 2.7vh;
    color: #fff;
    margin-left: 0%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
/************       Footer - end     ************/


/************      Flash Messages - start    ************/
.flash {
    background: rgba(193, 255, 193, 0.7);
    font-weight: bold;
    font-size: 2vh;
    color: #625a56;
    width: 100%;
    text-align: center;
    padding: 0.5vh 1vh;
    position: relative;
    z-index: 2;
  }

.error {
    color: #fff;
    background: rgba(209, 46, 42, 0.7);
  }


.form-signin-heading {
    margin-top: 1.5vh;
  } /* To adjust the Create User top margin so that it does not overlap with the flash message*/
/************      Flash Messages - end    ************/




/************      Modal Setup - start    ************/
.modal-body {
    position: relative;
    background-color: #fff;
    padding: 2vh;
  }

.modalHeader {
    padding-bottom: 0.5vh;
    border-bottom: 0.1vh solid #e5e5e5;
  }

.modal-abstract {
    padding: 1vh;
    white-space: pre-wrap;
}  

.modal-lg {
    width: 90vh;
}

.modal-md {
    width: 60vh;
}

.modal-sm {
    width: 30vh;
}

/* The Close Button */
.close {
    color: red;
    float: right;
    font-size: 40px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/************      Modal Setup - end    ************/



/************      Table Setup for Paper Display - start    ************/
.wrapper {
    margin: 1em 1em 1em 1em;
}

table {
    border: none;
    font-size: 1.5vh;
    height: 3vh;
    padding: 0.3vh 0.6vh;
    border-radius: 0.2vh;
}

th.sortByRow {
    cursor: pointer;
}

table > thead > tr > th {
    border-width: 0.2vh 0.2vh 0.2vh 0.2vh;
    border-style: solid;
    border-color: #ffffff;
}

table > tbody > tr > td {
    border-width: 0.25vh 0.2vh;
    border-style: solid;
    border-color: #ffffff;
}

tr {
    background-color: #f8f2f1;
}

tr:nth-child(even) {
    background-color: lightyellow;
}

.author-background > thead > tr:first-child{
    background-color: var(--author-color);}

.reviewer-background > thead > tr:first-child{
    background-color: var(--reviewer-color);
}
/************      Table Setup for Paper Display - end    ************/



/************      Text Input for Paper Information - start   ************/
input[type="text"].form-control,
input[type="email"].form-control,
input[type="tel"].form-control,
input[type="password"].form-control,
input[type="number"].form-control
 {
    font-size: 1.5vh;
    height: 3vh;
    padding: 0.3vh 0.6vh;
    border-radius: 0.2vh;
    border-width: 0.1vh;
  }

textarea {
    resize: none;
}

textarea[type="text"].form-control {
    font-size: 1.5vh;
    height: 24vh;
}

.hugeHeading {
    font-size: 3vh;
    font-weight: bold;
    margin: 2vh 0 0.5vh 0;
}

.largeHeading {
    font-size: 2vh;
    margin: 0.5vh 0;
    font-weight: bold;
}

.smallHeading {
    font-size: 1.5vh;
    margin: 0.5vh 0;
    font-weight: bold;
}

.tinyHeading {
    font-size: 1vh;
    margin: 0.3vh 0;
    font-weight: bold;
}

.hugeText {
    font-size: 3vh;
}

.largeText {
    font-size: 2vh;
}

.smallText {
    font-size: 1.5vh;
}

.tinyText {
    font-size: 1vh;
}


.extraTopMargin {
    margin-top: 2vh;
}

.extraBottomMargin {
    margin-bottom: 2vh;
}

.extraLeftMargin {
    margin-left: 2vh;
}

.extraRightMargin {
    margin-right: 2vh;
}

form > button.btn.btn-primary.btn-block.increaseMargin {
    margin: 1.5vh 0;
}

input + input {
    margin-top: 1vh;
}

input + button {
    margin-top: 1.5vh;
}

/*
.btn-lg {
    height: 4vh;
    padding: 0.5vh;
    font-size: 2vh;
    line-height: 1vh;
    border-radius: 0.5vh
  }
*/


.textNoWrap {
    white-space: nowrap;
}
/************      Text Input for Paper Information - end   ************/




/************       Dropdown Menu for Paper Submission  - start    ************/
select {
    border-radius: 0.5vh;
    border-color: rgb(206, 200, 200);
    border-width: 0.1vh;
    padding: 0.5vh;
    margin: 0 0.3vh;
    outline: none;
    cursor: pointer;
    background: transparent;
}

.dropdownText {
    font-size: 1.7vh;
    margin: 1vh 0;
  }

option.dropdownTextSecondary {
    color: gray;
}

/************       Dropdown Menu for Paper Submission  - end    ************/


/************      Marketplace Tabs - start      ************/
/*  CSS for the main interaction */
.tabset > input[type="radio"] {
    position: absolute;
    left: -200vw;
}
  
.tabset .tab-panel {
    display: none;
}
  
.tabset > input:first-child:checked ~ .tab-panels > .tab-panel:first-child,
.tabset > input:nth-child(3):checked ~ .tab-panels > .tab-panel:nth-child(2),
.tabset > input:nth-child(5):checked ~ .tab-panels > .tab-panel:nth-child(3),
.tabset > input:nth-child(7):checked ~ .tab-panels > .tab-panel:nth-child(4),
.tabset > input:nth-child(9):checked ~ .tab-panels > .tab-panel:nth-child(5),
.tabset > input:nth-child(11):checked ~ .tab-panels > .tab-panel:nth-child(6) {
    display: block;
}
  
/* Styling */ 
.tabset > label {
    position: relative;
    display: inline-block;
    width: 22vh;
    padding: 1.2vh 1.2vh 1.2vh;
    border: 0.1vh solid transparent;
    border-bottom: 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.5vh;
    text-align: center;
}

/*
.tabset > label::after {
    content: "";
    position: absolute;
    left: 1.2vh;
    bottom: 0.9vh;
    width: 2.5vh;
    height: 0.3vh;
    background: #8d8d8d;
}
*/
  
input:focus-visible + label {
    outline: 0.2vh solid rgba(0,102,204,1);
    border-radius: 0.2vh;
}
  
.tabset > label:hover,
.tabset > input:focus + label,
.tabset > input:checked + label {
    color: #06c;
}
  
.tabset > label:hover::after,
.tabset > input:focus + label::after,
.tabset > input:checked + label::after {
    background: #06c;
}
  
.tabset > input:checked + label {
    border-color: #ccc;
    border-bottom: 0.1vh solid #fff;
    margin-bottom: -0.1vh;
}
  
.tab-panel {
    padding: 2.4vh 0;
    border-top: 0.1vh solid #ccc;
}
/************      Marketplace Tabs - end      ************/


/************       Marketplace Paper Display - start      ************/
.paper-vertical-stack {
    display: flex;
    flex-direction: column;
}

.paper-vertical-stack div.paper-container:nth-child(even) {
    background-color: lightyellow;
}

.paper-container {
    display: flex;
    flex-direction: column;
    margin: 1vh; 
}

.horizontal-line {
    border-bottom: 1vh solid gray;
    margin: 0 2vh;
}

.paper-title {
    display: flex;
    font-size: 2.5vh;
    font-weight: 400;
    text-align: left;
    /* text-decoration: underline; */
    word-break: break-word;
}

.paper-info {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    font-size: 1.5vh;
}

.paper-posted-time {
    padding-right: 1.5vh;
    color: #505050;
}

.paper-reviewer-needed {
    margin-left: 1.5vh;
    margin-right: 3vh;
    display: list-item;
}
/************       Marketplace Paper Display - end      ************/



/************       Star Rating - start      ************/
.rate {
    float: left;
    height: 4.5vh;
    padding: 0 0 0 1vh;
    width: max-content;
}
.rate:not(:checked) > input {
    position:absolute;
    top:-9999px;
}
.rate:not(:checked) > label {
    float:right;
    width:1.5vh;
    overflow:hidden;
    white-space:nowrap;
    cursor:pointer;
    font-size:1.5vh;
    color:#ccc;
}
.rate:not(:checked) > label:before {
    content: '★ ';
}
.rate > input:checked ~ label {
    color: #ffc700;    
}
.rate:not(:checked) > label:hover,
.rate:not(:checked) > label:hover ~ label {
    color: #deb217;  
}
.rate > input:checked + label:hover,
.rate > input:checked + label:hover ~ label,
.rate > input:checked ~ label:hover,
.rate > input:checked ~ label:hover ~ label,
.rate > label:hover ~ input:checked ~ label {
    color: #c59b08;
}
/************       Star Rating - end      ************/


/************       Pagination - start      ************/

.numberSelector{
    width: 90%;
    height: 10vh;
    margin-bottom: auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.items-controller {
    display: flex;
    align-content: center;
    align-items: center;
    margin: 0 2vh 0 2vh;
}

.search{
    display: flex;
    align-content: center;
    align-items: center;
    margin: 0 2vh 0 2vh;
}
.page-field{
    margin: 0 2vh 0 5vh;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
}

.goToPage {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
}
.pagination{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
}

.search > input{
    padding: 0.3vh;
    border-color: #D3D3D3;
    margin: 0 0 0 2vh;
    width: 20vh;
    border-width: 0.1vh;
}
.goToPage > input[type="text"].form-control{
    padding: 0.2vh;
    border-color: #D3D3D3;
    margin: 0 1vh 0 0.5vh;
    font-size: 1vh;
    width: 5vh;
    height: 2vh;
}

.goToPage > .btn {
    font-size: 1vh;
    height: 2vh;
    padding: 0.2vh 0.4vh;
    border-radius: 0.2vh;
}

.pagination li{
  list-style: none;
  padding: 0.1vh;
  margin: 1vh;
  flex-shrink: 0;
  text-align: center;
  border-radius: 0.5vh;
  border: 0.1vh solid #999;
  color: #999;
}

.pagination li a {
    border: none;
}

.pagination li.active {
  background: #337ab7;
  color: white;
  border-color: #337ab7;

}
.pagination li a{
  text-decoration: none;
  padding: 0.3vh 0.8vh;
  color: inherit;
  display: block;
  font-family: sans-serif;
  font-size: 1.5vh;
}

.searchText {
    font-size: 1.5vh;
    margin: 0;
    text-align: left;
}

div.search > input[type="text"].form-control
 {
    font-size: 1.5vh;
    height: 3vh;
    border-radius: 0.2vh;
    margin: 0 0.3vh;
}

div.search > select {
    border: solid;
    border-color: lightgray;
    border-width: 0.1vh;
    margin-right: 0;
    height: 3vh;
}

button.glyphicon {
    top: 0;
}

button.btn.btn-default.glyphicon.glyphicon-search {
    margin-top: 0;
}


/************       pagination - end      ************/


/************       Miscellaneous - start      ************/
.media-image {
    float: left;
}

.pagetitle {
    color: var(--theme-color);
    font-size: 5vh;
}

.textcenter {
    text-align: center;
}

.featured {
    color:#b32b13;
    margin-top: 2vh;
    margin-bottom: 3.5vh;
}


.playground {
    max-height: 79vh;
    padding: 2.5vh;
    overflow-y:auto;
}

.playground-paper {
    padding: 2.5vh;
    overflow-y:auto;
}


iframe { height: 80vh }

.paper-title-wrap {
    width: 83vw;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 3vh;
    font-weight: 500;
}

div.updateFiles {
    display: flex;
    align-content: center;
}

.updateFilesChild {
    margin: 0.3vh 1vh 0.3vh 0;
}

/************       Miscellaneous - end      ************/