/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}*/

#headerLoginBtn {
    padding: 10px;
    margin: 10px;
}

header {
    min-height: 74px;
}

.HowDoILook-logo {
    font-size: 24px;
}

#backBtn {
    font-size: 36px;
    color: grey;
    border: 2px solid grey;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    padding-left: 6px;
    padding-top: 5px;
}

    #backBtn:hover {
        color: black;
        border-color: black;
        background-color: ghostwhite;
    }

.active-row {
    min-height: 50px;
    padding: 0px;
    cursor: pointer;
}

    .active-row:hover {
        background-color: #ECECEC;
    }

.rounded-25 {
    /*border-radius: 25px;*/
}

.rounded-50 {
    /*border-radius: 50px;*/
}

/* Kopierat från MinFastighet 2023-01-10. */
/* Använder basic grejer för att få grundstil på UI:t - C.R */
html, body, header, footer, .modal, .modal-fullscreen {
    min-width: 340px;
}

.container {
    padding-left: 10px !important;
    padding-right: 10px !important;
    /*max-width: 992px;*/
}

.custom-border {
    border: 1px solid;
    border-color: #CCC;
    border-radius: 8px;
    border-width: 1px;
}

.main-section {
    padding-top: 50px;
}



.header-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
}

.startpage-section {
    padding-bottom: 20px;
}

#logotypeHsbContainer {
    max-width: 100px;
}

.logotype-hsb {
    text-align: center;
    margin-bottom: 0px;
}

.to-login-btn {
    /*white-space: nowrap !important;*/
}

.pin-login-check {
    color: #fff !important;
    background-color: #4BD794 !important;
}

.back-arrow-symbol {
    font-size: large;
}

.view-switch-icon {
    font-size: 14px !important;
}

.center {
    margin-left: auto;
    margin-right: auto;
}

.flex-wrap {
    width: 100%;
    flex-flow: wrap;
}

.modal-title-main {
    font-size: 24px;
    font-weight: bold;
}

.modal-title-sub {
    font-size: 18px;
    font-weight: 400;
}

.modal-header-item {
    width: 50px;
}

.modal-header-icon {
    float: left;
    font-size: 50px;
    color: grey;
    padding-right: 0px;
    padding-left: 0px;
}

.loading-overlay {
    transition: display 2s;
    z-index: 9999;
    color: #bcbcbc;
    top: 0px;
    left: 0px;
    background: rgba(0,0,0,0.6);
}

    .loading-overlay img {
        width: 30%;
        max-width: 100px;
    }

.box {
    background: #fff;
    border-radius: 4px;
    padding-bottom: 100%;
}

.custom-date {
    border: 1px solid #00ABAB;
    float: left;
    word-break: break-all;
    background-color: #00EFEF;
    padding: 4px 12px 4px 12px;
    align-items: center;
}

.custom-time {
    float: right;
}

.custom-text {
    font-size: large;
}

.hover:hover {
    cursor: pointer !important;
}

.hover-cross:hover {
    color: black !important;
    cursor: pointer !important;
    text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
}

.mouse-pointer-hand {
    cursor: pointer !important;
}

.modal-text-div {
    text-align: center;
}

.user-title-col {
    word-wrap: break-word;
}

.user-col {
    word-wrap: break-word;
}

.user-col-btn {
    display: flex;
    justify-content: right;
    align-items: center;
    padding-right: 10px;
}

.confirm-modal-text,
.sure-delete-text {
    font-size: 20px;
}

.nowrap {
    white-space: nowrap;
}

.mobile {
    display: none;
}

.property-items-content, .basdata-struktur-content {
    margin-top: 20px;
}

/*.address-row,
.basdata-row,
.basdata-struktur-row,
.chat-neighbour-row,
.fastighet-row,
.inquiry-row,
.neighbour-row,
.organization-row,
.parking-row,
.title-row,
.user-row {
    padding-top: 5px;
    padding-bottom: 5px;
    margin: 3px;
}*/

.move-item-upwards {
    font-size: 20px;
}

.move-item-downwards {
    font-size: 20px;
}

.user-row td {
    text-align: center;
    vertical-align: middle;
}

.neighbour-row td {
    text-align: left;
    vertical-align: middle;
}

.neighbour-row, .chat-neighbour-row {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.pointer:hover {
    cursor: pointer;
}

#rolesContainer {
    border: 1px solid;
    border-color: lightgray;
    margin: 0px;
    padding: 0px;
}

#rolesTable {
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.float-right {
    float: right;
}

