// TODO: Remove !important when .footer a selector gets simplified .va-crisis-panel { color: $color-primary-darkest; list-style: none; margin: 0; padding: 0; position: relative; z-index: 2; a { padding: 0; background-image: none; } } .va-crisis-panel-body { background: $color-gray-lightest; list-style: inherit; margin: 0; padding: 0; p { margin: 0; padding: 2.5rem; font-size: 1.4rem; } ul { font-size: 1.7rem; list-style: none; margin: 0; padding: 0; text-align: center; } } .va-crisis-panel--notouch { bottom: 0; right: 0; width: 33rem; position: absolute; -webkit-transform: translateY(243px); -ms-transform: translateY(243px); transform: translateY(243px); -webkit-transition: transform 250ms; transition: transform 250ms; li { padding: 2.5rem 0 0; } @media #{$small-only} { display: none; } } .va-crisis-panel--open { -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); } .va-crisis-line { background-color: $color-gold; color: rgb(0,0,0); display: block; font-weight: bold !important; margin: 0 auto; padding: .25rem 0; text-align: center; text-decoration: none !important; span { font-weight: bold; } &:hover { background-color: $color-gold; border-bottom: none; color: rgb(0,0,0); text-decoration: none; } @media #{$small-only} { padding: .25em 0; } } //===== VA CRISIS LINE BUTTONS .va-crisis-line--touch { border-radius: .2em; margin: 2.5em 0; } .va-crisis-line--notouch { background: $color-gold image-url("icons/arrow-up.svg") no-repeat 97% center; background-size: .8em auto; border-radius: .2em .2em 0 0; font-size: 1.7rem; margin: 0; padding: 1.25rem; text-align: left; width: 100%; .va-crisis-panel--open & { background-image: image-url("icons/arrow-down.svg"); } } //==== Small viewport panel touch .va-crisis-panel--touch { padding: 0 2rem; position: relative; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); .va-crisis-panel-body { height: auto; max-height: 100%; } li { &:nth-child(odd) { border-top: 1px solid $color-gray-lighter; border-bottom: 1px solid $color-gray-lighter; } a { color: $color-base; display: block; padding: 1.5rem 0; text-decoration: none; } } p:last-child { font-size: .85em; } .va-crisis-line { font-size: inherit; padding: 1.25rem; text-align: center; width: 100%; } } @media #{$medium} { .va-crisis-panel--touch, .va-crisis-line--touch { display: none; } }