﻿/*
    This sheet was designed to
    be used to style _Layout.cshtml
*/

body {
    font-family: "Arial", Helvetica, sans-serif;
    font-size: small;
}

label {
    font-weight: 500;
}

/*All buttons and links*/
button, .btn, .flex-nav a, [type=submit] {
    width: 150px;
    border-radius: 3px;
    border: 1px solid gainsboro;
    font-weight: normal;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    padding: 3px 0px;
}

/*All input boxes*/
input[type=text], select {
    height: 24px;
    border-radius: 0;
    width: 200px;
    padding: 2px;
    border: 1px solid #E3E3E3;
    margin-top: 3px;
}

.text-box {
    border: 1px solid #E3E3E3;
    height: 24px;
    padding: 2px;
    padding-left: 20px;
}
input[type=checkbox], input[type=radio] {
    /*Bootstrap defaults 4px margin-top*/
    margin-top: 2px;
    border: 1px solid #E3E3E3;
}

.flex-wrapper {
    display: flex;
    /*Put the containers side by side and don't wrap the damn things.*/
    flex-flow: row nowrap;
    margin: 0px;
    padding: 0px;
    overflow-y: hidden;
    overflow-x: auto;
    height: 100vh;
}

    /* We tell all items to be 100% width, via flex-basis */
    .flex-wrapper > * {
        flex: 1 100%;
    }

@media all{
    .page-content {
        flex: 3 0px;
    }

    .aside-left {
        /*Don't grow, don't shrink, be 44px*/
        flex: 0 0 44px;
        /*Always align left*/
        order: 1;
    }

    .page-content {
        /*Always be right of aside-left*/
        order: 2;
        margin-left: 62px;
    }

    .aside-right {
        /*Don't grow, don't shrink, be 200px*/
        flex: 0 0 200px;
        order: 3;        
    }
}

.modal{
    display:none;
}

/*Login Page*/
.centered-vertically {
    position: fixed;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}

/*Aside right*/
.flex-nav {
    /*Fill the entire vertical span*/
    min-height: 96% !important;
    background-color: #fafafa;
    margin-right: 12px;
    margin-top: 12px;
    padding: 0 24px;
    float: right;
    border: 1px solid #eeeeee;
    border-radius: 3px;
    display: flex;
    flex-flow: row wrap;
    list-style-type: none;
    justify-content: center;
    width: 200px;    
}

#login-group{
    align-self: flex-end;
}

.module-description {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.description-area {
  vertical-align:top;
}

#memberEmail {
  min-width: 80%;
}

#memberOwner {
  margin-left:20px;
}

/*Aside Left BEGIN*/
  .sidenav {
  position: fixed;
  left: 0;
  background-color: #555;
  height: 100% !important;
  width: 44px;
  transition: all 0.3s ease;
  overflow-x: visible;
  z-index: 10000;
  box-shadow: 4px 0px 8px rgba(0, 0, 0, 0.2), 6px 0px 20px rgba(0, 0, 0, 0.19) inset;
}
    
    /*JS alters this var*/
    [class="menu-text"] {
        text-align: center;
        vertical-align: middle;
    }

    .sidenav ul {
        display: block;
        margin-left: 0;
        padding-left: 0;
    }

    .sidenav li {
        overflow: hidden;
        list-style-type: none;
        margin-left: 0;
        height: 44px;
        cursor: pointer;
        vertical-align: middle;
    }

    .sidenav li a {
        text-decoration: none;
        background: transparent;
        display: flex;
        flex-wrap: wrap;
        border: none;
    }

    .sidenav li a:hover, .sidenav li a:active .sidenav li a:focus {
        text-decoration: none;
        background-color: transparent;
        background: transparent;
    }

    .sidenav li a i {
        color: white;
        font-size: 22px;
        width: 44px;
        text-align: center;
        vertical-align: middle;
    }

    .sidenav li i {
        padding: 10px;
    }

    .sidenav li a p {
        display: none;
        text-align: left;
        color: white;
        font-size: 16px;
        margin-top: 10px;
    }

    .sidenav li:hover {
        background-color: #446688;
    }


.sidenav #open-menu {
    color: white;
    font-size: 22px;
    width: 44px;
    text-align: center;
    vertical-align: middle;
}


/* Icon for Login Popup box */
.trigger-login-callout {
    float: right;
    color: white;
    width: 34px;
    font-size: 17px;
    margin-top: 8px;
    margin-right: 24px;
    border-width: 1px;
    border-color: #999;
    border-style: solid;
}
    .trigger-login-callout:hover {
        background-color: #5983ac;
        color: white;
    }
