/***
 * Esri Tweak
 */
.esri-image {
    image-rendering: pixelated;
}

/***
 * Snack Panel
 */
#snackpanel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200000;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background: none repeat scroll 0 0 #333333;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
}

#snackbar {
    min-width: 250px;
    margin-left: -125px;
    background-color: #ffffff;
    color: #000000;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
    font-weight: bolder;
}

/***
 * Trigger Label
 */
.trigger-label {
    border: 1px solid #d2d6de;
    border-radius: 5px;
    text-align: center;
    outline: none;
    cursor: pointer;
    font-weight: normal;
}

.dt-center {
    text-align: center;
}

.dt-right {
    text-align: right;
}

.dt-right-middle {
    text-align: right;
    vertical-align: middle;
}

.text-title {
    font-size: 1rem;
}

.select2-dropdown.increasedzindexclass {
    z-index: 999999;
}

.select2-container.readonly .select2-selection {
    background-color: #f3f3f3;
    pointer-events: none;
    opacity: 0.7;
    cursor: not-allowed;
}

/* Style the buttons that are used to open and close the accordion panel */
.my-accordion {
    background-color: rgba(192,192,192,0.1) !important;
    color: #444;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    font-weight: 500;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.my-accordion:hover {
    background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
.my-panel {
    background-color: white;
    display: none;
    overflow: hidden;
}

/***
 * Datatable
 */
.noheader thead {
    visibility: collapse;
}

.table-horizontal-border {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
}

.table-horizontal-border th,
.table-horizontal-border td {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
}

.table-horizontal-border thead th,
.table-horizontal-border thead td {
    border-bottom-width: 2px;
}

/**
 * Tabs
 */
.tabs {
    display: flex;
    flex-wrap: wrap;
}

.tab-label {
    order: 1;
    cursor: pointer;
    display: block;
    padding: 0.5rem 2rem;
    margin-right: 0.2rem;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: #90CAF9;
    font-weight: normal;
    transition: background ease 1.0s;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

.tabs .tab {
    order: 99;
    flex-grow: 1;
    width: 100%;
    display: none;
    padding: 1rem;
    background: #fff;
}

.tabs .tab-input[type="radio"] {
    display: none;
}

.tabs .tab-input[type="radio"]:checked + label {
    font-weight: bold;
    background: #ffb400;
    color: #fff;
}

.tabs .tab-input[type="radio"]:checked + label + .tab {
    display: block;
}

/********************************************************
 Example List :

    <ol class="my-list list-spaced h5">
        <li>Setup</li>
        <li>Pengajuan</li>
        <li>Penelaahan</li>
        <li>Pembuatan Berita Acara</li>
    </ol>

 */

ol.my-list {
    counter-reset: li; /* Initiate a counter */
    margin-left: 0; /* Remove the default left margin */
    padding-left: 0; /* Remove the default left padding */
}

ol.my-list > li {
    position: relative; /* Create a positioning context */
    margin: 0 0 6px 2em; /* Give each list item a left margin to make room for the numbers */
    padding: 4px 8px; /* Add some spacing around the content */
    list-style: none; /* Disable the normal item numbering */
    border-top: 1px solid #e9e9e9;
    background: transparent;
}

ol.my-list > li:before {
    content: counter(li); /* Use the counter as content */
    counter-increment: li; /* Increment the counter by 1 */
    /* Position and style the number */
    position: absolute;
    top: -1px;
    left: -2em;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 2em;
    /* Some space between the number and the content in browsers that support
       generated content but not positioning it (Camino 2 is one example) */
    margin-right: 8px;
    padding: 4px;
    border-top: 1px solid #e9e9e9;
    color: #000000;
    background: #e9e9e9;
    font-weight: bold;
    font-family: "Helvetica Neue", Arial, sans-serif;
    text-align: center;
}

li ol,
li ul {
    margin-top: 6px;
}

ol.my-list ol.my-list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 45em) {
    .tabs .tab,
    .tabs .tab-label {
        order: initial;
    }

    .tabs .tab-label {
        width: 100%;
        margin-right: 0;
        margin-top: 0.2rem;
    }
}

@media (max-width: 45em) {
    .tabs .tab,
    .tabs .tab-label {
        order: initial;
    }
    .tabs .tab-label {
        width: 100%;
        margin-right: 0;
        margin-top: 0.2rem;
    }
}

@media only screen and (max-width: 768px) {
    /* Disable mobile-specific styles */
    html, body {
        min-width: 1024px;
    }
}