/* SightSurvey */


body {
    font-family: "Helvetica Neue", Helvetica, Arial, serif;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    margin-top: 29px;
    padding-top: 3em;
    padding-bottom: 1.6em;
}

logo
{
    position: absolute;
    cursor:default;
}

#header {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    -webkit-box-shadow: 0px 0px 10px 0px #000000;
    -moz-box-shadow: 0px 0px 10px 0px #000000;
    box-shadow: 0px 0px 10px 0px #000000;
    line-height: 3em;
}

.icon {
    width: 32px;
    height: 32px;
    padding: 0.5em;
    margin-left: 0.8em;
}

.icon:hover {
    opacity: 0.8;
    filter: alpha(opacity=80);
}

#map-canvas {
    width: 100%;
    max-width: 100%;
    height: calc(100% - 77px);
    overflow-y: auto;
    position: absolute;
}

#nav {
    position: absolute;
    top: 0.8em;
    height: 3em;
    line-height: 3em;
}

#nav ul {
    margin: 0;
}

#nav ul li {
    display: inline-block;
    font-size: 0.9em;
}

#nav ul li a {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 4em;
    line-height: 4em;
    padding: 0 0.35em 0 0.35em;
    outline: 0;
}

.toast {
    display: none;
    position: fixed;
    z-index: 99999;
    width: 200px;
    text-align: center;
    bottom: 20px;
}

.button,
.toast .message {
    font-family: Helvetica, Arial, sans-serif;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 25px;
    text-align: center;
    padding: 10px 15px;
    margin: 2px 5px;
    height: 24px;
    display: inline-block;
    cursor: pointer;
    border-radius: 4px;
    transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.19), 0 6px 13px 0 rgba(0, 0, 0, 0.24);
}

.toast .message {
    margin: -2px 22px;
    line-height: 25px;
    width: 260px;
    background: #0067b1;
    text-transform: none;
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    z-index: 99999;
    -webkit-transition: opacity 100ms ease-out;
    -moz-transition: opacity 100ms ease-out;
    transition: opacity 100ms ease-out;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    margin: 100px auto;
    padding: 20px;
    background: #0067b1;
    border-radius: 5px;
    width: 30%;
    position: relative;
    transition: all 1s ease-in-out;
}

.popup h2 {
    margin-top: 0;
    margin-right: 2em;
    color: #fff;
    font-family: Tahoma, Arial, sans-serif;
}

.popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 100ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
}

.popup .close:hover {
    color: #FF3A2D;
}

.popup .content {
    max-height: 50%;
}

@media screen and (max-width: 1024px) {
    .box {
        width: 50%;
    }
    .popup {
        width: 50%;
    }
}

.button {
    width: 120px;
    border: none;
}

.button.red {
    background: #F44336;
}

.button.red:hover {
    background: #E53935;
}

.button.red:active {
    background: #C62828;
}

.button.green {
    background: #4CAF50;
}

.button.green:hover {
    background: #43A047;
}

.button.green:active {
    background: #2E7D32;
}

.button.blue {
    background: #2a75f3;
}

.button.blue:hover {
    background: #206dda;
}

.button.blue:active {
    background: #1565C0;
}

.button.gray {
    background: #607D8B;
}

.button.gray:hover {
    background: #546E7A;
}

.button.gray:active {
    background: #37474F;
}

.textField-popup {
    width: 100%;
    margin-top: 4px;
    background-size: 30px 30px;
    background-position: 11px 0px;
    background-repeat: no-repeat;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    border-radius: 5px;
    line-height: 22px;
    background-color: #fbfbfb;
    border: 3px solid #fbfbfb;
    padding: 3px 13px 3px 52px;
    height: 36px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
}

.textField-popup:focus {
    background: #fff;
    box-shadow: 0;
    border: 2px solid #3498db;
    color: #3498db;
    outline: none;
    background-size: 30px 30px;
    background-position: 12px 1px;
    background-repeat: no-repeat;
    padding: 3px 13px 3px 53px;
}

