.wpmf-gallerys-addon {
    margin: 10px 0;
}

.wpmf_gallery_box .wpmf-gallery-item img {
    margin: 0 auto !important;
}

.wpmf_overlay {
    position: absolute !important;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 888;
    opacity: 0;
    background: rgba(10,6,6,0.4);
}

.hover_false .wpmf_overlay {
    opacity: 0 !important;
}

.logged-in .fancybox-toolbar,
.logged-in .fancybox-infobar {
    top: 32px !important;
}

/* Style Material theme */
.wpmf-card {
    border: none;
    background: #fff;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
    -ms-box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
    -o-box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
    margin-bottom: 30px;
    position: relative
}

.wpmf-card-title{
    font-weight: 400;
    font-family: Poppins,sans-serif;
    font-size: 18px;
}

.wpmf-card .wpmf-card-body {
    padding: 15px 20px
}

.wpmf-card.image-over-card {
    display: inline-block;
    position: relative;
    width: 100%;
    margin-top: 30px !important;
    margin-bottom: 30px;
    border-radius: 6px;
    color: rgba(0, 0, 0, .87);
    background: #fff;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
    -ms-box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
    -o-box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .1)
}

.wpmf-card.image-over-card .wpmf-card-image {
    height: auto;
    position: relative;
    overflow: hidden;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: -30px;
    border-radius: 2px;
    box-shadow: 0 10px 40px -13px rgba(0, 0, 0, .58), 0 4px 27px 0 rgba(0, 0, 0, .16), 0 7px 10px -5px rgba(0, 0, 0, .3)
}

.wpmf-card.image-over-card .wpmf-card-image img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    pointer-events: none;
    vertical-align: middle !important;
}

/* End style Material theme */

.wpmf-has-border-radius-1 .wpmf-gallery-item,
.wpmf-has-border-radius-1 .wpmf-gallery-item .wpmf-card-image,
.wpmf-has-border-radius-1 .wpmf-gallery-item img,
.wpmf-has-border-radius-1.wpmfflexslider .wpmf-gallery-item .wpmf-gallery-icon,
.wpmf-has-border-radius-1 .wpmf-gallery-item .wpmf_overlay {
    border-radius: 1px !important;
}

.wpmf-has-border-radius-2 .wpmf-gallery-item,
.wpmf-has-border-radius-2 .wpmf-gallery-item .wpmf-card-image,
.wpmf-has-border-radius-2 .wpmf-gallery-item img,
.wpmf-has-border-radius-2.wpmfflexslider .wpmf-gallery-item .wpmf-gallery-icon,
.wpmf-has-border-radius-2 .wpmf-gallery-item .wpmf_overlay {
    border-radius: 2px !important;
}

.wpmf-has-border-radius-3 .wpmf-gallery-item,
.wpmf-has-border-radius-3 .wpmf-gallery-item .wpmf-card-image,
.wpmf-has-border-radius-3 .wpmf-gallery-item img,
.wpmf-has-border-radius-3.wpmfflexslider .wpmf-gallery-item .wpmf-gallery-icon,
.wpmf-has-border-radius-3 .wpmf-gallery-item .wpmf_overlay {
    border-radius: 3px !important;
}

.wpmf-has-border-radius-4 .wpmf-gallery-item,
.wpmf-has-border-radius-4 .wpmf-gallery-item .wpmf-card-image,
.wpmf-has-border-radius-4 .wpmf-gallery-item img,
.wpmf-has-border-radius-4.wpmfflexslider .wpmf-gallery-item .wpmf-gallery-icon,
.wpmf-has-border-radius-4 .wpmf-gallery-item .wpmf_overlay {
    border-radius: 4px !important;
}

.wpmf-has-border-radius-5 .wpmf-gallery-item,
.wpmf-has-border-radius-5 .wpmf-gallery-item .wpmf-card-image,
.wpmf-has-border-radius-5 .wpmf-gallery-item img,
.wpmf-has-border-radius-5.wpmfflexslider .wpmf-gallery-item .wpmf-gallery-icon,
.wpmf-has-border-radius-5 .wpmf-gallery-item .wpmf_overlay {
    border-radius: 5px !important;
}

