.modal-backdrop {
    position: relative!important;
}
    .table-fluid td {
        vertical-align: top;
        word-break: normal;
    }

.modal-backdrop {
    position: relative!important;
}

div#assignment-form {
    max-width: 2000px;
}

.input-group-btn:last-child>.btn, .input-group-btn:last-child>.btn-group {
    z-index: 0;
}


.input-group .form-control {

    z-index: 0;

}


footer {

    display: none;
}
.navbar-inverse .navbar-nav > li > a {
    color: black;
}

body {
    font-family: 'Univers Next Pro Light', sans-serif;
}

.navbar-static-top.navbar-inverse {
    background-color: white;
}



.navbar-inverse .navbar-nav > li > a:focus {
    color: black;
}

label[for="QuickviewControl1745479440885"] {
    display: none;
}

table[data-name='contactsectiontohide'] {
    display: none;
}

.section-landing {
    background: linear-gradient(transparent, transparent), url("https://lejonfastigheter.se/wp/custom/uploads/2024/11/%C2%A9-crelle-_ADS6250-1620x1080.jpg") no-repeat center!important;
    background-size: cover!important;

}


@media only screen and (max-width: 450px) {
    .modal.fade.modal-form.modal-form-details.in .modal-body iframe {
        height: 100vh;
    }

    .crmEntityFormView .cell {
        padding: 0px 20px 0px;
    }

    button.close span {
        font-size: 30px;
    }

    .modal.fade.modal-form.modal-form-details.in .modal-body  {
    padding:0px;
      }

/*
    input,
    textarea,
    select,
    button {
    font-size: 16px!important;  Prevent zoom on mobile devices 
    }*/
}


@media only screen and (max-width: 768px) {   

    .entitylist .table-fluid td:before {

        width: 15rem;

    }



    .modal-dialog {
        width: 100%;
        margin: auto;
    } 
    


    #phone-listMobile {
        display:block!important;
    }

    .row.sectionBlockLayout.text-left {
    display: block !important;
    }
    


    .button-container {
        flex-wrap: wrap;
    }
    


    .main-180{
        width: 100%;
        height:100%;
        padding:0;
        max-width: calc(100% - 0px);
        max-height: calc(100% - 0px);
    }

    .button-container > button {
        width: 221px;
    }

    
    button.ms-Link{
        width: 127px;

    }
    

    h2#modalTitle {
        padding: 20px;
    }

    .formcontrol {
        font-size:12px;
    }

    .input-group .form-control {
        height: auto;
 
    }
    

    button.ms-Button.ms-Button--icon-293 {
        padding: 35px;
        background: black;
    }

    .root-197 {
        max-height: 1000px;
    }

    .root-248 {
        margin: 20px;

        color: white;
        text-align: center;
        border-radius: 8%;
        font-size: 21px;
    }

    .entity-timeline .note .row .content{
        padding-left: 25px;

    }

}

@media (min-width: 992px) {
    .modal-lg {
        max-width: 860px;
    }
}

@media only screen and (min-width: 768px) {   
 /*   .main-180{
        width: 90%;
        height:100%;
 
    }

    .modal-lg {
        width: 100%;
    }

    .modal-dialog {
        width: 98%;
        margin: 30px auto;
    }

*/
}



@media only screen and (min-width: 2000px) {   
    .main-180{
        width: 50%;
 
    }

    .modal-lg {
        width: 56%;
    }
  
     .container {
        margin: auto;
    }



}

/* Base style for .container */
.container {
    width: 100%;
    max-width: 2000px;
    padding: 15px;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .container {
     
    } 
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .container {
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .container {
    }
} 

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
    }

    /* Option 1: Using pixels (e.g., 200px) */
table[data-name="fastigetTab_section_1"]  {
    max-width: 50%;
}

}



/* Ultra large devices (2000px and up) */
@media (min-width: 2000px) {
    .container {
    }




}




@media  (max-width: 768px) {
    .visible-xs-block {
        display: inline-block !important;
        margin-left: 15px;
    } 
} 


.navbar-inverse .navbar-toggle .icon-bar {
    background-color: black!important;
}
.navbar-toggle .icon-bar {
    border: black!important;
}


.navbar-brand {
    padding: 0px 0px 0px 15px !important;
}















div#content-container {
    padding:0px;

}


.button-container {
    display: flex;
    gap: 8px;
    width: 100%;
    margin: 10px;

}

.page-header-custom {
    display: none;
}


.bootstrap-datetimepicker-widget table thead tr:first-child th {
    background-color: #656565;
}

