#MySkin #myProgress {
    position: relative;
    width: 100%;
    height: 5px;
}

#MySkin #myBar {
    position: absolute;
    width: 0%;
    height: 100%;
}

#MySkin div.thumb-container img {
    /* height: 180%; */
    /* width: auto; */
    text-align: center;
    cursor: pointer;
    position: absolute;
    left: 50%;
    top: 50%;
    /* height: 100%; */
    /* width: auto; */
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#MySkin div.thumb-container img.portrait {
    width: 100%;
    height: auto;
}

#MySkin div.thumb-container img.quadratic {
    width: 100%;
    height: 100%;
}

#MySkin * {
    box-sizing: border-box;
    /*color:#535255;*/
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;

}

#MySkin .button {

    border: none;
    padding: 0px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    cursor: pointer;
    border-radius: 2px;
    height: 25px;
}

#non-embedded body {
    width: 100%;
    height: 100%;
    margin: 0 !important;
}

#MySkin img {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
    opacity: 0;
    -moz-transition: opacity 0.5s; /* Firefox 4 */
    -webkit-transition: opacity 0.5s; /* Safari and Chrome */
    -o-transition: opacity 0.5s;
    transition: opacity 0.5s;

}

#MySkin video {
    width: 100%;
    height: auto;
}

#MySkin .center {
    text-align: center;
    width: 100%;
}

#MySkin .left {
    display: none;
    cursor: pointer;
    margin-left: 50%;
    font-size: 30px;
}

#MySkin.jAlbum {

    margin: 0 auto !important;
}

#MySkin #jAlbum-header {
    width: 100%;
    height: auto;
    display: none;
    text-align: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 5%;
}

#MySkin #jAlbum-header .album-title {
    position: relative;
    text-align: center;
    width: 100%;
    margin-top: auto;
    margin-bottom: 0px;
}

#MySkin #jAlbum-header h3 {
    font-size: 150%;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif !important;
    text-align: center !important;

    position: -1em;
    z-index: 1;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    text-transform: uppercase;

}

#MySkin #jAlbum-header img {
    width: 150%;
    z-index: -1;
    height: 500px;
    opacity: 1;

}

#MySkin hr.style-one {
    border: 0;
    height: 1px;
}

#MySkin #jAlbum-header:after {
    margin-bottom: 100px;
}

#MySkin .folder-list ul li {
    text-align: left;
    margin: 0;
    height: 30px;
    width: auto;
    display: block;
}

#MySkin #nav-bar {
    width: 100%;
    display: block;
    text-align: center;
    height: 25px;
}

#MySkin .folder-list ul li h3 {
    text-align: left;
    margin: 0 !important;
    height: 30px !important;
    width: auto !important;
    display: block !important;
}

#MySkin .main-block {
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    text-align: center;
}

#MySkin .content {
    z-index: 0;
}

#MySkin .info-box {
    padding-top: 10%;
    z-index: 20;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    text-align: center;
    display: block;
    opacity: 0.8;
    cursor: pointer;
}

#MySkin .comment-box {
    text-align: center;
    display: none;
    z-index: 500;
    position: absolute;
    margin-bottom: 6px;
    margin-left: 6px;
    margin-right: 6px;
    bottom: 0px;
}

#MySkin #fullscreen {
    width: 100%;
    height: 100%;
    float: left;
    position: fixed;
    top: 0px;
    background-size: cover;
    z-index: 100;
    display: none;
}

#MySkin #fullscreen .fullscreen-box {
    cursor: pointer;
    z-index: 400;
    background-image: url('ajax-loader.gif');
    background-repeat: no-repeat;
    background-position: center;
}

#MySkin #fullscreen .video-control {
    width: 60px;
    height: 60px;
    position: absolute;
    cursor: pointer;
    z-index: 500;
    display: block;
    background-size: cover;
    background-color: transparent;
    background-image: url('play.png');
    opacity: 0;
}

#MySkin #fullscreen .close {
    position: absolute;
    padding: 0;
    top: 0;
    right: 0;
    background-size: cover;
    cursor: pointer;
    width: 28px;
    height: 28px;
    z-index: 500;
    margin: 4px;
    display: block;
    background-color: transparent;
    background-image: url('close.png');
    opacity: 0.4;

}

#MySkin #fullscreen .close:hover {
    height: 33px;
    width: 33px;
    opacity: 1;
}

#MySkin #fullscreen img {
    max-width: 100%;
    height: auto;
    width: 100%;
    margin: 0;

}

#MySkin #fullscreen .fullscreen-box video {
    object-fit: fill !important;
}