.button-fa-size {
    font-size: 82px;
}

.navbar-nav {
    text-align: right;
}

/*navbar-collapse.collapse.show .navbar-nav {
    min-height: 76vh;
}*/

.nav-link {
    font-size: 18px !important;
}

.nav-item .btn {
    font-size: 18px !important;
}

.nav-item-smaller-font {
    font-size: 18px !important;
}

.navbar-toggler-div .navbar-toggler {
    /*width: 41px;*/
    font-size: 3em;
}

.header-background {
    background-color: #f1f1f1;
}

.navbar-toggler {
    border: none;
    font-size: 35px;
    padding: 0px !important;
    margin: 0px !important;
}


.vald-fastighet {
    padding: 0;
    margin-bottom: 5px;
    font-size: 12px;
    display: block;
    color: #888888
}

/*.info-header {
    text-align: center !important;
    line-height: 24px;
    font-size: 12px;
}*/

.section-name {
    font-size: 26px;
    font-weight: 700;
}

.active-address {
    padding-left: 10px;
    font-size: 18px;
    font-weight: 500;
    color: darkgray;
}

.secondary-box {
    width: fit-content;
    min-width: 134px;
    border-radius: 15px;
    padding: 4px 4px 0 4px;
}

.primary-box {
    border: none;
    background-color: none !important;
    border-radius: 15px;
    color: black !important;
    font-weight: bolder;
}

.view-header {
    margin-bottom: 15px;
}

.disabled.day {
    background-color: #fff3f3 !important;
    color: #d6d6d6 !important;
}

.old.disabled.day {
    background-color: #f1e4e4 !important;
    color: #d6d6d6 !important;
}

.old {
    background-color: #efefef !important;
    color: #818181 !important;
}

.new {
    background-color: #eff7ff !important;
    color: #000000 !important;
}

