﻿input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.btn-loading .btn-content-default {
    display: inline-block;
}
.btn-loading .btn-content-loading {
    display: none;
}
.btn-loading.btn-loading--show .btn-content-default {
    display: none;
}
.btn-loading.btn-loading--show .btn-content-loading {
    display: inline-block;
}

.form-image-preview {
    position: relative;
    border: 1px solid gray;
}
.form-image-preview .form-image-tools {
    position: absolute;
    right: 10px;
    top: 10px;
    display: none;
}
.form-image-preview:hover .form-image-tools{
    display:block;
}

.form-image-preview .form-image-frame {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.form-image-preview .form-image-frame img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%
}
.form-control[readonly] {
    pointer-events: none;
}
.table-fixed {
    table-layout: fixed;
}
.loading-wrapper {
    position: fixed;
    background: rgba(0,0,0,0.3);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    z-index: 9999;
}

    .loading-wrapper .loading-inner {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }


.table-map-wrapper {
    display:flex;
    width:100%;
}
.table-map-content {
    width: 100%;
}
.table-map-content--toggle {
    width: 40% !important;
    overflow-y: auto;
    overflow-x: hidden;
    height: 579px;
}
.table-map-view {
    margin: 7px;
    margin-left: 20px;
    margin-right: 2px;
    flex: 1;
}

div.dataTables_wrapper div.dataTables_processing {
    position: absolute;
    left: 15px;
    right: 15px;
    top: 5px;
    bottom: 0px;
    margin: 0 0 0 0;
    width: auto;
    background: rgba(0,0,0,0.5);
}

    div.dataTables_wrapper div.dataTables_processing .dataTables_processing-inner {
        height: 40px;
        background: #FFFFCC;
        border: 1px solid black;
        font-weight: bold;
        width: 30%;
        margin: 0 0 0 0;
        min-width: 200px;
        line-height: 40px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
.mfp-wrap {
    z-index: 1055;
}

/* multi language */
table[class*=tblMultiTextCls] td {
    padding: 0;
    border: 0px;
}
table[class*=tblMultiTextCls] .head td {
    padding-bottom:3px;
}
    table[class*=tblMultiTextCls] .head td .multi-lang-actions {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    table[class*=tblMultiTextCls] .head td a {
        text-align: center;
        padding: 3px 10px;
        border: 1px solid #0069d9;
        color: #303030;
        font-size: .6em;
    }

        table[class*=tblMultiTextCls] .head td a.selected {
            background-color: #0069d9;
            color: #fff
        }

        table[class*=tblMultiTextCls] .head td a:first-child {
            border-bottom-left-radius: 5px;
            border-top-left-radius: 5px
        }

        table[class*=tblMultiTextCls] .head td a:last-child {
            border-bottom-right-radius: 5px;
            border-top-right-radius: 5px
        }