/*!
    * Style css for Safran's portal
    */

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap');


:root {
    --main-color-black: #000;
    --main-color-white: #fff;
    --main-color-background: #fff;
    --primary-grey: #1B1D27;
    --gradient-body-start: #112753;
    --gradient-body-end: #070E1D;
    --gradient-button-prmy-start: #1162A8;
    --gradient-button-prmy-end: #3885CA;
    --secondary-lightgrey: #D6DAE6;
    --primary-blue: #255B8E;
    --main-color-navbar: #1B1D27;
    --main-color-footerbar: #1B1D27;
    --secondary-color-navbar: #070E1D;
    --separator-grey-navbar: #515567;
    --main-color-smartbar: #02143A;
    --secondary-color-smartbar: #112753;
    --main-color-title: #525668;
    --main-color-footer: #BCBFCF;
    --main-color-AOG: #EFF8FF;
    --color-border-strong: #3B3E4D;
    --color-border-default: #e0e0e0;
    --color-text-subtle: #A1A5B9;
    --color-text-primary: #1B1D27;
    --color-background-knockout-brand: #f0f4f8;
    --color-utility-green: #4CAF50;
    --typography-font-size-20: 20px;
    --typography-font-size-13: 13px;
    --typography-font-size-15: 15px;
    --typography-label-caps-font-family: var(--typography-label-caps-font-family, Barlow);
    --typography-label-caps-font-size: var(--typography-label-caps-font-size, 14px);
    --typography-label-caps-line-height: 1.5;
    --typography-label-caps-letter-spacing: 0.5px;
}