.wpmf-has-border-radius-6 .wpmf-gallery-item,
.wpmf-has-border-radius-6 .wpmf-gallery-item .wpmf-card-image,
.wpmf-has-border-radius-6 .wpmf-gallery-item img,
.wpmf-has-border-radius-6.wpmfflexslider .wpmf-gallery-item .wpmf-gallery-icon,
.wpmf-has-border-radius-6 .wpmf-gallery-item .wpmf_overlay {
    border-radius: 6px !important;
}

.wpmf-has-border-radius-7 .wpmf-gallery-item,
.wpmf-has-border-radius-7 .wpmf-gallery-item .wpmf-card-image,
.wpmf-has-border-radius-7 .wpmf-gallery-item img,
.wpmf-has-border-radius-7.wpmfflexslider .wpmf-gallery-item .wpmf-gallery-icon,
.wpmf-has-border-radius-7 .wpmf-gallery-item .wpmf_overlay {
    border-radius: 7px !important;
}

.wpmf-has-border-radius-8 .wpmf-gallery-item,
.wpmf-has-border-radius-8 .wpmf-gallery-item .wpmf-card-image,
.wpmf-has-border-radius-8 .wpmf-gallery-item img,
.wpmf-has-border-radius-8.wpmfflexslider .wpmf-gallery-item .wpmf-gallery-icon,
.wpmf-has-border-radius-8 .wpmf-gallery-item .wpmf_overlay {
    border-radius: 8px !important;
}

.wpmf-has-border-radius-9 .wpmf-gallery-item,
.wpmf-has-border-radius-9 .wpmf-gallery-item .wpmf-card-image,
.wpmf-has-border-radius-9 .wpmf-gallery-item img,
.wpmf-has-border-radius-9.wpmfflexslider .wpmf-gallery-item .wpmf-gallery-icon,
.wpmf-has-border-radius-9 .wpmf-gallery-item .wpmf_overlay {
    border-radius: 9px !important;
}

.wpmf-has-border-radius-10 .wpmf-gallery-item,
.wpmf-has-border-radius-10 .wpmf-gallery-item .wpmf-card-image,
.wpmf-has-border-radius-10 .wpmf-gallery-item img,
.wpmf-has-border-radius-10.wpmfflexslider .wpmf-gallery-item .wpmf-gallery-icon,
.wpmf-has-border-radius-10 .wpmf-gallery-item .wpmf_overlay {
    border-radius: 10px !important;
}

.wpmf-has-border-radius-11 .wpmf-gallery-item,
.wpmf-has-border-radius-11 .wpmf-gallery-item .wpmf-card-image,
.wpmf-has-border-radius-11 .wpmf-gallery-item img,
.wpmf-has-border-radius-11.wpmfflexslider .wpmf-gallery-item .wpmf-gallery-icon,
.wpmf-has-border-radius-11 .wpmf-gallery-item .wpmf_overlay {
    border-radius: 11px !important;
}

.wpmf-has-border-radius-12 .wpmf-gallery-item,
.wpmf-has-border-radius-12 .wpmf-gallery-item .wpmf-card-image,
.wpmf-has-border-radius-12 .wpmf-gallery-item img,
.wpmf-has-border-radius-12.wpmfflexslider .wpmf-gallery-item .wpmf-gallery-icon,
.wpmf-has-border-radius-12 .wpmf-gallery-item .wpmf_overlay {
    border-radius: 12px !important;
}

.wpmf-has-border-radius-13 .wpmf-gallery-item,
.wpmf-has-border-radius-13 .wpmf-gallery-item .wpmf-card-image,
.wpmf-has-border-radius-13 .wpmf-gallery-item img,
.wpmf-has-border-radius-13.wpmfflexslider .wpmf-gallery-item .wpmf-gallery-icon,
.wpmf-has-border-radius-13 .wpmf-gallery-item .wpmf_overlay {
    border-radius: 13px !important;
}

.wpmf-has-border-radius-14 .wpmf-gallery-item,
.wpmf-has-border-radius-14 .wpmf-gallery-item .wpmf-card-image,
.wpmf-has-border-radius-14 .wpmf-gallery-item img,
.wpmf-has-border-radius-14.wpmfflexslider .wpmf-gallery-item .wpmf-gallery-icon,
.wpmf-has-border-radius-14 .wpmf-gallery-item .wpmf_overlay {
    border-radius: 14px !important;
}