.split-backgrounds {
    background-color: #013A6B !important;
    background-image: -webkit-linear-gradient(90deg, #ff9d9d 50%, #ffe8e8 50%) !important;
    color: black !important;
}

.disabled.split-backgrounds {
    background-color: #013A6B !important;
    background-image: -webkit-linear-gradient(90deg, #fdc4c4 50%, #f3e1e1 50%) !important;
    color: black !important;
}

.split-backgrounds-other-months {
    background-color: #013A6B !important;
    background-image: -webkit-linear-gradient(30deg, #ddc4c4 50%, #f3e1e1 50%) !important;
    color: #888888 !important;
}

.old.disabled.day.split-backgrounds-other-months, .new.disabled.day.split-backgrounds-other-months {
    background-color: #013A6B !important;
    background-image: -webkit-linear-gradient(90deg, #ddc4c4 50%, #f3e1e1 50%) !important;
    color: #888888 !important;
}

.booking-busy {
    background-color: #ff9d9d !important;
    color: black !important;
}

.today {
    border: 3px solid grey !important;
}

    .today.booking-busy {
        background-image: none !important;
        background-color: #ff9d9d !important;
        color: black !important;
    }

    .today.split-backgrounds {
        background-color: #013A6B !important;
        background-image: -webkit-linear-gradient(90deg, #ffd14a 50%, #f7ebc8 50%) !important;
        color: black !important;
    }

.disabled.booking-busy {
    background-color: #fdc4c4 !important;
    color: black !important;
}

.booking-busy-other-months {
    background-color: #ddc4c4 !important;
    color: #888888 !important;
}

.old.disabled.day.booking-busy-other-months {
    background-color: #ddc4c4 !important;
    color: #888888 !important;
}

.datepicker table tr td.active {
    color: black !important;
    background-color: white !important;
    background-image: none;
}

.datepicker {
    margin-bottom: 20px !important;
}

label {
    /*    font-size: 1.25rem !important;*/
}

.date-box-month {
    text-align: center;
    font-size: 17px;
    font-weight: bold;
    display: block;
    line-height: 13px;
    color: white;
}

.modal-title {
    width: 100% !important;
    padding-left: 22px !important;
}

.modal-footer {
    justify-content: center !important;
}


    .modal-footer button {
        /*padding: 10px 30px 10px 30px;*/
/*        margin-left: 20px;
        margin-right: 20px;
*/    }

.modal {
    width: 100%;
    height: 100%;
}

.modal-content {
    width: 100%;
    height: 100%;
}

.footer-item i {
    color: white;
}

.footer-item {
    color: #06AC71;
    width: 55px;
    height: 55px;
    border-radius: 15px;
    margin: 1.5%;
}

.footer-home {
    color: white;
    background-color: transparent;
}

.footer-open {
    color: white;
    /*background-color: #7166f9;*/ /*original*/
    background-color: #5e56bf; /* new */
}

.footer-boka {
    color: white;
    /* background-color: #06ac71; */ /*original*/
    background-color: #008354;
}

.footer-neighbours {
    color: white;
    background-color: #df9321;
}

.footer-sos {
    color: white;
    /*background-color: #ff7854;*/ /*original*/
    background-color: #db6849;
}

.footer-pad-help {
    color: white;
    background-color: #5e56bf;
}

#homeIcon {
    padding-top: 10px !important;
    width: 55px !important;
    height: 55px !important;
}

.add-btn {
    margin-bottom: 15px;
}

.basdata {
    padding-top: 15px;
}

.basdata-tab-btn {
    margin-left: 5px;
}

.disabled-tab {
    pointer-events: none;
    opacity: 0.6;
}

.predefined-data-text-div {
    margin-top: 7px;
    margin-bottom: 12px;
}

.add-struktur-btn, #addPropertyItemBtn {
    margin-bottom: 10px;
}

.active-all-fastighet-select-div {
    width: 175px;
}

.active-all-fastighet-select {
    margin-left: 10px;
}

.property-items-title {
    margin-bottom: 20px;
}

.small-description-text {
    font-size: 10px;
}

.disabled-link {
    pointer-events: none;
    cursor: default;
}

.counter-circle {
    z-index: 100;
    top: 2px;
    right: 2px;
    width: 24px;
    height: 24px;
    background-color: white;
    border: 1px solid #c8c8c8 !important;
}

.counter-circle-number {
    z-index: 100;
    vertical-align: top;
    right: -1px;
    position: absolute;
    color: black;
    font-weight: 700;
    width: 24px;
}

.inactive-main-button, .inactive-footer-button {
    /*background-color: #d3d3d3 !important;*/
    /*color: grey !important;*/
    pointer-events: none;
    cursor: default;
}

    .inactive-main-button > * {
        /*background-color: #999999 !important;*/
        color: #d3d3d3 !important;
    }

    .inactive-main-button .counter-circle {
        display: none;
    }

    .inactive-footer-button.footer-links {
        background-color: #b3b3b3 !important;
        color: #d3d3d3 !important;
    }

    .inactive-footer-button.footer-item i {
        color: #EDEDED !important;
    }

.counter-circle-number > .inactive-button {
    display: none;
}

.invisible-button {
    display: none;
}

.mobile-header {
    display: inline;
}

.nav-item {
    text-align: center;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.validation-summary-errors {
    margin-top: 10px;
    background-color: #fddbdb;
    padding: 10px;
    font-size: 20px;
    color: red;
}

.datepicker .datepicker-switch {
    font-size: 25px;
}

.toast-message {
    font-size: 2em;
}

.toast-top-right {
    width: 98% !important;
    right: 0 !important;
    margin-right: 10px !important;
    margin-left: 10px !important;
}

#toast-container > div {
    width: 100% !important;
    border-radius: 12px !important;
    text-align: center !important;
    opacity: 1 !important;
    margin: 8px 0px 10px !important;
}

.toast-title {
    display: none;
}

.card-button-text {
    /*    font-weight: bolder;
*/ /*text-shadow: -1px -1px 0 #f9f9f9, 1px -1px 0 #b7b7b7, -1px 1px 0 #a7a7a7, 1px 1px 0 #8d8d8d;*/
}

.info-header-pad {
    padding-top: 3em !important;
}

.main-header-user-name-name {
    display: block;
    font-weight: bold;
    font-size: 1em;
    line-height: 6px;
}

#bookingIdentifier {
    font-size: 1.2em;
}

.btn {
    /*font-size: 2em !important;*/
}

.modal-dialog {
    max-width: 100%;
}

.btn-info {
    color: #000;
    background-color: #e6e6e6;
    border-color: #b7b7b7;
}

.btn:has(> .start-page-go-to) {
    line-height: 17px;
    font-size: 14px !important;
}

.fa-remove {
    color: red;
    /*border: 1px solid #c8c8c8;*/
    border-radius: 20%;
    height: 1em;
    width: 1em;
    padding: -3px;
}

/*---------------- CHAT START ----------------  */

.user-not-logged-in {
    color: #c8c8c8;
}

.user-logged-in {
    color: green;
}

.user-name-not-logged-in {
    color: #c8c8c8;
    background-color: unset;
}

.user-name-logged-in {
    color: green;
    background-color: #d6ffd3;
}

.chat-message-list-icon {
    background-color: #112b66;
    color: white;
    border-radius: 20px;
    height: 36px;
    width: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-message-list-message-text {
    font-size: 12px;
    /*white-space: nowrap;*/
    overflow: hidden;
    /*text-overflow: ellipsis;*/
}

.chat-message-list-time {
    font-size: 10px;
    color: #a5a5a5;
}

.chat-message-list-chat {
    border: 1px solid #c8c8c8;
    padding: 2px;
    margin: 0px 0 2px 0;
    border-radius: 5px;
    cursor: pointer;
}

    .chat-message-list-chat:hover {
        background-color: #df9321;
        color: white !important;
    }

        .chat-message-list-chat:hover .chat-message-list-time {
            color: white !important;
        }
/*---------------- CHAT END----------------  */


.share-button {
    border: 1px solid #c8c8c8;
    padding: 4px;
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: #6671c5;
    color: white;
}

.share-button-icon {
    margin-left: 5px;
}

.save-button {
    border: 1px solid #c8c8c8;
    padding: 4px;
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: #318940;
    color: white;
}

.save-button-icon {
    margin-left: 5px;
}

.new-photo {
    --s: 10px; /* control the size */
    padding: var(--s);
    border: calc(2*var(--s)) solid #0000;
    outline: 1px solid #000;
    outline-offset: calc(-1*var(--s));
    background: conic-gradient(from 90deg at 1px 1px,#0000 25%,#000 0);
    max-width: 90%;
}

.new-photo-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#loadingOverlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(255,255,255,0.5);
}

.new-img {
    border: solid 2px;
    border-bottom-color: #ffe;
    border-left-color: #eed;
    border-right-color: #eed;
    border-top-color: #ccb;
    max-height: 100%;
    max-width: 100%;
    background: linear-gradient(45deg, #fff690 20%, #ffedbe 40%, #ffd060 50%, #dfab2e 55%, #fad780 70%, #feffa9 100%);
/*    -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
*/    /*    background: linear-gradient(45deg, #fff 20%, #fff 40%, #ECD08C 50%, #ECD08C 55%, #fff 70%, #fff 100%);*/
}

.frame {
    margin-left: auto;
    margin-right: auto;
    max-width: 92%;
    background-color: #ddc;
    border: solid 5vmin #eee;
    border-bottom-color: #fff;
    border-left-color: #eee;
    border-radius: 2px;
    border-right-color: #eee;
    border-top-color: #ddd;
    box-shadow: 0 0 5px 0 rgba(0,0,0,.25) inset, 0 5px 10px 5px rgba(0,0,0,0.55);
    box-sizing: border-box;
    display: inline-block;
    padding: 2vmin;
    position: relative;
    text-align: center;
/*    background: linear-gradient(45deg, #fff690 20%, #ffedbe 40%, #ffd060 50%, #dfab2e 55%, #fad780 70%, #feffa9 100%);
*/    /* height: 80vh; */
    /* margin: 10vh 10vw; */
}


.border {
    position: absolute;
    display: block;
    top: -50%;
    left: -50%;
    z-index: -9;
    display: block;
    height: 200%;
    width: 200%;
    transform: rotate(-45deg);
    overflow: hidden;
    background: linear-gradient(to right, #fff 20%, #fff 40%, #ECD08C 50%, #ECD08C 55%, #fff 70%, #fff 100%);
    background-size: 200% auto;
}


.take-photo-button-container {
    display: flex;
    justify-content: center;
    padding-top: 10px;
    background-color: #f8c1f96b;
    padding-bottom: 10px;
}

.take-snapshot-button {
    background-color: #af0aaa !important;
    border-color: #c8c8c8;
    border-radius: 11px;
}
/*LOADER START*/
.circle {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgb(255 255 255 / 22%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 8px solid #af0aaa;
    border-top: 8px solid #f2f2f2;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.counter {
    font-size: 24px;
    font-weight: bold;
    margin: -10px 0px 0 0;
}
/*LOADER START*/

#videoContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(255,255,255,0.5);
}

#sessionTimer {
    position: absolute !important;
    z-index: 1000 !important;
    background-color: #ffffff6e !important;
    width: 100px !important;
    height: 100px !important;
    top: 0;
    margin-left: 50%;
    transform: translate(-50%, 10%);
}