.angular-google-map-container { height: 400px; }

/*Replicate theme settings for email type inputs also*/
.page-signin .form-group.w-icon input[type=email] {
    font-size: 15px;
    padding-left: 56px;
}

/* Overrides for the theme we're using (lazy hacks) */
#main-menu .menu-content {
    padding-top: 18px !important;
}

#content-wrapper {
    padding-top: 18px !important;
    position: inherit;
}

#menu-content-demo>div {
    width: 100%;
}

.user-top-text {
  font-size: 14px;
}

#user-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theme-default #main-menu .menu-content .btn-outline {
  border-color: #9e9e9e;
  color: #ffffff;
}

.logout-button-label {
  color: #cccccc;
  font-size: 11px;
  padding-left: 5px;
}

.nav-profile-buttons a {
  margin-right: 10px;
}

/*Google maps input style*/
#pac-input {
    background-color: #fff;
    font-family: Roboto;
    font-size: 15px;
    font-weight: 300;
    margin-left: 12px;
    padding: 0 11px 0 13px;
    text-overflow: ellipsis;
    width: 400px;
}

#pac-input:focus {
    border-color: #4d90fe;
}

.select2-drop{
    position: fixed;
    top: auto;
    width: initial;
}

body {
  margin: 0px;
}

.color-error {
  color: #a94442;
}

.color-success {
   color: #3c763d
}

/* messages fanciness */
.my-messages {
  position: relative;
}

.my-messages, .some-message {
  opacity: 1;
  transition: .3s linear all;
}

.some-message {
  font-size: .8em;
  position: absolute;
  width: 100%;
  color: #a94442;
}

.my-messages.ng-enter.ng-enter-active,
.some-message.ng-enter.ng-enter-active {
  opacity: 1;
  top: 0;
}

.my-messages.ng-enter,
.some-message.ng-enter {
  opacity: 0;
  top: -10px;
}

.my-messages.ng-leave,
.some-message.ng-leave {
  opacity: 1;
  top: 0;
}

.my-messages.ng-leave-active,
.some-message.ng-leave-active {
  opacity: 0;
  top: -10px;
}

.box {
    width: 200px; height: 300px;
    position: relative;
    border: 1px solid #BBB;
    background: #EEE;
}


/* PasswordExpired page */
.signup-top-message{
  color: #777;
  display: block;
  font-size: 15px;
  font-style: italic;
  margin-bottom: 25px;
}

.signup-field {
  margin-bottom: 10px;
}

/* Hide the "Beta" banner (temporary) */
.ribbon {
  display: none;
}
.isMapView #main-menu .navigation {
  padding-top: 6px;
}

.line-buttons-container {
  text-align: right;
}
.line-buttons-container a {
  margin-left: 5px;
}

/* logo */
#logo-wrapper {
  background-color: #23272d;
  padding-left: 20px;
  padding-top: 7px;
  position: absolute;
  width: calc(100% - 240px);
  height: 80px;
  z-index: 2;
}

/* map */
.leaf-map { 
  margin-right: 240px;
  height: 100%;
}

/* Hacks for the leaflet popup */
.leaflet-popup-content {
  word-break: break-all;
  margin: 5px 13px;
  text-align: center;
}
.leaflet-popup-tip-container {
  display: none;
}

.full-height {
  height: 100% !important;
}

p.field-error-message {
  color: #b70202;
  font-size: 10px;
}

/* main menu collapse */

@media screen {
  #main-wrapper.isMapView {
    padding-left: 56px;
  }
  .isMapView #content-wrapper {
    padding: 0px !important;
    height: 100% !important;
  }
  .isMapView #main-menu, .isMapView #main-menu-bg {
    width: 56px;
  }
  .isMapView #main-menu .menu-content, .isMapView #main-menu .navigation > li > a > .mm-text {
    display: none;
  }
  .isMapView #main-menu .navigation > li > a {
    text-align: center;
  }
  .isMapView #main-menu ul.navigation > li {
    width: auto;
  }
  .isMapView #main-menu .navigation > li > a > .menu-icon {
    margin: 0;
  }
}


