@font-face {
    font-family: Inconsolata;
    src: url(/res/fonts/Inconsolata.otf);
}

@font-face {
    font-family: 'LatoWeb';
    src: url('/res/fonts/Lato-Regular.eot'); /* IE9 Compat Modes */
    src: url('/res/fonts/Lato-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/res/fonts/Lato-Regular.woff2') format('woff2'), /* Modern Browsers */
         url('/res/fonts/Lato-Regular.woff') format('woff'), /* Modern Browsers */
         url('/res/fonts/Lato-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

body 
{
    font-family: "LatoWeb","Helvetica Neue","Helvetica","sans-serif";
    background-color: #D3D3D3;
    margin: 0;
}

button
{
    border: 2px solid #BBB;
    font-family: "LatoWeb","Inconsolata","Lucida Console", Monaco, monospace;
}

button:hover
{
    border: 2px solid #AAA;
}

.mainbody
{
  padding-bottom: 16px;
  margin-bottom: 200px;
  background-color: #D3D3D3;
  margin-top: 75px;
}

.dashboardarea
{
  width: 55%;
  height: 100%;
  min-width: 450px;
  min-height: 400px;
  margin: auto;
  border-radius: 15px;
}

.dashtype_wide
{
  width: 100%;
}


#dashtitle
{
    color: white;
    font-size: 15px;
    display: block;
    margin-top: 1px;
    margin-left: auto;
    margin-right: auto;
    width:10%;
    height: 51px;
    text-align: center;
}


/* -------------------------------- Login Page Begin-------------------------- */
.btfieldset
{
	border: 0;
	width: auto;
	margin-left: 0px auto;
}


.smalllogo
{
    background-image: url('../../res/img/simpdash.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 96px;
    height: 32px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;;
    float: left;
}


/* -------------------------------- Login Page Ednd-------------------------- */


/* -------------------------------- Footer Page Begin-------------------------- */
.footer
{
    position: fixed;
    bottom: 0px;
    width: 100%;
    height: 20px;
    padding: 1.5px;
    text-align: center;
    background-color: #418bca;
    color: white;
    z-index: 10;
    box-shadow: 0px 1px 5px 2px #275d8b;
}


/* -------------------------------- Footer Page End-------------------------- */

/* -------------------------------- Header Page Begin-------------------------- */

 .menu-header {
    width: 100%;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
    background-color: #418bca;
    margin-bottom: 10%;
    position: fixed;
    top:0px;
    z-index: 10;
    box-shadow: 0px 1px 5px 2px #275d8b;
}

.header-img-icon
{
  margin: 0;
  padding: 0;
  display: inline-block;
  width: 20px;
  height: 20px;
}

.menu-list
{
    color: white;
    width: 55%;
    min-width: 600px;
    margin-left: auto;
    margin-right: auto;
    height: 50px;
    background-image: url('../../res/img/simpdash.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


.container a {
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}


.dropdown {
    float: left;
    overflow: hidden;
}


.dropdown_user
{
    float: right;
    margin-right: 4px;
    overflow: hidden;
}

.dropdown_goto
{
    float: right;
    text-align: center;
    margin-right: 15px;
    overflow: hidden;
    width: 90px;
}

.dropdowns
{
    min-width: 300px;
}

.dropdown_goto .dropbtn
{
    cursor: pointer;
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 23px;
    background-color: inherit;
    border-style: 1px solid;
    border-right-color: white;
}

.dropdown_user .dropbtn 
{
    cursor: pointer;
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
}

.dropdown .dropbtn 
{
    cursor: pointer;
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    background-color: inherit;
}

/*Overide styles if IE*/
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .dropdown_user .dropbtn 
    {
        background-color: transparent;
    }

    .dropdown_goto .dropbtn 
    {
        background-color: transparent;
    }

    .dashselect
    {
        height:30px;
    }

    .dashselect option
    {
    color: white;
    background-color: transparent;
    border: 0;
    border-radius: 10px;
    padding: 4px;
    }

 }

.container a:hover, .dropdown:hover .dropdown_user:hover .dropbtn {
    background-color: #5bc0de;
}

.dropdown_user:hover
{
    background-color: #5bc0de;
}

.dropdown_goto:hover
{
    background-color: #5bc0de;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border: 1px solid #f9f9f9;
    border-radius: 8px;
}

@keyframes dropdown-content-anim {
    from {
      opacity: 0;  
    }
    to {
      opacity: 1;
    }
}

.dropdown-content-anim {
  animation-name: dropdown-content-anim;
  animation-duration: 0.8s;
}

.dropdown-content a 
{
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-radius: 8px;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.show {
    display: block;
    padding: 14px 16px;
}

.dashselect
{
  font-family: "LatoWeb","Helvetica Neue","Helvetica","sans-serif";
  margin-top: 10px;
  background-color: #428bca;
  border: 0;
  color: white;
  border-radius: 5px;
  border: 1px solid;
}

.dashselect option
{
  color: white;
  background-color: transparent;
  border: 0;
  border-radius: 10px;
  padding: 4px;
}


/* -------------------------------- Header Page End-------------------------- */

/* -------------------------------- Chart Begin-------------------------- */
.chart-container
{
    height: 100%;
    width: 100%;
    margin: auto;
    margin-bottom: 10px;
    margin-top: 10px;
    padding-bottom: 16px;
    border: 1px solid #808080;
    border-radius: 10px;
    background-color: white;
    box-shadow: 1px 1px 5px 2px #808080;
}

.chart-dashboard-fit-wide
{
  display: inline-block;
  width: 800px;
  margin-right: 16px;
  float: left;
}

.chart-dashboard-fit-wide:nth-child(3)
{
  clear: both;
}


.chart-scroller
{
    width: 100%;
    height: 40%;
    overflow-x: auto;
}

.btn-goto
{
    bottom:1000px;
    float: right;
    margin-right: 450px;
    width: 70px;
    height: 30px;
}

.chart
{
    min-height: 100px;
    width: calc(100% - 8px);
    margin:auto;
    padding: 4px;
    border-radius: 10px;
    user-select: none;
}

.chart-title
{
    width: 100%;
    height: 50px;
    background-color: #3071a9;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-bottom: 8px;
}

.chart-title > label
{
    vertical-align: center;
    display: block;
    height: 20px;
    color: white;
    margin-left: auto;
    margin-right: auto;
    padding-top: 13px;
    text-align: center;
    background-color: #3071a9;
    overflow:auto;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}




.drilldownOptions
{
    display: none;
    position: absolute;
    z-index: 100;
    font-family: "LatoWeb","Helvetica Neue","Helvetica","sans-serif";
    margin-top: 10px;
    background-color: #428bca;
    border: 0;
    color: white;
    border-radius: 5px;
    border: 1px solid;
    min-width: 100px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.graph-drilldown-parms
{
  text-decoration: underline;
}

.size-handle
{
  position: absolute;
  padding: 4px;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background-color: dimgrey;
  border-radius: 2px;
  float: right;
}
.size-handle:after
{
  clear:both;
}

.size-handle:hover
{
  cursor: nwse-resize;
}
/* -------------------------------- Chart End-------------------------- */
.logo{
    float:left;
    height: 60px; 
    width: 200px;
    margin-right: 20px;
}

#selected_graph{
    margin-left: 20%;
}

/* -------------------------------- Legends Begin-------------------------- */
.chart-legend
{
    max-height: 200px;
    overflow-y: auto;
    padding-left: 10px;
}
/* -------------------------------- Legends End-------------------------- */
.date-wraper{
    margin-left: 30px;;
    float: left;

}

/* -------------------------------- Loader begin-------------------------- */
.loading 
{
    position: relative;
    border: 16px solid white;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
    margin: auto;
    margin-bottom: 150px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* -------------------------------- Loader end-------------------------- */

/* -------------------------------- Graphs begin-------------------------- */
.graphparm input label{
    margin-left: 10px;
    position: fixed;
}

.graphparm
{
    position: static;
    float:left;
    margin-left: 20px;
    padding-bottom: 8px;
}

.main-input
{
  padding-bottom: 4px;
  border-bottom: 1px solid #bde0ff;
}

.cnt_graph_params
{
    height: auto;
    width: 70%;
    overflow-x: auto;
    float: left;
    margin: 0;
    padding: 0;
}

.graph-rightside-menu
{
   float:right;
   width: 30%;
   margin: 0;
   padding: 0;
}

.date-input-set_param
{
    margin-left: auto;
    margin-right: auto;
}

.main-input
{
    width: calc(100% - 4px);
    height: 100%;
    padding-right: 4px;
}

.main-input label
{
    position: absolute;
    float: left;
}


.main-input input
{
    margin-left: 100px;
    float: right;
}

.chartSelection
{
    margin-top: 10px;
    margin-left: 20px;
    border-radius: 5px;
    width: 80px;
}

.date-input-set_param
{
    width:100%;
    margin-left: -10px;
}

.graph-buttons
{
    min-width: 100px;
    height: 25px;
    border-radius: 5px;
    margin-left: 20px;
}

.right-buttons
{
    float: right;
}

.chart-table
{
  width: 100%;
  border: 1px solid #EEE;
}

.chart-table thead
{
  border: 1px solid #111;
  background-color: #AAA;
  text-align: left;
  overflow-y: scroll;
}


.chart-table th
{
  margin: 0;
  border: 1px solid #AAA;
  text-align: left;
  user-select: auto;
}

.chart-table td
{
  margin: 0;
  border: 0;
  border-bottom: 1px solid #EEE;
  border-left: 1px solid #AAA;
  text-align: left;
  user-select: auto;
}

.chart-table tr
{
  margin: 0;
}

.chart-table tr:nth-child(even)
{
    background-color: #b3ecff;
}

.chart-table tr:hover
{
    background-color: #b3d9ff;
}

/* -------------------------------- Graphs end-------------------------- */

/* -------------------------------- Error Begin-------------------------- */
.charterror
{
	color: red;
}
/* -------------------------------- Error End-------------------------- */

/* -------------------------------- Options menu Begin-------------------------- */
.options
{
    width: 30px;
    white-space:nowrap;
    margin-left: 95%;
}

.dropContent
{
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 80px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.options:hover .dropContent
{
    display: block;
}

.drop_button
{
    cursor: pointer;
    font-size: 16px;
    border: none;
    outline: none;
    color: black;
    background-color: inherit;
}


/* -------------------------------- Options menu End-------------------------- */
.btn-goto
{

    bottom:1000px;
    float: right;
    margin-right: 450px;
    width: 70px;
    height: 30px;

}


.tooltip-box
{
  display: block;
  position: absolute;
  min-width: 16px;
  min-height: 16px;
  border: 1px solid rgba(50,50,50,0.9);
  border-radius: 6px;
  background-color: rgba(50,50,50,0.7);
  color: white;
  z-index: 5;
  opacity: 0;
  transition: opacity 1s;
  padding: 4px;
}


/* -------------------------------- Warning Message Begin-------------------------- */
#warning{
    top:0;
    left:0;
    margin: 0; 
    padding:0; 
    width:100%; 
    height: 100%; 
    background-color: gray; 
    position: fixed; 
    z-index:110;
    display:block; 
    background: rgba(204, 204, 204,0.9);
}

#warningMSg{
    width: 480px; 
    min-height: 120px; 
    margin: auto; 
    padding:10px;
    padding-top: 25px; 
    margin-top: 200px; 
    background-color: yellow; 
    border-radius: 5px;
    border-style: solid; 
    border-width: 1px;
    border-color: black;
    font-weight: bold;
}



.rules{
    top:0;
    left:0;
    margin: 0; 
    padding:0; 
    margin-left: 30%;
    margin-top: 1%;
    width:40%; 
    min-height: 40%; 
    height: 80%;
    position: fixed; 
    z-index:110;
    display:none; 
    border-radius: 5px;
    border-style: solid; 
    border-width: 1px;
    background: rgba(204, 204, 204,0.9);
    overflow: auto;
    word-wrap: break-word;
}

.rulemsg{
   
    height: auto;
    padding: 10px;
    margin-right: 30px;
    margin-left: 30px;
    margin-bottom: 10%;
    word-wrap: break-word;
    background-color:white;
    border-radius: 5px;
    border-style: solid; 
    border-width: 1px;
    font-weight: 500;
}

.modclose{
    width: 20%;
    height: 5%;
    background-color: #d9534f;
    color: white;
    margin-left: 40%;
    border-style: solid;
    border-radius: 5px;
    border-color:black;
    padding:10px;
    margin-bottom: 20px;
    position: fixed;
    bottom: 150px;
    left: 10px;
    z-index: 9999px;
    box-shadow: 5px 5px 15px grey;
    font-weight: bold;

}

.modclose:hover{
    background-color: red;
    border-style: none;
}

body.rules {
    overflow: hidden;
    position: fixed;
}
/* -------------------------------- Warning Message End-------------------------- */


