.albumcont {
    width:calc(100% - 20px);
    height:405px;
    border: 1px #333 solid;
    margin:10px;
    margin-bottom:10px;
    overflow:auto;
}

.albumcont h3 {
    font-weight:300;
    text-align: center;
    margin: 0 auto;
    background: #333;
    padding:5px;
    color:white;
}

a.alb_link {
    text-decoration: none;
}

p.err {
    background:pink;
    padding:10px;
    color:red;
    border-radius: 3px;
}

img.photo {
    width: calc(80% - 10px);
    margin:auto 10%;
    object-position: top center;
    object-fit: contain;
    max-height:800px
}

img.album-ph {
    width:24.99999%;
    height:350px;   
    padding:0px;
    margin:auto;
    float:left;
    object-fit: cover;
}

a.tag {
    text-decoration: none;
    padding:4px;
    background: #c2f0c2;
    border-radius: 3px;
    color: #085d08;
    margin:3px;
    float:left;
    font-size: 10pt;
    font-weight: 300
}
#modle1 {

    width:100%;
    height:100%;
    background: #000;
    position:fixed;
    top:0;
    opacity:.70;
    z-index:300
}

#modle2 {
    width:100%;
    height:100%;
    position:fixed;
    top:0;
    z-index:300;
    float:left;
}
div.photo-row {
    

height:calc(100% - 120px)}

div.photo-col {
    height:calc(100%);
}
div.photo-contain {
    float:left;
    width:100%;
    height:100%;
    position:relative;
}
#closer {
    position:absolute;
    top:60px;
    color: #333;
    right:50px;
    float:right;
    z-index: 300
}

@media (max-width:900px) {

    img.album-ph {
        width:50%;
        border-radius: 3px 0 0 3px;
        height:229px; 
    }
    div.photo-row {
    

height:calc(50%)}
    
    div.photo-col {
    height:calc(50%);
}
    div.photo-contain {
    float:left;
    width:100%;
    height:430px;
    position:relative;

}
    img.photo {
        width: calc(100%);
        margin:5px;
        max-height: 400px;
        object-fit: contain;
    }
    #closer {
        position:fixed;
        top:40px;
        color: white;
        right:50px;
        float:right;
        z-index: 300
    }
.albumcont {

    height:500px;}
}