﻿
/*Rules for Logins Bar Graph*/

.logins-list-area
{
    width:623px;
    padding: 3px 1px 0px;
    float:left;
    border: 3px solid #22536b;
    margin:20px 20px;
}

.logins-bar-graph{
    width:623px;
    margin:-2px 0px;
    padding:0px;
    background: linear-gradient(#99c6dc, #eaeaea);
}

.log-bargraph-cell{
    display: inline-block;
    height:20px;
    width: 41px;
    position:relative;   
    line-height: 0px; 
}

.logins-today-label-row{
    padding-top:5px;
    font-size:14px;
    position:relative;
    left:100%;
    top:46px;
}

.logins-twoweekago-label-row{
    padding-top:5px;
    font-size:14px;
    position:relative;
    left:-10%;
    top:21px;
}

.logins-bargraph-item{
    position:relative;
    margin:0px;
}
[is_selected='true'] .log-block, .logins-list [is_selected='true']
{
    outline:solid 1px #000;
}
.log-block{
    height:15px;
    width:40px;
    background: #546E7A;
    margin-top:1px;
    margin-right:1px;
    display:inline-block;
    color:#fff;
    font-size:10px;
    text-align:center;
    line-height:15px;
    cursor: pointer;    
    overflow: hidden;
    text-overflow: ellipsis;
}

.log-block:hover{
    background-color:#2D4A58;
}

.log-block[has_errors='true']{
    background: #D50000 !important;
}

.log-block[has_transition='true'][has_errors='false']{
    background: #11671E;
}

.log-block[has_edit='true'][has_transition='false'][has_errors='false']{
    background: #2962FF;
}
[first_login='true'] .log-block { background:#990 !important; }

/*--- Rules for Login Page Hover box ---*/

.log-hover {
    position: absolute;
    right: 40px;
    top: 12px;
    /* height: 60px; */
    width: 160px;
    background: #ECEFF1;
    border: 2px solid #777;
    border-radius:4px;
    padding: 5px;
    z-index: 2;
    white-space: nowrap;
    color: #000;
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 12px;
}

[has_hover='true'] .log-hover{
    display:block;
}

/*--- Rules for detailed login table ---*/

.logins-table{
    max-width:1100px;
    min-width:1100px;
}

.all-logins-toolbar{
    margin-top:300px;
}

.all-logins-toolbar .md-toolbar.md-default-theme:not(.md-menu-toolbar), md-toolbar:not(.md-menu-toolbar){
    background-color:#11671E;
}

.logins-panel-header-left{
    font-size: 17px; /* originally all had width of 350 px: maybe use % instead */
    background: #ffffff;
    padding: 10px;
    color: #000;
    outline:solid 1px #ccc;
        
}

.logins-panel-header-right{
    font-size:17px;
    background: #ffffff;
    padding:10px;
    color: #000;
    outline:solid 1px #ccc;
           
}
.logins-panel-left{
    font-size: 15px;
    background: #ffffff;
    padding: 10px 0px 10px 10px;
    color: #000;
    margin: 10px 0px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    
}
.logins-panel-right{
    font-size: 15px;
    background:#fff;
    padding: 20px 10px 10px 20px;
    color: #000;
    /*margin: 20px 0px;*/
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 500px;
    width:auto;
}

.logins-event-wrap{
    float: left;
    width: 40%;
    min-width: 420px;
    padding-right:20px;
    margin-bottom: 24px;
    /*border-bottom: 1px solid #CCC;*/
}

.logins-sesion-wrap{
    float: left;
    width: 40%;
    min-width: 450px;
    font-size: 14px;
}

.dash-customer-activity-header{
    padding: 0px 30px;
    border-bottom: solid 1px #B0BEC5;
    background: #eee;
}

.dash-customer-activity-header h3{
    float: left;
}

.logins-customer-activity-controls{
    float: right;
    width: 80%;
    height: 60px;
}

.logins-customer-activity-filters{
    width: 180px;
    float: left;
    background: #ccc;
    padding: 20px 6px 6px;
}

.logins-customer-activity-filters:last-child {
    box-shadow: 0px 4px 6px 2px #666;
}

.logins-controls-dropdown{
    width:140px;
    float: left;
    margin: 12px;
}

.logins-controls-search-btn{
    width: 100%;
}

.logins-panel-date{
    float: left; 
    padding:10px;
    outline:solid 1px #ccc;
}

.logins-panel-session-events{
    float: left; 
    padding:10px;
    outline:solid 1px #ccc;
}

.logins-panel-email-account{
    float: left; 
    padding:10px;
    outline:solid 1px #ccc;
}
.login-event
{
    padding-top:2px;
    font-size:12px;
    margin-bottom:1px;
}
.login-event[event_category='6']{
    background:#cfc;
}
.login-event[event_category='7']{
    background:#ccf;
}
[show_edits='false'] [event_category='7'] { display:none; }
[show_help='false'] [event_category='5'] { display:none; }
.login-event[event_category='4']{
    background:#fcc;
}
.login-event-detail
{
    background:#ccc;
    font-size:11px;
    display:inline-block;
    padding:0px 5px;
    position: relative;
    top: -2px;
}
.login-event[is_admin_login='true']{
    background:#034;
}
.logins-list
{
    /*height:500px;*/
    min-width: 400px;
    overflow-y:auto;
}
.logins-list-item
{
    width:590px;
    font-size:12px;
}

.logins-list-item:nth-child(2n+1){
    background-color: #ddd;
}

.logins-spinner{
    position: absolute;
    left: 50%;
    top: 250px;
}

.logins-chart-wrap{
    position: relative;
    clear: both;
    margin: 200px 5%;
    width: 90%;
}

.logins-chart-item
{
    display:inline-block;
    float:left;
    height:100px;
    width:3px;
    position:relative;
}
.logins-chart-bar
{
    position:absolute;
    bottom:0px;
    left:0px;
    width:80%;
    height:0px;
    background:#000;
}

.logins-table-footer {
    color: antiquewhite;
    font-size: 11px;
    margin: 2px -2px -2px;
    height: 24px;
    line-height: 24px;
    background: #22536b;
    padding: 0px 12px;
}

.logins-table-legend {
    color: #000;
    font-size: 11px;
    margin: 2px -2px 2px;
    height: 136px;
    line-height: 22px;
    background: #ccc;
    padding: 0px 12px 0px;
}

.logins-table-footer .logins-table-footer--today{
    float:right;
}

.logins-table-footer .logins-table-footer--ago{
    float:left;
}

.logins-text-input{
    margin: 10px 12px;
}

.logins-text-input span{
    font-size: 12px;
}

.logins-text-input input{
    width: 140px;
    /*margin: 10px 4px 4px;*/
    padding: 0px 2px;
    border-radius: 4px;
}

/*
.log-wrap{
    margin-top: 24px;
}
*/

/* --- Toggle switch --- */

.logins-toggle-switch{
    position: relative;
    display: inline-block;
    width: 80px;
    height: 26px;
    float: right;
    margin: 8px;
}

.logins-toggle-switch--advanced{
    float:left;
}

.logins-toggle-switch input{
    display: none;
}

.logins-toggle-switch-slider{
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    /*-webkit-transition: .4s;*/
    transition: .4s;
    border: 1px solid #FFF;
    border-radius: 24px;
}

.logins-toggle-switch-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

.logins-toggle-switch input:checked + .logins-toggle-switch-slider {
  background-color: #2196F3;
}

.logins-toggle-switch input:focus + .logins-toggle-switch-slider {
  box-shadow: 0 0 1px #2196F3;
}

.logins-toggle-switch input:checked + .logins-toggle-switch-slider:before {
  transform: translateX(54px);
}

.logins-toggle-switch__label{
    position: absolute;
    font-size: 11px;
    top: 6px;
    color: antiquewhite;
    cursor: pointer;
}

.logins-toggle-switch__label--on{
    left: 26px;
}

.logins-toggle-switch__label--off{
    left: 36px;
}

.logins-toggle-switch__label--under{
    position: absolute;
    font-size: 12px;
    top: 28px;
    width: 80px;
    text-align: center;
}

.logins-more-parameters-button{
    margin: 20px 20px 5px;
    font-size: 12px;
}

.logins-search-results-counter{
    text-align: center;
    font-size: 12px;
    line-height: 32px;
}

.logins-customer-activity-filters .fa-info-circle{
    color: green;
}

.log-summary-datehead
{
    border-bottom:solid 1px;
    margin-bottom:5px;
    padding:5px 0px;
}

/*--- Logins Summary ---*/

.logins-summary-homepage{
    line-height: 1.0;
    padding: 10px;
    align-content:center;
}

.logins-summary-table{
    /*border: 3px solid #22536b;*/
    /*border-left: 3px solid #607D8B;*/
    padding:1px 1px 0px;
    margin-bottom:0px;
    /*background: linear-gradient(#99c6dc, #eaeaea);*/

}

.log-summary-cell{
    display: inline-block;
    height: 20px;
    width: 14%; /*42px;*/
    position:relative;   
    line-height: 0px; 
}

.logins-summary-today-label-row{
    padding-top:5px;
    font-size:14px;
    position:relative;
    left:95%;
    top:39px;
    color:#000;
}

.logins-summary-oneweekago-label-row{
    padding-top:5px;
    font-size:14px;
    position:relative;
    left:-16%;
    top:21px;
    color:#000;
}

.logins-summary-item{
    position:relative;
    margin:0px;
}

.log-summary-block{
    height:100%;
    width: 100%;  /*41px;*/
    background: #607D8B;
    margin-top:1px;
    margin-right:1px;
    display:inline-block;
    color:#fff;
    font-size:8px;
    text-align:center;
    line-height:16px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
}

.log-summary-block:hover{
    background-color:#2D4A58;
}

.log-summary-row{
    font-size: 12px;
    line-height: 16px;
}
.log-summary-row:hover{
    background-color: #ccc;
}
.log-summary-row .fa{
    color:#990;
}
[first_login='true'].log-summary-row {
    font-weight: bold;
    color: #22536b;
}
[first_login='false'].log-summary-row .fa {
    color:#fff;
    opacity:0;
}
[has_transition='true']{
    background: #9f0;
}

[has_errors='true']{
    background: #ff0000 !important;
}

[has_hover='true'] .log-hover{
    display:block;
}