﻿/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0)
}

/* Modal Content */
.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 100%;
}


/* Hide/show notes panel */
.collapse {
    display: inline-block;
    cursor: pointer;
}

    .collapse:hover {

    }


    .collapse + input {
        display: none;
    }

        .collapse + input + * {
            display: none;
        }

        .collapse + input:checked + * {
            display: block;

        }



.notespanel {
    background-color: rgba(0,0,0,0.6);
    position: absolute;
    height: 100%;
    width: 410px;
    top: 0;
    left: 0;
    z-index: 100;
    color: rgb(201, 201, 201);
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 40px;
}

.notestab {
    position: absolute;
    top: -33px;
    left: 0;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    padding-left: 20px;
    padding-right: 50px;
    padding-top: 5px;
    padding-bottom: 5px;
    background-image: url('../images/show.png');
    background-position: right 20px center;
    background-size: 13px;
    background-repeat: no-repeat
}

.notestabhide {
    background-image: url('../images/hide.png')
}


.noteswrapper {
    overflow-y: scroll;
    height: 90%;
    margin-top: 20px;
}

.opaque {
    background-color:rgba(0, 0, 0, 0.9)
}

.notespanel img {
    width: 200px;
}




/* The Close Button */
.close {
    position: absolute;
    top: -39px;
    right: 5%;
    z-index: 1000000;
    background-color: #333;
    padding: 8px;

}

    .close img {
        width: 16px;
        opacity: 0.7;
        transition: 0.6s ease
    }

    .close:hover,
    .close:focus {
        cursor: pointer
    }

        .close img:hover, .close img:focus {
            opacity: 1
        }

.mySlides {
    display: none;
    width: 90%;
    margin: auto;
    position: relative;
}

.mySlides a {
    color: #666;
    display: block;
    padding-bottom: 20px;
    text-decoration: none;
}

.mySlides a:hover {
    color: #ccc;
}


.cursor {
    cursor: pointer
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    margin-top: -50px;
    transition: 0.6s ease;
    user-select: none;
    -webkit-user-select: none;
    opacity: 0.5
}

.prev img, .next img {
    width: 16px
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px
}

    /* On hover, add a black background color with a little bit see-through */
    .prev:hover,
    .next:hover {
        opacity: 1
    }

/* Number text (1/3 etc) */
.numbertext {
    color: #ccc;
    font-size: 12px;
    padding: 8px 20px;
    position: absolute;
    top: 0;
    font-family: 'Roboto', sans-serif
}

img {
    margin-bottom: -4px;

}


.caption-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white
}

.demo {
    opacity: 0.6
}

    .active,
    .demo:hover {
        opacity: 1
    }



img.hover-shadow {
    transition: 0.3s
}

.hover-shadow:hover {
    opacity: 0.9;
} 






/* The animation code */
@keyframes gallerypicfade {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

/* The element to apply the animation to */
.mySlides img, .notespanel, img {
    animation-name: gallerypicfade;
    animation-duration: 2s
}

.notespanel {
    animation-duration: 1s
}




