
/*** Resets **/

/* underline for hyperlinks */
:where(a[class*="card"], a[class*="btn"], a[class*="button"], a[role], ul.list-unstyled a, p.lead a) {
    text-decoration: unset;
    color:inherit;
}

/* remove margins on hx */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1.5em 0;
}

/* commonly implemented class to remove display of an item */
:is(.visually-hidden,[hidden]) {
	position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
fieldset {
	all: revert;
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: none;
}
details > summary {
    all: revert;
    list-style-type: none;
}
ul.checkboxes { display: unset; & li { display: unset; }}

:is(.alert, .alert::before, .alert *, .alert *::before) {
    all: unset;
}

/* remove borders from entity forms */

.crmEntityFormView {
    border: none;
    & .actions {
        border-top:none;
    }
}

/* remove negative margin with entity form */

.crmEntityFormView td.cell {
    padding: 0 0 20px;
    &[colspan="1"] {
        &:not(:first-child) {
            padding-left: 20px;
        }

        &:has( + *:not(.zero-cell)) {
            padding-right: 20px;
        }
    }
}

/* link underline in header */
#wb-lng a {
    text-decoration: underline var(--canada-blue);
}

/* fix li a alignment */
html[dir=ltr] li a {
    margin-left:0;
}

/* breadcrumb chevron fix */
.breadcrumb>li+li:before {
    content: "\e080";
    padding: 0 4px 0 0;
    position: relative;
    font-family: "Glyphicons Halflings";
    color: #333;
    font-size: .7em;
}

/* pagination override */
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover {
    background-color: var(--teal) !important;
    border-color: var(--teal);
}

/* menu customizations */
.gcweb-menu [role=menu] [role=menu] li [role=menuitem] {
    font-size:inherit;
    font-weight: 300;
}

.gcweb-menu [role=menu] [role=menu] {
    min-height:unset;
    -webkit-box-shadow:none;
    box-shadow:none;
}
.gcweb-menu [role=menu] [role=menu] [role=menuitem] {
    padding-left:40px;
}

/*** end Resets **/