/*
    DJANGO Admin styles
*/

*{
    font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif !important;
    color: #333;
}

body {
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-family:"Helvetica Neue", "Helvetica", "Arial", sans-serif;
    color: #333;
    background: #fff;
}

textarea:disabled, input:disabled {
    border: none !important;
}

/* LINKS */

a:link, a:visited {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    color: #333;
}

a img {
    border: none;
}

a.section:link, a.section:visited {
    color: #fff;
    text-decoration: none;
}

/* GLOBAL DEFAULTS */

p, ol, ul, dl {
    margin: .2em 0 .8em 0;
}

p {
    padding: 0;
    line-height: 140%;
}

h1,h2,h3,h4,h5 {
    font-weight: bold;
}

h1 {
    font-size: 29px;
    color: #000;
    padding: 20px;
    background-color: #eaeaea;
    font-weight: 300;
    margin-top: 0;
}

h2 {
    font-size: 16px;
    margin: 1em 0 .5em 0;
}

h2.subhead {
    font-weight: normal;
    margin-top: 0;
}

h3 {
    font-size: 14px;
    margin: .8em 0 .3em 0;
    color: #666;
    font-weight: bold;
}

h4 {
    font-size: 12px;
    margin: 1em 0 .8em 0;
    padding-bottom: 3px;
}