.spinner-loader {
  text-align: center;
  padding: 40px 0px;
  color: #1d89cf;
}

.mini-spinner-loader {
  font-size: 7px;
  color: #1d89cf;
}

.button-spinner-loader {
  font-size: 9px;
  color: #1d89cf;
  display: inline-block;
  vertical-align: middle;
  padding-left: 15px;
}

.spinner-side-menu {
  color: white;
  font-size: 9px;
}



/* ACCOUNT CHOICE */

.accounts-list {
  padding-top: 5px;
}

.account-button-container {
  margin-bottom: 12px;
}

.account-button-container button {
  background-color: white;
  border: 1px solid #BBB;
  border-radius: 5px;
  padding: 13px 18px 10px 18px;
  width: 100%;
  text-align: left;
}

.account-button-container button:hover {
  background-color: #f5f5f5;
}

.account-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: bold;
  display: inline-block;
  max-width: 200px;
}

.account-right {
  display: inline-block;
  overflow: hidden;
}



/* ACCOUNT PAGE */

.account-users-list table .custom-cell {
  height: 50px;
  vertical-align: middle;
}

.account-users-list table .custom-centered-cell {
  text-align: center;
}

.custom-table-label {
  margin-left: 10px;
}

.custom-table-button {
  font-size: 12px;
  padding: 4px 10px;
}

.table-cell-loader {
  font-size: 7px;
  color: #1d89cf;
  vertical-align: middle;
}



/* APPLICATIONS PAGE */

.application-accordion .panel-title {
    font-size: 13px;
    padding-left: 6px;
}

.accordion-open-icon {
  float: right;
  padding-right: 7px;
  font-size: 12px;
}

.application-info-line {
  padding-bottom: 10px;
}
.application-info-title {
  width: 130px;
  font-weight: bold;
}
.application-info-content {
  word-wrap: break-word;
}

.accordion-bottom-buttons-container {
  padding-top: 20px;
}
.accordion-bottom-buttons-container .left-buttons {
  float: left;
}
.accordion-bottom-buttons-container .right-buttons {
  float: right;
}

.custom-alert i {
  font-size: 18px;
  padding-right: 6px;
}

.tooltip-button-container {
  display: inline-block;
}



/* STATISTIC PAGE */

.monoline-selector {
  margin-left: 11px;
  margin-bottom: 17px;
}

.monoline-selector .selector-title {
  font-weight: bold;
  padding-bottom: 5px;
  display: inline-block;
}

.monoline-selector select {
  display: inline-block;
  margin-left: 7px;
}

.selectors-container .monoline-selector {
  display: inline-block;
  margin-right: 10px;
}

.selector-in-panel {
  padding-top: 15px;
  padding-left: 10px;
  margin-bottom: 0;
}

.selector-in-panel select {
  max-width: 250px;
}

.chart-container {
  padding: 15px;
  height: 300px;
}

.pie-chart-panel-content {
  height: 360px;
}

.pie-chart-container {
  padding: 15px 25px;
  max-width: 360px;
  margin: 0 auto;
}

.pie-chart-container canvas {
  max-height: 360px;
  max-width: 360px;
}

.pie-chart-panel-content-with-selector {
  height: 320px;
}

.pie-chart-container-with-selector {
  padding: 15px 25px;
  max-width: 320px;
  margin: 0 auto;
}

.pie-chart-container-with-selector canvas {
  max-height: 320px;
  max-width: 320px;
}

.chart-replacement-message {
  padding: 20px;
  text-align: center;
}

.chart-replacement-inner-message {
  padding-top: 25px;
  text-align: center;
  padding-bottom: 30px;
}

.statistics-map-disable-cover {
  position: absolute;
  z-index: 1040;
  height: 350px;
  width: 100%;
}

