body {
    padding-top: 100px;
    background: #ffffff;
}
.heading {
    background: rgb(0, 0, 0);
    color: #ffffff;
    padding: 1em;
    height: 60px;
    width: 100%;
    position: fixed;
    top: 0;
    /*    z-index: 9;*/
}
#buttons {
    padding: 1em 0;
    height: 60px;
    position: relative;
    background: #ffffff;
    z-index: 99;
}
#buttons button {
    border: 1px solid black;
    padding: .2em .6em;
    border-radius: 5px;
    letter-spacing: .05em;
    float: left;
    margin-left: 0.5em;
}
#buttons button:hover {
    border: 1px solid grey;
    background: #000000;
    color: #ffffff;
}
#buttons.stickyBtn {
    position: fixed;
    width: 100%;
    top: 0;
}
.responsiveContainer {
    position: relative;
    background: #ffffff;
    width: 100%;
    margin: 0 auto;
    list-style: none;
}
.responsiveContainer img {
    float: left;
    width: 24.4%;
    height: auto;
    margin: 2px;
    cursor: pointer;
}
.clearFloat img {
    float: none;
}
.dateView {
    display: block;
    padding: 1em 0.4em;
    clear: left;
}
.monthView img {
    width: 14.25%;
    margin: 0px;
}
.yearView img {
    width: 10%;
    margin: 0px;
}
@media only screen and (min-width: 320px) and (max-width: 667px) {
    #buttons button {
        font-size: .8em;
    }
    .responsiveContainer img {
        width: 33.3%;
        height: auto;
        margin: 0px;
    }
    .monthView img {
        width: 25%;
        margin: 0px;
    }
    .yearView img {
        width: 20%;
        margin: 0px;
    }
}
.photoApp {
    overflow: hidden!important;
}
#photoContainer img {
    border: none!important;
}
#appContainer {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2345!important;
    overflow: hidden;
    -webkit-user-select: none;
    /* Chrome all / Safari all */
    -moz-user-select: none;
    /* Firefox all */
    -ms-user-select: none;
    /* IE 10+ */
    user-select: none;
    /* Likely future */
    opacity: 1;
    -webkit-transition: opacity 0.4s ease;
    -moz-transition: opacity 0.4s ease;
    -o-transition: opacity 0.4s ease;
    -ms-transition: opacity 0.4s ease;
    transition: opacity 0.4s ease;
    background: #fff;
}
#appContainer .photoEach {
    position: relative;
}
#photoContainer {
    height: 99%;
    opacity: 0;
    width: 100%;
    position: relative;
    transition: opacity 1s ease 0s;
    -moz-transition: opacity 1s ease 0s;
    -webkit-transition: opacity 1s ease 0s;
    -o-transition: opacity 1s ease 0s;
    -ms-transition: opacity 1s ease 0s;
}
#photoContainer.opacity {
    opacity: 1;
    -moz-transition: opacity 1s ease 0s;
    -webkit-transition: opacity 1s ease 0s;
    -o-transition: opacity 1s ease 0s;
    -ms-transition: opacity 1s ease 0s;
    transition: opacity 1s ease 0s;
}
#photoContainer.opacity .thumbnailsContainer {
    opacity: 1;
}
#photoContainer.noOpacity {
    opacity: 0;
    transition: opacity 0.5s ease 0s;
    -moz-transition: opacity 0.5s ease 0s;
    -webkit-transition: opacity 0.5s ease 0s;
    -o-transition: opacity 0.5s ease 0s;
    -ms-transition: opacity 0.5s ease 0s;
}
#photos {
    height: 85%;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    white-space: nowrap;
}
#photos .photoEach {
    background: url(../imgs/load.gif) no-repeat scroll center center transparent;
    display: inline-block;
    height: 100%;
    width: 100%;
    text-align: center;
}
#photos .photoEach.complete {
    background-image: none;
}
#photoContainer.loadED .photoEach > * {
    opacity: 0;
}
#photoContainer.loadED .photoEach.complete > * {
    opacity: 1;
}
#photos .photoEach {
    position: absolute;
    opacity: 0.4;
}
#photos .photoEach:before {
    content: "";
    display: inline-block;
    height: 50%;
    width: 1px;
    margin-right: -1px;
}
#photoContainer.opacity .photoEach .photo {
    transform: scale3d(1, 1, 1);
    -moz-transform: scale3d(1, 1, 1);
    -ms-transform: scale3d(1, 1, 1);
    -webkit-transform: scale3d(1, 1, 1);
    -o-transform: scale3d(1, 1, 1);
}
.photoEach .photo {
    transform: scale3d(0.7, 0.7, 0.7);
    -moz-transform: scale3d(0.7, 0.7, 0.7);
    -ms-transform: scale3d(0.7, 0.7, 0.7);
    -webkit-transform: scale3d(0.7, 0.7, 0.7);
    -o-transform: scale3d(0.7, 0.7, 0.7);
    -webkit-transition: -webkit-transform 1s ease 0s, opacity 0.5s ease 0s;
    -moz-transition: -moz-transform 1s ease 0s, opacity 0.5s ease 0s;
    -o-transition: -o-transform 1sease 0s, opacity 0.5s ease 0s;
    -ms-transition: -ms-transform 1s ease 0s, opacity 0.5s ease 0s;
    transition: transform 1s ease 0s, opacity 0.5s ease 0s;
}
#photos .photoEach {
    transform: translate3d(100%, 0px, 0px);
    -moz-transform: translate3d(100%, 0px, 0px);
    -ms-transform: translate3d(100%, 0px, 0px);
    -webkit-transform: translate3d(100%, 0px, 0px);
    -o-transform: translate3d(100%, 0px, 0px);
}
#photos.appRunning .photoEach {
    opacity: 0;
}
#photos .photoEach.activePhoto {
    opacity: 1 !important;
    transform: translate3d(0px, 0px, 0px) !important;
    -moz-transform: translate3d(0px, 0px, 0px) !important;
    -ms-transform: translate3d(0px, 0px, 0px) !important;
    -webkit-transform: translate3d(0px, 0px, 0px) !important;
    -o-transform: translate3d(0px, 0px, 0px) !important;
}
#photos .photoEach.prevPhoto {
    opacity: 0;
    transform: translate3d(-100%, 0px, 0px);
    -moz-transform: translate3d(-100%, 0px, 0px);
    -ms-transform: translate3d(-100%, 0px, 0px);
    -webkit-transform: translate3d(-100%, 0px, 0px);
    -o-transform: translate3d(-100%, 0px, 0px);
}
#photos .photoEach.nxtPhoto {
    opacity: 0;
    transform: translate3d(100%, 0px, 0px);
    -moz-transform: translate3d(100%, 0px, 0px);
    -ms-transform: translate3d(100%, 0px, 0px);
    -webkit-transform: translate3d(100%, 0px, 0px);
    -o-transform: translate3d(100%, 0px, 0px);
}
#photos.appRunning .photoEach,
#ease-inphotos.appRunning .activePhoto,
#photos.appRunning .prevPhoto,
#photos.appRunning .nxtPhoto {
    -webkit-transition: -webkit-transform 0.5s ease 0s, opacity 1s ease 0s;
    -moz-transition: -moz-transform 0.5s ease 0s, opacity 1s ease 0s;
    -o-transition: -o-transform 0.5s ease 0s, opacity 1s ease 0s;
    -ms-transition: -ms-transform 0.5s ease 0s, opacity 1s ease 0s;
    transition: transform 0.5s ease 0s, opacity 1s ease 0s;
}
#photos .photoEach img {
    display: inline-block;
    max-height: 100%;
    max-width: 100%;
    cursor: pointer;
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
    vertical-align: middle;
}
#photoContainer .thumbnailsContainer .thumbnailPhotos {
    -webkit-transition: -webkit-transform 1s ease-in 0s;
    -moz-transition: -moz-transform 1s ease-in 0s;
    -o-transition: -o-transform 1s ease-in 0s;
    -ms-transition: -ms-transform 1s ease-in 0s;
    transition: transform 1s ease-in 0s;
}
@-webkit-keyframes lastPhoto {
    0% {
        left: 0;
    }
    50% {
        left: -50px;
    }
    100% {
        left: 0;
    }
}
@keyframes lastPhoto {
    0% {
        left: 0;
    }
    50% {
        left: -50px;
    }
    100% {
        left: 0;
    }
}
@-webkit-keyframes firstPhoto {
    0% {
        left: 0;
    }
    50% {
        left: 50px;
    }
    100% {
        left: 0;
    }
}
@keyframes firstPhoto {
    0% {
        left: 0;
    }
    50% {
        left: 50px;
    }
    100% {
        left: 0;
    }
}
.photoEach .photo.lastPhoto {
    -webkit-animation: lastPhoto 0.4s;
    animation: lastPhoto 0.4s;
    position: relative;
}
.photoEach .photo.firstPhoto {
    -webkit-animation: firstPhoto 0.4s;
    animation: firstPhoto 0.4s;
    position: relative;
}
#photoContainer .thumbnailsContainer {
    position: absolute;
    bottom: 0;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #FFFFFF;
    -webkit-transition: max-height 0.4s ease-in-out;
    -moz-transition: max-height 0.4s ease-in-out;
    -o-transition: max-height 0.4s ease-in-out;
    -ms-transition: max-height 0.4s ease-in-out;
    transition: max-height 0.4s ease-in-out;
    z-index: 9;
    max-height: 15%;
    opacity: 0;
}
#photoContainer .thumbnailsContainer .thumbnailPhotos {
    max-height: 200px;
    overflow-y: auto;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}
