/*
 * Licensed under the TECNOPRO License, Version 1.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.tecnopro.net/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
/* 
    Created on : 25 jul. 2022, 10:26:00
    Author     : usuario
*/

/*
 * Styles components
 */
.p-autocomplete {
    width: 100% !important;
}

.p-button{
    padding: 1rem ! important;
}

.p-inputnumber-buttons-stacked .p-inputnumber-button-group .p-button.p-inputnumber-button {
    flex: 1 1 auto;
    padding: 0rem !important;
}

.p-card .p-card-title {
    overflow-wrap: break-word !important;
}

.p-card .p-card-subtitle {
    overflow-wrap: break-word !important;
    text-transform: uppercase !important;
}

.p-dialog .p-dialog-header-icons {
    align-self: baseline !important;
}

.p-dialog .p-dialog-footer button {
    margin: 0;
}

.p-input-filled .p-inputtext {
    width: 100% !important;
    /*background-color: transparent !important;*/
}

.p-password input {
    width: 100% !important;
}

.p-selectbutton .p-button{
    width: 100% !important;
    border-radius: 10px;
}

.p-selectbutton .p-button.p-highlight {
    background: #FFB300 !important;
}

.p-tree{
    border: 0px solid !important;
    padding: 0rem !important;
}

.p-tree .p-tree-container .p-treenode .p-treenode-content {
    padding: 0rem !important;
}

.pi-spin{
    animation: fa-spin 0.5s infinite linear !important;
}

/*
 * Styles components customs
 */
/*
 * Maps
 */
.map {
    width: 100%;
    height: 1000px;
    background: white;
}

#ole-toolbar {
    position: relative;
    left: 90%;
    top: -60px;
}

.ol-tooltip {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    color: white;
    padding: 4px 8px;
    opacity: 0.7;
    white-space: nowrap;
    font-size: 12px;
    cursor: default;
    user-select: none;
}

.ol-tooltip-measure {
    opacity: 1;
    font-weight: bold;
}
.ol-tooltip-static {
    background-color: #FFB300;
    color: black;
    border: 1px solid white;
}
.ol-tooltip-measure:before,
.ol-tooltip-static:before {
    border-top: 6px solid rgba(0, 0, 0, 0.5);
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    content: "";
    position: absolute;
    bottom: -6px;
    margin-left: -7px;
    left: 50%;
}
.ol-tooltip-static:before {
    border-top-color: #FFB300;
}

.ol-popup {
    position: absolute;
    background-color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17);
    padding: 15px;
    border-radius: 10px;
    border-radius: 0px;
    border-right: 5px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 400px;
}

.ol-popup:after,
.ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}

.ol-popup:before {
    border-top-color: var(--surface-0) !important;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}

.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}

.ol-popup-closer:after {
    content: "✖";
    color: black;
}

.ol-zoomslider {
    border: 1px solid gray ! important;
}

.layout-config-button-left{
    -webkit-writing-mode: vertical-rl;
    left: 0px !important;
}

.layout-config-button-left-horizontal{
    -webkit-writing-mode: horizontal-tb;
    left: 0px !important;
}

/*
 * dialog
 */
.p-dialog-product .p-dialog-header {
    background-color:var(--surface-section)
}

.p-dialog-product .p-dialog-content {
    background-color:var(--surface-section)
}

.p-dialog-product .p-dialog-footer {
    background-color:var(--surface-section)
}

.p-dialog-product .p-dialog-header-icons {
    align-self: baseline !important;
}

/*
 * listbox
 */
.p-listbox-assistant .p-listbox{
    border: none !important;
    padding: 1rem !important;
    background: transparent !important;
}

.p-listbox-assistant .p-listbox-header {
    border-bottom: none !important;
    background: transparent !important;
    justify-content: space-around !important;
}


.p-listbox-assistant .p-listbox-list .p-listbox-item {
    opacity: 100 !important;
    font-weight: 400 !important;
}

.p-listbox-assistant .p-listbox-list .p-listbox-item.p-highlight {
    color: #D32F2F !important;
    background: transparent !important;
}

/*
 * notifications
 */