input::-webkit-input-placeholder {
    color: #999;
}

input:-moz-placeholder {
    color: #999;
}

input::-moz-placeholder {
    color: #999;
}

input:-ms-input-placeholder {
    color: #999;
}

/* Container */
#table {
  margin: 20px auto;   /* centers it */
  width: 80%;          /* limit overall width */
}

/* Base table styling */
#table table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  background: #ffffff;
  border: 1px solid #ddd;
}

/* Header */
#table thead th {
  background: #f7f7f9;
  font-weight: 600;
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #ddd;
  white-space: nowrap;
}

#table thead th a {
  color: #333;
  text-decoration: none;
}

#table thead th a:hover {
  text-decoration: underline;
}

/* Body rows */
#table tbody tr:nth-child(odd) {
  background: #fafafa;
}

#table tbody tr:nth-child(even) {
  background: #ffffff;
}

#table tbody tr:hover {
  background: #eaf3ff;
}

/* Cells */
#table td {
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
}

#table th a.current.asc::after {
  content: " ▲";
  font-size: 11px;
}

#table th a.current.desc::after {
  content: " ▼";
  font-size: 11px;
}

/* --- Users page toolbar --- */

.users-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    max-width: 75%;
    margin: 20px auto 10px auto;

    background: #ffffff;
    border: 1px solid #d9d9d9;
    padding: 10px 15px;
    box-sizing: border-box;
}

/* Left side */
.users-toolbar-left {
}

/* Create button */

.btn-create-user {
    display: inline-block;
    padding: 8px 14px;

    background: #0067b1;
    color: white;

    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;

    text-decoration: none;
}

.btn-create-user:hover {
    background: #00508a;
}

/* Right side */

.users-toolbar-right {
}

/* Search form */

.users-search-form {
    display: flex;
    align-items: center;
}

/* Search input */

.users-search-input {
    height: 32px;
    padding: 6px 8px;

    border: 1px solid #cccccc;
    border-radius: 4px 0 0 4px;

    font-size: 14px;
}

/* Search button */

.users-search-button {
    width: 32px;
    height: 32px;

    border: 1px solid #cccccc;
    border-left: none;

    border-radius: 0 4px 4px 0;

    background: #f5f5f5 url('/assets/search.png') center center no-repeat;
    background-size: 16px 16px;

    cursor: pointer;
}

.users-search-button:hover {
    background-color: #e6e6e6;
}

.flash {
    max-width: 75%;
    margin: 15px auto;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    border: 1px solid transparent;
}

.flash-notice {
    background: #e6f4ea;
    border-color: #8fd19e;
    color: #1b5e20;
}

.flash-alert {
    background: #fdecea;
    border-color: #e57373;
    color: #7f0000;
}

#modal-container .form-errors,
.admin-modal .form-errors {
    margin-bottom: 16px;
    padding: 12px 14px;
    background: #fdecea;
    border: 1px solid #e57373;
    border-radius: 4px;
    color: #7f0000;
}

#modal-container .form-errors h5,
.admin-modal .form-errors h5 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: bold;
    color: #7f0000;
}

#modal-container .form-errors ul,
.admin-modal .form-errors ul {
    margin: 0;
    padding-left: 18px;
}

#modal-container .form-errors li,
.admin-modal .form-errors li {
    margin: 0 0 4px 0;
}

.actions-cell {
    white-space: nowrap;
}

.action-icon {
    height: 24px;
    margin-right: 8px;
    cursor: pointer;
}

.action-icon:hover {
    opacity: 0.75;
}

#modal-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.6);
z-index: 1000;
display: none;
}

#modal-container {
position: fixed;
top: 10%;
left: 50%;
transform: translateX(-50%);
z-index: 1001;
width: 500px;
display: none;
max-height: 90vh;
overflow-y: auto;
}

.modal-actions {
margin-top: 20px;
text-align: right;
}

.overlay-remove-actions {
  margin-top: 20px;
  text-align: center;
}

.overlay-remove-actions form {
  display: inline-block;
  margin: 0 8px;
}
