.iC-gallery-dialog {
    position: fixed;
    top: 50px !important;
    left: 20% !important;
    right: 20%;
}
.iC-gallery-image img {
    width: 200px !important;
    height: 160px !important;
    object-fit: cover;
}
.iC-gallery-buttons {
    position: absolute;
    display: flex;
}
.iC-gallery-remove,.iC-gallery-remove-front {
    text-align: center;
    font-size: 30px;
    background: red;
    padding: 6px;
    color: white;
    text-decoration: none;
    line-height: 0;
}
.iC-gallery-remove:hover,.iC-gallery-remove-front:hover {
    color: white;
    background: darkred;
}
.iC-gallery-edit-meta {
    text-align: center;
    font-size: 30px;
    background: blue;
    padding: 6px;
    color: white;
    text-decoration: none;
    line-height: 0;
}
.iC-gallery-edit-meta:hover {
    color: white;
    background: darkblue;
}
.col-sm-3 {
    display: inline-block;
    margin: 20px;
}
#iCdiv h2 {
    font-size: 30px;
    text-align: center;
}
.edit-meta {
    display: flex;
}
.edit-meta-image {
    padding-right: 50px;
    width: 80%;
    max-height: 80%;
}
.edit-meta-image img {
   width: 80%;
}
.edit-meta-form {
    width: 50%;
}
.edit-meta-form input {
    width: 100%;
}
.edit-meta-label {
    margin: 5px 0;
}
.edit-meta-label label {
    font-size: 16px;
    font-weight: bold;
}
.edit-meta-submit {
    margin-top: 5px;
}
.edit-meta-submit button {
    background: lightgray;
    color: black;
    padding: 5px 10px;
    margin: 5px;
    text-decoration: none;
    cursor: pointer;
    border: none;
}
.edit-meta-submit button:hover {
    background: gray;
    color: white;
}
.edit-meta-response {
    display: none;
}
.edit-meta-buttons {
    margin-top: 30px;
}
.edit-meta-prev, .edit-meta-next {
    background: lightgray;
    color: black;
    padding: 5px 10px;
    margin: 0 5px;
    text-decoration: none;
}
.edit-meta-prev:hover, .edit-meta-next:hover {
    background: gray;
    color: white;
}
.page-template-franchisee-hub-template .section-local-shortcde .upload-form .iC_gallery_frontend{display: -webkit-box !important; display: -ms-flexbox !important; display: flex !important; -ms-flex-wrap: wrap; flex-wrap: wrap;}
.page-template-franchisee-hub-template .section-local-shortcde .upload-form .iC_gallery_frontend .iC-gallery-image{padding: 0 !important; width: calc(25% - 30px) !important; margin: 15px !important;}
.page-template-franchisee-hub-template .section-local-shortcde .upload-form .iC_gallery_frontend .iC-gallery-image img{ width: 100% !important; height: 200px !important; }

.page-template-franchisee-hub-template .ui-dialog-content .edit-meta .edit-meta-image img{height: 75vh;
    object-fit: cover;}

@media(max-width: 1199px){
    .iC-gallery-dialog { left: 10% !important; right: 10%; }
    .page-template-franchisee-hub-template .section-local-shortcde .upload-form .iC_gallery_frontend .iC-gallery-image{ width: calc(33.33% - 30px) !important;}
}

@media(max-width: 991px){
    .edit-meta-image {width: 50%; padding-right: 20px;}
    .page-template-franchisee-hub-template .section-local-shortcde .upload-form .iC_gallery_frontend .iC-gallery-image{ width: calc(50% - 30px) !important;}
}

@media(max-width: 767px){
    .page-template-franchisee-hub-template .ui-dialog-content {max-height: 70vh !important;}
    .page-template-franchisee-hub-template .ui-dialog-content .edit-meta{ flex-wrap: wrap; }
    .page-template-franchisee-hub-template .ui-dialog-content .edit-meta .edit-meta-image {width: 100%; width: 100%; padding-right: 0px; margin-bottom: 10px;}
    .page-template-franchisee-hub-template .ui-dialog-content .edit-meta .edit-meta-image img{ height: 250px; object-fit: cover; }
    .page-template-franchisee-hub-template .ui-dialog-content .edit-meta .edit-meta-form {width: 100%; }
}

@media(max-width: 575px){
    .page-template-franchisee-hub-template .section-local-shortcde .upload-form .iC_gallery_frontend .iC-gallery-image{ width: calc(100% - 0px) !important; margin: 15px 0px !important;}
}