.crmEntityFormView .cell {
    padding: 0px 10px 20px;
}

h2.tab-title {
    font-size: 24px;
    font-weight: 00;
}
a.email-link {
    display: block;
    padding-top: 15px;
    color: #2f5fef;
}
.row.form-custom-actions.buttoncontainerlower {
    z-index: 4;
    align-content: center;
    padding: 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 9;
    background: white;
    height: 60px;
    margin: auto;

}

input#fmca_currentcontactpersonno {
    display: none;
}

input#fmca_currentcontactpersonmail{
    display: none;
}

h2#modalTitle {
    margin: 0;
    display: none;
}



.button-container > button {
    min-width: 110px;
    color: #fff;
    border: none;
    padding: 10px;
    outline: none;
    background: #2f2f2f;
    font-size: 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    letter-spacing: 0.5px;
}

input#UpdateButton {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    width:170px;
    height: 50px;
    border: none;
    outline: none;
    font-size: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

label.field-label {
    color: rgb(36, 36, 36);
    font-weight: 500;
}

.btn-top-form {
    background: #5d86fb;
    color: white!important;
    border-color: #2f5fef;
    border: 1px solid #2f5fef;
}

body {
    font-family: 'Montserrat';


}


.form-loading
{

  animation-name: spin;
  animation-duration: 1500ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear; 
  /* transform: rotate(3deg); */
   /* transform: rotate(0.3rad);/ */
   /* transform: rotate(3grad); */ 
   /* transform: rotate(.03turn);  */
    color: lightgrey
}

@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}






html[dir=ltr] .crmEntityFormView .cell input[type=text], html[dir=ltr] .crmEntityFormView .cell select, html[dir=ltr] .crmEntityFormView .cell textarea {

    background-color: #f5f5f5;
    border-radius: 4px;
    padding-left: 5px;
}

button.ms-Button.ms-Button--icon {
    padding: 29px;
}

.well.profile-info img {
    display: none;
}

input#edp_alternativeemailaddress {
    background-color: #f5f5f5;
    border-radius: 4px;
    padding-left: 5px;
}

.grid-actions {
    border-bottom: none;

}

.xrm-editable-html.xrm-attribute.page-copy {
    display: none;
}


.crmEntityFormView .tab-title {
    margin: 5px;
    padding-bottom: 0px;
}

.btn {
    white-space: normal;
    box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    border: 2 palegoldenrod;
}

.ms-Icon root-89 cs


s-227 ms-Button-icon icon-220 {
    font-size:30px;
}

iframe#modalIframe {
    padding-top: 5px !important;
}


ul.breadcrumb {
    display: none;
}



/* Set iframe height for the "insert" modal 
section.modal.fade.modal-form.modal-form-insert.in .modal-body iframe {
    height: 600px;
    width: 100%;
    border: none;
  }
  */

  .modal.fade.modal-form.modal-form-details.in .modal-body iframe {
    height: 96vh;
    width: 100%;
    border: none;
  }
  



#modalMaterialWait .modal-body {
    height: 200px;
}

#modalSetCompleted .modal-body {
   /*height: 370px;*/
  
}

div#imeooj {
    width: 100%;
}

#modalEjAccept .modal-body {
    height: 200px;
}



textarea.form-control {

    max-height: 190px;
}



input#fmca_leverantorsuppdatering {
    display: none;
}

#fmca_leverantorsuppdatering_label {
    display:none;
}

.container.quickform td {
    padding: 0;
}

.container.quickform td{
    margin:0px;
    }

    #QuickviewControl1732257415070
    #mobilephone {
        display: none;
    }

    #QuickviewControl1732256889424
    #mobilephone {
        display: none;
    }

    a.selected-view.dropdown-toggle {
        background: white;
    }

    .pagination > li > a, .pagination > li > span {
 
        background: white;
    }


.phoneclicknumber {
    color: #007bff; /* Blue color for the link */
    text-decoration: none;
    font-weight: bold;
    font-size:15px;
    display: inline-block;
}
.button-23 { background-color: #FFFFFF; border: 1px solid #222222; border-radius: 8px; box-sizing: border-box; color: #222222; cursor: pointer; display: inline-block; font-family: Circular,-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif; font-size: 16px; font-weight: 600; line-height: 20px; margin: 0; outline: none; padding: 13px 23px; position: relative; text-align: center; text-decoration: none; touch-action: manipulation; transition: box-shadow .2s,-ms-transform .1s,-webkit-transform .1s,transform .1s; user-select: none; -webkit-user-select: none; width: auto; } 

div#ModalFocusTrapZone6 {
    padding: 0px 0px 0px 0px;
}

 .row.sectionBlockLayout.text-left {
    display: block;
}

