.media-modal-content .attachments-browser .media-toolbar-secondary {
    max-width: 66%;
    width: 66%
}

.media-modal-content .media-frame select.attachment-filters {
    width: 28% !important
}

#media-attachment-taxonomy-filter, select.media-select-folder {
    border: 1px solid #ff5983;
    color: #ff5983;
    font-weight: 700
}

#media-attachment-taxonomy-filter option, select.media-select-folder option {
    color: #000
}

#media-attachment-taxonomy-filter option:first-child, select.media-select-folder option:first-child {
    font-weight: 700
}

.media-frame .uploader-inline {
    z-index: 1
}

#wp-media-grid .media-toolbar-secondary {
    float: left;
    height: 100%;
    padding: 0 0 10px
}

.media-popup-form {
    background: #fff;
    min-height: 100px;
    width: 400px;
    text-align: center;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    -moz-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    padding: 20px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px
}

.media-popup-form .add-update-folder-title {
    display: block;
    position: relative;
    max-width: 100%;
    margin: 0 0 .4em;
    padding: 0;
    color: #595959;
    font-size: 1.875em;
    font-weight: 600;
    text-align: center;
    text-transform: none;
    word-wrap: break-word;
    line-height: 30px
}

.media-popup-form .folder-form-input input {
    width: 100%;
    transition: border-color .3s, box-shadow .3s;
    border: 1px solid #d9d9d9;
    border-radius: .1875em;
    font-size: 1.125em;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .06);
    box-sizing: border-box;
    height: 2.625em;
    padding: 0 .75em;
    margin: 1em auto
}

.media-popup-form .folder-form-errors {
    margin: 0 0 10px;
    padding: 8px 0;
    background: #ffe4e4;
    color: #a20000;
    display: none
}

.media-popup-form .folder-form-buttons a, .media-popup-form .folder-form-buttons button {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    margin: 10px 3px;
    font-size: 18px;
    line-height: 22px;
    border-radius: .25em;
    color: #fff;
    border: none;
    cursor: pointer
}

.media-popup-form .form-submit-btn {
    background-color: #3085d6
}

.media-popup-form .folder-form-buttons a.remove-media-form {
    background: silver
}

.media-popup-form .folder-form-buttons button:hover {
    color: #fff;
    background-image: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1))
}

.media-popup-form .folder-form-message {
    font-size: 16px;
    line-height: 20px;
    margin: 25px 0
}

.folder-media-popup-form {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000001;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, .25)
}

.form-cancel-btn {
    background-color: #fff
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0)
    }
    to {
        -webkit-transform: rotate(359deg)
    }
}

.spinner-border {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
    border: 3px solid #fff;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: .5s linear infinite rotation;
    animation: .5s linear infinite rotation
}

.folder-media-success {
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 75;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    width: auto;
    margin-top: 12px;
    padding: 0 16px 10px;
    border-left: 4px solid #00a32a;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
    background-color: #fff;
}
.folder-media-success .upload-success {
    padding: 10px 10px 10px 0;
}