html { position: relative; min-height: 100%; } body { margin-bottom: 80px; } #accentbar { position: -webkit-sticky; position: sticky; background: $preset; height: 5px; top: 0; z-index: 1020; } .navbar { position: -webkit-sticky; position: sticky; font-size: 16px; background-color: $white; border-bottom: 1px solid $grey; top: 5px; z-index: 1020; > .container { justify-content: end; } .navbar-brand { padding-top: .625rem; padding-bottom: .625rem; img { max-height: 5rem; } } .navbar-nav { .nav-item { .nav-link { color: $black; font-family: $header-font; text-transform: uppercase; } &.active, &:hover { .nav-link { color: $preset; } } } .dropdown { .dropdown-menu { margin: 0; .dropdown-item { font-family: $header-font; text-transform: uppercase; } } } } .navbar-user { #language-switcher { display: flex; img { width: 20px; align-self: center; } } .dropdown-menu { left: -90px; } } } .table-clickable { tbody tr { &:hover { cursor: pointer; color: $preset; background-color: $light-grey; } } } @media(min-width: 992px) { .navbar { .navbar-nav { .dropdown { &:hover { > .dropdown-menu { display: block; } } > .dropdown-toggle { &:active { pointer-events: none; } } } } } } @media(max-width: 1199px) { .navbar { .navbar-brand { img { max-height: 4rem; } } } } @media(max-width: 767px) { #accentbar, .navbar { position: relative; top: 0; } } @media(max-width: 359px) { .navbar { .navbar-brand { img { max-height: 3rem; } } } } #page-header { height: 200px; .image { width: 100%; height: 100%; object-fit: cover; } } .home { #page-header { height: 0; padding-bottom: 21.5%; position: relative; #announcements-slider { position: absolute; top: 0; bottom: 0; left: 0; right: 0; } } } @media(max-width: 991px) { .home { #page-header { height: 0; padding-bottom: 40%; position: relative; #announcements-slider { position: absolute; top: 0; bottom: 0; left: 0; right: 0; } } } } @media(max-width: 1023px) { #page-header { height: 170px; } } #page-content { padding: 1rem 0 4rem 0; border-top: 1px solid $grey; .page-section { padding: 2rem 1rem 0 1rem; h1.section-title { position: relative; margin-bottom: 1.5rem; border-top: solid 1px $grey; padding: 20px 0 0; &::before { background: $preset; content: ''; position: absolute; left: 50%; margin-left: -40px; height: 5px; width: 80px; top: -1px; } .btn { position: absolute; top: 15px; &.btn-first { right: 0; } &.btn-second { right: 50px } } } } } footer { position: absolute; background: $preset; overflow: hidden; font-size: 14px; color: $white; padding: 25px 0; margin: 0; bottom: 0; width: 100%; height: 80px; .divider { margin-left: .7rem; } a { color: $white; margin-left: .7rem; &:hover { color: $grey; } } .social a { font-size: 1.2rem; } } .dropdown-menu { border-top-left-radius: 0; border-top-right-radius: 0; .dropdown-item { padding: 0.5rem 1.5rem; font-size: .8rem; &:hover, &:active, &.active { background-color: $preset; color: $white; } } } img { max-width: 100%; } .grid-item { position: relative; cursor: pointer; overflow: hidden; .ribbon-wrapper { width: 120px; height: 110px; overflow: hidden; position: absolute; top: -3px; right: -3px; .ribbon { color: white; text-align: center; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); position: relative; padding: 5px 0; left: -5px; top: 28px; width: 170px; background-color: $preset; } } .image { position: absolute; width: 100%; height: 100%; display: flex; align-items: center; text-align: center; img { width: auto; height: auto; max-width: 100%; max-height: 100%; transition: all 300ms ease-in-out 0s; -moz-transition: all 300ms ease-in-out 0s; -webkit-transition: all 300ms ease-in-out 0s; -o-transition: all 300ms ease-in-out 0s; } } .overlay { position: absolute; opacity: 0; background-color: rgba($preset, .7); transition: all 300ms ease-in-out 0s; -moz-transition: all 300ms ease-in-out 0s; -webkit-transition: all 300ms ease-in-out 0s; -o-transition: all 300ms ease-in-out 0s; width: 100%; height: 100%; h5, p { color: $white; -webkit-transform: translateY(-50px); } h5 { transform: translateY(-50px); transition: all 300ms ease-in-out 0s; -moz-transition: all 300ms ease-in-out 0s; -webkit-transition: all 300ms ease-in-out 0s; -o-transition: all 300ms ease-in-out 0s; margin-bottom: 0; padding-bottom: 0.5rem; } p { transform: translateY(-50px); transition: all 300ms ease-in-out 0s; -moz-transition: all 300ms ease-in-out 0s; -webkit-transition: all 300ms ease-in-out 0s; -o-transition: all 300ms ease-in-out 0s; margin-bottom: 0; } } .name { position: absolute; bottom: 0; width: 100%; padding: 2rem 1.5rem 1rem 1.5rem; transition: all 300ms ease-in-out 0s; -moz-transition: all 300ms ease-in-out 0s; -webkit-transition: all 300ms ease-in-out 0s; -o-transition: all 300ms ease-in-out 0s; color: $white; font-size: 15px; background: rgba(0, 0, 0, 0); background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.6))); background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%); background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%); background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%); background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%); } &:hover { .overlay { opacity: 1; h5, p { -moz-transform: translateY(0px); -webkit-transform: translateY(0px); transform: translateY(0px); } } .name { opacity: 0; -moz-transform: translateY(50px); -webkit-transform: translateY(50px); transform: translateY(50px); } .image { img { -moz-transform: scale(1.05); -webkit-transform: scale(1.05); transform: scale(1.05); } } } &:after { content: ""; display: block; padding-bottom: 100%; } } @media(max-width: 991px) { .grid-item { .overlay { h5 { margin-bottom: 0; font-size: 14px; } p { font-size: 11px; line-height: normal; } } } } @media(max-width: 767px) { .grid-item { .ribbon-wrapper { display: none; } .name { font-size: 11px; padding: .5rem; } .overlay { h5 { font-size: 11px; } p { font-size: 9px; line-height: normal; } } } }