#photoContainer .thumbnailsContainer .thumbPhoto {
    display: inline-block !important;
    vertical-align: middle;
    text-align: center;
    margin-bottom: 4px;
/*    margin-right: 0px;*/
    height: 50px;
    width: 80px;
    opacity: 0.7;
    filter: alpha(opacity=70);
    overflow: hidden;
    border-radius: 0px;
    cursor: pointer;
    -webkit-transition: border-color linear .2s, opacity linear .2s;
    -moz-transition: border-color linear .2s, opacity linear .2s;
    -o-transition: border-color linear .2s, opacity linear .2s;
    -ms-transition: border-color linear .2s, opacity linear .2s;
    transition: border-color linear .2s, opacity linear .2s;
}
@media (min-width: 800px) {
    #photoContainer .thumbnailsContainer .thumbPhoto {
        max-width: 100px;
        max-height: 100px;
    }
}
#photoContainer .thumbnailsContainer .thumbPhoto > img {
    height: auto;
    max-width: 100%;
}
#photoContainer .thumbnailsContainer .thumbPhoto.activeThumbnail,
#photoContainer .thumbnailsContainer .thumbPhoto:hover {
    opacity: 1;
    filter: alpha(opacity=100);
    border-color: #ffffff;
}
#photoContainer .thumbnailsContainer .thumbPhoto.activeThumbnail{
    
    margin-left: 10px;
    margin-right: 10px;
    width: 80px;
}
#header {
    color: #000000;
    height: 40px;
    position: absolute;
    font-size: 1.1em;
    left: 0;
    top: 0;
    width: 100%;
    vertical-align: middle;
    z-index: 3390;
    padding: 10px 20px;
    background-color: RGBA(255, 255, 255, 1);
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    -ms-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
    -webkit-backface-visibility: hidden;
}
#photoCount {
    height: 28px;
    position: absolute;
    left: 20px;
    top: 10px;
    text-align: center;
    vertical-align: middle;
    padding-top: 5px;
    z-index: 3491;
}
#photoDate{
    height: 28px;
    position: absolute;
    left: 50%;
    margin-left: -50px;
    top: 10px;
    text-align: center;
    vertical-align: middle;
    padding-top: 5px;
    z-index: 3491;
}
#closeApp {
    height: 28px;
    position: absolute;
    right: 20px;
    top: 10px;
    width: 58px;
    text-align: center;
    vertical-align: middle;
    padding-top: 5px;
    z-index: 3490;
    cursor: pointer;
}
#closeApp:hover {
    text-decoration: none;
    background-color: RGB(0, 0, 0);
    color: #ffffff;
}
