body.cmtSqlAjaxBusy *, body.cmtSqlAjaxBusy {
    cursor:wait !important;
}

input.cmtSqlBadSql,
textarea.cmtSqlBadSql,
select.cmtSqlBadSql {
    color: #b94a48;
    border-color: #ee5f5b;
}

input.cmtSqlBadSql:focus,
textarea.cmtSqlBadSql:focus,
select.cmtSqlBadSql:focus {
    border-color: #e9322d;
    -webkit-box-shadow: 0 0 6px #f8b9b7;
    -moz-box-shadow: 0 0 6px #f8b9b7;
    box-shadow: 0 0 6px #f8b9b7;
}

.cmtSqlSpacer {
    width: 14px;
}

.cmtSqlExprRemove {
    float: right;
    cursor: pointer;
    margin-top: 6px;
}

.cmtSqlHandle {
    float: left;
    margin-top: 6px;
    margin-bottom: 10px;
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

.cmtSqlHandle:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

.cmtSqlExpr {
    width: 70%;
    margin-left: 2%;
    float: left;
}

.cmtSqlLabel {
    width: 15%;
    margin-left: 3%;
    float: left;
}

.cmtSqlErrorDisplay {
    clear: both;
    width: 70%;
    margin-left: 4%;
    float: left;
    color: #b94a48;
    margin-bottom: 10px;
}

.cmtSqlPager {
  border: 1px solid #ddd;
  display: inline-block;
  padding: 1px 5px;
  background-color: #fff;
  -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
          border-radius: 5px;
}

.cmtSqlPager:hover {
  text-decoration: none;
  background-color: #f5f5f5;
  cursor: pointer;
}

.cmtSqlPager.disabled {
  color: #999999;
  background-color: #fff;
}

.cmtSqlPager.disabled:hover {
  cursor: default;
}

.cmtSqlPagerLabel {
  padding: 1px 5px;
  cursor: default;
  margin-left: 5px;
  color: #999999;
}

.cmtSqlSubmitButton {
  margin-top: 9px;
  margin-bottom: 10px;
}

.cmtSqlOtherButton {
  margin-top: 15px;
  margin-bottom: 10px;
}

label {
  cursor: default;
}

.cmtSqlLayerSelector {
    display: inline-block;
    margin-left: 5px;
}

.cmtSqlVizSelect {
    width: auto;
}

.cmtSqlHistorySelect {
    width: auto;
}
.cmtSqlHistorySelect2 {
    width: auto;
}

.cmtSqlViewDriveTop {
    resize: vertical;
    overflow: auto;
}

.cmtSqlPMOverlay {
    width: 100%;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
}

.cmtSqlAccelDetails {
    resize: vertical;
    overflow: auto;
}

.cmtSqlAddnDetails {
    resize: vertical;
    overflow: auto;
}

.cmtSqlAccelDetailsBox {
  position: relative;
  width: 100%;
  padding-top: 40%;
  margin: 5px 5px 5px 5px;
}

.cmtSqlAccelDetailsGraph {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.cmtSqlAccelDetailsGraph input {
    width: 40px;
}

.cmtSqlPageOfChartsDiv {
  margin: 30px 30px 30px 30px;
}

.legendRound {
   display: inline-block; width: 1em; height: 1em; border-radius: 0.5em; margin-left: 1em;
}

.legendLine {
   display: inline-block; width: 1.5em; height: 5px; margin-left: 1em;
}

.distractionBackground {
    background-color: #FF58A0;
}

.accelBackground {
    background-color: #00FF00;
}

.turnBackground {
    background-color: #FF7F00;
}

.brakeBackground {
    background-color: #FF0000;
}


.viewDriveSectionHeader {
    background-color: #DDDDDD;
    text-align: center;
    margin-top: 20px;
}

.fullSizeDiv {
    width: 100%;
    height: 100%;
}

.cmtNarrow400 {
    max-width: 400px;
}

.netloc0 {
    background-color: #00AFFF;
}
.netloc100 {
    background-color: #0000FF;
}
.netloc500 {
    background-color: #7F00FF;
}

input[type='text'].cmtSqlUAInput,
input[type='email'].cmtSqlUAInput,
input[type='password'].cmtSqlUAInput {
    width: auto;
    min-width: 50px;
    margin-bottom: 0px;
}

.cmtSqlUAChanged {
    background-color: #F0FFC0;
}

.cmtSqlUADeleted {
    text-decoration: line-through;
}

.cmtSqlQALabel {
    margin: 5px 5px 5px 5px;
    font-weight: bold;
}

.cmtSqlQASelect {
    margin: 5px 5px 5px 5px;
}

.cmtSqlQASubmit {
    margin: 5px 15px 5px 5px;
}

.cmtSqlGroupsContainer {
    padding: 10px 10px 10px 10px;
    width: 100%;
    height: 100%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

.cmtSqlGroupsContainer .selector-section {
    float: left;
    margin-top: 20px;
}

.cmtSqlTagLocationContainer {
    padding: 10px 10px 10px 10px;
    width: 100%;
    height: 100%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    overflow:hidden;
}

.cmtSqlTagLocationContainer .side-left-panel {
    float: left;
    width: 420px;
    margin: 20px;
    height: 80%;
    overflow-y: auto;
}

.cmtSqlTagLocationContainer .map-side-view {
    margin-left: 440px;
}

.cmtSqlTagLocationContainer .tags {
    padding: 5px 5px 5px 5px;
}

.cmtSqlTagLocationContainer .tags.selected {
  background-color: #a6d576; /* #99ff99; */
  color: white;
}

.cmtSqlTagLocationContainer .tags.disabled {
  background-color: #e0e0d1;
  opacity: 0.5;
}

.cmtSqlTagLocationContainer .tags:hover {
  cursor: pointer;
  background-color: #cce7b1; /* #CCFFCC; */
}

.cmtSqlOrderForm label {
  display: inline-block;
  width: 150px;
}

.cmtSqlSVRInput {
  display: inline-block;
}

.cmtSqlSVRInput input {
  padding: 7px 7px 7px 7px;
  width: 160px;
  border: 1px solid #d7d6d6;
  margin-bottom: 10px;
  border-radius: 0px;
}

.cmtSqlTagInput {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

.cmtSqlTagInput input {
  display: block;
  border: 1px solid #d7d6d6;
  padding: 7px 7px 7px 7px;
  width: 160px;
}

.cmtLoginBody {
    background-color: #F1F1F1;
}

.cmtLoginWripper {
    width: 100%;
    height: 100vh;
}

.cmtLoginOuterBox {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    max-width: 300px;
    padding-top: 30px;
    margin: auto;
}

.cmtLoginLogo {
    width: 260px;
    padding-left: 20px;
    padding-bottom: 20px;
    margin: auto;
}

.cmtLoginInnerBox {
    padding: 25px;
    background-color: #FFFFFF;
    -webkit-border-radius: 10px;
       -moz-border-radius: 10px;
            border-radius: 10px;
    border: 1px solid #DEDEDE;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
    -webkit-box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
    -moz-box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
}

.cmtLoginInnerBox form {
    margin: 0px;
}

.cmtLoginHeader {
    font-weight: bold;
    text-align: center;
    padding-bottom: 20px;
    color: #5A5A5A;
}

.cmtLoginSpaceBalancer {
    height: 100px;
}

input.cmtLoginInput {
    width: 228px;
    border-width: 1px;
    border-radius: 5px;
    border: 1px solid #DEDEDE;
    padding: 10px;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.2);
     -webkit-box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.2);
     -moz-box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

input.cmtLoginInput:focus {
  border-color: rgba(20, 67, 115, 0.6);
  outline: 0;
  outline: thin dotted \9;
  /* IE6-9 */

  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(20, 67, 115, 0.6);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(20, 67, 115, 0.6);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(20, 67, 115, 0.6);

}

input.cmtLoginButton {
    width: 249px;
    color: #FFFFFF;
    padding: 7px 0px 7px 0px;
    border-width: 1px;
    -webkit-border-radius: 6px;
       -moz-border-radius: 6px;
       border-radius: 6px;
     text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #44D3D2;
  *background-color: #39B3B2;
  background-image: -moz-linear-gradient(top, #44d3d2, #39b3b2);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#44d3d2), to(#39b3b2));
  background-image: -webkit-linear-gradient(top, #44d3d2, #39b3b2);
  background-image: -o-linear-gradient(top, #44d3d2, #39b3b2);
  background-image: linear-gradient(to bottom, #44d3d2, #39b3b2);
  background-repeat: repeat-x;
  border-color: #319A99;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff44d3d2', endColorstr='#ff39b3b2', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

input.cmtLoginButton:focus,
input.cmtLoginButton:hover
{
  border-color: rgba(53, 166, 165, 0.6);
  outline: 0;
  outline: thin dotted \9;
  /* IE6-9 */

  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(53, 166, 165, 0.6);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(53, 166, 165, 0.6);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(53, 166, 165, 0.6);

}


a.cmtLoginImgButton {
    display: flex;
    justify-content: center;
    align-items: center;
    padding:15px;
    border-radius:35px;
    border:1px solid #ccc;
}

a.cmtLoginImgButton img {
    height: 40px;
}

a.cmtLoginImgButton:focus,
a.cmtLoginImgButton:hover
{
  border-color: #666;
  outline: 0;
  outline: thin dotted \9;
}

.cmtLoginFooter {
    padding-bottom: 15vh;
}

.cmtLoginFooter, .cmtLoginFooter a {
    padding-top: 7px;
    text-align: center;
    font-size: 11px;
    color: #9F9F9F;
    outline: 0px;
}

.cmtScaleToPageWithHeader{
    min-height:400px;
    height: calc(100% - 60px);
}

#cmtTagEventLog {
    height: calc(100% - 30px);
}

.cmtEventLogBox {
    border-style: solid;
    border-width: 2px;
    overflow: auto;
    height: 100%;
    margin-top: 20px;
}

.cmtEventLogSpinner {
    border: 4px solid #f3f3f3;
    /* Light grey */
    border-top: 4px solid rgba(53, 166, 165, 0.6);
    /* Blue */
    border-radius: 50%;
    width: 15px;
    height: 15px;
    animation: loadSpin 1s linear infinite; }

.cmtEventLogLoader, .cmtEventLogLoadButton, .cmtEventLogLoadButtonDone {
    text-align: center;
    line-height: 0px;
    padding: 5px;
    border: 1px solid #9fa3a7;
    box-shadow: 2px 2px 5px 1px #ccc;
    min-height: 28px;
}
    .cmtEventLogLoader .clickerLabel, .cmtEventLogLoadButton .clickerLabel, .cmtEventLogLoadButtonDone .clickerLabel {
        display: inline-block;
        line-height: 5px;
        font-size: 20px;
        margin-left: 10px;
        margin-right: 10px;
    }
    .cmtEventLogLoader .offsetLabel, .cmtEventLogLoadButton .offsetLabel, .cmtEventLogLoadButtonDone .offsetLabel {
        display: inline-block;
        line-height: 18px;
        vertical-align: top;
    }

.cmtEventLogLoader {
    box-shadow: none;
    border: none;
    background-color: rgba(200, 200, 200, 0.4);
    cursor: auto;
}

.cmtEventLogLoadButton {
    background-color: rgba(53, 166, 165, 0.3);
    cursor: pointer;
}

.cmtEventLogLoadButtonDone {
    box-shadow: none;
    border: none;
    background-color: rgba(200, 200, 200, 0.4);
    cursor: auto;
}

#log_header {
    display: none;
    margin-bottom: 20px;
    position: absolute;
    width: calc(100% - 60px);
    padding: 30px;
    background-color: rgba(255,255,255,0.93);
    border-bottom: 3px solid black;
}

.cmtEventLogTable {
    display: table;
    width: 100%;
    white-space: pre;
}

.cmtEventLogHeader {
    display: table-row;
}

.cmtEventLogRow {
    display: table-row; }
    .cmtEventLogRow div:last-child {
        border-right: none;
        width: 100%;
    }

.cmtEventLogCell {
    display: table-cell;
    padding-right: 10px;
    border-right: 1px solid gray;
    }
    .cmtEventLogCell p {
        margin-bottom: 0px;
        margin-left: 8px;
    }

.cmtEventLogOptions {
    float:right;
    padding-left:15px;
    }
    .cmtEventLogOptions label {
        float:left;
    }
    .cmtEventLogOptions input {
        float:right;
        margin-left:5px;
        margin-top:4px;
    }

.cmtEventLogSettings {
    position: absolute;
    right: 5px;
    top: 55px;
    background: rgba(255,255,255,0.8);
}

@keyframes loadSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


#vc_control.stick {
    margin-top: 0;
    position: fixed;
    top: 0;
    z-index: 9999;
    width: 100%;
}

.vc_select_table {
    float: right;
}

/*
 * CategoryFilter auto-selects an element when "ui.allowTyping" is set
 * to true and the list of elements is too long to fit on the screen
 * https://github.com/google/google-visualization-issues/issues/1351
 *
 * Work-around: limit the max-height of the list of elements.
 */
.goog-menu-vertical {
    max-height: 50vh;
    overflow-y: scroll;
}