/* For mobile phones and basic settings: */
#MySkin [class*="thumb-box-"] {
    position: relative;
    float: left;
    margin-bottom: 1%;
    margin-top: 1%;
    margin-left: 1%;
    margin-right: 1%;
    width: 48%;
    max-height: 300px;

    overflow: hidden;
    -webkit-transition: border-color 0.1s linear; /* Saf3.2+, Chrome */
    -moz-transition: border-color 0.1s linear; /* FF3.7+ */
    -o-transition: border-color 0.1s linear; /* Opera 10.5 */
    transition: border-color 0.1s linear;
}

#MySkin [class*="thumb-box-"]:hover {
    z-index: 1;

    background-color: #2b2b2c;
    -webkit-box-shadow: 0px 0px 20px 9px rgba(0, 0, 0, 0.77);
    -moz-box-shadow: 0px 0px 20px 9px rgba(0, 0, 0, 0.77);
    box-shadow: 0px 0px 20px 9px rgba(0, 0, 0, 0.77);
    -webkit-transform: scale(1.1) 0.1s;
    -ms-transform: scale(1.1) 0.1s;
    -moz-transform: scale(1.1) 0.1s;
    transform: scale(1.1) 0.1s;
}

#MySkin [class*="folder-list"] {
    width: 100%;
    height: 500px;
    float: left;
}

#MySkin div.thumb-container {

    position: relative;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;

}

#MySkin div.thumb-container:hover {
    -webkit-transform: scale(1.1) 0.1s;
    -ms-transform: scale(1.1) 0.1s;
    -moz-transform: scale(1.1) 0.1s;
    transform: scale(1.1) 0.1s;

}

#MySkin div.thumb-container img {
    height: 180%;
    width: auto;
    text-align: center;
    cursor: pointer;

}

#MySkin div.thumb-container img.landscape {
    height: 100%;
}

#MySkin div.thumb-container img.portrait {
    width: 100%;

}

#MySkin div.thumb-container img.quadratic {
    width: 100%;
    height: 100%;
}

#MySkin div#media-controls{
    height: 25px;
    width: 200px;
    text-align: center;
    left: 50%;
    position: absolute;
    -webkit-transform: translate(-50%,0);
    -ms-transform: translate(-50%,0);
    transform: translate(-50%,0);
    padding-top: 4px;
}

#MySkin div#music-player {
    height: 25px;
    width: 25px;
    float: left;
    cursor: pointer;
    background-image: url('note.png');
    background-color: transparent;
    background-size: 25px 25px;

}

#MySkin #player-container{
    left: 0;
    right:0;
    bottom: 0;
    top:0;
    height: 25px;
    border-radius: 2px;
    float:left;
}


/*Mobile*/
@media only screen and (min-width: 569px) {
    #MySkin [class*="thumb-box-"] {
        width: 31%;
        float: left;

    }

    #MySkin #jAlbum-header h3 {
        font-size: 350%;
    }

    #MySkin #jAlbum-header #description {
        font-size: 20px;
        font-weight: bold;
    }

    #MySkin div.thumb-container img {
        -webkit-transition: border-color 0.1s linear; /* Saf3.2+, Chrome */
        -moz-transition: border-color 0.1s linear; /* FF3.7+ */
        -o-transition: border-color 0.1s linear; /* Opera 10.5 */
        transition: border-color 0.1s linear;
    }

}

/*Normal Screen*/
@media only screen and (min-width: 737px) {
    #MySkin #jAlbum-header {
        padding-top: 10%;

    }

    #MySkin #jAlbum-header .album-title {
        width: 40%;
    }

    #MySkin .folder-list {
        width: 26.5%;
        height: 500px;
    }

    #MySkin div.thumb-container img {
        height: 140%;
    }

    #MySkin .thumb-box-1 {
        width: 98%;

    }

    #MySkin .thumb-box-2 {
        width: 48%;

    }

    #MySkin .thumb-box-3 {
        width: 31.33%;

    }

    #MySkin .thumb-box-4 {
        width: 23%;

    }

    #MySkin .thumb-box-5 {
        width: 18%;

    }

    #MySkin .thumb-box-6 {
        width: 14.66%;

    }

    #MySkin .thumb-box-7 {
        width: 10.285%;

    }

    #MySkin .thumb-box-8 {
        width: 10.5%;
    }

    #MySkin .thumb-box-9 {
        width: 9.11%;

    }

    #MySkin .thumb-box-10 {
        width: 8%;
    }

    #MySkin .thumb-box-11 {
        width: 7.09%;
    }

    #MySkin .thumb-box-12 {
        width: 6.33%;
    }
}