body {
    margin: 0;
    padding: 0;
    background: var(--main-color-background);
    font-family: var(--typography-label-caps-font-family, Barlow);
    font-size: var(--typography-label-caps-font-size, 15px);
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* --- General --- */

@keyframes spinner {
    0% {
        transform: translate3d(-50%, -50%, 0) rotate(0deg);
    }

    100% {
        transform: translate3d(-50%, -50%, 0) rotate(360deg);
    }
}

.loader {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgb(27 27 27 / 70%);
    z-index: 9999;
}

.loader::after {
    animation: 1.5s linear infinite spinner;
    animation-play-state: inherit;
    border: solid 10px #cfd0d1;
    border-bottom-color: #1c87c9;
    border-radius: 50%;
    content: "";
    height: 90px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: 90px;
    will-change: transform;
}

.bt {
    display: block;
    text-align: center;
    text-transform: capitalize;
    padding: 1.1rem;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.bt-primary,
.bt-primary:focus,
.btn-entitylist-filter-submit {
    color: var(--main-color-white) !important;
    background: linear-gradient(0deg, var(--gradient-button-prmy-start) 0%, var(--gradient-button-prmy-end) 100%);
}

.bt-primary:hover:enabled,
a.bt-primary:hover,
.btn-entitylist-filter-submit:hover {
    color: var(--main-color-white) !important;
    text-decoration: none !important;
    background: linear-gradient(180deg, var(--gradient-body-start) 0%, var(--gradient-button-prmy-end) 100%) !important;
}

.bt-secondary,
.btn-clear {
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
}

.bt-secondary:hover:enabled,
a.bt-secondary:hover,
.btn-clear:hover {
    color: var(--main-color-white);
    text-decoration: none;
    background: var(--primary-blue);
}

.bt-full {
    width: 100%;
}

.bt-mg {
    margin: 2rem 0;
}

.bt-square {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
    background: linear-gradient(0deg, var(--gradient-button-prmy-start) 0%, var(--gradient-button-prmy-end) 100%);
}

button.btn-entitylist-filter-submit {
    color: white !important;
    margin-left: 5px;
}

@media screen and (min-width: 992px) {
    .bt-addcomment {
        float: right;
    }
}

@media screen and (max-width: 992px) {
    .bt-addcomment {
        margin: 0 0 2rem 0 !important;
        width: 100%;
    }
}

.bt-square:hover {
    background: linear-gradient(0deg, var(--main-color-smartbar) 0%, var(--gradient-button-prmy-end) 100%);
}

.bt-square i {
    margin-top: 5px;
}

.crmEntityFormView .btn-group.entity-action-button:not(:last-child) {
    margin-right: 1rem;
}

.logo {
    height: 60px;
}

.smartlink {
    display: block;
    margin: 1rem 0;
    font-size: 0.8em;
}

.separator-right {
    height: 12.25em;
    border-right: 1px solid lightgray;
}

.separator-right p {
    margin: 17px 0px 0px;
}

.mt-2 {
    margin-top: 2rem !important;
}

.mt-4 {
    margin-top: 4rem !important;
}

.mb-2 {
    margin-bottom: 2rem !important;
}

@media screen and (max-width: 992px) {
    .separator-right {
        border: none;
    }
}

img {
    -webkit-backface-visibility: hidden;
    -ms-transform: translateZ(0);
    /* IE 9 */
    -webkit-transform: translateZ(0);
    /* Chrome, Safari, Opera */
    transform: translateZ(0);
}

a {
    cursor: pointer;
    color: var(--primary-blue);
    text-decoration: underline;
}

.table thead th a {
  text-decoration: none !important;
}



a:hover,
a:active {
    text-decoration: underline;
    color: var(--primary-blue);
}

a:focus {
    text-decoration: none;
}

h2 {
    color: var(--main-color-title);
    font-size: 1.1em;
    text-transform: uppercase;
}

a.bt.disabled {
    pointer-events: none;
}

.bt.disabled,
.bt[disabled] {
    cursor: not-allowed !important;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: .65;
}

@media (min-width: 1200px) {
    .container {
        width: 90vw;
    }
}


@media (min-width: 1200px) {
    .containercrumbs {
        width: 85vw;
    }
}

@media (min-width: 1200px) {
    .container-activities {
        width: 94vw;
        padding-left: 60px; /* Align with Title Welcome */
    }
}



#successAlert {
    display: none;
}

.unselectable {
    cursor: not-allowed;
    pointer-events: none;
}

*:focus {
    outline: none !important;
}

.panel-filters {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.bt-filters {
    margin: 0 0 10px 5px;
}

.filters-label {
    font-size: 1em;
}

.pagination-creation {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
}

.saf-page-header h1 {
    font-size: 1.8em;
}

.returnback {
    color: var(--secondary-color-smartbar);
    text-transform: uppercase;
    font-size: 0.9em;
}

.returnback span {
    margin-right: 10px;
}

fieldset[aria-label="HiddenSection"] {
    display: none;
}

div[data-name="tab_address"] fieldset .info {
    display: none;
}

div[data-name="tab_address"] fieldset table tbody tr td:first-child {
    padding: 0 28px;
}


td.clearfix.cell:empty {
    display: none;
}


.grid-actions,
.entitylist,
.crmEntityFormView {
    border: none !important;
    /*border-width: 0px 1px 1px 1px;
    border-style: solid;
    border-color: #BCBFCF (--color-border-subtle, #BCBFCF);
    background-color: #F9FAFC;*/
}

.crmEntityFormView fieldset {
    margin-bottom: 0px !important;
}


.lineHeader{
    width: 1360;
    height: 68;
    padding-top: 24px;
    padding-right: 32px;
    padding-bottom: 24px;
    padding-left: 32px;
    opacity: 1;
    border-width: 1px;
}

/* #region --- Header */
.navbar {
    margin-bottom: 0;
    border: none !important;
}

.navbar-container {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: stretch;
    padding: 0 20px 0 32px;
    margin: 0;
    border-bottom: 1px solid var(--color-border-strong);
    background-color: var(--main-color-navbar);
}

.navbar-bloc {
    display: flex;
    align-items: center;
    transition: 0.3s;
    border-right: 1px solid var(--color-border-strong);
}
.navbar-bloc a {
    display: flex;
    align-items: center;
    color: white;
    gap: 8px;
    text-decoration: none;
    font-family: var(--typography-label-caps-font-family);
    font-size: var(--typography-font-size-13);
    line-height: 1;
    letter-spacing: 0;
}

.navbar-bloc a:hover,
.navbar-bloc a:focus {
    color: var(--main-color-white);
}


.navbar-bloc:not(.navbar-bloc-logo):hover {
    background-color: var(--primary-blue);
}

.navbar-bloc:last-child {
    border-right: none;
}

.navbar-bloc:first-child {
    border-left: none;
}

/* BLOC 1: LOGO - Se réduit dynamiquement */
.navbar-bloc-logo {
    gap: 12px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.navbar-bloc-logo .navbar-logo {
    margin: 0;
}

.navbar-bloc-logo .logo {
    height: 60px;
    object-fit: contain;
}

.navbar-bloc-logo .label-semi-bold {
    margin: 0;
    color: var(--color-text-subtle);
    font-family: var(--typography-label-caps-font-family);
    font-size: var(--typography-font-size-13);
    font-style: normal;
    line-height: normal;
}

/* BLOC 2: DOCUMENTATION - Prend juste son espace */
.navbar-bloc-doc {
    justify-content: center;
    flex: 0 0 auto;
}

.navbar-bloc-doc a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 12px 0;
    font-family: var(--typography-label-caps-font-family);
    font-size: var(--typography-font-size-13);
    line-height: 1;
    letter-spacing: 0;
}

.navbar-icon-doc {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("/web-files/icon-doc.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.navbar-text {
    white-space: nowrap;
}

/* BLOC 3: HELP CENTER - Prend juste son espace */
.navbar-bloc-help {
    justify-content: center;
    flex: 0 0 auto;
}

.navbar-icon {
    margin-left: 15px;
}

.navbar-icon-help {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
}

/* BLOC 4: NOTIFICATIONS - Prend juste son espace */
.navbar-bloc-notifications {
    justify-content: center;
    flex: 0 0 auto;
}

.navbar-bloc-notifications a {
    display: flex;
    align-items: center;
    padding: 12px 0;
    text-decoration: none;
}

.navbar-icon-notifications {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("/web-files/icon-notifications.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.navbar-bloc-notifications a:hover .navbar-icon-notifications {
    filter: brightness(0.7);
}

/* BLOC 5: USER - Prend juste son espace */
.navbar-bloc-user {
    padding: 0 15px;
    border-right: none;
    flex: 0 0 auto;
}

.navbar-bloc-user .links-smartbar {
    background: transparent !important;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar-bloc-user .dropdown {
    display: flex;
    align-items: center;
}

.navbar-icon {
    display: inline-block;
    background-image: url("../user-icon.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 18px;
    height: 18px;
}

.navbar-user {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 12px 0 !important;
    margin: 0 !important;
}

#navbar .dropdown.open > a,
#navbar .dropdown.open > a:hover,
#navbar .dropdown.open > a:focus {
  background-color: transparent;
  border-color: transparent;
}

#navbar .dropdown-menu {
  background-color: var(--main-color-navbar);
}

#navbar .dropdown-menu>li>a {
  color: var(--main-color-white);
  padding: 18px;
  border-bottom:  1px solid var(--color-border-strong);
}

#navbar .dropdown-menu>li>a:hover,
#navbar .dropdown-menu>li>a:focus {
    background-color: var(--primary-blue);
}

#navbar .navbar-bloc:has(ul:hover) {
  background-color: transparent;
}



/* Aligne le menu à gauche du parent et neutralise un éventuel alignement à droite */
#navbar .navbar-bloc-notifications li.dropdown .dropdown-menu {
    left: 0;          /* ancre à gauche */
    right: auto;      /* annule l’ancrage à droite */
    top: 100%;        /* sous le bouton */
    transform: none;  /* annule un éventuel translate appliqué par Bootstrap/JS */
    padding: 0;
    margin: 0;
    border-spacing: 0;
}


/* .username {
    font-size: var(--typography-font-size-13);
    font-weight: 600;
    font-family: var(--typography-label-caps-font-family);
    color: var(--main-color-smartbar);
    line-height: 1;
    letter-spacing: 0;
} */

