.title-instead-main-menu{
  font-family: "Open Sans", "Trebuchet MS", Tahoma, Arial,sans;
  font-weight: 400;
  font-size: 18px;
  color: #484848;
  margin-left: 15px;
  line-height: 50px;
  text-align: left;
  width: 100%;
}

.add-page-adding-menu{
  position: fixed;
  top: 50px;
  z-index: 1004;
  width: 100%;
}

.add-page-adding-menu .btn.btn-light{
  border-radius: 0;
  line-height: 35px;
  background: #fafafa none;
  font-size: 16px;
  color: #484848;
  width: 100%;
  height: 100%;
  border: 1px solid #d3d9df;
}

.add-page-adding-menu .btn.btn-light:hover{
  background-color: #EBEBEB;
}

.add-page-adding-menu .btn.btn-light.active{
  background-color: #EBEBEB;
  box-shadow: none;
}

.container-add-object{
  padding-top: 70px;
  padding-bottom: 100px;
  color: #484848;
}

.container-add-object.row-dense-top{
  padding-top: 120px;
}

.post-obj-progresss-ok{
  width: 42px;
  height: 42px;
  fill: #218838;
}

.container-add-object a,
.container-add-object .btn{
  font-size: 18px;
}

.container-start-adding{
  position: relative;
  top: 15px;
  font-family: "Open Sans", "Trebuchet MS", Tahoma, Arial,sans;
  font-weight: 400;
  font-size: 16px;
  color: #484848;
  background-image: url("../images/start-property-posting-img-UsBJg-7.jpg");
  background-size: cover;
  border-top: 1px solid #e0e0e0;
  padding-left: 15px;
  min-height: 384px;
}

.container-start-adding ul{
  margin-left: 10px;
  background-color: rgba(255,255,255,0.6);
}

.container-start-adding ul a{
  text-shadow: 0px 0px 15px #fff;
}

.save-exit-button{
  position: fixed;
  right: 15px;
  top: 0;
  height: 50px!important;
  font-size: 18px;
  z-index: 1004;
}

.container-add-object.without-addmenu{
  padding-top: 90px;
}

.container-add-object h2{
  font-weight: 600;
}

.container-add-object input,
.container-add-object select{
  box-shadow: none;
  border-radius: 4px;
  font-size: 18px;
}

.container-add-object select{
  background-color: rgb(246, 246, 250);
}