.statistics-map-disable-cover .cover {
  background-color: grey;
  opacity: 0.5;
  width: 100%;
  height: 100%;
  z-index: 1041;
}

.statistics-map-disable-cover .loader-map {
  position: absolute;
  top: 50px;
  z-index: 1042;
  color: white;
  width: 100%;
  text-align: center;
}

.heatmap-legend {
  padding: 10px;
  background-color: white;
  border-radius: 5px;
}
.legend-title {
  font-weight: bold;
  font-size: 10px;
  padding-bottom: 10px;
}
.legend-color-scale {
  line-height: 18px;
  font-size: 11px;
}
.legend-color-scale i {
  width: 18px;
  height: 18px;
  float: left;
  margin-right: 8px;
  clear: both;
}
/* Customize leaflet markerCluster icon for the heatmap */
.heatmap-marker-cluster {
  background-color: rgba(255, 255, 255, 0.5);
}
.heatmap-marker-cluster div span {
  color: white;
  font-weight: bold;
}



/* MAP COVER WHEN DISABLED */

.map-disable-cover {
  position: absolute;
  left: 56px;
  right: 240px;
  z-index: 1040;
  height: 100%;
}

.map-disable-cover .cover {
  background-color: grey;
  opacity: 0.5;
  width: 100%;
  height: 100%;
  z-index: 1041;
}

.map-disable-cover .loader-map {
  position: absolute;
  top: 50px;
  z-index: 1042;
  color: white;
  width: 100%;
  text-align: center;
}

.map-disable-cover .loader-map span {
  margin-top: 10px;
  display: block;
}



/* SUPER MAP SIDE MENU */


.edit-menu {
  background-color: #23272d;
  position: absolute;
  right: 0px;
  top: 0px;
  width: 240px;
  height: 100%;
  z-index: 999;
  overflow-y: scroll;
}

.edit-menu-title {
  color: white;
  padding-top: 10px;
  padding-bottom: 6px;
}

.edit-menu-sub-title {
  margin-top: 15px;
  color: white;
  padding-bottom: 10px;
}

.accordion-list-title {
  color: white;
  padding-left: 2px;
}

.action-button-container {
  padding: 10px;
  width: 100%;
  text-align: center;
  border-bottom: solid 1px #c3c3c3;
}

.action-button-container button {
  width: 100%;
}

.edit-menu .radio-button-line {
  width: 100%;
  padding-bottom: 10px;
}

/* Dirty workaround to avoid the following problem:
When adding Angular-UI-tooltips on Pixel Admin "btn-group" (radio buttons), an offset appears on the button when the tooltip is opened
 */
.btn-group-with-tooltips label {
  margin-left: 0px !important;
}

.edit-menu .tab-selector label {
  width: 120px;
}
.edit-menu .location-type-selector {
  padding-top: 5px;
}
.edit-menu .location-type-selector label {
  width: 25%;
}

.edit-menu .tab-container {
  padding: 0px 10px 10px 10px;
}

.edit-menu .app-selector {
  width: 100%;
  height: 32px;
  margin-bottom: 10px;
}

.wide-text-field {
  width: 100%;
}

.form-error-msg-dark {
  margin: 2px 0px;
  font-size: 10px;
  color: #cccccc;
}

.location-search {
  margin-bottom: 10px;
}

.select-buttons-container {
  text-align: right;
  margin-top: 6px;
  margin-right: 2px;
}

.toggle-container {
  margin-bottom: 6px;
}
.toggle-container .toggle-label {
  color: white;
  margin-left: 4px;
}
.toggle-container .toggle-label i {
  font-size: 14px;
  margin-left: 5px;
  position: relative;
  top: 1px;
}

.editactive {
  right: 0px;
}
.edit-pad .list-header {
  font-size: 18px;
}

.edit-contents {
  padding-left: 30px;
  padding-top: 10px;
  font-size: 20px;
}

.edit-pad .panel-title {
  padding-left: 6px;
  font-size: 13px;
}

.edit-pad label {
  font-size: 12px;
  font-weight: initial;
}