h5 {
    font-size: 10px;
    margin: 1.5em 0 .5em 0;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

ul li {
    list-style-type: none;
    padding: 1px 0;
}

ul.plainlist {
    margin-left: 0 !important;
}

ul.plainlist li {
    list-style-type: none;
}

li ul {
    margin-bottom: 0;
}

li, dt, dd {
    font-size: 11px;
    line-height: 14px;
}

dt {
    font-weight: bold;
    margin-top: 4px;
}

dd {
    margin-left: 0;
}

form {
    margin: 0;
    padding: 0;
}

fieldset {
    margin: 0;
    padding: 0;
}

fieldset.module.aligned img {
    height: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    display: block;
}

blockquote {
    font-size: 11px;
    color: #777;
    margin-left: 2px;
    padding-left: 10px;
    border-left: 5px solid #ddd;
}

code, pre {
    font-family: "Bitstream Vera Sans Mono", Monaco, "Courier New", Courier, monospace;
    color: #666;
    font-size: 11px;
}

pre.literal-block {
    margin: 10px;
    background: #eee;
    padding: 6px 8px;
}

code strong {
    color: #930;
}

hr {
    clear: both;
    color: #eee;
    background-color: #eee;
    height: 1px;
    border: none;
    margin: 0;
    padding: 0;
    font-size: 1px;
    line-height: 1px;
}

/* TEXT STYLES & MODIFIERS */

.small {
    font-size: 11px;
}

.tiny {
    font-size: 10px;
}

p.tiny {
    margin-top: -2px;
}

.mini {
    font-size: 9px;
}

p.mini {
    margin-top: -3px;
}

.help, p.help {
    font-size: 11px !important;
    color: #999;
}

img.help-tooltip {
    cursor: help;
}

p img, h1 img, h2 img, h3 img, h4 img, td img {
    vertical-align: middle;
}

.quiet, a.quiet:link, a.quiet:visited {
    color: #999 !important;
    font-weight: normal !important;
}

.quiet strong {
    font-weight: bold !important;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.clear {
    clear: both;
}

.align-left {
    text-align: left;
}

.align-right {
    text-align: right;
}

.example {
    margin: 10px 0;
    padding: 5px 10px;
    background: #efefef;
}

.nowrap {
    white-space: nowrap;
}

/* TABLES */

table {
    border-collapse: collapse;
    border-color: #ccc;
}

td, th {
    font-size: 13px;
    line-height: 13px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    border: none;
    padding: 10px 5px 10px 10px;
    font-family: "Lucida Grande", Verdana, Arial, sans-serif;
}

th.field-cover img{
    height: 36px;
}

td.field-cover img{
    height: 36px;
}

th {
    text-align: left;
    font-size: 13px;
    font-weight: bold;
    vertical-align: middle;
}

tfoot td {
    border-bottom: none;
    border-top: 1px solid #ddd;
}

thead th:first-child,
tfoot td:first-child {
    border-left: none !important;
}

thead th.optional {
    font-weight: normal !important;
}

fieldset table {
    border-right: 1px solid #eee;
}

tr.row-label td {
    font-size: 9px;
    padding-top: 2px;
    padding-bottom: 0;
    border-bottom: none;
    color: #666;
    margin-top: -1px;
}

tr.alt {
    background: #f6f6f6;
}

.row1, .row2 {
    background: #ffffff;
}


/* SORTABLE TABLES */

thead th, tfoot td, thead th span {
    color: #333 !important;
    padding: 10px;
    font-size: 13px;
    background: #eaeaea;
    padding: 10px;
    line-height: normal;
}

thead th a:link, thead th a:visited {
    color: #333;
}

thead th.sorted {
    box-shadow: 0px 2px 2px -2px rgba(0, 0, 0, 0.85) inset;
}

thead th.sorted .text {
    padding-right: 42px;
}

table thead th .text span {
    padding: 0;
    display:block;
}

table thead th .text a {
    display: block;
    cursor: pointer;
    padding: 2px 0px;
}

table thead th.sortable:hover {
    box-shadow: 0px 2px 2px -2px rgba(0, 0, 0, 0.85) inset;
}

thead th.sorted a.sortremove {
    visibility: hidden;
}

table thead th.sorted:hover a.sortremove {
    visibility: visible;
}

table thead th.sorted .sortoptions {
    display: block;
    padding: 4px 5px 0 5px;
    float: right;
    text-align: right;
}

table thead th.sorted .sortpriority {
    font-size: .8em;
    min-width: 12px;
    text-align: center;
    vertical-align: top;
}

table thead th.sorted .sortoptions a {
    width: 14px;
    height: 12px;
    display: inline-block;
}

table thead th.sorted .sortoptions a.sortremove {
    background: url("../img/sorting-icons.bb646d0f607e.gif") -4px -5px no-repeat;
}

table thead th.sorted .sortoptions a.sortremove:hover {
    background: url("../img/sorting-icons.bb646d0f607e.gif") -4px -27px no-repeat;
}

table thead th.sorted .sortoptions a.ascending {
    background: url("../img/sorting-icons.bb646d0f607e.gif") -5px -50px no-repeat;
}

table thead th.sorted .sortoptions a.ascending:hover {
    background: url("../img/sorting-icons.bb646d0f607e.gif") -5px -72px no-repeat;
}

table thead th.sorted .sortoptions a.descending {
    background: url("../img/sorting-icons.bb646d0f607e.gif") -5px -94px no-repeat;
}

table thead th.sorted .sortoptions a.descending:hover {
    background: url("../img/sorting-icons.bb646d0f607e.gif") -5px -115px no-repeat;
}

/* ORDERABLE TABLES */

table.orderable tbody tr td:hover {
    cursor: move;
}

table.orderable tbody tr td:first-child {
    padding-left: 14px;
}

table.orderable-initalized .order-cell, body>tr>td.order-cell {
    display: none;
}

/* FORM DEFAULTS */

input, textarea, select, .form-row p, form .button {
    margin: 0;
    padding: 2px 3px;
    vertical-align: middle;
    font-family: "Lucida Grande", Verdana, Arial, sans-serif;
    font-weight: normal;
    font-size: 11px;
}

.form-row a p {
    font-weight: bold;
}

textarea {
    vertical-align: top !important;
}

input[type=text], input[type=password], input[type=email], input[type=url], input[type=number],
textarea, select, .vTextField {
    border: 1px solid #ccc;
    background: white;
    font-size: 12px;
}

/* FORM BUTTONS */

.button, input[type=submit], input[type=button], .submit-row input, a.button {
    color: #fff;
    background-color: #51565c;
    border-radius: 3px;
    padding: 10px;
    box-sizing: border-box;
    min-width: 100px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    border: none;
}

a.button {
    padding: 11.5px;
}

.module h2 input[type="button"] {
    float: right;
}
.module h2 .button, h2 input[type=submit], h2 input[type=button], h2 .submit-row input, h2 a.button {
    padding: 4px 5px;
    margin-right: 20px;

}

.button:hover, input[type=submit]:hover, input[type=button]:hover, .submit-row input:hover, a.button:hover {

}

.filter a.button {
    padding: 4px 5px;
}


.button:active, input[type=submit]:active, input[type=button]:active {
    background: #3d3e41;
    background-position: top;
}

.button[disabled], input[type=submit][disabled], input[type=button][disabled] {
    opacity: 0.4;
}

.button.default, input[type=submit].default, .submit-row input.default {
    font-weight: bold;
    color: #fff;
    float: right;
}

.button[disabled].default, input[type=submit][disabled].default, input[type=button][disabled].default {
    opacity: 0.4;
}


/* MODULES */

.module {
    margin-bottom: 15px;
    background: #fff;
    border: 1px solid #b8b8b8;
}

.module p, .module ul, .module h3, .module h4, .module dl, .module pre {
    padding-left: 10px;
    padding-right: 10px;
}

.module blockquote {
    margin-left: 12px;
}

.module ul, .module ol {
    margin-left: 1.5em;
}

.module h3 {
    margin-top: .6em;
}

.module h2, .module caption, .inline-group h2, .selector h2 {
    margin: 0;
    padding: 5px 0px 5px 15px;
    font-size: 13px;
    text-align: left;
    font-weight: bold;
    background-color: #eaeaea;
    color: #333;
    line-height: 30px;
}

.module table {
    width: 100%;
    border-collapse: collapse;
}

/* MESSAGES & ERRORS */

ul.messagelist {
    padding: 0;
    margin: 0;
}

ul.messagelist li {
    font-size: 12px;
    font-weight: bold;
    display: block;
    padding: 5px 5px 4px 25px;
    margin: 0 0 3px 0;
    border-bottom: 1px solid #ddd;
    color: #666;
}

.errornote {
    position: absolute;
    font-size: 12px !important;
    font-weight: bold;
    display: block;
    padding: 5px 5px 4px 25px;
    margin: 0 0 3px 0;
    border: 1px solid #c22;
    color: #c11;
    top: -93px;
    width: 293px;
    text-align: center;
}

.errornote, ul.errorlist {
    border-radius: 0px;
}

ul.errorlist {
    margin: 0 0 4px !important;
    padding: 0 !important;
    color: #fff;
    background: #c11;
}

ul.errorlist li {
    font-size: 12px !important;
    color: white;
    display: block;
    padding: 5px 5px 4px 7px;
    margin: 3px 0 0 0;
}

ul.errorlist li:first-child {
    margin-top: 0;
}

ul.errorlist li a {
    color: #fff;
    text-decoration: underline;
}

td ul.errorlist {
    margin: 0 !important;
    padding: 0 !important;
}

td ul.errorlist li {
    margin: 0 !important;
}

.errors, .form-row.errors {
    background: #ffefef;
}

.form-row.errors {
    border: 1px solid #c22;
    margin: -1px;
}

.errors input, .errors select, .errors textarea {
    border: 1px solid #c11;
}

div.system-message {
    background: #ffc;
    margin: 10px;
    padding: 6px 8px;
    font-size: .8em;
}

div.system-message p.system-message-title {
    padding: 4px 5px 4px 25px;
    margin: 0;
    color: #c11;
}

.description {
    background-color: #eaeaea;
    font-weight: bold;
    font-size: 13px;
    color: black;
    padding: 5px 0px 5px 15px;
    line-height: 30px;
}

.description .button, table th .button {
    float: right;
    background-color: #4e4f53;
    border-radius: 3px;
    border: none;
    font-size: 12px;
    color: white !important;
    margin-right: 15px;
    margin-top: 5px;
    line-height: 16px;
    padding: 3px;
    text-align: center;
}

table th .button {
    margin-top: 0px;
    margin-right: 5px;
}

/* BREADCRUMBS */

div.breadcrumbs {
    background: none;
    padding: 3px 0px;
    font-size: 12px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    margin-left: 20px;
    text-align: left;
}

/* ACTION ICONS */

.changelink, .inlinechangelink {
    padding-left: 10px;
}

p.deletelink-box {
    padding-top: 7px;
}

p.deletelink-box a.deletelink {
    margin-top: 10px;
    height: 40px;
    background: #c92516;
    border-radius: 3px;
    padding: 10px;
    min-width: 100px;
    box-sizing: border-box;
    border: medium none;
    color: #fff;
}

/* OBJECT TOOLS */

.object-tools {
    position: absolute;
    top:18px;
    right: 20px;
    font-size: 13px;
    font-weight: bold;
}

a.open-dialog.addlink {
    cursor: pointer;
}

.form-row .object-tools {
    margin-top: 5px;
    margin-bottom: 5px;
    float: none;
    height: 2em;
    padding-left: 3.5em;
}

.object-tools li {
    font-size: 13px;
    display: block;
    float: left;
    margin-left: 5px;
    height: 16px;
}

.object-tools a , .object-tools a:link, .object-tools a:visited {
    display: block;
    color: #fff;
    background-color: #00aab4;
    border-radius: 3px;
    padding: 10px;
    padding-left: 30px;
    box-sizing: border-box;
    min-width: 100px;
}

.object-tools a:hover, .object-tools li:hover a {
    background-color: #449397;
}


.object-tools a.downloadlinklarge.btn-disabled {
    background: #bab9b9 url("../img/icon_download.2ae9f09c3ee2.png") 10px center no-repeat;
    pointer-events: none;
}
.object-tools a.downloadlinklarge {
    background: #e95f31 url("../img/icon_download.2ae9f09c3ee2.png") 10px center no-repeat;
    cursor: pointer;
}

.object-tools a.addlink, .object-tools input.addlink, label.button-file {
    background: #00aab4 url("../img/icon_add.798c39857f69.png") 10px center no-repeat;
}
label.button-file:active {
    background: #d8d8d8 url("../img/icon_add.798c39857f69.png") 10px center no-repeat;
}

.object-tools a.downloadlink {
    background: #00aab4 url("../img/icon_download.2ae9f09c3ee2.png") 10px center no-repeat;
}

.object-tools a.uploadlink {
    background: #00aab4 url("../img/icon_upload.71d33e3ec45e.png") 10px center no-repeat;
}

.object-tools a.historylink {
    background: #00aab4 url("../img/icon_history.fb9913619577.png") 10px center no-repeat;
}

.object-tools a.listmodelink {
    background: #00aab4 url("../img/icon_listmode.035bedb8196c.png") 10px center no-repeat;
}
.object-tools a.editmodelink {
    background: #00aab4 url("../img/icon_editmode.bb8c07cd2d18.png") 10px center no-repeat;
}

/* OBJECT HISTORY */

table#change-history {
    width: 100%;
}

table#change-history tbody th {
    width: 16em;
}