.username-dot {
    display: inline-block;
    background-color: var(--color-utility-green);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.caret {
    border-top: 4px dashed;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

/* RESPONSIVE NAVBAR */
@media screen and (max-width: 1200px) {
    .navbar-bloc {
        padding: 0 12px;
    }

    .navbar-bloc-doc .navbar-text,
    .navbar-bloc-help .navbar-text {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .navbar-container {
        flex-wrap: wrap;
    }

    .navbar-bloc-doc,
    .navbar-bloc-help {
        display: none;
    }
}

.hamburger__menu {
    margin-right: 20px;
    padding-top: 19px;
    padding-bottom: 19px;
}

#menu__toggle {
    opacity: 0;
}

#menu__toggle:checked+.menu__btn>span {
    transform: rotate(45deg);
}

#menu__toggle:checked+.menu__btn>span::before {
    top: 0;
    transform: rotate(0deg);
    opacity: 0;
}

#menu__toggle:checked+.menu__btn>span::after {
    top: 0;
    transform: rotate(90deg);
}

#menu__toggle:checked~.menu__box {
    right: 0 !important;
    transform: translateX(0);
}

.navbar-nav>li>a {
    transition-duration: 0.3s;
}

.menu__btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 26px;
    cursor: pointer;
    padding: 12px 0;
    z-index: 6;
}

.menu__btn>span,
.menu__btn>span::before,
.menu__btn>span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: white;
    transition: 0.5s;
}

iframe#document>html>body {
    background-color: white !important;
    background-image: none !important;
}

.menu__btn>span::before {
    content: "";
    top: -8px;
}

.menu__btn>span::after {
    content: "";
    top: 8px;
}

.menu__box {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    transition: transform 0.5s ease;
    width: 17em;
    height: fit-content;
    margin: 0;
    padding: 6rem 15px 15px;
    list-style: none;
    background-color: var(--secondary-color-navbar);
    box-shadow: -2px 2px 6px rgba(0, 0, 0, 0.4);
    z-index: 5;
    overflow-y: auto;
}

.menu__item {
    display: block;
    padding: 12px 8px;
    color: var(--color-text-primary);
    font-size: 1.8rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2.8px;
    border-top: 1px solid var(--color-border-brand);
    transition-duration: 0.3s;
}

.menu__item::first-child() {
    border-top: none;
}

.menu__item:hover {
    background-color: var(--color-background-knockout-brand);
    text-decoration: none;
    color: var(--color-text-primary);
}

.tempbkg {
    background: rgb(195, 195, 195);
    background: linear-gradient(90deg, #2F454D 10%, rgba(18, 42, 52, 0) 100%);
}

.links-smartbar {
    background: transparent !important;
    z-index: 5;
}

.navbar-toggle-saf {
    margin: 0 10px;
    padding: 0%;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 0;
    height: 100%;
}

.navbar-toggle-saf .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background-color: var(--main-color-white);
    margin-bottom: 5px;
}

.icon-burger {
    width: 24px;
    height: 24px;
}

#menuToggle {
    display: block;
    position: relative;
    top: 50px;
    left: 50px;

    z-index: 1;

    -webkit-user-select: none;
    user-select: none;
}

#menuToggle a {
    text-decoration: none;
    color: #232323;

    transition: color 0.3s ease;
}

#menuToggle a:hover {
    color: tomato;
}

#menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;

    cursor: pointer;

    opacity: 0;
    z-index: 2;

    -webkit-touch-callout: none;
}

/* --- Breadcrumb --- */

.breadcrumb {
    display: none;
}

.body-breadcrumb {
    background: var(--main-color-navbar);
}

/* BREADCRUMBS + BUTTONS WRAPPER */
.breadcrumb-buttons-wrapper {
    display: flex;
    flex-direction: column;
    background: var(--main-color-navbar);
    border-bottom: 1px solid var(--color-border-strong);
}

.breadcrumb-section {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    padding-left: 1%;
    padding-right: 1%;
    padding-bottom: 10px;
    padding-top: 10px;
    justify-content: space-between;
    gap: 0px;
}

.buttons-section {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
    justify-content: flex-end;
    background: var(--main-color-navbar);
}




.btn-after-breadcrumbs:active,
.btn-after-breadcrumbs:focus {
    color: var(--main-color-white);
}

.btn-after-breadcrumbs {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--main-color-white);
    background: transparent;
    color: var(--main-color-white);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-after-breadcrumbs:hover {
    background: var(--primary-blue);
    border: 1px solid transparent;
    color: var(--main-color-white);
    text-decoration: none;
}

.sfbreadcrumb {
    /* Override Bootstrap */
    display: flex;
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    background-color: transparent !important;
    color: var(--main-color-black);
    /* flex-wrap: nowrap;*/
    gap: 0;
}

.sfbreadcrumb>li {
    display: flex;
    align-items: center;
    padding-right: 18px;
    padding-left: 18px;

    /* Typography du menu */
    font-family: var(--typography-label-caps-font-family);
    font-size: var(--typography-label-caps-font-size);
    line-height: var(--typography-label-caps-line-height);
    letter-spacing: var(--typography-label-caps-letter-spacing);
    text-transform: uppercase;

    
}


.sfbreadcrumb li:hover {
  border-bottom: 1px solid var(--primary-blue); /* Couleur au hover (exemple : bleu Safran) */
  
}


.sfbreadcrumb>li a {
    /* Override Bootstrap*/
    color: var(--main-color-white);
    text-decoration: none;
    padding: 12px 0;
    display: block;
}

.sfbreadcrumb>.active {
    color: var(--main-color-white);
    padding: 12px 18px;
}

.sfbreadcrumb>li+li:before {
    /* Override Bootstrap*/
    display: none;
}

/* --- Alerts --- */

