
/* == Attachment Fields == */

body.eml-media-css .term-list {
    background-color: #fff;
    border: 1px solid #dfdfdf;
    border-radius: 3px;
    padding: 10px 10px 5px;
    margin: 0 0 10px;
}
body.eml-media-css .term-list li {
    line-height: 22px;
}
body.eml-media-css .term-list li input[type="checkbox"] {
    margin: -4px 10px 0 0 !important;
}
body.eml-media-css .term-list li input[type=checkbox]:indeterminate:before {
    float: left;
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    font: normal 21px/1 'dashicons';
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    content: '\f147';
    margin: -3px 0 0 -4px;
    color: #CBCBCB;
}
body.eml-media-css .term-list .children {
    margin: 5px 0 0 20px;
}

body.eml-media-css .compat-item .eml-tax-label {
    width: 100%;
    float: none;
    text-align: left;
}
body.eml-media-css .compat-item .eml-tax-label span {
    text-align: left;
}
body.eml-media-css .compat-item .eml-tax-field {
    width: 100%;
    float: none;
}




/* == Grid Mode == */

.media-frame.mode-eml-grid .attachments-browser .media-toolbar-secondary {
    max-width: none;
}

.media-frame.mode-eml-grid .media-toolbar select {
    margin: 8px 10px 8px 0;
}

.media-frame.mode-eml-grid.mode-edit .media-toolbar-secondary .media-button {
    margin: 8px 10px 8px 0;
    vertical-align: middle;
}

.media-frame.mode-eml-grid.mode-edit .media-toolbar-secondary .search {
    margin: 8px 0 8px 0;
    padding: 3px 5px;
    max-width: 100%;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    vertical-align: middle;
}



/* == EML Grid == */

body.upload-php.eml-grid #wpfooter {
    display: none;
}
body.upload-php.eml-grid #wpbody  {
    position: fixed;
    top: 32px;
    bottom: 0;
    left: 165px;
    right: 0;
    height: auto;
}
body.upload-php.eml-grid.folded #wpbody {
    left: 40px;
}
@media only screen and (max-width: 960px) {

    body.upload-php.eml-grid.auto-fold #wpbody {
        left: 40px;
    }
}
@media only screen and (max-width: 782px) {

    body.upload-php.eml-grid #wpbody,
    body.upload-php.eml-grid.folded #wpbody,
    body.upload-php.eml-grid.auto-fold #wpbody {
        left: 0;
        top: 46px;
    }
}
body.upload-php.eml-grid #wpbody-content {
    padding: 0;
    float: none;
    height: 100%;
}
@media only screen and (max-width: 960px) {

    body.upload-php.eml-grid #wpbody-content {
        float: left;
    }
}
body.upload-php.eml-grid #wpbody-content > .wrap {
    position: absolute;
    left: 15px;
    top: 0;
    right: 0;
    bottom: 0;
}
body.upload-php.eml-grid #wpbody-content > #screen-meta-links,
body.upload-php.eml-grid #wpbody-content > #screen-meta {
    position: relative;
    z-index: 999;
}