#notifications-badge {
    position: absolute;
    border-radius: 50%;
    top: 0px;
    right: 3px;
    padding: 5px;
    width: 24px;
    max-width: 24px;
    background: #fbc02d;
    color: white;
}

#notification-note {
    position: absolute;
    right: 20px;
    top: -5px;
    font-size: 50px;
}

#notification-icon{
    display: block;
    padding: 0rem;
    margin: 0rem;
}

#notification-button {
    position: relative;
    width: 40x;
    height: 40px;
    overflow: visible !important
}

/*
 * required
 */
.required-asterisk{
    color: #D32F2F;
    font-weight: bold;
    margin-left: 3px;
    font-size: 1.2em;
}

.required-icon{
    color:#D32F2F !important;
    font-weight: bold;
}

/*
 * togglebutton
 */
.p-togglebutton-accept .p-togglebutton.p-button:focus.p-highlight {
    background: var(--green-100) !important;
}
.p-togglebutton-accept .p-togglebutton.p-button.p-highlight {
    background: var(--green-100) !important;
}

/*
 * selectbutton
 */
.p-selectbutton-ambiente{
    flex-basis: min-content !important;
    padding: 0.5rem;
}

.p-selectbutton-ambiente .p-button.p-highlight {
    background: #beef9e !important;
}

.p-selectbutton-ambiente .p-buttonset {
    display: flex !important;
    justify-content: right !important;
}

.button-2-lines {
    white-space:normal;
    max-width:250px;
    padding: 0.5rem ! important;
    font-size:0.8rem;
}

.layout-footer {
    background-color:#28324e;
}

.list-unstyled {
    padding-left: 0;
    list-style: none;
}
.quitar-padding-button-link {
    padding-left:1rem ! important;
    padding-right:0rem ! important;
    padding-top:0rem ! important;
    padding-bottom:0rem ! important;
}

.login-body {
    background-image: url("./layout/images/login/bg_login5c.png");
    background-position: top;
    background-repeat: repeat;
    background-size: cover;
}

.login-body .login-panel {
    margin-top: -342px;
}

.layout-topbar-materialone .layout-top {
    background-image: none;
    background-color: #3647A3;
}
.help-section{
    margin-top:10px;
    margin-bottom:10px;
}
/* Botón de estado de comprobante actualmente seleccionado (Emitidas/Anuladas/...) */
.factura-status-activo {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    outline: 2px solid rgba(31, 46, 77, 0.35);
    outline-offset: 1px;
}
.help-title {
    color: white;
    font-size:0.8em;
}
.help-dialog {
    width: 80% ;
    height: 70%;
}
.pdf-help {
    margin:0px;
    padding:0px;
    overflow:hidden;
    line-height: 1.5;
}
.pdf-iframe {
    position:fixed;
    border:none;
    top:0;
    right:0;
    bottom:0;
    left:0;
    width:100%;
    height:100%;
}

.chip-list {
    width: 100%;
}

/*
 * styles
 */

/*
 * colors
 */
/*file: 'orange', color: '#FF9800'*/
/*file: 'amber', color: '#FFC107'*/
/*file: 'blue', color: '#457fca'*/
/*file: 'bluegray', color: '#607D8B'*/
/*file: 'brown', color: '#795548'*/
/*file: 'cyan', color: '#00ACC1'*/
/*file: 'deeporange', color: '#FF5722'*/
/*file: 'deeppurple', color: '#673AB7'*/
/*file: 'gray', color: '#757575'*/
/*file: 'green', color: '#4CAF50'*/
/*file: 'indigo', color: '#3F51B5'*/
/*file: 'lightblue', color: '#03A9F4'*/
/*file: 'lightgreen', color: '#8BC34A'*/
/*file: 'lime', color: '#C0CA33'*/
/*file: 'orange', color: '#FF9800'*/
/*file: 'pink', color: '#E91E63'*/
/*file: 'purple', color: '#9C27B0'*/
/*file: 'teal', color: '#009688'*/
/*file: 'yellow', color: '#FDD835'*/
/*file: 'danger', color: '#D32F2F'*/