.alert-body {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.alert-icon {
    font-size: 2.5rem;
    margin: 0 2rem 4px 2rem;
}

.alert-body button {
    margin-left: auto;
}

.alert-maintenance {
    display: none;
    margin-bottom: 0 !important;
    border-bottom: 1px solid #efe0c3 !important;
}

div.message.success {
    /* Override Bootstrap*/
    padding: 9px 14px 9px 14px !important;
}

/* --- Connection --- */

.connect-block {
    margin: 2rem 0rem 13rem 0rem;
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #fff;
    /* Couleur de fond de la partie droite */
}

.left-content {
    flex: 1;
    /* Partie gauche prendra autant d'espace que possible */
    padding: 0rem 1rem 0rem 2rem;
}

.center-separator {
    width: 0.05em;
    background-color: lightgrey;
}

.right-content {
    flex: 1;
    /* Partie droite prendra autant d'espace que possible */
    padding: 0rem 0rem 0rem 2rem;
}

.span-container .pull-right {
    margin-right: 2rem;
}

@media screen and (max-width: 732px) {
    .span-container {
        display: flex;
        flex-direction: row;
    }
}

/* --- Block --- */

.body-block {
    background: var(--main-color-white);
    /*box-shadow: 0px 6px 20px rgba(7, 14, 29, 0.08);*/
    /*margin-top: 2%;*/
    /*padding: 1rem;*/
}

.page-heading {
    position: relative;
}

@media screen and (max-width: 770px) {
    .body-block {
        margin: 2rem 1rem;
    }
}

.body-block h1 {
    text-align: center;
    color: var(--main-color-navbar);
}

/* --- Section --- */

.search-section {
    background: var(--main-color-white);
    box-shadow: 0px 4px 8px rgba(1, 22, 62, 0.14);
    padding: 2% 0;
}

.search-section .input-group {
    width: 50%;
    margin: auto;
}

.search-section button {
    background: linear-gradient(270deg, var(--gradient-button-prmy-end) 0%, var(--gradient-button-prmy-start) 100%);
    border: 1px solid var(--gradient-button-prmy-end);
}

.search-section .input-group-addon:not(:first-child):not(:last-child),
.input-group-btn:not(:first-child):not(:last-child),
.input-group .form-control:not(:first-child):not(:last-child) {
    border: 1px solid var(--gradient-button-prmy-end);
}

.white-section {
    background-color: var(--main-color-white);
}

.portal-section {
    /*margin: 2rem 0;*/
}

.portal-section h2 {
    color: var(--main-color-title);
    font-size: 1.1em;
    text-transform: uppercase;
}

.portal-section .col-md-3 {
  flex: 0 0 auto;          
  width: 200px;            
}

.portal-section .row {
  height: 110px;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;              
}

@media (max-width: 992px) {
  .portal-section .row {
    flex-wrap: wrap;
  }
}

/* --- flex --- */

.flex {
    display: flex;
}

.justify-spacearound {
    justify-content: space-around;
}

.section-title {
  font-size: 32px;        
  font-weight: 400;      
  color: #1B1D27;            
  line-height: 36px;
}

.section-header {
  padding-top: 2rem;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.section-icon {
  width: 36px;
  height: 36px;
  min-width: 20px;     
  min-height: 20px;
  background-image: url("/time-clock-circle.png");
  background-repeat: no-repeat;
  background-size: 36px 36px;
  background-position: center;
  display: flex;
}


/* ==================== CARDS STYLES ==================== */

/* --- Card Base Styles --- */
.card {
    background: var(--main-color-white);
    border: 1px solid #d6ddeb;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    margin-bottom: 3rem;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 80px;
}

/* --- Card Body --- */
.card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 3%;
}

/* --- Card Activity --- */
.card-activity {
  display: flex;
  flex-direction: column;
  padding: 16px;
  height: 110px;
  text-decoration: none;
  color: #000;
}

/* --- Card Top --- */
.card-top {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

/* --- Card KPI Styles --- */
.card-KPI {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 16px;
    padding-top: 10px;
    height: 80px; 
    box-shadow: 0px 4px 4px 0px #00000040;
}

.kpi-section-label {
    font-family: typography/font-family-primary;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    vertical-align: middle;
    padding-left: 10px;
    padding-bottom: 10px;
}


.card-icon,
.card-KPIValue {
    top: 16px;
    line-height: 1;
}

.card-KPIValue {
    position: absolute;
    right: 16px;
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-blue);
}

.card-KPILabel {
    margin-top: auto;
    /*font-size: 14px;*/
    font-weight: 400;
    color: var(--main-color-black);
    font-family: typography/label caps/font-family;
    font-style: Regular;
    font-size: typography/label-sm/font-size;
    line-height: typography/label-sm/line-height;
    letter-spacing: typography/label-sm/letter-spacing;
    vertical-align: bottom;

}


/* --- Card Footer --- */
.card-footer {
    margin: 5px;
    margin-top: auto;
}

/* --- Card Image --- */
.card img {
    width: 100%;
    height: 250px;
    object-position: center;
    object-fit: cover;
}

/* --- Card Icons --- */
.card-icon {
    font-size: 22px;
    color: #000;
}

/* --- Card Text --- */
.card-text {
    word-break: break-all;
}

/* --- Card Titles --- */
.card h3 {
    color: var(--main-color-smartbar);
    margin: 0.3em 0;
}

.card h4 {
    color: var(--main-color-black);
    font-size: 1em;
    margin: 0.2px;
}

/* --- Card Links --- */
a.card-body.card-KPI,
a.card-link {
    text-decoration: none;
    color: var(--separator-grey-navbar);
}
a.card-link:hover,
a.card-link:focus {
    outline: 5px solid var(--primary-blue);
}

a.card-body.card-KPI:hover,
a.card-body.card-KPI:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: -2px;
}

/* --- Card Layout Horizontal (pour activities) --- */
a.card-body.card-horizontal {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0;
    padding: 1rem;
}

a.card-body.card-horizontal .card-icon {
    font-size: 1.5rem;
    padding: 0;
    order: 1;
    flex: 0 0 auto;
}

a.card-body.card-horizontal .card-value,
a.card-body.card-horizontal .card-KPIValue {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    order: 2;
    margin-left: auto;
    padding: 0;
}

a.card-body.card-horizontal .card-label,
a.card-body.card-horizontal .card-KPILabel {
    font-size: 0.85rem;
    font-weight: 400;
    text-align: left;
    order: 3;
    flex: 1 1 100%;
    margin-top: 0.5rem;
}

/* --- Card value --- */
.card-value {
  font-size: 20px;
  font-weight: 600;
  margin-left: auto;
}

.card-label {
  font-size: 11px;
  color: #333;
  margin-top: auto;
}


/* --- Card KPI Selected State --- */
.card-KPI-selected {
    outline: 2px solid var(--primary-blue) !important;
    outline-offset: -2px;
}

/* ==================== ACTION BUTTON NUMBER (Badge) ==================== */

.actionButtonNbr {
    font-family: 'Barlow', sans-serif;
    font-size: 0.86em;
    background-color: #ff5252;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 25px;
    right: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 !important;
}