.eml-grid .wrap .notice,
.eml-grid .wrap div.updated,
.eml-grid .wrap div.error {
	z-index: 20;
	position: relative;
}
.media-frame.mode-eml-grid {
    top: 50px;
    z-index: 10;
}
.media-frame.mode-eml-grid .media-frame-title,
.media-frame.mode-eml-grid .media-frame-menu,
.media-frame.mode-eml-grid .media-frame-toolbar {
    display: none;
}
.media-frame.mode-eml-grid .media-frame-content {
    top: 0;
    bottom: 10px;
    border: none;
    background: none;
    overflow: hidden;
}
.media-frame.mode-eml-grid .attachments-browser {
    position: absolute;
    left: 0;
    top: 71px;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    border: 1px solid #ddd;
    border-right: 0;
    background: #fff;
    overflow: visible;

    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
    transition: all 0.2s;
}
.media-frame.mode-eml-grid .attachments-browser .media-toolbar {
    left: -1px;
}
.media-frame.mode-eml-grid .attachments-browser .media-toolbar.wp-filter select {
    font-size: 14px;
}
.media-frame.mode-eml-grid .attachments-browser .attachments,
.media-frame.mode-eml-grid .attachments-browser .uploader-inline {
    top: 0;
}
.media-frame.mode-eml-grid .attachments-browser .attachments {
    padding: 8px;

    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
    transition: all 0.2s;
}
.media-frame.mode-eml-grid .delete-attachment,
.media-frame.mode-eml-grid .trash-attachment,
.media-frame.mode-eml-grid .untrash-attachment {
    color: #bc0b0b;
}
.media-frame.mode-eml-grid .delete-attachment:hover,
.media-frame.mode-eml-grid .delete-attachment:focus,
.media-frame.mode-eml-grid .trash-attachment:hover,
.media-frame.mode-eml-grid .trash-attachment:focus,
.media-frame.mode-eml-grid .untrash-attachment:hover,
.media-frame.mode-eml-grid .untrash-attachment:focus {
    color: #ff0000;
}
.media-frame.mode-eml-grid .attachments-browser .uploader-inline {
    position: absolute;
    top: 10px;
    right: 310px;
    left: 10px;
    bottom: auto;
    padding: 0;
    margin: 0;
    border: 4px dashed #bbb;
    background-color: #fff;
}
@media only screen and (max-width: 900px) {

    .media-frame.mode-eml-grid .attachments-browser .uploader-inline {
        right: 272px;
    }
}
@media only screen and (max-width: 640px), screen and (max-height: 400px) {

    .media-frame.mode-eml-grid .attachments-browser .uploader-inline {
        right: 10px;
    }
}
.media-frame.mode-eml-grid .uploader-inline-content {
    position: static;
    margin-top: 30px;
}
.media-frame.mode-eml-grid .attachments-browser .no-media {
    text-align: center;
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
    padding: 40px 0 0;
    margin: 0 300px 0 0;
    color: #777;
}



/* == Single Attachment Inline Toolbar == */

.eml-attacment-inline-toolbar {
    position: absolute;
    z-index: 10;
    left: 7px;
    top: 7px;

    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
    transition: all 0.2s;

    visibility: hidden;
    opacity: 0;
}
.js--select-attachment:hover .eml-attacment-inline-toolbar {
    visibility: visible;
    opacity: 1;
}
.eml-attacment-inline-toolbar i {
    margin: 0 5px 0 0;
    padding: 2px;
    width: 24px;
    height: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    background-color: #000;
    background-color: rgba(0,0,0,0.9);
    cursor: pointer;
    color: white;
    font-size: 24px;
    line-height: 24px;
}
.eml-attacment-inline-toolbar i:hover {
    box-shadow: 0 1px 3px rgba(0,0,0,0.8);
    background-color: #000;
    color: #2ea2cc;
}




/* == Media Popup Positions == */

body.eml-media-css .attachments-browser .media-toolbar {
    height: auto;
}

body.eml-media-css .attachments-browser .media-toolbar-secondary {
    max-width: none;
    width: auto;
}

body.eml-media-css .media-modal-content .media-frame select.attachment-filters {
    width: auto;
    max-width: calc(48% - 12px);
    margin-right: 10px;
    vertical-align: middle;
    line-height: 28px;
    height: 28px;
}

body.eml-media-css .attachments-browser .media-toolbar-secondary > .media-button {
    margin: 10px 10px 0 0;
}

body.eml-media-css .media-modal-content .attachments-browser .search {
    width: auto;
    vertical-align: middle;
    padding: 6px 8px;
    margin-top: 10px;
}

@media only screen and (max-width: 900px) {

    body.eml-media-css .media-modal-content .attachments-browser .search {
    float: none;
    }
}



/* == Spinners == */

body.eml-media-css .media-frame .spinner {
    margin-top: 0;
}
.media-frame .attachments-browser .media-toolbar .spinner {
    float: none;
    position: absolute;
}
.media-frame.mode-eml-grid .attachments-browser .media-toolbar .spinner {
    top: 15px;
    right: 5px;
}
.media-modal-content .media-frame .attachments-browser .media-toolbar .spinner {
    right: 10px;
    top: 14px;
}