/* Targeting checkboxes and radio buttons inside the "checkbox" div */
.checkbox input[type="checkbox"],
.checkbox input[type="radio"] {
  appearance: none;
  background-color: #dfe1e4;
  border-radius: 50%; /* Rounded by default, overwritten for checkboxes */
  border-style: none;
  flex-shrink: 0;
  height: 20px;
  width: 30px;
  margin: 0;
  position: relative;
  cursor: pointer;
  transition: all 100ms ease-out;
}

/* Styling for the labels to align content */
.checkbox label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 10px;
}

/* Checkbox-specific styles */
.checkbox input[type="checkbox"] {
  border-radius: 8px; /* Square edges for checkboxes */
}

/* Common styles for the "before" pseudo-element */
.checkbox input[type="checkbox"]::before,
.checkbox input[type="radio"]::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: -6px;
  right: -6px;
  top: -6px;
}

/* Common styles for the "after" pseudo-element */
.checkbox input[type="checkbox"]::after,
.checkbox input[type="radio"]::after {
  content: "";
  position: absolute;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background-color: #fff;
  top: 3px;
  left: 3px;
  transition: all 100ms ease-out;
}

/* Hover effect */
.checkbox input[type="checkbox"]:hover,
.checkbox input[type="radio"]:hover {
  background-color: #c9cbcd;
}

/* Checked state for checkboxes */
.checkbox input[type="checkbox"]:checked {
  background-color: #6e79d6;
}

.checkbox input[type="checkbox"]:checked::after {
  left: 13px; /* Moves the inner circle for checkboxes */
}

/* Checked state for radio buttons */
.checkbox input[type="radio"]:checked {
  background-color: #6e79d6;
}

.checkbox input[type="radio"]:checked::after {
  height: 10px;
  width: 10px;
  top: 5px;
  left: 5px;
  border-radius: 50%;
  background-color: #fff;
}

/* Focus Styles */
.checkbox input[type="checkbox"]:focus,
.checkbox input[type="radio"]:focus {
  outline: none;
}

.checkbox input[type="checkbox"]:checked:hover,
.checkbox input[type="radio"]:checked:hover {
  background-color: #535db3;
}

#phone-listMobile {
    display: none!important;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
}

th, td {
    padding: 12px 15px;
    text-align: left;

}

th {

    color: #fff;
    letter-spacing: 0.05em;
}

#navbar {
    height: 83px!important;
}
div#portalcomments .view-empty.message {
    display: none !important;
}

.entity-form .notes-cell .info {
    display:none;
}
#edp_casestatusid {
    pointer-events: none;  /* Disable user interaction */
    background-color: #e9ecef; /* Optional: visually indicate it's disabled */
    cursor: not-allowed; /* Optional: show a "disabled" cursor */
    
    /* Remove the dropdown arrow */
    -webkit-appearance: none;  /* Remove default dropdown in WebKit browsers (Chrome, Safari) */
    -moz-appearance: none;  /* Remove dropdown in Firefox */
    appearance: none;  /* General appearance reset for modern browsers */
    
    background-image: none;  /* Remove background image (the dropdown arrow) */
    padding-right: 20px; /* Optional: Adjust padding if needed to balance the text */
}



@media only screen and (max-width: 1200px) {
    
    #navbar {
        height: auto!important;
        float: left;
        overflow-x: hidden;
    }
}

@media only screen and (max-width: 768px) {
    .visible-xs-block {
        display: inline-block !important;
    }

}


.navbar-inverse .navbar-toggle {
    margin: 20px;
}


.navbar-right {
    float: right !important;
    margin-right: -15px;
    margin-top: 15px!important;
}

.navbar-inverse .navbar-toggle {

    margin: 20px!important;
}


/* Action Buttons & Links */
.action-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.action-btn:hover {
    opacity: 0.9;
}

.btn-primary {
    background-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-danger {
    background-color: #dc3545;
}

.btn-danger:hover {
    background-color: #b02a37;
}

button#viewPostButton {
    background: darkslategray !important;
}

a {
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    color: rgb(30 149 255);
    font-weight: 500;
    letter-spacing: 0.5px;
}
a:hover {
    color: #0056b3;
}

.pva-embedded-web-chat-widget {
    display:none!important;
 }



