:root {
    /*--bs-primary: #0d6efd;*/
    --bs-primary: #007F0E;
    --bs-secondary: #6c757d;
}

.form-floating > label {
    left: 0.75rem;
}



/* ##### FORMULARE ##### */
.form {
    display: flex;
    justify-content: center;
    margin-top: 5rem;
    flex-direction: column;
}

.form > form {
    width: 100%;
}

.form > form .row {
    margin-bottom: 1rem;
}



/* ##### LOGIN ##### */
.login-form > img {
    margin: 1rem auto;
    width: 175px;
    height: 175px;
}



/* ##### UPLOAD ##### */
.upload-form {
    margin-top: 10rem;
}



/* ##### GALLERY ##### */
.gallery .col {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;    
}
.gallery .col img {
    border-radius: 3px;
    vertical-align: middle;
    width: 100%;
    margin-top: 8px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 1px 1px 10px -5px #999, -1px -1px 10px -5px#999;
}
.gallery .col img:hover {
    opacity: 0.8;
    width: calc(100% + 8px);
    margin-top: 4px;
    transform: translate(-4px, 0);
    box-shadow: 5px 5px 10px #777, -5px -5px 10px #777;
}
.gallery .col-12 {
    text-align: center;    
	margin-top: 3rem;
}

@media screen and (min-width: 992px) {
    .container {
        max-width: 720px !important;
    }
}
/*
@media screen and (max-width: 1399.98px) {
    .gallery .col {
        flex: 20%;
        max-width: 20%;
    }
}
@media screen and (max-width: 1199.98px) {
    .gallery .col {
        flex: 25%;
        max-width: 25%;
    }
}
*/
@media screen and (max-width: 991.98px) {
    .gallery .col {
        flex: 25%;
        max-width: 25%;
    }
}
/*
@media screen and (max-width: 767.98px) {
    .gallery .col {
        flex: 25%;
        max-width: 25%;
    }
}
@media screen and (max-width: 575.98px) {
    .gallery .col {
        flex: 25%;
        max-width: 25%;
    }
}
*/


/* ##### MODAL ##### */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal > div {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.modal-image {
    max-height: 90%;
    max-width: 80%;
    animation-name: zoom;
    animation-duration: 0.6s;
}
@media only screen and (max-width: 767.98px) {
    .modal-image {
        max-width: 96%;
        max-height: 96%;
    }
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}
  
.modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
  
.modal-close:hover,
.modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
  