/* == Buttons Styles == */

.wpuxss-eml-button-remove {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    line-height: 1em;
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    height: 20px;
    width: 20px;
    border-radius: 10px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}
.wpuxss-eml-button-remove:hover {
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}
.wpuxss-eml-button-container-right {
    text-align: right;
    margin: 20px 0 0;
}


#post-query-submit {
    margin: 1px 8px 0 5px;
}
#eml-reset-filters-query-submit {
    margin: 1px 8px 0 0;
}




/* == ui-dialog Styles == */

.eml-dialog-modal {
    z-index: 300000 !important;
}




/* == Fullscreen Spinner Styles == */

.fullscreen-spinner-box {
    background: rgba( 0, 86, 132, 0.9 );
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 300000;
    text-align: center;
}
.fullscreen-spinner-inner-box {
	border: 1px dashed #fff;
	position: absolute;
	top: 10px;
	left: 10px;
	right: 10px;
	bottom: 10px;
}
.fullscreen-spinner-box .eml-spinner {
    position: absolute;
    top: 50%;
    left: 0;

    background: url(../images/spinner.gif) no-repeat center bottom;
    width: 100%;
    height: 120px;
    margin: -60px 0 0 0;
    text-align: center;
    color: #fff;
    font-size: 3em;
    line-height: 1.3;
    font-weight: bold;
}




/* == Option Page Generic Styles == */

#toplevel_page_media-library .wp-menu-image {
    background-position: -119px -33px !important;
}

#wpuxss-eml-global-options-wrap .postbox {
    background-image:none !important;
    position: relative;
}
#wpuxss-eml-global-options-wrap .postbox ul {
    margin-bottom: 25px;
}
#wpuxss-eml-global-options-wrap #poststuff .inside {
    margin: 20px 0 0;
}

#wpuxss-eml-global-options-wrap .postbox#wpuxss-credits {
    background-color: #fff !important;
}
#wpuxss-credits .author {
    font-style: italic;
    margin: 30px 0 0;
    padding: 10px 0 5px;
    border-top: 1px solid #e0e5e9;
}
#wpuxss-credits .logo-webbistro {
    font-style: italic;
    text-decoration: none;
}
#wpuxss-credits .icon-webbistro {
    font-family: 'webbistro';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}
#wpuxss-credits h4 {
    margin: 20px 0 4px;
}
#wpuxss-credits p,
#wpuxss-credits ul {
    margin-top: 0;
}
#wpuxss-credits li {
    list-style: disc;
    margin-left: 1.4em;
}

@font-face {
    font-family: 'webbistro';
    src:url('../fonts/webbistro.eot');
    src:url('../fonts/webbistro.eot?#iefix') format('embedded-opentype'),
        url('../fonts/webbistro.woff') format('woff'),
        url('../fonts/webbistro.ttf') format('truetype'),
        url('../fonts/webbistro.svg#webbistro') format('svg');
    font-weight: normal;
    font-style: normal;
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 120dpi) {

	.fullscreen-spinner-box .eml-spinner {
		background-image: url(../images/spinner-2x.gif);
	}
}




/* == MIME types Option Page Styles == */

.wpuxss-eml-mime-type-list {
    table-layout: fixed;
}
.wpuxss-eml-mime-type-list td {
    padding: 8px 7px;
}
.wpuxss-eml-mime-type-list .checkbox_td {
    text-align: center;
}
.wpuxss-eml-mime-type-list input[type="text"] {
    width: 120px;
}
.wpuxss-eml-column-extension {
    width: 130px;
}
.wpuxss-eml-column-singular,
.wpuxss-eml-column-plural {
    width:120px;
}
.wpuxss-eml-column-filter {
    width: 70px;
}
.wpuxss-eml-column-upload {
    width: 90px;
}
.wpuxss-eml-column-delete {
    width: 30px;
}
#eml-restore-mime-types-settings {
    margin-left:  20px;
}




