/*
 *This stylesheet contains basic styles for stylin basic element used in each project in +- the same form
 *
 */

 /*
  * App messsages popup
  */
.app-messages {
    overflow: visible;
    position: fixed;
    top: 0;
    z-index: 999;
    width: 100%;
}
.app-messages .spacer {
    overflow: visible;
    position: relative; /* .panel */
    margin: 0 auto;
    width: 334px;
}
.app-messages .panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 334px;
    padding-bottom: 27px;
    background: url(/img/basic/app_message_bottom_bg.png) no-repeat bottom center;
}
.app-messages .panel .bg {
    padding: 14px 31px 4px 31px;
    background: url(/img/basic/app_message_bg.png) repeat-y;

}
.app-messages .panel a.close {
    float: right;
    cursor: pointer;
    width: 22px;
    height: 22px;
    text-decoration: none;
    background: url(/img/basic/close.png) no-repeat center;    
}
.app-messages .panel a.close:hover {
    text-decoration: none;
}
.app-messages .panel .app-message {
    color: black;
    margin: 10px 0px;
    min-height: 16px;
    background-position: 0px 0px;
    background-repeat: no-repeat;
    font-size: 14px;
    font-weight: bold;
    padding: 0 0 5px 0;
}
.app-messages .app-message.error {
    color: #A80D2D;
}

/* snippet photogallery */

.snpt-photogallery {
    clear: both;
    position: relative;
    left: 2px;
    margin-top: 2px;
}

.snpt-photogallery .row {
    clear: both;   
    min-height: 50px;
    overflow: hidden;
}

.snpt-photogallery .row .tile {
    border: 1px solid #DDDDDD;
    float: left;
    margin: 0 6px 6px 0;
}

.snpt-photogallery .row img {
    margin: 0px 6px 0px 0px;
}

.-run-mask-progress {  
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);    
    width: 90%;
    height: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
    box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
}
.-run-mask-progress .-run-mask-progress-bar {    
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: #e1809c;
    -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
    -webkit-transition: width .6s ease;
    -o-transition: width .6s ease;
    transition: width .6s ease;    
    background-image: -webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
    background-image: -o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
    background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
    -webkit-background-size: 40px 40px;
    background-size: 40px 40px;    
    -webkit-animation: -run-progress-bar 2s linear infinite;
    -o-animation: -run-progress-bar 2s linear infinite;
    animation: -run-progress-bar 2s linear infinite;    
}
@-webkit-keyframes -run-progress-bar {
  from {
    background-position: 40px 0;
  }
  to {
    background-position: 0 0;
  }
}
@-o-keyframes -run-progress-bar {
  from {
    background-position: 40px 0;
  }
  to {
    background-position: 0 0;
  }
}
@keyframes -run-progress-bar {
  from {
    background-position: 40px 0;
  }
  to {
    background-position: 0 0;
  }
}

