body {
    max-width: 100%;
    max-height: 100%;
    height:100%;
    width:100%;
    min-width:320px;
    overflow:auto;
    resize:vertical;
}

.outer {
    display: table;
    position: absolute;
    height: 100%;
    width: 100%;
}

.middle {
    display: table-cell;
    vertical-align: middle;
}

.inner {
    margin-left: auto;
    margin-right: auto;
    min-height: 500px;
    max-height:100%;
    min-width: 380px;
    max-width: 412px;
    width: calc(100% - 40px);
    padding: 36px;
    margin-bottom: 28px;
    background-color: #fff;
    -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, .55);
    -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, .55);
    box-shadow: 0 2px 3px rgba(0, 0, 0, .55);
    border: 1px solid #818c94;
    border: 1px solid rgba(0, 0, 0, .4);
    /*opacity: 0.95;*/
    font-family: 'Arima Madurai', cursive;
}

.login-header {
    font-family: 'Oleo Script', cursive;
    text-align: center;
}

#login-form label {
    font-weight: bold;
}

.submit-button {
    margin-top: 10px;
    float: right;
    background-color: #00bca4;
    color: white;
    border-color: #00a792;
}

#photos img {
    max-width: 100%;
    width: auto;
    height:auto;
    float: left;
    display: block;
    margin: 5px 0;
    opacity: 100;
    display: block;
}
/*.selected {
    box-shadow: 0px 12px 22px 1px #333;
}*/

#photos img selected {
    border-color: white;
    opacity: 1;
}

#photos img unselected {
    opacity: .25;
}

#photos a img {
    transition: opacity .3s ease;
}

#photos a:hover img {
    opacity: .7;
}
    /*#photos img:hover {
        opacity: 50;
        background: #ddd;
        transition: opacity .3s ease;
    }*/


#overlay {
    background: rgba(0, 0, 0, .8);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
    text-align: center;
    position: fixed;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index:9999;
}

#overlay img {
    margin: 10vh auto;
    border-radius: 5px;
    max-height: 80vh;
    max-width: 80%;
}

#photo-gallery {
    width: 100%;
}

#close {
    background-color: white;
    opacity: .80;
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 2px;
    border-radius: 50%;
    width: 36px;
    cursor: pointer;
    color: black;
}

#close:hover {
    opacity: 1;
}

#download {
    background-color: #4CAF50;
    color: white;
    top:66px;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
}

#download:hover {
    opacity: 1;
    transition: opacity .5s ease;
}

#delete {
    background-color: #d9534f;
    border-color: #d43f3a;
    top: 66px;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
}

    #delete:hover {
        opacity: 1;
    }

#prev {
    background-color: white;
    opacity: .80;
    position: absolute;
    top: 50%;
    left: 15px;
    padding: 2px;
    border-radius: 50%;
    width: 36px;
    cursor: pointer;
    color: black;
}

#prev:hover {
    opacity: 1;
}

#next {
    background-color: white;
    opacity: .80;
    position: absolute;
    top: 50%;
    right: 15px;
    padding: 2px;
    border-radius: 50%;
    width: 36px;
    cursor: pointer;
    color: black;
}

#next:hover {
    opacity: 1;
}


input[type=text], input[type=password] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Set a style for all buttons */
button {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

    button:hover {
        opacity: 0.8;
    }

/* Extra styles for the cancel button */
.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
}

/* Center the image and position the close button */
.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}

img.avatar {
    width: 40%;
    border-radius: 50%;
}

.container {
    padding: 16px;
}

span.psw {
    float: right;
    padding-top: 16px;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 60px;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
    border: 1px solid #888;
    width: 40%; /* Could be more or less, depending on screen size */
}

/* The Close Button (x) */
.close {
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: red;
        cursor: pointer;
    }

/* Add Zoom Animation */
.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes animatezoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
    span.psw {
        display: block;
        float: none;
    }

    .cancelbtn {
        width: 100%;
    }
}
.text {
    background-color: #4CAF50;
    color: white;
    font-size: 16px;
    padding: 16px 32px;
}


#videos video {
    max-width: 26vw;
    width: 400px;
    float: left;
    display: block;
    margin: 5px 0;
    opacity: 100;
    display: block;
}

#video-gallery {
    width: 100%;
}

.banner{
    position:relative;
    width:1200px;
    height:400px;
}

.contentWrap{
    position:relative;
}

input[type=checkbox] {
    z-index: 9998;
    position: absolute;
    width: 40px;
    height: 40px;

}
@media screen and (max-width: 980px) {
    .contentWrap {
        position: relative;
    }

    .btn, .btn-primary {
        width:100%;
    }
        .btn, btn-primary:target {
            margin: 0px 0px 40px 0px;
        }
    input[type=checkbox] {

        position: relative;
        z-index: 9998;
        top: 51px;

    }
}

@media screen and (max-width:640px){
    image{
        width:100%;
        height:auto;
    }
}


body {
    margin: 0;
}

.topnav {
    overflow: hidden;
    background-color: #f4afce;
}

    .topnav a {
        float: left;
        display: block;
        color: #f2f2f2;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
    }

        .topnav a:hover {
            background-color: #ddd;
            color: black;
        }

.active {
    background-color: #4CAF50;
    color: white;
}

.topnav .icon {
    display: none;
}

@media screen and (max-width: 600px) {
    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }

}

@media screen and (max-width: 600px) {
    .topnav.responsive {
        position: relative;
        font-size: 2em;
        flex-shrink :initial;
    }

        .topnav.responsive .icon {
            position: absolute;
            right: 0;
            top: 0;
            font-size:0.4em;
        }

        .topnav.responsive a {
            float: none;
            display: block;
            text-align: left;
               font-size:0.4em ;
        }
        video{
            width:280px;
            height:200px;
        }
}