/* PAGE STRUCTURE */

#container {
    position: relative;
    width: 100%;
    min-width: 1200px;
    padding: 0;
}

#menu-container {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 225px;
    background-color: #51565c;
    box-sizing: border-box;
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.85);
    z-index: 100;
}

#content-container {
    position: absolute;
    top: 0;
    left: 225px;
    right: 0;
    box-sizing: border-box;
}

#content {
    position: relative;
}

#content-main {
    padding:0 20px;
    width: 100%;
    box-sizing:border-box;
}

#content-related {
    float: right;
    width: 18em;
    position: relative;
    margin-right: -19em;
}

#footer {
    clear: both;
    padding: 10px;
}

/* COLUMN TYPES */

.colMS {
    margin-right: 20em !important;
}

.colSM {
    margin-left: 20em !important;
}

.colSM #content-related {
    float: left;
    margin-right: 0;
    margin-left: -19em;
}

.colSM #content-main {
    float: right;
}

.popup .colM {
    width: 95%;
}

.subcol {
    float: left;
    width: 46%;
    margin-right: 15px;
}

.dashboard #content {
    width: 500px;
}

/* HEADER */

#header {
    width: 100%;
    background: white;
    color: #ffc;
    overflow: hidden;
    min-height: 45px;
    box-shadow: 0px 2px 2px -2px rgba(0, 0, 0, 0.85);
    margin-bottom: 2px;
}

