#gm_community_gallery,
#gm_pagination {
    width: 1167px;
/*    text-align: left; */
    margin: 15px auto;
}

#gm_community_gallery {
    text-align: left;
}

.image_card {
    height: 223px;
}

.gm_hidden_info {
    display: none;
}

.image_frame > a.gm_image_hover:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
}

.image_frame a span {
    display: block;
    font-size: 20px;
    padding-left: 15px;
    padding-top: 15px;
    text-align: left;
    max-width: 85%;
    white-space: pre-wrap;
}

.image_card #gm_hidden_info {
    display: none;
}

.image_card .gm_hidden_url {
    display: none;
}

/* **********************************
 * - View specific images without JS
 * **********************************/

#gm_image_view {
    text-align: center;
}

#gm_image_view #gm_image_wrapper {
    background-color: #efefef;
    display: inline-block;
}

#gm_image_wrapper > div {
    text-align: left;
}

h3#gm_title {
    font-size: 20px;
    padding-left: 5px;
    padding-top: 10px;
    text-align: left;
}

#gm_image, #gm_info {
/*    border: 1px solid rgba(0, 0, 0, 0.3); */
/*    display: inline-block; */
    max-width: 700px;
    vertical-align: top;
}

#gm_info {
    box-sizing: border-box;
/*    max-width: 400px;
    min-width: 400px; */
    padding: 15px;
}

#gm_message p {
    margin: 0 0 10px;
}

#gm_info #gm_comment {
    border-left: 5px solid #3875D7;
    margin-top: 5px;
    padding-left: 10px;
}

/* ***********
 * - Lightbox
 * **********/

#gm_drop_canvas {
    background-color: rgba(0, 0, 0, 0.8);
    background-size: cover;
    height: 100vh;
    left: 0;
    min-height: 100%;
    min-width: 100%;
    position: fixed;
    top: 0;
    z-index: 100;
    /* Prevent double clicks from highlighting the embeded nav arrows */
    -webkit-user-select: none; /* webkit (safari, chrome) browsers */
    -moz-user-select: none; /* mozilla browsers */
    -khtml-user-select: none; /* webkit (konqueror) browsers */
    -ms-user-select: none; /* IE10+ */
}



#gm_canvas_wrapper {
    display: block;
    height: auto;
    left: 0;
    position: fixed;
    text-align: center;
    top: 100px;
    width: 100%;
    z-index: 10000;
}

#gm_canvas_wrapper #gm_canvas {
    background-color: snow;
    margin: 0 auto;
    padding: 5px;
    position: relative;
    text-align: center;
    top: 0;
    width: 500px;
    z-index: 999999;
}

#gm_canvas img {
    max-height: 100%;
}

#gm_canvas .fa {
    top: 40%;
    position: relative;
}

.fast-spin {
    -webkit-animation: fa-spin .5s infinite linear;
    animation: fa-spin .5s infinite linear;
}


#gm_img_nav {
    height: 100%;
    position: fixed;
    top: 0;
    width: 100%;
}

#gm_img_nav #gm_nav_left {
    float: left;
    height: auto;
    left: 0;
    margin-left: 5%;
    position: absolute;
}

#gm_img_nav > div {
    position: absolute;
    margin-right: 5%;
    margin-left: 5%;
    height: auto;
    display: inline-block;
    top: 0;
    width: 100px;
    z-index: 1003;
}

#gm_img_nav #gm_nav_left {
    left: 0;
}

#gm_img_nav #gm_nav_right {
    right: 0;
}

#gm_nav_left .gm_nav_arrow,
#gm_nav_right .gm_nav_arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 30px;
    padding-bottom: 50px;
    padding-top: 50px;
    position: relative;
    text-align: center;
    cursor: pointer;
    -webkit-transition: color 250ms;
    -ms-transition: color 250ms;
    transition: color 250ms;
    z-index: 1003;
}

#gm_nav_left .gm_nav_arrow:hover,
#gm_nav_right .gm_nav_arrow:hover {
    color: rgba(255, 255, 255, 0.8);
}

#gm_canvas #gm_img_close {
    background-color: white;
    height: 25px;
    position: absolute;
    right: 0;
    top: -25px;
    width: 100%;
    z-index: 3000;
}

#gm_img_close #gm_close {
    display: block;
    cursor: pointer;
    float: right;
    padding-right: 5px;
}

#gm_canvas #gm_title_bar {
    background-color: white;
    bottom: -26px;
    font-size: 18px;
    min-height: 26px;
    left: 0;
    position: absolute;
    width: 100%;
    text-align: left;
    height: auto;
}

#gm_title_bar > div {
    display: inline-block;
}

#gm_title_bar #gm_title {
    padding-left: 5px;
    text-align: left;
    max-width: 80%;
}

#gm_title_bar #gm_info_toggle {
    cursor: pointer;
    position: absolute;
    right: 5px;
    text-align: left;
    width: 48px;
}

#gm_canvas #gm_message_content {
    background: rgba(255, 255, 255, 0.8) none repeat scroll 0 0;
    bottom: 0;
    height: 0;
    left: 0;
    position: absolute;
    width: 100%;
    text-align: left;
    overflow: hidden;
}

#gm_message_content #gm_reply_text {
    border-left: 2px solid #3875D7;
    margin-left: 10px;
}

#gm_message_content #gm_reply_text > p {
    margin: 0 0 5px;
}

#gm_message_content > div {
    margin-top: 10px;
    padding: 5px;
}

#gm_message_content > p {
    margin: 0 0 10px;
}

#gm_spinner {
    left: 0;
    position: fixed;
    text-align: center;
    top: 45%;
    width: 100%;
    z-index: 3000;
}

#gm_spinner #gm_spin_wrapper {
    background: white none repeat scroll 0 0;
    border-radius: 600px;
    display: inline-block;
    height: 40px;
    padding-top: 9px;
    width: 50px;
}

@media only screen and (max-width: 700px) {
    #gm_community_gallery {
        text-align: center;
        width: auto;
    }

    #gm_canvas {
        width: auto;
        padding: 0;
    }

    #gm_canvas img {
        max-width: 95%;
    }

    .image_card {
        width: 90%;
        height: auto;
    }
}