/*
    Created on : 01.sep.2017, 16:04:52
    Author     : tn
*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul {
  margin-left: 20px;
}
#form_birthDate {
  display: inline-block;
}

body {
  padding-bottom: 62px;
}

body > div.grid > div.content {
    padding-top: 16px;
}

.form-help-text {
  color: grey;
  font-size: 14px;
  padding: 5px;
}

.element {
  padding: 0 20px 0 20px;
  margin: 10px 0 10px 0;
}
.split {
  margin: 10px 20px 10px 20px;
  border: 1px solid lightgray;
}
.role {
  margin: 0 20px 0 20px;
  white-space: nowrap;
}
.content-block {
  padding: 0px 20px;
  margin-bottom: 20px;
}
.content-form {
  padding: 20px;
  border-radius: 3px;
}
.block {
  margin: 8px 0 18px 0;
}
button.text-button {
  background: none;
  border: none;
}

.no-margin,
label.no-margin,
.no-margin > * {
  margin: 0;
}
p.para,
div.para {
  margin: 8px 0 24px 0;
}

.content-block .glyphicons {
  color: #666;
}

.content-subcontainer {
    border: 1px solid #aaa;
    border-radius: 5px;
    margin: 0 0 16px 0;
    padding: 16px 0 16px 0;
    background: #f8f8f8;
}
.content-subcontainer:last-of-type {
    margin: 0;
}

.default-btn:hover {
  cursor: pointer;
}
.default-btn.icon {
  border: 0;
  background: none;
  color: #555;
}
.default-btn.icon:hover,
.default-btn.icon:hover .glyphicons {
  color: #000;
}

.category-table {
  width: 100%;
}

/* SINGLE PROPERTY CSS CLASSES */
.left-indent {
  text-indent: 4px;
}
.center {
  text-align: center;
}
.left {
  text-align: left;
}
.right {
  text-align: right;
}
.small-txt {
  font-size: 10px;
}
.normal {
  font-weight: normal;
}

.opaced {
  opacity: 0.7;
}

.my-pricing {
  text-align: right;
}
div.list-search-result {
  padding: 10px 10px;
}

.history-cost-details {
    padding: 5px;
    margin-bottom: 16px;
}
.history-cost-details .category-table td {
    width: 25%;
}

/* RESIZE FONT INSIDE TABLES FOR SMALL SCREENS */
@media screen and (max-width: 860px) {
  .category-table td {
    font-size: 12px;
  }
}
@media screen and (max-width: 640px) {
  .category-table td {
    font-size: 11px;
  }
}

.expired {
  color: #f00;
  font-weight: bold;
  background-color: #fff;
  border: 3px #f00 dashed;
}

/* Alerts from Bootstrap */
.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert-heading {
  color: inherit;
}

.alert-link {
  font-weight: 700;
}

.alert-dismissible {
  padding-right: 4rem;
}

.alert-dismissible .close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.75rem 1.25rem;
  color: inherit;
}

.alert-primary {
  color: #004085;
  background-color: #cce5ff;
  border-color: #b8daff;
}

.alert-primary hr {
  border-top-color: #9fcdff;
}

.alert-primary .alert-link {
  color: #002752;
}

.alert-secondary {
  color: #383d41;
  background-color: #e2e3e5;
  border-color: #d6d8db;
}

.alert-secondary hr {
  border-top-color: #c8cbcf;
}

.alert-secondary .alert-link {
  color: #202326;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-success hr {
  border-top-color: #b1dfbb;
}

.alert-success .alert-link {
  color: #0b2e13;
}

.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.alert-info hr {
  border-top-color: #abdde5;
}

.alert-info .alert-link {
  color: #062c33;
}

.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

.alert-warning hr {
  border-top-color: #ffe8a1;
}

.alert-warning .alert-link {
  color: #533f03;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-danger hr {
  border-top-color: #f1b0b7;
}

.alert-danger .alert-link {
  color: #491217;
}

.alert-light {
  color: #818182;
  background-color: #fefefe;
  border-color: #fdfdfe;
}

.alert-light hr {
  border-top-color: #ececf6;
}

.alert-light .alert-link {
  color: #686868;
}

.alert-dark {
  color: #1b1e21;
  background-color: #d6d8d9;
  border-color: #c6c8ca;
}

.alert-dark hr {
  border-top-color: #b9bbbe;
}

.alert-dark .alert-link {
  color: #040505;
}

body .map-container {
  position: fixed;
  top: 160px;
  bottom: 50px;
  left: 0;
  right: 0;
}

.location-map {
  position: relative;
  height: 480px;
}

.location-map .map-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

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

.pure-form legend {
    color: #666;
    font-size: 1em;
    font-weight: bold;
}
.pure-form legend h3 {
    font-size: 1em;
}
.emphasis {
    font-style: italic;
    font-weight: normal;
}

.alert-dark .alert-link {
    color: #040505;
}

body .map-container {
    position: fixed;
    top: 162px;
    bottom: 36px;
    left: 0;
    right: 0;
}

/* ========================================================================== */
/* Prices */
.hidden-new-price {
    display: none;
}
.period-hidden {
    display: none;
}
#selected-input-group {
    text-transform: uppercase;
}
div.add-price-period-block div.center {
    margin: 10px 0;
}
div.add-price-period-block div.center label {
    margin-left: 10px;
    width: auto;
}
div.add-price-period-block div.center input {
    margin-left: 2px;
}
div.show-old-prices-block {
    position: relative;
    height: 0;
    float: right;
    top: -36px;
}

table.price-table {
    width: 100%;
}
table.price-table td {
    width: 50%;
}
tr.separator>td {
    padding-top: 16px;
}
tr.price-period.separator>td {
    padding-top: 0;
}
tr ~ tr.price-period.separator>td {
    padding-top: 16px;
}
div.price-group {
    margin-bottom: 24px;
}
div.price-group:last-of-type {
    margin-bottom: 0;
}
div.content-subcontainer {
    padding: 8px 16px 8px 16px;
}
div.content-subcontainer fieldset legend {
    font-weight: bold;
    position: relative;
}
div.content-subcontainer fieldset legend span {
    font-weight: normal;
    font-style: italic;
}
div.content-subcontainer fieldset legend button span {
    font-style: normal;
}
div.content-subcontainer fieldset legend button span.glyphicons:before  {
    padding: 0;
    position: absolute;
    right: 0;
}
.price-group div.content-subcontainer:not(.old-price) {
    display: block;
    margin: 0;
}
.price-group div.content-subcontainer.old-price {
    background: #fff;
    color: #999;
    display: none;
    margin: 0;
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.price-group div.content-subcontainer.old-price legend {
    color: #999;
}
.price-group div.content-subcontainer.old-price:last-of-type {
    margin: 0;
    border-top: 0;
}

.user-list td {
    border-bottom: none;
    border-top: 1px solid #cbcbcb;
}
.user-list .incomplete td:nth-child(1),
.user-list .incomplete td:nth-child(2) {
    color: #bbb;
}
.user-list .user-list-location-row td {
    border-top: none;
    padding: 0px 16px 6px 16px;
}
