/** DANIEL BARREIRO: 27082019 **/

/* Añadir icono Nacex al menú */
@font-face {
    font-family: 'nacex';
    src: url('../fonts/nacex.eot');
    src: url('../fonts/nacex.eot?#iefix') format('embedded-opentype'),
    url('../fonts/nacex.woff') format('woff'),
    url('../fonts/nacex.ttf') format('truetype'),
    url('../fonts/nacex.svg#nacex') format('svg');
    font-weight: normal;
    font-style: normal;
}

#adminmenu #toplevel_page_nacex .menu-icon-generic div.wp-menu-image::before {
    font-family: 'nacex' !important;
    content: '\0041';
    font-size: 1.7em !important;
    padding-right: 8px;
    padding-top: 5px;
}

/* Tarifas de envío Nacex */
.notice-nacex {
    border-left-color: #ff5000 !important;
    margin: 5px 0px 2px !important;
}

.button-nacex {
    background: #ff5000 !important;
    border-color: #ff5000 !important;
    color: #fff;
    text-decoration: none;
    box-shadow: none !important;
    text-shadow: none !important;
    margin-left: 10px !important;
}

.button-nacex:hover {
    background: #e54800 !important;
    border-color: #ff6119 !important;
}

a.button-nacex {
    background: #fff !important;
    border-color: #ff5000 !important;
    margin: 0 1em !important;
    color: #ff5000 !important;
}

a.button-nacex:hover {
    background: #ff5000 !important;
    border-color: #ff5000 !important;
    color: #fff !important;
}

h1#cabecerashop::before {
    background: none !important;
}

/* Cambiamos color del menú nacex */
#toplevel_page_nacex div.wp-menu-image::before, #toplevel_page_nacex div.wp-menu-name, #toplevel_page_nacex .wp-submenu a:hover,
#toplevel_page_nacex .wp-submenu a:focus {
    color: #EA7601;
}

#adminmenu li#toplevel_page_nacex.opensub div.wp-menu-name, #adminmenu li#toplevel_page_nacex.opensub div.wp-menu-image::before {
    color: #fff;
}

#adminmenu li#toplevel_page_nacex.opensub > a.menu-top, #toplevel_page_nacex a:hover,
#adminmenu #toplevel_page_nacex.wp-has-current-submenu a.wp-has-current-submenu,
#adminmenu li#toplevel_page_nacex:hover div.wp-menu-image::before, #toplevel_page_nacex div.wp-menu-name:hover,
#toplevel_page_nacex .wp-has-current-submenu div.wp-menu-name {
    color: #fff;
    background-color: #EA7601;
}

/***** FORMULARIO ATENCION AL CLIENTE *****/
.ncx_feedback_container {
    margin-right: 20px;
    margin-top: 20px;
}

.ncx_feedback_container .accordion span {
    margin-right: 0.5em;
}

.ncx_feedback_container h2.accordion {
    color: #ff5000;
    font-weight: 600;
    padding: 5px 0;
}

.ncx_feedback_container h2.accordion:hover {
    cursor: pointer;
}

#element.feedback .active h2 {
    border-bottom: 3px solid #FF5000;
    background-color: #ffede5;
}

#element.feedback .active h2:before, #element.show_exp_box .active span[id*="ncx_boxinfo_span_"]:before {
    font-family: 'Admin Icons';
    content: '\e615';
    font-size: 1.8rem;
    padding: 0 1rem;
}

#element.feedback h2:before, #element.show_exp_box span[id*="ncx_boxinfo_span_"]:before {
    font-family: 'Admin Icons';
    content: '\e616';
    font-size: 1.8rem;
    padding: 0 1rem;
}

form.atencion-cliente {
    width: 75%;
    margin: auto;
}

form.atencion-cliente fieldset {
    margin: 10px 0px;
    border: 1px solid #ff5000;
}

form.atencion-cliente legend {
    padding: 0px 10px;
    color: #ff5000;
    height: initial;
    font-size: 16px;
    text-transform: uppercase;
}