.edit-pad .panel-field-title {
  font-weight: bold;
}

.edit-pad .panel-heading {
  background-color: #f1ffff;
}

.edit-pad . {
  word-break:panel-field-value break-all;
  padding-bottom: 5px;
}

.edit-pad .panel-field-value pre {
  margin-top: 5px;
}

.edit-pad .panel-field-input {
  padding-top: 5px;
  margin-bottom: 10px;
}

.edit-pad .panel-field-input input[type="text"], .edit-pad .panel-field-input textarea {
  width: 100%;
}

.edit-pad .panel-field-input select {
  min-width: 60px;
  max-width: 190px;
}

.edit-pad .panel-field-info {
  color: white;
  font-size: 11px;
  background-color: #56bedc;
  padding: 8px 11px;
  border-radius: 8px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.edit-pad .panel-field-info i {
  color: white;
  font-size: 16px;
  padding-right: 5px;
}

.edit-pad .in-form-panel-field-info {
  margin-top: 0px;
  margin-bottom: 10px;
}

.edit-pad .panel-field-alert {
    background-color: #e3503e;
}

.edit-pad .panel-field-input .field-full-width {
  width: 100%;
}

.edit-pad .panel-collapse .panel-body {
  padding: 10px;
}

.select-event-type {
  width: 100%;
  padding: 5px 0 10px 0;
}
.select-event-type .btn {
  width: 33%;
}
.select-event-type .btn i {
  font-size: 22px;
}
.select-event-type .icon-button {
  padding:5px;
}

.separation-line-container {
  text-align: center;
}

.separation-line {
  display: inline-block;
  height: 1px;
  width: 215px;
  margin-bottom: 10px;
  margin-top: 10px;
  background-color: #dadada;
}

.form-buttons-container {
  padding-top: 10px;
  text-align: right;
}

.theme-custom-accordion .form-buttons-vertical button {
  margin-top: 5px;
  width: 100%;
}

.panel-title-monoline {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.panel-title-monoline i {
  margin-right: 3px;
}

.theme-custom-accordion .panel-sub-accordion {
  padding-top: 5px;
}

.theme-custom-accordion .panel-sub-accordion .panel-group {
  margin-bottom: 6px;
}

.panel-sub-accordion .panel-heading {
  background-color: #58bfde;
}

.panel-sub-accordion .panel-heading:hover {
  background-color: #6dcae6;
}

.panel-sub-accordion .panel-heading a {
  color: white;
  text-decoration: none;
}

.panel-sub-accordion .sub-panel-button {
  margin-top: 20px;
  text-align: center;
}

.edit-pad .button-container {
  text-align: center;
}
.edit-pad .button-container button {
  margin-bottom: 10px;
}

.vertical-padding {
  padding-top: 5px;
}

.pad-padding {
  padding-top: 5px;
  padding-bottom: 5px;
}

.event-buttons {
  width: 100px !important;
  margin-top: 5px;
}

.number-input {
  max-width: 75px;
}

.panel-conditions-list {
  padding-top: 5px;
}
.panel-conditions-list.edit-mode {
  padding: 10px 0;
}

.cross-direction-arrow {
  font-size: 25px;
  vertical-align: -17%;
  padding-left: 6px;
}

.event-condition-line {
  height: auto;
  padding-left: 7px;
  padding-bottom: 7px;
}
.event-condition-line.edit-mode {
  height: 30px;
  padding-bottom: 0;
}

.event-condition-line .conditon-description {
  display: inline-block;
  padding-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}
.event-condition-line.edit-mode .conditon-description {
  width: 120px;
}

.event-condition-line .conditon-buttons-container {
  display: inline-block;
  float: right;
  clear: both;
}

.accordion-toggle {
  padding: 5px !important;
}

.accordion-toggle::after {
  display: none;
}

.star-mandatory:hover {
  cursor: default;
}

#allmapEdit {
  width: auto; 
  height: 100%;
  position: absolute; 
  left: 56px; 
  right: 240px;
}

.cover-container {
  position: absolute;
  z-index: 500;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.cover-container-for-accordions {
  top: 32px;
}
.cover-container .cover {
  background-color: white;
  opacity: 0.9;
  width: 100%;
  height: 100%;
}
.cover-container .cover-loader {
  position: absolute;
  top: 40%;
  text-align: center;
  width: 100%;
  color: #4a4a4a;
  font-size: 11px;
}



/* Condition edition modal */

.condition-type-title {
  font-size: 14px;
  padding-bottom: 9px;
  padding-left: 6px;
  font-weight: bold;
}

.condition-type-button {
  margin: 7px 5px;
  width: 127px;
  height: 80px;
  border-radius: 10px;
}

.condition-type-button i {
  font-size: 30px;
  padding-bottom: 7px;
}

.condition-type-button .button-title {
  font-size: 12px;
}

.condition-config-top-row {
  padding-bottom: 12px;
}
.condition-config-top-row button {
  float: right;
}

.condition-config-title i {
  font-size: 24px;
  padding-right: 10px;
}
.condition-config-title span {
  font-size: 16px;
  font-weight: bold;
}

.select-condition-operator {
  padding-bottom: 12px;
}
.select-condition-operator .btn {
  width: 60px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 0;
}

.big-modal-form-field .huge-modal-form-field {
  padding-bottom: 10px;
}

.big-modal-form-field > input {
  width: 200px;
}

.huge-modal-form-field > input {
  width: 100%;
}

.small-form-field input {
  width: 50px;
}

.select-weather-condition {
  margin-bottom: 15px;
}
.select-weather-condition .btn {
  width: 80px;
}
.select-weather-condition .btn i {
  font-size: 25px;
  padding: 5px 0;
}
.select-weather-condition .btn span {
  display: block;
  font-size: 12px;
  padding-top: 5px;
}

.traffic-condition-map-container {
  margin-bottom: 15px;
}

.crossing-direction-select {
  padding: 5px 0 10px 0;
}
.crossing-direction-select .btn {
  padding:5px;
  width: 150px;
}
.crossing-direction-select .btn i {
  font-size: 22px;
}



/* Actions edition modal */

.modal-list-title {
  font-weight: bold;
  margin-bottom: 10px;
}

.actions-scroll-list {
  height: 350px;
  overflow: scroll;
  border: grey 1px solid;
  border-radius: 4px;
  margin-bottom: 15px;
  padding: 7px;
}

.list-line-button {
  width: 100%;
  margin-bottom: 5px;
  text-align: left;
}

.action-type-selector {
  width: 100%;
  margin-bottom: 10px;
}
.action-type-selector label {
  width: 33%;
}
.select-webhook-method {
  width: 100%;
  margin-bottom: 10px;
}
.select-webhook-method .btn {
  width: 50%;
}
.panel-title-without-icon {
  font-size: 13px;
  padding-left: 8px;
}

.sm-modal-form-name {
  font-weight: bold;
  padding-bottom: 5px;
}
.sm-modal-form-value {
  margin-bottom: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sm-modal-form-value pre {
  margin-top: 5px;
}
.sm-modal-form-input {
  margin-bottom: 7px;
}
.sm-modal-form-input input, .sm-modal-form-input textarea {
  width:100%;
}
.sm-modal-center-button-container {
  text-align: center;
  margin-bottom: 12px;
}
.modal-message {
  margin-bottom: 10px;
}
.action-search {
  margin-bottom: 10px;
}


/* Customize Angular UI Modals */

.modal-header-theme-custom {
  background-color: #1d89cf;
}

.modal-header-theme-custom button {
  float: right;
  margin-left: 10px;
}

.modal-title-theme-custom {
  color: white;
  font-size: 15px;
}

.modal-title-icon {
  padding-right: 7px;
}

.modal-message-theme-custom {
  padding-bottom: 18px;
}
.modal-button-container {
  text-align: center;
}

.modal-form {
  padding-bottom: 10px;
}
.modal-form-message {
  padding-bottom: 5px;
}
.modal-form-title {
  font-size: 13px;
  font-weight: bold;
  padding-bottom: 7px;
}
.modal-form-field {
  padding-bottom: 10px;
}
.modal-form-field input {
  width: 100%;
}
.modal-form-field p {
  color: #b70202;
  font-size: 10px;
}

.modal-list-container {
  padding: 10px 0 15px 0;
}

.modal-spinner-loader {
  text-align: center;
  font-size: 10px;
  color: #1d89cf;
  padding: 10px 0 25px 0;
}

.modal-button-loader {
  font-size: 8px;
  color: #1d89cf;
  text-align: center;
  vertical-align: middle;
}

.modal-info-area {
  color: white;
  font-size: 11px;
  padding: 8px 11px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.modal-info-area i {
  color: white;
  font-size: 16px;
  padding-right: 5px;
}

.modal-info-warning {
  background-color: #f39e5f;
}

.modal-info-primary {
  background-color: #629cf7;
}

.modal-buttons-container-right {
  text-align: right;
  padding-top: 10px;
}



/* Customize Angular UI Accordions */

.theme-custom-accordion {
  padding-bottom: 10px;
}

.theme-custom-accordion .panel-group {
  border-radius: 3px;
  border-color: #1d89ce;
}

.theme-custom-accordion .panel-heading {
  background-color: #1d89cf;
}

.theme-custom-accordion .panel-heading .accordion-toggle {
  color: white;
  text-decoration: none;
  outline: none;
}

.theme-custom-accordion .panel-heading .accordion-toggle:hover {
  cursor: pointer;
}


/* Customize Angular UI tooltips */

.custom-tooltip-style .tooltip-inner {
  background-color: white;
  color: black;
}
.limited-width-tooltip .tooltip-inner {
  max-width: 150px;
}
.tooltip.bottom.custom-tooltip-style .tooltip-arrow {
  border-bottom-color: white;
}
.tooltip.left.custom-tooltip-style .tooltip-arrow {
  border-bottom-color: white;
}

/* Customize Angular UI Typeahead */

.panel-field-input .dropdown-menu {
  max-width: 200px;
  overflow: hidden;
}


/* Customize angucomplete-alt search input */

.angucomplete-description{
  font-size: 11px;
}
.angucomplete-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.angucomplete-image {
  border: none;
}
/* Specific to locations search */
.edit-menu .angucomplete-row {
  padding-bottom: 10px;
  padding-left: 0;
}
.edit-menu .angucomplete-dropdown {
  width: 220px;
}
/* Specific to actions search */
.action-search .angucomplete-dropdown {
  width: 100%;
}
.action-search .angucomplete-row {
  height: 50px;
}
.action-search .angucomplete-title {
  margin-top: 9px;
}


/* Customize Leaflet MarkerClusters */

/* BLUE */
.custom-marker-cluster {
  background-color: rgba(0, 120, 212, 0.5);
}
.custom-marker-cluster div {
  background-color: rgba(0, 120, 212, 0.8);
}
.custom-marker-cluster div span {
  color: white;
  font-weight: bold;
}

/* bulk file upload */

.inputfile {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

.inputfile-pretty + label {
    color:#fff;
    background-color:#337ab7;
    border-color:#2e6da4;
    text-shadow: none;
    line-height: 15px;
    font-weight: 400;
    padding: 7px 12px;
    outline: 0!important;
}

.inputfile-pretty:focus + label,
.inputfile-pretty.has-focus + label,
.inputfile-pretty + label:hover {
    background-color:#286090;
    border-color:#122b40;
}

.select-upload-type {
  width: 60%;
  padding: 5px 0 10px 0;
}
.select-upload-type .btn {
  width: 15%;
}
.select-upload-type .btn i {
  font-size: 22px;
}
.select-upload-type .icon-button {
  padding:5px;
}