.container-add-object label{
  font-size: 16px!important;
  margin-bottom: 3px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.container-add-object label.label-between-inputs{
  padding-top: 35px;
}

.container-add-object textarea{
  box-shadow: none;
  font-size: 18px;
}

.container-add-object button{
  height: 40px;
}

.container-add-object .wysihtml5-toolbar .btn-group .btn.btn-default{
  width: auto;
}

.container-add-object .btn-group .btn.btn-default{
  width: 60px;
  background: none;
  font-size: 16px;
  color: #484848;
  box-shadow: none;
}

.container-add-object .btn-group .btn.btn-default:hover{
  background: none!important;
}

.container-add-object .btn-group .btn.btn-default.yes-no-0.active{
  background-color: #e6e6e6!important;
}

.container-add-object .btn-group .btn.btn-default.yes-no-1.active{
  background-color: #5cb85c!important;
  color: #ffffff;
}

.container-add-object input[type="checkbox"]{
  height: 17px;
}

.container-add-object .btn-customize{
  background: #3366bb;
  box-shadow: none;
  border-radius: 3px;
  border: none;
  height: 40px;
}

.container-add-object label{
  font-family: "Open Sans", "Trebuchet MS", Tahoma, Arial,sans;
  color: #484848;
  font-weight: normal;
  font-size: 18px;
}

.container-add-object .required:after {
  content: " *";
  color: red;
}

.container-add-beds{
  padding-top: 15px;
  padding-bottom: 15px;
  border-top: 1px solid #CCCCCC;
  border-bottom: 1px solid #CCCCCC;
}

.container-add-beds .btn-number{
  border-radius: 50% !important;
  width: 35px !important;
  height: 35px !important;
  background: none;
  border-color: #47a447;
}

.container-add-beds .btn-number.minus:before,
.container-add-beds .btn-number.plus:before,
.container-add-beds .btn-number.plus:after{
  content: "";
  position: absolute;
  background-color: #47a447;
  transition: transform 0.25s ease-out;
}

.container-add-beds .btn-number.minus:hover,
.container-add-beds .btn-number.plus:hover,
.container-add-beds .btn-number.plus:hover{
  color: #398439!important;
  border-color: #398439!important;
  background: #ffffff none!important;
}

.container-add-beds .btn-number.minus:before,
.container-add-beds .btn-number.plus:before{
  top: 50%;
  left: 30%;
  width: 45%;
  height: 1px;
}

.container-add-beds .btn-number.plus:after{
  top: 30%;
  left: 50%;
  width: 1px;
  height: 45%;
}

.container-add-beds .input-number{
  border: none;
  font-size: 18px;
  height: auto;
}

.input-group-plus-minus{
  width: 150px;
  margin: 40px auto;
}

.add-form-submit-block{
  position: fixed;
  bottom: 0;
  background-color: #ffffff;
  width: 100%;
}

.add-form-submit-block{
  position: fixed;
  bottom: 0;
  background-color: #ffffff!important;
  width: 100%;
  z-index: 10;
}

.add-form-submit-col{
  box-shadow: 0 -9px 15px -9px rgba(0,0,0,0.09);
  border-top: 2px solid rgba(0,0,0,0.08);
  padding: 25px;
}

.add-form-submit-block .btn-customize-back{
  height: 40px;
  background-color: #ffffff;
  font-size: 18px;
  color: #767676!important;
}

.add-form-submit-block .btn-customize-next{
  height: 40px;
  background-color: #36b;
  font-size: 18px;
  color: #ffffff;
}

.add-form-submit-block .btn-customize-next:hover{
  background: linear-gradient(#addb71,#8b4,#8b4,#8b4) repeat scroll 0 0 transparent;
  color: #fff;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-color: #9cc861 #8b4 #6c9339;
}

#id-of-uploader .btn {
  cursor: pointer;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

#id-of-uploader .btn input {
  top: -10px;
  right: -40px;
  z-index: 2;
  position: absolute;
  cursor: pointer;
  opacity: 0;
  filter: alpha(opacity=0);
  font-size: 50px;
}

.container-add-object .add-obj-content{
  margin-bottom: 100px;
}

.container-add-object .progress{
  height: 10px;
  margin-bottom: 10px;
}

.container-add-object .glyphicon-ok-label{
  max-height: 40px;
}

.edit-complex-units-in-list{
  font-size: 16px;
  height: 100%;
}

.row-obj-list.edit-complex-units-in-list.height-for-alert{
  min-height: 125px;
}

.edit-complex-units-in-list .alert-for-delete-obj .alert-text-for-delete-obj{
  top: 10px;
}

.datepicker{
  border-radius: .5rem !important;
  box-shadow: 0 6px 12px rgba(0,0,0,.175);
  padding: 5px;
}

.bootstrap-datetimepicker-widget td.day {
  height: 25px;
  line-height: 25px;
  width: 25px;
}

@media (max-width: 768px) {
  .container-add-object.row-dense-top,
  .container-add-object{
    padding-top: 60px;
    padding-bottom: 70px;
  }

  .container-add-object label.label-between-inputs{
    padding-top: 0;
  }

  .add-form-submit-col{
    padding: 0;
    border-top: none;
  }

  .add-form-submit-block .btn{
    width: 50%;
    border-radius: 0;
    height: 60px;
  }

  .add-form-submit-block .btn-customize-back{
    height: 60px;
    padding-top: 15px;
    border-top: 1px solid #CCCCCC;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .add-form-submit-block .btn-customize-back:hover{
    background-color: #EBEBEB;
  }

  .add-form-submit-block .btn-customize-next{
    height: 60px;
    padding-top: 15px;
    border-top: 1px solid #CCCCCC;
    background-color: #36b;
    color: #ffffff;
  }

  .add-form-submit-block .btn-customize-next:hover{
    background: linear-gradient(#addb71,#8b4,#8b4,#8b4) repeat scroll 0 0 transparent;
    color: #fff;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #9cc861 #8b4 #6c9339;
  }
}
/* Photo upload previews with rotate buttons (assets/js/images/upload_preview.js) */
.photo-upload-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    max-width: 720px;
    margin: 12px 0 16px;
}
.photo-upload-preview {
    margin: 0;
    min-width: 0;
}
.photo-upload-frame {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: #f1f3f5;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
}
.photo-upload-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .25s ease;
}
.photo-upload-noimage {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
}
.photo-upload-actions {
    position: absolute;
    right: 0;
    bottom: 8px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.photo-upload-rotate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #212529;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
    cursor: pointer;
    transition: background-color .15s, transform .15s;
}
.photo-upload-rotate svg {
    fill: currentColor;
}
.photo-upload-rotate:hover {
    background: #fff;
    transform: scale(1.08);
}
.photo-upload-rotate:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}
.photo-upload-angle {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 1px 7px;
    border-radius: 10px;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    font-size: 12px;
    line-height: 18px;
}
.photo-upload-preview figcaption {
    margin-top: 4px;
    overflow: hidden;
    font-size: 12px;
    color: #6c757d;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.photo-upload-loader {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .55);
    color: #198754;
}
.photo-upload-preview.is-uploading .photo-upload-loader {
    display: flex;
}
.photo-upload-preview.is-uploading .photo-upload-actions,
.photo-upload-preview.is-uploading .photo-upload-angle {
    display: none;
}
.photo-upload-preview.is-rejected .photo-upload-frame {
    background: #fdf1f2;
    box-shadow: inset 0 0 0 1px #f1aeb5;
}
.photo-upload-preview.is-rejected .photo-upload-noimage {
    padding: 8px;
    color: #b02a37;
    font-size: 13px;
    text-align: center;
}

