div#content-container {
    width: 100%;
    overflow-x: hidden; /* Hide horizontal scrollbar */
    padding:0px;

}


.button-container {
    display: flex;
    gap: 8px;
    width: 100%;
    margin: 10px;

}

.bootstrap-datetimepicker-widget table thead tr:first-child th {
    background-color: #656565;
}

.crmEntityFormView .cell {
    padding: 0px 10px 20px;
}

h2.tab-title {
    font-size: 38px;
    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);
}

body {

        font-family: "Helvetica", "Arial", sans-serif;

}


.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);
    }
}



.crmEntityFormView .tab-title {
    padding-left: 25px;
}


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;
}

.crmEntityFormView .tab-title {
    padding-left: 25px;
}

.crmEntityFormView .tab-title {
    padding-left: 25px;
    padding-bottom: 15px;
}

div#content-container {
 
    font-size: 12px;
}

.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 css-227 ms-Button-icon icon-220 {
    font-size:30px;
}

iframe#modalIframe {
    padding-top: 5px !important;
}


.modal-dialog {
    margin: auto!important;
}




/* 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;
    margin-top: 6rem;;
}

#modalSetCompleted .modal-body {
    height: 370px;
    margin-top: 6rem;;
}



#modalEjAccept .modal-body {
    height: 200px;
    margin-top: 6rem;;
}


.mkbcontainer .container {
    margin: auto;
    width: 100%;
}

textarea.form-control {

    max-height: 190px;
}

.view-empty.message {
    background: white;
}


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;
}

.mkbcontainer .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;
    font-size: 15px;
    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;
}
.mkbcontainer #phone-listMobile .container {
    padding: 0;
    overflow-x: hidden;

}

input.form-control {
    border: 1px solid #ccc;
    background-color: #f5f5f5;
}

#fmca_newportalcomment {
    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;
}

.tooltip-inner {
    display: none;
}

.modal.fade.modal-form.modal-form-details.in {
    padding:0;
}


.modal-open .modal {
    overflow-x: hidden;
    overflow-y: hidden;
}



.form-custom-actions {
    margin-bottom: 20px;
    position: fixed;
    top: 0px;
    right: 0px;
    margin: 0;
    z-index: 3;
}

div#EntityFormControl_EntityFormView {
    margin-top: 30px;
}

select#edp_responsibility {
    display: none;
}

#edp_responsibility_label {
    display: none;
}


/* Ensure the button container is always visible at the top */
.form-action-container-right {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1000; /* Ensure it's above other elements */
    padding: 10px; /* Add padding for aesthetics */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Optional: add a shadow for separation */
    text-align: center; /* Center-align the button */
}

/* Button styling */
.savebutton.submit-btn {
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}


.modal-title {
    display:none;
}






@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) {   

    

    .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%;
    }

    .mkbcontainer .container {
        margin: auto;
        width: 80%;
    }

}




