﻿.rg-gallery {
    width: 100%;
    float: left;
}

    .rg-gallery img {
        width: 100%;
        height: auto;
    }

    .rg-gallery figure {
        display: block;
        float: left;
        padding: 0 15px 10px 0;
        box-sizing: border-box !important;
        margin-bottom:5px;
    }

.rg_caption {
    font-weight: 600;
    padding: 5px 5px 0 5px;
    font-size: 14px;
}

.rg_shortdesc {
    padding: 0 5px;
    line-height: 16px;
    font-size: 12px;
}
.rg_imgbox{
    border: 2px solid gray;
border-radius: 5px;
    overflow:hidden;
}

.rg-gallery figcaption {
    display: none;
}

.rg_popup_caption {
    font-weight: 600;
    text-align: left;
    max-width: 420px;
    margin: 0 auto;
    font-size: 13px;
    padding: 10px;
    line-height: 20px;
    color: #CCC;
}

/* file upload */
.qfm_button {
    background-color: #2059a6;
    border: none;
    margin: 0 5px;
    color: white;
    border-radius: 3px;
    padding: 4px 8px;
    font-size: 13px !important;
}

    .qfm_button:hover {
        opacity: 0.8;
    }
    .qfm_button svg {
        margin: 0 7px 0 0;
        position: relative;
        top: 3px;
        vertical-align: baseline;
    }
.qfm_upload_box_in {
    position: relative;
    padding: 10px;
    font-size: 12px;
}

.qfm_upload_box {
    border: 1px solid #898989;
    padding: 0;
    background-color: #ececec;
    border-radius: 5px;
    width: 400px;
    margin: 10px 0;
}

.qfm_progress_area {
}

.qfm_upload_error > div {
    margin: 3px 0;
}

.qfm_fileupload_status {
    width: 100%;
    border-bottom: 1px #ccc solid;
    padding: 5px;
}
/* end file upload */

/* button style */

.dnnsmart_control .btn-primary {
    background-color: #2059a6;
}

.dnnsmart_control a.btn-primary:hover {
    background-color: none !important;
    opacity: 0.8;
    border: none !important;
}

.dnnsmart_control .ds_button {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    background-color: #2059a6;
    border: none;
    margin: 5px;
    color: white;
    border-radius: 3px;
    padding: 6px 10px;
    font-size: 13px;
    display: inline-block;
}

    .dnnsmart_control .ds_button:hover {
        opacity: 0.8;
    }

.dnnsmart_control .ds_button_danger {
    background-color: #e33439;
}

.dnnsmart_control .page-item.active .page-link {
    background-color: #2059a6;
    border-color: #2059a6;
}

.dnnsmart_control .list-group-item.active {
    background-color: #2059a6;
    border-color: #2059a6;
}

.dnnsmart_control .ds_primary {
    background-color: #2059a6;
}

.dnnsmart_control .ds_secondary {
    background-color: #545b62;
}

.rg_category {
    margin: 5px 0;
}

/* ajax loader */

.ds_overlay {
    position: absolute;
    top: 0px;
    background-color: white;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: 10000;
}

.ds_ajaxloader {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -16px;
    margin-top: -16px;
    z-index: 10000;
}

/*--------- CSS Reset for Mobile ----------*/
@media only screen and (max-width: 767px) {
    .rg-gallery figure {
        width: 100% !important;
        height: auto !important;
    }
}