/* WEBVIEW
   ————————————————————————————————————————————————————————— */
body.webview #header,
body.webview #header + div.highlighted,
body.webview #block-e72-breadcrumbs,
body.page-user-password ul.nav-tabs.primary,
body.webview footer
{
  display: none;
}

body.webview.path-verify #header + div.highlighted {
  display: block;
}


/* VIDEO
   ————————————————————————————————————————————————————————— */
body.node--type-video .profile .print__wrapper--pdf,
body.node--type-video .profile .flag-block-recruiter {
  display: none;
}

.field--name-field-media-oembed-video {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.media-oembed-content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* USER
   ————————————————————————————————————————————————————————— */
body.path-user .block-extra-field-blockuseruseruser-email-verification-verified,
body.path-user .block-extra-field-blockuseruseruser-email-verification-verified-date {
  display: none;
}

/* WEBFORM
   ————————————————————————————————————————————————————————— */
.visually-hidden + .custom-control-label::before {
    display: none;
}

.visually-hidden.custom-control-input {
    position: absolute !important;
    overflow: hidden;
    clip: rect(1px,1px,1px,1px);
    width: 1px;
    height: 1px;
    word-wrap: normal;
}

/* Ajax loading (folding cube)
   ————————————————————————————————————————————————————————— */
#full-page-loading-pnl {
    width: 100vw;
    height: 100vh;
    position: absolute;
    background: white;
    top: 0;
    left: 0;
    z-index: 10000;
}

#full-page-loading-pnl .ajax-throbber {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateZ(45deg);
}

.ajax-throbber.sk-folding-cube .sk-cube:before {
    background-color: #ff9609;
}

/* GIN
   ————————————————————————————————————————————————————————— */
.toast {
    background-color: rgba(231, 231, 231, 0.7);
}

.js .is-initial.is-password-empty.is-confirm-empty:not(.form-item--error) .password-confirm__confirm {
  display: inherit !important;
  max-height: inherit !important;
  margin-top: inherit !important;
}

.toolbar-horizontal .toolbar-tray .menu-item:hover .toolbar-icon.toolbar-icon-menu-link-contente433a21b-b9e5-403d-abb6-f04a9242c1f0::before {
  background-color: transparent;
}

/* ADMIN
   ————————————————————————————————————————————————————————— */
#drupal-off-canvas .form-item {
    z-index: 10;
}

.toolbar .toolbar-bar .toolbar-icon-matrix-admin-management:before {
    background: transparent url("/themes/custom/e72/images/icons/ico_logo_sage.png") 50% 50%/18px 18px no-repeat !important;
    mask-image: none !important;
}

.menu-item__matrix-admin_management ul ul > li:nth-child(2) {
  display: none;
}
