/* phpcs:ignoreFile */
body {
  --brand-color: #002439;
  --brand-color-light: #005b90;
  --brand-color-dark: #00212d;
  --brand-color-green: #70bd95;
  --gray-10: #f2f2f2;
  --gray-20: #dbdbdc;
  --gray-30: #bfbfbf;
}

.ssa-app .hefGeZ {
  z-index: 29!important;
}

/*autocomplete search*/
.search-api-autocomplete-search .ui-menu-item:hover {
  background-color: var(--brand-color);
  color: white;
}
.search-api-autocomplete-search .ui-menu-item-wrapper.ui-state-active .search-api-autocomplete-suggestion {
  background-color: var(--brand-color);
}

.ui-autocomplete .ui-menu-item-wrapper.ui-state-active {
  background-color: var(--brand-color);
}

@media only screen and (max-width: 565px) {
  ul#ui-id-1.search-api-autocomplete-search {
    max-width: 350px;
  }
}

/*contact form*/
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: var(--brand-color);
}

.select2-results__option {
  margin: 0;
  list-style: none;
}

/*modal*/
.coh-modal-overlay{
  background-color: rgba(0, 36, 57, 0.8)
}

/*for anchor*/
html {
	scroll-padding-top: 225px!important;
  scroll-behavior: smooth;
}

@media only screen and (max-width: 1024px) {
html {
    scroll-padding-top: 100px!important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/*Sticky button*/
@supports not (overflow: clip) {
  .master-template-bloc {
    overflow: hidden;
  }
}

/* accesibility rules */
:focus-visible {
  outline: 3px solid #002439;
  box-shadow: 0 0 0 6px white;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

form.user-login-form .form-text {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  line-height: 1.5625rem;
  width: 100%;
  border-style: solid;
  border-color: rgb(219,219,220);
  background-color: rgba(0,0,0,0);
  padding-top: 0.625rem;
  padding-right: 0;
  padding-bottom: 0.625rem;
  padding-left: 0;
  border-bottom-width: 0.0625rem;
  border-top-width: 0;
  border-left-width: 0;
  border-right-width: 0;
}

form.user-login-form label {
  font-weight: bold;
  margin-bottom: 1.25rem;
}

form.user-login-form label.form-required:after {
  content: "*";
  margin-left: 0.25rem;
  color: rgb(255,0,0);
}

form.user-login-form .form-submit {
  -webkit-transition: background-color 300ms ease;
  -o-transition: background-color 300ms ease;
  transition: background-color 300ms ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: rgb(0,36,57);
  font-weight: bold;
  line-height: 1.25;
  font-size: 0.875rem;
  background-color: rgb(242,242,242);
  padding: 1rem;
  border-style: none;
}

form#openid-connect-login-form {
  width: fit-content;
  margin-top: 3.125rem;
  margin-right: auto;
  margin-bottom: 3.125rem;
  margin-left: auto;
}

form#openid-connect-login-form > div input {
  height: 50px;
  text-align: center;
  background-color: rgb(0, 36, 57);
  color: rgb(255, 255, 255);
  font-family: 'Roboto', sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  min-width: 9.375rem;
  -webkit-border-radius: 3.125rem;
  border-radius: 3.125rem;
  padding-right: 1.5625rem;
  padding-left: 1.5625rem;
  position: relative;
  -webkit-transition: background-color 300ms ease;
  -o-transition: background-color 300ms ease;
  transition: background-color 300ms ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-weight: bold;
  line-height: 1.25;
  font-size: 0.875rem;
  padding: 1rem;
  border-style: none;
  display: block;
  margin: 0 auto 1rem;
}

a.pink-menu-entry {
  color: #ff0080!important;
}

/* ESF-1157 - override old brand green */
.coh-color-brand-color-green {
  color: #008163!important;
}

/** Menu extra icone */
.toolbar-icon-wide-core-admin::before {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIiBmaWxsPSJub25lIj4KICA8Y2lyY2xlIGN4PSIxMCIgY3k9IjEwIiByPSI4IiBzdHJva2U9IiM1NTUiIHN0cm9rZS13aWR0aD0iMS41IiBmaWxsPSJub25lIi8+CiAgPGNpcmNsZSBjeD0iMTAiIGN5PSI3IiByPSIxLjUiIGZpbGw9IiM1NTUiLz4KICA8Y2lyY2xlIGN4PSI3LjUiIGN5PSIxMiIgcj0iMS41IiBmaWxsPSIjNTU1Ii8+CiAgPGNpcmNsZSBjeD0iMTIuNSIgY3k9IjEyIiByPSIxLjUiIGZpbGw9IiM1NTUiLz4KPC9zdmc+');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
}

.toolbar .toolbar-bar .toolbar-icon-wide-core-admin::before {
  opacity: 0.8;
}

.toolbar .toolbar-bar .toolbar-icon-wide-core-admin:hover::before {
  opacity: 1;
}

/* Default table styling within the .coh-wysiwyg container */
.coh-wysiwyg table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #ffffff;
  color: #333333;
  font-family: Arial, sans-serif;
  font-size: 14px;
  text-align: left;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.coh-wysiwyg table th,
.coh-wysiwyg table td {
  border: 1px solid #ddd;
  padding: 15px;
}

.coh-wysiwyg table thead th {
  background-color: #f6f6f6;
  font-weight: bold;
}

.coh-wysiwyg table tbody th {
  background-color: #f9f9f9;
  font-weight: bold;
}

.coh-wysiwyg table tbody tr:nth-child(even) {
  background-color: #fcfcfc;
}

.responsive-preview-frame-container {
  border: solid 30px #212121;
  background-color: white;
  padding: 0 !important;
}

@media screen and (max-width: 320px) {
  .coh-wysiwyg table,
  .coh-wysiwyg thead,
  .coh-wysiwyg tbody,
  .coh-wysiwyg th,
  .coh-wysiwyg td,
  .coh-wysiwyg tr {
    display: block;
    width: 100%;
  }

  .coh-wysiwyg table thead {
    display: none;
  }

  .coh-wysiwyg table tr {
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    padding: 10px;
  }

  .coh-wysiwyg table tbody th {
    background: none;
    padding-left: 0;
    font-weight: bold;
    border: none;
  }

  .coh-wysiwyg table td {
    border: none;
    position: relative;
    padding-left: 0;
    text-align: left;
  }

}

/* END OF - Default table styling within the .coh-wysiwyg container */