html{
    height: 100%;
}

body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#content{
    overflow: hidden;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    flex-grow: 1;
}

#main_menu{
    border-radius: 0px;
    margin-bottom: 0px;
    background: #e7e7e7;
    flex-shrink: 0;
}

#container {
  display:flex;
  justify-content:left;
}

/* Footer styling */

#footer {
    height: 25px;
    padding: 0px 5px 0px 5px;
    border-top: 1px solid #e5e5e5;
    overflow-y: hidden;
    flex-shrink: 0;
}

#footer p {
    margin-bottom: 0;
    color: #555;
}

div.table {
    display:-moz-box;
    display:flex;
    background-color:#fff;
    border:1px solid  #ddd;
    border-spacing:5px;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}

div.table-row{
  clear:both;
  width:auto;
  padding:5px;
}

div.table-row:hover{
    background: #ddd;
    cursor:pointer;
}

div.table-head{
  font-weight: bold;
  font-size: large;
  border-bottom: 3px solid #666666;
  clear:both;
  width:auto;
  padding:5px;
}

div.table-col{
  -moz-box-flex: 1;
  flex: 1;
  float:left;/*fix for  buggy browsers*/
  background-color:#fff;
}

.hidden{
    display:none;
}

.tabs{
    margin-top: 10px;
    margin-bottom: 0px;
    font-weight: bold;
    font-size: large;
}

.tabs .tab {
    display:inline-block;
    border: solid 2px #666666;
    border-bottom: none;
    padding: 2px 7em 2px 7em;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    margin:0px;
}
.tabs .tab:hover {
    cursor:pointer;
    background-color:#ddd;
}

.tabs .tab.selected {
    background-color:#ededed;
}

.expand_row, .expand_table {
    max-width: 0.3em;
}
.graph_head, .graph_dataset {
    max-width: 0.3em;
}

.tablerow{
  cursor:pointer;
}

.graph{
  background-color: #EDEDED;
  width: 100%;
  height: 75ex;
}

.column-label{
    width: 4em;
}

#tab-contents{
    padding: 5px;
    margin: 5px;
}

.title
{
color: blue;
font-name: Arial;
padding-top: 160px;
padding-left: 60px;
}
.sub_title
{
color: red;
font-style: italic;
padding-left: 60px;
}

.input_text
{ width:200px;
}

.page_width
{
height: 400px;
}

.sub
{
width:900px;
height: 4ppx;
}

.main1
{

overflow-y: scroll;
padding-left: 50px;
padding-top: 50 px;
}

.hyperlinks
{
cursor:pointer;
color:blue;
text-decoration:underline;
padding: 20px;
}

.buttons
{
padding: 30px;
}

.bb
{
color:green;
text-decoration:underline;
margin: 10px;
width: 140 px;
height: 30 px;
padding: 5 px;
}

.green
{
padding: 20px;
font-weight: bold;
 font-size: large;
color: blue;
}

.blue
{
padding: 10px;

 font-size: large;
color: green;
}

.container-fixed {
  margin: 0 auto;
  max-height: 970px;
  overflow-y: scroll;
  padding:5px;
}
.marginBottom-0 {margin-bottom:0;}

/*This is to make submenus work*/
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

/*Grid styling*/

.grid .link {
        width: 100%;
        height: 270px;
        padding:5px;
        margin-top: 20px;
        border-radius:0px;
        display:table;
        text-align:center;
        box-shadow: 0px 0px 5px #aaa;
        color: black;
}
.grid .link:hover{
        box-shadow: 0px 0px 8px #a8a8a8;
    }

.grid .link span{
        display:table-cell;
        vertical-align:middle;
        font-size:18pt;
        max-width: 100px;

        }

.grid .link span .summary{
    font-size: 12pt;
    white-space: pre-line;
}

.grid .link span .head{
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
}