/*Side Menu Bar END*/

/* Login Popup box BEGIN */
.login-menu-callout {
    background-color: #555;
    display: none;
    height: auto;
    width: auto;
    position: fixed;
    right: 0;
    top: 50px;
    z-index: 2;
    padding: 10px;
    box-shadow: 0px 14.4px 14.4px 0 rgba(102, 102, 102,21);
}

    .login-helper {
        float: left;
        display: block;
        height: inherit;
        width: inherit;
        margin-bottom: 8px;
        /*vertical-align: middle;*/
    }

.login-nav-el {
    padding: 4px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}
    .login-nav-el li {
        display: inline;
    }

        .login-nav-el li a {
            text-decoration: none;
            color: white;
            font-size: 15px;
            float: left;
            background: none;
            border: none;
            text-decoration: none;
        }

        .login-nav-el li button {
            font-size: small;
        }

        /*.login-nav-el li a:hover, .login-nav-el li button:hover {
            color: #5983ac;
            text-decoration: none;
            cursor: pointer;
        }*/

#user-identity{
    margin-bottom: 8px;
}

/*#logout-button {
    font-style: italic;
    text-decoration: underline;
    font-size: 12px;
}*/

 Login Popup box END 
/*Content Body*/
.container-fluid{
    transition: all 0.3s ease;
    padding: 0;
    /*SideNav width is 44px + 24px margin*/
    margin-left: 68px;
    margin-right: 24px;
}

.container{
    width: auto;
    /*Bootstrap makes things like tables pretty. 
      In doing so, it can extend their width.
        On the end of tables, the default padding is necessary to compensate for this.*/
    padding-left: 0;
}

/*TODO: ADD GENERIC CLASS SELECTOR TO SET THIS FOR ALL BOOTSTRAP COL*/
.col-lg-2 {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.col-lg-1 {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.col-lg-5 {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.col-lg-12 {
    padding-right: 0 !important;
    padding-left: 0 !important;
}
.col-lg-10 {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 3px;
}

.CellWithComment{
    position:relative;
}

.CellComment{
    display:none;
    position:absolute; 
    z-index:100;
    border:1px;
    background-color:white;
    border-style:solid;
    border-width:1px;
    border-color:red;
    padding:3px;
    color:red; 
    top:20px; 
    left:20px;
}

.CellWithComment:hover span.CellComment{
    display:block;
}

input[type=range] {
  height: 38px;
  -webkit-appearance: none;
  margin: 10px 0;
  width: 100%;
  background: transparent;
}

  input[type=range]:focus {
    outline: none;
  }

  input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000;
    background: #DCDCDC;
    border-radius: 3px;
    border: 0px solid #000000;
  }

  input[type=range]::-webkit-slider-thumb {
    box-shadow: 0px 0px 0px #000000;
    border: 1px solid #000000;
    height: 31px;
    width: 6px;
    border-radius: 2px;
    background: #FFFFFF;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -12px;
  }

  input[type=range]:focus::-webkit-slider-runnable-track {
    background: #DCDCDC;
  }

  input[type=range]::-moz-range-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000;
    background: #DCDCDC;
    border-radius: 3px;
    border: 0px solid #000000;
  }

  input[type=range]::-moz-range-thumb {
    box-shadow: 0px 0px 0px #000000;
    border: 1px solid #000000;
    height: 31px;
    width: 6px;
    border-radius: 2px;
    background: #FFFFFF;
    cursor: pointer;
  }

  input[type=range]::-ms-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    color: transparent;
  }

  input[type=range]::-ms-fill-lower {
    background: #DCDCDC;
    border: 0px solid #000000;
    border-radius: 6px;
    box-shadow: 0px 0px 0px #000000;
  }

  input[type=range]::-ms-fill-upper {
    background: #DCDCDC;
    border: 0px solid #000000;
    border-radius: 6px;
    box-shadow: 0px 0px 0px #000000;
  }

  input[type=range]::-ms-thumb {
    margin-top: 1px;
    box-shadow: 0px 0px 0px #000000;
    border: 1px solid #000000;
    height: 31px;
    width: 6px;
    border-radius: 2px;
    background: #FFFFFF;
    cursor: pointer;
  }

  input[type=range]:focus::-ms-fill-lower {
    background: #DCDCDC;
  }

  input[type=range]:focus::-ms-fill-upper {
    background: #DCDCDC;
  }