.actionButtonNbr span {
    position: relative;
    top: -2px;
}

/* --- Footer --- */

footer {
    margin-top: auto;
}

.footer-container .accordion-toggle,
.footer-container .accordion-toggle:hover,
.footer-container .accordion-toggle:focus {
    color: var(--main-color-white);
    text-decoration: none;
    font-size: 0.9em;
}

.footer-container .accordion-toggle[aria-expanded=false] .fa-chevron-up,
.footer-container .accordion-toggle[aria-expanded=true] .fa-chevron-down {
    display: none;
}

.footer-container .accordion-toggle .fa {
    font-size: 0.8em;
    margin-left: 4px;
}

/*Credits*/
.credits-footer {
    color: var(--main-color-white) !important;
    background-color: var(--main-color-footerbar);
    border: none;
    padding: 0;
    padding-left: 84px;
}


.credits-footer a {
    color: var(--main-color-white) !important;
    font-size: 15px !important;
    line-height: 18px;
}

.credits-footer>.container {
    width: 100% !important;
    padding: 0;
}

#collapseCredits {
    padding-bottom: 0;
    margin-block-start: 5px;
    margin-block-end: 0 !important;
    left: 50px;
    width: 130px;
}

#collapseCredits p {
    width: 300px;
    font-size: smaller;
    margin-bottom: 20px;
    margin-top: 20px;
    font-family: 'Barlow', sans-serif;
}

.body-socialmedias 
{
    height: 60px;
    border-bottom: 1px solid var(--color-border-strong);
    background-color: var(--main-color-footerbar);
}

.hidden-print{
    height: 56px;
    margin: 0;
}

.followus-footer{
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 2rem;
    font-size: 0.8em;
}

.followus-footer div:not(:first-child) {
    margin-left: 3rem;
}

.followus-icon>a {
    color: var(--color-text-subtle);
}

.followus-icon {
    width: 18px;
    height: 18px;
    display: flex;
}

.followus-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.footer-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 20px;
    border-top: 1px solid var(--color-border-strong);
    background-color: var(--main-color-footerbar);
    gap: 0;
}

.footer-content {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: auto;
    min-width: 1024px;
    padding-left: 48px;
    padding-right: 48px;
}

