#wppg-gallery-template-1 .clear{
    clear:both;
}

#wppg-gallery-display
{
        clear:both;
        width:100%;
        height:100%;
}
#wppg-gallery-display h1
{ 
        display:block;
        text-align:center;
}
#wppg-gallery-display .item
{
    max-width:180px;
    height:auto;
    margin:5px;
    float:left;
    border: 1px solid #CCCCCC;
    background-color:#FFFFFF;
}
#wppg-gallery-display .wppg-gallery-template1-top
{
    line-height: normal;
}

.wppg-gallery-template1-title
{
    font-size: 10px;
    font-weight: bold;
    padding: 0 0 10px;
    text-align: center;
}

#wppg-gallery-display .wppg-gallery-template1-bottom
{
    padding: 10px;
    background-color: #F1F1F1;
    border-top: 1px solid #DDDDDD;
}
.wppg-gallery-template1-thumb{
    padding: 10px;
    line-height: normal;
}
.wppg-gallery-template1-thumb img{
    width: 150px;
    height: 150px;
    background-color: #FFFFFF;
    border: 1px solid #A9A9A9;
    padding: 4px;
    border-radius:0;
    box-shadow: none;
}
.wppg-gallery-template1-thumb img:hover{
    background-color: #A9A9A9;
    border-color: #8F8F8F;
}
.wppg-gallery-template1-thumb a{
    line-height: normal;
}
.wppg-gallery-template1-view-button{
    text-align: center;
}
.wppg-gallery-template1-view-button input[type="button"]{
    margin: 0 !important;
    cursor: pointer !important;
    font-family: Helvetica,Arial,sans-serif !important;
    background-color: #B0B2B8 !important;
    background-image: none !important;
    border: 1px solid #A2A3A6 !important;
    border-radius: 3px 3px 3px 3px !important;
    box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
    color: #FFFFFF !important;
    font-size: 12px !important;
    font-weight: bold !important;
    line-height: 1.4 !important;
    padding: 5px 10px !important;  
}
.wppg-gallery-template1-view-button input[type="button"]:hover{
    background-color: #DBDBDB !important;
    border-color: #B3B3B3 !important;
    color: #4A4A4A !important;
}

.wppg_popup_view_details_section a{
    text-decoration: none;
}

#wppg-gallery-display .clear{
        clear:both;
}


.wppg-button {
    background: linear-gradient(#F7F6F7, #DFDBDF) repeat scroll 0 0 #DFDBDF !important;
    border-color: #C4C4C4 #B8B8B8 #ADADAD !important;
    border-radius: 2px !important;
    border-style: solid !important;
    border-width: 1px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 1px 0 rgba(255, 255, 255, 0.3) inset !important;
    color: #5E5E5E !important;
    cursor: pointer !important;
    display: inline-block;
    font-size: 13px !important;
    font-weight: bold !important;
    line-height: 20px !important;
    margin: 0 !important;
    outline: medium none !important;
    padding: 5px 15px !important;
    text-align: center !important;
    text-decoration: none !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
    vertical-align: baseline !important;
}
.wppg-button a {
    text-decoration: none !important;
}
.wppg-button:hover {
    background: none repeat scroll 0 0 #DBDBDB !important;
}
.wppg-button-disabled {
    background: linear-gradient(#F7F6F7, #DFDBDF) repeat scroll 0 0 #DFDBDF !important;
    border-color: #C4C4C4 #B8B8B8 #ADADAD !important;
    border-radius: 2px !important;
    border-style: solid !important;
    border-width: 1px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 1px 0 rgba(255, 255, 255, 0.3) inset !important;
    color: #ADADAD !important;
    cursor: default !important;
    display: inline-block;
    font-size: 13px !important;
    font-weight: bold !important;
    line-height: 20px !important;
    margin: 0 !important;
    outline: medium none !important;
    padding: 5px 15px !important;
    text-align: center !important;
    text-decoration: none !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
    vertical-align: baseline !important;
}
.wppg-button-disabled a {
    text-decoration: none !important;
}
.wppg-button-disabled:hover {
    box-shadow: none !important;
}