
.ctl-post-media-gallery-folder .custom-checkbox{
    border-left: 1px solid rgba(0,0,0,.2);
    border-top: 1px solid rgba(0,0,0,.2);
    border-bottom: 1px solid rgba(0,0,0,.2);

    padding-left: 35px;
    padding-right: 5px;
    padding-top: 3px;

    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;    
}

.ctl-post-media-gallery-folder li .btn-sm{
    padding: 0px 5px;
}

.ctl-post-media-gallery-list,
.ctl-post-media-gallery-folder{
    margin: 0px -7px;
    padding: 0px; 
}

.ctl-post-media-gallery-folder li,
.ctl-post-media-gallery-list li{
    width: 50%;    
    list-style: none;
    display: inline-block;
    padding-left: 7px;
    padding-right: 7px; 
    margin-bottom: 15px;
}

.ctl-post-media-gallery-list li{
    float: left;
}

.ctl-post-media-gallery-list img,
.ctl-post-media-gallery-folder img{
    object-fit: contain;
    object-position: center center;
}

.ctl-post-media-gallery-list-item-placeholder{
    border: 1px dotted rgba(0, 0, 0, 0.6);
    background-color: rgba(0, 0, 0, 0.3);
    
    height: 100px;
}

.ctl-post-media-gallery-list-wrapper .form-group:first-child{
    margin-bottom: 0px !important;
}

.ctl-post-media-gallery-list:after{
	clear: both;
	content: "";
	display: table;
}

.ctl-post-media-gallery-list li .w-100,
.ctl-post-media-gallery-folder li .w-100{
    transition: all 0.4s ease;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;    
}

.ctl-post-media-gallery-list li .img-thumbnail i,
.ctl-post-media-gallery-folder li .img-thumbnail i{
    font-size: 40px;
    text-align: center;        
}

.ctl-post-media-gallery-folder li .img-thumbnail i::before{
    width: 100%;
    margin: 0px;
}

.ctl-post-media-gallery-folder li input[type=text]{
    text-align: center;
}


.ctl-post-media-gallery-list li .ctl-post-media-name{
    word-break: break-word;
    text-align: center;
    display: block;
    margin-top: 5px;
}

.ctl-post-featured-image-wrapper .image-preview{
    max-width: 150px;
}

@media (min-width: 576px) { 
    .ctl-post-media-gallery-folder li,
    .ctl-post-media-gallery-list li{
        width: 50%;        
    }
}

@media (min-width: 768px) { 
    .ctl-post-media-gallery-folder li,
    .ctl-post-media-gallery-list li{
        width: 33.333%;        
    } 
}

@media (min-width: 992px) { 
    .ctl-post-media-gallery-folder li,
    .ctl-post-media-gallery-list li{
        width: 25%;        
    }  
}

@media (min-width: 1200px) { 
    .ctl-post-media-gallery-folder li,
    .ctl-post-media-gallery-list li{
        width: 20%;
    }         
}


@media (min-width: 1400px) { 
    .ctl-post-media-gallery-folder li,
    .ctl-post-media-gallery-list li{
        width: 16.666%;
    }         
}