
@import '/bulma.min.css';
@import '/bulma-divider.min.css';
@import '/fancybox.css';

img {
    object-fit: cover;
}

.subtleLink {
    color: #4d4d4d;
    font-weight: 600;
}

/* Bottom right text */
.text-block {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: rgba(8, 8, 8, 0.0);
    color: white;
    padding: 15px;
    padding-top: 30px;
    border-radius: 5px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}


/* Removes the scrollbar when opening the Fancybox */
.with-fancybox {
    overflow: hidden;
}

.block-custom-album {
    margin-bottom: 1.0rem;
}

/* Inserts the logo as a background image */
.navbar-ue-logo {
  background: url(/img/logo/logo_long_small.png) no-repeat center center;
  background-size: cover;
  width: 252px;
  margin-right: 20px; 
}

/*
nav.navbar {
    height: 8rem !important;
    min-height: unset;
    background-color: aqua;
}*/

.album-wrapper .text-block {
    visibility:hidden;
    transition: opacity .5s, visibility .5s;
    opacity: 0;
}

.album-wrapper:hover .text-block {
    visibility:visible;
    opacity: 1;
}


/* input shaking */

@keyframes shake {
    0% { margin-left: 1rem; margin-right: 1rem;}
    25% { margin-left: 1.5rem; margin-right: 0.5rem;}
    50% { margin-left: 1rem; margin-right: 1rem;}
    75% { margin-left: 0.5rem; margin-right: 1.5rem;}
    100% { margin-left: 1rem;  margin-right: 1rem;}
}

#modalPassword.error {

    animation: shake 0.2s ease-in-out 0s 2;
    box-shadow: 0 0 0.5em red;

}

#modalPassword {
    margin: 1rem
}

@media only screen and (max-width: 776px) {
    #modalPassword {
        margin: 2rem
    }
}