.wpmf-has-border-radius-15 .wpmf-gallery-item,
.wpmf-has-border-radius-15 .wpmf-gallery-item .wpmf-card-image,
.wpmf-has-border-radius-15 .wpmf-gallery-item img,
.wpmf-has-border-radius-15.wpmfflexslider .wpmf-gallery-item .wpmf-gallery-icon,
.wpmf-has-border-radius-15 .wpmf-gallery-item .wpmf_overlay {
    border-radius: 15px !important;
}

.wpmf-has-border-radius-16 .wpmf-gallery-item,
.wpmf-has-border-radius-16 .wpmf-gallery-item .wpmf-card-image,
.wpmf-has-border-radius-16 .wpmf-gallery-item img,
.wpmf-has-border-radius-16.wpmfflexslider .wpmf-gallery-item .wpmf-gallery-icon,
.wpmf-has-border-radius-16 .wpmf-gallery-item .wpmf_overlay {
    border-radius: 16px !important;
}

.wpmf-has-border-radius-17 .wpmf-gallery-item,
.wpmf-has-border-radius-17 .wpmf-gallery-item .wpmf-card-image,
.wpmf-has-border-radius-17 .wpmf-gallery-item img,
.wpmf-has-border-radius-17.wpmfflexslider .wpmf-gallery-item .wpmf-gallery-icon,
.wpmf-has-border-radius-17 .wpmf-gallery-item .wpmf_overlay {
    border-radius: 17px !important;
}

.wpmf-has-border-radius-18 .wpmf-gallery-item,
.wpmf-has-border-radius-18 .wpmf-gallery-item .wpmf-card-image,
.wpmf-has-border-radius-18 .wpmf-gallery-item img,
.wpmf-has-border-radius-18.wpmfflexslider .wpmf-gallery-item .wpmf-gallery-icon,
.wpmf-has-border-radius-18 .wpmf-gallery-item .wpmf_overlay {
    border-radius: 18px !important;
}

.wpmf-has-border-radius-19 .wpmf-gallery-item,
.wpmf-has-border-radius-19 .wpmf-gallery-item .wpmf-card-image,
.wpmf-has-border-radius-19 .wpmf-gallery-item img,
.wpmf-has-border-radius-19.wpmfflexslider .wpmf-gallery-item .wpmf-gallery-icon,
.wpmf-has-border-radius-19 .wpmf-gallery-item .wpmf_overlay {
    border-radius: 19px !important;
}

.wpmf-has-border-radius-20 .wpmf-gallery-item,
.wpmf-has-border-radius-20 .wpmf-gallery-item .wpmf-card-image,
.wpmf-has-border-radius-20 .wpmf-gallery-item img,
.wpmf-has-border-radius-20.wpmfflexslider .wpmf-gallery-item .wpmf-gallery-icon,
.wpmf-has-border-radius-20 .wpmf-gallery-item .wpmf_overlay {
    border-radius: 20px !important;
}

.wpmf-gallerys-addon .wpmfflexslider .wpmf-gallery-icon img:not(.glrsocial_image),
.wpmf-gallerys-addon:not(.wpmf-flipster) .wpmf-gallery-item img:not(.glrsocial_image) {
    width: 100%;
    height: auto;
    vertical-align: middle;
    transform: none;
}

.gallery.square_grid .wpmf-gallery-icon {
    position: relative;
}

.flipster_infos {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    pointer-events: none;
    padding: 5px;
    margin: 0;
    box-sizing: border-box;
    width: 100%;
    color: #fff;
    text-align: center;
    overflow: hidden;
    word-break: break-all;
    font-size: 16px;
}

.flipster_infos span {
    font-size: 14px;
    font-style: italic;
    float: left;
    width: 100%;
    height: 100%;
}

.wpmf_gallery_box .flipster {
    overflow-y: hidden !important;
    opacity: 1 !important;
}

.wpmf-flipster .wpmf-gallery-item {
    margin: 0;
    min-height: 30px;
    display: inline-table;
    vertical-align: top;
    opacity: 0;
}

.wpmf-flipster.wpmf-single-item .wpmf-gallery-item {
    opacity: 1;
}

.wpmf-flipster .wpmf-gallery-item.flipster__item {
    opacity: 1;
}

.wpmf-flipster .wpmf-gallery-item .wpmf-gallery-icon img {
    margin: 0 auto !important;
}

.wpmf-flipster .flipster__item__content {
    position: relative;
    display: table-cell;
    vertical-align: middle;
}