form.atencion-cliente label {
    font-size: 14px;
    color: #ff5000;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

form.atencion-cliente select, form.atencion-cliente input, form.atencion-cliente textarea {
    border: 0;
    outline: 0px;
    border-top: 1px solid lightgray;
    outline: none;
    background: 0;
    margin-right: 0.8em;
    margin-bottom: 1.5em;
    color: #444;
    font-size: 12pt;
    min-width: 160px;
    box-shadow: none;
}

form.atencion-cliente select:focus, form.atencion-cliente input:focus, form.atencion-cliente textarea:focus {
    border-top: 2px solid #ff5000;
}

form.atencion-cliente input, form.atencion-cliente select {
    display: block;
    width: 50%;
    font-weight: 300;
}

form.atencion-cliente fieldset > input, form.atencion-cliente fieldset > label {
    margin-top: 10px;
    margin-left: 10px;
}

form.atencion-cliente input[type='text']:focus, form.atencion-cliente select:focus {
    box-shadow: none;
}

form.atencion-cliente input[type='checkbox']:focus {
    border: none;
}

form.atencion-cliente input[type='checkbox'] {
    color: #fff !important;
    background-color: #3c3c3c !important;
    margin: 5px 3px 2px 10px;
    /*height: 0.6em;*/
    position: relative;
    top: -2px;
    left: -5px;
    float: left;
    min-width: 1.1em;
    /*min-height: 0.9em;*/
    clear: left;
    width: auto;
}

form.atencion-cliente input[type='submit'] {
    border: 1px solid #ff5000;
    color: #ffffff;
    font-weight: normal;
    font-size: 1.3em;
    background: #ff5000;
    padding: 3px 20px 3px 20px;
    text-decoration: none;
    line-height: 2;
    outline: 0;
    border-radius: 0;
    margin-top: 3px;
    width: auto;
}

form.atencion-cliente input[type='submit']:hover {
    color: #ff5000;
    background: none;
    text-decoration: none;
    cursor: pointer;
}

form.atencion-cliente textarea {
    border: 1px dashed lightgray;
    border-top: 1px solid lightgray;
    outline: none;
    background: 0;
    margin-right: 0.8em;
    margin-bottom: 2em;
    margin-left: 10px;
}

form.atencion-cliente .copia {
    margin: 20px 0;
}

form.atencion-cliente .copia label.label-noerror {
    color: inherit;
}

form.atencion-cliente span.mini {
    display: block;
    font-size: 8pt;
    font-style: italic;
}

form.atencion-cliente label.mage-error {
    background-color: #ffede5;
}

form.atencion-cliente input.mage-error {
    border-top: 2px solid #ff5000;
}

form.atencion-cliente input.mage-error:not(:focus) {
    border-top: 1px solid #ff5000;
}

form.atencion-cliente input.mage-error::placeholder, .form.atencion-cliente input[type="checkbox"]:checked::before, .copia a {
    color: #ff5000;
    text-decoration: none;
}

.copia a:hover {
    text-decoration: underline;
}

table.admin__table-primary.feedback {
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
}

.action-children {
    margin: 0 0.5rem;
    color: #333;
}

.action-children a:link {
    text-decoration: none;
    color: #333;
}

.action-children a:link:hover {
    color: #666;
}

tbody.log-body tr:nth-child(even) {
    background-color: #fff;
}

tbody.log-body td:first-child {
    border-left: 0.1rem solid #d6d6d6;
    padding: 0 1rem !important;
}

tbody.log-body td:last-child {
    border-right-style: solid;
}

tbody.log-body td {
    border-right: 0.1rem dashed #d6d6d6;
}

tbody.log-body tr:hover {
    background-color: #e5f7fe;
}

/* Nuevos datos de agencia en vez del iframe */
@font-face {
    font-family: 'Avenir Book';
    src: url('../fonts/Avenir-Book.woff2') format('woff2'),
    url('../fonts/Avenir-Book.woff') format('woff'),
    url('../fonts/Avenir-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

.Z3 {
    min-height: 100px;
    width: 100%;
    padding: 0;
    margin: 0;
    display: block;
    z-index: 800;
    float: left;
    background: white;
    position: inherit;
    height: 100%;
    font-family: 'Avenir Book', Verdana, Arial, Helvetica, sans-serif;
    font-size: 11pt;
    line-height: 1.5;
    border-top: 10px solid #3c3c3c;
    border-bottom: 1px solid #3c3c3c;
    margin-bottom: 10px;
    margin-top: 10px;
}

.Z3 .texto {
    text-align: initial;
    color: #3c3c3c;
    padding: 0px 20px;
    font-size: 12pt;
    width: 99.99999%;
    clear: left;
    display: grid;
    padding-bottom: 10px;
}

.nx-container:after, .nx-container:before, .nx-row:after, .nx-row:before, .nx-row-padding:after, .nx-row-padding:before {
    content: "";
    display: table;
    clear: both;
}

.nx-row-padding {
    padding-left: 8px;
    padding-right: 8px;
    /*float: left;
    width: 100%;
    overflow: auto;*/
}

.c4, c6 {
    float: left;
}

.c7 img {
    padding-right: 1em;
}

.c7 h3 {
    font-size: 20px;
    color: #000000;
    font-weight: bold;
    margin: 1em 0px 0px;
}

/* Aviso para instalación de zonas configuración */
.nacex-warning {
    border-left-color: #ffb900;
    background-color: #fff1cc;
    margin-left: 0;
    z-index: 9;
}

.nacex-warning p {
    position: relative;
    z-index: 99;
}

.nacex-warning-icon {
    color: #ffb900;
    opacity: 0.4;
    font-size: 60px;
    float: left;
    width: 0;
    height: 0;
}

.config_form_nacex input[type='button'] {
    background: #ff5000;
    color: #fff;
    border: 1px solid #ff5000;
}

.config_form_nacex input[type='button']:hover {
    background: #fff;
    color: #ff5000;
}

#check_ws_connection {
    margin-bottom: 2px;
}

#init_zones {
    margin-top: 5px;
}

/* Estilos masivo */
#tblbody td {
    padding: 5px 0px;
}