.grid li:nth-child(even) .link,
.grid li:nth-child(even) .inforow {background: #e7e7e7}
.grid li:nth-child(odd) .link,
.grid li:nth-child(odd) .inforow {background: #fff;}

.grid li:nth-child(even) .inforow {background: #e7e7e7}
.grid li:nth-child(odd) .link {background: #fff;}

.grid li.network:nth-child(even) .link {border: 0px solid #0f223f;}
.grid li.network:nth-child(odd) .link {border: 0px solid #315082;}

.grid .button-row {margin-right: 0px}

.grid .new-btn span {font-size: 22pt; margin-top: 50px}

.grid .delete-btn{
    position: absolute;
    top: 30px;
    right: 30px;
    font-color: red;
}

.grid .download-btn{
    position: absolute;
    top: 30px;
    right: 60px;
    font-color: red;
}

.grid .users-btn{
    position: absolute;
    top: 30px;
    left: 30px;
    font-color: red;
}

.grid .info-btn{
    position: absolute;
    top: 30px;
    right: 90px;
    font-color: red;
}

.grid .delete-btn:hover{
    color: red;
    border-color: red;
}

.grid .share-btn{
    position: absolute;
    top: 30px;
    left: 60px;
}

.grid .action-btn:hover{
    color: blue;
    border-color: #e9e9e9;
}

.grid .listitem {
    -webkit-animation: fadeOut 500ms;
    -moz-animation: fadeOut 500ms;
    animation: fadeOut 500ms;
}

.grid-sort {
    text-align: right;
    margin-top: 5px;
}

/*timeseries tooltips*/
.d3tip {
  line-height: 1;
  font-weight: bold;
  padding: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border-radius: 2px;
  z-index: 2000;
}

/*Help get drop-downs work in modals*/
.modal { overflow: visible; }
.modal-body {
    overflow-y: visible !important;
 /*   overflow-x: hidden;*/
}

/*work around for truncated placeholder text*/
.select2-container .select2-search,
    .select2-container .select2-search__field {
        width: 100% !important;
    }

/*how to*/
.help-heading{
    margin-top: 10px;
    font-size: 20pt;
    font-weight: bold;
}
.help{
    margin-bottom: 20px;
}

.video{
    margin-bottom: 2ex;
    margin-left: 5em;
}

.video-name{
    font-weight: bold;
    font-size: 14pt;
    margin-bottom: 1ex;
}

.video-description{
    font-weight: bold;
    font-size: 12pt;
    margin-bottom: 1ex;
    max-width: 600px;
}



/**
* Style modifications due to resolve the HWI#8 issue
**/

.big-box-button {
  max-width:280px;
  min-width:280px;
  margin: auto; margin-bottom:10px; margin-top:20px
}

.grid .share-btn,
.grid .users-btn,
.grid .delete-btn,
.grid .download-btn,
.grid .info-btn{
    position: relative;
    top: 0px;
    left: 0px;
}

.grid .net-header-col .btn,
.grid .prj-header-col .btn{
  padding:5px;
  margin:0px;
}


.grid .prj-header-col{
  height: 50px;
  margin: 0;
  padding: 0;
}

.grid .prj-header-col{
  margin: 0;
  padding: 0;
}

.grid .link span{
  font-size: 14px
}

#projectlist .head,
#networkgrid .head,
#templates_list .head{
  margin-top:15px;
  line-height: 32px;
  font-size:20px;
  width: 220px;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: auto;
}

#templates_list .head{
  margin-top:50px;
}

#projectlist .summary,
#projectgrid .summary,
#networklist .summary{
  font-size:12px;
}

#projectlist .date-time,
#projectgrid .date-time,
#networklist .date-time{
  line-height: 42px;
  margin-top:10px
}

#projectlist .networks-count,
#projectgrid .networks-count,
#networklist .network-description{
  line-height: 25px;
  margin-top:0px;
  width: 250px;
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: auto;
}

#networkgrid .inforow{
/*  position: relative;*//*make z-index work*/
  z-index 1; /*used to make the info div display over the preview*/
  margin-left: -2px; /* use these margins so it doesn't go outside the containing box*/
  margin-right: -2px;
}

/*login*/
.login-container {
  width: 360px;
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  max-width: 360px;
  margin: 50px auto 100px;
  padding: 20px 45px 45px 45px;
  text-align: center;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}
.login-container input[type="text"], .login-container input[type="password"],
  .login-container input[type="email"] {
  font-family: "Roboto", sans-serif;
  outline: 0;
  background: #f2f2f2;
  width: 100%;
  border: 0;
  margin: 0 0 15px;
  padding: 15px;
  box-sizing: border-box;
  font-size: 14px;
  width: 100%;
}

.login-container input[type="text"], .login-container input[type="password"],
.login-container input[type="email"] {
  font-family: "Roboto", sans-serif;
  outline: 0;
  background: #f2f2f2;
  border: 0;
  margin: 0 0 15px;
  padding: 15px;
  box-sizing: border-box;
  font-size: 14px;
  width: 100%;
}

.login-container input[type="text"], .login-container input[type="password"],
.login-container input[type="email"] {
  font-family: "Roboto", sans-serif;
  outline: 0;
  background: #f2f2f2;
  border: 0;
  margin: 0 0 15px;
  padding: 15px;
  box-sizing: border-box;
  font-size: 14px;
  width: 100%;
}

.login-container label{
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: normal;
  float: left;
}

.login-container .login-btn{
  font-family: "Roboto", sans-serif;
  outline: 0;
  border: 0;
  margin: 0 0 15px;
  padding: 15px;
  box-sizing: border-box;
  font-size: 14px;
  width: 100%;
}

.login-container select{
  font-family: "Roboto", sans-serif;
  outline: 0;
  border: 1px solid #ccc;
  margin: 0 0 15px;
  padding: 15px;
  box-sizing: border-box;
  font-size: 14px;
  width: 100%;
}

.login-container .message {
  margin: 15px 0 0;
  color: #b3b3b3;
  font-size: 12px;
}
.login-container .register-form {
  display: none;
}
.login-container .form .message {
  margin: 15px 0 0;
  color: #b3b3b3;
  font-size: 12px;
}
.login-container .form .message a {
  color: #4CAF50;
  text-decoration: none;
}

.login-container .remember-me-container{
    display:flex;
}

.login-container .remember-me-container .item{
    flex-grow: 1;
}

.login-container ul{
  font-family: "Roboto", sans-serif;
  margin: 5px 0px -10px;
  padding: 5px;
  font-size: 14px;
  width: 100%;
  list-style: none;
  color: #008000;
}

.login-container .error{
  font-family: "Roboto", sans-serif;
  margin: -10px 0px 5px;
  padding: 0;
  font-size: 14px;
  width: 100%;
  color: #ff0000;
}

.login-container .g-recaptcha{
  margin: 0 auto;
  display: table;
}

.error {
    border: 1px solid red;
}
.modal-footer .resizer {
    position: absolute;
    width: 99%;
    bottom: 0;
    left: 5px;
    opacity: .5;
    cursor: pointer;
    border-bottom: 5px solid #a7a7a7;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
}

/* a menu bar meant to sit on the same row as nav tabs*/
.nav-menu {
    position: absolute;
    right: 5px;
    bottom: 10px;
}

#cookie-symbol{
    cursor: pointer;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
  background-image: none !important;
}