.entitylist-filter-option-group-box-overflow {
    max-height: max-content;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #d7d7d7bf;
}

.table-striped>tbody>tr:nth-of-type(even) {
    background-color: #dadada6e;
}


.text-muted {

    display: none;
}
 #phone-listMobile .container {
    padding: 0;
    overflow-x: hidden;

}

input.form-control {
    border: 1px solid #ccc;
    background-color: #f5f5f5;
}

#fmca_newportalcomment {
    display: none;
}

div#mapLocation {
    display: none;
}



/*
.modal-header {
    padding: 15px;
    display: flex;
    align-content: end;
    position: absolute;
    top: 0;
    left: 0px;
    z-index: 2;
    background: lightgrey;
}



button.form-close {
    width: -webkit-fill-available;
    top: 10% !important;
}
*/
.tooltip-inner {
    display: none;
}

.modal.fade.modal-form.modal-form-details.in {
    padding:0;
}

a.add-folder.btn.btn-info.action {
    display: none;
}
.modal-open .modal {
    overflow-x: hidden;
   
}


.modal-content {

    width: 100%;
}

        /* Floating Action Button */
        .fab {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 60px;
            height: 60px;
            background-color: #007bff;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            cursor: pointer;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
            z-index: 1000;
        }

        .fab:hover {
            background-color: #0056b3;
        }

        /* Ensure modal buttons are properly spaced */
        .modal-body .btn {
            display: block;
            width: 100%;
            margin-bottom: 10px;
        }




div#EntityFormControl_EntityFormView {
    margin-top: 30px;
}

button.btn.btn-default.btn-top-form.short-Doc {
    display: none;
}


/*
/* 

/*
/* Button styling */
.savebutton.submit-btn {
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}


.modal-title {
    display:none;
}


html[dir=ltr] .crmEntityFormView .tab .tab-column {
    padding-left:0px!important;
}



@media only screen and (max-width: 450px) {
    .modal.fade.modal-form.modal-form-details.in .modal-body iframe {
        height: 100vh;
    }

    .crmEntityFormView .cell {
        padding: 0px 20px 0px;
    }

    button.close span {
        font-size: 30px;
    }

    .modal.fade.modal-form.modal-form-details.in .modal-body  {
    padding:0px;
      }

/*
    input,
    textarea,
    select,
    button {
    font-size: 16px!important;  Prevent zoom on mobile devices 
    }*/
}

@media only screen and (max-width: 768px) {   

    .crmEntityFormView .cell {
        padding: 0px 5px 13px !important;
    }
    

    .modal-dialog {
        width: 100%;
        margin: auto;
    } 
    

    #phone-listMobile {
        display:block!important;
    }

    .row.sectionBlockLayout.text-left {
    display: block !important;
    }
    


    .button-container {
        flex-wrap: wrap;
    }

        .visible-xs-inline-block
 {
        /* display: inline-block !important; */
        display: inline-flex!important;
        width: 90%;
    }

    .modal-content {

    width: 100%;
}
    
.dropdown-title, .dropdown-menu {
 width: auto;
 min-width: 100%!important;
}

    .main-180{
        width: 100%;
        height:100%;
        padding:0;
        max-width: calc(100% - 0px);
        max-height: calc(100% - 0px);
    }

    .button-container > button {
        width: 221px;
    }

    
    button.ms-Link{
        width: 127px;

    }
    

    h2#modalTitle {
        padding: 20px;
    }

    .formcontrol {
        font-size:12px;
    }

    .input-group .form-control {
        height: auto;
 
    }
    

    button.ms-Button.ms-Button--icon-293 {
        padding: 35px;
        background: black;
    }

    .root-197 {
        max-height: 1000px;
    }

    .root-248 {
        margin: 20px;

        color: white;
        text-align: center;
        border-radius: 8%;
        font-size: 21px;
    }

    .entity-timeline .note .row .content{
        padding-left: 25px;

    }

}

@media (min-width: 992px) {
    .modal-lg {
        max-width: 860px;
    }
}

@media only screen and (min-width: 768px) {   
 /*   .main-180{
        width: 90%;
        height:100%;
 
    }


    .modal-lg {
        width: 100%;
    }

    .modal-dialog {
        width: 98%;
        margin: 30px auto;
    }

*/
.fab {
    display: none;
}
}



@media only screen and (min-width: 2000px) {   
    .main-180{
        width: 50%;
 
    }

    .modal-lg {
        width: 56%;
    }

    .container {
        margin: auto;
       
    }

}