.gallery.square_grid .wpmf-gallery-icon:hover > .flipster_infos,
.wpmf-flipster .wpmf-gallery-item .flipster__item__content:hover > .flipster_infos {
    opacity: 1;
    visibility: visible;
}

.wpmf_subgallery .wimg {
    height: 202px;
    width: 202px;
    position: relative;
    float: left;
    text-align: center;
    max-width: 100%;
    margin-left: 10px;
    margin-right: 10px;
}

.wpmf_subgallery .wimg img {
    border-radius: 5px;
    margin: 34px 10px 10px;
    border: 1px solid #eee;
}

.wpmf_subgallery .wpmfgallerylink {
    text-decoration: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.wpmf_subgallery .wpmfgallerylink {
    margin-left: 1px;
    position: absolute;
    top: 0;
    left: 0;
}

.wpmf_subgallery span {
    position: absolute;
    display: inline-block;
    font-weight: bold;
    left: 0;
    bottom: -20px;
    width: 100%;
}

.wpmf-gridblock-filters {
    width: 100%;
    display: inline-block;
    box-sizing: border-box;
    margin: 10px 0;
}

.wpmf-gridblock-filters .gridblock-filter-categories {
    position: relative;
    overflow: auto;
    width: 100%;
    margin: 0 auto !important;
    white-space: nowrap;
}

.wpmf-gridblock-filters .gridblock-filter-categories.gridblock-filter-categories-transparent {
    background-color: transparent;
}

.wpmf-gridblock-filters .gridblock-filter-categories.gridblock-filter-categories-transparent .filter-all-control a,
.wpmf-gridblock-filters .gridblock-filter-categories.gridblock-filter-categories-transparent .filter-all-control.disabled a,
.wpmf-gridblock-filters .gridblock-filter-categories.gridblock-filter-categories-transparent .filter-all-control.disabled a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.wpmf-gridblock-filters .gridblock-filter-categories.gridblock-filter-categories-transparent .filter-all-control a:hover,
.wpmf-gridblock-filters .gridblock-filter-categories.gridblock-filter-categories-transparent .filter-all-control a.active {
    color: #fff;
}

.wpmf-gridblock-filters .gridblock-filter-categories.gridblock-filter-categories-transparent .indicator {
    background-color: #fff;
}

.wpmf-gridblock-filters .gridblock-filter-categories.gridblock-filter-categories-fixed-width {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.wpmf-gridblock-filters .gridblock-filter-categories.gridblock-filter-categories-fixed-width .filter-all-control {
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.wpmf-gridblock-filters .gridblock-filter-categories .filter-all-control {
    display: inline-block;
    text-align: center;
    line-height: 40px;
    height: 40px;
    padding: 0;
    margin: 0 10px;
    text-transform: uppercase;
    min-width: 100px;
    border-bottom: transparent 3px solid;
}

.wpmf-gridblock-filters .gridblock-filter-categories .filter-all-control.selected {
    border-bottom: #ff8726 3px solid;
}

.wpmf-gridblock-filters .gridblock-filter-categories .filter-all-control a {
    color: #000;
    display: block;
    width: 100%;
    height: 100%;
    font-size: 14px;
    overflow: hidden;
    transition: color .28s ease;
    text-decoration: none;
    box-shadow: none !important;
    border: 0 !important;
    cursor: pointer;
}

.wpmf-gridblock-filters .gridblock-filter-categories .filter-all-control a:hover, .wpmf-gridblock-filters .gridblock-filter-categories .filter-all-control a.active {
    background-color: transparent;
    color: #000;
    outline: none;
}

.wpmf-gridblock-filters .gridblock-filter-categories .filter-all-control.disabled a,
.wpmf-gridblock-filters .gridblock-filter-categories .filter-all-control.disabled a:hover {
    color: #b2ebf2;
    cursor: default;
}

.wpmf-gridblock-filters .gridblock-filter-categories .indicator {
    position: absolute;
    bottom: 0;
    height: 2px;
    background-color: #000;
    will-change: left, right;
}

.wpmf-gridblock-filters .collapsible-body {
    box-sizing: border-box;
    padding: 2rem;
}

.gallery_material {
    background: #fafafa;
}

.gallery_material .wpmf-card-image a {
    float: left;
    width: 100%;
}

.wpmf_gallery_wrap {
    width: 100%;
    margin: 15px 0;
    display: inline-block;
}

.wpmf_gallery_wrap::after {
    content: ' ';
    clear: both;
    display: block;
}

.wpmf_gallery_tree {
    width: 30%;
    float: left;
    margin: 10px 0;
}

.wpmf-tags .wpmf_gallery_box{
    position: relative;
}

.wpmf_gallery_box {
    width: 70%;
    float: right;
    text-align: center;
}

.wpmf_gallery_box.fullbox {
    width: 100%;
    display: inline-block;
}

.wpmf_gallery_wrap .title-folder {
    box-shadow: none;
}

.wpmf_gallery_wrap .title-folder:hover {
    box-shadow: none;
}

.square_grid .gallery-item {
    display: inline-block !important;
    padding: 3px !important;
    text-align: center !important;
    vertical-align: top !important;
    margin: 0 !important;
}

.square_grid a {
    width: 100% !important;
}

.square_grid .wpmf-gallery-icon a{
    text-align: center;
}

.wpmf-gallery-item .wpmf-gallery-icon a {
    box-shadow: none !important;
}

.wpmf-gallery-item .wpmf_gallery_lightbox {
    width: 100%;
    display: inline-block;
}

.flipster__item .wpmf_gallery_lightbox {
    display: inline;
}

.wpmf_gallery_lightbox .wpmf_gallery_lightbox {
    display: block;
}

.wpmf-flipster .flipto-next, .wpmf-flipster .flipto-prev {
    padding: 10px;
    color: #fff;
    background: #ccc;
    border: 0 !important;
    font-style: normal !important;
    cursor: pointer;
}

.wpmf-flipster .flipster__button {
    margin: 0;
    top: calc(50% - 22px) !important;
}

.wpmf-slides {
    padding: 0 !important;
    display: flex !important;
    margin: 0;
}

.wpmf-slides .wpmf-gallery-icon:not(.wpmf-gg-one-columns .wpmf-gallery-icon) {
    float: left;
}

.wpmf-slides .wpmf-gg-one-columns .wpmf-gallery-icon {
    text-align: center;
}

.wpmf-slides .wpmf-gg-one-columns .wpmf-gallery-icon a {
    display: inline-block;
    margin: 0 auto !important;
}

.loading_gallery {
    margin: 0 auto;
}

.elementor-element-edit-mode .loading_gallery {
    display: none;
}

.wpmf-gallery-caption {
    font-size: 12px !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

/* css default theme */
.gallery_material .wpmf-card.image-over-card {
    box-shadow: none;
    border: 0;
    margin-bottom: 5px;
}

.wpmf_gallery_default .wpmf-card.image-over-card .wpmf_gallery_lightbox {
    display: block !important;
}

.glrdefault {
    padding: 0;
    min-width: auto;
    max-width: none;
}

.glrdefault .wpmf-gallery-icon {
    position: relative;
}

.glrdefault .wpmf-gallery-caption {
    margin: 0 auto !important;
    padding: 10px !important;
}

hr.wpmfglr-line-break {
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.glrdefault figure {
    box-sizing: border-box;
}

.wpmfglr_social {
    position: absolute;
    bottom: 5px;
    right: 5px;
    z-index: 9999999;
    display: none;
}

.wpmf_gallery_box .flipster .wpmfglr_social {
    max-height: 31px;
}

.glrsocial_image {
    box-shadow: none !important;
    width: 18px !important;
    height: 18px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.gallery_addon_flexslider .wpmfglr_social {
    bottom: auto;
    top: 5px;
}

.wpmf-flipster .flipster__container {
    padding: 15px 0 !important;
    margin: 0;
    list-style: none;
}

.gallery_addon_flexslider .wpmfglr_social .glrsocial_image,
.wpmf-flipster .wpmfglr_social .glrsocial_image {
    vertical-align: middle;
    margin: 0 !important;
}

.wpmfglr_social a .dashicons {
    font-size: 18px;
    vertical-align: middle;
}

.gallery .flipster .wpmfglr_social {
    right: 5px;
    top: 5px;
    bottom: auto;
}

.wpmfglr_social a {
    margin: 0 2.5px;
    width: auto !important;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: none !important;
    display: inline-block !important;
    border: 0 !important;
}

.gallery.square_grid .wpmf-gallery-icon:hover > .wpmfglr_social,
.wpmf-flipster .wpmf-gallery-item .flipster__item__content:hover > .wpmfglr_social {
    display: block;
}

.wpmf_gallery_wrap.hover_true .wpmf-gallery-icon:hover .wpmfglr_social,
.wpmf_gallery_wrap.hover_true .wpmf-gallery-icon:hover .wpmf_overlay,
.wpmf_gallery_wrap.hover_true .glrdefault .wpmf-gallery-item .wpmf-card:hover .wpmf_overlay,
.wpmf_gallery_wrap.hover_true .glrdefault .wpmf-gallery-item .wpmf-card:hover .wpmfglr_social,
.wpmf_gallery_wrap.hover_true .glrdefault .wpmf-gallery-item .wpmf-card:hover .portfolio_lightbox,
.wpmf_gallery_wrap.hover_true .wpmf-flipster .wpmf-gallery-item .flipster__item__content:hover .wpmfglr_social,
.wpmf_gallery_wrap.hover_true .wpmfflexslider .wpmf-gallery-item:hover .wpmfglr_social {
    opacity: 1;
}

.hover_default_theme {
    bottom: 0;
}

.hover_default_theme .wpmfglr_social {
    margin: 4px 0;
    bottom: auto;
    display: block;
}

/** Folder tree **/
.wpmf_gallery_tree ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.wpmf_gallery_tree li {
    margin: 0;
    padding: 0;
    font-size: 13px;
    z-index: 10;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
}

.wpmf_gallery_tree li.selected > a {
    color: #2196F3;
}

.wpmf-gallery-tree-item {
    margin: 3px 0;
    width: 100%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    cursor: pointer;
}

.wpmf-gallery-tree-item * {
    vertical-align: middle !important;
    display: inline-block;
}

.wpmf-gallery-item-inside {
    width: calc(100% - 25px);
    position: relative;
    margin: 0 auto;
    left: 12.5px;
    padding: 3px 0;
    border: 0;
    box-sizing: border-box;
}

.wpmf-gallery-text-item {
    width: calc(100% - 60px);
}

.wpmf-gallery-thumbnail-icon {
    width: 26px !important;
    height: 26px !important;
    margin: 0 10px 0 0 !important;
    border-radius: 4px !important;
}

.wpmf_gallery_tree li.selected > .wpmf-gallery-tree-item .wpmf-gallery-item-title,
.wpmf_gallery_tree .wpmf-gallery-tree-item:hover .wpmf-gallery-item-title {
    color: #0073ab !important;
    font-weight: bold;
}

/* Hide if a parent folder is closed */
.wpmf_gallery_tree li.closed li.selected:before {
    content: normal;
}

.wpmf-gallery-toggle-icon {
    width: 28px;
    line-height: 15px;
}

.wpmf-gallery-tree-item .wpmf-gallery-item-title {
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 18px;
    text-align: left;
    color: #454545;
    letter-spacing: 0.5px;
}

.wpmf-gallery-tree-item .wpmf-gallery-arrow {
    background-image: url(../images/Arrow-tree.svg);
    width: 20px;
    height: 8px;
    display: inline-block;
    background-size: 100% 100%;
    vertical-align: middle;
}

.wpmf_gallery_tree li.closed > ul {
    display: none;
    height: 0;
    /* todo : add open close animation */
}

.wpmf_gallery_tree li .wpmf-gallery-arrow {
    transition: 0.1s ease-in-out;
}

.wpmf_gallery_tree li:not(.closed) > .wpmf-gallery-tree-item a .wpmf-gallery-arrow {
    transform: rotate(90deg);
}

.wpmf_gallery_tree li.closed li span:after {
    content: normal;
}

.wpmf_gallery_tree li .wpmf-gallery-drag-hover .wpmf-gallery-item-title {
    font-weight: bold;
    color: #0073ab !important;
}

@media only screen and (max-width: 450px) {
    .gallery_material figure,
    .gallery .wpmf-gallery-item:not(.wpmfflexslider .wpmf-gallery-item) {
        width: 50% !important;
    }

    .wpmf_gallery_wrap .wpmf_gallery_tree ~ .wpmf_gallery_box .gallery_material figure,
    .wpmf_gallery_wrap .wpmf_gallery_tree ~ .wpmf_gallery_box .gallery .wpmf-gallery-item {
        width: 100% !important;
    }

    .wpmfglr-line-break {
        display: none;
    }
}