/* == Plugin Options Page Styles == */

.wp-core-ui #eml-settings-cleanup,
.wp-core-ui .button-primary.eml-warning-button {
    background: #d54e21;
    border-color: #EC5F30 #940B0B #940B0B;
    -webkit-box-shadow: 0 1px 0 #940B0B;
    box-shadow: 0 1px 0 #940B0B;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 -1px 1px #940B0B, 1px 0 1px #940B0B, 0 1px 1px #940B0B, -1px 0 1px #940B0B;
}
.wp-core-ui #eml-settings-cleanup:hover,
.wp-core-ui .button-primary.eml-warning-button:hover {
    background: #E45728;
    border-color: #940B0B;
    color: #fff;
}
.wp-core-ui #eml-settings-cleanup:active,
.wp-core-ui .button-primary.eml-warning-button:active {
    background: #D54E21;
    border-color: #940B0B;
    -webkit-box-shadow: inset 0 2px 0 #940B0B;
    box-shadow: inset 0 2px 0 #940B0B;
    color: #fff;
}
.wp-core-ui #eml-settings-cleanup:focus,
.wp-core-ui .button-primary.eml-warning-button:focus {
    -webkit-box-shadow: 0 1px 0 #D54E21, 0 0 2px 1px #F17349;
    box-shadow: 0 1px 0 #D54E21, 0 0 2px 1px #F17349;
}




/* == Taxonomies Option Page Styles == */

.wpuxss-eml-settings-list {
    border-top: 1px solid #dfdfdf;
}
.wpuxss-eml-settings-list > li {
    border-bottom: 1px solid #dfdfdf;
    padding: 8px 7px;
    margin: 0;
    position: relative;
    overflow: hidden;
}
.wpuxss-eml-settings-list > li > label {
    font-size: 14px;
    display: inline-block;
    margin-right: 100px;
    margin-left: 0;
}
.wpuxss-eml-settings-list input {
    margin: 0;
}
.wpuxss-eml-settings-list > li .wpuxss-eml-button-edit {
    position: absolute;
    left: auto;
    right: 40px;
    top: 7px;
    text-decoration: none;
    height: 14px;
    line-height: 14px;
    border-radius: 10px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    padding: 3px 10px;
}
.wpuxss-eml-settings-list.wpuxss-eml-non-media-taxonomy-list > li .wpuxss-eml-button-edit {
    right: 10px;
}
.wpuxss-eml-settings-list > li .wpuxss-eml-button-remove {
    position: absolute;
    left: auto;
    right: 10px;
    top: 7px;
}
.wpuxss-eml-settings-list .wpuxss-eml-assigned {
    margin: 0 10px 0 0;
}

.wpuxss-eml-taxonomy-edit label {
    display: inline-block;
    width: 210px;
}
.wpuxss-eml-non-media-taxonomy-list .wpuxss-eml-taxonomy-edit label {
    width: auto;
    margin-left: 10px;
}
.wpuxss-eml-taxonomy-edit .wpuxss-eml-labels-edit {
    float: left;
    width: 48%;
    margin-right: 1%;
}
.wpuxss-eml-taxonomy-edit .wpuxss-eml-settings-edit {
    float: left;
    width: 50%;
    margin-left: 1%;
}
.wpuxss-eml-taxonomy-edit .wpuxss-eml-settings-edit li {
    padding: 3px 0;
}
.wpuxss-eml-taxonomy-edit .wpuxss-eml-labels-edit label {
    width: 100px;
}
.wpuxss-eml-taxonomy-edit input[type="text"] {
    min-width: 150px;
}
.wpuxss-eml-taxonomy-edit .wpuxss-eml-settings-edit input[type="text"] {
    width: 50%;
}
.wpuxss-eml-taxonomy-edit .wpuxss-eml-labels-edit input[type="text"] {
    width: 70%;
}

#wpuxss-eml-global-options-wrap #poststuff h2 {
    font-size: 23px;
    font-weight: 400;
}
