/*
Various custom styles.

Override third-party styling rules,
e.g. OneSignal subscription bell.
*/


/* --------------- OneSignal --------------- */
/* Avoid OneSignal subscription bell and Feedback bell superposition. */
#uvTab ~ #onesignal-bell-container.onesignal-reset.onesignal-bell-container-bottom-right {
    bottom: 15px;
}

@media (max-width: 999px) {
    #uvTab ~ #onesignal-bell-container.onesignal-reset.onesignal-bell-container-bottom-right {
        bottom: 0;
    }
}
/* --------------- End of OneSignal --------------- */


/* --------------- Photo Gallery (private photos) --------------- */

.manage-pictures-grid>li .icon.locked {
    background-image: url("../img/image-lock.png");
    background-position: 0 0;
    right: 0;
    bottom: 0;
    top: auto;
    left: auto;
    height: 38px;
    width: 38px;
}

@media (-webkit-min-device-pixel-ratio: 1.5), not all, not all {
    .manage-pictures-grid > li .icon.locked {
        background-size: inherit;
    }
}

i.icon.locked.hidden {
    display: none;
}

@media only screen and (min-width: 768px) {
    .manage-pictures-grid .icon.locked {
        right: 10px;
        bottom: 10px;
    }
}

.control-bar:not(.hide) {
    display:-webkit-inline-box;
    display:-ms-inline-flexbox;
    display:inline-flex;
}

/* TODO: rewrite this line of main css from "inline" to "inline-block" to prevent menu wrapping */
.list-horizontal>li {
    display: inline-block;
}
/* --------------- End Of Photo Gallery (private photos) --------------- */


/* --------------- Locked/Unlocked button on Profle Viewing Page --------------- */

.icon-private {
    background-image: url("../img/lock-retina.png");
    background-repeat: no-repeat;
    background-position: 0 -0.5px;
    background-size: 62px;
    overflow: hidden;
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: middle;
    zoom: 1;
    height: 30px;
    width: 30px;
}

.icon-private.unlocked {
    background-position: -30.5px -0.5px;;
}

.icon-private:hover {
    background-position: 0 -30.5px;
}

.icon-private.unlocked:hover {
    background-position: -30.5px -30.5px;
}
/* --------------- End of Locked/Unlocked button on Profle Viewing Page --------------- */

.image-count-status {
    width: 30%;
    float: right;
    text-align: right;
    display: inline-block;
}

.image-count-status-info {
    color: inherit;
    cursor: default;
}

.image-count-status-info:hover {
    color: inherit;
}

.image-count-adjustment {
    width: 70%;
    float: left;
    display: inline-block;
}

.image-queue-container {
    font-family: "FuturaStd Book",Arial,sans-serif;
    font-size: 0.8em;
    padding: 5px;
    width: 30%;
    display: inline-block;
}

.is-private {
    margin-left: 5px;
}

.is-private-label {
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 5px;
    
}

.modal-window {
    position: fixed;
    background-color: rgba(200, 200, 200, 0.75);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000000;
    /* opacity: 0; */
    /* pointer-events: none; */
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .modal-window:target {
    opacity: 1;
    pointer-events: auto;
  }
  
  .modal-window header {
    font-weight: bold;
  }
  
  .modal-window h1 {
    font-size: 150%;
    margin: 0 0 15px;
  }

.interstitial-modal-hide {
    display: none !important;
}

.show-interstitial {
    cursor: pointer;
    position: relative;
}

.show-interstitial video {
    max-width: 100%;
}

.show-interstitial-fake-box {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.modal-window .show-interstitial-fake-box {
    display: none;
}

#interstitial-content {
    z-index: 1000;
    background-color: #efefef;
    padding: 10px;
    max-height: 85%;
    overflow: auto;
}

#interstitial-content p:last-of-type {
    margin: 0;
}

#interstitial-content img {
    display: block;
}

#interstitial-content video {
    display: block;
}

.modal-background {
    background: grey;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    max-width: 100%;
    opacity: 0.6;
}

.output-container video {
    width: 100%;
}
