/**
 * Administracion
 */
/* Menu */
#adminmenu .wp-first-item .update-plugins.frma-count-menu {
    display: none !important;
}

/* Badge */
.frma-badge {
    color: #fff;
    font-size: 1em;
    line-height: 1rem;
    padding: 3px 5px;
    border-radius: .25em;
    background-color: #828282;
}
.frma-badge.imp {
    background-color: #e1388a !important;
}

/* Admin Notice */
.notice.frma-message {
    padding: 20px;
    border-left-color: #e1388a;
}
.notice.frma-message .frma-message-inner {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
.notice.frma-message .frma-message-icon img {
    max-height: 50px;
    max-width: 50px;
}
.notice.frma-message .frma-message-content {
    padding: 0 20px;
}

/**
 * La clase '.not-frma' niega el estilo por defecto de los formularios
 */

/* Modals */
.frma-modal:not(.not-frma) {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 99999;
    background-color: rgba(0,0,0,0.5);
    overflow: hidden;
    display: none;
    opacity: 0;
    transition: 0.2s opacity;
}
.frma-modal.show:not(.not-frma) {
    display: block !important;
}

.frma-modal-content:not(.not-frma) {
    margin: 1.75rem auto;
    max-width: 80%;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    background: #fff;
    line-height: 2.1em;
    border-radius: .25em;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    outline: 0;
    max-height: calc(100vh - 1.75rem - 1.75rem);
}

.frma-modal-exit:not(.not-frma) {
    margin-top: 7px;
    transform: rotate(45deg);
    display: flex;
    margin-left: auto;
    cursor: pointer;
}
.frma-modal-exit:not(.not-frma):hover {
    color: #c63939;
}

.frma-dash-exit:not(.not-frma) {
    transform: rotate(45deg);
}

.frma-modal-header:not(.not-frma) {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
    background-color: #f8f8f8;
}
.frma-modal-header:not(.not-frma) h3 {
    margin: 0;
    line-height: 1.5;
    font-size: 1.25rem;
}
.frma-modal-body:not(.not-frma) {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
    overflow: auto;
}

/* Labels */
.frma-label:not(.not-frma) {
    display: block;
    font-weight: 600;
    font-size: 14px;
    float: none;
    line-height: 1.3;
    margin: 0 0 4px 0;
    padding: 0;
}

/* Forms Elements */
.frma-form-control:not(.not-frma) {
    width: 100%;
}
.frma-form-control.inputs:not(.not-frma) {
    background-color: #fff;
    box-sizing: border-box;
    box-shadow: none;
    border-radius: 2px;
    color: #333;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    display: block;
    float: none;
    font-size: 16px;
    border: 1px solid #ccc;
    padding: 6px 10px;
    height: 38px;
    width: 100%;
    line-height: 1.3;
}
.frma-form-control.numbers:not(.not-frma) {
    background-color: #fff;
    box-sizing: border-box;
    box-shadow: none;
    border-radius: 2px;
    color: #333;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    display: block;
    float: none;
    font-size: 16px;
    border: 1px solid #ccc;
    padding: 6px 10px;
    height: 38px;
    width: 100%;
    line-height: 1.3;
}
.frma-form-control.textareas:not(.not-frma) {
    padding: 6px 10px;
    display: block;
    width: 65%;
    background-color: #fff;
    box-shadow: none;
    border: 1px solid #ccc;
    border-radius: 2px;
    height: 110px;
    font-size: 16px;
    line-height: 1.3;
    width: 100%;
}
.frma-form-control.selects:not(.not-frma) {
    background-color: #fff;
    box-sizing: border-box;
    box-shadow: none;
    border-radius: 2px;
    color: #333;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    display: block;
    float: none;
    font-size: 16px;
    border: 1px solid #ccc;
    padding: 6px 10px;
    height: 38px;
    width: 100%;
    line-height: 1.3;
}
.frma-form-control.files:not(.not-frma) {
    background: #fff !important;
    padding: 10px;
    border: 1px dashed #777;
    width: 100%;
    text-align: center;
    overflow: hidden;
}
.frma-form-custom.checkboxs:not(.not-frma), .frma-form-custom.radios:not(.not-frma) {
    margin-right: 5px;
}

.frma-form-control.disabled:not(.not-frma), .frma-form-control[disabled]:not(.not-frma) {
    background-color: #eeeeee !important;
}

/* Buttons */
.frma-btn:not(.not-frma), .frma-btn-submit:not(.not-frma) {
    padding: 8px;
    border-radius: .25rem;
    cursor: pointer;
    font-weight: 700;
}
.frma-btn[disabled]:not(.not-frma), .frma-btn-submit[disabled]:not(.not-frma) {
    opacity: 0.5;
}
.frma-btn.dark:not(.not-frma), .frma-btn-submit:not(.not-frma) {
    background-color: #444;
    border: 1px solid #444;
    color: #fff;
}
.frma-btn.dark:not(.not-frma):hover, .frma-btn-submit:not(.not-frma):hover {
    background-color: #333;
    border: 1px solid #333;
    color: #fff;
}
.frma-btn.red:not(.not-frma) {
    background-color: #ea1616;
    border: 1px solid #ea1616;
    color: #fff;
}
.frma-btn.red:not(.not-frma):hover {
    background-color: #c63939;
    border: 1px solid #c63939;
    color: #fff;
}
.frma-btn.pink:not(.not-frma) {
    background-color: #f51b81;
    border: 1px solid #f51b81;
    color: #fff;
}
.frma-btn.pink:not(.not-frma):hover {
    background-color: #e1388a;
    border: 1px solid #e1388a;
    color: #fff;
}
.frma-btn.right:not(.not-frma) {
    display: flex;
    margin-left: auto;
}
.frma-rest-50:not(.not-frma) {
    float: left;
    max-width: 50%;
}

.frma-btns-options:not(.not-frma) {
    padding: 15px 0;
}

/* Spacing */
.frma-mb-5px:not(.not-frma) {
    margin-bottom: 5px;
}
.frma-mt-6px:not(.not-frma) {
    margin-top: 6px;
}
.frma-mb-10px:not(.not-frma) {
    margin-bottom: 10px;
}
.frma-mb-15px:not(.not-frma) {
    margin-bottom: 15px;
}
.frma-p-0:not(.not-frma) {
    padding: 0 !important;
}
.frma-px-5px:not(.not-frma) {
    padding: 0 5px;
}

/* Empty */
.frma-empty:not(.not-frma) {
    text-align: center;
    text-transform: uppercase;
    color: #888;
    padding: 40px 10px;
}
.frma-empty:not(.not-frma) span {
    font-size: 200%;
}
.frma-empty:not(.not-frma) h3 {
    color: #888;
}

/* Element Editor */
.frma-element-builder:not(.not-frma) {
    background-color: #fafafa;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    padding: 30px;
}
.frma-element-loader:not(.not-frma) {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(255,255,255,0.6);
    z-index: 2;
}
.frma-element-edit:not(.not-frma) {
    background: #fff;
    border: 1px solid #dfdfdf;
    padding: 8px;
    height: calc(100% - 15px);
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.frma-element-edit:not(.not-frma):hover {
    background-color: #f6f9fc;
    border: 1px dashed #999;
}
.frma-element:not(.not-frma) {
    margin-bottom: 15px;
}

.frma-element-options:not(.not-frma) {
    margin-top: 10px;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 25px;
    opacity: 0.7;
}
.frma-element-options:not(.not-frma) a {
    text-decoration: none;
    color: #444;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 5px;
    background-color: #fff;
    margin-right: 3px;
}
.frma-element-options:not(.not-frma) a:hover {
    background-color: #f8f8f8;
}
.frma-element-options:not(.not-frma) a.frma-move:hover {
    color: #0073aa;
}
.frma-element-options:not(.not-frma) a.frma-edit:hover {
    color: #f51b81;
}
.frma-element-options:not(.not-frma) a.frma-delete:hover {
    color: #c63939;
}
.frma-element-options:not(.not-frma) .frma-icon {
    font-size: 16px;
    height: auto;
    width: auto;
}

/* BTN Save form sort */
.frma-sort-saved {
    display: block;
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 1000;
    opacity: .7;
}
.frma-sort-saved:hover, .frma-sort-saved:focus {
    opacity: 1;
}

/* jQuery UI Edit */
.frma-placeholder-edit {
    border: 1px dashed #999;
    flex: auto;
    margin-right: 15px;
    margin-left: 15px;
    margin-bottom: 15px;
    height: 80px;
    background-color: rgba(0,0,0,0.1);
}

.frma-content-search:not(.not-frma) {
    background-color: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 10rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    text-align: left;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem;
    width: 100%;
    max-height: 120px;
    overflow: auto;
    display: none;
}
.frma-content-search.show:not(.not-frma) {
    display: block;
}
.frma-item:not(.not-frma) {
    padding: .25rem 1rem;
    cursor: pointer;
}
.frma-item:not(.not-frma):hover {
    background-color: #f6f9fc;
}

/* Form */
.frma-form-name-desc:not(.not-frma) {
    margin-top: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #dadada;
}
.frma-form-name-desc:not(.not-frma) .frma-title {
    margin: 0 0 10px;
}
.frma-form-name-desc:not(.not-frma) .frma-desc {
    margin-top: 0;
    margin-bottom: 1rem;
}
.frma-form-submit:not(.not-frma), .frma-form-rest:not(.not-frma) {
    margin-top: 10px;
    margin-bottom: 10px;
}

.frma_form_field:not(.not-frma) {
    margin-bottom: 5px;
}

.frma-checkbox-single:not(.not-frma), .frma-radio-single:not(.not-frma) {
    margin-bottom: .5rem;
}

/* Progress Upload */

.frma-progress:not(.not-frma) {
    vertical-align: baseline;
    display: -ms-flexbox;
    display: flex;
    height: 1rem;
    overflow: hidden;
    font-size: 0.75rem;
    background-color: #e9ecef;
}
.frm-progress-bar:not(.not-frma) {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: #333;
    transition: width 0.6s ease;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
}

/* Tables Results Forms */
.frma-table-results table {
    width: 100%;
}
.frma-table-results table th, .frma-table-results table td {
    padding: 10px;
}
.frma-table-results table tr:nth-of-type(odd) {
    background-color: #f0f0f0;
}
.frma-table-results table thead tr {
    background-color: #d9d9d9 !important;
}

/* Login Required */
.frma-login {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

/* others */
.frma-float-left:not(.not-frma) {
    float: left !important;
}
.frma-float-right:not(.not-frma) {
    float: right !important;
}

.frma-d-none:not(.not-frma) {
    display: none;
}
.frma-d-block:not(.not-frma) {
    display: block;
}
.frma-d-inline-block:not(.not-frma) {
    display: inline-block;
}
.frma-position-relative:not(.not-frma) {
    position: relative;
}
.frma-position-absolute:not(.not-frma) {
    position: absolute;
}

.frma-d-none-imp:not(.not-frma) {
    display: none !important;
}
.frma-d-block-imp:not(.not-frma) {
    display: block !important;
}
.frma-d-inline-block-imp:not(.not-frma) {
    display: inline-block !important;
}
.frma-position-relative-imp:not(.not-frma) {
    position: relative !important;
}
.frma-position-absolute-imp:not(.not-frma) {
    position: absolute !important;
}

.frma-required:not(.not-frma) {
    color: red;
    font-weight: 700;
    border: 0 !important;
    text-decoration: none;
}

.frma-cursor-pointer:not(.not-frma) {
    cursor: pointer;
}

.frma-field-empty {
    box-shadow: 0 0 1px 1px red !important;
}

.frma-trumbowyg {
    color: #333;
}

/* Animacion de carga */
.frma-load-carga:not(.not-frma) {
    border: 10px solid #ccc;
    border-top-color: #f51b81;
    border-top-style: solid;
    height: 30px;
    width: 30px;
    border-radius: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    -webkit-animation: frma-rotate 1.5s linear infinite;
    -o-animation: frma-rotate 1.5s linear infinite;
    animation: frma-rotate 1.5s linear infinite; }

@keyframes frma-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Trumbowyg */
.trumbowyg-modal-button {
    padding: 0;
}
.trumbowyg-modal-box label input {
    border-radius: 0;
}