#toolbar-item-administration-tray nav li {
	padding: 0;
}

#toolbar-item-administration-tray.toolbar-tray-vertical nav li {
	width: 100%;
}


#toolbar-item-administration-tray a {
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: none;
}

/*#block-subtheme-local-tasks:before, #block-subtheme-local-tasks:after {
	content: none !important;
}

#block-subtheme-local-tasks {
	border: none !important;
	left: 0;
	padding: 0 !important;
	position: fixed !important;
	top: 30%;
	z-index: 109;
}

#block-subtheme-local-tasks .button-group {
	display: block;
    margin: 0;
    padding: 0;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

#block-subtheme-local-tasks .button-group:not(:hover) {
	opacity: .3;
	filter: alpha(opacity=30);
    -webkit-transform: translateX(-50%);
            -ms-transform: translateX(-50%);
        transform: translateX(-50%);
}*/

/*#block-subtheme-local-tasks .button-group a { width: 100%; }*/

body.path-user #region-content {
    display: flex;
    flex-wrap: wrap;
}

body.path-user #region-content > * {
    min-width: 100%;
    width: 100%;
}

body.path-user #region-content > #block-subtheme-local-tasks {
    margin: 2rem 0 0;
}

body.path-user #region-content  > #block-subtheme-local-tasks + form.user-pass {
    order: -1;
}

body.path-user #region-content  > #block-subtheme-local-tasks .button-group a:only-child {
    background-color: #820000;
    color: #eee;
}

body.path-user #region-content  > #block-subtheme-local-tasks .button-group a:only-child:where(:hover, :focus) {
    background-color: #6f0000;
    color: #fefefe;
}

/* MESSAGES/ALERTS
----------------------------------------------- */
#region-messages {
    bottom: 1rem;
    pointer-events: none;
    position: fixed;
    right: 1rem;
    z-index:101;
}

#region-messages .callout {
    margin: 0;
    min-width: 25vw;
    pointer-events: all;
    text-align: left;

}

#region-messages .callout:not(:last-child) {
	margin-bottom: .5rem;
}

#region-messages .callout {
    background-color: #008CBA;
    border-color: #0078a0;
    border-style: solid;
    border-width: 1px;
    color: #fff;
    display: block;
    font-size: 0.72222rem;
    font-weight: normal;
    margin-bottom: 1.11111rem;
    padding: 0.75rem 3rem 0.75rem 0.75rem;
    position: relative;
	transition: opacity 300ms ease-out;
}

#region-messages .callout.success {
    background-color: #43AC6A;
    border-color: #3a945b;
    color: #fff;
}

#region-messages .callout.warning {
    background-color: #f08a24;
    border-color: #de770f;
    color: #fff;
}

#region-messages .callout.info {
    background-color: #a0d3e8;
    border-color: #74bfdd;
    color: #4f4f4f;
}

#region-messages .callout.alert {
    background-color: #f04124;
    border-color: #de2d0f;
    color: #fff;
}

#region-messages .callout.secondary {
    background-color: #e7e7e7;
    border-color: #c7c7c7;
    color: #4f4f4f;
}

#region-messages .callout .close {
    right: 0.22222rem;
    background: inherit;
    color: #333333;
    font-size: 1.22222rem;
    line-height: .9;
    margin-top: -0.61111rem;
    opacity: 0.3;
    padding: 0 6px 4px;
    position: absolute;
    top: 50%;
}

#region-messages .callout.fade-out {
	opacity: 0;
	overflow: hidden;
	-webkit-transition: opacity 1.3s ease-in-out, height 0s linear 1.3s;
	transition: opacity 1.3s ease-in-out, height 0s linear 1.3s;
}

#region-messages .callout.fly-out {
  -webkit-animation-name: bounceOutRight;
          animation-name: bounceOutRight;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}

@-webkit-keyframes bounceOutRight {
	20% {
    	opacity: 1;
		-webkit-transform: translate3d(-20px, 0, 0);
		        transform: translate3d(-20px, 0, 0);
	}

	to {
    	opacity: 0;
		-webkit-transform: translate3d(2000px, 0, 0);
		        transform: translate3d(2000px, 0, 0);
	}
}

@keyframes bounceOutRight {
	20% {
    	opacity: 1;
		-webkit-transform: translate3d(-20px, 0, 0);
		        transform: translate3d(-20px, 0, 0);
	}

	to {
    	opacity: 0;
		-webkit-transform: translate3d(2000px, 0, 0);
		        transform: translate3d(2000px, 0, 0);
	}
}




/* put preview node contextual links in admin bar */
.node-preview-container {
    padding: 0;
    position: static;
}

#toolbar-item-administration-tray .menu.toolbar-menu {
    width: 100%;
}

#toolbar-item-administration-tray .menu.toolbar-menu:has(li.preview-node) > li:nth-last-child(2) {
    border-right: 1px solid #eee;
}

#toolbar-item-administration-tray .menu.toolbar-menu:has(li.preview-node) > li:first-child {
    order: -1;
}

#toolbar-item-administration-tray li.preview-node {
    border-left: none;
    /*margin-inline: auto 0;*/
    order: -1;
}

#toolbar-item-administration-tray li.preview-node form {
    align-items: center;
    display: flex;
    gap: 1rem;
    margin-left: 2rem;
}

#toolbar-item-administration-tray li.preview-node form > a:first-child {
    padding: 0;
}

#toolbar-item-administration-tray li.preview-node .form-item-view-mode {
    display: flex;
}

#toolbar-item-administration-tray li.preview-node .form-item-view-mode label {
    display: none;
}

#toolbar-item-administration-tray li.preview-node .form-item-view-mode select {
    font-size: .875rem;
    height: 24px;
    line-height: 1;
    padding: 0.25rem 0.5rem;
}





/* maintenance page */
body.maintenance-page {
  .dialog-off-canvas-main-canvas {
    padding: 1rem;
  }

  header {
    align-items: center;
    display: flex;
    gap: 1rem;

    img {
      height: 75px;
      width: 65px;
    }

    h1 {
      border: none;
      margin: 0;
      padding: 0;
    }
  }
}