.div-footer {
    align-self: center;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo .logo {
    height: 60px;
    object-fit: contain;
}

.footer-links {
    display: flex;
    align-items: center;
    flex: 1;
}

.links-footer {
    display: flex;
    flex-direction: row;
    flex: 1;
    justify-content: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.links-footer li {
    padding: 0;
    list-style: none;
}

.links-footer li a {
    font-size: 0.76em;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.04rem;
    color: var(--main-color-footer);
}

/* --- Boostrap override --- */

.navbar-right {
    padding-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Barlow', sans-serif !important;
}

h1 {
    color: var(--main-color-black) !important;
}

.icon-user {
    padding: 5px;
}

li a {
    margin-left: 0px;
}

.footer .footer-bottom ul li a,
footer .footer-bottom ul li a:hover,
footer .footer-bottom ul li a:focus,
footer .footer-bottom ul li a:active,
footer .footer-bottom ul li a.active {
    color: var(--main-color-footer);
    font-size: 0.7em;
}

.glyphicon {
    top: 2px;
}

.sectionBlockLayout {
    padding: 0 !important;
}


/* Header avec background avion */
.page-header {
  height:  127px;
  width: 100vw;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 24px;
  background-image:linear-gradient(
      90deg,
      rgba(243,247,252,0.65) 0%,
      rgba(230,239,248,0.65) 100%
    ),url("https://conect-sca-portal-d.powerappsportals.com/bg-plane.jpg"); 
  background-size: cover;
  background-position: center center;
  font-size: 56px;
  font-weight: 400;
  color: #112753;
  margin: 0;
  left: 50%;
  transform: translateX(-50%);
}

.page-header>h1>div>div {
    padding-left: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-heading {
    padding-top: 0 !important;
}

.navbar-toggle {
    background-color: transparent !important;
    margin-top: 14px !important;
}

.navbar-toggle .icon-bar {
    background-color: var(--main-color-white);
}

.navbar-toggle .icon-bar {
    border: none !important;
}

button.btn.btn-default.btn-xs.aria-exp {
    padding: 0.4rem 0.6rem;
    background-color: transparent !important;
    border: 1px solid var(--primary-blue);
    font-size: 0.9rem;
}

.section-landing-search {
    background: none !important;
}

.launchentitylookup {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 15px;
    line-height: 1.42857;
    border-radius: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.view-pagination ul {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 10px;
}

.entity-grid .view-grid {
    overflow-x: auto !important;
}

.alert {
    padding: 1rem;
    margin-bottom: 0;
    border: none;
}

legend {
    font-size: 1.7rem !important;
    color: var(--primary-blue) !important;
}

/* --- Registration page --- */

.registerprivacystatement {
    display: inline-block;
    width: 90%;
}

.crmEntityFormView .cell.checkbox-cell:first-child,
.captcha-cell {
    padding: 0 28px 20px;
}


.form-action-container-right{
    display: flex;
    flex-direction: column;
}

.infosregister {
    color: var(--primary-blue);
    font-size: 0.9em;
}

.infosregister::before,
.warningregister::before {
    content: "🛈";
    font-size: 1.1em;
    margin-right: 4px;
}

.warningregister {
    color: #a94442;
    font-size: 0.9em;
}

legend.section-title {
    max-width: 100%;
    font-weight: bold;
    font-size: 1em;
    color: var(--secondary-color-smartbar);
    border-bottom: 1px solid lightgrey !important;
    margin: auto;
    margin-bottom: 10px !important;
    width: 98%;
}


.section-line {
  flex: 1;
  height: 1px;
  background-color: #d6ddeb; 
}


.acceptanceText {
    margin-top: 10px !important;
    font-size: 0.9em !important;
}

.acceptanceText::before {
    content: "" !important;
}

td.clearfix.cell.checkbox-cell {
    padding: 0 28px 5px !important;
}

a.btn.btn-primary,
a.btn.btn-primary:focus,
a.btn.btn-primary:active,
input#InsertButton,
input#InsertButton:focus,
input#InsertButton:active,
.btn-info {
    color: var(--main-color-white) !important;
    border: none !important;
    background: linear-gradient(90deg, var(--gradient-button-prmy-start) 0%, var(--gradient-button-prmy-end) 100%);
    padding: 1rem 2rem;
}

a.btn.btn-primary:hover,
.btn-info:hover {
    color: var(--main-color-white) !important;
    text-decoration: none !important;
    background: linear-gradient(90deg, var(--main-color-smartbar) 0%, var(--gradient-button-prmy-end) 100%) !important;
}

input#InsertButton {
    text-transform: uppercase;
}

input.input-error {
    border: 1px solid #a94442;
    background-color: #f2dede;
    color: #a94442;
}

input.input-valid {
    border: 1px solid #3c763d;
    background-color: #dff0d8;
    color: #3c763d;
}

input.text {
    text-decoration: none !important;
}

input.disabled {
    cursor: not-allowed !important;
}

/* --- News block  --- */

.news-block {
    margin-top: 3rem;
    background: white;
    box-shadow: 0px 6px 20px rgb(24 51 104 / 12%);
    display: flex;
}

.news-block img {
    width: 100%;
    height: 100%;
    max-height: 300px;
    object-position: center;
    object-fit: cover;
}

@media screen and (min-width: 992px) {
    .news-block img {
        max-width: 300px;
    }
}

.news-block p {
    margin: 2rem;
}

.news-text {
    padding: 1rem;
}

@media screen and (max-width: 992px) {
    .news-block {
        flex-direction: column;
    }
}

/* --- AOG block --- */

.AOG-block {
    background: var(--main-color-AOG);
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-blue);
}

.AOG-block a {
    color: var(--primary-blue);
}

.AOG-infos {
    display: flex;
    flex-wrap: wrap;
}

@media screen and (max-width: 992px) {
    .AOG-infos>div {
        margin: 1em 0;
    }
}

.AOG-contact {
    background: rgb(59 135 204 / 16%);
    padding: 0.7rem 1.5rem;
    margin-left: 2rem;
}

.AOG-contact:hover {
    background: rgb(59 135 204 / 30%);
}

.AOG-icon {
    padding: 0 6px 0 0;
}

.AOG-desc::before {
    content: "🛈";
    font-size: 1.6em;
    line-height: 1em;
    padding: 0 10px 0 0;
    vertical-align: bottom;
}

/* --- Table --- */

.table {
    border-collapse: separate;
    border-spacing: 0 0; 
}

/* Table Header */ 

thead {
    background: var(--main-color-smartbar);
}

.table thead th {
    white-space: normal;
    line-height: 1.2;
    text-decoration: none !important;
}

thead th a {
    color: var(--main-color-white);
    font-weight: 600;
    text-transform: uppercase;
}

.table > thead > tr > th {
    height: 72px;
    vertical-align: middle;
    padding: 0 16px;
    color: #fff;
    border-right: 2px solid rgb(255, 255, 255);
}

.table > thead > tr > th:first-child {
    background-color: #255B8E; 
}

.table > thead > tr > th:last-child {
    background-color: #255B8E; 
    border-right: none;
}

.table > thead > tr > th:not(:first-child):not(:last-child) {
    background-color: #E7EAF2;
}

.table > thead > tr > th:not(:first-child):not(:last-child),
.table > thead > tr > th:not(:first-child):not(:last-child) a {
    color: #1B1D27 !important;
}

/* Cellule */

.table > tbody > tr > td {
    vertical-align: middle;
    line-height: normal;
    border-bottom: 1px solid #D6DBE6;
}

/* Table color style */



/* Base badge style */
td[data-th="Line Status"],
td[data-th="Delivery Status"],
td[data-th="Status"] {
    text-align: center;
}

td[data-th="Line Status"]::before,
td[data-th="Delivery Status"]::before,
td[data-th="Status"]::before {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    color: #1B1D27;
}

td[data-th="Status"]::before {
    content: attr(aria-label);
}

td[data-th="Line Status"]::before,
td[data-th="Delivery Status"]::before {
    content: attr(data-value);
}

/* hide original text */
td[data-th="Line Status"],
td[data-th="Delivery Status"],
td[data-th="Status"] {
    font-size: 0; 
}

/* REQUEST MANAGEMENT */

/* STATUS */

/* OPEN */

td[data-th="Status"][aria-label="OPEN"]::before,
td[data-th="Status"][aria-label="OPEN ASSISTANCE"]::before,
td[data-th="Status"][aria-label="DRAFT"]::before{
    background-color: #71CAF3;
}

/* ON HOLD */

td[data-th="Status"][aria-label="ON HOLD"]::before,
td[data-th="Status"][aria-label="ON HOLD AUTOMATIC"]::before {
    background-color: #FFA910;
}

/* CLOSED */

td[data-th="Status"][aria-label="REWORKED"]::before,
td[data-th="Status"][aria-label="CLOSED"]::before,
td[data-th="Status"][aria-label="RESOLVED"]::before,
td[data-th="Status"][aria-label="CANCELLED"]::before,
td[data-th="Status"][aria-label="MERGED"]::before,
td[data-th="Status"][aria-label="REJECTED"]::before {
    background-color: #42CE76;
}



/* ORDERBOOK */

/* ================= LINE STATUS ================= */

/* Pending — Orange */
td[data-th="Line Status"][data-value="Pending"]::before {
    background-color: #FFA910;
}

/* Invoiced — Light Green */
td[data-th="Line Status"][data-value="Invoiced"]::before {
    background-color: #A9DFBF;
}

/* Shipped — Green */
td[data-th="Line Status"][data-value="Shipped"]::before {
    background-color: #42CE76;
}

/* Credit Note — Gray */
td[data-th="Line Status"][data-value="Credit Note"]::before {
    background-color: #B0B0B0;
}


/* ================= DELIVERY STATUS ================= */

/* Pending ESD — Orange */
td[data-th="Delivery Status"][data-value="Pending ESD"]::before {
    background-color: #FFA910;
}


/* New Shipping Date — Yellow */
td[data-th="Delivery Status"][data-value="New Shipping Date"]::before {
    background-color: #F39C12;
}

/* Overdue — Red */
td[data-th="Delivery Status"][data-value="Overdue"]::before {
    background-color: #E74C3C;
}



.pagination>.active>a,
.pagination>.active>a:hover,
.pagination>.active>a:focus,
.pagination>.active>span,
.pagination>.active>span:hover,
.pagination>.active>span:focus {
    border-radius: 0 !important;
}

.view-toolbar>ul>li {
    border: 1px solid var(--main-color-smartbar);
}

.view-toolbar a {
    color: var(--main-color-smartbar);
}

.view-toolbar span.title {
    margin: 0 10px;
}

.btn-default {
    color: var(--main-color-smartbar) !important;
    background-color: var(--main-color-white) !important;
    border-color: var(--main-color-smartbar) !important;
}

.pagination>.disabled>span,
.pagination>.disabled>span:hover,
.pagination>.disabled>span:focus,
.pagination>.disabled>a,
.pagination>.disabled>a:hover,
.pagination>.disabled>a:focus {
    background-color: transparent !important;
}

.hide-actionbuttons thead th[aria-label="Actions"],
.hide-actionbuttons tbody td[aria-label="action menu"] {
    display: none;
}

.hide-tbuttons td:last-child,
.hide-tbuttons th:last-child {
    display: none;
}

.hide-thead thead {
    display: none;
}

th.sort-disabled {
    color: white;
    font-weight: normal;
}

/* --- Timeline --- */

.entity-timeline .note .row .content .description {
    padding: 10px;
}

.note .attachment-outer-border .createdby {
    display: none;
}

.note .attachment-outer-border {
    border: none !important;
}

/* === Filters & Search CONTAINER === */
.filters-search-container {
    margin-top: 7px;
    border: 1px solid var(--color-border-subtle, #BCBFCF);
    border-radius: 4px;
    padding: 20px;
    display: block;
    width: 100%;
}

/* === Header filter search === */
.filters-search-header {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #1B1D27;
}


/* --- Button Hide --- */
.toggle-filters-btn {
    background: none;
    border: none;
    color: #255B8E;
    cursor: pointer;
}
/* glyphicon style */
.toggle-filters-btn .glyphicon {
    display: inline-block;
    font-size: 16px;
    color: #255B8E;
}

/* Hidden : Upside arrow */
.toggle-filters-btn.is-collapsed .glyphicon {
    transform: rotate(180deg);
}

/* --- EntityFilter --- */
.entitylist-filter-abovegrid {
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
}


.entitylist .entitylist-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    row-gap: 24px;
}

.entitylist-filter-abovegrid .panel-body {
    padding: 0 0 15px 0;
    background-color: #f2efff;
}

.entitylist-filter-abovegrid ul {
    margin-bottom: 0;
}

.entitylist-filter-abovegrid .entitylist-filter-option-group .h4 {
    font-size: 1.5rem;
}

.entitylist-filter-option-group .h4 {
    color: black;
    font-weight: 500;
}

.entitylist .panel.panel-default > .panel-body {
    background-color: #EFF8FF !important;
}

#entitylist-filters {
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: repeat(8, max-content);
    column-gap: 1%;
    row-gap: 1%;
    justify-content: start;
    position: relative;
}



/* --- MyProfile --- */

.profile-btm-container {
    margin-bottom: 0;
}

.profile-btm-container>div {
    width: 100%;
}

.profile-btm-container>div>div {
    float: none !important;
}

/* --- Datepicker --- */

.datepicker thead {
    background-color: var(--primary-blue);
    color: var(--main-color-white);
}

.datepicker th:hover {
    background-color: var(--gradient-body-end) !important;
    cursor: pointer;
}

.datepicker .month.active button {
    color: var(--main-color-white) !important;
    font-weight: 600;
}

.bootstrap-datetimepicker-widget table td,
.bootstrap-datetimepicker-widget table th {
    text-align: center;
    border-radius: 0;
}

.datepicker .decade.active button {
    color: var(--main-color-white) !important;
    font-weight: 600;
}

/* --- DateRangePicker ---*/

.daterangepicker thead {
    background: none;
}

/* --- LinkedList --- */

.linkedlist option {
    display: none;
}

/* --- Form ---*/

.field-readonly {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    background: transparent !important;
}

@media screen and (min-width: 992px) {
    .border-right {
        border-right: 1px solid var(--secondary-lightgrey) !important;
    }
}

/* --- Knowledge Data --- */

.searchKnowledgeData {
    background: white;
    padding: 2em 2em 2em 0;
    border: 1px solid var(--secondary-lightgrey);
    box-shadow: 0px 3px 10px rgb(48 80 143 / 12%);
}

/* --- Quotation --- */

.quote-creation-readonly-info {
    display: flex;
    flex-direction: row;
    padding-bottom: 12px !important;
}

.quotation-creation-fieldset-info {
    margin-bottom: 0 !important;
}

.quotation-creation-globalInfo-table {
    margin-top: 3% !important;
}

.quotation-creation-globalInfo-legend {
    padding-top: 2% !important;
}

.quotation-creation-section-table {
    margin-top: 4% !important;
}

.quotation-creation-readonly-info-label {
    margin-right: 5px !important;
}

.quotation-creation-customerReference-info {
    width: 30% !important;
}

.bt-create-quotation {
    position: absolute;
    bottom: -17px;
    right: 15px;
    border: 0;
}

.bt-save-quotation {
    margin-right: 5px;
}

.bt-submit-product {
    width: 100%;
}

.quotation-edit-info-padding {
    padding-right: 0px !important;
}

.quotation-info-rempli {
    padding-bottom: 13%;
}

.subgrid-cell-quotation-line {
    padding: 0 0 20px !important;
}

.bt-centre {
    margin: 0 auto;
}

.back-button {
    margin-top: 10px;
}

.warn-icon {
    padding: 0.3% 1.5%;
    background: orange;
    margin-bottom: 4px;
}

.error-icon {
    padding: 0.3% 1.5%;
    background: rgb(255, 60, 60);
    margin-bottom: 4px;
}

.warn-msg {
    margin-left: 2%;
}

.color-field {
    color: #3885CA;
    font-weight: bold;
}

.autocomplete-info {
    font-family: 'Barlow', sans-serif;
    font-size: 1em;
    margin: 5px;
}

.has-pagination {
    min-height: 220px !important
}

#alertAOG {
    height: 47px;
    margin: 0 auto;
    background-color: #ffe3b1;
    padding-top: 2px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

#erreurProduct {
    height: 47px;
    margin: 0 auto;
    background-color: #fdb9b0;
    padding-top: 2px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

#actionButton {
    display: inline-flex;
}