#header a:link, #header a:visited {
    color: #666;
}

#header a:hover {
    text-decoration: underline;
}

#branding {
    float: left;
}
#branding h1 {
    padding: 0 10px;
    font-size: 18px;
    margin: 8px 0;
    font-weight: normal;
}

#branding h1, #branding h1 a:link, #branding h1 a:visited {
    color: rgb(0, 110, 181);
}

#branding h2 {
    padding: 0 10px;
    font-size: 12px;
    margin: -8px 0 8px 0;
    font-weight: normal;
    color: rgb(0, 110, 181);
}

#branding a:hover {
    text-decoration: none;
}

#user-tools {
    position: absolute;
    right: 0px;
    top:12px;
    margin-top: -10px;
    padding: 1.2em 10px;
}

#user-tools strong {
    color: #00aab4;
}

#user-tools a{
    color: #000000 !important;
}

/* SIDEBAR */

#content-related h3 {
    font-size: 12px;
    color: #666;
    margin-bottom: 3px;
}

#content-related h4 {
    font-size: 11px;
}

#content-related .module h2 {
    color: #666;
}

/* FILTERS */

.content-filters {
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.filter {
    display: inline-block;
    vertical-align: top;
    min-width: 320px;
    height: 26px;
    padding: 10px;
    border-right: 1px solid #b8b8b8;
}

.filter label {
    font-weight: bold;
    margin-right: 30px;
}

.filter select {
    min-width: 200px;
}

.filter a.button.navigation {
    display: inline-block;
    text-align: center;
    margin-left: 10px;
}

.filter a.button.disabled {
    pointer-events: none;
    cursor: auto;
    color: #dedede !important;
    background: #bab9b9;
    border-color: #aaa;
}

input[type="button"].btn-disabled {
    pointer-events: none;
    cursor: auto;
    color: #ccc !important;
    background: #fdfdfd;
    border-color: #aaa;
}

.info-text {
    color: #838383;
}

/* Jquery datetime */
.ui-datepicker-calendar thead th span  {
    padding: 5px 0;
}

.ui-datepicker select {
    min-width: 100px;
}

/* Google maps cleaner (remove "powered by Google, logo and labels")*/
.pac-container:after {
    background-image: none !important;
    height: 0px;
}

a[href^="http://maps.google.com/maps"]{display:none !important}
a[href^="https://maps.google.com/maps"]{display:none !important}

.gmnoprint a, .gmnoprint span, .gm-style-cc {
    display:none;
}

/* Fix multi select widget, size of chosen list box */
.selector .selector-chosen select {
    height: 247px;
}

.form-row.field-options ul {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.form-row.field-options ul li input[type="checkbox"] {
    margin-right: 8px;
    margin-bottom: 5px;
}

/* For building characteristics/services */
#result_list tbody tr td,
#result_list tbody tr th {
    vertical-align: middle;
}
