﻿/**** Main Layout *****/
#pg_logoutButton{
    float:right;
}

.pg_userNameTitle{
    float:right;
}

.pg_container{
    height:100%;
}

.pg_navbar{
    width:100%;
    float:left;
    height:60px;
    background:#555454;
    color:white;
    padding:5px;
    box-sizing:border-box;
}

.pg_navbar a{
    color:white;
}

.pg_navbar img{
    max-height:120%;
    display:inline;
}

.pg_navbar a:hover{
    color:#d8d8d8;    
}
@media screen and (max-width: 480px) {
    .pg_brandText{
        display:none;
    }
}

.pg_toolbar{
    height:40px;
    width:100%;
    float:left;
    box-sizing:border-box;
    padding: 0 5px;
    background:#4cc3c2;
    color:white;
}

.pg_toolbar .pg_selectedLabel{
    height:40px;
    float:right;
    margin-left:20px;
    color:white;
}

@media screen and (max-width: 480px) {
    .pg_toolbar .pg_selectedLabel {
        margin-left:30px;
    }
}

.pg_toolbar .pg_selectedLabel i{
    line-height:40px;
}

.pg_toolbar .pg_selectedLabel i:hover{
    
    color:black;
}

.pg_contentContainer{
    position:absolute;
    bottom:0px;
    width:100%;
    top:100px;
    box-sizing:border-box;
    background:#d8d8d8;
    background:linear-gradient(#fbfbfb,#d8d8d8);
}

.pg_sidebar{
    width:20%;
    height:100%;
    float:left;
    padding:5px;
    box-sizing:border-box;
    overflow:auto;
    display:block;
    border-right:1px solid grey;
    background:#ffffff;
}

.pg_logoWrapper{
    text-align:center;
    margin-bottom:10px;
}
.pg_logoWrapper img{
    max-width:100%;
}

.pg_searchForm{    
    display:none;
}

.pg_sidebarLoading{
    display:block;
    text-align:center;
}

.pg_resultsWrapper{
    float:left;
    padding:5px;
    width:80%;
    overflow-y:auto;
    
    height:100%;
}

.pg_menu{
    display:none;
}

@media screen and (max-width: 1024px){
    .pg_sidebar {
        position:absolute;
        left:0;
        z-index:999;        
        box-shadow: 2px 1px 5px rgba(16, 16, 16, 0.52);
        width:50%;
    }

    .pg_resultsWrapper{        
        width:100%;
        left:0;
    }

    .pg_menu{
        display:inline-block;
        height:40px;
        float:left;        
    }

    .pg_menu i{
        line-height:40px;
    }
}

@media screen and (max-width: 480px){
    .pg_sidebar {
        position:absolute;
        left:0;
        z-index:999;        
        width:100%;
        box-shadow: 2px 1px 5px rgba(16, 16, 16, 0.52);
    }

    .pg_resultsWrapper{        
        width:100%;
        left:0;
        display:none;
    }
    .pg_menu{
        display:inline-block;
        height:40px;
        float:left;
        line-height:40px;
    }
}

/****** Login page****/
.pg_loginWrapper{
    width:760px;
    margin:0 auto;
}

@media screen and (max-width: 480px) {
    .pg_loginWrapper{
        width:100%;
    }
}

@media screen and (max-width: 1024px) {
    .pg_loginWrapper{
        width:100%;
        padding:5px;
    }
}


/****** Select2 Overrides for bootrap theme****/
.pg_select2Label{
    display:block;
}

div.select2-container{
    margin-bottom:15px;
    width:100%;
}

/**** Picture Results View *****/

.pg_backToResults{
    float:left;
    color:#ffffff;
    line-height:40px;
    font-size:large;
}

#pg_selectedBadge {
    background: #ffffff;
    color: #322e52;
    vertical-align: top;
    margin-top: 1px;
}

.pg_thumbnail .pg_removeIcon {
    top: 0;
    right: 0;
    position: absolute;
    z-index: 3;
    background: #ffffff;
    padding: 2px;
    padding-right: 5px;
    padding-left: 4px;
}

.pg_thumbnail .pg_removeIcon:hover {
    color: #4cc3c2;
}

.pg_thumbnail .pg_addIcon {
    top: 0;
    right: 0;
    position: absolute;
    z-index: 3;
    background: none;
    color: #ffffff;
    padding: 2px;
    padding-right: 5px;
    padding-left: 4px;
}

.pg_thumbnail .pg_addIcon:hover {
    color: #4cc3c2;
}

.pg_thumbnail .pg_infoIcon {
    top: 0;
    left: 0;
    position: absolute;
    z-index: 3;
    background: none;
    color: #ffffff;
    cursor: pointer;
    padding: 2px;
    padding-right: 5px;
    padding-left: 4px;
}

.pg_thumbnail .pg_infoIcon:hover {
    color: #4cc3c2;
}