#actionButton>span {
    margin: 0 6px 0;
}

#actionButton>span:hover {
    cursor: pointer;
}

#actionButton>.fa-trash {
    color: indianred;
}

#actionButton>.fa-pencil {
    color: #3885CA;
}

#actionButton .actionButtonNbr {
    font-size: 0.86em;
    font-weight: 800;
    margin: 0 !important;
}

@media screen and (min-width: 768px) {
    .quotation-creation-details-window {
        background: var(--main-color-white);
        border: 1px solid var(--secondary-lightgrey);
        box-shadow: 0px 3px 10px rgba(48, 80, 143, 0.12);
        margin-bottom: 3rem;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }
}

/* --- GDPR --- */

#GDPR-Bkg.black_overlay {
    display: block;
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 1001;
    -moz-opacity: 0.8;
    opacity: .80;
    filter: alpha(opacity=80);
}

#GDPR-Content h2 {
    font-weight: 600;
}

#GDPR-Content p {
    margin: 20px 0 5px 0;
}

@media screen and (min-width: 768px) {
    #GDPR-Content.white_content {
        display: block;
        position: absolute;
        top: 25%;
        left: 25%;
        width: 50%;
        height: 50%;
        padding: 16px;
        background-color: white;
        z-index: 1002;
        overflow: auto;
    }

    #GDPR-Content label {
        margin: 20px;
    }
}

