﻿/* Clearfix */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

.ImageGallery_glUpdateGalleryStrip {
    background: url('/Modules/ImageGallery/images/icons/icon-update.png');
    background-position: 0 0;
    width: 28px;
    height: 28px;
}

.ImageGallery_glDelete {
    background: url('/Modules/ImageGallery/images/icons/icon-delete.png');
    background-position: 0 0;
    width: 28px;
    height: 28px;
}

.ImageGallery_glDeleteHover {
    background: url('/Modules/ImageGallery/images/icons/icon-delete-omo.png');
    background-position: 0 0;
    width: 28px;
    height: 28px;
}

.mb_ImageGallery_ButtonsHover {
    display: none;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
    width: 100%;
    z-index: 1;
}

#mb_ImageGallery_SortableImg li:hover .mb_ImageGallery_ButtonsHover,
.mb-image-gallery-column:hover .mb_ImageGallery_ButtonsHover {
    display: block;
}

.mb_ImageGallery_AddImgLinkHover,
.mb_ImageGallery_DeleteImgHover {
    background: #394146;
    border-radius: 50em;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    display: inline-block;
    margin: 10px;
    line-height: 0;
    padding: 8px;
}

.mb_ImageGallery_DeleteImgHover {
    background: #FF6767;
}

.mb_ImageGallery_ImageLinkStyle {
    position: absolute;
    top: 12px;
    left: 25px;
    z-index: 2500;
    padding: 5px 10px;
    background-color: #f6f6f6;
    background-image: -webkit-linear-gradient(top, #ffffff, #f6f6f6);
    background-image: linear-gradient(to bottom, #ffffff, #f6f6f6);
    border-radius: 4px;
    -webkit-box-shadow: 0 0 4px rgba(0,0,0,.2);
    box-shadow: 0 0 4px rgba(0,0,0,.2);
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.mb_ImageGallery_ImageLinkStyle:hover {
    background-color: #fefefe;
    background-image: -webkit-linear-gradient(top, #ffffff, #fefefe);
    background-image: linear-gradient(to bottom, #ffffff, #fefefe);
    -webkit-box-shadow: 0 0 8px rgba(0,0,0,.2);
    box-shadow: 0 0 8px rgba(0,0,0,.2);
    color: #333;
}

/* Sortable images classes  */
#mb_ImageGallery_SortableImg #mb_ImageGallery_SortableImg {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#mb_ImageGallery_SortableImg li {
    margin: 3px 3px 3px 0;
    padding: 1px;
    float: left;
    text-align: center;
}

.mb_modules_imageslider_simpleslider {
    margin: 0px;
    border: none;
}

/* Image upload */

.RadAsyncUpload .ruDropZone,
.RadAsyncUpload .ruFakeInput {
    display: none;
}

.RadAsyncUpload .ruFileWrap {
    display: inline-block;
    position: relative;
}

.RadAsyncUpload .ruBrowse {
    display: inline-block;
    padding: 13px 20px;
    border: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    border-radius: 50em;
    cursor: pointer;
    text-decoration: none;
    background: #394146;
    color: #fff;
    transition: all 0.5s ease-in-out;
}

.RadAsyncUpload .ruFileInput {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.RadAsyncUpload .ruInputs {
    margin-bottom: 10px;
}

.RadAsyncUpload .ruInputs > li {
    margin-bottom: 5px;
}

.RadAsyncUpload .ruInputs > li .ruRemove {
    margin-left: 10px;
}

.dropZone {
    padding: 100px 50px;
    margin: 30px 0;
    text-align: center;
    border: 2px dashed #e2e8eb;
}

/* jQuery modal window styles (jQuery-ui.css is disabled) */

.ui-dialog {
    background: #fff;
    border-radius: 4px;
    border: 1px solid #d8dee1;
    box-shadow: 0 0 10px rgba(0,0,0,.07);
    font-size: 14px;
    z-index: 2;
}

.ui-dialog-titlebar {
    padding: 20px;
    border-bottom: 1px solid #d8dee1;
    margin-bottom: 20px;
}

.ui-dialog-title {
    font-weight: 600;
}

.ui-dialog-titlebar-close {
    background: none;
    border: none;
    text-decoration: none;
    position: absolute;
    top: 19px;
    right: 20px;
    padding: 0;
    text-indent: -999999px;
}

.ui-dialog-titlebar-close:before {
    content: "\e082";
    font-family: 'simple-line-icons';
    font-size: 16px;
    color: #6c767f;
    text-indent: 0;
    float: left;
}

.ui-dialog-titlebar-close .ui-icon {
    display: none;
}

.ui-dialog-content {
    padding: 0 20px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.ui-dialog-buttonset {
    padding: 20px;
}

.ui-dialog-buttonset .ui-button {
    display: inline-block;
    padding: 13px 20px;
    border: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    border-radius: 50em;
    cursor: pointer;
    text-decoration: none;
    background: #394146;
    color: #fff;
    transition: all 0.5s ease-in-out;
}

.ui-button + .ui-button {
    margin-left: 10px;
}

/* jQuery modal window styles - END */