/* Bootstrap 5 checkboxes of the add/edit wizards: the default border (#dee2e6) is barely visible on white */
.container-add-object input.form-check-input{
  width: 1.1rem;
  height: 1.1rem;
  margin-top: .3rem;
  border-color: #8c959f;
}

.container-add-object input.form-check-input:checked{
  border-color: var(--bs-primary);
}

/* labels of the wizards are one line with an ellipsis, which does not work on inline checkbox labels: wrap them */
.container-add-object label.form-check-label{
  white-space: normal;
}

/* description editor (assets/js/forms/rich_text.js) */
.rich-text-editor{
  outline: none;
  overflow-y: auto;
  max-height: 60vh;
}

.rich-text:focus-within{
  border-color: #86b7fe !important;
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

/* map pin of a settlement without streets (js/add_object/coords_picker.js) */
.coords-picker-map {
    height: 320px;
}

/* the map over the whole window (coords_picker.js); above the site menu, below Bootstrap modals */
/* !important: Leaflet sets an inline position: relative on the map */
.coords-picker-map.is-fullscreen {
    position: fixed !important;
    inset: 0;
    z-index: 1045;
    height: auto;
    border: 0 !important;
    border-radius: 0 !important;
}

body.coords-picker-fullscreen-open {
    overflow: hidden;
}

.coords-picker-map .coords-picker-fullscreen {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* base.css gives every svg a grey fill and a 24px size */
.coords-picker-map .coords-picker-fullscreen svg {
    width: 20px;
    height: 20px;
    fill: #333;
}

/* .container-add-object makes every link 18px: keep Leaflet's small credits */
.coords-picker-map .leaflet-control-attribution a {
    font-size: 11px;
}

.coords-picker-pin {
    background: none;
    border: 0;
}

/* base.css gives every svg a grey fill and a 24px size */
.coords-picker-pin svg {
    width: 36px;
    height: 36px;
    fill: #dc3545;
    stroke: #fff;
    stroke-width: 1;
}