@media screen and (max-width: 768px) {
    #GDPR-Content.white_content {
        display: block;
        position: absolute;
        margin: 5%;
        padding: 16px;
        background-color: white;
        z-index: 1002;
        overflow: auto;
    }

    #GDPR-Content label {
        margin: 0 0 0 5px;
    }
}

/* sign-out-modal */

.sign-out-modal .ui-dialog-titlebar {
    border: none;
    background-color: var(--primary-blue);
    color: white;
}

.ui-dialog-buttonset {
    display: flex;
}

.ui-dialog-buttonset>button {
    font-size: .8em !important;
    padding: .6rem !important;
    color: var(--gradient-button-prmy-end);
    background-color: white;
}

.ui-dialog-titlebar-close {
    display: none;
}

/* VIEW REQUEST DETAILS PAGE */

fieldset[aria-label="TitleSectionRequestDetails"] {
    display: none;
}

fieldset[aria-label="Further Information"],
fieldset[aria-label="Request Type - Claim"] {
    border-right: 1px solid #c0c0c0;
}

fieldset[aria-label="Request Type - Claim"] {
    height: 480px;
}

fieldset[aria-label="Request Status"] label,
fieldset[aria-label="Further Information"] label,
fieldset[aria-label="Request Type - Claim"] label,
fieldset[aria-label="Priority - AOG"] label {
    font-size: 22px;
}

fieldset[aria-label="Request Status"] input,
fieldset[aria-label="Request Status"] span,
fieldset[aria-label="Request Status"] select,
fieldset[aria-label="Request Status"] textarea {
    font-size: 18px;
}

fieldset[aria-label="Further Information"] input,
fieldset[aria-label="Further Information"] span,
fieldset[aria-label="Further Information"] select,
fieldset[aria-label="Further Information"] textarea {
    font-size: 18px;
}

fieldset[aria-label="Request Type - Claim"] input,
fieldset[aria-label="Request Type - Claim"] span,
fieldset[aria-label="Request Type - Claim"] select,
fieldset[aria-label="Request Type - Claim"] textarea {
    font-size: 18px;
}

fieldset[aria-label="Priority - AOG"] input,
fieldset[aria-label="Priority - AOG"] span,
fieldset[aria-label="Priority - AOG"] select,
fieldset[aria-label="Priority - AOG"] textarea {
    font-size: 18px;
}

#cms_rmdescription {
    resize: none;
}

/* END VIEW REQUEST DETAILS PAGE */

fieldset[aria-label="Delivery To"],
fieldset[aria-label="Order"] {
    border-right: 2px solid #e8e8e8;
    display: inline-block;
    width: 50%;
}

fieldset[aria-label="Delivery To"] {
    margin-bottom: 64px;
}

/* pop up - order line view */


.order-line-popup h3 {
    background-color: #2ECC71;
    /* testok */
}

.modal.order-line-popup .modal-dialog {
    width: 60%;
    height: 80vh;
    max-width: none;
    margin: auto;
}

.modal.order-line-popup .modal-content {
    margin-top: 3%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modal.order-line-popup .modal-header {
    flex-shrink: 0;
}

.modal.order-line-popup .modal-body {
    flex: 1 1 auto;
    overflow: hidden;
    padding: 0;
}

.modal.order-line-popup .modal-body iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.modal-dialog #EntityFormPanel.crmEntityFormView{
    background-color: #a2a7af;
}

/* View only des template back to orderline */

.wt-back-to-orderline #EntityFormPanel.crmEntityFormView {
    border: 1px solid var(--color-border-subtle, #BCBFCF) !important;
    background-color: #F9FAFC;
    border-width: 0px 1px 1px 1px;
    border-style: solid;
    border-color: var(--color-border-subtle, #BCBFCF);
}

.wt-back-to-orderline .section-title h3
{
    text-decoration: underline !important;
    font-family: typography/headline/font-family;
    font-weight: 500;
    font-style: Medium;
    font-size: 30px;
    line-height: typography/headline-sm/line-height;
    letter-spacing: typography/headline-sm/letter-spacing;
    vertical-align: middle;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 0%;
}

.wt-back-to-orderline legend.section-title {
    border-bottom: none !important;
}

.wt-back-to-orderline .lineHeader {
    width: 1360;
    height: 78;
    padding-top: 24px;
    padding-right: 32px;
    padding-bottom: 24px;
    padding-left: 32px;
    opacity: 1;
    border-width: 1px;
    border: 1px solid var(--color-border-subtle, #BCBFCF);
    font-weight: 400;
    font-size: 40px;
}