.pg_thumbnail .pg_rotateAntiClockwiseIcon {
    top: 30px;
    left: 0px;
    position: absolute;
    z-index: 3;
    background: none;
    color: #ffffff;
    cursor: pointer;
    padding: 2px;
    padding-right: 5px;
    padding-left: 4px;
}

.pg_thumbnail .pg_rotateAntiClockwiseIcon:hover {
    color: #4cc3c2;
}

.pg_thumbnail .pg_rotateClockwiseIcon {
    top: 30px;
    right: 0px;
    position: absolute;
    z-index: 3;
    background: none;
    color: #ffffff;
    cursor: pointer;
    padding: 2px;
    padding-right: 5px;
    padding-left: 4px;
}

.pg_thumbnail .pg_rotateClockwiseIcon:hover {
    color: #4cc3c2;
}

.pg_thumbnail a{
    color:#4cc3c2;
}

.pg_closeButton{
    position:absolute;
    top:-95px;
    right:5px;
    z-index:10;
    display:none;
}

.pg_thumbnail img{
    height:160px;
    margin:5px;
    float:left;
}

.pg_thumbnail {
    position: relative;
    float: left;
    background-color: #4cc3c2;
    align-content: center;
}

#pg_fullImageWrapper{
    width:100%;    
    height:100%;
    display:none;
}

.pg_fullImage{
    max-width:100%;       
    display:none; 
    max-height:100%;
}

.pg_fullImageControlWrapper{
    height: 100px;
    position: absolute;
    background:#000000;
    color:#ffffff;    
    top: 40%;
    line-height:100px;
    font-size:100px;
    width:1em;
    cursor:pointer;
}

.pg_fullImageThumbnail{
    display:none;
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
}

.pg_fullImageThumbnail  .pg_caption{
    position:absolute;
    bottom:0;
    right:0;
    background:rgba(0, 0, 0, 0.85);
    width:100%;
    padding:2%;
    display:none;
    text-align:center;
    color:#fff !important;
    z-index:2;
     
}

.pg_fullImageThumbnail .pg_infoIcon {
    color: #ffffff;
    top: -95px;
    right: 50px;
    position: absolute;
    cursor: pointer;
    padding: 3px;
}

.pg_fullImageThumbnail .pg_addIcon {
    position: absolute;
    top: -95px;
    right: 80px;
    z-index: 3;
    background: none;
    color: #ffffff;
    padding: 3px;
}

.pg_fullImageThumbnail .pg_removeIcon {
    position: absolute;
    top: -95px;
    right: 80px;
    z-index: 3;
    background: none;
    color: #ffffff;
    padding: 3px;
}

@media screen and (max-width: 480px) {
    .pg_fullImageControlWrapper{
        display:none;
    }
}

a:hover.pg_fullImageControlWrapper{
    text-decoration:none;
    color:#ffffff;
}

.pg_prevFullImage{
    left:0;
    z-index:33;
}

.pg_nextFullImagePage{
    display:none;
}

.pg_prevFullImagePage{
    display:none;
    left:0;
    z-index:999;
}

.pg_fullImageNextWrapper{
    right:0;
}

.pg_coverBox{    
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    color: #000000;
    display: none;
    z-index:999;
}

.pg_coverBoxText{    
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1em;
    margin: auto;
    text-align: center;
}

.pg_thumbnail .pg_caption {
    position:absolute;
    bottom:0;
    right:0;
    background:rgba(0, 0, 0, 0.85);
    width:100%;
    min-height:50%;
    padding:2%;
    display: none;
    text-align:center;
    color:#fff !important;
    z-index:2;
    font-size:smaller;  
}

.pg_imagesFound{
    float:left;
}

.pg_selectPhotosLink{
    float:right;
    margin-left:10px;
    cursor:pointer;
}

.pg_selectPhotosLink:hover{
    text-decoration:underline;
}

/******** Full Screen Mode********/
.pg_fullScreen.pg_navbar .pg_userNameTitle,
.pg_fullScreen.pg_navbar .pg_logout,
.pg_fullScreen.pg_navbar .pg_accountList{
    display:none;    
}

.pg_fullScreen.pg_toolbar div{ 
    display:none;
}

.pg_fullScreen.pg_container{
    background:black;
}

.pg_fullScreen.pg_sidebar{
    display:none;
}

.pg_fullScreen.pg_closeButton{
    display:block;
}

.pg_fullScreen.pg_resultsWrapper {
    width: 100%;
    text-align: center;
}

.pg_alertsWrapper {
    width: 100%;
    text-align: center;
    padding: 5px;
    padding-bottom: 0px;
}

.close {
    z-index: 999;
}

/************** Register **************/
.pg_registerWrapper{
    padding:10px;
}

/************* Selected pictures view ******/
#pg_selectedPhotos{
    display:inline;
}

.pg_selectedUnselectAllPhotos{
    margin-right:5px;
}