/* Elm Modules index screen */

.optionBtn { 
  opacity : 0; 
}

.moduleRow:hover .optionBtn { 
  opacity : 1; 
}
.optionBtn:focus { 
  opacity : 1 
}

.table-responsive { 
  overflow:visible; 
}
.dropdown-menu { 
  position:absolute; 
  z-index: 2;
}


.preview-img {
    height: 50px;
    margin-right: 10px;
    object-fit: cover;
    width:50px;
}

.largeTextarea {
    height: 300px;
}

@media (min-width: 768px) {
    .modal-xl {
        width: 90%;
        max-width:1200px;
    }
}

.moduleTitle {
    font-family: -apple-system,BlinkMacSystemFont;
    font-weight: bold;
    color : black;
}

.moduleTitle a {
    color: black;
}

.table {
    color: black;
    font-weight: 200;
}

/* body {
    font-family: monospace;
} */

.diffoutput {
    border:solid 1px gray;
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
}

.grid-wrapper {
  outline: 1px solid rgb(230, 230, 230);
  /* box-shadow: 0 0 0.2rem rgba(0, 0, 0, 0.419); */
  border-radius: 15px;
  overflow: scroll;
  height: 85vh;
}

.gridSC {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 10px;
  padding: 10px;
  /* overflow-y: scroll; */
}

.grid-navbar {
  margin-left: auto;
  margin-right: auto;
}

.slider {
  margin: 2px;
}

.gridElementWrapper {
  margin:0;
  padding:0;
  border: 6px solid rgb(250, 250, 250);
  border-radius: 15px;
  box-shadow: 0 0 0.2rem rgba(0, 0, 0, 0.419);
  background-color: rgb(250, 250, 250);
  /* position: relative; */
}

.screenshot-created-time {
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: 0;
  font-weight: 100;
  font-size: 11pt;
  color: rgba(0, 0, 0, 0.637);
  font-style: italic;
  margin-right: 5px;
  pointer-events: none;
}

.gridImageWrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  border-radius: 15px;
  border: 1px solid rgb(226, 226, 226);

  /*position: relative;
  margin-bottom: 56.25%;*/
}


.gridImageWrapper img {
  object-fit: cover;
  object-position: 50% 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0px;
}

.user-icons {
  position: absolute;
  width: 40px;
  height: 40px;
  right: 0;
  bottom: 0;
}

.gridSC > div {
  /* background-color: rgba(18, 6, 6, 0.8); */
  text-align: center;
  /* padding: 20px 0; */
  font-size: 30px;
}

.user-name{
  display:inline-block;
}

.user-compile-status{
  display:inline-block;
  margin-top: 3px;
}

.user-details{
  font-size: 14pt;
  font-weight: bold;
}



.user-details a {
  color:black;
}

.gridImage{
    width: 100%;
    height: 100%;
    margin:0;
    /* padding-top:5px;
    padding-bottom:5px; */
}
.gridGraphs{
    /* outline: 2px solid blue; */
    
    border: 6px solid white;
    border-radius: 15px;
    box-shadow: 0 0 0.2rem rgba(0, 0, 0, 0.419);
}

.graph{
  width: 100%;
  border: 1px solid rgb(250, 250, 250);
  border-radius: 15px;
  box-shadow: 0 0 0.2rem rgba(0, 0, 0, 0.419);
  overflow: hidden;
  margin-bottom: 8px;
}

.time-select-container {
  display: flex;
  justify-content: center;
}

.time-select {
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
}

.graph-option-cog {
  position: absolute;
  left:0;
  bottom:0;
}

.gridMain{
    display: grid;
    grid-template-columns: 70% 27.5%;
    padding:10px;
    width:100%;
    height: 100%;
    gap:2.5%;
    
}

#slider-function{
  margin-top: auto;
  margin-bottom: auto;
}

/* Header 2 for dropdown and tabs */
.dropdown {
  display: inline-block;
  position: relative;
  display: inline-block;
}

button{
  border:none;
  border-radius:5px;
  padding:15px 30px;
  font-size:18px;
  cursor:pointer;
}

button:hover{
  background-color:#ddd;
}

.dropdown-options {
  display: none;
  position: absolute;
  overflow: auto;
  background-color:#fff;
  border-radius:5px;
  box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.4);
}



.groupname{
  display: inline-block;
  float:left;
  width:100%;
}

.refreshTime {
  display:inline-block;
}

.grid-dropdown{
  display: grid;
  grid-template-columns: calc(70% - 225px) 50px 150px 1fr;
}
.tab{
  display: inline-block;
  border:none;
  color: blue;
  background-color: white;
  
}

#refresh-control{
  margin-top: 8px;
}

/* ANALYTICS */


.analyticsColumn{

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 1 rem;
}

.compilePie{
  padding: 0.5rem 0.5rem;
  border-radius: 0.5rem;
  margin-bottom: 0.25rem;
}

.histogram{
  padding: 0.5rem 0.5rem;
  border-radius: 0.5rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}
.lactionsPie{
  padding: 0.5rem 0.5rem;
  border-radius: 0.5rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.modules{
  padding: 0.5rem 0.5rem;
  border-radius: 0.5rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  width: 17.5rem;
}
.no_modules{
  font-size: large;
  border-radius: 0.5rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;

}

/* Slider and wrapper */

#wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20vw, 1fr));
  grid-gap: 20px;
}

.item {
  height: 150px;
  border: 0px solid #eee;
  box-shadow: 0 0px 0px 0 rgba(0,0,0,0.1);
  display: inline-block;
  border-radius: 0px;
  margin: 0vw;
  background: orange;
  border: 0px solid orange;
}

.assignmentShowPageTitle  {
  text-align: center;
  color: #272343;
}

/* grid slider */


/*Projects Index*/

.projectRow:hover .optionBtn { 
  opacity : 1; 
}

.user-role-form-select{
  padding : 2px;
  margin : 2px 7px;
}

.user-role-form-buttons{
    visibility : hidden;
}

.user-role-form-buttons > .btn, #user-role-form-ALL-buttons > .btn {
  margin-left : 7px;
  margin-right : 7px;
}

#user-role-form-ALL-buttons {
    margin-left : 73px;
    visibility : hidden;
}

.user-group-role-form{
  display: flex;
  align-items: center;
}