/* MILKBOX CSS */
#mbox-overlay {
    background-color: #14171F; /* set the Milkbox overlay color // opacity: see the js options */;
    z-index: 50000;
    cursor: pointer;
}
/* Main box */
#mbox-mainbox {
    /* For default width and height, see the js options */
    top: 0; /* overwritten in the js options to properly position the main box when activated in a scrolled window */
    background-color: #fff; /* set the main box background color */
    border: 3px solid #fff; /* set the main box border */
    border-bottom-width: 0;
    padding: 0; /* set the main box padding */
}
/* Where the files actually are injected */
#mbox-filebox {
    margin: 0;
    padding: 0;
    border: none;
    overflow: hidden;
}
#mbox-filebox img,
#mbox-filebox iframe,
#mbox-filebox swf {
    border: none
}
/*this class is for styling the inner file box*/
/*these styles will be visible after the first is loaded */
.mbox-filebox-decorations {
    border: none;
    padding: 0;
}
/* *** BOTTOM *** */
/* container for controls and caption */
#mbox-bottom {
    /* set text options */
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;
    font-size: 12px;
    color: #656565;
    line-height: 1.4em;
    text-align: left;
    margin: 0 0 0 0;
    min-height: 50px;
}
/* controls/navigation */
/* be careful if you change buttons dimensions */
#mbox-controls {
    float: right;
    width: 0 !important;
    padding-top: 3px;
}
#mbox-count {
    display: none !important
}
#mbox-prev,
#mbox-next {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50%;
    opacity: 0.5;
}
#mbox-prev:after,
#mbox-next:after {
    border-color: #fff;
    border-style: double;
    border-width: 4px 4px 0 0;
    content: "";
    height: 2em;
    position: absolute;
    right: 2em;
    top: 50%;
    margin-top: -1em;
    -webkit-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
    width: 2em;
}



#mbox-prev {
    left: 0;
    right: auto;
}
#mbox-prev:after {
    left: 2em;
    right: auto;
    -webkit-transform: rotateZ(-135deg);
    transform: rotateZ(-135deg);
}
#mbox-next {
    right: 0;
    background-size: 20px 38px;
}
#mbox-close {
    position: absolute;
    top: 2em;
    right: 2em;
    height: 40px;
    width: 40px;
    opacity: 0.75;
    z-index: 1000;
    text-align: center;
    line-height: 30px;
}
#mbox-close:after {
    content: "\00d7";
    color: #fff;
    font-size: 3em;
}

.tmplPRODUCT #mbox-close:after,
.tmplPRODUCT #mbox-prev:after,
.tmplPRODUCT #mbox-next:after { border-color: #000; color: #000;}

#mbox-close:hover,
#mbox-prev:hover,
#mbox-next:hover,
#mbox-playpause:hover {
    opacity: 1
}
/* description */
#mbox-caption {
    display: none !important;
    color: #fff;
    padding: 5px 5%;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 22px;
    font-weight: 300;
    text-shadow: 1px 1px 1px #000;
    position: absolute;
    overflow-x: hidden; /* make sure the controls at the right remain accessible, even for small images with very large filenames: those would otherwise overlap those controls at right */
    height: 40px !important;
    overflow: hidden;
    margin-right: 0 !important;
    width: 90% !important;
    overflow: scroll;
    background-color: rgb(0, 0, 0) !important; /* The Fallback */
    background-color: rgba(0, 0, 0, 0.5) !important;
}
.mbox-loading {
    /*background: url(default/loader.gif) no-repeat center #14171f;*/
    padding: 10px;
    background-size: 24px 24px;
}
/* IMAGE: loading gif */
.mbox-reset {
    clear: both;
    height: 0;
    margin: 0;
    padding: 0;
    font-size: 0;
    overflow: hidden;
}
